This is Prog93-I.gz in view mode; [Up]
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: ada developement tools?? Message-ID: <63210@mimsy.umd.edu> Date: 7 Jan 93 16:27:31 GMT References: <SHAWN.93Jan7134542@litsun.epfl.ch> Sender: news@mimsy.umd.edu Distribution: comp Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <SHAWN.93Jan7134542@litsun.epfl.ch> shawn@litsun.epfl.ch writes: > Does anyone know if there are any Ada developement tools for the Next > machine?? what about cross compilers?? Yes, Meridian sells their OpenAda compiler and environment for the NeXT. They can be reached in the US at (714) 727-0700 - California time. Its fast, easy to use and pretty stable. I've found a few minor compiler bugs, but have easily worked around them. Its a basic Unix port, no NeXTSTEP GUI stuff or natural connection to NeXT IB - but they are talking about it. Let them know if thats important to you. My biggest dissapointment is that they use their own debugger which doesnt always work, instead of gdb. Most Ada compiler vendors do this to support concurrent tasks, but NeXT gdb already knows about threads. But the compiler is so fast, debugging with tracers is not nearly as painful as it sounds. It interfaces with C easily using the standard Ada pragma interface. I imagine you could interface with Objective C the same way by calling the objective C runtime directly. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Workspace ghosting rules Message-ID: <1993Jan7.152148.285@afs.com> Sender: Michael_Pizolato@afs.com Date: Thu, 7 Jan 1993 15:21:48 GMT I'm working on some drag 'n' drop stuff where I intend to use ghosting, a la File Viewer. I have an example app called ToolInspector that ghosts by compositing 50% NX_LTGRAY over the icon, and that's not bad. However, in studying File Viewer closely I've noticed that the ghosting behavior is more complex than that: 1. When dragging a file icon over an empty shelf slot, the ghosting leaves light gray and white alone, turns black into dark gray and dark gray into light gray. 2. A file that I have no permissions for appears on the shelf always ghosted, but differently than as described in 1. 3. I have access to a color machine, but I have no idea how to describe how the ghosting is done there, although there is still a difference between an icon being dragged over an empty shelf slot and an icon for a file I have no permissions to. I'm a compositing beginner, and I was not able to duplicate any of the above by experimenting with CompositeLab. Before I kill more brain cells trying to figure this out, does anyone know the rules for these? I'd like to have my ghosting behavior identical to File Viewer if possible. Thanx, Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: alastair@hecate.phy.queensu.ca (A.B. McLean) Subject: Re: Pointers to functions in method definitions Message-ID: <C0HzH1.JAq@knot.ccs.queensu.ca> Sender: news@knot.ccs.queensu.ca (Netnews control) Organization: Queen's University, Kingston References: <C0CAtI.KqM@knot.ccs.queensu.ca> Date: Thu, 7 Jan 1993 19:00:37 GMT In article <C0CAtI.KqM@knot.ccs.queensu.ca> alastair@hecate.phy.queensu.ca (A.B. McLean) writes: > POINTERS TO FUNCTIONS IN METHOD DEFINITIONS > > I want to write a method that will accept a pointer to a C function. > For example, let the function be a simple Gaussian:- > > void gaussian(x,a,y) > float x,a[],*y; > { > float arg; > > arg = (x-a[2])/a[3]; > *y += a[1]*exp(-arg*arg); > } > > In the interface file I would expect (Kernigham amd Ritchie section 5.11) > the method definition to look like > > - methodName:void(*gaussian)(float, float*, float*); > > and in the implementation file I may have > > - methodName:void(*gaussian)(float, float*, float*) > { > // ... > return self; > } > > When I try to do this the compiler gives me the message > > parse error before `void' > > Any suggestions ? > > Alastair McLean > alastair@hecate.phy.queensu.ca Thanks to everyone who replied to my pointer to a function problem. Here is a summary of the replies:-the syntax given below works.. I tried them ! _______________________________________________________ No, types of arguments to Objective C methods are not specified in the same way as types of arguments to regular C functions. Rather, they are specified in C "cast" format -- e.g., -method:(int)i; not -method:int i; For your example: - methodName:(void(*)(float, float*, float*))functionName; -- Ray Spalding ray.spalding@oit.gatech.edu (NeXT Mail accepted) ________________________________________________________ The syntax for specifying a function pointer is wrong. Try the following: - methodName: (void (*)(float, float*, float*))gaussian; Or, even better typedef void (*GaussianFunc)(float, float*, float*); - methodName: (GaussianFunc)gaussian; -- Frank Mitchell frank@fnbc.com (NeXTmail) ________________________________________________________ The best solution might be that to use "typedef". Simply, you define a GaussianType as: typedef void (*GaussianType)(float, float *, float *); and then declare - mothodName : (GaussianType) handler { // ... return self; } and that will do. ken zhao@acsc.com ________________________________________________________ Try - methodName:(void (*gaussian)(float, float*, float*))); Perhaps this will work (types have to be in parenthesis). Marcel waldvoge@nessie.cs.id.ethz.ch (Marcel Waldvogel) ________________________________________________________ Thanks Alastair McLean alastair@hecate.phy.queensu.ca
Newsgroups: comp.sys.next.programmer From: joseph@lilliput.fdn.org (Joseph Goldstone) Subject: Re: Getting Renderman examples involving RiLightSource to work? Message-ID: <1993Jan7.130546.1519@lilliput.fdn.org> Keywords: renderman Sender: joseph@lilliput.fdn.org Organization: Lilliputian Pictures - Paris, France. References: <1993Jan4.000209.14805@csis.dit.csiro.au> Date: Thu, 7 Jan 1993 13:05:46 GMT Peter Milne writes > Following advice from other recent posters I managed to get the simple > Renderman example on page 18 of "The Renderman Companion" to work. > Unfortunately thought, I haven't been able to get the next example on > page 20 to work. This example involves a RiLightSource call. > When I execute this example I get the following warning msg: > > Warning in context RMContext00001 in command RiLightSource : > nullpointer: 'light' == 0 > > and nothing involving the specification of the lightsource gets written into > the .rib file. > > Now I've tried it with and without the following RiOption > > RiOption(RI_ARCHIVE, "outputversion", &v31, RI_NULL); > > The release notes for 3DKit say not to use this form of RiOption because > the version number doesn't get correctly written to the .rib file > and that instead you should use RiComment("\nversion 3.1"); Trouble is > RiComment doesn't seem to be in Media_s or NeXT_s and isn't commented > anywhere that I could find. > > The release notes also say that this form of RiOption causes RiLightSource > to generate invalid sequence numbers and that it should be avoided. > > Has anyone succeeded in getting the page 20 example to work? Is so how > did you do it? > RiLightSource underwent a sea-change post 3.1, to accomodate some interface changes involving handle scoping. Try this: #import <ri/ri.h> RtPoint Square[4]={{.5,.5,.5}, {0.5,-.5,.5}, {-.5,-.5,.5}, {-.5,.5,.5}}; RtColor Color = {.2, .4, .6}; RtToken myDistantHandle; int main(void) { char *archive = "archive"; char *ribfile = "pg20.rib"; RiBegin(RI_NULL, "renderer", &archive, "filepath", &ribfile, RI_NULL); RiDisplay("pg20.tiff", RI_FILE, RI_RGBA, RI_NULL); myDistantHandle = RiCreateHandle("myDistantHandle", RI_LIGHTSOURCE); RiLightSource(myDistantHandle, "distantlight", RI_NULL); RiProjection("perspective", RI_NULL); RiTranslate(0.0,0.0,1.0); RiRotate(40.0,-1.0,1.0,0.0); RiWorldBegin(); RiSurface("matte", RI_NULL); RiColor(Color); RiPolygon(4, RI_P, (RtPointer) Square, RI_NULL); RiWorldEnd(); RiEnd(); return 0; } If you like you can collapse the pedantic RiCreateHandle/RiLightSource couplet into: myDistantHandle = RiLightSource("myDistantHandle", "distantlight", RI_NULL); which also works. This version is more or less what's documented on p.21 of the QRM beta release notes in Digital Librarian. -- joseph
From: slxmw@avon.enet.dec.com (869883 Medlyn) Newsgroups: comp.sys.next.programmer Subject: Installing C++ Keywords: c++ Message-ID: <1993Jan7.132822.62532@cc.usu.edu> Date: 7 Jan 93 19:28:21 GMT Sender: slxmw@avon (869883 Medlyn) Followup-To: slxmw@cc.usu.edu I've not been following the newsgroups, but I need some help. I need to get C++ to work on my station (3.0). Could someone tell me how to get up and running. I have spend a couple of hours trying to get libg++-1.39.0 off prep.ai.mit.edu but have not been able to get the libraries to compile. If you can help, thanks. Dayne Medlyn slxmw@cc.usu.edu
From: lacsap@plethora.media.mit.edu (Pascal Chesnais) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Message-ID: <1993Jan7.210740.11157@news.media.mit.edu> Date: 7 Jan 93 21:07:40 GMT References: <1993Jan05.212648.9258@convex.com> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory In article <1993Jan05.212648.9258@convex.com> finger@convex.com (Jay Finger) writes: > Is the stuff in pub/next/GnuSource.tar.Z the same as what is on the 3.0 > CDROM? And while I'm thinking about it, are the GNU sources on the > Eduucational-CDROM for NeXTSTEP 2.x or 3.0? > > jay Yes and Yes, pasc
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: RTFD, copying to Objects and Archiving Message-ID: <1993Jan7.213019.7023@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Thu, 7 Jan 1993 21:30:19 GMT I am working on an application where I compose questions that will contain rich text (including diagrams). I have a simple subclass of Object called QuestionObj that I create an instance of for each question and then maintain the questions in a List Object. The text is in a text field with id "text". I try to do the following: NXStream *buffer; count = [questions count]; newQuestion = [[QuestionObj alloc] init]; buffer = NXOpenMemory(NULL,0,NX_WRITEONLY); [text writeRTFDTo:buffer]; [newQuestion setText:buffer]; Now in the QuestionObj, I have: - setText:(NXStream *)str { buffer = str; return self; } - (NXStream *)text { return buffer; } with interface of: @interface QuestionObj:Object { int num; NXStream *buffer; } - setNum:(int)val; - (int)num; - setText:(NXStream *)str; - (NXStream *)text; Now, first it appears that I'm not getting the Rich Text because I can't get it back out of the object with text method. I know most of this works with ascii text (I tried this all out using char *buffer; first) Also, if this even works, in the -read -write methods of the QuestionObj class, what do I put for the descriptor when I use NXWriteTypedStreamToFile ? I used a * when it was a char * and it worked. What do I put for a typed stream? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: pbeiler@fnma.com (Phil Beiler) Subject: HELP: - app: fileOperationCompleted: Message-ID: <1993Jan7.211843.27115@almserv.uucp> Sender: usenet@almserv.uucp Organization: Fannie Mae Date: Thu, 7 Jan 1993 21:18:43 GMT I am having problems with the method: app: fileOperationCompleted: I performed the following command: rc = [[Application workspace] performFileOperation:WSM_RECYCLE_OPERATION source:THE_PATH destination:"" files:fileList options:NULL]; The request returns a positive integer, which means that it should call the fileOperationCompleted method, when the operation has completed. The file gets moved to the recycler, by the method never gets called. I am positive that the application delegate is set to the file with the app: fileOperationCompleted method. I wrote a simple test program and can't get it to work. Any help would be appreciated. Phil Beiler FannieMae, Washington DC
Newsgroups: comp.sys.next.programmer From: jr@sade.ka.sub.org (Jochen Richter) Subject: Selection in rotated text? Date: Thu, 7 Jan 1993 19:47:39 GMT Organization: The Home of the Pilhuhn Sender: news@pilhuhn.ka.sub.org (Das Newssystem auf pilhuhn) Message-ID: <1993Jan7.194739.3816@pilhuhn.ka.sub.org> Hi, the NeXTSTEP text object doesn't support selection in rotated text. Is there any workaround? Any suggestions appreciated. -- Jochen Richter Phone +49-721-696922 Zahringerstrasse 57 Fax +49-721-696988 D-7500 Karlsruhe 1 e-mail: jr@sade.ka.sub.org Germany jr@resy2.kfk.de
Newsgroups: comp.sys.next.programmer From: shanega@athena.mit.edu (Shane G. Artis) Subject: Question about inherited paths Message-ID: <1993Jan7.233440.13299@athena.mit.edu> Sender: shanega@athena.mit.edu Organization: Massachusetts Institute of Technology Date: Thu, 7 Jan 1993 23:34:40 GMT I am having a big problem setting up the search path tree for my application. As I understand it, the normal way to provide a path to an application launched from an icon is by using the defaults database like so: dwrite Workspace ApplicationPath ~/bin:~/lib:/me/foo Thus if that program in turn looks for executables or data it will search the paths listed by the default path tree. My program is a port of an existing program, and, due to its nature, requires me to strip off the command-line flags added by the Workspace (-MachLaunch nn nn) and replace them with my own command-line arguments shortly after startup, and before the main event loop ([NXApp run]) has been entered. Whether this is the cause or not, my application only searches a small number of pre-determined paths (~/Apps, /bin, a few others I've been able to find) and refuses to search any nonstandard ones listed by the ApplicationPath default. So, how do I pass a customized path tree to my program in a standard way, without modifying the program code any further if at all possible? Is there some global .profile or .cshrc file that lists a path tree for all executed programs? I'm baffled and an important customer of mine awaits the result of this question. Speculation and any information are most welcome. Please e-mail me if possible and I can summarize. Thank-you, Shane
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: G&M Book (was: S&G book...OOPS sorry 'bout that folks) Message-ID: <1993Jan7.235036.14233@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas Distribution: usa Date: Thu, 7 Jan 93 23:50:36 GMT OOPS...Got the subject field mangled. No more coffee for this guy :-) NeXTSTEP PROGRAMMING STEP ONE: Object-Oriented Applications Simson L. Grafinkel and Mikael K. Mahoney ISBN: 0-387-97884-4 3-540-97884-4 to order call the pubisher (Springer Verlag) at 1-800-SPRINGER -- Ronald Pomeroy Advanced Micro Devices CAM/EIS Applications Group Austin, Texas rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: schreier@next242.ECE.ORST.EDU (Richard Schreier) Newsgroups: comp.sys.next.programmer Subject: Re: C++ Keywords: C++ Message-ID: <1iin29INNbap@flop.ENGR.ORST.EDU> Date: 8 Jan 93 01:57:29 GMT Organization: College of Engineering, Oregon State University Thanks to the friendly folks at NeXT (Allen Denison), who in turn acknowledges madler@nntp-server.caltech.edu (Mark Adler) I have managed to get C++ to go. Here is the magic. Create a folder, say /me/tmp. % mkdir tmp % cd tmp Get libg++-1.39.0.tar.Z via anonymous ftp from prep.ai.mit.edu from the directory pub/gnu. % ftp prep.ai.mit.edu .. Get NeXTmods-rls3.tar.Z via anonymous ftp from next242.ece.orst.edu from the directory pub. % ftp next242.ece.orst.edu .. Unpack the gnu stuff, and cd to the newly created directory. % zcat libg++-1.39.0.tar.Z | tar xf - % cd libg++-1.39.0 Unpack the mods file while in the newly created libg++-1.39.0 folder. % zcat ../NeXTmods-rls3.tar.Z | tar xf - Create /usr/gnu, and /usr/gnu/lib (writable by whoever is doing this). % mkdir /usr/gnu % mkdir /usr/gnu/lib Change Makefile line 32 to "PWD=/me/tmp/libg++-1.39.0" ^^^^^^^ may need changing Then % make src (takes a while--ignore the warnings) % make install-lib" (puts libg++.a in /usr/gnu/lib) % make install-include-files" (this puts the include files in /usr/gnu/lib/g++-include) % make tests" (this takes rather a lot of disk space). There are differences from the expected output, most likely due to finite precision effects. Make a test program, x.cc, containing: #include <stream.h> main() { cout << " Hello world!\n"; } Compile it. % cc++ -I/usr/gnu/lib/g++-include -O x.cc -L/usr/gnu/lib -lg++ Run it. % a.out It should print Hello world! And THAT IS ALL! -- Professor Richard Schreier Dept. of Electrical and Computer Engineering Oregon State University Tel (503)-737-2051 Corvallis, OR 97331-3211 Fax (503)-737-1300
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: irving@Happy-Man.com (Irving_Wolfe) Subject: Re: Garfinkel & Mahoney's book : please post ordering info Message-ID: <1993Jan8.025647.1034@Happy-Man.com> Organization: Happy Man Corp., Vashon Island, WA 98070-7399 References: <C0DBLw.C8w@news.cso.uiuc.edu> <1993Jan5.082843.20911@news.media.mit.edu> <1993Jan6.000145.13689@mksol.dseg.ti.com> <1993Jan6.224203.22313@news.media.mit.edu> <2131.2b4c0d0d@mbcl.rutgers.edu> Date: Fri, 8 Jan 1993 02:56:47 GMT In <2131.2b4c0d0d@mbcl.rutgers.edu> hamm@mbcl.rutgers.edu writes: >Could someone please post the full title, publisher, ISBN, etc., for >the book -- I'd like to order it. If you order it from me, you can save a few bucks and get better-than-average service. I'm charging $39 _including_ U.S. shipping, vs. $42.45 from the publisher, allow you to order conveniently by e-mail, and save you from having to deal directly with the publisher (which can be a big or small advantage, depending on the particular publisher -- no comment on which it is in this case; try it with a bunch of them and see for yourself). (Yes, you $40 people who already ordered are being re-priced at $39 when your books ship and you are finally billed. We're decent folks here! And your books should arrive any day now!) We'll need your Visa or Mastercard (only) number and expiration date, mailable delivery address, and, to the extent they exist, e-mail, fax, and day and evening phone numbers. THIS IS IMPORTANT! People almost as smart as you have accidentally given us impossible (there's a check digit) credit card numbers, phone numbers with exchanges that don't exist, and street addresses but no city. Protect yourself by giving us as many ways of reaching you as possible! My re-selling your home phone number is about as likely as your re-selling mine (which you have, by the way, so please be courteous about when to call; I'm on the West Coast). We're happy to take overseas orders if you're happy to pay the shipping. We charge an averaged rate of $9 by sea (but expect arbitrary delays beyond actual shipping time of up to 4 additional weeks, by both countries' postal authorities, to encourage the use of airmail) or $17 by airmail. We also sell the official (by NeXT) NeXTSTEP Developer's Library at an even more attractive price (thanks to a bigger discount from the publisher); please inquire if interested. Regards and happy programming, - Irving -- Irving_Wolfe@Happy-Man.com Happy Man Corp. 206/463-9399 x101 4410 SW Pt. Robinson Rd., Vashon Island, WA 98070-7399 fax x108 We publish SOLID VALUE for the intelligent investor. NextMail OK Info free; sample $20. Send POSTAL addrs: Solid-Value@Happy-Man.com
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: G&M Book (was: S&G book...OOPS sorry 'bout that folks) Message-ID: <1993Jan8.055704.19760@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1993Jan7.235036.14233@dvorak.amd.com> Distribution: usa Date: Fri, 8 Jan 1993 05:57:04 GMT In article <1993Jan7.235036.14233@dvorak.amd.com> rpomeroy@aunext1.amd.com writes: >>OOPS...Got the subject field mangled. No more coffee for this >>guy :-) >> >>NeXTSTEP PROGRAMMING >>STEP ONE: Object-Oriented Applications >>Simson L. Grafinkel and Mikael K. Mahoney >>ISBN: 0-387-97884-4 >> 3-540-97884-4 >>to order call the pubisher (Springer Verlag) >>at 1-800-SPRINGER Err, you should definitely stay away from the coffee... The authors are Simson L. Garfinkel & Michael K. Mahoney. - another Michael -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin,comp.sys.next.programmer From: schlangm@Informatik.TU-Muenchen.DE (Harald Schlangmann) Subject: Using HP LJIIIp with djf_for_3.0? Keywords: Printer,djf_for_3.0,IIIp Originator: schlangm@hphalle0i.informatik.tu-muenchen.de Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem) Organization: Technische Universitaet Muenchen, Germany Date: Fri, 8 Jan 1993 09:34:16 GMT Message-ID: <1993Jan8.093416.702@Informatik.TU-Muenchen.DE> I wounder if anyone out there patched djf_for_3.0 (or earlier versions) to work with a HP Laserjet IIIp? I've tried the Dots-Demo and it is working, djf produces just garbage. Shouldn't djf work with IIIp also? As far as I know, HP's IIIp uses PCL5 and should support mode 2 and 3 compression --- or is just a initializer missing? Any help would be nice. Please answer to schlangm@informatik.uni-muenchen.de, I will summarize if I get any helpfull reply. Thanx, Harald
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Archiving memory streams Message-ID: <1993Jan8.150148.6961@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Fri, 8 Jan 1993 15:01:48 GMT I have a NXStream that contains information I wish to archive. I have demonstrated that the Object I am archiving which as the stream pointer as an instance variable works properly as far as being able to set and retreive the contents of the stream pointer. When archiving the Object, I wish to archive the contents of the stream pointer. How do I do this? I've tried * as type, and several other options, but the stream is a structure, should I have to describe the structure? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Re: Workspace ghosting rules Message-ID: <1993Jan8.161309.1075@afs.com> Sender: michael@afs.com References: <1993Jan7.152148.285@afs.com> Date: Fri, 8 Jan 1993 16:13:09 GMT In article <1993Jan7.152148.285@afs.com> Michael_Pizolato@afs.com (Michael Pizolato) writes: > I'm working on some drag 'n' drop stuff where I intend to use ghosting, > a la File Viewer. [rest deleted] I just discovered an icon called "badFolder.tiff" in /usr/lib/NextStep/Workspace.app/WM.app, so that's how the "ghosting" is done for folders the user has no permission to see. Also, I received a suggestion to try 1/3 alpha and NX_WHITE sover'd over the icon for ghosting during drag, but while it's much closer than the 50% NX_LTGRAY I was using (thanx Scott!) it's still not identical to what File Viewer does. BTW, I forgot to mention that I'm running NeXTSTEP V3.0. Still searching, Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: Re: Selection in rotated text? Message-ID: <1993Jan8.171914.3667@hot.com> Keywords: Text, NeXTSTEP 3.0, barcode Sender: robertl@hot.com Organization: Hot Technologies References: <1993Jan7.194739.3816@pilhuhn.ka.sub.org> Date: Fri, 8 Jan 1993 17:19:14 GMT The NeXTSTEP 3.0 Text object does. Both our bar code objects (BarCodeKit) and application (Bar-a-Coda) allow you to edit the text portion (a Text object) of a bar code while it is rotated. Robert La Ferla Hot Technologies In article <1993Jan7.194739.3816@pilhuhn.ka.sub.org> jr@sade.ka.sub.org (Jochen Richter) writes: > Hi, > > the NeXTSTEP text object doesn't support selection in rotated text. > Is there any workaround? > > Any suggestions appreciated. ted. Robert La Ferla Hot Technologies In article <1993Jan7.194739.3816@pilhuhn.ka.sub.org> jr@sade.ka.sub.org (Jochen Richter) writes: > Hi, > > the NeXTSTEP text o
From: jalegre@tsp.med.umn.edu (John Alegre) Newsgroups: comp.sys.next.programmer Subject: Trouble with setitimer and getitimer. Message-ID: <1993Jan8.215238.29927@news2.cis.umn.edu> Date: 8 Jan 93 21:52:38 GMT Article-I.D.: news2.1993Jan8.215238.29927 Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota I am trying to time a tight SCSI read loop on a NeXT machine. I am having trouble with the UNIX functions setitimer and getitimer. My code (or one variation of it) looks like this: struct itimerval after; setitimer(ITIMER_REAL, &after, 0L); puts("Starting"); for(i=1;i<=num;i++) [self performSCSIRequest]; puts("Done"); getitimer(ITIMER_REAL, &after); I have not been able to get any kind of succesful data out of setitimer or getitimer. If I do not assvalues to the various componets of after, I get back 0 or all fields. If I do assaign initial values, I either get back the same values or garbage. All comments welcome --- John N. Alegre Andante Systems VideoLabs Inc. ############################################################# # NeXTMail preferred. | # jdev@andante.mn.org | # alegrej@andante.mn.org | If you plant ice, # jalegre@lenti.med.umn.edu | you're gonna harvest wind! # alegrej@libros.andante.mn.org | Hunter/Garcia #############################################################
From: bizarre@clients-r-us.tamu.edu (Tom Swanner III) Newsgroups: comp.sys.next.programmer Subject: libnwapi_s.a Date: 8 Jan 1993 22:42:59 GMT Organization: Texas A&M University, College Station, TX Message-ID: <1il01jINNo3a@tamsun.tamu.edu> Keywords: novell netware Has NeXT released libnwapi_s.a, the Novell NetWare library yet? If so, where could I get it? Thanks, Tom Swanner III bizarre@clients-r-us.tamu.edu
Newsgroups: comp.sys.next.programmer From: vin@netcom.com (Vin Locke) Subject: c++ and Project Builder (was: Problems using gcc 2.3.3) Message-ID: <1993Jan8.214931.4958@netcom.com> Keywords: c++, g++, Objective-C++, Project Builder Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Fri, 8 Jan 1993 21:49:31 GMT [preamble: I had finished composing the following message, then found the thread "Problems using gcc 2.3.3" which told me that I am not the first person to notice this. However, someone mentioned that NeXT does contain a "non-ansi c++" -- where is that? Then again, what is this message in the release notes pertaining to? ] I am in the process of trying to build an application in NS3.0, via the AppKit/Project Builder, and including a C++ class. First off, a little verbatim (via cut & paste) from the NS3.0 release notes file "C++.rtf": --------------------------------------------------------------- The Release 3.0 compiler driver /bin/cc handles C, Objective-C, C++ and Objective-C++ source files. The C++ compiler driver program /bin/cc++ is no longer needed (but is still poresent for compatibility). The compiler driver determines the appropriate language from the suffix of the source files or command line options. Files ending in .c are taken to be C source files, .m indicates an Objective-C source file, and .cc, .cxx, and .C are recognized as C++ source files. The -ObjC flag specifies that source files should be considered to be Objective-C source files regardless of their extension. Similarly, the -ObjC+ flag specifies that source files should be considered to be Objective-C++ source files. The /bin/cc++ driver is simply a shell script which calls the /bin/cc driver with the -ObjC+ flag. --------------------------- Maybe I take too much for granted, but this paragraph gave me the impression that NS3.0 was all set up for compiling c++. I was rudely awakened when I tried to compile a c++ version of "hello, world" to check out the compiler, and though I used the above-mentioned switches, I was informed that it couldn't find iostream.h (c++ equivalent to stdio.h). A search of the file system revealed no such file. (BTW, the extension on my source file is cc) Well, my quest led me to downloading the g++ compiler, libs and includes from the archives (my thanks to the person who put that package together). Via the g++ compiler and a Makefile (defining my include path and lib path), I was able to successfully compile a c++ program. I then switched the compiler name ONLY, g++ to cc, the compiler bundled with NS3.0, all else (include and libs) intact. I then get the message: cppt.cc:4: iostream.h: No such file or directory Strange, because g++ was able to follow the same path and find it. (also, it compiled with gcc, part of the same bundle on the archives) Does the bundled compiler expect the includes to be in a specific (that is, pre-defined/hard-coded) spot? Anyway, I've come to terms with the fact that I must compile my c++ code with a different compiler. Now, I would like a NeXT app, created via Project Builder, to contain both Objective C and c++ code. If I were using a makefile, I would know how to do it. But now, I must tell PB to use a different compiler to create the .o file for the c++ source and link it in to the app being created. I used Makefile.preamble to define the compile of the .cc file, which succeeds in creating the .o file. However, I'm not doing enough here: it's not able to link it to the rest of the app. To summarize, my goal is to use both c++ and Objective C in the same app; I must be able to do one of the following: 1) find a way to get the compiler bundled with NS3.0 to compile my c++ code and link it with the rest of the app 2) get PB to know how to compile the c++ code with the g++ compiler AND link it with the app. I would much appreciate hearing from anyone who has succeeded with such. (please, no flames about using c++ ) Also, if anyone from NeXT would care to expand upon the quoted release notes, I would very much like to hear it. Is Objective-C++ (mentioned in release notes) NeXT's dialect of c++? -- --vin vin@netcom.com ------------------------------------------------------------------------ If productivity can really be measured as the rate at which lines of code are produced, why not just use a tight loop to spew code as fast as possible, and send the programmers home? --Brad Cox
Newsgroups: comp.sys.next.programmer From: katzung@i88.isc.com (Brian Katzung) Subject: Re: InterfaceBuilder: No KeyAndOrderFront at app's startup?? Message-ID: <1993Jan08.213027.8670@i88.isc.com> Keywords: ProjectBuilder; InterfaceBuilder; makeKeyAndOrderFront Sender: usenet@i88.isc.com (Usenet News) Organization: Interactive Systems Corporation, Naperville, IL References: <1993Jan5.130920.29274@oce.nl> Date: Fri, 08 Jan 1993 21:30:27 GMT It is considered rude and uncivilized for applications to unconditionally activate themselves at startup because the user may have activated some other application in the mean time (see - activateSelf: (Application)). I have included the source for "activate" that you can use to activate your application after you "open" it. You might want to add some enhancements such as appending ".app" if NXPortFromName() can't find the application as specified. -- Brian Katzung katzung@{i88.isc, swissbank}.com // // activate -- Tell an application to activate itself // Brian Katzung 8 January 1993 // // Compile with -lNeXT_s. // #import <appkit/appkit.h> #import <appkit/Speaker.h> // Activate the named application using the provided speaker void activate (id speaker, const char *appName) { BOOL yes = YES; [speaker setSendPort: NXPortFromName(appName, NULL)]; [speaker performRemoteMethod: "activateSelf:" with: (const char *) &yes length: sizeof(yes)]; } int main (int ac, char **av) { if (ac > 1) { id speaker; speaker = [[Speaker alloc] init]; activate(speaker, av[1]); [speaker free]; } return 0; }
From: reggie@stein.u.washington.edu (Reginald Perry) Newsgroups: comp.sys.next.programmer Subject: Re: c++ and Project Builder (was: Problems using gcc 2.3.3) Keywords: c++, g++, Objective-C++, Project Builder Message-ID: <1ilhltINN6cn@shelley.u.washington.edu> Date: 9 Jan 93 03:43:57 GMT Article-I.D.: shelley.1ilhltINN6cn References: <1993Jan8.214931.4958@netcom.com> Organization: University of Washington vin@netcom.com (Vin Locke) writes: >To summarize, my goal is to use both c++ and Objective C in the same app; >I must be able to do one of the following: > 1) find a way to get the compiler bundled with NS3.0 to compile my > c++ code and link it with the rest of the app > 2) get PB to know how to compile the c++ code with the g++ compiler > AND link it with the app. > >I would much appreciate hearing from anyone who has succeeded with such. >(please, no flames about using c++ ) >Also, if anyone from NeXT would care to expand upon the quoted release notes, >I would very much like to hear it. Is Objective-C++ (mentioned in >release notes) NeXT's dialect of c++? Maybe I should have posted a summary of what I did since I was the original poster of the gcc thread. 1) I got rid of gcc-2.3.3 It was useless for what I wanted to do ( have an integrated environment) 2) I have installed libg++-1.39.0, putting a soft link from the includes into /usr/include/g++-include. The libg++.a is in /usr/local/lib. 3) When I compile things I use: gcc -g -O -I/usr/include/g++-include -L/usr/local/lib thing.cc 4) Everything now works fine and I am happly C++ing and Objective-Cing. Thank the gods for comp.sys.next.* Reggie > > >-- > --vin >vin@netcom.com >------------------------------------------------------------------------ >If productivity can really be measured as the rate at which lines of >code are produced, why not just use a tight loop to spew code as fast >as possible, and send the programmers home? > --Brad Cox > ------------------- Reginald S. Perry | I'm a Husky Fan reggie@quantum.phys.washington.edu (NeXTMail) | I'm a NeXTSTEP Man reggie@u.washington.edu (OtherMail) | | GO DAWGS!!! |________________________
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: TEXT.H TextFunc how does it work??? Message-ID: <1993Jan8.000700.16819@prim> Organization: Primitive Software Ltd. References: <HNJ060R@gwdu03.gwdg.de> Date: Fri, 8 Jan 1993 00:07:00 GMT In article <HNJ060R@gwdu03.gwdg.de> mzeller@namu01.gwdg.de (Meinrad Zeller) writes: >Hi there, > >I've worked quite a bit with the text object and also had problems with those >scanning and drawing functions. I've debugged the whole thing and think, that >its just too much work to write your own functions. >Originally I wanted to write a small wordprocessor using the text object, >and wanted to implement decimal and right justified tabs and also justified >text. Because of missing documentation and bugs in the text object I've >dropped the project. I'm not sure, whether its simpler, to rewrite the whole >thing so you know whats going on, or to explore the text object and find out > how to write your own functions. > >I don't understand why NeXT makes those functions public, but doesnt >document them at all. The documentation tells us, that things like >NX_JUSTIFIED and NX_RIGHTTAB are not implemented #yet#. But 3.0 didn't >change anything. > It seems to be agreed that the Text object is the worst part of the app kit. Most WordProcessors for the NeXT don't use it, which is wasteful because you've got all these developers reinventing the wheel. NeXT don't seem to be putting much effort into supporting it. Solution? I think NeXT should release the source for the Text object. What do they have to lose? It's hardly a jewel in their crown. And there's loads to gain for all of us. Dave Griffiths
Newsgroups: comp.text.tex,comp.sys.next.misc,comp.sys.next.programmer From: rlp@sunset.lanl.gov (Dick Phillips) Subject: Re: Blue Sky CM fonts Message-ID: <1993Jan9.135202.11125@newshost.lanl.gov> Keywords: NeXT, PostScript Sender: news@newshost.lanl.gov Organization: Los Alamos National Lab References: <1992Dec31.210935.23876@newshost.lanl.gov> Date: Sat, 9 Jan 1993 13:52:02 GMT In article <1992Dec31.210935.23876@newshost.lanl.gov> rlp@sunset.lanl.gov (Dick Phillips) writes: > Folks: > > This may seem like an esoteric problem, but it's very real when you > MUST solve it. I'm running TeX on a NeXT, which is a PostScript machine. > For a book I'm doing, I need to use PostScript versions of the CM fonts; > bitmapped versions are unacceptable. Fortunately, Blue Sky Research > sells Type 1 versions of the CM fonts, 75 in all. I've bought them and > installed them. Everything seemed to go smoothly until I tried printing > the quadratic equation. That is, I used the simple Plain TeX expression: > > $$-b\pm\sqrt{b^2-4ac}\over 2a$$ > > Curiously, all elements appeared to be correct, except the minus and > plusminus signs were missing. I've tried several other equations with > integral signs, matrix brackets, greek characters, etc., and I get > mixed results. For example, theta is missing, while alpha and phi are > correct. Also, the multiply "x" and left arrow don't appear. Any > thoughts on what might be amiss? Seems like an encoding problem, but > I wouldn't know where to look. Since this problem is not likely to be > of widespread interest, please reply directly to me at rlp@lanl.gov. > Thanks, > > Dick Phillips Thanks to all who replied to my plea for help. Barry Smith of Blue Sky Research called within an hour of my posting and talked me through a potential solution. The evidence seemed to indicate that many characters were missing, both from the font encoding vectors and the *.afm files, in the first 32 positions. Not included in my posting was the fact that I bought the Macintosh version of the CM fonts and used Altsys' Metamorphosis Pro to convert them for use on the NeXT. While I have had no trouble with that program in the past, it apparently can not deal with TeX encodings properly. I have just reinstalled the CM fonts, starting from MS DOS versions (thanks again to Barry Smith) and everything works perfectly. Thanks again, Dick Phillips
From: 128a-2fh@web-1a.berkeley.edu () Newsgroups: comp.sys.next.programmer Subject: SUBMISSION: Desktop v1.1 -- fast, cheap, user-friendly Date: 9 Jan 1993 21:13:47 GMT Organization: University of California, Berkeley Sender: 128a-2fh@web.berkeley.edu Message-ID: <1inf6b$lu2@agate.berkeley.edu> Keywords: Desktop software Hi Everyone, A moment ago, Desktop v1.0 was released. Its aim is to provide virtual screens and freeform dock so that NeXT users have plenty of room to place their windows and application icons. It also comes with advanced features that manipulate these windows and icons. And it even automatically look up the desired window for the users. But this features-packed application, though handy, is quite CPU intensive. My ideal window manager should be fast yet takes up as little CPU power as possible. Desktop v1.1 is a step closer to my ideal. It is fast. It consumes very little CPU power even while doing more housekeeping work than before! And it has useful features that I feel missing in Desktop v1.0. In addition, all the functions of Desktop v1.1 are enabled if Desktop is in the FULL DEMO mode so that NeXT users actually have a chance to see what Desktop can do. (see below for more info) Below are the features of Desktop v1.0 and Desktop v1.1 Features of Desktop 1.0 ======================= a. Desktop provides four virtual screens with one being the active screen at any one time. b. Desktop automatically switches from the current screen to the correct virtual screen that contains the window that you need. Alternatively, you can ask Desktop to move that window to your current screen instead. c. Desktop offers a number of operations on any window, eg. floating a window so that the window will always appear in the active screen, raising a window, sending a window to any of the virtual screens etc. d. Besides window management, Desktop also manages the application icons that are created by Workspace when you launch any application. These application icons can become misaligned or buried under other windows sometimes. With Desktop, you can tidy the icons, hide them, unhide them or place them in front of other windows etc. e. Desktop offers its free-form dock that can be comprised of application icons, folder icons and even data file icons. In fact, the dock can be made up of just any type of icons that appear in the file browser. The status of each Desktop dock icon is reflected by the three little dots just like any NeXT dock icon (this is applicable to application icons only). For other types of Desktop icons, eg. directory icon, a big dot appears on the lower left corner instead of the three dots to indicate that Desktop will not keep track of the status for this icon. Of course, the user-customizable Desktop dock can be edited and saved for future Desktop session. f. Desktop offers a new input method like that of a X-window manager. Desktop has the miniaturization of the four virtual sceens in the Desktop Window. However, this does not mean that whenever you need to perform an operation on a window eg. to move a window from one screen to another, you have to drag the miniature view of that window in the Desktop Window. This can be inconvenient. Instead, just move the mouse to the window (the actual window, not the miniature view). Then hold down the "Alternate" key first before moving the mouse. The WindowOp/NeXTApp Icon/Desktop Icon submenu will pop up depending on whether the window is really a normal window, a NeXT app icon or a Desktop icon. You can then pick the desired operation from the menu. g. If the machine workload is heavy, adjust the refresh rate accordingly or even turn it off. Click on the Update button at the Desktop window to manually update the display of the windows. Features of Desktop 1.1 ======================= In addition to the above-mentioned features, Desktop1.1 has the following new features: h. Desktop 1.1 consumes little CPU power, yet peforms operations faster than Desktop 1.0. i. Auto Flip Screen feature for automatically switching to the correct screen when you drag a window beyond the boundary of the active screen. This feature can be conveniently disabled for individual window-dragging sessions if necessary. j. 2 new icon features: i) Auto-tidy icons for aligning icons neatly at the bottom of the screen at all times. ii) Group icons for grouping icons by application that owns these icons. k. Popup submenu can be disabled if it causes interference by other programs. In short, Desktop 1.1 is a user-friendly utility that enhances the NeXT Workspace. The price is affordable and more info on how to purchase the software is available in the demo copy itself. I have problems uploading my program to sonata.cc.purdue and nova.cc.purdue.edu. (When I type "put Desktop1-1.tar", the uploading process just hang there and never seems to complete). Can someone advise me how to submit an application to the ftp sites? For now, to get a fully functional Desktop v1.1 demo, please email 128a-2fh@web.berkeley.edu or send conventional mail to : Teck-Cheng Sieu P.O. Box 367 Berkeley, CA 94701-0367 All current users of Desktop 1.0 are entitled to free upgrade to Desktop 1.1. Lastly, I hope you would like it.
From: tjhendry@king.mcs.drexel.edu (Jonathan Hendry) Newsgroups: comp.sys.next.programmer Subject: Re: Workspace ghosting rules Message-ID: <1993Jan9.193331.21421@netnews.noc.drexel.edu> Date: 9 Jan 93 19:33:31 GMT References: <1993Jan7.152148.285@afs.com> <1993Jan8.161309.1075@afs.com> Sender: news@netnews.noc.drexel.edu Organization: Drexel University In article <1993Jan8.161309.1075@afs.com>, Michael_Pizolato@afs.com (Michael Pizolato) writes: |> In article <1993Jan7.152148.285@afs.com> Michael_Pizolato@afs.com (Michael |> Pizolato) writes: |> > I'm working on some drag 'n' drop stuff where I intend to use ghosting, |> > a la File Viewer. [rest deleted] |> |> I just discovered an icon called "badFolder.tiff" in |> /usr/lib/NextStep/Workspace.app/WM.app, so that's how the "ghosting" |> is done for folders the user has no permission to see. |> |> Also, I received a suggestion to try 1/3 alpha and NX_WHITE sover'd |> over the icon for ghosting during drag, but while it's much closer |> than the 50% NX_LTGRAY I was using (thanx Scott!) it's still not |> identical to what File Viewer does. |> |> BTW, I forgot to mention that I'm running NeXTSTEP V3.0. |> |> Still searching, |> Michael |> |> -- |> Michael_Pizolato@afs.com |> ~18 kyu |> Q16 |> NeXTMail appreciated Ah. I see you`ve learned your lesson about flaming. :) -- Jonathan W. Hendry Drexel University College Of Information Studies Anderson Financial Systems "Programmer-in-Exile" :) hendryjw@duvm.ocs.drexel.edu (No NEXTMail :( )
Newsgroups: comp.sys.next.programmer From: kenny@netcom2.Netcom.COM (Ken Smith) Subject: Novice HashTable Question Message-ID: <KENNY.93Jan9142756@netcom2.Netcom.COM> Sender: kenny@netcom.com (Ken Smith) Organization: Netcom Online Communications Service Distribution: comp Date: Sat, 9 Jan 1993 22:27:56 GMT I want to use the HashTable class to implement a symbol table for a simple expression evaluator that I'm writing, however there seems to be one crucial feature missing from HashTable (or more likely I just can't figure it out). My question: Given a "value", how does one determine its associated "key" in a HashTable? When using hash tables that I've written in the past, I've found it useful (actually essential) to be able to quickly lookup a table entry given *either* its key or its value. In other words, how come there isn't a "keyForValue" method in addition to the existing "valueForKey" method? Thanks in advance, Ken Smith -- _______________________________________________________________________ kenny@netcom.com -- _______________________________________________________________________ kenny@netcom.com
Newsgroups: comp.sys.next.programmer From: sunthej@alleg.edu (Jake Blues) Subject: NeXT lex Message-ID: <1993Jan9.232243.14902@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Sat, 9 Jan 1993 23:22:43 GMT I am having a problem with lex on NeXTSTEP 2.1. It refuses to put the final '}' on my main() function when it is transformed to lex.yy.c. ie %% ^File:.* {}; ^\*[^*].* {}; %% main() { yylex(); } is transformed into main() { yylex(); and I have to close the { by hand. Has anyone else had this problem? Anyone have any solutions. I am using lex for the first time (on my own, not for class... I swear) so the problem could be the input, but I don't see how.
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Bobbing for Apples (was How to generate the complete character set) Message-ID: <1052@rtbrain.rightbrain.com> Date: 10 Jan 93 01:07:05 GMT References: <970@rtbrain.rightbrain.com> Sender: glenn@rightbrain.com Eric P. Scott writes > Now examine the file /NextLibrary/Fonts/Symbol.font/Symbol: > |dup 238 /braceleftbt put > |dup 239 /braceex put > |% dup 240 /apple put > |dup 241 /angleright put > > Hey! Something's commented out! Heh heh. The Apple logo was in the Symbol font on the original LaserWriters. This is not gospel, but my recollection was that when Digital signed up with Adobe, their QA people noticed the Apple logo in there and requested that it NOT be in their printers, thank you very much. Can't blame them. I believe the solution was to comment it out in non-Apple printers, although there have been so many printers made since then, it's hard to know what was done in each one. Maybe it's commented out in Apple printers nowadays, too. Of course, "commented out" probably means not in ROM at all in a printer, since they probably execute the font into ROM when building it. In any case, despite the obvious implications, it wasn't NeXT that got rid of the Apple logo :-) -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.programmer From: nwc@blackbox.cc.columbia.edu (Nick Christopher) Subject: Re: NeXT lex Message-ID: <1993Jan10.033225.1890@news.columbia.edu> Sender: usenet@news.columbia.edu (The Network News) Organization: Columbia University References: <1993Jan9.232243.14902@pellns.alleg.edu> Date: Sun, 10 Jan 1993 03:32:25 GMT Do you have a newline after the final } ? \n
Newsgroups: comp.sys.next.programmer From: trivedi@npoint.com Subject: Re: HELP: - app: fileOperationCompleted: Message-ID: <1993Jan9.182212.289@npoint.com> Organization: nPOINT, Ltd. 8026 North Washington, Niles, IL 60714 References: <1993Jan7.211843.27115@almserv.uucp> Date: Sat, 9 Jan 1993 18:22:12 GMT I had the exact same problem and the answer that I got was that it's fully documented but not implemented. Major :-( Kam --- pbeiler@fnma.com (Phil Beiler) writes: >I am having problems with the method: >app: fileOperationCompleted: >I performed the following command: > rc = [[Application workspace] > performFileOperation:WSM_RECYCLE_OPERATION > source:THE_PATH > destination:"" > files:fileList > options:NULL]; >The request returns a positive integer, which means that it should call >the fileOperationCompleted method, when the operation has completed. The >file gets moved to the recycler, by the method never gets called. >I am positive that the application delegate is set to the file with the >app: fileOperationCompleted method. >I wrote a simple test program and can't get it to work. >Any help would be appreciated. >Phil Beiler >FannieMae, Washington DC -- Kam Trivedi kam@nPOINT.COM
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Some questions Message-ID: <6203@rosie.NeXT.COM> Date: 10 Jan 93 06:01:16 GMT References: <1993Jan6.133043.423@cubx.fdn.org> Sender: news@NeXT.COM hubert@cubx.com (Hubert Delahaye) writes: > - Next he wants to know if it will be possible to run OS/2 under NeXTSTEP > 3.0 (Arrrghhhhh !), and especially Lan Manager. I assume you mean NeXTSTEP 486. OS/2 cannot be run under NeXTSTEP, but they can reside on a single disk. Also NeXTSTEP can read the OS/2 partition if it uses the FAT file system. -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
From: neil@heineken.inslab.uky.edu (Neil Green) Newsgroups: comp.databases.sybase,comp.databases.oracle,comp.sys.next.programmer Subject: QUESTION: Sybase reference material / Oracle vs. Sybase Message-ID: <1993Jan10.222626.13071@ms.uky.edu> Date: 10 Jan 93 22:26:26 GMT Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences SYBASE vs. ORACLE I am interested in the pros and cons when storing images in these two databases. What has anyone found out concerning performance and possible limitations of either of the two RDBMS? The application will maintain an order of 4,500 - 7,000 applicants. Each of which will require numerous scanned in images for archival and retrieval. Anywhere from 20-50 images annually. What about client/server performance? Possible bottlenecks? Disk I/O?? -- Neil Greene benchMark Developments, Inc. [NeXT VAR] Kentucky NeXT User Group, Inc. neil@kynug.org
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT lex Date: 10 Jan 1993 22:44:25 GMT Organization: Cubic Solutions - NeXT software development and consulting Message-ID: <1iq8s9INN1f5@darkstar.UCSC.EDU> References: <1993Jan9.232243.14902@pellns.alleg.edu> In article <1993Jan9.232243.14902@pellns.alleg.edu> sunthej@alleg.edu writes: [ description of lex problem deleted ] Although I don't claim to be a lex expert, I seem to have stumbled across a very irritating NeXT 2.1 and 3.0 lex bug: lex doesn't seem to grok '_' in a range of characters making defining C variable names as tokens kinda tough. NeXT lex treats '_' as a space character thus returning separate tokens before and after all occurrences of '_' :-( Replacing all '_' with other characters (e.g., '>', '<', etc.) returns correct tokens. Has anyone else been able to successfully search for tokens containing the '_' character using NeXT's lex? Maybe I'm doing something wrong. Meanwhile, I've downloaded the latest flex and bison to see whether their output can legally be included in commercial apps. I think the FSF's policy may have changed to permit this, but I'm not sure. Anyone else know for sure? -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NeXT software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: weirdness: wave's or IB? Message-ID: <1993Jan10.234916.10685@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory Date: Sun, 10 Jan 1993 23:49:16 GMT Hi folks. I would swear this was working a few weeks ago, but now it's not... I'm writing some IB palettes which contains subclasses of Object, not View. The objects are actually proxies for other full fledged processes running on some arbitrary computer on the net. If you do the obvious thing, i.e. each time your ObjC object init's it starts up the companion process, you end up with a bunch of "extra" processes. For example, when you load your palette into IB, IB init's each of the objects in your palette. Then when you drag an object from your palette into the Files Window, IB inits another one. So far, for each object on your palette you've got two processes floating out on the net that you don't want. You then go in to test mode. At this point, you do want that process to start up. So what to do? Well, IB is nice enough to declare a bunch of protocols that should help you. Jean-Marie has subclassed NXApp for IB and made it respond to a few new messages. So, in your init and awake msgs, if you put the following code: if ([NXApp resondsTo:@selector(isTestingInterface)]) { // we're in IB if (![NXApp isTestingInterface]} { // building interface, not testing return self; } //we're testing the interface, really exec the process } else { //we must be in an app (not IB), really exec the process } [self initWholeThang]; So, if you have some routine initWholeThang that actually starts up the associated process, you should be golden. Unfortunately, I seem to be getting NO back from [NXApp isTestingInterface] both when I'm building the interface (i.e.just frobbing around in IB) and when I'm testing the interace (command-r). I would swear this was working fine a few weeks ago, and I even diff'ed my current code against that version, and nothing is different in that part. Any ideas, please... E-mail, and I'll summarize if anyone points out my foolishness. Thanks. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
Control: cancel <1993Jan8.001847.20094@liberty.uc.wlu.edu> Newsgroups: comp.sys.next.programmer From: jturner@liberty.uc.wlu.edu (James M. Turner III) Subject: cancel <1993Jan8.001847.20094@liberty.uc.wlu.edu> Message-ID: <1993Jan10.044237.22116@liberty.uc.wlu.edu> Date: Sun, 10 Jan 1993 04:42:37 GMT Organization: Washington & Lee University Article cancelled from within tin
Control: cancel <1993Jan10.044425.22176@liberty.uc.wlu.edu> Newsgroups: comp.sys.next.programmer From: jturner@liberty.uc.wlu.edu (James M. Turner III) Subject: cancel <1993Jan10.044425.22176@liberty.uc.wlu.edu> Message-ID: <1993Jan10.045827.22352@liberty.uc.wlu.edu> Date: Sun, 10 Jan 1993 04:58:27 GMT Organization: Washington & Lee University Article cancelled from within tin
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: Querying Event Driver Date: 11 Jan 1993 03:40:57 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1iqq89INNnnt@uwm.edu> Originator: xepo@csd4.csd.uwm.edu HI all, I trying to write a program that needs to be able to check what is being typed on the keyboard even if this app isn't the current app. I found the way to get the address of the keyboard device, but from there I am unsure as to what to do. Is there a specific place from the beginning of the device address that can tell me what the current key that was pushed is? Or would it be impossible for me to try and accomplish something like this? Can what I want to do be accomplished with some ioctl() calls? And if so, what would they be. Any comments or suggestions would be great, -- -Scott Violet (xepo@csd4.csd.uwm.edu)
Newsgroups: comp.sys.next.programmer From: pkim@cory.Berkeley.EDU (-) Subject: window dragging Message-ID: <1993Jan11.055510.28662@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Mon, 11 Jan 1993 05:55:10 GMT i'm having a problem getting a window to drag properly when the user drags in a view within the window (the window is a NX_PLAINSTYLE window so it has no titlebar). it seems to work fine except that every now and then, the window "vibrates" around the mouse point. for example, if i start dragging the window to the left, the window, every now and then, will oscillate in a circular fashion for a half a second. the amplitude of the oscillations sometimes reaches a hundred pixels or so. here's the code (it should be pretty straightforward): - mouseDown:(NXEvent *)theEvent { NXPoint current; NXCoord dx, dy; NXRect wframe; BOOL tracking = YES; int mask; mask = [window addToEventMask:NX_MOUSEDRAGGEDMASK]; current = theEvent->location; [window getFrame:&wframe]; [window convertBaseToScreen:&last]; dx = NX_X(&wframe) - current.x; dy = NX_Y(&wframe) - current.y; theEvent = [NXApp getNextEvent:MOVE_MASK]; if (theEvent->type == NX_MOUSEUP) { return self; } while (tracking) { current = theEvent->location; [window convertBaseToScreen:¤t]; [window moveTo:(current.x + dx) :(current.y + dy)]; tracking = (theEvent->type != NX_MOUSEUP); if (tracking) { NXPing(); theEvent = [NXApp getNextEvent:MOVE_MASK]; } } [window setEventMask:mask]; return self; } i can't use dragFrom::theEvent: because i need to move other windows with this one (dragFrom::theEvent: doesn't send window update messages to the delegate). so, if anyone can either find the error in my code or tell me of another way to get several windows to move in tandem with the one the user is dragging, let me know. thanks in advance, paul kim pkim@cory.berkeley.edu
Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs From: ben@fizz.fdn.org (Benoit Grange) Subject: Strange things in make depend Message-ID: <1993Jan10.144622.1447@fizz.fdn.org> Sender: ben@fizz.fdn.org (Benoit Grange) Date: Sun, 10 Jan 1993 14:46:22 GMT If you issue a make depend command in a project, the file Makefile.dependencies contains references of *ALL* the appkit headers for each object file. This produces HUGES dependencies list (more than 100Kb), slowing down the make process. To build the dependencies make depends issues 'cc -MM <all sources> | awk...' and the cc manual says -MM Like -M but the output mentions only the user-header files included with #include "file". System header files included with #include <file> are omitted. So why are all imported <appkit/xxx.h> listed ? Is that because of #import instead of #include ? I don't care having dependencies with them. I currently use a sed script to remove all this stuff. My makes are now going somewhat faster. The first command issued appears after one second instead of something like 5 or more seconds. -- ---- Benoit Grange - PARIS - FRANCE Mail to : ben@fizz.fdn.org (SMALL NeXTMails accepted, < 10kb)
Newsgroups: comp.sys.next.programmer From: ben@fizz.fdn.org (Benoit Grange) Subject: About dragging non square images Message-ID: <1993Jan10.155918.1913@fizz.fdn.org> Sender: ben@fizz.fdn.org (Benoit Grange) Date: Sun, 10 Jan 1993 15:59:18 GMT I am implementing a dragging operation in one of my applications. The dragged image is some rectangular bitmap, sized between 20 and 140 pixels. It may be square, but some are not. When dragging it over a NeXT Mail window, the dragged image is truncated, or messed up with an other image (part of the image is recovered with an other). Is that a known bug, or should the dragged image be square ? I can't find statements about this in the documentation. -- ---- Benoit Grange - PARIS - FRANCE Mail to : ben@fizz.fdn.org (SMALL NeXTMails accepted, < 10kb)
Newsgroups: comp.sys.next.sysadmin,compcomp.sys.next.software,comp.sys.next.programmer From: outland!jmast@s.ms.uky.edu (John A. Mastrolia) Subject: Re: USR V.32bis FAX Help Message-ID: <C0oC3u.6IM@outland.uucp> Sender: jmast@outland.uucp (John A. Mastrolia) Organization: Kentucky NeXT Users Group (KYNUG) References: <C0D8vy.4LB@outland.uucp> Date: Mon, 11 Jan 1993 05:19:06 GMT In article <C0D8vy.4LB@outland.uucp> outland!jmast@s.ms.uky.edu (John A. Mastrolia) writes: > I have recently upgraded my US Robotics V.32bis modem in anticipation of > the new 28,800 standard expected from CCITT soon. This included a FAX > capability in addition to the upgrade socket. Now, the big question, has > anyone had any experience using the FAX capability of this modem with > their NeXT? I'm using a NeXTStation Turbo with 3.0. Any help would be > appreciated. I posted this on 5 January and received only messages asking for me to pass on information. Again, if anyone has had any experience using this modem as their FAX, please let me know. Thanks in advance. -- John A. Mastrolia outland!johnm@ms.uky.edu
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: RTFD, copying to Objects and Archiving Message-ID: <1993Jan11.062406.9249@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <1993Jan7.213019.7023@ornl.gov> Date: Mon, 11 Jan 1993 06:24:06 GMT In article <1993Jan7.213019.7023@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > I am working on an application where I compose questions > that will contain rich text (including diagrams). I have a simple > subclass of Object called QuestionObj that I create an instance of for > each question and then maintain the questions in a List Object. > > The text is in a text field with id "text". > > I try to do the following: > NXStream *buffer; > > count = [questions count]; > newQuestion = [[QuestionObj alloc] init]; > buffer = NXOpenMemory(NULL,0,NX_WRITEONLY); > [text writeRTFDTo:buffer]; > [newQuestion setText:buffer]; > > Now in the QuestionObj, I have: > - setText:(NXStream *)str > { > buffer = str; > return self; > } > - (NXStream *)text > { > return buffer; > } > with interface of: > @interface QuestionObj:Object > { > int num; > NXStream *buffer; > } > > - setNum:(int)val; > - (int)num; > - setText:(NXStream *)str; > - (NXStream *)text; > > Now, first it appears that I'm not getting the Rich Text because I > can't get it back out of the object with text method. > > I know most of this works with ascii text (I tried this all out using > char *buffer; > first) > > Also, if this even works, in the -read -write methods of the > QuestionObj class, what do I put for the descriptor when I use > NXWriteTypedStreamToFile ? > I used a * when it was a char * and it worked. > > What do I put for a typed stream? > > > - - - - - - - - - > J. W. Wooten Just a guess, but are you doing a NXSeek(buffer, 0L, NX_FROMSTART) before trying to access data in the stream? John -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-3344 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer From: trunz@inf.ethz.ch (Paul Martin Trunz) Subject: TextField Problem Message-ID: <1993Jan11.101100.26539@neptune.inf.ethz.ch> Sender: news@neptune.inf.ethz.ch (Mr News) Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH Date: Mon, 11 Jan 1993 10:11:00 GMT Hello Ne(X)tland, I have a strange problem. In a Panel I have a few TextFields, some of them are strings, they work without any problem. The three last fields should contain int's, that's where my problem starts. From the first field the intValue-message returns the correct contents. From the second field, intValue returns 0 when the third is empty and the correct value if the third is filled. From the third field I always get 0. All fields are connected using the usual nextText, the last field additionally sends a performClick message to the OK-Button. What am I doing wrong ? Does it have something to do with editValidate ? I tried to setEntryType:NX_INTTYPE (not really sure about the name now, but something along these lines) these fields, but this is a method of a TextCell and the fields are TextFields and do not respond to it. How do I get a TextCell from IB ? Can one just change the Class-Type in IB's Attribute-Inspector to TextCell ? (This idea just crossed my mind and I cannot verify it now) any pointers greatly appreciated, and please respond by Email, I will summarize if there is interest in the responses. greetings Patru -- God created nothing, but he did a pretty good job at it. Email : trunz@inf.ethz.ch or PATRU@EZINFO.vmsmail.ethz.ch
From: biff@biff.gbdata.com (Dwight Everhart) Newsgroups: comp.sys.next.programmer Subject: Re: Pointers to functions in method definitions Message-ID: <C0o516.8Aq@biff.gbdata.com> Date: Mon, 11 Jan 1993 02:46:17 GMT References: <C0CAtI.KqM@knot.ccs.queensu.ca> Sender: biff@biff.gbdata.com (Dwight Everhart) In article <C0CAtI.KqM@knot.ccs.queensu.ca> alastair@hecate.phy.queensu.ca (A.B. McLean) writes: > I want to write a method that will accept a pointer to a C function. [...] > In the interface file I would expect (Kernigham amd Ritchie section 5.11) > the method definition to look like > > - methodName:void(*gaussian)(float, float*, float*); In Objective-C method declarations, all types must be given in parenthesis, using the C type-cast syntax. Also, the name of the argument is given after its type. So what you want is: - methodName:(void(*)(float, float*, float*))gaussian; -- Dwight Everhart "Technology turned out to be less important than Houston, Texas sales and distribution methods ... we consistently biff@biff.gbdata.com outsold people who had better technology." NeXTMail and MIME OK -- Thomas J. Watson Jr., on the success of IBM
From: biff@biff.gbdata.com (Dwight Everhart) Newsgroups: comp.sys.next.programmer Subject: Re: RTFD, copying to Objects and Archiving Message-ID: <C0o7n2.8Ct@biff.gbdata.com> Date: Mon, 11 Jan 1993 03:42:37 GMT References: <1993Jan7.213019.7023@ornl.gov> Sender: biff@biff.gbdata.com (Dwight Everhart) In article <1993Jan7.213019.7023@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > I am working on an application where I compose questions > that will contain rich text (including diagrams). I have a simple > subclass of Object called QuestionObj that I create an instance of for > each question and then maintain the questions in a List Object. > > The text is in a text field with id "text". > > I try to do the following: > NXStream *buffer; > > count = [questions count]; > newQuestion = [[QuestionObj alloc] init]; > buffer = NXOpenMemory(NULL,0,NX_WRITEONLY); ^^^^^^^^^^^^ > [text writeRTFDTo:buffer]; > [newQuestion setText:buffer]; > > Now in the QuestionObj, I have: > - setText:(NXStream *)str > { > buffer = str; > return self; > } > - (NXStream *)text > { > return buffer; > } > with interface of: > @interface QuestionObj:Object > { > int num; > NXStream *buffer; > } > > - setNum:(int)val; > - (int)num; > - setText:(NXStream *)str; > - (NXStream *)text; > > Now, first it appears that I'm not getting the Rich Text because I > can't get it back out of the object with text method. You're opening the stream as write-only. Either open it as as read-write, or close the stream and have your setText method store the address of the buffer, rather than the stream. To do the latter, after writing the stream, use NXGetMemoryBuffer() to get the address of the memory buffer that was created. Use NXClose() (or NXCloseMemory() with the NX_TRUNCATEBUFFER option) to close the stream. Give setText: the address of the buffer. Then, when you want to read from the buffer, you can use NXOpenMemory() with the address of the buffer as returned by your text method. > Also, if this even works, in the -read -write methods of the > QuestionObj class, what do I put for the descriptor when I use > NXWriteTypedStreamToFile ? I don't know if you can archive a NXStream, but, if you use the second option I suggested, you can archive the memory buffer with NXWriteArray() with a type of "c". > I used a * when it was a char * and it worked. The "*" type is meant for strings. It probably won't work right with memory buffers. -- Dwight Everhart "Technology turned out to be less important than Houston, Texas sales and distribution methods ... we consistently biff@biff.gbdata.com outsold people who had better technology." NeXTMail and MIME OK -- Thomas J. Watson Jr., on the success of IBM
Newsgroups: comp.sys.next.programmer From: massimo@cello.open.ch. (Massimo Arnoldi) Subject: programming dynamically loadable tools in Improv under 3.0 Message-ID: <1993Jan11.104556.11433@bernina.ethz.ch> Keywords: Improv Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH Date: Mon, 11 Jan 1993 10:45:56 GMT I have written some dynamically loadable tools for Improv using 2.0. Now I have modified the NIB file of one of them and it does not work anymore. In fact, as the release notes say, "Nib files created with the new Interface Builder can no longer be included in Mach-0 segments of an executable file". Did someone on the net find a way to solve this problem ? Thank you very much in advance. -Massimo Massimo Arnoldi, Via Vignascia, 6982 Serocca d'Agno, Switzerland Tel: +4191 595539 Tel: +4191 595036 E-mail: massimo@open.ch (NeXT)
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: CCC_HART@rzmain.rz.uni-ulm.de (Hardy) Subject: NxBrowser (Bug ?) Message-ID: <1993Jan11.132437.16200@wega.rz.uni-ulm.de> Sender: news@wega.rz.uni-ulm.de (News Net) Organization: University of Ulm, Germany Date: Mon, 11 Jan 1993 13:24:37 GMT Hello world, i have a big problem with the NeXT Interface-Builder (and there with NXBrowser): When i generate a window in IB and place a NXBrowser in that window the method _setPath:(const char *)aPath_ didn't work. It returns only self and nothing happened. All other methods works fine (ex. _loadColumnZero_, after loading the browser manually (using _loadColumnZero_) even _getPath_). So what do i wrong ? Is this a (known) bug of NeXTStep 3.0 ? Any hints welcome. Please answer by e-mail (ccc_hart@rzmain.rz.uni-ulm.de) since i didn't read this group frequently. Awaiting your replies and thousand thanx (sorry for mistakes, but english isn't my native language) so long... hardy ######################################################################## ## Wiedergabe, auch ## INTERNET: ccc_hart@rzmain.rz.uni-ulm.de ## ## auszugsweise, nur ## BITNET: ccc_hart@dulruu51.bitnet ## ## mit schriftlicher ## DECnet: 50186::ccc_hart (BelWue) ## ## Genehmigung des ## PSImail: 0262450502601::rzmain::ccc_hart ## ## Authors !!! ## x.400: s=ccc_hart;ou=rz;p=uni-ulm;a=dbp;c=de ## ######################################################################## Real programmers don't comment their code. It was hard to write, it should be hard to understand. - a real programmer
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Trouble with setitimer and getitimer. Date: 11 Jan 1993 15:29:37 GMT Organization: The University of Maryland, College Park Message-ID: <1is3p1INNj0e@ni.umd.edu> References: <1993Jan8.215238.29927@news2.cis.umn.edu> In article <1993Jan8.215238.29927@news2.cis.umn.edu> jalegre@tsp.med.umn.edu (John Alegre) writes: >I am trying to time a tight SCSI read loop on a >NeXT machine. > >I am having trouble with the UNIX functions >setitimer and getitimer. You don't want to use setitimer or getitimer, which are used to generate alarm clock signals to your process. What you really want to use is gettimeofday() before and after. Do 'man 2 gettimeofday' and also look at <sys/timer.h> Louis Mamakos
Newsgroups: comp.sys.next.programmer From: dcheslow@impact.flint.umich.edu (David A. Cheslow) Subject: Project Builder make all problem Message-ID: <8Hg=rh+@engin.umich.edu> Date: Mon, 11 Jan 93 11:12:04 EST Organization: The University of Michigan, Ann Arbor According to NeXT, you can put -t all in the arguments field of project builder to cause all files to be touched before the project is built (thus causing all classes to be recompiled). When I do this, a file called "all" is created, but make does not recompile any of my classes. can someone explain what I am doing wrong? Please respond to dcheslow@impact.flint.umich.edu -- ================================================================= *NOT* an official document of the University of Michigan - Flint ================================================================= David A. Cheslow E-Mail : dcheslow@impact.flint.umich.edu
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: First Book on Programming in NeXTSTEP Release 3.0 Message-ID: <6213@rosie.NeXT.COM> Date: 11 Jan 93 19:26:52 GMT Sender: news@NeXT.COM News FOR IMMEDIATE RELEASE Contact: Allan M. Wylde, Publisher TELOS, The Electronic Library of Science Phone: (408) 249-9314 First Book on Programming in NeXTSTEP Release 3 Published by TELOS Santa Clara, Calif., December 18, 1992 - TELOS (The Electronic Library of Science) announced today that it has released NeXTSTEP Programming-STEP ONE: Object-Oriented Applications, by Simson L. Garfinkel and Michael K. Mahoney, the first comprehensive instruction manual for new NeXTSTEP users. NeXTSTEP Programming is a hands-on book that teaches programmers how to write applications that take full advantage of NeXTSTEP, the object-oriented operating-environment from NeXT Computer, Inc. Priced at $39.95, NeXTSTEP Programming comes with a DOS floppy disk that contains complete source code for all programs used in the book and a tutorial for Interface Builder, the object editor bundled with the NeXTSTEP development environment. The disk is compatible with NeXT hardware and with any PC hardware running NeXTSTEP 486, the NeXTSTEP operating environment for 486 PCs, available in early 1993. NeXTSTEP combines object-oriented programming tools, interface-customizing utilities, a multi-tasking UNIX operating system, built-in networking, multimedia connections and Display PostScript for WYSIWYG capabilities. About the Authors Simson Garfinkel is Senior Editor at NeXTWORLD Magazine and an experienced NeXTSTEP developer. He is also the co-author of Practical UNIX Security. Michael Mahoney is professor and chair of the Computer Engineering and Computer Science Department at California State University, Long Beach, and is president of the Southern California NeXTSTEP Users Group (SCaN). About TELOS TELOS is an imprint of Springer-Verlag New York, with publishing facilities at 3600 Pruneridge Avenue, Suite 200, Santa Clara, Calif. 95051. Its publishing domain encompasses the natural and physical sciences, computer science, mathematics, and engineering. TELOS strives to wed the traditional print medium with the emerging electronic media to provide the reader with a truly interactive multimedia information environment. All TELOS publications delivered on paper come with an associated electronic component. A limited number of review copies are available. Contact Cindy Peterson of Springer-Verlag at (408) 249-9314 for a copy. -30- ____________________________________________________________________ NeXTSTEP Programming--STEP ONE: Object-Oriented Applications Simson L. Garfinkel and Michael K. Mahoney ISBN: 0-387-97884-4 Price: $39.95 Hardbound, 672 pages, includes DOS diskette This book is about programming computers running NeXTSTEP. It is a no-nonsense, hands-on book that teaches programmers how to write application programs that take full advantage of NeXTSTEP. This book is the first comprehensive work dealing with the 3.0 version of NeXTSTEP. The floppy disk included with this book contains the complete source code for all programs in the book and a tutorial for Interface Builder. Simson Garfinkel is Senior Editor at NeXTWORLD Magazine and an experienced NeXTSTEP developer. Michael Mahoney is Professor and Chair of the Computer Engineering and Computer Science Department at California State University Long Beach, and is president of the Southern California NeXTSTEP Users Group (SCaN). To Order: Call TOLL FREE 1-800-SPRINGER (1-800-777-4643) 8:30 a.m. to 5:30 p.m. (EST) Credit Cards Accepted: American Express, MasterCard, Visa, Discover In New Jersey: Call (201) 348-4033 Purchase Orders To: Springer-Verlag New York, Inc., 44 Hartz Way, Secaucus, NJ 07096 Fax Purchase Orders To: (201) 348-4505 NY, NJ, MA, VT and CA residents should include applicable sales tax. Canadian residents should include 7% GST. Shipping: Add $2.50 for the first book; $1.00 for subsequent books. Foreign Airmail Orders: Add $10.00 per book. All orders are processed upon receipt. Prices quoted are payable in U.S. currency. For information on bulk sales, please contact Thomas Heitzman at (212) 460-1675. For information on 30-day examination copies for course adoption, please contact Lilliana Sierra at (201) 348-4033 ext. 322. ____________________________________________________________________ (Finally, here are some comments from the Registration Card.) NeXTSTEP Programming STEP ONE: Object-Oriented Applications Initial buyer reactions to this important publication: Wonderful! Can't put it down! ..I only wish I had gotten this book six months ago, as it would have saved me weeks, if not months, of ramp-up time. ..EXACTLY what I NEED for my research! Outstanding! Finally, an attempt to encapsulate NeXTSTEP programming. Excellent book-well written, good examples, very thorough. Also a nice touch to include the source code examples on disk. Long overdue... ..an excellent resource that I wish I'd had a year ago!! When are "Step Two" and "Step Three" being released? This book is so helpful, I look forward to the next ones. Seriously, I would order them today! Thanks! Well done! Excellent! Best book on the market that deals with NeXTSTEP programming. NeXTSTEP needs good resources like this. Excellent reference, very lucid.
From: josh@MITL.COM (Joshua A. Tauber) Newsgroups: comp.sys.next.programmer,comp.lang.postscript Subject: Installing a type 3 font Summary: Unable to install type 3 font under NextStep 2.1 Keywords: NextStep, font, type 3 Message-ID: <1993Jan11.190510.3516@MITL.COM> Date: 11 Jan 93 19:05:10 GMT Sender: news@MITL.COM Organization: Matsushita Information Technology Laboratory, Princeton, NJ Originator: josh@awabi I am trying to create/install a type 3 font on a NeXT (NextStep 2.1). The PostScript for defining the font works. By that I mean that I can include it in the prolog of a PostScript page description and use it to show text on a page (findfont, scalefont, selectfont, show, etc.) I have also created a .afm file (by modifying one from another type 3 font) which at least allows me to have the font appear in the NextStep font panel. (I have placed both the PS font description and the .afm file in a directory under ~/Library and run buildafmdir on them.) I believe the .afm file is correct. I can select the font in the font panel and type. (I am using edit.) Never the less, text in my font does not appear on the page. Error messages appear on the console complaining that: Jan 11 12:51:20 amber Edit[6618]: DPS client library error: PostScript program error, DPSContext 48160 Jan 11 12:51:20 amber Edit[6618]: %%[ Error: undefined; OffendingCommand: workdict ]%% workdict is a dictionary defined in the PostScript file defining the font. Any help would be appreciated. -jat42 -- Joshua A. Tauber Matsushita Information Technology Laboratory | Email: josh@mitl.com 182 Nassau Street, Third Floor | Phone: +1 609 497-4600 Princeton, NJ 08542-7072 USA | Fax: +1 609 497-4013
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: The Darker Side of C++ (forwarded) Message-ID: <63320@mimsy.umd.edu> Date: 11 Jan 93 19:46:31 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 I thought some Obj-C users would find it interesting. There are some references sited if you cant make the lecture in Finland next Wednesday. ---------------------- begin forwarded posting -------------- Swiss Federal Institute of Technology in Lausanne Department of Computer Science Software Engineering Laboratory ANNOUNCEMENT OF A LECTURE -- "THE DARKER SIDE OF C++" -- Wednesday, January 27, 1993 15.15 o'clock (end at 17.00 at the latest) Ecole Polytechnique Federale de Lausanne - Site Ecublens Batiments du Departement d'informatique - room INR 219 by MARKKU SAKKINEN, University of Jyvaskyla, Finland About the lecturer: ------------------ Markku Sakkinen is a member of the Department of Computer Science and Information Systems, University of Jyvaskyla, Finland. He has been an active researcher in object-oriented programming since 1988, with several published papers in international journals and conference proceedings. He has been on the programme committees of ECOOP'91, EastEurOOPe'91, ECOOP'92 and ECOOP'93, and reviewed papers for other conferences and journals. Content: ------- The talk is mostly based on paper [1] augmented by ideas from [2]. Because of its C heritage, C++ is both weakly typed and weakly structured. Because of the basic design decisions that were made in its object-oriented extensions, I claim that C++ is also weakly object-oriented. I will discuss several aspects and consequences of what I call the Fundamental Defect: that objects do not carry inambiguous type information at run time, in contrast to almost all other OO languages. The undisciplined handling of pointers (as in C) makes the problems worse. I will also mention some interesting problems of multiple inheritance, mostly pertaining to the distinction between "virtual" and "non-virtual" base classes (superclasses). Several other features and their problems will be mentioned, such as: reference types and argument passing, nested classes, storage classes and garbage collection, overloading, assignment and copying, templates (genericity) and exceptions. The worst disadvantage of C++ at the moment is political: accepting C++ as the standard OO language de facto tends to kill other existing languages, and stifle the development of a new generation of essentially better OO languages. Ample time will be left for questions and discussion after the lecture. That allows us to look at some details that really interest the audience. Also, many of my opinions are controversial, and I do not expect all listeners to accept them quietly. References: ---------- [1] Markku Sakkinen, "The Darker Side of C++ Revisited", which appeared in Structured Programming, Vol. 13 No. 4 (1992). [2] Markku Sakkinen, "A Critique of the Inheritance Principles of C++", in Computing Systems, Vol. 5 No. 1 (1992). For further information: ----------------------- Catherine Jean -- catherine.jean@di.epfl.ch ----------------- end forwarded posting ---------------- -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: jalegre@tsp.med.umn.edu (John Alegre) Subject: Video on a NeXT? Message-ID: <C0pInn.CpJ@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Mon, 11 Jan 1993 20:38:11 GMT I am looking for genersl opionion on the best way to display Video Frames in a NeXT Window. At this stage of the game we have the options of receiving the frames via DMA from the SCSI port as either: 1. 16 bit/pixel frames. That would be 5 bits Red, 5 Blue, and 5 Green with a garbage bit, set to 0 2. 32 bit/pixel frame. That would be 8 bits Red, 8 Green, 8 Blue, with 8 garbage bits set to 0. The frame would be just an array of pixel data in one of the above formats, starting at the upper left corner of a quarter or half CIF image and continuing till the last pixel of that frame. The next DMA would bee next frame, etc. What is the general opinion of the best way to get such frames on the screen in the context of NeXT objects. We are looking at both NXImage and NXLiveVideoView objects as well as the possibility of writing directly to screen buffer. The scheme that has worked well on the Macintosh is using copyBits on off screen bit maps. All comments welcome. Thank you --- John N. Alegre Andante Systems VideoLabs Inc. ############################################################# # NeXTMail preferred. | # jdev@andante.mn.org | # alegrej@andante.mn.org | If you plant ice, # jalegre@lenti.med.umn.edu | you're gonna harvest wind! # alegrej@libros.andante.mn.org | Hunter/Garcia #############################################################
From: szatrows@gandalf.rutgers.edu (John Kheit) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: NUCA Message-ID: <Jan.11.15.39.17.1993.22821@gandalf.rutgers.edu> Date: 11 Jan 93 20:39:18 GMT References: <1992Dec27.063724.15059@u.washington.edu> Followup-To: comp.sys.next.programmer Organization: Rutgers Univ., New Brunswick, N.J. N U C A NeXT Users' Choice Awards---Thanks to Conrad Geiger for the name! I will take submissions from the net until Jan 23, 1993. All you need to do is send back the form attached below with your favorite software or hardware products for 1992. The subject of the post should be Re: NUCA (or just replying to this post). Send votes to szatrows@gandalf.rutgers.edu I will post the results and maybe see about getting little trophies or ribbons made up for the winners. This is your chance to reward the great NeXT Developer community by shining some well deserved praise their way. The rules are: - You can only vote once (i.e. one vote per e-mail address). - You can vote for any product you wish; be it from NeXT, a 3rd party developer, shareware/freeware (or those tasty frosted donuts from Hostess under the 'other' category ;-) Finally I made up a logo for the winners to use (if they want to) to let everyone know that they won the NUCA. I'll put it up on both orst and nova. People can let me know if they think it stinks and if so please feel free to make your own (after all it is the U S E R S ' choice award so the users should get involved!). BTW you will need Helvetica-Black and Avant Garde (Book Oblique & Demi Oblique) to see the logo in all of its glory :-) NUCA Form below: ----------------------------------------------------------------------- 1.) Software a.) Audio : b.) Communications : c.) DataBase : d.) Developer : e.) DTP : f.) Game : g.) MultiMedia : h.) Spreadsheet : i.) Wordprocessing : j.) Utility : k.) Video : l.) Other : 2.) Overall Software Product of the Year : 3.) Hardware a.) Audio : b.) Communications : c.) Display : d.) Graphic Input : e.) Mass Storage : f.) Printing/Output : g.) Video : h.) Other : 4.) Overall Hardware Product of the Year : 5.) Overall Product of the Year : -- NeXT Campus Consultant---Rutgers, the State University of New Jersey |my %^) John Kheit/monoChrome | Opinions expressed represent me only! |fried %-) 173 Westgate Drive | Audix Voice Mail# (415) 366-0900 X5512 |brain %>) Edison, NJ 08820-1163 | kheit@hangout.rutgers.edu,szatrows@gandalf.rutgers.edu
From: rwb@borg.VI.RI.CMU.EDU (Robert Berger) Newsgroups: comp.sys.next.programmer Subject: mapping a device into usr space Message-ID: <C0pMIE.Jop.2@cs.cmu.edu> Date: 11 Jan 93 22:01:24 GMT Article-I.D.: cs.C0pMIE.Jop.2 Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon I have a device driver that uses map_addr to map a device into kernel space. Is there any way my device driver can map the memory into user space, as the vid0 driver does?
From: campb001@casey.mc.duke.edu (Jim Campbell) Newsgroups: comp.sys.next.programmer Subject: is mixing libg in with appkit/dbkit worth the effort Keywords: libg appkit Message-ID: <8502@news.duke.edu> Date: 11 Jan 93 22:04:18 GMT Sender: news@news.duke.edu I'd like (I think) to use some of the libg classes in NeXT apps. However, while I can build C++ (with libg) or Objective C programms seperately, I'm not having much luck mixing them together. I'm using libg++-1.39.0 and looking at the sample Calculator program. I'm getting complaints when the appkit headers include things like math.h which end up coming out of the g++includes. Having screwed around with this for a while, I'm wondering if it's worth the effort. All I REALLY want is a String object :). I'd hoped that libg would be a nice source of reliable software components, but I'm wondering if adding it in to the mix will really end up making my life harder. Has anybody else mixed libg stuff in with the appkit or dbkit in production code? Is it worth the effort? -- Jim Campbell Duke Univ. Med. Center Info. Systems campb001@mc.duke.edu (NeXT Mail ok)
Newsgroups: comp.sys.next.programmer From: paul@phoenix.Princeton.EDU (Paul Lansky) Subject: Micropolis 2gig drive problems Message-ID: <1993Jan11.221619.25623@Princeton.EDU> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University Date: Mon, 11 Jan 1993 22:16:19 GMT We just took delivery of a Micropolis ASI-500L 2 Gig (formats to 1.7 gig) drive. It is plug and play and comes up with no problems. What is wrong is that it is quite slow on non sequential transfers. That is cating a big file to /dev/null (using dd) yields only about a 400kbyte per second transfer rate. This is very slow. Our wrenVII gives us almost a meg a second under these conditions. The NeXT disk utility program, on the other hand shows a 1.5 meg per second transfer on sequential transfers, but this is not how life works. The disk is formatted at 512k. Anyone have any experiences or recommendations on this? Thanks Paul Lansky paul@princeton.edu
Newsgroups: comp.sys.next.programmer From: matt@drefla.mese.com (Matt Brandt) Subject: Arcs and circles from curveto Message-ID: <1993Jan11.014246.4735@drefla.mese.com> Sender: matt@drefla.mese.com Organization: Applied Engineering Date: Mon, 11 Jan 1993 01:42:46 GMT I've been able to come up with a pretty good approximation of a circle using curveto that works like this: x y rad 0 180 arc is approximately equivalent to: x-rad y x-rad y+2*rad/3 x+rad y+2*rad/3 x+rad y curveto of course, you can repeat for the bottom of the circle. Like I said though, this is only an approximation. Does anybody out there have a better approximation of circle drawing using curveto? I need to do it this way for bizarre reasons and I would like to improve the accuracy a little bit. matt
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Arcs and circles from curveto Message-ID: <1993Jan12.022536.18622@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jan11.014246.4735@drefla.mese.com> Date: Tue, 12 Jan 1993 02:25:36 GMT PostScript approximates each quadrant of a circle with a curveto. e.g. If you do a pathforall against 0 0 125 0 360 arc, you should find something like: 125 0 moveto 125 69 69 125 0 125 curveto -69 125 -125 69 -125 0 curveto -125 -69 -69 -125 0 -125 curveto 69 -125 125 -69 125 0 curveto BTW, This question properly belongs in comp.lang.postscript; it's not the least bit NeXT-specific. -=EPS=-
Newsgroups: comp.sys.next.programmer From: pyramid@shell.portal.com (Fouad Habboub) Subject: Re: dbkit and sybase server connections Message-ID: <C0q3w5.2Lq@unix.portal.com> Sender: news@unix.portal.com Organization: Portal Communications Company References: <1992Dec28.201019.4259@rdr.com> Date: Tue, 12 Jan 1993 04:16:52 GMT estrin!kswanson (Kevin Swanson) writes: >I'm working on an application that uses dbkit along with sybase. >I've come across the problem that my application makes two and sometimes >three connections to the sybase server, when it really should only need >a single connection. >Has anyone who has worked with dbkit experienced any problems like this? >thanks, >kevin >kswanson@rdr.com I've experienced similar problems. At one point it seemed that every instance of RecordList make a separate connections to sybase. fouad
Organisation: Westfaelische Wilhelms-Universitaet, Muenster, Germany Date: Monday, 11 Jan 1993 16:25:00 MEZ From: christoph heising <HEISINC@DMSWWU1A.UNI-MUENSTER.DE> Message-ID: <93011.162500HEISINC@DMSWWU1A.UNI-MUENSTER.DE> Newsgroups: comp.sys.next.programmer Subject: SYBASE IAC Hello! Does anybody know if it–s possible to initiate inter process communication from within SYBASE. We intend to post object ids to remote applications... Thanks Chris EMail: heisinc@obelix.uni-muenster.de (preferred) heisinc@dmswwu1a.uni-muenster.de
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: ConnectionInspector in IB Message-ID: <1993Jan12.123752.11318@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Tue, 12 Jan 1993 12:37:52 GMT I am writing a connection inspector for InterfaceBuilder which should first behave like the normal connection inspector and further support more than one connection attached to an outlet (like e.g. DBModule). The DBModule's Editor allows the user to control-drag a connection line from an icon in the editor's window to the target. If somebody knows how to do this, please tell me, but I am satisfied in making connections between my object in the object's window and the target by double clicking in the connection inspector window. My problem is where to get outlet names and action methods from. I couldn't find any hints in the documentation. (I would not have this problem if I were able to subclass IBConnectInspector. It is really a pitty that one has to totally rewrite an existing class). The outlet information could be stored in the inpected objects (e.g. -getOutlets: like -getInspectorClassName). For I have to provide additional information (like this is an outlet allowing multiple connections or this is a "target-action" outlet) I have to write such methods nevertheless. This solution doesn't work for action methods (the target could be of any class). The only workaround I see is to have a TextField where the user can enter the action method. Waiting for help, -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: wave@waits.media.mit.edu (Michael B. Johnson) Subject: Re: Custom IB Palette object mushed together from boxed control objects Message-ID: <1993Jan12.123617.2738@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1993Jan11.194430.6405@lilliput.fdn.org> Date: Tue, 12 Jan 1993 12:36:17 GMT Joseph Goldstone writes > Probably the error here is in my conception of how IB works, but... > > I want to agglutinate several standard UI objects (four TextFields and a > one-element Matrix of SliderCells) into a new UI object, and have that object > on a palette. The Textfields serve to label the slider, indicate the slider's > min and max values, and display the slider's current numeric value as text. > > Because I plan on using an awful lot of these (for a 3DKit camera settings > interpolation program) I wanted to > 1) for N labelled sliders have N outlets in my App's distributor object, not > 5*N > 2) have each labelled slider accept messages to set and get current values > and to set and get the labelled slider's min and max values > 3) put these thangs on a palette so that I could re-use them in other > programs (I've wanted this functionality before) > > Straightforward enough to create a Palette project, and in the new Palette > window align things as I liked and Group them into a Box object. But IB only > lets you drag things into windows that happen to be subclasses of View (even > though they can have extra baggage on their shoulders, witness the ProgressView > in the Palettes tutorial being grouped within a box - the box gets dragged into > any new App's window along with the ProgressView itself). > > But how to indicate that the group of objects comprising this box are part of > the new class I'm defining? I can whip up a class definition pretty readily in > Edit that contains id pointers to the five enclosed objects, and parse it; but > only a dragged-in custom view will let you replace its type (or rather, specify > with which type it will later be replaced) in IB's attributes inspector, so > this newly-parsed class definition does me no good. > > I suppose I'd be happy if I could figure out how to reparent the controls that > I'd grouped into the Box as subviews of my custom View, and to set the id > pointers in the custom View's object to those controls. > > Sure, I could assemble the controls inside the object programmatically, but if > this is the only way, then I'm appalled at IB. I can't believe that the > distance from simple object to compound is as great as the distance between > interactive construction of user interfaces from UI object palettes, and using > Edit to create C code that manually instantiates UI objects. > > Can someone point out my more obvious conceptual problems here, so I can move > on from thinking about sliders to thinking about shaders? :) > > -- joseph I just whipped up a little example that does this. I've sent it off to Joseph, but if anyone else wants it, let me know and I'll NeXTMail it to you. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu --> NeXT Mail accepted at wave@nordine.media.mit.edu
Newsgroups: comp.sys.next.programmer From: joseph@lilliput.fdn.org (Joseph Goldstone) Subject: Custom IB Palette object mushed together from boxed control objects Message-ID: <1993Jan11.194430.6405@lilliput.fdn.org> Keywords: IB Palette control Sender: joseph@lilliput.fdn.org Organization: Lilliputian Pictures - Paris, France. Date: Mon, 11 Jan 1993 19:44:30 GMT Probably the error here is in my conception of how IB works, but... I want to agglutinate several standard UI objects (four TextFields and a one-element Matrix of SliderCells) into a new UI object, and have that object on a palette. The Textfields serve to label the slider, indicate the slider's min and max values, and display the slider's current numeric value as text. Because I plan on using an awful lot of these (for a 3DKit camera settings interpolation program) I wanted to 1) for N labelled sliders have N outlets in my App's distributor object, not 5*N 2) have each labelled slider accept messages to set and get current values and to set and get the labelled slider's min and max values 3) put these thangs on a palette so that I could re-use them in other programs (I've wanted this functionality before) Straightforward enough to create a Palette project, and in the new Palette window align things as I liked and Group them into a Box object. But IB only lets you drag things into windows that happen to be subclasses of View (even though they can have extra baggage on their shoulders, witness the ProgressView in the Palettes tutorial being grouped within a box - the box gets dragged into any new App's window along with the ProgressView itself). But how to indicate that the group of objects comprising this box are part of the new class I'm defining? I can whip up a class definition pretty readily in Edit that contains id pointers to the five enclosed objects, and parse it; but only a dragged-in custom view will let you replace its type (or rather, specify with which type it will later be replaced) in IB's attributes inspector, so this newly-parsed class definition does me no good. I suppose I'd be happy if I could figure out how to reparent the controls that I'd grouped into the Box as subviews of my custom View, and to set the id pointers in the custom View's object to those controls. Sure, I could assemble the controls inside the object programmatically, but if this is the only way, then I'm appalled at IB. I can't believe that the distance from simple object to compound is as great as the distance between interactive construction of user interfaces from UI object palettes, and using Edit to create C code that manually instantiates UI objects. Can someone point out my more obvious conceptual problems here, so I can move on from thinking about sliders to thinking about shaders? :) -- joseph
Newsgroups: comp.sys.next.programmer From: fankhaus@nessie.cs.id.ethz.ch (George Fankhauser) Subject: Re: dbkit and sybase server connections Message-ID: <1993Jan12.130734.29082@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH References: <1992Dec28.201019.4259@rdr.com> <C0q3w5.2Lq@unix.portal.com> Date: Tue, 12 Jan 1993 13:07:34 GMT In article <C0q3w5.2Lq@unix.portal.com> pyramid@shell.portal.com (Fouad Habboub) writes: >estrin!kswanson (Kevin Swanson) writes: > >>I'm working on an application that uses dbkit along with sybase. >>I've come across the problem that my application makes two and sometimes >>three connections to the sybase server, when it really should only need >>a single connection. > >>Has anyone who has worked with dbkit experienced any problems like this? > >>thanks, >>kevin > > >>kswanson@rdr.com > > >I've experienced similar problems. At one point it seemed that every >instance of RecordList make a separate connections to sybase. > >fouad > no, only instances of DBDatabase create new tcp connections to the db server. George
Newsgroups: comp.sys.next.programmer From: jcorallo@ccsi.com (P. John Corallo) Subject: NeXT Programming jobs in Boston Message-ID: <1993Jan12.160302.781@ccsi.com> Sender: jcorallo@ccsi.com Organization: Crystal Computer Systems, Inc. Date: Tue, 12 Jan 1993 16:03:02 GMT ERGO SCIENCE INCORPORATED is a medical technology company engaged in the discovery and development of novel methods of treating human disease. We will shortly be moving to our new Research and Development Center in Boston, which will house the company's Information Technology Group. ERGO SCIENCE is committed to developing the most advanced information system in the industry and is now looking for a core group of unusually skilled, motivated and creative developers to pioneer this effort. The project is to develop a World-Wide Clinic Information System. The Clinic Information System, using NeXT as the workstation of choice, will link the Research and Development Center with ERGO SCIENCE's remote clinical sites. We expect that our information technology, as well as our medical technology, will set a new standard. This is an extraordinary opportunity to participate in the genesis of an important effort. We are looking for a senior developer who has: - 2+ years NeXTSTEP application development experience - Experience using DB-Kit and/or writing database apps - 2-5 years of working experience in UNIX, C, and C++ - Strong understanding of Object-Oriented Programming - Ability to work under a restricted time line - A need to be challenged and a desire to learn ...The following qualifications would be helpful - Familiarity with the medical industry - Familiarity with accounting and/or medical billing - Familiarity with Informix (SYBASE or ORACLE acceptable) - System analysis skills We are looking for a junior developer who has: - NeXTSTEP application development experience - Experience using DB-Kit and/or writing database apps - Working experience in UNIX, C, and C++ - Understanding of Object-Oriented Programming - Database experience We are looking for a Database Specialist who has: - Strong database analysis skills - Informix On-line experience - 2-5 years designing database structure - 2-5 years experience in UNIX, C, and C++ - Understanding of Object-Oriented Programming ...The following qualifications would be helpful - Familiarity with NeXTSTEP - Familiarity with the medical industry - Familiarity with accounting and/or medical billing We are looking for an analyst who has: - Strong business application analysis skills - Fast prototyping in the NeXT environment - Project/Technical lead experience - Strong communication skills (Oral and Written) - Working knowledge of TCP/IP and communications - 2-5 years designing business applications - 2-5 years experience in UNIX, C, and C++ - Understanding of Object-Oriented Programming ...The following qualifications would be helpful - Familiarity with NeXTSTEP - Familiarity with the medical industry - Familiarity with accounting and/or medical billing Ergo offers competitive salaries, benefits, the opportunity for professional growth, and the chance to make a difference. Please send your resume, project experiences, and salary requirements to: Ergo Science Incorporated Attn: Recruiting 79 Thames Street Newport, RI 02840 Send Email to: recruiting@ccsi.com
Newsgroups: comp.sys.next.programmer From: jja@fnbc.com (Joseph Alotta) Subject: help compiling gnuplot under 3.0 Message-ID: <1993Jan12.170922.18684@fnbc.com> Keywords: gnuplot,3.0 Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA Date: Tue, 12 Jan 93 17:09:22 GMT greetings, gnuplot 3.2 compiled easily under 2.2, but now i get the following errors. can one of you next gurus please lend a hand. joe. amy{jja}4: make next make CC="cc " COPTS="-O " DEST="/usr/local/bin" MANDEST="/usr/local/man/manl" HELPDEST="/usr/local/lib/gnuplot.gih" EMAIL="bug-gnuplot@ames.arc.nasa.gov" LASERGNU="lasergnu_install" CFLAGS="-O -DGAMMA=lgamma -DNEXT" LIBS="-lNeXT_s -lsys_s -lm" X11FLAGS="" X11INCLUDES=" " X11LIBS=" " PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall TERMFLAGS="-Iterm" OBJS=" bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o internal.o misc.o parse.o plot.o readline.o scanner.o setshow.o standard.o term.o util.o EPSView.o EpsViewer.o" All cc -O -DGAMMA=lgamma -DNEXT -c bitmap.c cc -O -DGAMMA=lgamma -DNEXT -c command.c -DHELPFILE=\"/usr/local/lib/gnuplot.gih\" cc -O -DGAMMA=lgamma -DNEXT -c contour.c cc -O -DGAMMA=lgamma -DNEXT -c eval.c cc -O -DGAMMA=lgamma -DNEXT -c graphics.c cc -O -DGAMMA=lgamma -DNEXT -c graph3d.c cc -O -DGAMMA=lgamma -DNEXT -c help.c cc -O -DGAMMA=lgamma -DNEXT -c internal.c cc -O -DGAMMA=lgamma -DNEXT -c misc.c cc -O -DGAMMA=lgamma -DNEXT -c parse.c cc -O -DGAMMA=lgamma -DNEXT -c plot.c cc -O -DGAMMA=lgamma -DNEXT -c readline.c cc -O -DGAMMA=lgamma -DNEXT -c scanner.c cc -O -DGAMMA=lgamma -DNEXT -c setshow.c cc -O -DGAMMA=lgamma -DNEXT -c standard.c cc -O -DGAMMA=lgamma -DNEXT -Iterm -c term.c /NextDeveloper/Headers/remote/transport.h:54: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/remote/transport.h:56: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/machkit/NXInvalidationNotifier.h:30: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/machkit/NXInvalidationNotifier.h:33: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/appkit/Application.h:132: syntax error, found `<' /NextDeveloper/Headers/appkit/Application.h:132: illegal method selector, found `)' /NextDeveloper/Headers/appkit/drag.h:47: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/appkit/drag.h:48: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/appkit/drag.h:49: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/appkit/drag.h:50: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/appkit/drag.h:51: illegal keyword selector, missing `)' after `id' /NextDeveloper/Headers/appkit/drag.h:52: illegal keyword selector, missing `)' after `id' *** Exit 1 Stop. *** Exit 1 Stop. -- ============================================================== ! joe alotta jja@fnbc.com ! ! (312) 732-3439 ! ! ! ! "The main thing is to keep the main thing the main thing." ! ! Dr. George Sweeney ! ==============================================================
Newsgroups: comp.sys.next.programmer From: gpal@fnma.com (Greg Pal) Subject: NXBrowsers Message-ID: <1993Jan12.182500.17400@almserv.uucp> Keywords: browser Sender: usenet@almserv.uucp Organization: Fannie Mae Date: Tue, 12 Jan 1993 18:25:00 GMT Is there a method like textWillChange for browser? Bascially, I trying to set up a button which will only be enabled when a leaf of a browser is selected. Any help will be much appreciated. Thanks. -- Gregory Pal (gpal@fnma.com) Fannie Mae Corporation, Advanced Technology
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan12.165154.26915@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <63320@mimsy.umd.edu> Distribution: usa Date: Tue, 12 Jan 93 16:51:54 GMT In article <63320@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: >>I thought some Obj-C users would find it interesting. [munch munch] >> >> ANNOUNCEMENT OF A LECTURE >> >> >> -- "THE DARKER SIDE OF C++" -- >> >> Wednesday, January 27, 1993 >> 15.15 o'clock (end at 17.00 at the latest) >> >> >> Ecole Polytechnique Federale de Lausanne - Site Ecublens >> Batiments du Departement d'informatique - room INR 219 >> >> >> by MARKKU SAKKINEN, University of Jyvaskyla, Finland >> >> [munch munch] >>The worst disadvantage of C++ at the moment is political: accepting >>C++ as the standard OO language de facto tends to kill other existing >>languages, and stifle the development of a new generation of >>essentially better OO languages. Aaaaaaaaaamen!! -- Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; Advanced Micro Devices [self dream-on]; CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1iv5ijINN8ba@pith.uoregon.edu> Date: 12 Jan 93 19:18:43 GMT Article-I.D.: pith.1iv5ijINN8ba References: <1993Jan12.165154.26915@dvorak.amd.com> Distribution: usa Organization: University of Oregon Network Services In article <1993Jan12.165154.26915@dvorak.amd.com> rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) writes: > In article <63320@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: > >>I thought some Obj-C users would find it interesting. > [munch munch] > >> > >> ANNOUNCEMENT OF A LECTURE > >> > >> > >> -- "THE DARKER SIDE OF C++" -- > >> > >> Wednesday, January 27, 1993 > >> 15.15 o'clock (end at 17.00 at the latest) > >> > >> > >> Ecole Polytechnique Federale de Lausanne - Site Ecublens > >> Batiments du Departement d'informatique - room INR 219 > >> > >> > >> by MARKKU SAKKINEN, University of Jyvaskyla, Finland > >> > >> > [munch munch] > > >>The worst disadvantage of C++ at the moment is political: accepting > >>C++ as the standard OO language de facto tends to kill other existing > >>languages, and stifle the development of a new generation of > >>essentially better OO languages. > > Aaaaaaaaaamen!! > > -- > Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; When I can do this in Obj-C I would be happy (tm): String a = "hello", b = " ", c = "world"; cout << a + b + c + '\n'; Until then things (tm) look soooo much prettier in C++. (BTW, where is that multiple inheritance in Obj-C???) --bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.lang.postscript From: henry@trilithon.mpk.ca.us (Henry McGilton) Subject: Re: Arcs and circles from curveto Message-ID: <1993Jan12.175132.27149@trilithon.mpk.ca.us> Sender: henry@trilithon.mpk.ca.us Organization: Trilithon Software References: <1993Jan11.014246.4735@drefla.mese.com> Date: Tue, 12 Jan 1993 17:51:32 GMT In article <1993Jan11.014246.4735@drefla.mese.com> matt@drefla.mese.com (Matt Brandt) writes: * I've been able to come up with a pretty good approximation * of a circle using curveto . . . <<<<< stuff deteleted >>>>>> * of course, you can repeat for the bottom of the circle. * Like I said though, this is only an approximation. Does * anybody out there have a better approximation of circle * drawing using curveto? I need to do it this way for bizarre * reasons and I would like to improve the accuracy a little bit. You can't get an accurate enough circle with only two curves. You need one curve per quadrant, and you draw four of them. The ``magic number'' for the circle is 0.555. Here's an example which you can hack to your needs. %!PS /R 288 def /M R 0.555 mul def 306 396 translate R 0 moveto R M dup R dup 0 exch curveto M neg R dup neg M R neg 0 curveto R neg M neg dup R neg dup 0 exch curveto M R neg R M neg R 0 curveto closepath stroke I cross posted this to comp.lang.postscript, because, as Eric Scott pointed out, this topic is pure PostScript and only tangentially NeXT related. ........ Henry
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc From: obrooks@dale.ksc.nasa.gov(Oscar Brooks) Subject: GNU g++ compiler help??? Message-ID: <1993Jan12.210538.2264@dale.ksc.nasa.gov> Sender: news@dale.ksc.nasa.gov Organization: NASA Date: Tue, 12 Jan 1993 21:05:38 GMT Can someone tell where and which version of g++ to get that works on NeXTStep 3.0 ? I would also like libg++ as well. I have also heard there are some tricks to compiling under 3.0? Oscar -- ------------------------------------------------ Oscar Brooks NASA, Real Time Systems Branch Kennedy Space Center, Fla. 32899 Mail Code: DL-DSD-24
Newsgroups: comp.sys.next.programmer From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <m#=3fhn@rpi.edu> References: <1iv5ijINN8ba@pith.uoregon.edu> Date: Tue, 12 Jan 1993 22:47:26 GMT bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: > rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) writes: > > [quoting from a paper:] > > >>The worst disadvantage of C++ at the moment is political: accepting > > >>C++ as the standard OO language de facto tends to kill other existing > > >>languages, and stifle the development of a new generation of > > >>essentially better OO languages. > > > > Aaaaaaaaaamen!! > > > > -- > > Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; > > When I can do this in Obj-C I would be happy (tm): > > String a = "hello", b = " ", c = "world"; > cout << a + b + c + '\n'; I do wish Objective C (and every other language) did handle character strings in a much more reasonable manner (such as the above). I really really hate the C idea that a string is an array of characters, and that the compiler doesn't have any concept of what to do with it. > Until then things (tm) look soooo much prettier in C++. Well, the above looks prettier, that doesn't mean that all C++ code looks prettier. > (BTW, where is that multiple inheritance in Obj-C???) Seems to me that more people have hung themselves trying to use multiple inheritance in C++ than have really missed multiple inheritance in Objective C. In any case, that ignores the issue mentioned in the paper. With everyone jumping to have C++ as "the OOP language", *all* other OOP languages will be stifled. I'll grant that Objective C isn't the ultimate OOP language, but that doesn't mean that C++ *is*. (from what I know of things, which is unquestionably limited, I think I'd favor something more like Modula-3 myself. But then, I don't know things like Smalltalk at all) I really REALLY don't mean to encourage a religious war over languages, but I hate *anyone* quoting a 3-line program and saying "See, this program proves that everything in language X is better than everything in language Y". You can't intelligently compare computer languages based on a tiny snippet of code. -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: Re: TEXT.H TextFunc how does it work??? Message-ID: <q#=32sn@rpi.edu> References: <1993Jan8.000700.16819@prim> Date: Tue, 12 Jan 1993 22:50:13 GMT dave@prim.demon.co.uk (Dave Griffiths) writes: > mzeller@namu01.gwdg.de (Meinrad Zeller) writes: > >Hi there, > > > >I've worked quite a bit with the text object and also had problems > >with those scanning and drawing functions. [skipping over additional comments on text object] > > It seems to be agreed that the Text object is the worst part of the app > kit. Most WordProcessors for the NeXT don't use it, which is wasteful > because you've got all these developers reinventing the wheel. NeXT > don't seem to be putting much effort into supporting it. > > Solution? I think NeXT should release the source for the Text object. > What do they have to lose? It's hardly a jewel in their crown. I guess the question is, why doesn't everyone else (all the people who are reinventing the text object) get together and release *their* work? -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: eboltz@jhunix.hcf.jhu.edu (Eric Scott Boltz) Newsgroups: comp.sys.next.programmer Subject: Complex variables in NeXT's C Date: 12 Jan 1993 18:16:32 -0500 Organization: Homewood Academic Computing, Johns Hopkins University, Baltimore, Md, USA Distribution: world Message-ID: <1ivjggINNspp@jhunix.hcf.jhu.edu> Hi, I've just started trying to program on a NeXT, and I'm interested in learning more about implementing complex variables. Many of the DOS compilers have this stuff built in. Any help appreciated, Eric
From: ricardo@pencom.com (Ricardo Parada) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan12.234017.14834@pencom.com> Date: 12 Jan 93 23:40:17 GMT References: <1iv5ijINN8ba@pith.uoregon.edu> Sender: usenet@pencom.com (Usenet Pseudo User) Distribution: usa Organization: Pencom Software In article <1iv5ijINN8ba@pith.uoregon.edu> bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: > In article <1993Jan12.165154.26915@dvorak.amd.com> rpomeroy@aunext1.amd.com > (Ron Pomeroy x(Coop)) writes: > > In article <63320@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: > > >>I thought some Obj-C users would find it interesting. > > [munch munch] > > >> > > >> ANNOUNCEMENT OF A LECTURE > > >> > > >> > > >> -- "THE DARKER SIDE OF C++" -- > > >> > > >> Wednesday, January 27, 1993 > > >> 15.15 o'clock (end at 17.00 at the latest) > > >> > > >> > > >> Ecole Polytechnique Federale de Lausanne - Site Ecublens > > >> Batiments du Departement d'informatique - room INR 219 > > >> > > >> > > >> by MARKKU SAKKINEN, University of Jyvaskyla, Finland > > >> > > >> > > [munch munch] > > > > >>The worst disadvantage of C++ at the moment is political: accepting > > >>C++ as the standard OO language de facto tends to kill other existing > > >>languages, and stifle the development of a new generation of > > >>essentially better OO languages. > > > > Aaaaaaaaaamen!! > > > > -- > > Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; > > When I can do this in Obj-C I would be happy (tm): > > String a = "hello", b = " ", c = "world"; > cout << a + b + c + '\n'; > > Until then things (tm) look soooo much prettier in C++. > (BTW, where is that multiple inheritance in Obj-C???) > Where are those productivity gains in C++? Where is that real run-time binding in C++? Where are those Distributed Objects seamlessly integrated into the language? Sorry, but you won't see that on C++? Operator overloading **is cool and simplifies notation**. It's pretty handy for complex numbers and strings. But it does NOT have as much impact on code maintenance and programmer productivity as ObjC's features. As of multiple inheritance, I usually use composite objects in ObjC. To build a SavePanel you don't inherit from a button and from a window you use a button (i.e. a button that says Save and another for Cancel) object and a window (or panel) object. The window will contain a button object, making it a composite object. It's cleaner. If you find a case where composite objects do not solve your problem and you have to use multiple inheritance let me know 'cause I'm still looking for a practical example. That's why I like ObjC++. But to me: ObjC >> C++ where >> means "much greater than." I'm not being religious, just "Objective." Keep the one you like better! -- Ricardo J. Parada Pencom Software
From: burkhold@next.com (Thomas Burkholder) Newsgroups: comp.sys.next.programmer Subject: Re: Archiving memory streams Keywords: memory, NXStream, archiving Message-ID: <6241@rosie.NeXT.COM> Date: 13 Jan 93 02:21:37 GMT References: <1993Jan8.150148.6961@ornl.gov> Sender: news@NeXT.COM In article <1993Jan8.150148.6961@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > I have a NXStream that contains information I wish to archive. > > I have demonstrated that the Object I am archiving which as > the stream pointer as an instance variable works properly as far as > being able to set and retreive the contents of the stream pointer. > > When archiving the Object, I wish to archive the contents of the stream > pointer. How do I do this? I've tried * as type, and several other > options, but the stream is a structure, should I have to describe the > structure? > > - - - - - - - - - > J. W. Wooten Just hacked this up on the fly, so it probably isn't error-free; but you get the idea. A production version should probably be more careful about how memory is allocated, not to mention error checking. Hope it helps. -thomas Thomas Burkholder (burkhold@next.com) NeXT Developer Support Team * And, no, I don't speak for NeXT, at least, not when I post on the net.* -----cut here----- -writeStreamToTypedStream(NXTypedStream *cooked, NXStream *raw) { char formatStr[10], *buf; int len, maxLen; NXGetMemoryBuffer(raw,&buf,&len,&maxLen); sprintf(formatStr,"%c%dc%c",len,'[',']'); NXWriteTypes(cooked,"i",len); NXWriteTypes(cooked,formatStr,buf); return self; } -NXStream *readStreamFromTypedStream(NXTypedStream *cooked) { int len; char *formatStr; NXReadTypes(cooked,"i",&len); buf = (char *)malloc(len * sizeof(char)); sprintf(formatStr,"%c%dc%c",len,'[',']'); NXReadTypes(cooked,formatStr,&buf); return NXOpenMemory(buf,len,NX_READONLY); }
From: bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn) Newsgroups: comp.sys.next.programmer,comp.lang.postscript Subject: Re: Arcs and circles from curveto Message-ID: <1ivuifINNsji@life.ai.mit.edu> Date: 13 Jan 93 02:25:19 GMT References: <1993Jan11.014246.4735@drefla.mese.com> <1993Jan12.175132.27149@trilithon.mpk.ca.us> Organization: MIT Artificial Intelligence Lab In-reply-to: henry@trilithon.mpk.ca.us's message of 12 Jan 93 17:51:32 GMT In article <1993Jan12.175132.27149@trilithon.mpk.ca.us> henry@trilithon.mpk.ca.us (Henry McGilton) writes: In article <1993Jan11.014246.4735@drefla.mese.com> matt@drefla.mese.com (Matt Brandt) writes: * I've been able to come up with a pretty good approximation * of a circle using curveto . . . <<<<< stuff deteleted >>>>>> * of course, you can repeat for the bottom of the circle. * Like I said though, this is only an approximation. Does * anybody out there have a better approximation of circle * drawing using curveto? I need to do it this way for bizarre * reasons and I would like to improve the accuracy a little bit. You can't get an accurate enough circle with only two curves. You need one curve per quadrant, and you draw four of them. The ``magic number'' for the circle is 0.555. Here's an example which you can hack to your needs. %!PS /R 288 def /M R 0.555 mul def 306 396 translate R 0 moveto R M dup R dup 0 exch curveto M neg R dup neg M R neg 0 curveto R neg M neg dup R neg dup 0 exch curveto M R neg R M neg R 0 curveto closepath stroke I cross posted this to comp.lang.postscript, because, as Eric Scott pointed out, this topic is pure PostScript and only tangentially NeXT related. ........ Henry Addendum: Approximating circular arcs with Bezier curves: The smaller the angle of the circular arc the better an approximation you can get out of a Bezier curve, obviously. For a unit radius circle, a good approximation of an arc turning through angle theta uses eta = (4/3) (1 - cos(theta/2)) / sin(theta/2) where eta is the distance of the control points from the knots, measured along a line tangent at the knots (sorry you'll have to draw the figure yourself, my ASCII curve drawing skills are unequal to the task). For theta=pi/2 you get eta = (4/3)(sqrt(2) - 1) = .55228... which yields a very good approximation to a quadrant of a circle For theta=pi you get eta = (4/3) = 1.33333.... which is a not so good approximation of a semicircle. In the limit as theta tends to zero, by the way, the control points end up 2/3 of the way from the knots to the intersection of the tangents. This is a quick and dirty way to generate a good approximation, if breaking up an arc into many pieces is not a concern. By the way, the above approximations all have the Bezier curve departing from the true arc in one direction (error always has the same sign). One can do twice as well by balancing the positive and the negative errors, but then no closed form solution to the problem appears to be at hand. For theta=pi/2 the optimum is eta = .5541... The same technique can obviously be used for ellipses, since ellipses are circles on an anisotropically scaled coordinate system. Super-ellipses can also be very well aproximated by Bezier curves (super-ellipses have equations of the form (x/a)^beta + (y/b)^beta = 1). Cubic `splines' are quite `flexible' since they have 8 parameters (2 knots and 2 control points). On average, it takes twice as many quadratic splines to describe a shape adequately as it does cubic splines. Exercise for the reader: Suppose you draw a pen-stroke with a pen that has a circular nib, where the center of stroke follows a given Bezier curve. Can the `outer' and `inner' edges of the resulting shape be described exactly using a Bexier curve? If not, how do you compute an adequate approximation - one that does not require splicing together too many separate cubic splines? Berthold K.P. Horn Cambridge, Massachusetts, USA
From: goodmadi@NeXTwork.Rose-Hulman.Edu (David I Goodman) Newsgroups: comp.sys.next.programmer Subject: Determining Line hieght in a rich text object Date: 13 Jan 1993 05:48:46 GMT Organization: Computer Science Department at Rose-Hulman Message-ID: <1j0afuINNqro@master.cs.rose-hulman.edu> Keywords: text, line height, font size, clueless I am trying to determine the height of a line of text in a text object. The text object will contain rich text, which may include multiple size fonts. The text object contains an array of breaks which allows me to determine _IF_ a change took place, but I can't figure out how to tell what the change was. The sign (bit) of the line descriptor in the break array notifies me when a change occurs, does anybody know where to look from there? Any clues would be most appreciated. --Dave --------------------------------------------------------------------------- | David I Goodman -- goodmadi@nextwork.rose-hulman.edu | --------------------------------------------------------------------------- "We live in our minds, and existence is the attempt to bring that life into physical reality, to state it in gesture and form." - Howard Roark _The_Fountainhead_ by A. Rand
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <63366@mimsy.umd.edu> Date: 13 Jan 93 05:51:40 GMT References: <1993Jan12.165154.26915@dvorak.amd.com> <1iv5ijINN8ba@pith.uoregon.edu> Sender: news@mimsy.umd.edu Distribution: usa Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1iv5ijINN8ba@pith.uoregon.edu> bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: > (BTW, where is that multiple inheritance in Obj-C???) and where is dynamic binding in C++? about MI, it is a technique, _a_ solution to a class of programming problems. same with delegation using dynamic binding in Obj-C. in C++, MI is critical because inheritance is the main tool in the langugage. in other languages, MI may not be as critical because other language features can be used to solve problems (perhaps more elegantly) for which C++ requires MI. for example, MI is often used to mix in functionality - there is a true parent class in an abstract sense and several other parents that just provide some methods. Delegation can play the same role in Obj-C, other languages may have other features that can achieve the same effect. classes that are really multiple things at the same time (both an airplane and a radio) really benefit from MI, its the most natural way to express that - but many people state that use of MI is rare compared to the others - and even then there are other ways (let each airplane _contain_ a radio). Bottom Line: MI can be very useful in some situations and languages, but that doesnt mean it should be added to every OO language. there may be other langage features that obviate much of the need for MI in that case. MI does bring some complications as well. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: ed@talus.com Subject: Ray-Tracing ? 3DKit, PoV, Rayshade and the other stuff... Message-ID: <1993Jan13.052936.2483@talus.com> Sender: ed@talus.com Organization: Talus Corporation Date: Wed, 13 Jan 1993 05:29:36 GMT Hi guys, don't get me wrong, I like 3DKit (sort of...) but I have the nostalgy of my earlier DKB Render days where ray-tracing would lock up my machine for days (at that time a mono 25 MHz). Did someone succesfully compiled Rayshade or Persistance of Vision (PoV) on their NeXT ? BTW, does a rendered that is compatible with RIBs and does Ray-Tracing exist on the NeXT ? On other platforms ? Is it PD ? BTW again, how would you wrap a TIFF image around a solid in Renderman ? Ed. --- Dieu n'est pas pour les gros bataillons, mais pour ceux qui tirent le mieux. God is on the side not of the heavy batallions, but of the best shots. Erik Dasque "The French guy" V.P. R&D Talus Corporation Houston (713) 561-0700 TeXT-mail/NeXTmail:ed@talus.com -- · Dieu n'est pas pour les gros bataillons, mais pour ceux qui tirent le mieux. God is on the side not of the heavy batallions,
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: new WS inspector for object files on sonata ftp site Message-ID: <63367@mimsy.umd.edu> Date: 13 Jan 93 06:52:57 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 I have just uploaded the file ObjInspector.tar.Z to the submissions directory on sonata. Its a quick little permutation of Jim Million's LibInspector to handle .o files. Here's the cryptic README file: source for a WorkSpace contents inspector for object (.o) files. lists methods and functions defined in them. requires 3.0, based heavily on the LibInspector by Jim Million. version 1.0. This thing could be improved in several ways listed in the README.rtfd file. If anyone is looking for a simple programming exercise for learning NeXTSTEP, extending this inspector or making another one are good candidates. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: dsdecasp@iiic.ethz.ch (Daniel Stefan Decasper) Subject: Problems with DBTableView performance Message-ID: <1993Jan13.073454.26324@neptune.inf.ethz.ch> Summary: Why is inserting into table views so slow ? Sender: news@neptune.inf.ethz.ch (Mr News) Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH Date: Wed, 13 Jan 1993 07:34:54 GMT Friends, I'm was running into a serious DBKit problem concerning DBTableViews. The situation: I would like to insert several Records into a DBTableView. To do this for one record, I would write [[[[aktiveTable dataSource] fetchGroup] module] insertNewRecord:self] Let's now, for example, have the program inserting 100 records (rows) into the table View. I thought this would be no problem at all and wrote (naive as I am...): myModule = [[[[aktiveTable dataSource] fetchGroup] module]; for(x=0;x<100;x++) [myModule insertNewRecord:self]; but, it takes minutes to do that ! The question: is there a faster way to insert records (please tell me so..) ? Something like: [myModule insertMultipleRecords: (int)number.... ] ? What am I doing wrong ? Thanks, Dan ---------------------------------------------------------------------------- = Dan S. Decasper email: dan@fanatic.open.ch or dsdecasp@iiic.ethz.ch = = Uetlibergstr.16 voice: 41-1-4930361 [NeXTMail ok]; = = CH-8142 Uitikon fax: 41-1-734 27 22 09/24/69 = = Switzerland (S|N)e X [T], surf and rock'n roll = = Student in Computer Science Swiss Federal Institute of Technology (ETH) = ----------------------------------------------------------------------------
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Arcs and circles from curveto Message-ID: <1069@rtbrain.rightbrain.com> Date: 13 Jan 93 08:21:01 GMT References: <1993Jan12.175132.27149@trilithon.mpk.ca.us> Sender: glenn@rightbrain.com Henry McGilton writes > You can't get an accurate enough circle with only two curves. ... > I cross posted this to comp.lang.postscript, because, as Eric Scott > pointed out, this topic is pure PostScript and only tangentially > NeXT related. Pun intended? :-) -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.programmer From: wolpert@mars (Florian Wolpert) Subject: drag & drop with custom-palette-objects Message-ID: <1993Jan13.095731.8982@ppgfr.uucp> Sender: news@ppgfr.uucp Organization: PPG Hellige, Freiburg, GERMANY Date: Wed, 13 Jan 1993 09:57:31 GMT Hi Palette-Programers, Every one knows how easy a button can be furnished with an image or a sound by only dragging the corresponding icon out of the box into the button (within IB). But how can i use this feature in my own palette-object ? I have found neither examples nor any hints in the docu. Who can help ? - Flo. -- 2i-d&s : wolpert%dandsnx.uucp@germany.eu.net (NeXTmail preferred) Hellige : wolpert%ppgfr.uucp@germany.eu.net uni-fr : wolpert@informatik.uni-freiburg.de snail-mail to 2i Industrial Informatics, Haierweg 20e, D-7800 Freiburg
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: Distributed Objects question - How to "unrunFromAppKit" , "unregisterRoot"? Message-ID: <1993Jan13.091553.994@netcom.com> Sender: gordie@netcom.com Organization: Dolphin Software Date: Wed, 13 Jan 1993 09:15:53 GMT In an application that does a "server = [NXConnection registerRoot ...]" and then "[server runFromAppKit]", how do you remove the root object from the name server (unregisterRoot for lack of a better term), and close the DPS port created by runFromAppKit? Mainly, I'm trying to dynamically create and destroy servers (which are managed by one central metaserver), I can create them, but can't stop them (Jane, how do you stop this crazy thing!?) I looked in the digi lib docs for NXConnection, and see +removeObject:anObject, and the instance method -free, I'm not sure what the ramifications of calling these methods are. Also I thought of closing the port returned by -inPort, but I'm grabbing straws here. Any help appreciated - thanks in advance -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
Newsgroups: comp.sys.next.programmer From: jja@fnbc.com (Joseph Alotta) Subject: Re: The Darker Side of C++ (additional comment) Message-ID: <1993Jan13.150113.6569@fnbc.com> Keywords: obects,programming Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <m#=3fhn@rpi.edu> Date: Wed, 13 Jan 93 15:01:13 GMT i know a few developers locally who are using effiel on the NeXt. the effiel they have interfaces real well with the appkit and they are very pleased with it. effiel is not widely used, but has some interesting features. if someone asks, i'll give out their email address. joe. -- ============================================================== ! joe alotta jja@fnbc.com ! ! (312) 732-3439 ! ! ! ! "The main thing is to keep the main thing the main thing." ! ! Dr. George Sweeney ! ==============================================================
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: dbkit and sybase server connections Message-ID: <1993Jan13.123627.700@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <C0q3w5.2Lq@unix.portal.com> Date: Wed, 13 Jan 93 12:36:27 GMT In article <C0q3w5.2Lq@unix.portal.com> pyramid@shell.portal.com (Fouad Habboub) writes: > estrin!kswanson (Kevin Swanson) writes: > > >I'm working on an application that uses dbkit along with sybase. > >I've come across the problem that my application makes two and sometimes > >three connections to the sybase server, when it really should only need > >a single connection. > > >Has anyone who has worked with dbkit experienced any problems like this? > > >thanks, > >kevin > > > >kswanson@rdr.com > > > I've experienced similar problems. At one point it seemed that every > instance of RecordList make a separate connections to sybase. > > fouad The documentation on DBKit defines when connections are opened. In general there is a shared connection for queries that are READ ONLY. For each RecordList that could update the database it uses a seperate connection to maintain concurency control. To reduce the connections used try not defining the key properties to make the record list read only. I have not tried this myself but it may work. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: Robert_La_Ferla@hot.com Subject: Re: Bar code software that outputs to Postscript file? Message-ID: <1993Jan13.181952.1726@hot.com> Keywords: RTF Sender: robertl@hot.com Organization: Hot Technologies References: <C0pHz1.En6@gpu.utcs.utoronto.ca> Date: Wed, 13 Jan 1993 18:19:52 GMT In article <C0pHz1.En6@gpu.utcs.utoronto.ca> georgen@gpu.utcs.utoronto.ca (G. Ng) writes: > Is there any software for the PC or NeXT that can create bar codes and > output the barcodes as postscript (ps or eps) files, rather than just simply > printing them out on the printer? I'd like to incorporate the barcode into > a document created by Adobe Illustrator or something similar. > > any info. appreciated. > thanks > gn > YES. Hot Technologies has a comprehensive bar coding solution for NeXTSTEP including both software and hardware. Send e-mail to info@hot.com for more information. BarCodeKit: A comprehensive object library for adding bar codes to custom applications. BarCodeKit allows both organizations and developers to quickly add bar coding to a custom NeXTSTEP application. By combining the power of object-orientation and PostScript into a comprehensive library of bar code symbologies, BarCodeKit represents the state of the art in bar coding technology. Developers can seamlessly add bar coding to an existing application in a matter of minutes by using any of the 35 pre-tested and re-usable objects in the BarCodeKit. Previously, adding bar codes to an application meant weeks or months of development effort and incompatibility with different bar code readers and printers or it meant using costly proprietary bar code printers. The BarCodeKit conforms to international bar coding standards (EAN, ANSI, MIL, etc and gives developers flexibility; bar codes created using the kit can be sized and rotated to fit a specific area on a label or document and saved in EPS, EPSI (EPS with bitmap preview for non Display PostScript computers), or TIFF formats. Bar-a-Coda: An application for creating bar codes to use in documents. Bar-a-Coda is an easy-to-use application for creating bar codes. Bar codes can be dragged and dropped into documents or accessed from any application via the NeXTSTEP Services menu. Users can choose from more than a dozen different bar code types including Code 3-of-9, POSTNET and UPC. Bar-a-Coda is great for adding ZIP Codes on envelopes, UPC symbols on products, ISBN numbers on books and labelling just about anything. BarCodeBox: A hardware interface for bar code wands, scanners and card readers. BarCodeBox allows users to connect bar code wands, scanners, and card readers to their NeXTSTEP computer for fast, accurate and secure data entry. The interface comes bundled with Wand-a-Bar, an application to configure and drive bar code readers. Wand-a-Bar allows customers to enter bar coded data directly into a Lotus Improv spreadsheet or any NeXTSTEP application. Software objects to communicate directly with bar code readers in custom applications are also available. Hot Technologies develops, markets and supports component software and hardware that allows customers to construct automated solutions for increased productivity. Hot Technologies is headquartered at 75 Cambridge Parkway, Suite E-504, Cambridge, Massachusetts 02142-1238 USA. Telephone: + 1 617 252 0088 Electronic Mail: info@hot.com Robert La Ferla Hot Technologies PS. I tried sending this as ASCII but I kept getting junk at the end of the article. I'm running NewsGrazer 72.3 - does anyone know what's wrong and how to fix it? -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9G-W:7-S($AE;'9E=&EC83M]"EQM M87)G;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@V,C)<='@Q,C0U7'1X,3@V.%QT M>#(T.3!<='@S,3$S7'1X,S<S-EQT>#0S-3E<='@T.3@Q7'1X-38P-%QT>#8R M,C=<9C!<8C!<:3!<=6QN;VYE7&9S,CA<9F,P7&-F,"!);B!A<G1I8VQE(#Q# M,'!(>C$N16XV0&=P=2YU=&-S+G5T;W)O;G1O+F-A/B!G96]R9V5N0&=P=2YU M=&-S+G5T;W)O;G1O+F-A("A'+B!.9RD@=W)I=&5S.EP*/B!)<R!T:&5R92!A M;GD@<V]F='=A<F4@9F]R('1H92!00R!O<B!.95A4('1H870@8V%N(&-R96%T M92!B87(@8V]D97,@86YD7`H^(&]U='!U="!T:&4@8F%R8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(@8V]D:6YG7`IT96-H M;F]L;V=Y+B`@1&5V96QO<&5R<R!C86X@<V5A;6QE<W-L>2!A9&0@8F%R(&-O M9&EN9R!T;R!A;B!E>&ES=&EN9UP*87!P;&EC871I;VX@:6X@82!M871T97(@ M;V8@;6EN=71E<R!B>2!U<VEN9R!A;GD@;V8@=&AE(#,U('!R92UT97-T960@ M86YD7`IR92UU<V%B;&4@;V)J96-T<R!I;B!T:&4@0F%R0V]D94MI="X@(%!R M979I;W5S;'DL(&%D9&EN9R!B87(@8V]D97,@=&\@86Y<"F%P<&QI8V%T:6]N M(&UE86YT('=E96MS(&]R(&UO;G1H<R!O9B!D979E;&]P;65N="!E9F9O<G0@ M86YD7`II;F-O;7!A=&EB:6QI='D@=VET:"!D:69F97)E;G0@8F%R(&-O9&4@ M<F5A9&5R<R!A;F0@<')I;G1E<G,@;W(@:70@;65A;G1<"G5S:6YG(&-O<W1L M>2!P<F]P<FEE=&%R>2!B87(@8V]D92!P<FEN=&5R<RX@(%1H92!"87)#;V1E M2VET(&-O;F9O<FUS('1O7`II;G1E<FYA=&EO;F%L(&)A<B!C;V1I;F<@<W1A M;F1A<F1S("A%04XL($%.4TDL($U)3"P@971C(&%N9"!G:79E<UP*9&5V96QO M<&5R<R!F;&5X:6)I;&ET>3L@8F%R(&-O9&5S(&-R96%T960@=7-I;F<@=&AE M(&MI="!C86X@8F4@<VEZ960@86YD7`IR;W1A=&5D('1O(&9I="!A('-P96-I M9FEC(&%R96$@;VX@82!L86)E;"!O<B!D;V-U;65N="!A;F0@<V%V960@:6X@ M15!3+%P*15!322`H15!3('=I=&@@8FET;6%P('!R979I97<@9F]R(&YO;B!$ M:7-P;&%Y(%!O<W138W)I<'0@8V]M<'5T97)S*2P@;W)<"E1)1D8@9F]R;6%T M<RY<"EP*7`H*7&(@0F%R+6$M0V]D80I<8C`@.B!!;B!A<'!L:6-A=&EO;B!F M;W(@8W)E871I;F<@8F%R(&-O9&5S('1O('5S92!I;B!D;V-U;65N=',N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E M<G,@=&\@96YT97(@8F%R(&-O9&5D(&1A=&$@9&ER96-T;'D@:6YT;R!A($QO M='5S($EM<')O=EP*<W!R96%D<VAE970@;W(@86YY($YE6%135$50(&%P<&QI M8V%T:6]N+B`@4V]F='=A<F4@;V)J96-T<R!T;UP*8V]M;75N:6-A=&4@9&ER M96-T;'D@=VET:"!B87(@8V]D92!R96%D97)S(&EN(&-U<W1O;2!A<'!L:6-A M=&EO;G-<"F%R92!A;'-O(&%V86EL86)L92Y<"EP*2&]T(%1E8VAN;VQO9VEE M<R!D979E;&]P<RP@;6%R:V5T<R!A;F0@<W5P<&]R=',@8V]M<&]N96YT('-O M9G1W87)E(&%N9%P*:&%R9'=A<F4@=&AA="!A;&QO=W,@8W5S=&]M97)S('1O M(&-O;G-T<G5C="!A=71O;6%T960@<V]L=71I;VYS(&9O<EP*:6YC<F5A<V5D M('!R;V1U8W1I=FET>2X@($AO="!496-H;F]L;V=I97,@:7,@:&5A9'%U87)T M97)E9"!A="`W-2!#86UB<FED9V5<"E!A<FMW87DL(%-U:71E($4M-3`T+"!# M86UB<FED9V4L($UA<W-A8VAU<V5T=',@,#(Q-#(M,3(S."!54T$N7`I496QE M<&AO;F4Z("L@,2`V,3<@,C4R(#`P.#@@16QE8W1R;VYI8R!-86EL.B!I;F9O M0&AO="YC;VU<"EP*4F]B97)T($QA($9E<FQA7`I(;W0@5&5C:&YO;&]G:65S M7`I<"E!3+B`@22!T<FEE9"!S96YD:6YG('1H:7,@87,@05-#24D@8G5T($D@ M:V5P="!G971T:6YG(&IU;FL@870@=&AE(&5N9"!O9B!T:&4@87)T:6-L92X@ M($DG;2!R=6YN:6YG($YE=W-'<F%Z97(@-S(N,R`M(&1O97,@86YY;VYE(&MN G;W<@=VAA="=S('=R;VYG(&%N9"!H;W<@=&\@9FEX(&ET/UP*"GT* `
From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan13.150106.12875@dvorak.amd.com> Date: 13 Jan 93 15:01:06 GMT References: <1iv5ijINN8ba@pith.uoregon.edu> Sender: usenet@dvorak.amd.com (Usenet News) Distribution: usa Organization: Advanced Micro Devices, Inc.; Austin, Texas In article <1iv5ijINN8ba@pith.uoregon.edu> bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: >>In article <1993Jan12.165154.26915@dvorak.amd.com> rpomeroy@aunext1.amd.com >>(Ron Pomeroy x(Coop)) writes: >>> In article <63320@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: >>> >>I thought some Obj-C users would find it interesting. >>> [munch munch] >>> >> >>> >> ANNOUNCEMENT OF A LECTURE >>> >> >>> >> >>> >> -- "THE DARKER SIDE OF C++" -- >>> >> >>> >> Wednesday, January 27, 1993 >>> >> 15.15 o'clock (end at 17.00 at the latest) >>> >> >>> >> >>> >> Ecole Polytechnique Federale de Lausanne - Site Ecublens >>> >> Batiments du Departement d'informatique - room INR 219 >>> >> >>> >> >>> >> by MARKKU SAKKINEN, University of Jyvaskyla, Finland >>> >> >>> >> >>> [munch munch] >>> >>> >>The worst disadvantage of C++ at the moment is political: accepting >>> >>C++ as the standard OO language de facto tends to kill other existing >>> >>languages, and stifle the development of a new generation of >>> >>essentially better OO languages. >>> >>> Aaaaaaaaaamen!! >>> >>> -- >>> Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; >> >>When I can do this in Obj-C I would be happy (tm): >> >> String a = "hello", b = " ", c = "world"; >> cout << a + b + c + '\n'; I'd have to agree with you here. I've been programming in Smalltalk for the past 8 mo so the above looks something like... a := 'hello'. b := ' '. c := 'world'. ^(a,b,c,Character cr) >>Until then things (tm) look soooo much prettier in C++. >>(BTW, where is that multiple inheritance in Obj-C???) Nowhere. For which I am personally thankful. Disclamer: I am not trying to attract any flamage here (preventative medicine) Multiple inheritance is a particularly religious topic for many. Speaking for myself, I believe (and have found in practice) that multi-inheritance tends to lead to poor design decisions that complicate what might have been a clean and coherent design. *soap box on* If we subscribe to the notion of encapsulation then we must also subscribe to the notion of reducing the dependence of any one object on another (IMHO). But, the inheritance relationship in OO systems establishes a dependency between classes (and between classes and their instances - but that's beside the point). To incease the coupling between classes - to me - is a BAD thing (tm). *soap box off* Anyway. Just my opinion. And, it wouldn't bother me if someone could convince me that everything I've just said is complete poppycock. -- Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; Advanced Micro Devices [self dream-on]; CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: drag & drop with custom-palette-objects Message-ID: <1993Jan13.153403.8271@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Jan13.095731.8982@ppgfr.uucp> Date: Wed, 13 Jan 93 15:34:03 GMT In article <1993Jan13.095731.8982@ppgfr.uucp> wolpert@mars (Florian Wolpert) writes: > Hi Palette-Programers, > > Every one knows how easy a button can be furnished with > an image or a sound by only dragging the corresponding > icon out of the box into the button (within IB). > But how can i use this feature in my own palette-object ? > I have found neither examples nor any hints in the docu. > Who can help ? > > - Flo. > > -- > 2i-d&s : wolpert%dandsnx.uucp@germany.eu.net (NeXTmail preferred) > Hellige : wolpert%ppgfr.uucp@germany.eu.net > uni-fr : wolpert@informatik.uni-freiburg.de > snail-mail to 2i Industrial Informatics, Haierweg 20e, D-7800 Freiburg *TIRADE ON* As is usual with this kind of stuff, NeXT has opened the API to Interface Builder just enough to get some stuff done, but they won't let us do some cool stuff that they do, like DBKit's dragging of properties onto UI objects, or dragging of sounds and images onto your own UI objects. By using Eric Scott's class-dump I've been able to see the methods for doing useful (and, in the case of making a custom outlet connection inspector, _necessary_) things with palettes/inspectors, but using private API is a terrible idea, even if it does allow you to solve your problem quickly. Basically I think that NeXT doesn't want anyone else's software to "out-cool" their stuff. :-) *TIRADE OFF* My only answer to the question posed is that the types required for you to do a registerForDraggedTypes:count: are not publicly available. Thanks, NeXT. :-( -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: [Ar/Unar]chiving a Window? Message-ID: <1993Jan13.172351.10148@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Wed, 13 Jan 1993 17:23:51 GMT QuestionDisplay.h ------ #import <appkit/appkit.h> @interface QuestionDisplay:Object { id myWindow; } - init; - show:sender; - hide; - read:(NXTypedStream *)stream; - write:(NXTypedStream *)stream; @end ------- QuestionDisplay.m // QuestionDisplay provides a new ScrollView text window for the question #import "QuestionDisplay.h" @implementation QuestionDisplay - init { [super init]; [NXApp loadNibSection:"Question.nib" owner:self]; return self; } - show:sender { [myWindow makeKeyAndOrderFront:self]; return self; } - hide { return [myWindow orderBack:self]; } - read:(NXTypedStream *)stream { [super read:stream]; NXReadType(stream,"@",&myWindow); return self; } - write:(NXTypedStream *)stream { [super write:stream]; NXWriteType(stream, "@",&myWindow); return self; } @end In IB, the FirstResponder is of class QuestionDisplay and the outlet myWindow is connected to the Window Instance I created with a ScrollView in it. Each time I want to create a new "question" I do the following: --- newWindow = [[QuestionDisplay alloc] init]; [newWindow show:self]; newQuestion = [[QuestionObj alloc] init]; [newQuestion setWindow:newWindow]; [questions addObject:newQuestion]; //(a list object) ---- QuestionObj has an instance variable of type id called myDisplay which is archive and unarchived in QuestionObj and is set by the setWindow method above. Now when I archive questions(the list), things seem to go okay. When unarchiving, it seems to be okay again. Data is read, and most indications are that things are alright. But when I do the following after unarchiving: aQuestion = [questions objectAt:currentQuestionPos]; newWindow = [aQuestion window]; [newWindow show:self]; I don't get the frame of the window, just a white area that has parts of the rich text in it. No error messages or anything. I can continue to look at different "window contents", but the frame, title bar, close button, etc. are missing. What am I doing wrong in archiving (unarchiving) the window? J. W. Wooten
Newsgroups: comp.sys.next.programmer From: wave@waits.media.mit.edu (Michael B. Johnson) Subject: Re: drag & drop with custom-palette-objects Message-ID: <1993Jan13.173237.17548@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1993Jan13.153403.8271@fnbc.com> Date: Wed, 13 Jan 1993 17:32:37 GMT Drew Davidson writes > In article <1993Jan13.095731.8982@ppgfr.uucp> wolpert@mars (Florian Wolpert) > writes: > *TIRADE ON* > As is usual with this kind of stuff, NeXT has opened the API to Interface > Builder just enough to get some stuff done, but they won't let us do some cool > stuff that they do, like DBKit's dragging of properties onto UI objects, or > dragging of sounds and images onto your own UI objects. By using Eric Scott's > class-dump I've been able to see the methods for doing useful (and, in the case > of making a custom outlet connection inspector, _necessary_) things with > palettes/inspectors, but using private API is a terrible idea, even if it does > allow you to solve your problem quickly. > > Basically I think that NeXT doesn't want anyone else's software to "out-cool" > their stuff. :-) > > *TIRADE OFF* > > My only answer to the question posed is that the types required for you to do a > registerForDraggedTypes:count: are not publicly available. Thanks, NeXT. :-( > -- Come on Drew, lighten up. I'm sure this has a lot more to do with Jean-Marie changing his mind a few times, agonizing over "the right thing", and finally committing to something so that the doc people can document it. As a person who has written his fair share of product code, I know that sometimes I'm happy with the API I've written and want it made public, and sometimes I know it will take one more pass before I get it right. As *soon* as NeXT makes an API to do stuff, it is very, very, very difficult for them to change it. I'm psyched I can do the things I can in IB, and hope that it gets better. But look at the info panel of IB - it's just one person (standing on the shoulders of his fellow engineers at NeXT, true). It's not a team of 50 programmers. Cut him some slack. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu --> NeXT Mail accepted at wave@nordine.media.mit.edu
From: silvus@vauxhall.ece.cmu.edu (Gregory Lee Silvus) Newsgroups: comp.sys.next.programmer,comp.lang.postscript Subject: Re: Arcs and circles from curveto Message-ID: <SILVUS.93Jan13113904@vauxhall.ece.cmu.edu> Date: 13 Jan 93 16:39:04 GMT Article-I.D.: vauxhall.SILVUS.93Jan13113904 References: <1993Jan11.014246.4735@drefla.mese.com><1993Jan12.175132.27149@trilithon.mpk.ca.us><1ivuifINNsji@life.ai.mit.edu> Sender: news@fs7.ece.cmu.edu (USENET News System) Organization: Carnegie-Mellon Univerity In-Reply-To: bkph@wheat-chex.ai.mit.edu's message of 13 Jan 93 02:25:19 GMT In article <1993Jan11.014246.4735@drefla.mese.com> matt@drefla.mese.com (Matt Brandt) writes: * I've been able to come up with a pretty good approximation * of a circle using curveto . . . Did I miss the reason why you didn't just use a single arc statement? I apologize if I just missed it when I read. gReg
Newsgroups: comp.sys.next.programmer From: gary@nshade.uah.ualberta.ca (Gary Ritchie) Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan13.163953.9462@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <m#=3fhn@rpi.edu> Date: Wed, 13 Jan 1993 16:39:53 GMT [comments about C++ versus Obj-C deleted] Oh no, not again. Quick! Deflect this discussion into comp.lang.objective-c before it's too late. That group can use the traffic.
Newsgroups: comp.sys.next.programmer From: nevin@dtint.dtint.com Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan13.172456.5981@dtint.uucp> Sender: usenet@dtint.uucp Organization: Digital Technology, International References: <1iv5ijINN8ba@pith.uoregon.edu> Distribution: usa Date: Wed, 13 Jan 93 17:24:56 GMT > (BTW, where is that multiple inheritance in Obj-C???) > > --bjorn > ------------------------------------------------------------------------------ > Bjorn S. Fjeld Pettersen > bjorn@doek.uoregon.edu NextMail Welcomed > #include <std-disclaimer.h> > ------------------------------------------------------------------------------ It's in '/dev/null', right where it belongs. -- Nevin Pratt, Digital Technology, Int'l Orem, Ut NeXTmail preferred, but ONLY at my REAL email address: nevin@dtint.dtint.com -- --- root root@dtint.dtint.com Digital Technology Int. (801)226-2984 500 W. 1200 South, Orem UT, 84057 FAX (801) 226-8438
Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <SCOTT.93Jan13115938@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 13 Jan 93 11:59:38 References: <1993Jan12.165154.26915@dvorak.amd.com> <1iv5ijINN8ba@pith.uoregon.edu><63366@mimsy.umd.edu> Distribution: usa Organization: Gustavus Adolphus College In-reply-to: alex@cs.umd.edu's message of 13 Jan 93 05:51:40 GMTLines: 67 In article <63366@mimsy.umd.edu>, alex@cs.umd.edu (Alex Blakemore) writes: >In article <1iv5ijINN8ba@pith.uoregon.edu> > bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: >> (BTW, where is that multiple inheritance in Obj-C???) > >and where is dynamic binding in C++? > >about MI, it is a technique, _a_ solution to a class of programming >problems. same with delegation using dynamic binding in Obj-C. <...> >Bottom Line: MI can be very useful in some situations and languages, >but that doesnt mean it should be added to every OO language. >there may be other langage features that obviate much of the need >for MI in that case. MI does bring some complications as well. This brings us right to my big argument with C++. In LISP and Smalltalk, you have a long list of advantages the language gives you. The secret to these advantages is that they are as a _consequence_ of the language design. For instance, polymorphism and garbage collection are this way. With C++, each specific feature that more capable OOP languages have was targetted, and added to C _in_isolation_. This gives rise to virtual methods, as a cheap answer to polymorphism. Name mangling because method names are bound at compile/link time. Multiple inheritence because you cannot redirect messages arbitrarily at runtime. Templates because the object is not the central first-class object (object in the sense of "data type in the language"), rather each class of object is a first-class object (this means that you have the same problems storing objects together as you have storing floats and ints together. In other OOP languages, an object is an object is an object, and you can store the objects together and worry later about what they are). The end result is that each language feature in isolation is quite efficient, and works reasonably well. That is good. The _problem_ is that with all of these language features running around interacting with each other, it's almost impossible for anyone to _use_ them! The complexity of providing these features is left to the end-user (end-programmer?). In a ground-up OOP language, the languages features fall out of a few relatively simple ideas that form the core of the language, which makes them easier to understand (understand the core and you've got a good chance of understanding the features). The complexity is pushed onto the language designer/implementor, who has to _implement_ those few "simple" ideas! This is part of where the efficiency of program execution is lost - but as fast as computers are getting faster, how big of a concern is that (and more importantly, how _long_ will that remain a concern at all?) [Disclaimer - none of this is to say that Objective-C is all that much better than C++. For instance, we still have multiple first-class objects. Luckily, there is only one more first-class object than the base C language ... I like Objective-C because it's a more sane approach to adding OOP to C. Rather than keep layering features on, they stopped at a relatively simple group of additions.] For a language that I think really epitomizes the "features falling out from a simple core", check out the Self language, ftp to self.stanford.edu (I believe). It's an OOP which doesn't even have classes, and is thus a _simpler_ core than Smalltalk! Later, -- scott hess <shess@ssesco.com> <I will not spin the turtle -Bart Simpson> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime! * ... like a big church choir with all it's members' mouths wide open, * * singing silence -Blood Music, Greg Bear *
Newsgroups: comp.sys.next.programmer From: josh@MITL.COM (Joshua A. Tauber) Subject: Rich Text Format specification Message-ID: <1993Jan13.200352.14427@MITL.COM> Originator: josh@awabi Sender: news@MITL.COM Organization: Matsushita Information Technology Laboratory, Princeton, NJ Date: Wed, 13 Jan 1993 20:03:52 GMT Is the rtf specification freely available? If so, where ? Thanks, jat42 -- Joshua A. Tauber Matsushita Information Technology Laboratory | Email: josh@mitl.com 182 Nassau Street, Third Floor | Phone: +1 609 497-4600 Princeton, NJ 08542-7072 USA | Fax: +1 609 497-4013
Newsgroups: comp.sys.next.programmer From: andrew@cubetech.com (Andrew Loewenstern) Subject: IXKit mailing list Message-ID: <1993Jan13.194510.2219@cubetech.com> Organization: Cube Technologies, Inc. Date: Wed, 13 Jan 1993 19:45:10 GMT To handle the volume of subscribers on the Indexing Kit mailing list, I have switched over to the listserv system. Everyone on the list will have to re-subscribe. To subscribe, send a letter to "listserv@cubetech.com" with "subscribe ixkit <your real name here>" as the body of the message. Here is an example: ---- Date: Wed, 13 Jan 93 01:37:21 -0800 From: andrew@cubetech.com (Andrew Loewenstern) To: listserv@cubetech.com Subject: subscribe subscribe ixkit Andrew Loewenstern ---- The subject is unimportant. Putting 'help' on a line by itself in the message will cause the server to send a help message to you. "your real name here" means your real name, not your e-mail address. Your e-mail address is parsed from the message header. When you subscribe, listserv will send a message back to you indicating that you have been added to the list. thanks, and sorry for any inconveniences this may have caused andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
From: sears@tree.egr.uh.edu (Paul S. Sears) Newsgroups: comp.sys.next.programmer Subject: Creating libraries? Date: 13 Jan 1993 21:27:19 GMT Organization: University of Houston Message-ID: <1j21fnINNahp@menudo.uh.edu> A user of mine has asked how to create his own library to use against the linker. We investigated the man pages for cc, ar, ld and ranlib but we are still unable to create our own library. Can some specify the procedure for creating a library? Thanks. -- Paul S. Sears * sears@uh.edu (NeXT Mail OK) The University of Houston * suggestions@tree.egr.uh.edu (NeXT Engineering Computing Center * comments, complaints, questions) NeXT System Administration * DoD#1967 '83 NightHawk 650SC >>> SSI Diving Certification #755020059 <<< "Programming is like sex: One mistake and you support it a lifetime."
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: Re: dbkit and sybase server connections Message-ID: <1993Jan13.192225.13371@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated References: <1993Jan12.130734.29082@bernina.ethz.ch> Date: Wed, 13 Jan 1993 19:22:25 GMT In article <1993Jan12.130734.29082@bernina.ethz.ch> fankhaus@nessie.cs.id.ethz.ch (George Fankhauser) writes: > In article <C0q3w5.2Lq@unix.portal.com> pyramid@shell.portal.com (Fouad Habboub) writes: > >estrin!kswanson (Kevin Swanson) writes: > > > >>I'm working on an application that uses dbkit along with sybase. > >>I've come across the problem that my application makes two and sometimes > >>three connections to the sybase server, when it really should only need > >>a single connection. > > > >>Has anyone who has worked with dbkit experienced any problems like this? > > > >>thanks, > >>kevin > > > > > >>kswanson@rdr.com > > > > > >I've experienced similar problems. At one point it seemed that every > >instance of RecordList make a separate connections to sybase. > > > >fouad > > > > no, only instances of DBDatabase create new tcp connections to the > db server. Since shipping our RS6000 server to the client and switching to a Sybase limited server on NeXT we run into this sort of thing. I believe new binders create new links to the database. A real hassle with 4 developers on one server, and that's without each of us starting an isql session... -- Patrick Hester ph@pencom.com (212) 513-7777 NeXT Mail OK =8(\/\)
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Pre-Alpha test site needed for NeXT X11R5 X server Keywords: Xnext, X11R5 Message-ID: <7353@ucsbcsl.ucsb.edu> Date: 13 Jan 93 21:43:22 GMT Sender: root@ucsbcsl.ucsb.edu Followup-To: comp.sys.next.programmer Distribution: usa Organization: Center for Computer Music Research and Composition, UCSB I am attempting to develop a version of the "Mouse X" X11 R5 server for use on: 1) Color non-Turbo NeXTs 2) Monochrome Turbo NeXTs Unfortunately, I only have a color Turbo, so I cannot test my results. I am looking for a site where: 1) People use X on their NeXTs 2) There is at least one of the two machines listed above 3) There is someone with some degree of experience (i.e., more than none) with X programs ...to use as a testing site for the server as I attempt to port it. I know there are people out there who want this to exist. I will reply to the best offer (i.e., a site with both types of machines, if it exists). Please reply via email to save bandwidth. Thank you. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: Re: Ray-Tracing ? 3DKit, PoV, Rayshade and the other stuff... References: <1993Jan13.052936.2483@talus.com> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Thu, 14 Jan 1993 03:59:57 GMT Message-ID: <16B5513561.UC512052@mizzou1.missouri.edu> In article <1993Jan13.052936.2483@talus.com> ed@talus.com writes: >Did someone succesfully compiled Rayshade or Persistance of Vision >(PoV) on their NeXT ? >Ed. Yup. I've rendered all the example files from PoV on our 33/040's at 640x480 with anti-aliasing. Look nice. I've also written code for PoV so that it will output in .ppm format. Anyone who wants this code please send me mail. Hopefully it will be in the next general release of PoV. The only thing you must do to get PoV to compile is comment out the matherr() function in unix.c. Strip it afterwards. Regards, David K. Drum
From: ricardo@pencom.com (Ricardo Parada) Newsgroups: comp.sys.next.programmer Subject: Re: Complex variables in NeXT's C Message-ID: <1993Jan13.172126.29464@pencom.com> Date: 13 Jan 93 17:21:26 GMT References: <1ivjggINNspp@jhunix.hcf.jhu.edu> Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software In article <1ivjggINNspp@jhunix.hcf.jhu.edu> eboltz@jhunix.hcf.jhu.edu (Eric Scott Boltz) writes: > Hi, > I've just started trying to program on a NeXT, and I'm interested in > learning more about implementing complex variables. Many of the DOS > compilers have this stuff built in. > > Any help appreciated, > > Eric If you mean complex numbers you can use C++ on the NeXT. But you'll have to write your own or get a C++ math library from a 3rd party. -- Ricardo J. Parada Pencom Software
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: drag & drop with custom-palette-objects Message-ID: <1993Jan13.193508.21655@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Jan13.173237.17548@news.media.mit.edu> Date: Wed, 13 Jan 93 19:35:08 GMT In article <1993Jan13.173237.17548@news.media.mit.edu> wave@waits.media.mit.edu (Michael B. Johnson) writes: > Drew Davidson writes > > In article <1993Jan13.095731.8982@ppgfr.uucp> wolpert@mars (Florian Wolpert) > > writes: [my tirade deleted] > > Come on Drew, lighten up. I'm sure this has a lot more to do with Jean-Marie > changing his mind a few times, agonizing over "the right thing", and finally > committing to something so that the doc people can document it. As a person > who has written his fair share of product code, I know that sometimes I'm happy > with the API I've written and want it made public, and sometimes I know it will > take one more pass before I get it right. As *soon* as NeXT makes an API to do > stuff, it is very, very, very difficult for them to change it. I'm psyched I > can do the things I can in IB, and hope that it gets better. But look at the > info panel of IB - it's just one person (standing on the shoulders of his > fellow engineers at NeXT, true). It's not a team of 50 programmers. Cut him > some slack. > Indeed, I agree with you that it is a difficult decision on what to support and what to not support. I guess that Florian's original posting sparked the memory of trying to include a Connection inspector in IB that adds to NeXT's outlet inspector. They provide you with no way of doing outlet connections so you have to do it yourself (most non-trivial). The private API, however, has methods and classes that make it easy to do. I guess no one figured that you'd want to supplement the current inspector in the way that I'm doing (I don't want a separate window such as DBKit's palette has). My problem is that NeXT provides an example of a good way of doing something (dragging images & sound onto objects, dragging DBKit properties onto objects), then blocks everyone else out from doing it. NeXT provides an enourmous amount of great software that works so I'll cut them some slack, but I want to make sure that this kind of thing is not just accepted without comment. Hopefully this deficiency and others (drag & drop stuff) will be made better or clearer in a future release. In the mean time we have to deal with code that has to rely on undocumented features (at least *I* do, because I *have* to be able to do this). > -- > > --> Michael B. Johnson > --> MIT Media Lab -- Computer Graphics & Animation Group > --> (617) 253-0663 -- wave@media-lab.media.mit.edu > --> NeXT Mail accepted at wave@nordine.media.mit.edu -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer,comp.lang.postscript From: tim@iss.nus.sg (Tim Poston) Subject: Re: Arcs and circles from curveto Message-ID: <1993Jan14.024711.16509@nuscc.nus.sg> Sender: usenet@nuscc.nus.sg Organization: Institute of Systems Science, NUS, Singapore References: <1ivuifINNsji@life.ai.mit.edu> Date: Thu, 14 Jan 1993 02:47:11 GMT bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn) writes: : Suppose you draw a pen-stroke with a pen that has a circular nib, where the : center of stroke follows a given Bezier curve. Can the `outer' and `inner' : edges of the resulting shape be described exactly using a Bexier curve? : If not, how do you compute an adequate approximation - one that does not : require splicing together too many separate cubic splines? No, because the `inner' edge is often not even differentiable, let alone polynomial. Consider a Bezier curve that is close to this thing_______ and slide a disk of width ------ along it. \ The natural `inner edge' (the envelope of | all those circles) crosses itself about here ---------> | and has a couple of cusp singularities inside | the pen-stroke. So you have to say what you | mean by "compute an adequate approximation"; | approximate the envelope (it's not cubic, so | a Bezier cubic won't do it exactly), or the | actual outline, with its corners? | As an exercise for the reader, OK; but please don't make this an exam question with limited time! Tim ____________________________________________________________________________ Tim Poston, ISS NUS Singapore, tim@iss.nus.sg My lucky number is irrational.
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: DBBinder troubles Message-ID: <1993Jan13.205513.7493@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Wed, 13 Jan 1993 20:55:13 GMT I have an app with a number of DBModules, and I'm also using DBBinder techniques to execute some Sybase stored procedures (thanks to Keith Willard for tips on this.) All the binders share the same Database object. The first thing I do is a -fetchContentsOf:usingQualifier: for each Module; everything works fine. Then I get myself a binder and using -evaluateString: and -fetch (sometimes I have values coming back) I execute a stored procedure. The proc executes fine. Then I go to refetch for all the Modules (to redisplay the changed data), and I get a "memory access exception" error when I hit the first -fetchContentsOf:usingQualifier:. That happens before -db:willEvaluateString:usingBinder: is messaged. I thought it might have something to do with the transaction stuff I was using around the stored proc (even though it should have been cleaned up ok), so I took that out, but that didn't fix the problem. Grasping at straws I then tried using the Binder from one of the Modules instead of getting my own. In that case when I go to refetch with the Modules I get a "DBDatabase: does not recognize selector -internalName," as if the entity for that Module had somehow gotten zapped. But when I break just before the fetch and check with -entityNamed: everything looks fine. It seems like something needs to get reset with the Database, but I can't figure out what. Any ideas? (All of this goes away if I just get another Database object, of course, but who wants to burn another two Sybase connections?) Thanks in advance for any help. Colin Garrett University of Chicago colin@delphi.bsd.uchicago.edu (NeXTMail)
Newsgroups: comp.sys.next.programmer From: vin@netcom.com (Vin Locke) Subject: c++ and Project Builder Message-ID: <1993Jan14.053105.15740@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Thu, 14 Jan 1993 05:31:05 GMT Well, with the help of the c++ threads that have been going on, I have finally configured my system to compile c++ code with the compiler distributed with NeXT (for those of you just coming in on this, my best advice is "don't believe the NS3.0 release notes when they say that libg++ off the archives is not needed") Now, I am trying to find a way to get Project Builder to be friends with my c++ code. I created a Makefile.preamble and redefined CC (the compiler) to be cc++, and to this I added the include path for my header files. Unfortunately, when I compile this way I get all sorts of errors and complaints from the compiler. When I compile the class by itself, with a smaller driver program to test the class, via a makefile, the compilation goes off without a hitch. I am under the impression that the c++ headers are, literally, banging heads with the Objective-C stuff (BTW, what the heck is Objective-C++ ?) To my surprise, the CalculatorLab++ from NS2.0 compiled under 3.0 and PB, which is where I got the Makefile.preamble fix from. Thing is, this project (which has only one c++ class/file) does not include any c++ header files. If someone out there has managed/is managing to mix c++ into Project Builder, please tell me how you're doing it. BTW, does anyone else find the documentation for Project Builder to be a bit sparse? When it comes to writing literature, I believe it is a Good Thing to have the reader utilize his/her imagination; however, with technical documentation . . . -- --vin vin@netcom.com ------------------------------------------------------------------------ If productivity can really be measured as the rate at which lines of code are produced, why not just use a tight loop to spew code as fast as possible, and send the programmers home? --Brad Cox
Newsgroups: comp.sys.next.programmer From: bwilliam@iat.holonet.net (Bill Williams) Subject: Re: ada developement tools?? Message-ID: <C0u4w1.CoD@iat.holonet.net> Organization: HoloNet National Internet Access BBS: 510-704-1058/modem References: <63210@mimsy.umd.edu> Distribution: comp Date: Thu, 14 Jan 1993 08:28:48 GMT The manager of the Meridian Ada compiler sales dept. told me less than about a year ago that only 2 copies of Meridian Ada were sold to NeXT users. Alex, did your organization buy one of the two sold or do you have a promotional copy? Bill Williams
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1j3bjdINNplv@pith.uoregon.edu> Date: 14 Jan 93 09:26:05 GMT Article-I.D.: pith.1j3bjdINNplv References: <SCOTT.93Jan13115938@nic.gac.edu> Distribution: usa Organization: University of Oregon Network Services [munch, munch...] It is disconcerting to see how religious people are in their language choice. The point of my original post was not that C++ is better than Obj-C in all areas. My point is that different languages are good for different problems, and it should be up to the programmer (not the OS developer) which language is to be used. I would love to use Prolog, or Eiffel, or Smalltalk, or ... (you get the picture) but it is almost impossible. The few companies that have included NeXTSTEP interfaces to their languages charge so much that no sensible _person_ would buy them. BTW... if Obj-C is such a wonderful language for everything between heaven and earth (as some people here seem to believe) why aren't basic things like NXPoint, NXSize etc. etc. etc. implemented as objects? Is it too slow? I know C++ could do this as fast as any ANSI C... --bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
Organisation: Westfaelische Wilhelms-Universitaet, Muenster, Germany Date: Thursday, 14 Jan 1993 09:23:24 MEZ From: christoph heising <HEISINC@DMSWWU1A.UNI-MUENSTER.DE> Message-ID: <93014.092324HEISINC@DMSWWU1A.UNI-MUENSTER.DE> Newsgroups: comp.sys.next.programmer Subject: SYBASE communication Does anybody know how to initiate interprocess communication from within SYBASE. We are trying to send object ids to remote applications in our network. -Thanks, Chris
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Querying Event Driver Message-ID: <1993Jan13.110316.6906@prim> Organization: Primitive Software Ltd. References: <1iqq89INNnnt@uwm.edu> Distribution: usa Date: Wed, 13 Jan 1993 11:03:16 GMT In article <1iqq89INNnnt@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet) writes: > >HI all, > I trying to write a program that needs to be able to check >what is being typed on the keyboard even if this app isn't the current >app. I found the way to get the address of the keyboard device, but >from there I am unsure as to what to do. Is there a specific place >from the beginning of the device address that can tell me what the >current key that was pushed is? Or would it be impossible for me to >try and accomplish something like this? Can what I want to do be >accomplished with some ioctl() calls? And if so, what would they be. >Any comments or suggestions would be great, I once tried to write a program that could _intercept_ another applications keystrokes and that certainly seems to be impossible. The same is probably true for monitoring since the window server process is gobbling them. I have a vague plan in mind for an event logging system. Every app cooperates by sending an event message to a central event logging daemon. Events include things like key down, file open, send mail message etc. You could then have other apps which register their interest in such events and get notified of them. You could use such a feature to build, for instance, a Post-It app whcih pops up a little window with a note in it every time a certain file is opened. All you need is that WriteNow (say) sends an event log message (actually distributed object method) to say "I've opened filename". One line of code. And the keyboard monitoring you refer to becomes trivial. If anyone from NeXT is listening, there is a need for this sort of inter-app operability and _you_ should be providing it! In the meantime, Primitive Software Ltd will be developing such a system for their <ahem> suite of programs. :-} I'd be interested to hear from any other developers who are interested. Dave Griffiths
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Documentation for writing DBKit adaptor Message-ID: <1993Jan14.132842.29437@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Thu, 14 Jan 1993 13:28:42 GMT I just loaded up AdaptorDoku.tar.Z to sonata.cc.purdue.edu:/pub/next/submissions (sorry for the k in Doku, I discovered it too late). Here the README file: This is a preliminary documentation for writing DBKit adaptors. All thanks have to go to Joerg Jacobsen (jacobsen@tpki.toppoint.de). He asked NeXT for help and they sent him the following files: Documentation for DBBasicAdaptorContext and DBBasicAdaptor, various header files, a sample program and the following note: -- NeXT on -- As you probably know, our Adaptor API is in flux, and will certainly change in the future. The adaptor API is considered private currently and, we don't really provide any support for it. Please note that the documentation enclosed may be incomplete at places. I hope that you understand the risks involved when doing your own development and hope that at least the enclosed package will satisfy your current needs. -- NeXT off -- In addition you find a directory called myHeaders. It contains header files modified by Joerg to fit his needs. Be aware of the risks and have fun. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan14.035654.8281@godel.questor.wimsey.bc.ca> Date: Thu, 14 Jan 1993 03:56:54 GMT References: <1iv5ijINN8ba@pith.uoregon.edu> Sender: aberno@godel.questor.wimsey.bc.ca In article <1iv5ijINN8ba@pith.uoregon.edu> bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: > When I can do this in Obj-C I would be happy (tm): > > String a = "hello", b = " ", c = "world"; > cout << a + b + c + '\n'; > > Until then things (tm) look soooo much prettier in C++. When I can do ANYTHING even REMOTELY like this in C++... if ([anObject respondsTo:@selector(image)]) theImage = [anObject image]; ... or ... if ([droppedClass superClass] == [CoordinateSystem class]) return YES; ...then maybe I'll consider the aesthetic advantages of operator overloading. > (BTW, where is that multiple inheritance in Obj-C???) Right where it belongs. :-) -Anthony
From: pedja@asgard.cs.umd.edu (Pedja Bogdanovich) Newsgroups: comp.sys.next.programmer Subject: Overflow signal handler in 3.0 Message-ID: <PEDJA.93Jan14115125@asgard.cs.umd.edu> Date: 14 Jan 93 16:51:25 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 I am posting this for a friend so please reply to him (kerner%sava@cs.umd.edu). /* I am trying to write a floating point exception handler for a NeXT * workstation running operating system release 3.0, but I am encountering * a problem which I hope some one can help me solve. * * Consider the C code: main() {double x,y,z; x = 1.E200; y = 1.E300; z = x*y; printf("\n1.E200*1.E300 = %le",z); } * Executing this code using the system default floating point exception * handler results in z equal to the 64-bit representation of infinity. * I would prefer to substitute my own floating point exception handler * which would 1) print a warning that an overflow has occurred and * 2) generate the largest positive 64-bit floating point number as the * result. * * I have achieved partial success in doing this as follows: * First, I set the Motorola 68040 floating point control register to signal * overflow exceptions. Then I set the UNIX floating point exception signal * handler to my own routine--called catcherr()--by calling the UNIX function * sigvec(). And finally, I provide a signal handler called catcherr(). * * catcherr() does several things: 1) it gets the address of the <move * floating point register to memory> instruction that caused the overflow * exception, 2) it gets the floating point status register and checks that * an overflow condition exists, 3) it prints a warning message, 4) it loads * the largest 64-bit floating point number on the floating point stack (in * place of the result which is too large), 5) it clears the overflow exception * flag bit in the floating point status register, and 5) returns to the <move> * instruction which caused the exception by using the UNIX function * sigreturn(). * * When I test the signal handler with main(), above, I obtain the desired * result, except that the program terminates with a bus error. The occurrence * of the bus error is related to the use of sigreturn(). Without sigreturn() * in the signal handler, the program exits normally but the result of the * overflow is incorrect. Is it possible to get the desired result for * overflow without the bus error? * * Below is listed the required code. The functions include * * long retrievfpcr() which gets the floating point control register * long retrievfpsr() which gets the floating point status register * long retrievfpir() which gets the floating point instruction register * void storefpsr() which sets the floating point status register * void storefpcr() which sets the floating point control register * void catcherr() which is the floating point exception handler * void main() which is a test program * * Dan Kerner *---------------------------------------------------------------------------*/ /* maxpos and maxneg are the positive and negative, largest magnitude, 64-bit double values.*/ unsigned long maxpos[2] = {0x7fefffff,0xffffffff}, maxneg[2] = {0xffefffff,0xffffffff}, one[2] = {0x3ff00000,0x00000000}; /* the following structure is from /usr/include/machine/signal.h and is passed to the signal handler after the unmasked floating point signal occurs. Information pushed on stack when a signal is delivered. Used by kernel to restore state following execution of signal handler. Also available to handler to allow it to properly restore state if non-standard exit is performed.*/ struct sigcontext {long sc_onstack; /* sigstack state to restore */ long sc_mask; /* signal mask to restore */ long sc_sp; /* sp to restore */ long sc_pc; /* pc to restore */ long sc_ps; /* psl to restore */ long sc_d0; /* d0 to restore */ } *scp; /* the following array of 2 long integers is used to hold floating-point stack elements */ unsigned long fpr[2]; /* the following structure is from /usr/include/sys/signal.h */ /* a sigvec structure exists for each type of signal. sigvec structures are passed to the function sigvec() when changing a signal handler. A sigvec structure defines the signal handler, mask, and flags for each signal. We store two such structures corresponding to the default and the new floating point signal handler. */ struct sigvec {void (*sv_handler)(); long sv_mask; long sv_flags; } old_sigvec, new_sigvec; /* the following extern is from /usr/include/sys/signal.h */ extern long sigvec(int sig,struct sigvec *newvec,struct sigvec *oldvec); /* the following macro is from /usr/include/sys/signal.h */ #define SIGFPE 8 /*========================================================================*/ static long retrievfpcr(void) /*------------------------------------------------------------------------ * retrievfpcr() is an in-line assembler function which retrieves the floating * point control register's contents, stores it in the data register d0, * and returns. *------------------------------------------------------------------------*/ {__asm volatile ("fmovel fpcr,d0");} /*========================================================================*/ static long retrievfpsr(void) /*------------------------------------------------------------------------ * retrievfpsr() is an in-line assembler function which retrieves the floating * point status register's contents, stores it in the data register d0, * and returns. *------------------------------------------------------------------------*/ {__asm volatile ("fmovel fpsr,d0");} /*========================================================================*/ static long retrievfpir(void) /*------------------------------------------------------------------------ * retrievfpir() is an in-line assembler function which retrieves the floating * point instruction address register's contents, stores it in the data * register d0, and returns. *------------------------------------------------------------------------*/ {__asm volatile ("fmovel fpi,d0");} /*========================================================================*/ static void storefpsr(long str) /*------------------------------------------------------------------------ * storefpsr() is an in-line assembler function which stores the 32-bit * integer argument, str, which is on top of the argument stack, to the * data register d0, and then moves d0 to the floating point status register. *------------------------------------------------------------------------*/ {__asm volatile ("movel a6@(8),d0"); __asm volatile ("fmovel d0,fpsr"); } /*========================================================================*/ static void storefpcr(long ctl) /*------------------------------------------------------------------------ * storefpcr() is an in-line assembler function which stores the 32-bit * integer argument, ctl, which is on top of the argument stack, to the * data register d0, and then moves d0 to the floating point control register. *------------------------------------------------------------------------*/ {__asm volatile ("movel a6@(8),d0"); __asm volatile ("fmovel d0,fpcr"); } /*========================================================================*/ void catcherr(long sig,long code,struct sigcontext *scp) /*------------------------------------------------------------------------ * catcherr() is the floating-point overflow exception handler. *------------------------------------------------------------------------*/ {unsigned long ir,st,status,*ptr; /* save the address of the floating point instruction that caused the exception and store it as the address to return to */ ir = retrievfpir(); scp->sc_pc = ir; /* save the floating point status word in status */ status = retrievfpsr(); if (status & 0x00001040) {/* there has been an overflow exception */ /* copy the floating point register fp0 to fpr[0:1] */ __asm volatile("fmoved _fpr,fp0"); if (fpr[0] & 0x80000000) {/* the overflow is negative so copy maxneg into fp0 */ __asm volatile("fmoved _maxneg,fp0"); printf("negative overflow\n"); } else {/* the overflow is positive so copy maxpos into fp0 */ __asm volatile("fmoved _maxpos,fp0"); printf("positive overflow\n"); } } /* zero the exception status bits, and restore the floating point status register */ st = status&0xffff0000; storefpsr(st); /* return signal context structure */ sigreturn(scp); } /*=========================================================================*/ void main(void) {double x,y,z; long st; unsigned long ctl0,ctl1; /* save the floating point control register in ctl0 */ ctl0 = retrievfpcr(); /* change the floating point control register so that overflow, divide-by- zero, and zero-divided-by-zero exceptions will be reported. First change the previous floating point control registers bits 13,12, and 10 (which correspond to operand error, overflow, and divide-by-zero, respectively) to 1 and store the result in ctl1. Then store ctl1 in the floating point control register by calling the assembly routine storefpcr(). */ ctl1 = (ctl0&0xffff00ff)|0x00003400; storefpcr(ctl1); /* clear the exception bits in the floating point status register */ st = retrievfpsr(); st &= 0xffff0000; storefpsr(st); /* make catcherr() the floating point error signal handler */ new_sigvec.sv_handler = catcherr; new_sigvec.sv_flags = 0; new_sigvec.sv_mask = 0; if ((st = sigvec(SIGFPE,&new_sigvec,&old_sigvec))!=0) printf("\nsigvec() failed"); /* generate a positive floating point overflow error */ x = 1.E200; y = 1.E300; z = x*y; /* overflow error occurs here */ printf("1.E200*1.E300 = %16.15le\n",z); /* restore ctl0 as the floating point control register value */ storefpcr(ctl0); /* restore the default floating point error signal handler */ sigvec(SIGFPE,&old_sigvec,&new_sigvec); } /* end of ovfl.c */
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Changing the class hierarchy in a custom non-View IB palette Date: 14 Jan 1993 18:26:49 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1j4b99INNs05@darkstar.UCSC.EDU> Summary: Is there any easy way to do this? I am using 3.0's non-View IB custom palette capabilities to make the creation of nibs easier (don't have to add the custom class hierarchy to each nib manually) and to capture the uniqueness of each nib entirely by setting outlet variables in IB rather than writing custom delegate classes for each nib (sort of graphical rather than Objective-C programming). In order to test the implementation, I need to create quite a few different nibs. But if testing indicates that I need to change the class hierarchy in the custom palette to better model the behavior I'm seeking, I can no longer load an existing nib in IB using the changed custom palette. It seems that I need to maintain a nib containing just standard IB objects so that I can implement a new nib with my new custom palette class hierarchy in order to avoid having to start from scratch whenever I make a class hierarchy change. Am I missing some better approach? I realize that I should probably not create a custom palette until its class hierarchy is stable, but I never seem to know when I reach this point :-) The time savings using a custom palette versus doing all this manually is substantial, but maybe not substantial enough considering how difficult it seems to be to change a class hierarchy once a nib using a custom palette has been created. Any suggestions would be appreciated. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NeXT software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: nicolson@strauss.berkeley.edu (Ed Nicolson) Subject: linking libraries into custom palettes Message-ID: <1993Jan14.191716.23137@pasteur.Berkeley.EDU> Keywords: next Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Thu, 14 Jan 1993 19:17:16 GMT I am a new to this, so please excuse any inadvertant faux-pas... I have made a custom palette which has a view object representing a tcp/ip connection to another machine. We are using a library of functions (developed by LAAS in france) called "cpu" to simplify remote procedure call between different types of machines. If I comment out the code with calls to the library, and don't link in the library everything works fine. (I can load the palette in Interface builder and use it.) If I still leave the library call references commented out and then link the library into the palette by adding PALETTELDFLAGS = -all_load -lcpu -lvt3d to my MAKEFILE.preamble then I get the message "Can not load Palette" when I try to load the palette into interface builder. Incidently the library vt3d, which contains matrix manipulation code, when linked by itself does not cause this problem. The cpu library contains system calls such as bind(), setsockopt() etc. (This may be part of the problem) (The cpu library does work when linked with simple c language test programs) Questions: 1) What types of things cause the "Can not load palette error" 2) Do system calls to sockets present any problems for the dynamic linker, in particular when using "test interface" inside interface builder. 3) What mechanism is used to load and link object code from a custom palette into interface builder. Any help on this would be greatly appreciated. Responses to this newsgroup or to the email address below are fine. Ed Nicolson nicolson@robotics.berkeley.edu
Newsgroups: comp.sys.next.programmer From: jacksonc@uproar.enet.dec.com (Chris Jackson @ IME) Subject: How to get Palette Inspector focusing on current object ? Message-ID: <1993Jan14.170927.5329@rdg.dec.com> Keywords: Palette Inspector Sender: news@rdg.dec.com (Mr News) Organization: Digital Equipment Service Industries Solutions Company Ltd Date: Thu, 14 Jan 1993 17:09:27 GMT I am having a problem making the Inspector Panel for a class on a custom palette focus on a particular instance. For example, suppose the class has a foreground and background colour and these are inspectable from the Inspector Panel. If I focus on instance A and change its colours, all is fine. If I focus on instance B, the colours in the Inspector Panel remain the same as those for instance A. There must be a method I need to implement which tells me what the current instance is, or when the focus is changing ? Can anyone out there help, please ? Thanks in anticipation, Christopher Jackson.
Message-ID: <aw#@byu.edu> Date: Thu, 14 Jan 93 14:08:00 MST From: yackd@maine.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world Organization: Brigham Young University, Provo UT USA Subject: Music Kit Question I've been playing around a lot with getting background scores playing in my games, and have run up against a couple of problems. I can get either sound effects _or_ music to work quite well alone, but getting both simultaneously from the same app does not work. I have a few theories about why this is, and how to fix it...but if someone else has got sound playback and music working simultaneously from the same app already, I'd be interested in a few tips. I looked at the latest Ensemble, and it too can only do sound _or_ DSP synthesis, but not both together. Ack! Of course, if I spin off a separate process to play the scorefile and do the sounds from the game itself, everything works fine. This is easy with distributed objects, but I'd rather have my ScorePlayer object reside in the same process, since this is wholly inelegant. (It works, though.) Anyone who actually knows about how to get this working the _right_ way is invited to e-mail hints to me. DO NOT POST them...I'm really busy right now and may not see them. (PS...if someone could forward this to NeXTmusic, I'd appreciate it.) When I get this actually working, I'll post a summary if there's interest. And the new PacMan will contain the proper code to do it, as well, which is the best kind of summary :-). For the record, I'm using NS 3.0 and the 3.1 music kit (most recent version as far as I know). And, for those awaiting the Columns beta, you'll get something, one way or another...I just want a more reasonable way to do this... Thanks for any help. Later, -Don Yacktman
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1j4l35INN9vu@pith.uoregon.edu> Date: 14 Jan 93 21:14:13 GMT Article-I.D.: pith.1j4l35INN9vu References: <1993Jan14.035654.8281@godel.questor.wimsey.bc.ca> Organization: University of Oregon Network Services In article <1993Jan14.035654.8281@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca (Anthony Berno) writes: [munch...] > When I can do ANYTHING even REMOTELY like this in C++... > > if ([anObject respondsTo:@selector(image)]) > theImage = [anObject image]; Try void myClass::doSomething(AbstractSuperClassThatRespondsToImage& anOjbect) { theImage = anObject.image(); } (strong typing does have its advantages...) > > if ([droppedClass superClass] == [CoordinateSystem class]) > return YES; > I'm not sure _why_ you are trying to do this, so I can't help you... --bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: vin@netcom.com (Vin Locke) Subject: How big is my Window? Message-ID: <1993Jan14.221612.29869@netcom.com> Keywords: window, view, resize, windowDidResize Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Thu, 14 Jan 1993 22:16:12 GMT I would like my app to know know how big a my window is after a resize, so I can adjust the size and contents of my view accordingly. When I run the program through the debugger, I access the variable "window" and its values; so I tell the debugger to "print window.frame.size.height" and I get back the integer value (if it is a float, it's not printing a decimal point). Cool. I then tried to access this same value in the program in the same way, but the compiler barfs, complaining that there in no struct member called "frame" (I chopped it down to window.size.height, and it gave me the same message re "size"). I've been looking through the NeXTstep references, figuring there must be a method defined for the Window class that will return the dimensions of the window's frame -- no luck there. I tried accessing the "data" struct returned by an event, but no luck -- the returned value doesn't jive. This app requires that I have the dimensions of the window to redraw/ redesign the contents of the view -- the autoresize methods won't help me here, so I'm writing my own adjustment methods. Please tell. -- --vin vin@netcom.com ------------------------------------------------------------------------ If productivity can really be measured as the rate at which lines of code are produced, why not just use a tight loop to spew code as fast as possible, and send the programmers home? --Brad Cox
From: b_brottier@cubx.com Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan14.144833.29703@cubx.fdn.org> Date: 14 Jan 93 14:48:33 GMT References: <m#=3fhn@rpi.edu> Sender: news@cubx.fdn.org Organization: Cub'X Systemes, France. In article <m#=3fhn@rpi.edu> gad@eclipse.its.rpi.edu (Garance A. Drosehn) writes: | I really REALLY don't mean to encourage a religious war over languages, but | I hate *anyone* quoting a 3-line program and saying "See, this program | proves that everything in language X is better than everything in language | Y". You can't intelligently compare computer languages based on a tiny | snippet of code. AAAAAAAAAAAAAAAAAAAAAAmen !!!!!!! --------------------------- Bruno Brottier -- Responsable Formation Societe improve sa, 41-41 bis, avenue de l'Europe 78140 VELIZY Tel : (+33) (1) 30 70 60 56 Fax : (+33) (1) 30 70 89 36 E-mail: b_brottier@cubx.com -- [NeXTmail]
Newsgroups: comp.sys.next.programmer From: kessler@guide.stanford.edu (William Kessler) Subject: Consultancy Available Message-ID: <1993Jan15.003435.12794@leland.Stanford.EDU> Keywords: jobs, programming Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Fri, 15 Jan 93 00:34:35 GMT Hello NeXT aficianados, A colleague of mine owns a company called "Cardiac Mariners" in Sunnyvale. He is looking to code an application that will interactively display real-time EKG data of a human heart and slices through the heart on a NeXT or possibly SGI (although the NeXT would be better suited to everything except the 3D graphics option). I'm hoping that NeXT programmers interested in helping to create this application will send mail to: kessler@roses.stanford.edu I will then put you in contact with Cardiac Mariners. If this posting would be better placed on the marketplace bboard, please let me know. Thanks in advance-- Will Kessler kessler@roses.stanford.edu Rehabilition Research Division Dept. of Veterans Affairs 3801 Miranda Avenue/153 Palo Alto, CA 93404-1200 (415) 493-5000 x4478 (w/v-mail) FAX (415) 493-4919
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1j5eahINNk4h@pith.uoregon.edu> Date: 15 Jan 93 04:24:49 GMT Article-I.D.: pith.1j5eahINNk4h References: <1993Jan14.144833.29703@cubx.fdn.org> Organization: University of Oregon Network Services In article <1993Jan14.144833.29703@cubx.fdn.org> b_brottier@cubx.com writes: > In article <m#=3fhn@rpi.edu> gad@eclipse.its.rpi.edu (Garance A. Drosehn) > writes: > > | I really REALLY don't mean to encourage a religious war over languages, but > | I hate *anyone* quoting a 3-line program and saying "See, this program > | proves that everything in language X is better than everything in language > | Y". You can't intelligently compare computer languages based on a tiny > | snippet of code. > > AAAAAAAAAAAAAAAAAAAAAAmen !!!!!!! > > --------------------------- > Bruno Brottier -- Responsable Formation What if we read the post we are complaining about first? If my memory serves me correct I gave an example of operator overloading, and made the statement that it looked better than anything I can do in Obj-C. I didn't even come close to saying that ANY language is better than any other language (*sigh*). Of course it seems like some people are so religious about their language of choice that they absolutely will not tolerate any criticisms of it (*double sigh*). To these people I only have one suggestion... try learning another language (maybe even two or three..) Believe me, it will do you good. And just to fuel the flame a little bit more... I think this looks better than anything I can do in Obj-C also... member(X, [X|_]). member(X, [_|Y]) :- member(X, Y). which will test for list membership in Prolog (go to the library and find a book on Prolog). And is another proof that some languages are better suited to some problems than others, and that it should be up to the programmer, not the OS implementor which language to use (stuff about cost etc. not copied from earlier posts...) --bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: DBBinder troubles: SOLUTION Message-ID: <1993Jan14.205930.23331@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Thu, 14 Jan 1993 20:59:30 GMT Ah, but it turns out (as far as I can tell) that none of this is a problem if your use a container with your binder. That makes sense: instead of stepping through the return buffer one row at a time for a containerless binder, it runs through the whole buffer putting results on the list, and thus reaches the end by itself.
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: DBBinder troubles: SOLUTION Message-ID: <1993Jan14.204149.22812@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Thu, 14 Jan 1993 20:41:49 GMT Recap of my original post: I was using multiple binders (some under modules, some alone) with the same dbdatabase, and after using a binder to evaluate some sql, the next time I tried to do a fetch with one of the modules I got memory access exception errors. Something was not getting cleaned up, but I couldn't figure out what. Solution: After doing everything else, do a while ([binder setNext]); to clean out the connection's buffer. It seems like when the dbdatabase is requested to do a new fetch it (as interpreted by a Sybase adaptor) would first do something like while (dbnextrow(dbproc) != NO_MORE_ROWS); to clean things out, but that ain't the case. Many thanks to Jim Campbell and especially J. Patrick Hester. Colin Garrett
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: ada developement tools?? Message-ID: <63426@mimsy.umd.edu> Date: 15 Jan 93 04:40:44 GMT References: <63210@mimsy.umd.edu> <C0u4w1.CoD@iat.holonet.net> Sender: news@mimsy.umd.edu Distribution: comp Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <C0u4w1.CoD@iat.holonet.net> bwilliam@iat.holonet.net (Bill Williams) writes: > The manager of the Meridian Ada compiler sales dept. told me less than > about a year ago that only 2 copies of Meridian Ada were sold to NeXT users. The President of Meridian told me almost a year ago that they had sold many more. (an order of magnitude and integer factor more). They also showed NeXT OpenAda at TriAda. I have no doubt that the intersection of the NeXT and Ada market is small, but I'm glad that Meridian did port their compiler to NeXT. I'ld love to see both markets grow and think they would if the quality of the technology was the issue. Perhaps if NeXT makes inroads into the government and with Ada9X evolving into a much more object oriented language, there will be more NeXT Ada users. I'm probably the only person in the entire world that programs in Ada on a NeXT using a DVORAK keyboard. > Alex, did your organization buy one of the two sold or do you have a > promotional copy? Neither, my copy is by special arrangement, which means I shouldnt be advertising for them on the net - which I'm not - I just gave a phone number and a short honest statement about what worked and what didnt. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: ObjInspector.compressed on sonata no longer corrupt Message-ID: <63427@mimsy.umd.edu> Date: 15 Jan 93 05:36:41 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 The first copy of the WS Inspector ObjInspector I placed on sonata was corrupted somehow - as have been more and more files of late ?? - I placed a new copy there now & it seems ok. its also on cs.orst.edu if the problems arise again. (sure was alot of trouble to upload a simple little thing like this) -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: rfi@jeans.fokus.gmd.de (Robert Fischer) Subject: Re: How big is my Window? Message-ID: <1993Jan15.085824.26278@fokus.gmd.de> Sender: news@fokus.gmd.de (News system) Organization: GMD-Fokus References: <1993Jan14.221612.29869@netcom.com> Date: Fri, 15 Jan 1993 08:58:24 GMT In article <1993Jan14.221612.29869@netcom.com> vin@netcom.com (Vin Locke) writes: > > I would like my app to know know how big a my window is after a resize, > so I can adjust the size and contents of my view accordingly. > .. > I've been looking through the NeXTstep references, figuring there must > be a method defined for the Window class that will return the dimensions > of the window's frame -- no luck there. I tried accessing the "data" > struct returned by an event, but no luck -- the returned value doesn't jive. .. What's about this from "Reference": - getFrame:(NXRect *)theRect Returns the Window's frame rectangle by reference in theRect and returns self. The frame rectangle is always reckoned in the screen coordinate system. robert ------------------------------------------------------- Robert Fischer, bei GMD-Fokus, Berlin (Gesellschaft fuer Mathematik und Datenverarbeitung - Forschungszentrum fuer Offene Kommunikationssysteme) rfi@fokus.gmd.de ## NeXT-Mail willkommen ## -------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: Try this in Objective-C/C++ (Was Re: The Darker Side of C++) Message-ID: <1993Jan15.085432.8779@netcom.com> Sender: gordie@netcom.com Organization: Dolphin Software References: <1j4l35INN9vu@pith.uoregon.edu> Date: Fri, 15 Jan 1993 08:54:32 GMT In article <1j4l35INN9vu@pith.uoregon.edu> writes: > In article <1993Jan14.035654.8281@godel.questor.wimsey.bc.ca> > aberno@godel.questor.wimsey.bc.ca (Anthony Berno) writes: > [munch...] > > When I can do ANYTHING even REMOTELY like this in C++... > > > > if ([anObject respondsTo:@selector(image)]) > > theImage = [anObject image]; > > Try > > void myClass::doSomething(AbstractSuperClassThatRespondsToImage& anOjbect) > { > theImage = anObject.image(); > } > (strong typing does have its advantages...) And its disadvantages too. I think you missed what Anthony means here. Here's the deal. I'm trying to do a simple, clean iteration through a list and display any elements that are displayable. Strong type checking prevents this from even compiling, and without dynamic type checking, we can't even tell (much less slip past the compiler) the methods to display the element. // List class is a heterogenous collection of stuff // We don't know what is in it, but want to display displayable // stuff. To display an element we tell the imager to handle it // (making space on the screen), than tell the element to display itself. // In some cases, the imager can do something with the element, even if // the element cannot display itself (the imager may make a box for the // element, and default it to a grey background - if the element can // display, it will display itself over the background). Sometimes, though, // it is not appropriate to image or display the element (the element // could be a Sound object for instance), so the imager doesn't want to // do anything (or maybe passes a sound onto the SoundPlayer object). // The elements are of type ListElement, which would either be a mixin // (using multiple inheritence), or a base class. It doesn't neccessarily // image or display itself, we don't know what the Hell it does, since // it could have been dynamically loaded, passed over the net, or just // put in the list randomly. // This is the C++ version, which while simple won't even compile, // much less do what we want ... (ListElement doesn't have a display() // method, since not all ListElements can display. Also, it may not be // the right type to pass into Imager::image(ObjectThatCanImage& object)) // in fact, since ListElement does not inherit from ObjectThatCanImage // (since not all ListElements can image) this is another compile // time error. The strong typing here hurts us, rather than helps us. void func (List list, Imager imager) { ListElement* element; // Could use an iterator for the list, but keep it simple for (element = list.top(); element; element = list.next()) { // How do we test if element can be imaged? imager.handle (element); // How do we test if element can display()? element -> display(); } } // Now in Objective C, this is simple, and it works. void func (id <CollectionProtocol> list, Imager* imager) { id element; for (element = [list top]; element; element = [list next]) { // imager can tell if element conforms to correct protocol // if not, it won't image the object (See -handle:element) [imager handle:element]; // Only display object if it has a display method if ([element respondsTo:@selector(display)]) [element display]; } } // In the implementation of imager - handle:element { // Run time typing on element tells us if it conforms to // the ImageProtocol, and hence whether we want to do // something with it. if (! [element conformsTo:@protocol(ImageProtocol)] { // Doesn't conform, skip it (the conformsTo check could // have been done in the caller too ... return self; } // image the element ... } Now I personally like C++ a lot, and I also like Objective C (especially NeXT style) a lot. There's advantages to each language. I've used both to solve problems more elegantly than I would have in straight C, and with much more reuse. Other posters have rightly pointed out that code snippets often don't prove anything anyway. I do hope, though, that this one illustrates a powerful, elegant way to solve a certain class of problem in Objective C (and many other dynamically scoped languages too). > > Bjorn S. Fjeld Pettersen > bjorn@doek.uoregon.edu NextMail Welcomed > #include <std-disclaimer.h> > -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
Newsgroups: comp.sys.next.programmer From: ed@talus.com Subject: Pointing Device driver Message-ID: <1993Jan15.024428.2879@talus.com> Sender: ed@talus.com Organization: Talus Corporation Date: Fri, 15 Jan 1993 02:44:28 GMT Let's say I want to write a driver for a pointing device. I saw how the Wacom tablet work on the NeXT. Pressure sensitivity is not a problem yet but I might want to implement something similar to use the Z axis capabilities of my device later. It is easy to get info from it in a custom programm but I want it to override the mouse like Wacom tablets are doing in the entire environment. Does anybody knows how to do that ? Any pointers would be interesting, thanks in advance, Ed. --- Dieu n'est pas pour les gros bataillons, mais pour ceux qui tirent le mieux. God is on the side not of the heavy batallions, but of the best shots. Erik Dasque "The French guy" V.P. R&D Talus Corporation Houston (713) 561-0700 TeXT-mail/NeXTmail:ed@talus.com -- · Dieu n'est pas pour les gros bataillons, mais pour ceux qui tirent le mieux. God is on the side not of the heavy batallions,
From: hacker@access.digex.com (Dark Hacker) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Bug with nested macros? Date: 15 Jan 1993 15:23:41 GMT Organization: Express Access Online Communications, Greenbelt, MD USA Distribution: world Message-ID: <1j6kttINNa7c@mirror.digex.com> Is there some kind of problem with the GCC delivered with NS 3.0 and macros? I have a program that uses nexted macros and nested include files extensively ... all of this in ANSI C mind you... no Objcetive C or anything having to do with appkit. Now when I compile this program I get errors that look something like: blah_dee_func 620: Syntax error following ')' 642: Syntax error following ')' 649: Syntax error following ')' 680: Syntax error following ')' This is as close as I can remember it. Now the errors all occur on macro invocations. All of this worked under NS 2.1 too but uner NS 3.0, well.... Anybody know what's going on here? Should I back out to an old GCC or non-NeXT GCC? Is there a way to kludge or fix the existing system of even my code? - Hacker -- Dark Hacker @ Black Silicon, Fortress Of Computation hacker@black-silicon.mclean.va.us "Life itself is... COMPUTATION!"
Newsgroups: comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: Re: Distributed Objects question - How to "unrunFromAppKit" , "unregisterRoot"? Message-ID: <1993Jan15.180720.5277@hot.com> Sender: robertl@hot.com Organization: Hot Technologies References: <1993Jan13.091553.994@netcom.com> Date: Fri, 15 Jan 1993 18:07:20 GMT Will someone from NeXT please comment on this? Thanks, Robert La Ferla Hot Technologies In article <1993Jan13.091553.994@netcom.com> gordie@cyclesoft.com (Gordie Freedman) writes: > In an application that does a "server = [NXConnection registerRoot ...]" and > then "[server runFromAppKit]", how do you remove the root object from the name > server (unregisterRoot for lack of a better term), and close the DPS port > created by runFromAppKit? > > Mainly, I'm trying to dynamically create and destroy servers (which are managed > by one central metaserver), I can create them, but can't stop them (Jane, how > do you stop this crazy thing!?) > > I looked in the digi lib docs for NXConnection, and see +removeObject:anObject, > and the instance method -free, I'm not sure what the ramifications of calling > these methods are. Also I thought of closing the port returned by -inPort, but > I'm grabbing straws here. > > Any help appreciated - thanks in advance > > > > -- > >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! > >>> Thou shalt not inline functions more complicated than 20
From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Newsgroups: comp.sys.next.programmer Subject: Re: Try this in Objective-C/C++ (Was Re: The Darker Side of C++) Message-ID: <1993Jan15.151156.4422@dvorak.amd.com> Date: 15 Jan 93 15:11:56 GMT References: <1993Jan15.085432.8779@netcom.com> Sender: usenet@dvorak.amd.com (Usenet News) Distribution: usa Organization: Advanced Micro Devices, Inc.; Austin, Texas In article <1993Jan15.085432.8779@netcom.com> gordie@cyclesoft.com (Gordie Freedman) writes: [munch munch] >>Here's the deal. I'm trying to do a simple, clean iteration through a list >>and display any elements that are displayable. Strong type checking prevents >>this from even compiling, and without dynamic type checking, we can't even >>tell (much less slip past the compiler) the methods to display the element. >> >>// List class is a heterogenous collection of stuff >>// We don't know what is in it, but want to display displayable >>// stuff. To display an element we tell the imager to handle it >>// (making space on the screen), than tell the element to display itself. >> >>// In some cases, the imager can do something with the element, even if >>// the element cannot display itself (the imager may make a box for the >>// element, and default it to a grey background - if the element can >>// display, it will display itself over the background). Sometimes, though, >>// it is not appropriate to image or display the element (the element >>// could be a Sound object for instance), so the imager doesn't want to >>// do anything (or maybe passes a sound onto the SoundPlayer object). >> >>// The elements are of type ListElement, which would either be a mixin >>// (using multiple inheritence), or a base class. It doesn't neccessarily >>// image or display itself, we don't know what the Hell it does, since >>// it could have been dynamically loaded, passed over the net, or just >>// put in the list randomly. >> [bw preserved] >>// Now in Objective C, this is simple, and it works. >> >>void func (id <CollectionProtocol> list, Imager* imager) >>{ >> id element; >> >> for (element = [list top]; element; element = [list next]) >> { >> // imager can tell if element conforms to correct protocol >> // if not, it won't image the object (See -handle:element) >> [imager handle:element]; >> // Only display object if it has a display method >> if ([element respondsTo:@selector(display)]) >> [element display]; >> } >>} >> >>// In the implementation of imager >> >>- handle:element >>{ >> // Run time typing on element tells us if it conforms to >> // the ImageProtocol, and hence whether we want to do >> // something with it. >> if (! [element conformsTo:@protocol(ImageProtocol)] >> { >> // Doesn't conform, skip it (the conformsTo check could >> // have been done in the caller too ... >> return self; >> } >> // image the element ... >>} >> >>Now I personally like C++ a lot, and I also like Objective C (especially NeXT >>style) a lot. There's advantages to each language. I've used both to solve >>problems more elegantly than I would have in straight C, and with much more >>reuse. >> >>Other posters have rightly pointed out that code snippets often don't prove >>anything anyway. I do hope, though, that this one illustrates a powerful, >>elegant way to solve a certain class of problem in Objective C (and many other >>dynamically scoped languages too). Hey, I wanna play too! In Smalltalk this might look like: ------------------------------------------------------------------- display:aCollection with:anImager aCollection do:[:anElement | anElement respondsTo:#display ifTrue[imager display:anElement]] ------------------------------------------------------------------- Short,sweet and to the point. The down side: Since Smalltalk's compiler ignores protocols and categories you would have to implement all that behavior yourself (I suspect way up there in the metaclass class...Scary!) I'm not sure who said it but I think he was right - some languages are better for some things and other languages are better for other things. Deep huh? I have limited experience with Smalltalk, Obj-C, and C++. I doesn't take a rocket scientist to see that Smalltalk is purely OO, Obj-C encourages the OO style, paradigm (are we still allowed to use that word :-) ) whatever, more elegantly than C++, and C++...err...well is at the bottom of the stack of OO languages (excluding things like ObjectCobol etc.). The only (I repeat) only things I would like to add to Obj-C is operator overloading. I can live without constructors, destructors, virtual functions and all that muck. Disclamer: The preceding was only an opinion - flame me if you must. -- Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; Advanced Micro Devices [self dream-on]; CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Format of Active.mbox/table_of_contents? Message-ID: <1074@rtbrain.rightbrain.com> Date: 15 Jan 93 17:23:06 GMT Sender: glenn@rightbrain.com I'm looking for any code, information, documentation, or even folklore about the structure of the "table_of_contents" files in mail folders (for one of our "mission-critical" custom apps we use here at RightBrain). Anybody have any info or pointers? Thanks, Glenn -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.programmer From: se16@titus.nextlab.cs.qub.ac.uk (Infinity) Subject: Help on DB libraries Message-ID: <1993Jan15.164536.3737@ousrvr.oulu.fi> Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Fri, 15 Jan 1993 16:45:36 GMT I am relatively new to the NeXT environment and I have already become quite comfortable creating small applications. Up until now I have had no need to incorporate complicated database functionality into my programs, this has now changed. I assume that NeXT STeP has some database functionality perhaps even providing a SQL type interface, but I have searched long and hard for these elusive routines and have found nothing. Can anyone point me in the correct direction. If these functionalities are not provided with "vanilla" NeXT STeP I would be greatfull to be informed of where and how I can attain them. Paul. +-----------------------------+ | Arbitrary Satirical Comment | +-----------------------------+
Newsgroups: comp.sys.next.programmer From: songer@lexmark.com (Christopher Songer) Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <1993Jan15.154239.153813@lexmark.com> Sender: usenet@lexmark.com (News Dude) Organization: Lexington, KY References: <SCOTT.93Jan13115938@nic.gac.edu> <1j3bjdINNplv@pith.uoregon.edu> Distribution: usa Date: Fri, 15 Jan 1993 15:42:39 GMT In article bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: > >BTW... if Obj-C is such a wonderful language for everything between heaven and >earth (as some people here seem to believe) why aren't basic things like >NXPoint, NXSize etc. etc. etc. implemented as objects? Is it too slow? I know >C++ could do this as fast as any ANSI C... > The most intelligent comment on the differences between C++ and ObjC I've ever heard was that C++ was very good for "low-level" objects -- for objects which represent simple things like NXPoints, NXSizes, ect. Whereas Objective C is much beter for higher level more complex objects. There is no question that an implementation of the Next data types as ObjectiveC objects would be a disaster. There is also no question that an attempt to use C++ for the interface to the Next Appkit would also be a disaster. -Chris
From: stu@enki.ee.umist.ac.uk (Stuart Quick) Newsgroups: comp.sys.next.programmer Subject: Can I diddle with the USP under mach ? Message-ID: <1993Jan15.181352.19922@nessie.mcc.ac.uk> Date: 15 Jan 93 18:13:52 GMT Sender: news@nessie.mcc.ac.uk (Usenet News System) Organization: Manchester Computing Centre The subject heading says it all. I am attempting to schedule a substantial number of process in user space with my own non-preemptive scheduler. (I have to do this because speed is of the essence). Does anyone know if mach on the NeXT makes any assumptions where the usp exists ? Presently, I am mallocing stacks in the data heap. All sorts of peculiar things are happening ! Incidently, I am saving the 68k register set. Thanks for any help ! Stuart
From: droberts@ra.cs.umb.edu (Drake M. Roberts) Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: JPG images Message-ID: <1993Jan15.174512.26537@cs.umb.edu> Date: 15 Jan 93 17:45:12 GMT Sender: news@cs.umb.edu (USENET News System) Organization: University of Massachusetts at Boston Are there any apps for the NeXT which can view JPG images? Are there any objects which I can use to view JPG images in my own apps?
Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <SCOTT.93Jan15121145@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 15 Jan 93 12:11:45 References: <1993Jan13.163953.9462@kakwa.ucs.ualberta.ca> Organization: Is a sign of weakness <1993Jan14.220402.26983@pencom.com> NNTP-Posting-Host: nic.gac.edu In-reply-to: ricardo@pencom.com's message of 14 Jan 93 22:04:02 GMT In article <1993Jan14.220402.26983@pencom.com> ricardo@pencom.com (Ricardo Parada) writes: > In article <1993Jan13.163953.9462@kakwa.ucs.ualberta.ca> > gary@nshade.uah.ualberta.ca (Gary Ritchie) writes: > > [comments about C++ versus Obj-C deleted] > > > > Oh no, not again. Quick! Deflect this discussion into > > comp.lang.objective-c before it's too late. That group can use the > > traffic. > > Yeah, I think it should be pretty clear by now for anyone that > has followed the long thread > > **** Re: Why, Why, WHYYYY?? USE OBJECTIVE-C for IB?? **** > > that Objective-C is the clear winner regardless of some little nice > features of C++ that are really not all that significant. Sigh. If you had _really_ followed the long thread, you would have realized that the only clear thing is that the entire C++ vs. Objective-C debate is propelled mainly by people with the attitude you just expounded (ie, strong attitudes without any background describing where the attitude came from). OBPoV: C is slick. C++ appeals to long-time C hackers, because the object-oriented stuff is designed from a C standpoint, with each object-oriented feature done in isolation (hacker heaven). Objective-C appeals to people with experience with other object-oriented languages, because the object-oriented part was designed first to be similar to languages like Smalltalk, and the object-oriented features fall from that. Unfortunately, I've found that neither language is all that decent in terms of being an object-oriented language. But C++ is a syntactic and semantic nightmare, and the conclusion I have come to is that though Objective-C is not a very good object-oriented language, the fact that a person with a normal brainpan can comprehend the language in its entirety is a very strong point in the argument. This point stems from the fact that far from having "some little nice features", C++ has a _lot_ of "little nice features", so many of them that it's often hard to see the forest because the trees get in the way. If your language can do everything, great - but if you cannot control it, then it didn't do you much good. C++ is sort of like driving a big dirt bike - some people can fly, but the majority of people end up on their asses ... the main problem is that most of the C++ programmers who weren't capable of controlling their language and ended up on their asses haven't realized it, yet ... Personally, if the future is either C++ _or_ Objective-C, I wish someone would tell me now so that I can work to avoid it ... Later, -- scott hess <shess@ssesco.com> <And my trusty sidekick, Decoy> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer From: abc@object.com (Alex Cone) Subject: Re: Creating libraries? Message-ID: <1993Jan15.191802.12093@object.com> Keywords: make library Sender: abc@object.com Organization: Objective Technologies,Inc. References: <1j21fnINNahp@menudo.uh.edu> Date: Fri, 15 Jan 93 19:18:02 GMT In article <1j21fnINNahp@menudo.uh.edu> sears@tree.egr.uh.edu (Paul S. Sears) writes: > > A user of mine has asked how to create his own library to use against the > linker. We investigated the man pages for cc, ar, ld and ranlib but we > are still unable to create our own library. Can some specify the > procedure for creating a library? > > Thanks. > > -- > Paul S. Sears * sears@uh.edu (NeXT Mail OK) > The University of Houston * suggestions@tree.egr.uh.edu (NeXT > Engineering Computing Center * comments, complaints, questions) > NeXT System Administration * DoD#1967 '83 NightHawk 650SC Paul - Put these lines in your makefile.postamble: LIBOFILES = $(PSWFILES:.psw=.o) $(PSWMFILES:.pswm=.o) $(CLASSES:.m=.o) \ $(CFILES:.c=.o) LIBDIR = /usr/local/lib .linstall:: $(DSTROOT)$(LIBDIR) lib rm -f $(DSTROOT)$(LIBDIR)/lib$(NAME).a cp lib$(NAME).a $(DSTROOT)$(LIBDIR) ranlib $(DSTROOT)$(LIBDIR)/lib$(NAME).a @ echo > .linstall lib$(NAME).a : $(LIBOFILES) ar crvl lib$(NAME).a $? ranlib lib$(NAME).a installlib : .linstall lib : lib$(NAME).a Type make lib to create a library, type make installlib to install the library (in this case in /usr/local/lib). Enjoy! Alex B. Cone Objective Technologies, Inc. abc@object.com
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: Format of Active.mbox/table_of_contents? Date: 16 Jan 1993 01:35:40 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1j7opc$afm@agate.berkeley.edu> References: <1074@rtbrain.rightbrain.com> In article <1074@rtbrain.rightbrain.com> glenn@rightbrain.com (Glenn Reid) writes: >I'm looking for any code, information, documentation, or even folklore >about the structure of the "table_of_contents" files in mail folders >(for one of our "mission-critical" custom apps we use here at RightBrain). >Anybody have any info or pointers? > Yes. /* MailTOC_Dump.c - Program to dump Mailbox table_of_contents to stdout. Based on info provided by Chris Paris cap+@cmu.edu. Get file "mailforward*.tar.Z" from the archive and see index_files.rtf in it. This should be run in a ~/Mailboxes/*.mbox directory where file table_of_contents is in the current directory. */ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <sys/types.h> #include <sys/stat.h> typedef struct table_of_contents_header { long magic; /* magic number: 0xd9758 */ long num_msgs; /* number of messages in mbox */ long mbox_time; /* the m_time of mbox */ float listview_height; /* height of upper section of split view containing list */ float llx; /* lower left X coordinate of window */ float lly; /* lower left Y coordinate */ float width; /* width of window */ float height; /* height of window */ } MailTocHeader; typedef struct message_index { long record_length; /* the length of this record, including this word */ long message_offset; /* offset in mbox where this message begins */ long message_length; /* length in bytes of this message in mbox */ long message_date; /* the date of this message */ char status; /* read, unread, deleted */ char msgtype; /* regular or NeXT mail */ char mystery[2]; /* I don't know what these are */ } MailMsgIndex; main() { FILE *fp; MailTocHeader header; MailMsgIndex mindex; int nread, i, c; unsigned long year, month, day; fp = fopen("table_of_contents", "r"); if(fp == NULL) { fprintf(stderr, "Can't open table_of_contents file.\n"); fprintf(stderr, "Run within a ~/Mailboxes/*.mbox directory.\n"); exit(1); } nread = fread(&header, (size_t)sizeof(MailTocHeader), 1, fp); if(nread==0) { fprintf(stderr,"No header could be read.\n"); exit(2); } /* dump header info */ printf("Magic (should be 0xd9758): 0x%lx\n", header.magic); printf("# of messages: %ld\n", header.num_msgs); printf("Modification time of mbox: %s", ctime(&header.mbox_time)); printf("Height of message list view: %.1f\n",header.listview_height); printf("Window Origin(x,y)=(%.f, %.f), Size(w,h)=(%.f, %.f)\n", header.llx, header.lly, header.width, header.height); /* Now, dump records for each message */ for(i=0; i<header.num_msgs; i++) { nread = fread(&mindex, (size_t)sizeof(MailMsgIndex), 1, fp); if(nread == 0) { fprintf(stderr,"Premature EOF\n"); exit(3); } printf("---[%d]---\n", i+1); printf("Record Length: %ld\n", mindex.record_length); printf("Message Offset into mbox: %ld\n", mindex.message_offset); printf("Message Length (bytes): %ld\n", mindex.message_length); day = month = year = mindex.message_date; year >>= 9; month >>= 5; month &= 0xf; day &= 0x1f; printf("Message Date (Y-M-D): %d-%d-%d\n", year, month, day); printf("Status: Read( ), Last-Read(>), Unread(*), Deleted(d): [%c]\n", mindex.status); printf("NeXTmail(r) or regular ( ): [%c]\n",mindex.msgtype); printf("Mystery byte-1: %d (dec), [%c]\n", (int)(mindex.mystery[0]), mindex.mystery[0]); printf("Mystery byte-2: %d (dec), [%c]\n", (int)(mindex.mystery[1]), mindex.mystery[1]); printf("From: "); while((c=fgetc(fp)) != (int)'\0') putchar(c); printf("\nSubject: "); while((c=fgetc(fp)) != (int)'\0') putchar(c); printf("\nAttachment Dir: "); while((c=fgetc(fp)) != (int)'\0') putchar(c); printf("\n"); } printf("---End of TOC---\n"); fclose(fp); } -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: klui@corp.hp.com (Ken Lui) Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: Re: JPG images Date: 16 Jan 1993 01:59:28 GMT Organization: Hewlett-Packard Company Message-ID: <1j7q60INN89i@hpscit.sc.hp.com> References: <1993Jan15.174512.26537@cs.umb.edu> In article <1993Jan15.174512.26537@cs.umb.edu> droberts@ra.cs.umb.edu (Drake M. Roberts) writes: >Are there any apps for the NeXT which can view JPG images? ImageViewer, in sonata.cc.purdue.edu, will view JFIF images. The bad thing is that ImageViewer has a memory leak--making your swap file grow larger, and larger, and larger... Ken -- Kenneth K.F. Lui, klui@corp.hp.com 3000 Hanover Street MS20BJ Corporate Administrative Information Systems Palo Alto, CA 94304 USA Core Application Technologies 1(415)857-3230 Fax 1(415)852-8026
From: da0g+@andrew.cmu.edu (David Apfelbaum) Newsgroups: comp.sys.next.programmer Subject: Help w/ a complicated DBQualifier Message-ID: <YfJq2Qq00WA70WSqli@andrew.cmu.edu> Date: 15 Jan 93 15:10:52 GMT Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA I'm beating my head against a wall here... Would anyone know how to build a DBQualifier equivalent to: select X,Y,Z from Alpha_Table where X in (select X from Beta_Table where "Some_Condition"); I have a particularly gruesome application that requires such a search on some large tables... Any ideas? Or does anyone know if it CAN"T be done? -David da0g+@andrew.cmu.edu P.S> I'm working with the Oracle-adapter, if that matters. (Which it shouldn't, but it might... The adapters are "computationally challenged" in minor ways...)
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Can code distinguish between turbo and non-turbo? Message-ID: <7378@ucsbcsl.ucsb.edu> Date: 15 Jan 93 18:57:42 GMT Sender: root@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, UCSB Is there a way, at run time, for a program to determine whether it is running on a Turbo or a non-Turbo machine? I have a program that needs to know, because of differences in the dma chips between the two types of machines. Thanks. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Organization: University of Illinois at Chicago Date: Fri, 15 Jan 1993 16:56:24 CST From: <U54876@uicvm.uic.edu> Message-ID: <93015.165624U54876@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: Reversing grey scale color space? Q. My app reads raw bitmap image data from a file and is used to init an instance of NXBitmapImageRep, using a monochromatic color space (i.e. with the help of the method: initData:pixelsWide:pixelsHigh:bitsPerSample: samplesPerPixel:hasAlpha:isPlanar:colorSpace:bytesPerRow:bitsPerPixel). I then give an NXImage object instance full ownership of this NXBitmapImageRep instance (i.e. [image useRepresentation:bitmap]). In my interface, I want to give the user the option of "flipping" (inversing) the monochromatic bits (essentially, this reverses the grey scale). Is there any fast way of doing this (either by altering the NXBitmapImageRep instance), or, better yet, via TIFF or Postscript methods? I'd rather not have to go back and re-read the data using the inverse colorspace (i.e. NX_OneIsWhiteColorSpace vs. NX_OneIsBlackColorSpace). Thank you. Brendan Larson WeatherLabs, Inc.
Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Date: Fri, 15 Jan 93 22:51:06 -0500 From: cap+@cmu.edu (Chris Paris) Newsgroups: comp.sys.next.programmer Message-ID: <EfJsObX0_ek1Q6nU48@andrew.cmu.edu> Subject: Re: Format of Active.mbox/table_of_contents? I figured this out last year, more or less, with some holes filled in the first attempt by others. Get the file submissions/mailforward_1.2.tar.Z from sonata. This is a perl script that acts as a mail filter to place incoming mail in different folders depending on headers in the message. Part of the package is a rtf file documenting the table_of_contents file format. -- Chris Paris cap+@cmu.edu (NeXT mail)
From: asah@cory.Berkeley.EDU (Adam Sah) Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy Subject: the state of the art in GUI software development Date: 16 Jan 93 02:26:23 Organization: Plasma Theory and Simulation Group Distribution: world Message-ID: <ASAH.93Jan16022623@tyranny.cory.Berkeley.EDU> I am trying to put together a survey report on the state of the art in GUI software development, and in particular to talk about different environments in terms of the following issues: - recompilation times for large commercial products. (the toys and demos that you see most of the time are fast, but once you get a million lines of code- and it's not clear that the GAFFC (Get a Faster ---- Computer) solution is applicable, since code sizes seems to be increasing. - ability to design + describe the GUI interface for an app, where GUI objects (ie. dialog boxes) contain constraint-based mechanisms (ie. this button will be 10% away from this wall, _not_ a constant <x> pixels) - ability to modify the GUI for an _live_ (running) application, save the changes and have those changes (possibly) be carried over into later executions of that same program. - ease of creating custom GUI widgets (ie. scrollbars, pushbuttons, etc.), both where your widget obviously inherits (in an OOP language) or code-inherits (in a lang. w/o inheritance) from previous widgets - as well as creating new widgets where previously built widgets aren't very close in terms of either look or functionality (ie. the closest thing to inherit from is a drawing-board widget) - ease of testing of apps with GUI front-ends. Can you play a script which explicitly tests the software as if a user had tried pressing the buttons, etc. ? My understanding is that NeXT's CASE (CASE-like?) environment provides solutions in response to these some/all of these needs. I would appreciate any/all responces on how NextSTEP (and the software currently available for the environment) address these issues. (in case it's not obvious, I'm trying to sell some money-men on the concept of NeXTSTEP, in particular, NeXTSTEP-486) If you post your responce back to the group, I'd also appreciate an email copy sent to me at asah@cs.berkeley.edu -- Thanks again, -A.Sah'93 ...Adam Sah...asah@cs.Berkeley.EDU...stuck in hell, I mean graduate school...
Newsgroups: comp.sys.next.programmer From: georgeh@athena.mit.edu (George A Heintzelman) Subject: Trouble with ndbm databases Message-ID: <1993Jan16.162918.8027@athena.mit.edu> Summary: Know anything about ndbm on the NeXT? Help! Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Date: Sat, 16 Jan 1993 16:29:18 GMT Alright. I'm having trouble using the ndbm routines on a NeXT mach machine. Understand that this is not my usual machine, nor is the code I am trying to run written by me; but neither the code authors nor the sysadmin have been able to help, so I turn to the net. Stated simply: The program crashes when it first calls dbm_firstkey(dbp), on either en existing database or one that was sitting around. Investigation with a debugger shows some information: First, despite the fact that dbm_firstkey is defined to be of type 'datum' in ndbm.h, the debugger, when queried, tells me that it is of type int. I do not know why this is. (Oh, if it matters (which I think it shouldn't), I am compiling with the -fpcc-struct-return flag.) Second, the dbp structure in question. When it is passed, it is: dbm_dirf: 10 dbm_pagf: 8 dbm_flags: 0 dbm_maxbno: -1 dbm_bitno: 0 dbm_hmask: 0 dbm_blkptr: 0 dbm_keyptr: 0 dbm_blkno: 0 dbm_pagbno: -1 dbm_pagbuf: {Filename.dir, \000's} dbm_dirbno: -1 dbm_dirbuf: {\000's}. Calling this, it generates a memory protection error, trying to reference 0x0. After the error is generated, the dbp structure is the same except for dbm_blkptr: 1 dbm_pagbno: 0 dbm_pagbuf: {All \000's} Well, that's my problem. Any help would be appreciated, replies via email are strongly preferred, since I don't usually read this group. Thanks in advance for your help. George Heintzelman georgeh@athena.mit.edu
Newsgroups: comp.sys.next.programmer From: marcel@opal.cs.tu-berlin.de (Marcel Weiher) Subject: How to get SCSI block numbers? Message-ID: <1993Jan16.171755.27816@cs.tu-berlin.de> Summary: Is it possible to get the SCSI block numbers for a file Keywords: SCSI,filesystem Sender: news@cs.tu-berlin.de Organization: Techn. University of Berlin, Germany Date: Sat, 16 Jan 1993 17:17:55 GMT Does anybody know how I can get the SCSI block numbers of a normal file on the NeXT? I'd prefer not to re-implement the UNIX filesystem. After all the filesystem does this all the time, so I'm hoping there is some hook that I can plug into. Thanks, Marcel
Newsgroups: comp.sys.next.programmer From: ed@talus.com Subject: Re: Documentation for writing DBKit adaptor Message-ID: <1993Jan16.003534.1270@talus.com> Sender: ed@talus.com Organization: Talus Corporation References: <1993Jan14.132842.29437@email.tuwien.ac.at> Date: Sat, 16 Jan 1993 00:35:34 GMT In article <1993Jan14.132842.29437@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: > > I just loaded up AdaptorDoku.tar.Z to > sonata.cc.purdue.edu:/pub/next/submissions (sorry for the k in Doku, I > discovered it too late). Here the README file: > > ... > > -- > == Andreas == > Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail > accepted. > It seems to be corrupted... right ? Ed. -- Erik Dasque "The French guy" Houston (713) 561-0700 V.P. R&D, Talus Corporation TeXT-mail/NeXTmail:ed@talus.com Where do I sign ? Here ? Oh HERE ? Here Right ? Ok... Ed.
Newsgroups: comp.sys.next.programmer From: vantomme@ems.music.mcgill.ca (Jason Vantomme) Subject: How do you set digit width in a cell? Message-ID: <1993Jan16.225146.8192@thunder.mcrcim.mcgill.edu> Keywords: float, cell Sender: news@thunder.mcrcim.mcgill.edu Organization: McGill Research Centre for Intelligent Machines Date: Sat, 16 Jan 93 22:51:46 GMT How do you set the number of digits that you can fit into a cell? After six digits I get the 'E' shorthand and the cell's form is at least twice as big as the number, so I know it's not a function of that size. I really need those numbers, there must be a way.... Jason Vantomme.
Newsgroups: comp.sys.next.programmer From: andrew@cubetech.com (Andrew Loewenstern) Subject: Re: Can code distinguish between turbo and non-turbo? Message-ID: <1993Jan17.004158.26775@cubetech.com> Organization: Cube Technologies, Inc. References: <7378@ucsbcsl.ucsb.edu> Date: Sun, 17 Jan 1993 00:41:58 GMT In article <7378@ucsbcsl.ucsb.edu> doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) writes: >Is there a way, at run time, for a program to determine whether it is running >on a Turbo or a non-Turbo machine? I have a program that needs to know, >because of differences in the dma chips between the two types of machines. There's a whole set of Mach interfaces for finding out what the hardware is like. Check out the host_info, processor_info, etc... functions in the MachFunctions.rtf doc... andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
From: hacker@access.digex.com (Dark Hacker) Newsgroups: comp.sys.next.programmer Subject: Re: The Darker Side of C++ (forwarded) Date: 17 Jan 1993 03:22:50 GMT Organization: Express Access Online Communications, Greenbelt, MD USA Message-ID: <1jajeaINNamc@mirror.digex.com> References: <1iv5ijINN8ba@pith.uoregon.edu> <1993Jan14.035654.8281@godel.questor.wimsey.bc.ca> >When I can do ANYTHING even REMOTELY like this in C++... > >if ([anObject respondsTo:@selector(image)]) > theImage = [anObject image]; > >... or ... > >if ([droppedClass superClass] == [CoordinateSystem class]) > return YES; The later is possible in some varients of C++ as an implementation feature (read kludge). Typically this takes the form of: if ( isMemberOf(object, MyClass) ) { ... blah blah } - Hacker -- Dark Hacker @ Black Silicon, Fortress Of Computation hacker@black-silicon.mclean.va.us "Life itself is... COMPUTATION!"
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: andrew@cubetech.com (Andrew Loewenstern) Subject: Re: JPG images Message-ID: <1993Jan17.004612.26930@cubetech.com> Organization: Cube Technologies, Inc. References: <1993Jan15.174512.26537@cs.umb.edu> Date: Sun, 17 Jan 1993 00:46:12 GMT In article <1993Jan15.174512.26537@cs.umb.edu> droberts@ra.cs.umb.edu (Drake M. Roberts) writes: >Are there any apps for the NeXT which can view JPG images? >Are there any objects which I can use to view JPG images in my own apps? GraphicsWorkshop will view them along with most of the other formats supported by pbmplus. It's free on sonata... andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: henry@trilithon.mpk.ca.us (Henry McGilton) Subject: doubleValue Problem Message-ID: <1993Jan17.035518.8529@trilithon.mpk.ca.us> Sender: henry@trilithon.mpk.ca.us Organization: Trilithon Software Date: Sun, 17 Jan 1993 03:55:18 GMT A friend claims to be having trouble with doubleValue -- says it's rounding to a single value. This is on 3.0 and ``it used to work''. I have a very vague recollection there was a thread on this a while back, but I can't find the thread. Are the comp.syst.next.* groups archived somewhere? Yes -- I read the FAQ. Thanks, ........ Henry
From: ralf@reswi.en.open.de (Ralf E. Stranzenbach) Newsgroups: comp.sys.next.programmer Subject: Re: SYBASE IAC Date: 16 Jan 1993 23:33:34 GMT Organization: News Server fuer en.open.de Message-ID: <RALF.93Jan17003331@jodokus.en.open.de> References: <93011.162500HEISINC@DMSWWU1A.UNI-MUENSTER.DE> In-reply-to: christoph heising's message of Monday, 11 Jan 1993 16:25:00 MEZ >>>>> "christoph" == christoph heising <HEISINC@DMSWWU1A.UNI-MUENSTER.DE> writes: Hi, christoph> Does anybody know if it–s possible to initiate inter christoph> process communication from within SYBASE. We intend to christoph> post object ids to remote applications... Uups... Please, don't do THAT ! An object id is - as seen by the cpu - just the address of a storage area in the address-space of the actual process. If you put this id into the database, this id makes no sense to *any* other process. It's better to put the objects themselfes into the database using the object's -read: and -write: methods. - ralf -- Ralf E.Stranzenbach - (NeXT)-Mail: ralf@reswi.en.open.de Fido: Ralf_Stranzenbach 2:245/5800.12 (Voice)-Phone: +49 2302 / 68403 -- bootfaehig: Qualifikationsmerkmal eines PC-Spezialisten. Ein Anfaenger hat auf einem wertvollen Lehrgang endlich so viel von der elektronischen Datenverarbeitung gelernt, dass er am Personalcomputer nicht mehr ins Schwimmen geraten kann. Er darf und kann jetzt den Rechner ganz alleine und ohne Aufsicht ein- und problemlos sogar wieder ausschalten, ohne dass die Gefahr besteht, dass er hilflos untergeht. Das Zertifikat ihn dabei offiziell zum bootfaehigen PC-Bootsmaat.
From: aking@BBN.COM (Allen King) Newsgroups: comp.sys.next.programmer Subject: Offscreen drawing of views with subviews Date: 18 Jan 1993 00:54:55 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA Distribution: world Message-ID: <lljvuvINNhuc@news.bbn.com> I have a view with many subviews, representing a hierarchically structured musical image, which I would like to drag around the screen in a music composition program I'm writing. How do I draw the view with subviews into an offscreen buffer? The way to do it if there are no subviews is clear: dragImage = [[NXImage alloc] initSize :&underRect.size]; [dragImage useCacheWithDepth :NX_DefaultDepth]; [dragImage lockFocus]; NXSetColor(NXConvertRGBAToColor(1.0, 1.0, 1.0, 0.0)); NXRectFill(&underRect); [self drawSelf :&underRect :1]; [dragImage unlockFocus]; But my images have many subviews, hierarchically! I've tried the following approaches, and bumped my head on each: 1. Use [self display] instead of [self drawSelf ...], but that doesn't work. The former does its own lockFocus, and I'd guess that [View lockFocus] undoes the [NXImage lockFocus] or something, but nothing gets displayed. 2. Scan through all subviews "by hand", recursively. I could do that easy. Only I haven't figured out how to set up the transformation matrices in postscript, etc. If this is the way to do it, I need a wee bit of help to get going! Thanks for any help. Currently I have it set up not to use alpha if there are any subviews, and that looks broken.
From: hacker@access.digex.com (Dark Hacker) Newsgroups: comp.sys.next.programmer Subject: Re: Try this in Objective-C/C++ (Was Re: The Darker Side of C++) Date: 18 Jan 1993 02:37:04 GMT Organization: Express Access Online Communications, Greenbelt, MD USA Distribution: usa Message-ID: <1jd54gINNh2b@mirror.digex.com> References: <1993Jan15.085432.8779@netcom.com> <1993Jan15.151156.4422@dvorak.amd.com> Well, I happen to like C++ but for some reasons. I dislike C++ for other reasons. C++ is effecient and a nice middle ground between "real" OOP languages and C. I like to think of C++ as C with lots of extensions. The OOP nature of C++ is quite explicit. In fact the language is right there "in your face" all the time. As such you can see what's going on fairly easily. The class structure is fairly obvious and what it does (let's ignore MI for the moment). There are some things that Objective C doesn't have that C++ does have that I'd like to see in Objective C. Initializers for one. Constructors and destructors would be handy too. Multiple inheritence would be useful but that's a religious issue and I don't want to open this can of worms. Objective C is so nice for the flexibility and the high degree of "bang for the buck" you get out of it. This is why Objective C is a win for large complex projects (particular on the NeXT). Gotta run... worlds to crush... populations to subjugate... - Hacker -- Dark Hacker @ Black Silicon, Fortress Of Computation hacker@black-silicon.mclean.va.us "Life itself is... COMPUTATION!"
From: szatrows@gandalf.rutgers.edu (John Kheit) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: NUCA (Reminder) Message-ID: <Jan.18.00.20.58.1993.6235@gandalf.rutgers.edu> Date: 18 Jan 93 05:20:58 GMT References: <1993Jan14.102122.25236@macc.wisc.edu> <1993Jan17.174325.18609@squid9.cuc.ab.ca> Followup-To: comp.sys.next.misc Organization: Rutgers Univ., New Brunswick, N.J. N U C A---Reminder---Reminder---Reminder---Reminder---Reminder NeXT Users' Choice Awards---Thanks to Conrad Geiger for the name! I will take submissions from the net until _Jan 23,_1993_. All you need to do is send back the form attached below with your favorite software or hardware products for 1992. The subject of the post should be Re: NUCA (or just replying to this post). Send votes to szatrows@gandalf.rutgers.edu I will post the results and maybe see about getting little trophies or ribbons made up for the winners. This is your chance to reward the great NeXT Developer community by shining some well deserved praise their way. The rules are: - You can only vote once (i.e. one vote per e-mail address). - You can vote for any product you wish; be it from NeXT, a 3rd party developer, shareware/freeware (or those tasty frosted donuts from Hostess under the 'other' category ;-) Finally I made up a logo for the winners to use (if they want to) to let everyone know that they won the NUCA. I'll put it up on both orst and nova. People can let me know if they think it stinks and if so please feel free to make your own (after all it is the U S E R S ' choice award so the users should get involved!). BTW you will need Helvetica-Black and Avant Garde (Book Oblique & Demi Oblique) to see the logo in all of its glory :-) NUCA Form below: ----------------------------------------------------------------------- 1.) Software a.) Audio : b.) Communications : c.) DataBase : d.) Developer : e.) Desk Top Publishing: f.) Game : g.) Graphic : h.) MultiMedia : i.) Scientific : j.) Spreadsheet : k.) Wordprocessing : l.) Utility : m.) Video : n.) Other : 2.) Overall Software Product of the Year : 3.) Hardware a.) Audio : b.) Communications : c.) Display : d.) Graphic Input : e.) Mass Storage : f.) Printing/Output : g.) Video : h.) Other : 4.) Overall Hardware Product of the Year : 5.) Overall Product of the Year : -- NeXT Campus Consultant---Rutgers, the State University of New Jersey |my %^) John Kheit/monoChrome | Opinions expressed represent me only! |fried %-) 173 Westgate Drive | Audix Voice Mail# (415) 366-0900 X5512 |brain %>) Edison, NJ 08820-1163 | kheit@hangout.rutgers.edu,szatrows@gandalf.rutgers.edu
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Help w/ a complicated DBQualifier Message-ID: <1993Jan17.125210.2613@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <YfJq2Qq00WA70WSqli@andrew.cmu.edu> Date: Sun, 17 Jan 93 12:52:10 GMT In article <YfJq2Qq00WA70WSqli@andrew.cmu.edu> da0g+@andrew.cmu.edu (David Apfelbaum) writes: > > I'm beating my head against a wall here... > > Would anyone know how to build a DBQualifier equivalent to: > select X,Y,Z from Alpha_Table > where X in (select X from Beta_Table where "Some_Condition"); > > I have a particularly gruesome application that requires such a search > on some large tables... Any ideas? Or does anyone know if it CAN"T be > done? > > > -David > da0g+@andrew.cmu.edu > > > P.S> I'm working with the Oracle-adapter, if that matters. (Which it > shouldn't, but it might... The adapters are "computationally > challenged" in minor ways...) The tricky part is that every reference to a table in the query will be replaced with t0, t1, etc. Your query as stated should be no problem. Just take everything from after the where clause and put it in the qualifier. If "Some_Condition" refers to beta and alpha tables be sure the alias beta to t1 and the rest should work. If you have the exact query I could rewrite it to match what I have gotten to work (I also needed some subqueries). -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Re: Help w/ a complicated DBQualifier Message-ID: <1993Jan18.074245.4255@netcom.com> Sender: yikes@netcom.com (Jenny Doll) Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <YfJq2Qq00WA70WSqli@andrew.cmu.edu> Date: Mon, 18 Jan 1993 07:42:45 GMT >I'm beating my head against a wall here... I luckily escaped DBKit Hell before spilling too much blood on the wall... However, assuming you are stuck with DBKit, gauze is particularly effective in staunching the flow.... >Would anyone know how to build a DBQualifier equivalent to: >select X,Y,Z from Alpha_Table > where X in (select X from Beta_Table where "Some_Condition"); [aQualifier initForEntity:entity fromDescription: "tableA.X in (select tableB.X from tableB where Some_Condition)"]: This should work. Note that DBKit attaches aliases to table names *most of the time* ... it's possible that DBKit will do the following to your qualifier: "t0.X in (select t1.X from tableB where Some_Condition)" Note that it didn't alias tableB! What it should do is: "t0.X in (select t1.X from tableB t1 where Some_Condition)" If it doesn't do this, then you have to insert the alias yourself... fun, huh? (Hopefully DBKit II will address this) ...Michael Brill (yikes@netcom.com) -- ----
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: Documentation for writing DBKit adaptor Message-ID: <1993Jan18.114454.5117@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Jan16.003534.1270@talus.com> Date: Mon, 18 Jan 1993 11:44:54 GMT In article <1993Jan16.003534.1270@talus.com> ed@talus.com writes: > In article <1993Jan14.132842.29437@email.tuwien.ac.at> ah@fml.tuwien.ac.at > (Andreas Haleger) writes: > > > > I just loaded up AdaptorDoku.tar.Z to > > sonata.cc.purdue.edu:/pub/next/submissions (sorry for the k in Doku, I > > discovered it too late). Here the README file: > > It seems to be corrupted... right ? Sorry, it is indeed corrupted (don't ask me why, I am sure I used binary). I just uploaded AdaptorDocu.tar.Z (different to AdaptorDoku.tar.Z). I tried to download it myself and it worked. For all who asked me to email the documentation to them (there were many of them): Please try it again, it should work now. Have fun now. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
From: charlie@snowflake.az.stratus.com Newsgroups: comp.sys.next.programmer Subject: Node Overflow when freeing windows Date: 18 Jan 1993 18:56:06 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <1jeug6INNqn7@transfer.stratus.com> Keywords: window Anyone know what these mean when freeing a Window? This window has lots of popup lists, buttons, splitviews, etc. We've freed the popup lists before freeing the windows as NeXTAnswers says to. node overflow: 0x5ea194 node overflow: 0x5e7d84 -- Charles Spitzer charlie@snowflake.az.stratus.com Telecom Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Archiving Stream Data Okay Now, Thanks! Message-ID: <1993Jan18.202152.5279@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Mon, 18 Jan 1993 20:21:52 GMT This seemed to be complicated enough that I thought I'd reply to the net about the solution to the question I had posted about archiving NXStream Data. I received several replies, some of which worked. The most useful seemed to be the following from scott@nic.gac.edu (Scott Hess), thanks scott! It seems to be necessary to do this since nulls may be imbedded in the data and since there is no "type" for stream data. I used it as: rtfdStream = NXOpenMemory(NULL,0,NX_READWRITE); [text writeRTFDTo:rtfdStream]; where text was the id of the text region of a ScrollView. To put the data back into the text, I used: [text readRTFDFrom:rtfdStream]; ----- - read:(NXTypedStream *)stream { [super read:stream]; NXReadType( stream, "i", &len); maxLen=(len+vm_page_size-1)%vm_page_size; vm_allocate( task_self(), &(vm_address_t)data, maxLen, TRUE); sprintf( desc, "[%dc]", len); NXReadType( stream, desc, &(*data)); rtfdStream=NXOpenMemory( data, len, NX_READWRITE); return self; } - write:(NXTypedStream *)stream { [super write:stream]; NXSeek(rtfdStream,0,NX_FROMSTART); NXGetMemoryBuffer( rtfdStream, &data, &len, &maxLen); sprintf( desc, "[%dc]", len); NXWriteType( stream,"i", &len); NXWriteType( stream,desc,&(*data)); return self; } - - - - - - - - - This has worked with Rich Text and a Drawing from Diagram pasted into the text. No other claims made. J. W. Wooten
From: stu@enki.ee.umist.ac.uk (Stuart Quick) Newsgroups: comp.sys.next.programmer Subject: MiG is giving me a tremendous headache. Please Help ! Message-ID: <1993Jan18.212844.13478@nessie.mcc.ac.uk> Date: 18 Jan 93 21:28:44 GMT Sender: news@nessie.mcc.ac.uk (Usenet News System) Organization: Manchester Computing Centre I have an application that uses rpc's to communicate with a server on the same machine. Up until now, I had written all my rpc messages and replies by hand. This led to very untidy code so, as I *try* to be a good s/w engineer I developed a MiG specification file. I have now narrowed the problem down to a simple specification such as: routine mem_nread(server: port_t; out c: int); Everything communicates properly (i.e. the MiG generated server is called with the correct message) but this server continually returns errno -304 (MIG_BAD_ARGUMENTS). Needless to say, my rpc function is not called. The offending code is (from xxxServer.c): #if TypeCheck msg_size = In0P->Head.msg_size; msg_simple = In0P->Head.msg_simple; if ((msg_size != 24) || (msg_simple != TRUE)) { OutP->RetCode = MIG_BAD_ARGUMENTS; return; } #endif TypeCheck. The NeXTDevelopment manual doesn't offer much help. Has anyone had experience with this errno ? Thanks, Stuart.
From: gobbi@gdss.commerce.ubc.ca (Michael Gobbi) Newsgroups: comp.sys.next.programmer Subject: Unique objects & IB Date: 18 Jan 1993 23:43:17 GMT Organization: The University of British Columbia Message-ID: <1jffalINNqia@iskut.ucs.ubc.ca> I have created a superclass with the property that there is at most one instance of the class (+ one instance of each subclass). My init code looks something like this: - init { id instance = [hashTable valueForKey:[isa name]]; if (instance){ NXZoneFree([self zone], self); return instance; } [super init]; ... [hashTable addKey:[isa name] value:self]; return self; } The problem is that most programmers would have a subclass whose initialization method looked like this: - init { [super init]; ... return self; } and are ignoring the return value of the superclass. I *could* force them to do the following: - init { id instance = [super init]; if (instance!=self) return instance; ... return self; } but would rather avoid this, since I consider it quite likely that people will forget and use the first method frequently, then get annoyed at me when their code crashes. I created a class method +instance that returns the global instance (creating it if necessary), so this is not normally a problem (since nobody calls [[subclass alloc] init] under this system). Unfortunately, if they create a couple of these objects in a couple of nib files (a frequent occurrence, actually), then it barfs out because CustomObject *does* invoke alloc/init. If anybody can understand this explanation of the problem, and if they have a possible solution, I would very much appreciate some advice. -- __ In quest of knowledge... /..\ <gobbi@gdss.commerce.ubc.ca> ---mm--mm---------------------------------------
From: gobbi@gdss.commerce.ubc.ca (Michael Gobbi) Newsgroups: comp.sys.next.programmer Subject: Re: Passing Stream Data between Client and Server? Date: 19 Jan 1993 00:12:02 GMT Organization: The University of British Columbia Message-ID: <1jfh0iINNqnh@iskut.ucs.ubc.ca> References: <1993Jan18.203809.6077@ornl.gov> How about creating a Courier class? It can archive the stream as an array of characters in its -read: and -write: methods, and recreate the stream from the data in -awake. Since you *can* send objects back and forth, this should work, and the object can simply return the stream via a -stream method. -- __ In quest of knowledge... /..\ <gobbi@gdss.commerce.ubc.ca> ---mm--mm---------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: moose@aoa.utc.com (Bruce Trvalik) Subject: next scsi bus Message-ID: <1993Jan18.234747.8011@aoa.aoa.utc.com> Sender: news@aoa.aoa.utc.com (USENET News System) Organization: Adaptive Optics Associates Date: Mon, 18 Jan 1993 23:47:47 GMT I need to access a device across the scsi bus that requires 512 byte blocks from a raw (character) device. The device is a frame grabber that emulates a 512 byte/sector hard disk. I've noticed that in disktab it says that ss MUST be 1024. If I allow the system to initialize and format it, the system can create a filesystem & It appears to be a 1Mb disk... that's good (it contains 1 Mb of memory). However the device uses block 0 for input & block 1 for output. The output buffer appears to get corrupted when I attempt to read from it. If I try to access it without initializing & formatting it, I get errno 6 (no such device or address). If I try to access it without connecting it to the scsi bus I get a bus error.. Any ideas? Note: I am using a NeXT station color Turbo with NS 2.2 -- * Bruce Trvalik AOA-----------------* * (617)864-0201 A mind is a terrible thing to loose - D. Qaaele (ha!) * moose@aoa.utc.com * aoa!moose@bbn.com
Newsgroups: comp.sys.next.programmer From: jalegre@tsp.med.umn.edu (John Alegre) Subject: 16 bit data in NXImage?? Message-ID: <C12yIC.pI@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Tue, 19 Jan 1993 02:49:23 GMT We are trying to convert raw bit data to an NXImage object. The data is in the form: |0| RED| GREEN| BLUE| | | | | | | | | | | | | | | | | | That is a 16 bit word. The first bit is 0, the next 5 bits are Red, the next 5 are Green, the final 5 are Blue. We have tried the following code with no luck: ################################################ #define BITSPER 5 #define RGBNUM 3 #define WIDTH 176 #define HEIGHT 144 @implementation BlitView - initFrame:(const NXRect *)frameRect { NXSize theSize = {176.0, 144.0}; [super initFrame:frameRect]; theRep = [NXBitmapImageRep alloc]; [theRep setSize:&theSize]; [[theRep setAlpha:FALSE]setBitsPerSample:BITSPER]; [theRep setNumColors:RGBNUM]; [[theRep setPixelsHigh:HEIGHT]setPixelsWide:WIDTH]; [theRep setOpaque:TRUE]; return self; } - showImage:sender { NXSize theSize = {176.0, 144.0}; if(!thePict){ thePict = [[NXImage alloc]init]; if(![thePict useRepresentation:theRep]){ NXRunAlertPanel("Error","Error in useRepresentation","OK",NULL,NULL); return self; } [thePict setSize:&theSize]; } if([thePict loadFromFile:"imagefile"]) [self display]; else NXRunAlertPanel("Error","It didn't work","OK",NULL,NULL); return self; } - drawSelf:(NXRect *)r :(int) count { NXPoint zeroPoint = {0.0, 0.0}; if(thePict){ [thePict composite:NX_SOVER toPoint:&zeroPoint]; } else{ PSsetgray( NX_WHITE ); NXRectFill( &bounds ); } return self; } @end ################################################ The GNU debugger retruns aary error: PostScript program error, DPSContext ca090 %%[ Error: rangecheck; OffendingCommand: nextimage ]%% I am assuming this is because I am telling the NXBitmapImageRep to read data 5 bits at a time and then handing it an extra garbage bit. Short of writing bit shift code to strip the garbage bit out, is there any way to get this data into a NXImage that will draw itself? All comments welcome. Thank you John N. Alegre Andante Systems VideoLabs Inc. ############################################################# # NeXTMail preferred. | # jdev@andante.mn.org | # alegrej@andante.mn.org | If you plant ice, # jalegre@lenti.med.umn.edu | you're gonna harvest wind! # alegrej@libros.andante.mn.org | Hunter/Garcia #############################################################
Control: cancel <1993Jan14.221612.29869@netcom.com> Newsgroups: comp.sys.next.programmer From: vin@netcom.com (Vin Locke) Subject: cmsg cancel <1993Jan14.221612.29869@netcom.com> Message-ID: <1993Jan19.023347.22618@netcom.com> Sender: vin@netcom.com (Vin Locke) Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1993Jan14.221612.29869@netcom.com> Date: Tue, 19 Jan 1993 02:33:47 GMT <1993Jan14.221612.29869@netcom.com> was cancelled from within rn. -- --vin vin@netcom.com ------------------------------------------------------------------------ If productivity can really be measured as the rate at which lines of code are produced, why not just use a tight loop to spew code as fast as possible, and send the programmers home? --Brad Cox
From: clt@eotvos.physics.purdue.edu (Carrick Talmadge) Newsgroups: comp.sys.next.programmer Subject: Re: Reversing grey scale color space? Keywords: PostScript answer... Message-ID: <9136@dirac.physics.purdue.edu> Date: 19 Jan 93 01:37:20 GMT References: <93015.165624U54876@uicvm.uic.edu> Sender: news@dirac.physics.purdue.edu In article <93015.165624U54876@uicvm.uic.edu> U54876@uicvm.uic.edu writes: >Q. My app reads raw bitmap image data from a file [...] In my interface, I >want to give the user the option of "flipping" (inversing) the monochromatic >bits (essentially, this reverses the grey scale). Is there any fast way of >doing this (either by altering the NXBitmapImageRep instance), or, better >yet, via TIFF or Postscript methods? The easiest way of doing this is with the settransfer PostScript function: { 1 exch sub } settransfer which you can implement as a pswrap function, e.g., % cat psinverse.psw defineps PSColorInverse() { 1 exch sub } { 1 exch sub } { 1 exch sub } { 1 exch sub } setcolortransfer endps defineps PSInverse() { 1 exch sub } settransfer endps Please note that the setcolortransfer operator is PostScript Level 2 and hence incompatible with NS2.x systems and lower. Also, you can use similar tricks to set more general transfer functions (such as contrast adjustment, etc). Since the transfer function is a property of the current graphics state, gsave and grestore work as expected. Something like the following would probably do what you want: [self lockFocus]; PSgsave(); PSInverse(); // draw image here PSgrestore(); // etc... [self unlockFocus]; If you don't sandwich the PSInverse() or PSColorInverse() with a gsave & grestore, then you run the risk of other controls (such as the title bar) becoming inverted as well... Carrick Talmadge clt@physics
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: Node Overflow when freeing windows Message-ID: <1993Jan19.012134.807@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1jeug6INNqn7@transfer.stratus.com> Date: Tue, 19 Jan 1993 01:21:34 GMT In article <1jeug6INNqn7@transfer.stratus.com> charlie@snowflake.az.stratus.com writes: > Anyone know what these mean when freeing a Window? This > window has lots of popup lists, buttons, splitviews, etc. > We've freed the popup lists before freeing the windows as > NeXTAnswers says to. > > node overflow: 0x5ea194 > node overflow: 0x5e7d84 Generally, a node overflow is caused when you have previously trashed memory and then attempt to free something that may have been trashed... I had this very same problem recently, and it turned out that I was allocating an array that was one byte short in length and then trashing whatever was one byte beyond the end of the array... This is paticularly nasty, because the code that is causing the crash may or may not be directly related to the code that actually trashed memory in the first place. > -- > Charles Spitzer > charlie@snowflake.az.stratus.com > Telecom Customer Assistance Center > Stratus Computer, Inc. > Phoenix, AZ 85018 b.bum <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: Archiving Stream Data Okay Now, Thanks! Message-ID: <1993Jan19.012348.878@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1993Jan18.202152.5279@ornl.gov> Date: Tue, 19 Jan 1993 01:23:48 GMT In article <1993Jan18.202152.5279@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > NXGetMemoryBuffer( rtfdStream, &data, &len, &maxLen); > sprintf( desc, "[%dc]", len); > NXWriteType( stream,"i", &len); > NXWriteType( stream,desc,&(*data)); Instead of using NXWriteType, why not use NXWriteArray (and NXReadArray)-- that would avoid the building of the desc string and would probably be faster (depending on the implementation of NXWriteType() vs. NXWriteArray)... b.bum <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: Node Overflow when freeing windows Message-ID: <1993Jan19.095224.11690@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1jeug6INNqn7@transfer.stratus.com> <1993Jan19.012134.807@stone.com> Date: Tue, 19 Jan 1993 09:52:24 GMT In article <1993Jan19.012134.807@stone.com> bbum@stone.com writes: >>In article <1jeug6INNqn7@transfer.stratus.com> >>charlie@snowflake.az.stratus.com writes: >>> Anyone know what these mean when freeing a Window? This >>> window has lots of popup lists, buttons, splitviews, etc. >>> We've freed the popup lists before freeing the windows as >>> NeXTAnswers says to. >>> >>> node overflow: 0x5ea194 >>> node overflow: 0x5e7d84 >> >>Generally, a node overflow is caused when you have previously trashed memory >>and then attempt to free something that may have been trashed... I had this >>very same problem recently, and it turned out that I was allocating an array >>that was one byte short in length and then trashing whatever was one byte >>beyond the end of the array... >> >>This is paticularly nasty, because the code that is causing the crash may or >>may not be directly related to the code that actually trashed memory in the >>first place. >> Yea, and what's even nastier is that using MallocDebug doesn't seem to help find the problem. I had a bug in an object of mine for a couple of weeks that I was trying to track down. I finally figured it out by running the program in gdb and once I got that "node overflow" msg, printed out what was in that memory location, taking a guess and casting it as a string. Given what I was doing, this gave me enough information to figure out my problem. My problem was aggravated by the fact that I only used the object as a part of a loadable bundle (both in IB and 3DReality) and I had to construct an artificial test case so that I could use MallocDebug, and then it didn't even help find the overflow. Sigh. A common problem is doing a malloc(strlen(str)) when you mean to do a malloc(strlen(str) + 1). In my case, it was different problem, but I used to do that every once in a while... -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: bug in IB Message-ID: <1993Jan19.100033.11793@news.media.mit.edu> Followup-To: wave@media.mit.edu Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory Date: Tue, 19 Jan 1993 10:00:33 GMT I posted a question last week concerning the use of [NXApp isTestingInterface] from inside of IB. By checking to see first if NXApp responds to this msg and then seeing what the reply value is, you should be able to tell if you are (a) running inside of IB and (b) in test mode or not. Unfortunately, it didn't seem to be working for me. I had confirmation from Alex Cone that they used it in their code, but I didn't get any reply as to why a simple example where I checked in both init and awake and got NO back. Anyway, with the help of NeXTGod Bruce Blumberg, I figured out that there is indeed a problem - the msg give NO in init and awake, but by the time it gets to drawSelf::, it responds YES. Jean-Marie has confirmed that this is indeed a bug. Given the dearth of net response, it doesn't seem to be bothering anyone but me... Anyway, thought y'all should know. I've got a workaround, but it's a bit of kludge. Sigh. At least I can get it to do what I wanted... -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
Newsgroups: comp.sys.next.programmer From: moose@moose.nosc.mil (James B. Moosmann) Subject: Sybase app won't launch from dock, but does via terminal Message-ID: <1993Jan19.114555.27696@nosc.mil> Sender: usenet@nosc.mil (Network News) Organization: Naval Ocean Systems Center, San Diego, CA Date: Tue, 19 Jan 1993 11:45:55 GMT Hello, I have a SYBASE application which will laun ch from the Terminal application, but will not launch from the dock. The application fails to login to the Server when launched from the dock, but d oes when launced from the Terminal. I called NeXT and they are scratching their heads on this one. Does anyone have any idea what is going on, has anyone encountered this problem before? I don't know if it is a problem with Sybase or because some environmentals not being set when the application is being launched from the dock that is being set when it is being launced from the Terminal. I am running release 3.0 NeXTStep and SYBASE. moose@antilles.nosc.mil 703-602-9113/4.
Newsgroups: comp.sys.next.programmer,sci.math.symbolic From: orourke@sophia.smith.edu (Joseph O'Rourke) Subject: Mma graphics -> Adobe Illustrator? Message-ID: <1993Jan19.143251.14081@sophia.smith.edu> Organization: Smith College, Northampton, MA, US Date: Tue, 19 Jan 1993 14:32:51 GMT Mathematica on a Mac allows conversion of clipboard graphics to Adobe Illustrator format. It appears that Mathematica on a NeXT does not have this option -- only conversion to encapsulated postscript. I would appreciate hearing from anyone who can suggest a mechanism of converting from Mma on a NeXT to A.I., other than my current (ugh!) solution: Mma/NeXT -> Mma/Mac -> A.I./Mac -> A.I./NeXT
From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: Passing Stream Data between Client and Server? Message-ID: <C141GK.Lq7@cs.mcgill.ca> Date: 19 Jan 93 16:50:43 GMT References: <1993Jan18.203809.6077@ornl.gov> <1jfh0iINNqnh@iskut.ucs.ubc.ca> Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS - Mcgill University, Montreal, Canada In article <1jfh0iINNqnh@iskut.ucs.ubc.ca> gobbi@gdss.commerce.ubc.ca (Michael Gobbi) writes: >How about creating a Courier class? It can archive the stream as an array >of characters in its -read: and -write: methods, and recreate the stream >from the data in -awake. Since you *can* send objects back and forth, >this should work, and the object can simply return the stream via a >-stream method. It already exists (not exactly what you want though). It's called NXData, and you just give it your data, and the length, and send it over. - db
Message-ID: <ry#@byu.edu> Date: Tue, 19 Jan 93 11:22:48 MST From: yackd@oregon.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world Organization: Brigham Young University, Provo UT USA Subject: If you're writing a game... Keywords: games ...and want to do sound and music simultaneously, or don't want to go through the drugery of developing a high score system, contact me. :-) I'm going to be releasing my objects which do the above as "sort of" freebies. If you're developing a free game, you can use them for nothing. If you plan to sell your game, you'll have to send me a very modest license fee (negotiable). But, if your game is released as a freebie, the objects are free. And they're really easy to just drop into any game. :-) If you want info on the interfaces to the objects, or would like to mess around with pre-release versions of them, please let me know, and I'll do what I can to accomodate. The next version of PacMan will serve as a reasonable example of how to incorporate these objects into a game...but if you need them _now_, before I finish the documentation, that's fine. If you do request the objects, I'd also like feedback on features you'd like to see in them, so that I can put them in...of course. Why am I doing this? Simple. I want to see more games for the NeXT, and don't have enough time to write all of them. But this ought to make things much easier for those who wish to develop a game or two. The objects are free for games which are distributed for free, so that there'll be good games available at zero cost... Any questions or comments should be sent directly to me. Later, -Don Yacktman yackd@alaska.et.byu.edu P.S. I've mentioned to some folks of a "GameKit" that I'm working on, which is meant to make it easy to put together games. These objects are a portion of this kit. There will be more to come, of course... :-)
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: Documentation for writing DBKit adaptor Message-ID: <1993Jan19.182228.28343@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Jan18.114454.5117@email.tuwien.ac.at> Date: Tue, 19 Jan 1993 18:22:28 GMT Ok, it is corrupted again. I don't know what they are doing over there. I now uploaded AdaptorDocu.tar.Z to our local anonymous ftp server (fml.tuwien.ac.at(128.130.167.130):/pub/incoming/next). If this doesn't work too, tell me, I will send you the documentation via mail. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted. My signature is getting true.
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: How do you set digit width in a cell? Message-ID: <1993Jan19.153418.225@afs.com> Sender: greg@afs.com Date: Tue, 19 Jan 1993 15:34:18 GMT Mail to the referenced account bounced, pardon the bandwidth... ----------------------------------------------------------------- In comp.sys.next.programmer article <1993Jan16.225146.8192@thunder.mcrcim.mcgill.edu> writes: > > How do you set the number of digits that you can fit into a cell? > After six digits I get the 'E' shorthand and the cell's form is at > least twice as big as the number, so I know it's not a function of > that size. I really need those numbers, there must be a way.... You need to set the entry type to NX_DOUBLECELL. Otherwise, a regular float will start using 'E' notation because it runs out of precision (generally 6 or 7 significant digits). Also, you might need to set the left and right digits with Cell's -setFloatingPointFormat:left:right: method. -- Gregory H. Anderson | Thus spake the master programmer: Master Programmer / Manager | "Let the programmers be many and Anderson Financial Systems | the managers few; then all will be greg@afs.com (Nextmail OK) | productive." -- Tao of Programming
Newsgroups: comp.sys.next.programmer,sci.math.symbolic From: orourke@sophia.smith.edu (Joseph O'Rourke) Subject: Re: Mma graphics -> Adobe Illustrator? Message-ID: <1993Jan19.200859.16665@sophia.smith.edu> Organization: Smith College, Northampton, MA, US References: <1993Jan19.143251.14081@sophia.smith.edu> Date: Tue, 19 Jan 1993 20:08:59 GMT In article <1993Jan19.143251.14081@sophia.smith.edu> [I asked for a way to convert Mma graphics to Adobe Illustrator on a NeXT.] I thank tlm@tantalus.scl.ameslab.gov (Tom Marchioro) and jeffa@wri.com (Jeff Adams) for suggesting solutions. Here is what seems to work best: save the Mma graphics into an encapsulated postscript file, and then use the A.I. "Place Art" command to drop in the image into an open A.I. file. The disadvantage of this over converting on the Mac is that the pieces of the Mma image are not manipulable individually. But still, it serves most of my purposes, and is a helluva lot faster than what I was doing before. Thanks!
From: jesperse@nas.nasa.gov (Dennis Jespersen) Newsgroups: comp.sys.next.programmer Subject: Problems with Garfinkel-Mahoney Chapter 12 Message-ID: <JESPERSE.93Jan19125244@rft28.nas.nasa.gov> Date: 19 Jan 93 20:52:44 GMT Sender: news@nas.nasa.gov (News Administrator) Organization: Computational Fluid Dynamics Branch, NASA Ames Research Center I am having troubles with Chapter 12 of Garfinkel-Mahoney. Perhaps someone who's successfully made it through this chapter could help me. Actually it would help me to know whether or not the material here is correct. I've made it through the first 11 chapters OK (i.e., all the programs have worked as advertised [modulo some small bugs]). For Chapter 12, I first tried typing the new code in myself. When I run the program under gdb, I get App Kit error: (null pointer) This comes at the line [text replaceSelWithRichText:[rtf stream] ]; in the PaperControl.m file. When I took the source files for RTF.m and PaperControl.m off the floppy disk, the program did not die but no output appeared in the window, i.e. if I type 2+3 and press return I don't get the expected 5 as answer. The underscores show up and I can enter further input, still without getting any visible output. Also, gdb indicates that the input "flag" to the routine appendToText:fromPipe: gets clobbered when the "init" method of RTF is called. Before the call, flag is 1, after the call, flag is -40. Does this point to the problem? -- Dennis Jespersen Voice: (415) 604-6742 MS 202A-2 FAX: (415) 604-1095 NASA Ames Research Center email: jesperse@rft28.nas.nasa.gov Moffett Field, CA 94035-1000 We have met the enemy and he is us. -- Pogo
Newsgroups: comp.sys.next.programmer From: anthonjw@craft.camp.clarkson.edu (Jason W. Anthony) Subject: Group Development of Software Message-ID: <anthonjw.727480240@craft.camp.clarkson.edu> Sender: news@news.clarkson.edu Organization: Clarkson University Date: Tue, 19 Jan 1993 21:50:40 GMT I and a few colleagues are beginning work on a NeXTSTEP project, and we were curious as to what tools and techniques "professionals" were using to manage joint-development of software. Are there any NeXT or vanilla-UNIX programs being used to control access to files, manage program versions, etc.? Or do you have specific "behavior conventions" (sounds like 1984!) to help alleviate problems? Do any of the standard NeXT apps (e.g. Edit.app) have group-features already? Actually, any advice you have would be appreciated! Also, are there any tools *not* available you would like to see? Thanks for your insight! --Jay-- --- Jason Anthony anthonjw@craft.camp.clarkson.edu (NeXTmail)
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: Call for Presentation Topics: 1993 NeXTWORLD Expo Message-ID: <6308@rosie.NeXT.COM> Date: 19 Jan 93 22:26:32 GMT Sender: news@NeXT.COM Dear NeXT User, If you will be attending the 1993 NeXTWORLD Expo to be held in San Francisco, California - May 25-27, 1993, please read on... Enclosed is a Presentation Proposal Form to be completed by anyone interested in becoming a speaker at this year's NeXTWORLD Expo User and Developer Conference programs. Email your completed form today to info@next.com. The deadline for submissions is Monday, January 25th. Best wishes, Conrad Geiger Manager, International NeXT User Groups P.S. Call to get on the postal mailing list for advanced registration and more information about the 1993 NeXTWORLD Expo: 1-800-767-2336 -or- from outside North America call 508-470-3880 -or- fax (508)470-0526. ____________________________________________________________________ NeXTWORLD Expo '93 Conferences Presentation Proposal Form Name: Title: Organization: Address: City: State: Zip: Phone Number: Topic Information Title: Category (Please indicate the most appropriate area to which your presentation topic relates): [] Client/Server Computing Issues [] Enterprise-Wide Deployment [] Application Development Issues [] Building Database Applications [] Interoperability & Networking [] Object-Oriented Technology Abstract (Please prepare a 100-word summary of your topic covering its goals, key points, issues, and experiences, etc.) Complete and email this form with the Subject heading: "NeXTWORLD Expo '93 User Conference [65KVER]" to: info@next.com. >> Deadline for Submissions is 1/25/93 >>
Newsgroups: comp.sys.next.programmer From: ecamps@xlan.fdn.org (Eric Camps) Subject: Pb with Bundles loading Message-ID: <1993Jan18.192216.1066@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. Date: Mon, 18 Jan 1993 19:22:16 GMT I write a "kernel application" which uses NXBundles to load additive tools (code and .nib). This works fine but when I do a "make install" of that kernel-app and execute the installed app, bundles cannot be loaded ! There is nothing in the on-line docs that seems to treat of NXBundle based Applications particularities. So, could someone explain what the problem is ? I guess I have to specify amazing options for strip. is it ? Thanx for answers. -- Eric Camps - Email/NeXTmail: ecamps@xlan.fdn.org X&LAN, 2 rue du Colisee, 33000 Bordeaux, France Voice: (+33) 56 51 04 89 Fax: (+33) 56 51 05 31 ------------------------------------------------ Je plains les gens petits, ils sont les derniers a savoir quand il pleut. -- Peter Ustinov.
Newsgroups: comp.sys.next.programmer From: jhalchin@alleg.edu (Judy Halchin) Subject: NFS not getting up-to-date file info Message-ID: <1993Jan19.193003.8335@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Tue, 19 Jan 1993 19:30:03 GMT I'm having trouble with an application not seeing permission changes on a file that it accesses via NFS. Specifically, I have an application that is accessing a file which is on an NFS-mounted filesystem. The application first sends a message to a daemon (on the machine where the file actually resides) requesting it to change the file's permissions, then the application tries to write to the file. The daemon is setting the permissions correctly (and, in fact, can check them with fstat), but there is a considerable time lag (sometimes as much as 30 seconds) before an fstat in the application sees the permission changes. My best guess is that the NFS system has cached some information about the file, including its permissions, and the fstat in the application is getting the out-of-date, cached information until some time limit is passed and the cache is refreshed. Does anyone know if this sounds like a reasonable explanation of what's happening, and do you know if there is some way to force a refresh of the cache? Thanks, Judy Halchin Allegheny College jhalchin@alleg.edu
From: balu@jensen.cc.brandeis.edu (Balasubramanian.T) Newsgroups: comp.sys.next.programmer Subject: HELP : mathtools Keywords: lib,mathtools,mathematica Message-ID: <1993Jan20.005518.25630@news.cs.brandeis.edu> Date: 20 Jan 93 00:55:18 GMT Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University I am a novice in writing sofware. I recently, tranfered a program through FTP called RareMathTools,which as the author points does all the calculations using mathematica. I was trying to compile this program with the Project builder and the message goes " MATHTOOLS NOT FOUND" I checked my usr/lib and I don't have mathtools. Can some one out there tell me what I should do. Can I get it from somewhere through FTP ? if not where can I buy it ( would gratly appreciate if one can tell me the approximate cost). If possible email the info to me at BALU@JENSEN.CC.BRANDEIS.EDU. posting in the newsgroup is also fine Thanks T . Balu Department of Physics Brandeis University
Newsgroups: comp.sys.next.programmer From: gelato@netcom.com (Joe Burfoot) Subject: DBTableView w/data *not* in a database?? Message-ID: <1993Jan20.050341.3182@netcom.com> Keywords: DBTableView Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Wed, 20 Jan 1993 05:03:41 GMT Is it possible to use DBTableView to display a simple matrix of data, e.g. an n-item list of { char *name, *address, *phone } ???? I've read thru the documentation of DBKit, and the .rtf files for each of the (public) objects in DBKit, but have not been able to make this determination. I haven't seen any code examples of this type of thing on the net. I need the functionality of DBTableView, i.e. the ability to edit cells, move columns around, resize columns, etc, so I'd hate to have to reinvent the wheel. This type of functionality seems generally useful, so I'm disappointed NeXT didn't split the functionality of DBTableView into two pieces: 1) TableView : ScrollView - an appkit object that gets its data from its delegate (like NXBrowser). 2) DBTableView : TableView - a dbkit object that gets its data from the database. Any ideas/suggestions/pointers on this would be GREATLY appreciated... ------------- Steve James C*ATS Software smj@cats.com
Newsgroups: comp.sys.next.programmer From: gelato@netcom.com (Joe Burfoot) Subject: Reparenting views inside other views (eg Boxes) Message-ID: <1993Jan20.051140.3947@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Wed, 20 Jan 1993 05:11:40 GMT Under 2.x IB, it was possible to move a view into another view (i.e. make it a subview) by alt-dragging. Say you've got a group (Box) with a bunch of stuff in it, and you wanna add a new item in it. I can't figure out how to do that in 3.0 IB short of ungrouping and regrouping. The same goes for CustomViews; any subviews of a CustomView have to be added programmatically. I *hope* I am missing something; this seems like a major functionn of IB has gone away. ---------- Steve James C*ATS Software smj@cats.com (415)321-3000
Newsgroups: comp.sys.next.programmer From: ed@talus.com Subject: 250 Mb want to be a developer machine ;) Message-ID: <1993Jan20.044108.2332@talus.com> Sender: ed@talus.com Organization: Talus Corporation Date: Wed, 20 Jan 1993 04:41:08 GMT Hi there, I have got quite a stupid Network setup here, but I don't have time to mess with it : one Color 24 Mb of RAM with 250 Mb HD with NS 3.0 is the server for mail/news/files/UserDir because it is hooked to a 900 Mb HD and a 650 Mb OD. one B&W 16/400 as a client (it has the Extended version of 3.0). Unfortunately I use the color machine (though it is more fun that a monochrome, under 3.0). Craig gets to play with the monochrome, with the developer version and he doesn't know what C is (nor B what that matter) Don't ask why ! What directories do I need to link over NFS to be able to compile, use IB, emacs, ProjectBuilder, etc et. I want to code again !!! Ed. -- Erik Dasque "The French guy" Houston (713) 561-0700 V.P. R&D, Talus Corporation TeXT-mail/NeXTmail:ed@talus.com Where do I sign ? Here ? Oh HERE ? Here Right ? Ok... Ed.
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: ed@talus.com Subject: 250 Mb want to be a developer machine ;) Message-ID: <1993Jan20.043337.2185@talus.com> Sender: ed@talus.com Organization: Talus Corporation Date: Wed, 20 Jan 1993 04:33:37 GMT Hi there, I have got quite a stupid Network setup here, but I don't have time to mess with it : one Color 24 Mb of RAM with 250 Mb HD with NS 3.0 is the server for mail/news/files/UserDir because it is hooked to a 900 Mb HD and a 650 Mb OD. one B&W 16/400 as a client (it has the Extended version of 3.0). Unfortunately I use the color machine (though it is more fun that a monochrome, under 3.0). Craig gets to play with the monochrome, with the developer version and he doesn't know what C is (nor B what that matter) Don't ask why ! What directories do I need to link over NFS to be able to compile, use IB, emacs, ProjectBuilder, etc et. I want to code again !!! Ed. -- Erik Dasque "The French guy" Houston (713) 561-0700 V.P. R&D, Talus Corporation TeXT-mail/NeXTmail:ed@talus.com Where do I sign ? Here ? Oh HERE ? Here Right ? Ok... Ed.
From: wjs@blorf.omnigroup.com (William Shipley) Newsgroups: comp.sys.next.programmer Subject: Re: DBTableView w/data *not* in a database?? (YOU BET!) Date: 20 Jan 1993 09:15:07 GMT Organization: University of Washington Message-ID: <1jj56rINN6l3@shelley.u.washington.edu> References: <1993Jan20.050341.3182@netcom.com> Joe Burfoot writes > Is it possible to use DBTableView to display a simple matrix of data, > e.g. an n-item list of { char *name, *address, *phone } ???? > > I've read thru the documentation of DBKit, and the .rtf files for each > of the (public) objects in DBKit, but have not been able to make this > determination. I haven't seen any code examples of this type of thing > on the net. You're in luck. If you look in /NextDeveloper/Examples/IndexingKit/ToDoList, you'll find an example of how to use a DBTableView without using DBKit. DBTableView was designed specifically to not require the rest of DBKit to be used. (I talked with the author, he was quite religious about this.) In fact, it really should have been an NX object, but by the time this was realized it was too late in the release cycle to do anything about it. In general, I think there are tons of places where an NXBrowser or a Matrix in a ScrollView should be replaced by a DBTableView. Unfortunately, the "DB" in front of the name seems to scare people, plus there's some key information you need to know before you can use it. The key information: each column (vector, as it's called) has an opaque identifier (type "id") that you use to tell the columns apart. It doesn't matter what you store here, the Formatter just uses this value when it calls you when it's time to draw or change a value. Also, if you're messing with DBTableViews, you might take a look at "BooleanFormatter" in the latest NeXTexamples on the archive sites; it is the basis of implementing buttons inside a TableView. (I've got a more mature version, but it's still a little hacked.) -William Shipley The Omni Group Custom software development
From: szatrows@gandalf.rutgers.edu (John Kheit) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin Subject: NUCA (REMINDER) Message-ID: <Jan.20.01.57.28.1993.3787@gandalf.rutgers.edu> Date: 20 Jan 93 06:57:28 GMT References: <1992Dec30.201547.21564@kakwa.ucs.ualberta.ca> <1993Jan7.180212.2847@boba.rhein-main.de> Followup-To: comp.sys.next.programmer Organization: Rutgers Univ., New Brunswick, N.J. N U C A---REMINDER---REMINDER---REMINDER---REMINDER---REMINDER!!!! NeXT Users' Choice Awards---Thanks to Conrad Geiger for the name! Submissions will be taken until _Jan 23,_1993_. All you need to do is send back the form attached below with your favorite software or hardware products for 1992. The subject of the post should be Re: NUCA (or just replying to this post). Send votes to szatrows@gandalf.rutgers.edu I will post the results and maybe see about getting little trophies or ribbons made up for the winners. This is your chance to reward the great NeXT Developer community by shining some well deserved praise their way. The rules are: - You can only vote once (i.e. one vote per e-mail address). - You can vote for any product you wish; be it from NeXT, a 3rd party developer, shareware/freeware (or those tasty frosted donuts from Hostess under the 'other' category ;-) Finally I made up a logo for the winners to use (if they want to) to let everyone know that they won the NUCA. I'll put it up on both orst and nova. People can let me know if they think it stinks and if so please feel free to make your own (after all it is the U S E R S ' choice award so the users should get involved!). BTW you will need Helvetica-Black and Avant Garde (Book Oblique & Demi Oblique) to see the logo in all of its glory :-) NUCA Form below: ----------------------------------------------------------------------- 1.) Software a.) Audio : b.) Communications : c.) DataBase : d.) Developer : e.) Desk Top Publishing: f.) Game : g.) Graphic : h.) MultiMedia : i.) Scientific : j.) Spreadsheet : k.) Wordprocessing : l.) Utility : m.) Video : n.) Other : 2.) Overall Software Product of the Year : 3.) Hardware a.) Audio : b.) Communications : c.) Display : d.) Graphic Input : e.) Mass Storage : f.) Printing/Output : g.) Video : h.) Other : 4.) Overall Hardware Product of the Year : 5.) Overall Product of the Year : -- NeXT Campus Consultant---Rutgers, the State University of New Jersey |my %^) John Kheit/monoChrome | Opinions expressed represent me only! |fried %-) 173 Westgate Drive | Audix Voice Mail# (415) 366-0900 X5512 |brain %>) Edison, NJ 08820-1163 | kheit@hangout.rutgers.edu,szatrows@gandalf.rutgers.edu
Newsgroups: comp.sys.next.programmer From: patb@exafs1.helios.nd.edu (Pathikrit Bandyopadhyay) Subject: object oriented fortran and interface builder Message-ID: <1993Jan20.155154.22566@news.nd.edu> Sender: news@news.nd.edu (USENET News System) Organization: OUC, University of Notre Dame Distribution: usa Date: Wed, 20 Jan 1993 15:51:54 GMT i am new with nexts and am trying to use object oriented fortran (from absoft) and the interface builder. the absoft manual says if you have a fortran programme that does calculations the run it in the shell window. i am not ready to accept that. there must be a way of passing messages to and fro. in other words my programme asks questions, and i want to supply those answers from the window. also when i tried somethin like the following in a programme @+ new self = [super new] ! Get a new Application object new = self ! Return ID to our application @end the compiler said method new not defined. i will appriciate any help anybody can give, including reference to books, examples...... also if this is not the right group to place this query please let me know where i should place this. thanks. email: next machine pat@biocat1.iit.edu non next machine patb@exafs1.phys.nd.edu
Newsgroups: comp.sys.next.programmer From: timo@swabsib.stgt.sub.org (Timo Hennerich) Subject: Need listing view like in workspace Message-ID: <1993Jan19.153350.7586@swabsib.stgt.sub.org> Sender: timo@swabsib.stgt.sub.org (Timo Hennerich) Organization: Swabian Siberian Software Solutions Date: Tue, 19 Jan 1993 15:33:50 GMT Hi out there, we need an object(s) like the workspaces listing view: Posibilty of selecting/editing text in a cell at a special position of the line (not at the left side of the cell). The workspace uses a self-declared BrowserView (subclass of View). Is this a good solution? Why didn't they use a Matrix with different-sized cells? Wasn't there an example to expand the Matrix class to this usage? Is there an example how to do it? Any hints? ThanX TH -- || \\__/ '> \_ _/ Timo Hennerich, +49 711 7353788, timo@swabsib.stgt.sub.org __][__
From: abell@netcom.com (Steven T. Abell) Newsgroups: comp.sys.next.programmer Subject: NXContainRect Keywords: undocumented function Message-ID: <1993Jan20.191236.25497@netcom.com> Date: 20 Jan 93 19:12:36 GMT Distribution: na Organization: Netcom - Online Communication Services (408 241-9760 guest) I'm messing with the Draw example. The code refers to a function called NXContainRect(), which is undocumented. (no, not NXContainsRect(), which is) NXContainRect appears in <appkit/graphics.h>, but under an advisory not to use it. Does anyone out there know what this function does? Is there something that supercedes it? Thanks, Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer From: demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) Subject: DBKit In-Reply-To: Robert_La_Ferla@hot.com's message of Fri, 15 Jan 1993 18:07:20 GMT Message-ID: <DEMARCO.93Jan20110854@fsd.cpsc.ucalgary.ca> Sender: news@cpsc.ucalgary.ca (News Manager) Organization: University of Calgary References: <1993Jan13.091553.994@netcom.com> <1993Jan15.180720.5277@hot.com> Date: Wed, 20 Jan 1993 18:08:54 GMT How does one set the default login string, for a database when a dbmodel is being loaded in? What i want to do is record what the user has entered in the Databaselogin Panel and store this in there defaults database so they don't have to type as much the next time the program is used. I can do this if I don't load in a dbmodel. Any suggestions???? vince
Newsgroups: comp.sys.next.programmer From: finton@barney.cs.wisc.edu (David J. Finton) Subject: How do I tell a text Form to select the next text cell? Message-ID: <1993Jan20.210945.23982@cs.wisc.edu> Sender: news@cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. Distribution: usa Date: Wed, 20 Jan 1993 21:09:45 GMT I have a controller function which grabs the currently selected text cell from a form and processes the text. I want it to tell the form to then select the next text cell, as if the user had hit the TAB key. How is this done? I think I used [sender SelectTextAt: index]; to select the *same* cell again. Instead, I'd like to select the cell given by the form's nextText argument. Oh, if it makes a difference, I actually have *two* text forms, but they each have the other connected as "nextText" in Interface Builder, so that TAB-ing simply goes through the sequence of text cells. Thanks in advance, David Finton
From: hacker@access.digex.com (Dark Hacker) Newsgroups: comp.sys.next.programmer Subject: Why can't I load a palette? Date: 20 Jan 1993 23:21:37 GMT Organization: Express Access Online Communications, Greenbelt, MD USA Distribution: world Message-ID: <1jkmq1INNb5g@mirror.digex.com> I'm building a palette patterned after the example palette in the NeXT Digital Librarian Concepts guide. It builds properly but when I use "Load Palette" inside IB I get an Alert that says "Can't load the palette blah blah blah..." So why can't I load this palette? Is there some magic flag to set? Like I say, the build is fine but the palette load from IB fails. Anything I have to look for in particular? I'm building this under NS 3.0 so maybe there's something I have to do that hasn't been covered in the guide. - Hacker -- Dark Hacker @ Black Silicon, Fortress Of Computation hacker@black-silicon.mclean.va.us "Life itself is... COMPUTATION!"
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: IB question Message-ID: <1993Jan20.190811.5660@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Wed, 20 Jan 1993 19:08:11 GMT I made a user interface for a program with lots of FormCells inside boxes, inside boxes. The FormCells turned out too small however. Now, I can stretch the window and since all objects have the right fixed/flexible distances I can make the UI come out right that way. But I want to have the right size at startup. Changing in IB is tedious (it was a nasty layout job) and I would like to have a quick way to do this. Archiving the position/size and reading at startup is one. But is there another, so that in IB I see the desired size also? --Gerben -- Gerben Wierda Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
From: gil@asterix.lbl.gov (Gil Rivlis) Newsgroups: comp.sys.next.programmer Subject: Re: 250 Mb want to be a developer machine ;) Date: 21 Jan 1993 01:21:09 GMT Organization: Lawrence Berkeley Laboratory, Berkeley CA Distribution: world Message-ID: <1jktq5INNeti@overload.lbl.gov> References: <1993Jan20.043337.2185@talus.com> In article ed@talus.com asks: (reformulated) > What do I need to export in order to NextDevelope? For 2.1 you need the following directories: /lib /usr/lib/nib /usr/include and the programs in /bin: ar cc++ ld otool as ranlib file kl_ld (for kernel progs) segedit size g++filt gdb nm strip cc kgdb (for kernel progs) nm++ ebadexec pswrap And, of course InterfaceBuilder, MallocDebug etc. And documentation, if you want: NextLibrary/Documentation/NextDev NextLibrary/Ducumentation/Unix In 3.0 most of these files are in NextDeveloper (together with the apps). So, in your case, just mount NeXT/Developer. Gil -- Gil Rivlis, Department of Physics, UC Berkeley gil@asterix.lbl.gov (NeXT Mail welcome)
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Offscreen drawing of views with subviews Message-ID: <6325@rosie.NeXT.COM> Date: 21 Jan 93 01:28:01 GMT References: <lljvuvINNhuc@news.bbn.com> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <lljvuvINNhuc@news.bbn.com> aking@BBN.COM (Allen King) writes: > I have a view with many subviews, representing a hierarchically >structured musical image, which I would like to drag around the screen >in a music composition program I'm writing. How do I draw the view >with subviews into an offscreen buffer? One simple way is to ask the View to draw itself, but catch the PostScript. You can do this by calling copyPSCode:... and collecting the PS in a memory stream. Then create an NXImage from this stream, and composite: away. Voila! Make sure the stream is read/write, and make sure you seek to the start before handing it to NXImage. I think an example of this can be found in the G&M book. Ali, Ali_Ozer@NeXT.com
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Offscreen drawing of views with subviews Message-ID: <6326@rosie.NeXT.COM> Date: 21 Jan 93 01:47:21 GMT References: <lljvuvINNhuc@news.bbn.com> Sender: news@NeXT.COM In article <lljvuvINNhuc@news.bbn.com> aking@BBN.COM (Allen King) writes: > I have a view with many subviews, representing a hierarchically > structured musical image, which I would like to drag around the screen > in a music composition program I'm writing. How do I draw the view > with subviews into an offscreen buffer? The way to do it if there are > no subviews is clear: It looks to me like you are confusing a Window object with an NXImage object. A window maintains a view hierarchy and uses it to draw into a window server bitmap device (a postscript window, not to be confused with the object). An NXImage keeps various representations of images, and usually eventually uses these to construct a window server bitmap device. Maybe what you want to do is to create a plain-style Window object with a view hierarchy and display this to construct the window, then use NXCachedImageRep's initFromWindow:rect: method to create an image representation that you can add to an NXImage using the useRepresentation: method. I'm just guessing about this solution, and there might be some problems with an NXImage and a Window sharing a window device, so caveat emptor. -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <AfLSleK00WA7NdN04c@andrew.cmu.edu> Date: Wed, 20 Jan 1993 19:20:58 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: Re: Help w/ a complicated DBQualifier In-Reply-To: <1993Jan18.074245.4255@netcom.com> Thank you all for your help! (I got it! Yay!) To Summarize: Given Entity AlphaTable with properties AlphaKey, blah..., BetaRelationship and Entity BetaTable with properties BetaKey, blah... (where BetaRelationship states that AlphaKey = BetaKey) And theQualifier = [[DBQualifier alloc] init] You sort of do: int i=1; [theQualifier setEntity:{Alpha_Table_Entity} andDescription:"%p IN (SELECT BetaRelationship.BetaKey FROM BetaTable t%d " "WHERE %@)", {AlphaKey_name}, i++, {Any Valid Beta-table DBQualifier...}]; Note: The valid Beta-table qualifier should use %p strings along the lines of "BetaRelationship.BetaProperty", and it should use the AlphaTable Entity... The 't%d' & i++ part is there to allow one to easily concatenate variable numbers of such qualifiers... (Which I needed for user-flexability.) The tricky bit is getting the t#'s right, and building up the qualifier so that it's all on one entity... Thanks again for the help... -David.
From: chris (Chris Larson) Newsgroups: comp.sys.next.programmer Subject: Printing headers and footers with the Text object Message-ID: <C16LKo.KG7@oceania.com> Date: 21 Jan 93 02:00:22 GMT Sender: chris@oceania.com (Chris Larson) Distribution: na Organization: Oceania Health Care Systems As described, I need to be able to take a Text object and print it with headers and footers. The Text (View) object gives you some access to the PS stream that is being created (via the beginSetup, endSetup, etc. methods), and I need to to determine if headers and footers can be inserted into the PS stream using this approach. I have to believe someone has tried this or thought about it. Any takers? Chris -- Chris Larson <==> chris@oceania.com <==> NeXT Mail is cool Oceania Health Care Systems Palo Alto, CA The Software Ranch Park City, UT
From: lpratt@slate.mines.colorado.edu (Lorien Pratt) Newsgroups: comp.sys.next.programmer Subject: gdb seems broken on Next 3.0 Turbo color Message-ID: <1993Jan21.013214.28984@slate.mines.colorado.edu> Date: 21 Jan 93 01:32:14 GMT Sender: lpratt@slate.mines.colorado.edu (Lorien Pratt) Organization: Colorado School of Mines Hi, I'm running gdb for the first time on my new NeXT, and it seems broken. I wonder if anybody could help me. Here are the symptoms: mple.c main () { int i; for (i = 0; i < 5; i++) if (!i) i += 3; else if (i == 4) i += 2; } % cc -g simple.c -o simple % gdb simple Reading symbol data from simple...done. Reading symbol data from /usr/shlib/libsys_s.B.shlib...done. (gdb) list 1 main () 2 { int i; 3 4 for (i = 0; i < 5; i++) 5 if (!i) i += 3; else if (i == 4) i += 2; 6 } (gdb) break 5 Breakpoint 1 at 0x3eae: file simple.c:5. (gdb) run Starting program: /Users/lpratt/simple Program generated(1): Memory access exception on address 0x50088f0 (invalid address). Program generated(1): Memory access exception on address 0x50088f0 (invalid address). Program generated(1): Memory access exception on address 0x50088f0 (invalid address). Program generated(1): Memory access exception on address 0x50088f0 (invalid address). Program generated(1): Memory access exception on address 0x50088f0 (invalid address). Program generated(1): Memory access exception on address 0x50088f0 (invalid address). etc. etc. ad infinitum....! ------------------------------------------------------------------------------ I wonder if anybody's run into this symptom before, or knows what's wrong? Thanks in advance for any ideas or pointers! --Lori -- L. Y. Pratt Dept. of Math and Computer Science lpratt@franklinite.mines.colorado.edu Colorado School of Mines (303) 273-3878 (work) 402 Stratton (303) 278-4552 (home) Golden, CO 80401, USA
Newsgroups: comp.sys.next.programmer From: jeffh@victoria.umhc.umn.edu (Jeff Hallgren) Subject: NXConnection runWithTimeout exception handling Message-ID: <C16tvs.Fq6@news2.cis.umn.edu> Followup-To: peter@tahiti.umhc.umn.edu Keywords: NXConnection runWithTimeout Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Thu, 21 Jan 1993 04:59:48 GMT How does one go about handling the exception raised when playing with NXConnection's runWithTimeout:? uncaught exception : 11013 uncaught exception : 11013 uncaught exception : 11013 is logged. I have an NX_DURING, but the exception never gets to my code. Any ideas? Direct replies to peter@tahiti.umhc.umn.edu Thanks
Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Date: Wed, 20 Jan 93 21:23:38 -0500 From: cap+@cmu.edu (Chris Paris) Message-ID: <UfLUYcv0_ek1Q0wE48@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Next-Attachment header I've seen the document that others have described that describes the NeXT mail format. I, too, can't find it right now. However, grab tnextmail from sonata. It creates Next-Attachment headers according to the document. Look at the function construct_attach_header() in batch.c. -- Chris Paris cap+@cmu.edu (NeXT mail)
From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) Newsgroups: comp.sys.next.programmer Subject: NXBundles and external libraries Message-ID: <PFKEB.93Jan20214908@kaon.SLAC.Stanford.EDU> Date: 21 Jan 93 05:49:11 GMT Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center I would appreciate advice on how to best handle the following situation... I have a large body of code with nibs which I've encapsulated in to a NXBundle. The code makes calls to an external library package. The purpose of the bundle is so that a number of other applications can load this bundle rather than compiling and linking their own copies of the source code. These other applications also link against the same external library, but far fewer members of the library. The problem is how do I get all the external references from the library resolved at run time and yet get the application to build. That is, if the application links against the external library, it only pulls out a few members and when the bundle loads, there will be many missing external symbols. When I build the bundle I could include the library, but then I'll get duplicate segment problems. The two ideas I have to solve this problem; which might also help clarify what I'm talking about, are the following... - Method 1: o force the loading of the entire library into the bundle. o don't link the Application against the library. o tell the linker with the -U option to ignore the few undefined symbols when building the application. o Make sure that the application loads the bundle before attempting to use any functions in the library. The bundle needs the entire library anyway, so the first item is not a problem. Asking each application builder to list their references to the library via the -U mechanism is rather unpleasant. - Method 2: o don't load the library with the bundle. o force the loading of the entire library in the application with the -all_load option of ld '-all_load' option seems to work on all libraries, so I'll have to take extra steps so it applies only to this one library. I think method 2 makes more sense, but haven't tried it yet. But I'm wondering if I'm missing an even better mechanism to accomplish this. Any suggestions? -- Paul F. Kunz pfkeb@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
From: hqm@ai.mit.edu (Henry Minsky) Newsgroups: comp.sys.next.programmer Subject: remapping the keyboard (control and meta keys) Date: 21 Jan 93 01:06:08 Organization: MIT Artificial Intelligence Laboratory Message-ID: <HQM.93Jan21010608@transit.ai.mit.edu> Can anyone tell me a way to remap the keyboard on a Next machine, so that the 'command key becomes the control key? I am used to editing in emacs, with a lisp-machine keyboard, and would like to have the control and meta keys adjacent. Thanks, Henry
Newsgroups: comp.sys.next.programmer From: karl@ensuing.com (Karl Kraft) Subject: Re: Printing Text efficiently Message-ID: <9301210538.AA05089@ensuing.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: Ensuing Technologies Inc. References: <sfLSrsq00WA7FdN0pM@andrew.cmu.edu> Distribution: usa Date: Thu, 21 Jan 1993 05:38:27 GMT In comp.sys.next.programmer article <sfLSrsq00WA7FdN0pM@andrew.cmu.edu> you wrote: > >One more quick question for you all: > > Is there any way to trivially print plain-text-information on a >printer from inside an App? Or do I need to stuff everything I wish to >print into a text-object and send that object a print-message? > You could just use popen() to send it to lpr. > (It just seems like a lot of overhead...) > It's not a lot of overhead (maybe 20 lines (from creation to deletion)), and your user will get a Print and Page Layout Panel that will * Allow them to select a printer * Allow them to select a page size * Allow them to save the postscript * Fax the text * Preview before they print to find out how many pages * Select certain pages to print * Possibly choose other fonts to print the document in * Select margins So do you want to use popen() and write a UI to do all that, or do you want to use the Text object, and get it for free? -- __________ Karl Kraft karl@ensuing.com (NeXT mail)
From: bobb@agora.rain.com (Bob Beauchemin) Newsgroups: comp.sys.next.programmer Subject: Memory Allocation Error Message-ID: <C16K2t.HGC@agora.rain.com> Date: 21 Jan 93 01:28:04 GMT Article-I.D.: agora.C16K2t.HGC Organization: Open Communications Forum I'm having a problem with the NeXT 2.1 compiler and wonder if anyone else has experienced it. Code that compiles OK and works on other platforms fails on the NeXT. The error messages (at program execution) are: memory allocation error: attempt to free or realloc space not in heap bad zone IOT trap Has anyone else experienced this problem and/or have a solution or explanation? Its happened on three different separate programs. Thanks (in advance), Bob Beauchemin bobb@agora.rain.com
Newsgroups: comp.sys.next.programmer From: wfc@cl.cam.ac.uk (William Clocksin) Subject: Is there anything like X's Regions? Message-ID: <1993Jan21.083424.10855@infodev.cam.ac.uk> Sender: news@infodev.cam.ac.uk (USENET news) Organization: U of Cambridge, England Date: Thu, 21 Jan 1993 08:34:24 GMT I need a class (or just some functions) that will efficiently implement something like what the X-Library calls 'Regions'. If this has not been done already, then I'll probably do it and submit it if there is any interest, but I would prefer just to grab it from somebody else if this is possible. ---------------------------------------------------- W.F. Clocksin, Assistant Director of Research, Computer Laboratory, University of Cambridge New Museums Site, Pembroke Street, Cambridge CB2 3QG, U.K. Tel UK: (0223) 334628. Tel (Int'l): +44 223-334628. Fax UK: (0223) 334678. Fax (Int'l): +44 223-334678. Internet: wfc@CL.cam.ac.uk (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Looking at matrix of buttons? Message-ID: <1993Jan21.140249.13392@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Thu, 21 Jan 1993 14:02:49 GMT I've created a matrix of radio Buttons that is 5 by # of processes. For each process, one of the five buttons will be selected. I want to tabulate the number of button 1's, button 2's, etc. and to also check a given process to see which button is selected. All I see are selectedCol and selectedRow which give me the last Col or row in the entire matrix. I'm looking for a way to check for each row, which column is selected. Any ideas? (simple is better) - - - - - - - - - J. W. Wooten
From: scott@nic.gac.edu (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Problem/solution for some Text object RTFD weirdness. Date: 21 Jan 93 02:59:55 Organization: Is a sign of weakness Distribution: world Message-ID: <SCOTT.93Jan21025955@nic.gac.edu> I've had a recurrent problem which manifests when loading streams of RTFD data into a Text object. This bug manifests when identical code is run under both NS2.1 and NS3.0 - though I cannot vouch for the new RTFD-specific code in NS3.0 (there are new methods integral to the Text object that might not show this problem). More than likely, this post will have no use to anyone, but one never knows ... Problem In essence, I've got an Attachment class which is capable of reading tiff or eps data into an NXImage. I do: [Text registerDirective:"NeXTGraphic" forClass:[Attachment class]]; to register the class for NeXTGraphic directive. For the _most_ part it works, but sometimes there are problems. The problems occur while in the Text method -readRichText:. Periodically, my Attachment instances will be called on to draw themselves _twice_. The first time through, the position of the graphic is recorded as an odd x,y value, such as {0, 0}, even when the graphic is far into the document. Sometimes, though, I find that I am being passed totally wacko data, such as: Stuart? rect=={{ 0.000000, -755578637259143230000000.000000}, { 100.000000, 96.000000}} and: Stuart? rect=={{ 0.000000, NaN}, { 77.000000, 20.000000}} The problem seems to degrade over time, with the first couple loads being alright, but later ones having more chances of being screwed up. Also, by running the program with -NXShowAllWindows, I noticed that more images were being asked to display than actually fit within the visible area. To be more precise, when the Text first called the Attachment object to display themselves, more attachments were displayed than were displayed when it called them each a second time. Running Edit with -NXShowAllWindows and loading the same files demonstrated that Edit _only_ displayed the images which were actually within the visible area. It did _not_ display any of the later images in the file until they entered the visible area. Beyond the basic _weirdness_ of this problem, there lurks a bigger problem. If you send the image to the windowserver with these bad values in it, things start to get wedged, I believe in the client library, and eventually my program falls off the deep end and dumps. No good! My first approach to fixing this problem was to restrict the coordinates to "sane" values which I knew to be workable. Unfortunately, this apparently addressed the symptom _not_ the cause. In some cases, I was still getting segmentation faults, so it seems that the problem was deeper than I first thought. Solution After quite a large amount of sleuthing, it occurred to me to look at another program I have which uses the same code, and see if it ever has the problem. Nope. The one difference I could find between the programs was that in one case, the Text object being read into was _always_ clean, with no text in it. In the problem case, the Text object may already contain text, and possibly attachments. The program now seems to work if I first do [aText setText:""] before doing the [aText readRichText:aStream], so apparently that was the problem. With the code structured that way, the attachments are no longer displayed twice except when necessary (for instance, when scrolling). Also, the extra images that were previously being displayed are no longer displayed until visible. Summary Asking the Text object to read new RTFD data while there is currently RTFD data in the Text object is a recipe for disaster. Apparently, the Text object does not correctly remove all of the old information, and attempts to read in the new information in the context of the old. In order to prevent this, first clear the Text using -setText: and then read the new RTFD data. Note that this problem does _not_ affect regular RTF data without attachments. Hope this can be of some help to someone out there, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer From: nicolson@strauss.berkeley.edu (Ed Nicolson) Subject: Re: NXBundles and external libraries Message-ID: <1993Jan21.184110.19517@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley References: <PFKEB.93Jan20214908@kaon.SLAC.Stanford.EDU> Date: Thu, 21 Jan 1993 18:41:10 GMT In article <PFKEB.93Jan20214908@kaon.SLAC.Stanford.EDU> pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) writes: > I would appreciate advice on how to best handle the following > situation... > > I have a large body of code with nibs which I've encapsulated in to > a NXBundle. The code makes calls to an external library package. The > purpose of the bundle is so that a number of other applications can > load this bundle rather than compiling and linking their own copies of > the source code. These other applications also link against the same > external library, but far fewer members of the library. > I have a similar question. When distributing a custom Palette I need to distribute a library of the object code along with the Palette, which I believe is a bundle. The Palette contains my custom subclass of IBPalette (MyIBPalette) along with other classes I have created. The palette (bundle) also contains nib and tiff files that the other classes need. To get those resources I use bundle = [NXBundle bundleForClass: [MyIBPalette class]]; [bundle getpath:buf forResource .....] in the code for the other classes. To create the library I took all the object code files from the palette and used ar and ranlib to create a library which I link in with the application using the custom Palette. This gives the message: /bin/ld: Undefined symbols: objc_class_name_IBInspector _IBObjectPboardType objc_class_name_IBPalette Questions: a) Is there another library other than the standard -lMedia_s -lNeXT_s that could be linked to solve this problem (I could not find one.) b) Should I not be using the class MyIBPalette to be the class "holding" the bundle for all the custom palette resources since the application will not require the IBInspectors and IBPalette classes during execution. It only needs them when running Interface Builder. Ed Nicolson nicolson@robotics.berkeley.edu
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: IB broken with custom Box classes? Message-ID: <1993Jan21.164823.1865@afs.com> Sender: greg@afs.com Date: Thu, 21 Jan 1993 16:48:23 GMT Has anyone else noticed braindead behavior for custom Box classes in IB 3.0? We have an AfsBox class with some additional ivars to secure the contents. Of course, the Group operation doesn't work, so you have to alt-drag objects into it individually. So far so good. But once they're inside, IB refuses to recognize them as attachable (i.e., it won't draw rings around them while you're alt-dragging). Has anyone else noticed this, and has it been reported to NeXT? -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
From: t68@nikhefh.nikhef.nl (Jos Vermaseren) Newsgroups: comp.sys.next.programmer Subject: Re: Memory Allocation Error Message-ID: <2184@nikhefh.nikhef.nl> Date: 21 Jan 93 15:37:18 GMT References: <C16K2t.HGC@agora.rain.com> Organization: Nikhef-H, Amsterdam (the Netherlands). In article <C16K2t.HGC@agora.rain.com>, bobb@agora.rain.com (Bob Beauchemin) writes: > > I'm having a problem with the NeXT 2.1 compiler and wonder if anyone else > has experienced it. Code that compiles OK and works on other platforms > fails on the NeXT. The error messages (at program execution) are: > The argument that it runs on other platforms is not so good. Many old style UNIX programmers messed up int's and pointers freely..... I have had similar problems with free when you give it a pointer that you did not get from malloc before (like a NULL pointer). It can result in very erratic behaviour after the (illegal) freeing. It is just one of those things.... The standard says what free should do when everything is swell but of course the question is what it should do when things are wrong. Standards rarely specify. You could crash the program, continue execution which a poisoned system (what NeXT does) or when you manage to set up malloc and free in such a way that nothing gets poisoned just keep running (like many other systems do). Unless there is a real programming error inside Mach, I guess formally you cannot blame NeXT too much. You should have a good look inside your program and make sure that each pointer that is freed is allowed to be freed. A little macro like #define MyFree(x) if ( x != NULL ) { free(x); x = NULL; } can work miracles. You could sneak in an else with an error message if you want to see whether you try to free the same thing twice. Of course it would be nice if the NeXT would crash the program rather than continue running..... Or would it? Maybe a good error message? Jos Vermaseren
From: drew@fnbc.com (Drew Davidson) Newsgroups: comp.sys.next.programmer Subject: Re: Why can't I load a palette? Message-ID: <1993Jan21.153401.21153@fnbc.com> Date: 21 Jan 93 15:34:01 GMT References: <1jkmq1INNb5g@mirror.digex.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA In article <1jkmq1INNb5g@mirror.digex.com> hacker@access.digex.com (Dark Hacker) writes: > I'm building a palette patterned after the example palette in the > NeXT Digital Librarian Concepts guide. It builds properly but when > I use "Load Palette" inside IB I get an Alert that says "Can't load > the palette blah blah blah..." > > So why can't I load this palette? Is there some magic flag to set? > Like I say, the build is fine but the palette load from IB fails. > Anything I have to look for in particular? I'm building this under > NS 3.0 so maybe there's something I have to do that hasn't been > covered in the guide. More than likely you either (a) already have the palette loaded, or (b) you have a class used in both your new palette and a palette that is already loaded. If you don't have anything other than the standard palettes loaded, then you might have a problem with your palette.table file in the ExportClasses list. Make sure you have all your external (i.e. ones that IB will see like Inspectors) named here. > - Hacker > -- > Dark Hacker @ Black Silicon, Fortress Of Computation > hacker@black-silicon.mclean.va.us > > "Life itself is... COMPUTATION!" -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: drew@fnbc.com (Drew Davidson) Newsgroups: comp.sys.next.programmer Subject: Re: gdb seems broken on Next 3.0 Turbo color Message-ID: <1993Jan21.154318.21619@fnbc.com> Date: 21 Jan 93 15:43:18 GMT References: <1993Jan21.013214.28984@slate.mines.colorado.edu> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA In article <1993Jan21.013214.28984@slate.mines.colorado.edu> lpratt@slate.mines.colorado.edu (Lorien Pratt) writes: > Hi, > I'm running gdb for the first time on my new NeXT, and it seems broken. > I wonder if anybody could help me. Here are the symptoms: > > mple.c > main () > { int i; > > for (i = 0; i < 5; i++) > if (!i) i += 3; else if (i == 4) i += 2; > } > % cc -g simple.c -o simple > % gdb simple > Reading symbol data from simple...done. > Reading symbol data from /usr/shlib/libsys_s.B.shlib...done. > (gdb) list > 1 main () > 2 { int i; > 3 > 4 for (i = 0; i < 5; i++) > 5 if (!i) i += 3; else if (i == 4) i += 2; > 6 } > (gdb) break 5 > Breakpoint 1 at 0x3eae: file simple.c:5. > (gdb) run > Starting program: /Users/lpratt/simple > Program generated(1): Memory access > exception on address 0x50088f0 (invalid address). > Program generated(1): Memory access exception on address 0x50088f0 (invalid > address). > Program generated(1): Memory access exception on address 0x50088f0 (invalid > address). > Program generated(1): Memory access exception on address 0x50088f0 (invalid > address). > Program generated(1): Memory access exception on address 0x50088f0 (invalid > address). > Program generated(1): Memory access exception on address 0x50088f0 (invalid > address). > etc. etc. ad infinitum....! > ------------------------------------------------------------------------------ > I wonder if anybody's run into this symptom before, or knows what's wrong? > Thanks in advance for any ideas or pointers! > --Lori I ran this on a Turbo Color under 3.0 and it worked fine. Except for the fact that on mine, the message after the breakpoint setting was "Breakpoint 1, main () at simple.c:5" instead of "Breakpoint 1 at 0x3eae: file simple.c:5". Could this be significant? Hmmmm... > -- > L. Y. Pratt Dept. of Math and Computer Science > lpratt@franklinite.mines.colorado.edu Colorado School of Mines > (303) 273-3878 (work) 402 Stratton > (303) 278-4552 (home) Golden, CO 80401, USA -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: drew@fnbc.com (Drew Davidson) Newsgroups: comp.sys.next.programmer Subject: Re: Printing headers and footers with the Text object Message-ID: <1993Jan21.155448.22515@fnbc.com> Date: 21 Jan 93 15:54:48 GMT References: <C16LKo.KG7@oceania.com> Sender: news@fnbc.com Distribution: na Organization: First National Bank Of Chicago, Chicago IL, USA In article <C16LKo.KG7@oceania.com> chris (Chris Larson) writes: > As described, I need to be able to take a Text object and print it with headers and > footers. The Text (View) object gives you some access to the PS stream that is being > created (via the beginSetup, endSetup, etc. methods), and I need to to determine if > headers and footers can be inserted into the PS stream using this approach. > > I have to believe someone has tried this or thought about it. Any takers? The way that I would solve this is to make a View subclass that has the Text as a subview. The view that you create should be the size of the current paper type selected, etc. (see Draw example code for how to get the PrintInfo object to obtain this info), make room for your headers and footers, then install the Text as a subview. Voila! > Chris > -- > Chris Larson <==> chris@oceania.com <==> NeXT Mail is cool > Oceania Health Care Systems Palo Alto, CA > The Software Ranch Park City, UT -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: daj@ccrma.stanford.edu Newsgroups: comp.sys.next.programmer Subject: Re: Music Kit Question Message-ID: <1993Jan21.231029.3409@leland.Stanford.EDU> Date: 21 Jan 93 23:10:29 GMT References: <aw#@byu.edu> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University In article <aw#@byu.edu> writes: > > > I've been playing around a lot with getting background scores > playing in my games, and have run up against a couple of problems. > > I can get either sound effects _or_ music to work quite well alone, > but getting both simultaneously from the same app does not work. > I have a few theories about why this is, and how to fix it...but > if someone else has got sound playback and music working simultaneously > from the same app already, I'd be interested in a few tips. I > looked at the latest Ensemble, and it too can only do sound _or_ > DSP synthesis, but not both together. Ack! Of course, if I spin > off a separate process to play the scorefile and do the sounds from > the game itself, everything works fine. This is easy with distributed > objects, but I'd rather have my ScorePlayer object reside in the > same process, since this is wholly inelegant. (It works, though.) > I don't understand the question. One of the most interesting features of the latest Ensemble (3.1 music kit) is the ability to combine playing of sound files with DSP synthesis. This DOES work. I suggest looking closely at how Ensemble does it and do the same thing in your application.
Newsgroups: comp.sys.next.programmer From: karl@ensuing.com (Karl Kraft) Subject: Re: IB broken with custom Box classes? Message-ID: <9301212325.AA00341@ensuing.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: Ensuing Technologies Inc. References: <1993Jan21.164823.1865@afs.com> Distribution: usa Date: Thu, 21 Jan 1993 23:25:59 GMT In article <1993Jan21.164823.1865@afs.com> greg@afs.com (Gregory H. Anderson) writes: >Has anyone else noticed braindead behavior for custom Box classes in IB >3.0? We have an AfsBox class with some additional ivars to secure the >contents. Of course, the Group operation doesn't work, so you have to >alt-drag objects into it individually. So far so good. But once they're >inside, IB refuses to recognize them as attachable (i.e., it won't draw >rings around them while you're alt-dragging). Has anyone else noticed >this, and has it been reported to NeXT? No I have a palette with a subclass of Box, and this behaviour doesn't happen at all. My version in Release 3.0 v359.0, which is what came with the release of 3.0. But then again: >Of course, the Group operation doesn't work, so you have to >alt-drag objects into it individually. It's a well known (and well documented) bug that you can't alt drag objects in IB anymore. So obviouslly we have differnent versions. Fess up, what version number do you have? -- __________ Karl Kraft karl@ensuing.com (NeXT mail)
Newsgroups: comp.sys.next.programmer From: burchard@horizon.math.utah.edu (Paul Burchard) Subject: Re: NXBundles and external libraries Message-ID: <C18H46.I3L@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <1993Jan21.184110.19517@pasteur.Berkeley.EDU> Date: Fri, 22 Jan 1993 02:19:17 GMT In article <1993Jan21.184110.19517@pasteur.Berkeley.EDU> nicolson@strauss.berkeley.edu (Ed Nicolson) writes: > > To create the library I took all the object code files from the > palette and used ar and ranlib to create a library which I link in > with the application using the custom Palette. This gives the message: > > /bin/ld: Undefined symbols: > objc_class_name_IBInspector > _IBObjectPboardType > objc_class_name_IBPalette > Don't "ar"-chive any of the IB-specific classes (IBInspectors, etc) into your library. Your end-user classes hopefully don't directly refer to any of them (except thru harmless stuff like -getInspectorClassName). -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' -------------------------------------------------------------------- lication using the custom Palette. This gives the message: > > /bin/ld: Undefined symbols: > objc_class_name_IBInspector > _IBObjectPboardType > objc_class_name_IBPalette > Don't "ar"-chive any of the IB-specific classes (IBInspectors, etc) into your library. Your end-user classes hopefully don't directly refer to any of them (except thru harmless stuff like -getInspectorClassName). -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' ----------------------------------------------
Message-ID: <#0#@byu.edu> Date: Thu, 21 Jan 93 20:59:17 MST From: yackd@idaho.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world References: <aw#@byu.edu> <1993Jan21.231029.3409@leland.Stanford.EDU> Organization: Brigham Young University, Provo UT USA Subject: Re: Music Kit Question In article <1993Jan21.231029.3409@leland.Stanford.EDU>, daj@ccrma.stanford.edu writes: >In article <aw#@byu.edu> writes: >> >> >> I've been playing around a lot with getting background scores >> playing in my games, and have run up against a couple of problems. >> >> I can get either sound effects _or_ music to work quite well alone, >> but getting both simultaneously from the same app does not work. >> I have a few theories about why this is, and how to fix it...but >> if someone else has got sound playback and music working simultaneously >> from the same app already, I'd be interested in a few tips. I >> looked at the latest Ensemble, and it too can only do sound _or_ >> DSP synthesis, but not both together. Ack! Of course, if I spin >> off a separate process to play the scorefile and do the sounds from >> the game itself, everything works fine. This is easy with distributed >> objects, but I'd rather have my ScorePlayer object reside in the >> same process, since this is wholly inelegant. (It works, though.) >> > >I don't understand the question. One of the most interesting features of >the latest Ensemble (3.1 music kit) is the ability to combine playing of >sound files with DSP synthesis. This DOES work. > >I suggest looking closely at how Ensemble does it and do the same thing in your >application. I answered this is e-mail, but since the replay was posted, too, I thought I ought to clarify for any confused net readers... The problem I had was that I couldn't get Ensemble to do sound+music. Looking at the source, I see it should, and I suspect it's my lack of knowledge about Ensemble that was the block there. I wish someone who knew how to use it would take the time to write decent user docs. Anyway, sound+music is pretty easy under 3.0, and I did figure it out. The next release of PacMan will include the necessary source code, so any of the curious will be able to muck around with it. It you need the source before then for any reason, just ask me and I'll send it. The basic solution is to create your own sound out device and your own play stream and then play the sounds by enqueueing the data buffer on the play stream. You _cannot_ use the -play* methods in the Sound object, though, since they do something which conflicts with the music kit. In fact, I've found those methods to be very buggy and not worth using, especially if a sound will be played back repeatedly, such as in a game. Questions, flames, etc. should be mailed to me... Later, -Don Yacktman yackd@alaska.et.byu.edu
Newsgroups: comp.sys.next.programmer From: mike@media-lab.mit.edu (Michael Hawley) Subject: reading CD data Message-ID: <1993Jan21.205345.7268@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory Date: Thu, 21 Jan 1993 20:53:45 GMT Anyone have the driver code to read digital data from audio CD's using the CD-ROM drive? Digitizing through the DSP is adequate but silly.
Newsgroups: comp.sys.next.programmer From: becker@informatik.uni-hamburg.de (Ulrich Becker) Subject: Re: Passing Stream Data between Client and Server? Message-ID: <1993Jan22.111601.15395@informatik.uni-hamburg.de> Sender: news@informatik.uni-hamburg.de (Mr. News) Organization: University of Hamburg, FRG References: <1993Jan18.203809.6077@ornl.gov> Date: Fri, 22 Jan 93 11:16:01 GMT In article <1993Jan18.203809.6077@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > [Problem description] > > The problem is that NXStreams can't be used between proxy objects since > the size of the NXStream can't be determined. The information can't be > passed as char * since there are imbedded nulls. > Why not use bit/byte stuffing? -- Ulrich Becker Becker@informatik.uni-hamburg.de
Newsgroups: comp.sys.next.programmer From: monty@intuitiveedge.com (Montgomery Zukowski) Subject: Name that SND format Message-ID: <9301221546.AA00271@intuitiveedge.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Fri, 22 Jan 1993 15:46:46 GMT Does anyone know what these formats are? I couldn't find any mention of them in the documentation. #define SND_FORMAT_NESTED (9) #define SND_FORMAT_ADPCM_G721 (23) #define SND_FORMAT_ADPCM_G722 (24) #define SND_FORMAT_ADPCM_G723_3 (25) #define SND_FORMAT_ADPCM_G723_5 (26) Thanks, Monty
Newsgroups: comp.sys.next.programmer From: monty@intuitiveedge.com (Montgomery Zukowski) Subject: ATC sounds, random access? Message-ID: <9301221626.AA00280@intuitiveedge.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Fri, 22 Jan 1993 16:26:41 GMT I need to record, compress and playback huge sounds (>55M) with random access into the sounds. I know that NeXT's ATC uses frames which represent ATC_FRAME_SIZE (256) samples each, but I don't know enough about ATC to know if I can uncompress frames individually or if each frame uses information from the previous frame. Any pointers to articles about ATC would be greatly appreciated also. If I can't uncompress frames individually I'll need to break each sound into chunks which would then be compressed. Even if I can uncompress frames individually I'll need to set up an index structure so I can get to any frame quickly without having to jump from frame to frame. The format specifies that each frame says how large it is, giving a pointer to the next frame. It would be easier to use ATC as it is, so I hope the answer is yes. Thanks, Monty
From: curt@oasys.dt.navy.mil (Curt Welch) Newsgroups: comp.sys.next.programmer Subject: Re: reading CD data Message-ID: <30056@oasys.dt.navy.mil> Date: 22 Jan 93 18:15:29 GMT References: <1993Jan21.205345.7268@news.media.mit.edu> Organization: Carderock Division, NSWC, Bethesda, MD In comp.sys.next.programmer, mike@media-lab.mit.edu (Michael Hawley) writes: >Anyone have the driver code to read digital data >from audio CD's using the CD-ROM drive? >Digitizing through the DSP is adequate but silly. I don't think it's possible with the NeXT CD-ROM drive (or with most CD-ROM drives for that matter.) The problem is that CDs have a strange blocking. If I remember the numbers correctly, CDs use 24 byte frames. 98 frames form one subcode block - which contains 2352 bytes of music data and 98 bytes of subcode data. 75 of these blocks makes up exactly 1 second of stereo 44.1K music. CD-ROMs store only 2048 data bytes in each of these 2352 music blocks. As I understand it, the standard chips that are used in CD-ROM drives to read data don't give you access to the extra bytes in each block, so at best, you would on be getting 87% of the music data. I've read that the CD-ROM drive on some SGI systems can read all the music data, so at least someone has made a CD-ROM drive that can read the music data, but I think it requires more than just the right software driver. I could be wrong however.. the NeXT CD-ROM might be able to do it. On a related subject, I heard that some of the "newer" NeXT CD-ROM drives could read multi-session Kodak Photo-CDs. Does anyone know if this is true? Curt
From: klui@corp.hp.com (Ken Lui) Newsgroups: comp.sys.next.programmer Subject: Re: reading CD data Date: 22 Jan 1993 18:37:29 GMT Organization: Hewlett-Packard Company Message-ID: <1jpet9INNgsq@hpscit.sc.hp.com> References: <1993Jan21.205345.7268@news.media.mit.edu> <30056@oasys.dt.navy.mil> In article <30056@oasys.dt.navy.mil> curt@oasys.dt.navy.mil (Curt Welch) writes: >I've read that the CD-ROM drive on some SGI systems can read all >the music data, so at least someone has made a CD-ROM drive that >can read the music data, but I think it requires more than just >the right software driver. The SGI and new Apple CD-ROM drives (Toshiba makes the SGI unit, while Sony makes the Apple unit) supports the proper SCSI command to access audio data from audio CDs. I haven't tried it, but someone mentioned in a comp.sys.mac.* newsgroup said that with the newer Macs and the Apple 300i drive, he was able to disconnect the supplied microphone and record directly from an audio CD into a Mac SND file. However it's done, it's certainly possible--I didn't followup to find out what the sampling rate was. Ken -- Kenneth K.F. Lui, klui@corp.hp.com 3000 Hanover Street MS20BJ Corporate Administrative Information Systems Palo Alto, CA 94304 USA Core Application Technologies 1(415)857-3230 Fax 1(415)852-8026
Newsgroups: comp.sys.next.programmer From: fud@leland.Stanford.EDU (Fred Lide Cheng) Subject: init methods with Project Builder Message-ID: <1993Jan22.184146.2218@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSG, Stanford University, CA 94305, USA Date: Fri, 22 Jan 93 18:41:46 GMT Hi, I'm aa beginner to programming the NeXT and to OOP in general. I'm trying to initialize a Matrix class object ( with a different cellClass) at the beginning of the program. I was wondering how one would go about doing this since the main file isn't supposed to be modified. fred
From: heading@ccint1.rsre.mod.uk (Anthony J.R. Heading) Newsgroups: comp.sys.next.programmer Subject: autonfsmount with file for a map Message-ID: <1jpjasINN9l8@signal.dra.hmg.gb> Date: 22 Jan 93 19:53:00 GMT Organization: Defence Research Agency Has anyone used autonfsmount successfully using a file for a map? Despite hours of playing about, I couldn't get anything apart from the fstab version (as kicked up in rc) to work. Which is no use to me since the /Net/host format thus enforced is completely different to the one I need. I think there's a bug, but if anyone has got it to work, just 'echo yes | mail heading@ccint1.rsre.mod.uk' and I'll go back and try some more... Cheers Anthony
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: Passing Stream Data between Client and Server? Message-ID: <1993Jan22.185942.412@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1993Jan22.111601.15395@informatik.uni-hamburg.de> Date: Fri, 22 Jan 1993 18:59:42 GMT In article <1993Jan22.111601.15395@informatik.uni-hamburg.de> becker@informatik.uni-hamburg.de (Ulrich Becker) writes: > In article <1993Jan18.203809.6077@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > > [Problem description] > > > > The problem is that NXStreams can't be used between proxy objects since > > the size of the NXStream can't be determined. The information can't be > > passed as char * since there are imbedded nulls. > > > > Why not use bit/byte stuffing? If one responds to the NXEncoding/NXDecdoing protocol, then you could create a wire compatible object that either uses encode/decodeBytes:count: or pass an NXData object between the two hosts.... > > [John W. Wooten] > > Ulrich Becker > > Becker@informatik.uni-hamburg.de b.bum -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: Re: reading CD data Message-ID: <1993Jan22.195631.21751@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1993Jan21.205345.7268@news.media.mit.edu> Date: Fri, 22 Jan 1993 19:56:31 GMT mike@media-lab.mit.edu (Michael Hawley) writes: >Anyone have the driver code to read digital data >from audio CD's using the CD-ROM drive? >Digitizing through the DSP is adequate but silly. This is, of course, highly desirable. It's also illegal. It's also possible, but requires a ROM change. Anybody up for dissassembling and rewriting a ROM? The next problem is how to distribute such a ROM, since the music industry has persuaded the Feds that such a capability is in the same category with bomb technology. <}:-) Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer From: karl@ensuing.com (Karl Kraft) Subject: Re: init methods with Project Builder Message-ID: <9301221935.AA00493@ensuing.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: Ensuing Technologies Inc. References: <1993Jan22.184146.2218@leland.Stanford.EDU> Distribution: usa Date: Fri, 22 Jan 1993 19:35:43 GMT In article <1993Jan22.184146.2218@leland.Stanford.EDU> fud@leland.Stanford.EDU (Fred Lide Cheng) writes: >Hi, > >I'm aa beginner to programming the NeXT and to OOP in general. I'm trying >to initialize a Matrix class object ( with a different cellClass) at >the beginning of the program. I was wondering how one would go about >doing this since the main file isn't supposed to be modified. give the application a delegate and use appDidinit: or Make an object that does these modifications and uses awakeFromNib or modify the main file, but turn off "Generate Main File on Save" in PB's Attributes inspector for the project. -- __________ Karl Kraft karl@ensuing.com (NeXT mail)
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: Query about Scroll Views Date: 22 Jan 1993 23:30:13 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1jq025INN59s@uwm.edu> Originator: xepo@csd4.csd.uwm.edu HI all, I am a little confused about the nature of the scroll view. The confusion of course comes from ignorance about the behavior of the scroll view. Anyway, I am wondering just how a scroll view works. For example, in digital librarian you type in a search and get a bunch of icons below with the results. Usually the list is more then a screen full, so you have to use the scroller. What I am wondering is if DL actually has to recalculate and redraw the scroll view each time it is scrolled. Or, is there some tricky way to do it so that the scroll view actually does the recalculated and what not. I guess what it comes down to is, if I want scrollable graphics, do I need to overwrite the drawself with some code to calculate what should be redrawn in the doc view of the scroll view? I hope that I haven't been to general in my question, but any input would be great. Thanks in advance, -- -Scott Violet (xepo@csd4.csd.uwm.edu)
From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Newsgroups: comp.sys.next.programmer Subject: What is an API? an other things Message-ID: <1993Jan22.233304.5135@cc.umontreal.ca> Date: 22 Jan 93 23:33:04 GMT Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal #include <BasicQuestions.h> things = {API, Cyberman, ShowAndTell, Amiga *REXX} foreach this in things ask(" What is ", this " ? ") foreach that in things if (this != that) ask(" and which relations with ", that) end end U de Montreal, dept de physique, solide, 2e cycle, Raymond Lutz ND_cube_NeXT_isolated_newbe_wannabe
Newsgroups: comp.sys.next.programmer From: kessler@roses.Stanford.EDU (Will Kessler) Subject: Video on the NeXT? Message-ID: <1993Jan23.000308.16315@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Sat, 23 Jan 93 00:03:08 GMT Hello Nexters, A firm that I consult for is preparing a project bid for a large company that wants to monitor faults at its factories remotely using color cameras and a computer network. I would like to consider the NeXT as the basic platform since I've been hacking in Unix for years, but Quicktime on Macs/PC's seems the simplest solution (however, networks of macs and PC's are a drag). Does anybody have any suggestions on info. sources (companies, mags, users groups, a book) for video input/output/compression on a network of NeXT machines? I realize this question may be too basic for this group, feel free to flame me about it at the below address. Thanks in advance, Will Kessler kessler@roses.stanford.edu Rehabilition Research Division Dept. of Veterans Affairs 3801 Miranda Avenue/153 Palo Alto, CA 93404-1200 (415) 493-5000 x4478 (w/v-mail) FAX (415) 493-4919 Seen on local vending machine: "Anti-theft device prevents obtaining free product." -- Will Kessler kessler@roses.stanford.edu Rehabilition Research Division Dept. of Veterans Affairs 3801 Miranda Avenue/153 Palo Alto, CA 93404-1200 (415) 493-5000 x4478 (w/v-mail) FAX (415) 493-4919 Seen on local vending machine:
Newsgroups: comp.sys.next.programmer From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) Subject: Re: NXBundles and external libraries In-Reply-To: pfkeb@kaon.SLAC.Stanford.EDU's message of Thu, 21 Jan 1993 05:49:11 GMT Message-ID: <PFKEB.93Jan22202833@kaon.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <PFKEB.93Jan20214908@kaon.SLAC.Stanford.EDU> Date: Sat, 23 Jan 1993 04:28:37 GMT After a day of puting out fires in other areas, I came back to this problem and it turned out quite easy. The problem was that a dynamically loaded bundle and the staticly loaded code in an application resolved external symbols from the same external non-NeXT C library where the bundle needed many more symbols than the application. Here's what I did... In Makefile.preamble of the application, I put in LLIBS = /usr/local/lib OTHER_OFILES = obj/hippo.o LIBHIPPO = $(LLIBS)/libhippoNext.a where libhippoNext.a is the C library in question. In Makefile.postamble of the applicaton, I put in obj/hippo.o : $(LIBHIPPO) ld -all_load -r -o $@ $(LIBHIPPO) This dependency rule forces all of libhippoNeXT.a to be linked re-locateable into the file obj/hippo.o and since obj/hippo.o has been declared as an "OTHER_OFILE" everything works. That is, the application links without errors due to unresolved sysmbols, and the bundle loads also without errors due to unresolved symbols. Obviously, this is a good solution only if you essentially need all of the library in the application anyway, which is my case. The real answer to the problem is to build a shared library, but nobody but a few gurus at NeXT know how to build a shared library on a NeXT. I have nobody to thank for suggestions or solutions to my question since I didn't get any via the news group nor by e-mail. This must be one of the rare cases where the net didn't come thru. -- Paul F. Kunz pfkeb@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Memory Management NeXT/Windows Message-ID: <1993Jan23.040747.11897@netcom.com> Sender: yikes@netcom.com (Jenny Doll) Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1993Jan22.184146.2218@leland.Stanford.EDU> <9301221935.AA00493@ensuing.com> Distribution: usa Date: Sat, 23 Jan 1993 04:07:47 GMT I'm developing an app on the NeXT that I'd like to take the bulk of to either Windows and/or Macintosh. I think I know how to port everything but the UI and memory management. As far as the UI goes, I'm not going to worry about now. What I am worried about is memory management. I've scanned through the Windows docs and understand how memory management works there (getting handle, locking, operating, unlocking) and I'm looking for an established scheme to make the port seamless between Unix and Windows/Mac. Any ideas? Thanks, ...Michael Brill (yikes@netcom.com) -- ----
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <ofM9y2200WA78Jzh9B@andrew.cmu.edu> Date: Fri, 22 Jan 1993 20:29:38 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: DBTableView bugs?? Working with the DBTableView delegate messages: - (BOOL)tableViewWillChangeSelection:aTableView and - tableViewDidChangeSelection:aTableView As I mentioned before, returning a value of NO from tableViewWillChangeSelection will result in the Window being left in a disableFlushWindow mode. (Window's "Display" is not affected, however the Appkit documentation concerning the isDisplayEnabled message is incorrect -- like a large number of other mistakes in the docs -- looks like someone did a careless cut&paste job creating them...) An additional problem has shown up in that not every YES-returning "Will" message is followed by a corresponding "Did" message. And "Will"s that return NO ARE (sometimes) followed by a "Did" message... More critically for me, if you use a NXRunAlertPanel() inside the "Will" message, the DBTableView object seems to 'halt' and wait for the next mouse-down event. (I get the disk-busy-please-wait icon indefinitly.) Upon receiving this, the DBTableView instance finishes what it was doing... (ie, the "Did" message, or secondary fetches for other (connected) dbModules.) Occasionally, this second mouse-down will cause the DBTableView to change rows again, or (much more rarely) to core dump, even though the mousedown event location is well outside of the DBTableView. Also, the mouse-down event continues to get processed by whatever object was under it.. ie textfield, button, etc... My attempts to alleviate this where hopeless. The DBTableView is not lockFocus'ed in any way. (Nor in any subView.) PSgsave/PSgrestore and PSsave/PSrestore did not help. My instinctive guess from this is that pressing a button on the Alert Panel modifies the event-queue in a manner that upsets DBTableView. But that's just a guess... (Anyone have the source so we could find out?) Lastly, and rather irritatingly, if you return NO from the "Will" message, you would think that that would prohibit the DBTableView from changing rows... BUT, if you drag the mouse instead of just a pressing & releasing the mousebutton, you can select which row you want BEFORE the "Will" message is sent (thereby changing the row). Anyway, words to the wise -- & has anyone else been able to generate any of these bugs??? (For what it's worth, I still love the object & it's UI -- It's just that my head is getting too bloody to see the screen... ;-) -David. P.S> For those of you who are wondering how I'm coping with it all: I maintain an instance variable to communicate to "Did" whether "Will" said YES or NO. If they're going to lose data, "Will" now always NXBeeps() and returns NO. If they want to overide it, they can drag the mouse. (And I'm billing it all as a "feature" to the commissioners. ;-)))
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <ofM_2yS00WA78Jzi5C@andrew.cmu.edu> Date: Fri, 22 Jan 1993 20:34:54 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: Re: Memory Allocation Error In-Reply-To: <erich.727618096@alamo> Excerpts from netnews.comp.sys.next.programmer: 21-Jan-93 Re: Memory Allocation Error by Erich S. Boleyn@alamo.mt > I have seen this problem many times. It has always (so far at least) >been caused by attempting to call 'free' on a statically allocated string. >..... > Basically, your answer is to just bite the bullet and fix the bad >code that technically shouldn't have worked anyway, even though SunOS >and a few others are permissive. ???? If this truly is the problem, there's a much easier, though far less "correct" solution: (from "man cc") -fwritable-strings Store string constants in the writable data segment and don't make them unique. This is for compatibility with old programs that assume they can write into string constants. Writing into string constants is a very bad idea; "constants" should be constant. Remember, NeXT 'cc' is/was based around GNU's gcc. -David.
From: dlisoski@bluff.galcit.caltech.edu (Derek L. Lisoski) Newsgroups: comp.sys.next.programmer Subject: Edit's Expansion Dictionary - How?? Date: 23 Jan 1993 09:41:55 GMT Organization: California Institute of Technology, Pasadena Distribution: na Message-ID: <1jr3t3INN16i@gap.caltech.edu> I am having trouble getting entries in Edit's expansion dictionary to expand...although they do show up ok, both in the Edit <command>-E window and in the ~/.editdict file. Then I am just supposed to type the abbreviation and <Esc> or what? If I do that it just beeps at me.... Thanks for any info derek dlisoski@cco.caltech.edu
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: Setting NXSplitView position programmatically Message-ID: <C1AxMy.L0G@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA Date: Sat, 23 Jan 1993 10:11:21 GMT I finally decided to add an NXSplitView to one of my apps. Pretty straightforward, actually. However, I would like to know if there is an easy way to set the position of the divider from my program. I'd like to support something I haven't seen in ProjectManager, but is supported by Mail.app in Mailboxes, and that is for the program to remember the SplitView divider position when starting my app and automatically returning it to the same position it had when the app was last run. From reading the docs, its seems like I could set the height of ALL the subviews and then call -adjustSubviews to update the divider, but isn't there a simpler way other than calling 3 to 5 methods? -- Brian Willoughby Software Design Engineer, BSEE NCSU BrianW@SoundS.WA.com Sound Consulting: Software Design and Development NeXTmail welcome
Newsgroups: comp.sys.next.programmer From: cmumford@iat.holonet.net (Chris Mumford) Subject: Re: How do I tell a text Form to select the next text cell? Message-ID: <C1BEJI.A3M@iat.holonet.net> Organization: HoloNet National Internet Access BBS: 510-704-1058/modem References: <1993Jan20.210945.23982@cs.wisc.edu> Distribution: usa Date: Sat, 23 Jan 1993 16:16:28 GMT Can you link the fields so that when the user hits the tab key they automatically get selected?
From: John-Z@cup.portal.com (John Michael Zollinger) Newsgroups: comp.sys.next.programmer Subject: Indexing Kit Examples? Message-ID: <74213@cup.portal.com> Date: Sat, 23 Jan 93 09:13:06 PST Organization: The Portal System (TM) Being a newbie to NeXT programming the Indexing kit examples aren't much help. Are there any more examples on using the Indexing Kit out there? I am looking for somthing that does somthing along the lines of: 1. add data to an indexed list (elements are simple structures) 2. save data to disk 3. recall data from disk 4. find an element that matches a key and update that record. Thats it. This would help me greatly in getting started with this potentially very powerful object(s). Thanks a lot. John Zollinger john-z@cup.portal.com
Newsgroups: comp.sys.next.misc,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: anderson@macc.wisc.edu (Jess Anderson) Subject: Drive drive Message-ID: <1993Jan23.194204.15246@macc.wisc.edu> Followup-To: comp.sys.next.misc Sender: news@macc.wisc.edu (USENET News System) Organization: Madison Academic Computing Center, UW-Madison Date: Sat, 23 Jan 93 19:42:04 GMT Note_1: Followups directed to comp.sys.next.misc, to keep subsequent discussion in one place. Sorry for the massive cross-posting, wanted to reach the maximum readership. Note_2: An earlier posting about this already appeared in comp.sys.next.misc. This is a restatement and expansion of that. Background: Several people have suggested solving the archive server space crunch by asking users to kick in money to purchase additional drives for sonata and orst. I've volunteered to collect pledges and to contact Purdue and Oregon State to see what they think of the idea. I'll do that at the beginning of next week. Five people pledged money in the first hour, six counting me. The amounts so far are like $10-$20 for each server site. Respondents so far think it's a cool idea and are making other useful suggestions too. I'll also be contacting vendors to see if they can make us a special deal, if things develop to the point when it looks like it might work. I'm not collecting money (not yet, anyway), so don't send any. If you're interested in this, just send me email (rather than posting, I might miss it) with the amount of your pledge. If you're a developer who has or intends to have your software on these servers, please indicate your product names as well. Although this seems to be an idea whose time has come, please be aware that the universities involved might not be as enthusiastic about it as we are. There are always bureaucracies, policy implications, and hidden costs to be involved in such enterprises, as well I know, having worked at universities for 40 years. But don't let those things stop you from offering. One thing: please don't make a pledge unless you mean it. In the interest of not getting myself overloaded, I will send you a simple ACK to say I got your message. -- [Jess Anderson <> Madison Academic Computing Center <> University of Wisconsin] [Internet: anderson@macc.wisc.edu <-best, UUCP:{}!uwvax!macc.wisc.edu!anderson] [Room 3130 <> 1210 West Dayton Street / Madison WI 53706 <> Phone 608/262-5888] [---------> Discrimination, Bigotry, and Hate are not Family Values <---------]
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: DBTableView bugs?? Date: 23 Jan 1993 22:10:09 GMT Organization: Cubic Solutions - NeXT software development and consulting Message-ID: <1jsfo1INNs0h@darkstar.UCSC.EDU> References: <ofM9y2200WA78Jzh9B@andrew.cmu.edu> In article <ofM9y2200WA78Jzh9B@andrew.cmu.edu> David Apfelbaum <da0g+@andrew.cmu.edu> writes: [ discussion of problems with tableViewWillChangeSelection: omitted] I have submitted implementations of tableView{Will,Did}ChangeSelection: that *seem* to solve these problems to David for his consideration. David had posted several weeks ago about this problem and gave me a hint that seems to be a workaround. It seems that an event is lost when tableViewWillChangeSelection: is called. By getting this lost event immediately upon entering tableViewWillChangeSelection: and posting it just before exiting, I get the expected behavior. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NeXT software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: mjh@minkowski.mit.edu (Michael J. Hopkins) Subject: IB question Message-ID: <1993Jan23.230307.8056@galois.mit.edu> Summary: How to update an image Keywords: Interface Builder Sender: news@galois.mit.edu Organization: MIT Department of Mathematics Date: Sat, 23 Jan 93 23:03:07 GMT I have a question about loading images into a project. Suppose I am creating an icon for use in a project. First I draw the icon, then I drag it into IB and the image suitcase opens up, and I drop it in. A panel comes up giving me the choice of inserting it into the project or creating a local image. I choose to insert it into the project, thus creating a .tiff file in my project folder. Now suppose I decide to make some changes to the image. How can I make them take effect in IB? Simply changing the .tiff file doesn't seem to do anything. In fact the file can be deleted. IB has put its own private copy in the .nib file. If I try to add the updated icon to the .nib file again (by dragging it into IB) I get an alert panel telling me that the image already exists. IB then refuses to write over it. I guess my question is: How can I delete an image from a .nib file? -- ----------------------------------- Mike Hopkins mjh@math.mit.edu -----------------------------------
From: pkron@corona.wa.com (Peter Kron) Newsgroups: comp.sys.next.programmer Subject: Re: Memory Management NeXT/Windows Message-ID: <19.UUL1.3#16216@corona.wa.com> Date: Sat, 23 Jan 93 19:04:43 PDT References: <1993Jan23.040747.11897@netcom.com> Organization: Corona Design, Inc., Seattle, WA > From: yikes@netcom.com (Michael Brill) > Message-ID: <1993Jan23.040747.11897@netcom.com> > > I'm developing an app on the NeXT that I'd like to take the bulk > of to either Windows and/or Macintosh. I think I know how to > port everything but the UI and memory management. > > As far as the UI goes, I'm not going to worry about now. What I > am worried about is memory management. I've scanned through the > Windows docs and understand how memory management works there > (getting handle, locking, operating, unlocking) and I'm looking > for an established scheme to make the port seamless between Unix > and Windows/Mac. If you assume Windows 3.0 on a 386/486...it is pretty seamless. Because memory is segmented, you must be careful of crossing 64K boundaries with data, but unless you have very large objects that isn't a big deal. If you do, you should break them up yourself. You should also make sure you efficiently suballocate the segments... some heap allocators will allocate each far (32-bit) address into a separate segment (ie, the most signficant 16 address bits). Win 3.0 only has 8K segments total for all code and data (not just your app) so this gets to be a scarce resource. If you don't realloc blocks, (especially from <64K to >64K) you can ignore the lock/unlock...leave everything locked. If you run Windows 1.x, 2.x, real mode or on a 286, write for the 386 anyway. They won't be supported by the time you finish your app. The Mac is trickier...target users with lots of memory and hope Apple develops real virtual memory soon. --------------- Peter Kron Corona Design, Inc. Peter_Kron@corona.wa.com
From: jtod_ltd@uhura.cc.rochester.edu (John "Jeep" Todd) Newsgroups: comp.sys.next.programmer Subject: Compiling Wizards? Try this one on for size. Summary: Need help compiling TERM099n for NeXT Keywords: NeXT, TERM099n, compiling, dweezil Message-ID: <1993Jan24.030840.10637@galileo.cc.rochester.edu> Date: 24 Jan 93 03:08:40 GMT Sender: news@galileo.cc.rochester.edu Organization: University of Rochester - Rochester, New York I have a question regarding a program called TERM099n and it's compilation and running behaviour on a NeXT. This program is actually several programs designed to enable a person without root access or "permission" to run several shells at once or even several Xwindows through ONE serial line all at once. (Simulates ports on a single serial line - does automatic data compression so it's reasonably fast even over a modem) One first compiles the program on the "host" machine (it's standard unix stuff) and them runs a server program called "term". Then the client machine EXITS out of whatever terminal program was used to initialize the serial connection and then compiles/runs "term" and re-directs i/o to the serial line. EG: "term -s9600</dev/cua>/dev/cua" (-s9600 specified the baud) Now, I could go on about all the things I have done to make this little program work (and it really is small - 95k I think for EVERYTHING in source form) and I don't have any luck. I've run all the test programs that are included, and I've monitored the data coming in and out, all to no avail. There seems to be a partial connection when I initialize my end of the term here on the client machine, but then no shell comes up in my window. This seems like an INCREDIBLY useful program, since it doesn't require all the hassle of SLIP and it runs without needing root permission right from the user's shell. If some Unix/NeXT wizard finds this program useful, or just wants to give a non-wizard a hand, please try and re-compile this program which is found at archive site sunsite.unc.edu in /pub/Linux/Incoming among many places (try an archie on it for the most recent version). My only BIG worry is that it is a Linux-specific program. I don't know this for a fact, though. The only other person that has tried it that I know of is using Linux, and it works, however there is a flag to set within the program for NeXT, so I guess it's compatable. Also: if anyone has xcomm compiled for the NeXT, I'd appreciate a copy, since that's what my Linux friend uses for establishing a connection and I can't get it to compile on my NeXT. (My NeXT BTW: 3.0 25mhz Station 20megs serial line to ROLM network, full developer's package) Thank you for at least reading this.... :) -- John Todd | University of Rochester, Rochester NY USA Earth Milky Way CPU 276686 | "What took you so long?" - Connor MacLeod "Highlander" Rochester NY 14627| Jeeps Fixed, Technology Hacked, Lawns Mowed, Maidens Saved jtod@alora.cc.rochester.edu (NeXT mail) jtod_ltd@uhura.cc.rochester.edu
Newsgroups: comp.sys.next.programmer From: bagchi@oosik.sprl.umich.edu (Ranjan Bagchi) Subject: 3D Kit example -- FAQ? Message-ID: <1993Jan24.053900.12389@zip.eecs.umich.edu> Sender: news@zip.eecs.umich.edu (Mr. News) Organization: University of Michigan EECS Dept., Ann Arbor, MI Date: Sun, 24 Jan 1993 05:39:00 GMT Hi. I'm just getting my feet wet with the 3D kit and despite the NeXT-supplied docs, I'd appreciate a some real source code to play with... Can anyone mail me something small but suitable? -- Ranjan Bagchi bagchi@oosik.sprl.umich.edu o o oooo ooo o o oooooooo NeXTMail accepted here! oo oooo o oo ooo oo oo oo o o oooo ooo o o oooooooo
Newsgroups: comp.sys.next.programmer From: matt@drefla.mese.com (Matt Brandt) Subject: Re: reading CD data Message-ID: <1993Jan23.204420.12525@drefla.mese.com> Sender: matt@drefla.mese.com Organization: Applied Engineering References: <1jpet9INNgsq@hpscit.sc.hp.com> Date: Sat, 23 Jan 1993 20:44:20 GMT Ken Lui writes > In article <30056@oasys.dt.navy.mil> curt@oasys.dt.navy.mil (Curt Welch) writes: > >I've read that the CD-ROM drive on some SGI systems can read all > >the music data, so at least someone has made a CD-ROM drive that > >can read the music data, but I think it requires more than just > >the right software driver. > > The SGI and new Apple CD-ROM drives (Toshiba makes the SGI unit, > while Sony makes the Apple unit) supports the proper SCSI command > to access audio data from audio CDs. I haven't tried it, but > someone mentioned in a comp.sys.mac.* newsgroup said that with > the newer Macs and the Apple 300i drive, he was able to > disconnect the supplied microphone and record directly from an > audio CD into a Mac SND file. However it's done, it's certainly > possible--I didn't followup to find out what the sampling rate > was. > In the new apple machines I believe that they hook the audio output from the CD player into the mic input on the motherboard. That is how they play the sound. I don't think you can access the digital sound data. matt
From: zazula@soliton.physics.arizona.edu (Ralph Zazula) Newsgroups: comp.sys.next.programmer Subject: Re: Music Kit Question Message-ID: <1993Jan22.091134.2643@galileo.physics.arizona.edu> Date: 22 Jan 93 09:11:34 GMT References: <aw#@byu.edu> <1993Jan21.231029.3409@leland.Stanford.EDU> Sender: zazula@pri.com Organization: Pinnacle Research, Inc. In article <1993Jan21.231029.3409@leland.Stanford.EDU> daj@ccrma.stanford.edu writes: >In article <aw#@byu.edu> writes: >> >> >> I've been playing around a lot with getting background scores >> playing in my games, and have run up against a couple of problems. >> >> I can get either sound effects _or_ music to work quite well alone, >> but getting both simultaneously from the same app does not work. Hi - Are you running NeXTSTEP 3.0? Have you recompiled your app under 3.0? Also, I'm not sure if the -play method of the Sound class uses the new sound streams or not but you can get the DSP synthesis and sound playback to work if you use an NXPlayStream with your sound data. Ralph --- Ralph Zazula Pinnacle Research, Inc. zazula@pri.com (NeXT Mail) (602)529-1135
Newsgroups: comp.sys.next.programmer From: mahilata@vogon.mathi.uni-heidelberg.de (Earthworm society) Subject: Request for comment: fake sbrk, dbmalloc on the next Message-ID: <1993Jan24.102626.18054@sun0.urz.uni-heidelberg.de> Sender: news@sun0.urz.uni-heidelberg.de (NetNews) Organization: Matlab, University of Heidelberg Date: Sun, 24 Jan 93 10:26:26 GMT This is a request for comment for a fake sbrk as well as for dbmalloc for the next. Fake sbrk RFC Many programs that are around work by sbrk instead of malloc, and use the property of sbrk to extend the existing memory such as to keep it a contigous array of whatever. Such as f.ex gap, kant, and (I suspect) Maple. Now the sbrk which next does have (unsupported), indeed obtains exactly 4M, and after that crashes (and this is exactly the behaviour of maple) So I looked around and found that vm_allocate can be told at which virtual address to put the new chunk. So, after a bit of experimenting, I came up with following =============================== fakesbrk.c ============================== #ifdef NeXT #import <mach.h> #import <stddef.h> #import <stdlib.h> /* NeXT does not have sbrk (or at least they claim so) so we use a fake, and use vm_allocate. I still cannot decide if dbmalloc wants its working memory contiguous, such as sbrk returns, so I depend on vm_allocate to return a virtual chunk at a specified address on request. The env variable MALLOC_ARRAY tells dbmalloc how large one chunk got to be. Else it will assume 4M. This fake sbrk will be used by sbrk_using programs as well, via malloc.h */ #define DFLT_ASIZE 4194304 static int fake_array_length; static int fake_array_chunk; static char *fake_array; static char *current_pointer; extern int sprintf(char *s, const char *format, ...); void init_fake_sbrk() { kern_return_t rtn; char *cptr; if( (cptr=getenv("MALLOC_ARRAY")) != NULL ) { int xxx=atoi(cptr); fake_array_chunk = round_page(xxx); if( fake_array_chunk < 10000 ) { fake_array_chunk = DFLT_ASIZE; } } else fake_array_chunk = DFLT_ASIZE; if ((rtn=vm_allocate(task_self(), (vm_address_t *)&fake_array, fake_array_chunk, TRUE)) != KERN_SUCCESS) { mach_error("vm_allocate failed", rtn); exit(-1); } current_pointer=fake_array; fake_array_length=fake_array_chunk; /* { char aaa[100]; sprintf(aaa,"%d",fake_array_length); mach_error("YouHoy",0); mach_error(aaa,0); } */ } char * fake_sbrk(int amount) { char * tmp; if ((current_pointer+amount)>(fake_array+fake_array_length)) { int more, more0; char *fake_more=fake_array+fake_array_length; char *fmore=fake_more; kern_return_t rtn; more0=(current_pointer+amount)-(fake_array+fake_array_length); more=round_page(more0); if (more<fake_array_chunk) more=fake_array_chunk; if ((rtn=vm_allocate(task_self(), (vm_address_t *)&fake_more, more, FALSE)) != KERN_SUCCESS) { mach_error("out of luck",KERN_NO_SPACE); exit(-1); /* didn't get any */ } if (fake_more!=fmore) { mach_error("bad luck",KERN_NO_SPACE); exit(-1); /* got it wrong */ } fake_array_length+=more; /* { char aaa[100]; sprintf(aaa,"%d",fake_array_length); mach_error("Yahooo",0); mach_error(aaa,0); } */ } tmp=current_pointer; current_pointer+=amount; return(tmp); } #endif ====================================================== and a little test program ====================================================== #include <stdio.h> char *fake_sbrk(); main() { char *a, *b, *c, *d; int x; int i=0; scanf("%d",&x); init_fake_sbrk(); a=fake_sbrk(0); printf("%d\n\n",(int)a); scanf("%d",&x); while (1) { i++; b=fake_sbrk((int)32768); *b='a'; printf("%d: %d \n", i, (int)b-(int)a); a=b; } } ====================================================== and lo! this does not crash anymore after 4M. Since this is my first attempt at the innards of next, I would be really glad over comments about the validity of this. Is this really freely accessible memory? (I mean the *b='a'; test might not mean really much) and what about the chances for the condition termed "bad luck" which is memory not contiguous? What about nextstep3? (it *seems* to work) ====================================================== ====================================================== The second RFC concerns dbmalloc (earlier mallocdebug), which was in comp.sources.misc volume 32 (I think) (last year) and which is tremendously more powerful than MallocDebug (at least when you cannot use the MallocDebug app since you don't debug an app). (In comp.sys.next.programmer there I saw remarks about a great many programs handling malloc/free erroneously. I found myself quite a few such. dbmalloc on whichever machine is a great tool to hunt down things. MallocDebug I found little help) It is for this why I designed the fakesbrk in the first place. But then it turned out that nearly everything of interest got loaded twice since libsys_s.a is full of crosspointers. I did not dare to untangle all this, nor to fake it, like MallocDebug seems to have done. So I dropped all the base functions malloc, realloc,free (see annexed diff), and have to trust to the db's malloc.h to switch names. This means that toolbox library malloc is not caught anymore at ld time. which means that there are two sets of malloc/free/whatever routines operating (hopefully) independently of each other. I think this is a case of what the docs say intermixing of raw vm_allocate with OS-own malloc, and which has been warned against. On the other hand. I did successfully operate this thing. In particular on the next I am able to use gdb with this which I cannot do on a sun nor on an rs6000 (Don't ask me why but it crashes at once) Is there any more info out there? Ideas? Suggestions? Dirty tricks with libsys_s.a? A new pointers.o perhaps? Lastly the diff of dbmalloc. include fakesbrk.c and insert it in the Makefile. -mahilata@mathi.uni-heidelberg.de ======================================================= *** gamal/calloc.c Wed Jan 20 01:06:06 1993 --- ./calloc.c Sun Jan 24 00:34:10 1993 *************** *** 32,37 **** --- 32,38 ---- * * Narrative: call debug_calloc and return it's return */ + #ifndef NeXT DATATYPE * calloc(nelem,elsize) SIZETYPE nelem; *************** *** 39,44 **** --- 40,46 ---- { return( debug_calloc((char *)NULL,(int)-1,nelem,elsize) ); } + #endif /* * Function: debug_calloc() *** gamal/dgmalloc.c Wed Jan 20 01:06:09 1993 --- ./dgmalloc.c Sun Jan 24 00:58:34 1993 *************** *** 67,72 **** --- 67,73 ---- return( dbmallopt(cmd,&value) ); } + #ifndef NeXT MEMDATA * _bcopy(ptr2, ptr1, len) CONST MEMDATA * ptr2; *************** *** 75,81 **** --- 76,84 ---- { return( DBbcopy((char *)NULL,0,ptr2,ptr1,len) ); } + #endif + #ifndef NeXT MEMDATA * _bzero(ptr1, len) MEMDATA * ptr1; *************** *** 83,88 **** --- 86,92 ---- { return( DBbzero((char *)NULL,0,ptr1,len) ); } + #endif int _bcmp(ptr2, ptr1, len) *** gamal/free.c Wed Jan 20 01:06:13 1993 --- ./free.c Sun Jan 24 00:44:41 1993 *************** *** 43,48 **** --- 43,49 ---- char rcs_hdr[] = "$Id: free.c,v 1.29 1992/08/22 16:27:13 cpcahil Exp $"; #endif + #ifndef NeXT FREETYPE free(cptr) DATATYPE * cptr; *************** *** 49,54 **** --- 50,56 ---- { debug_free((char *)NULL, 0, cptr); } + #endif FREETYPE debug_free(file,line,cptr) *** gamal/m_init.c Wed Jan 20 01:06:14 1993 --- ./m_init.c Sat Jan 23 20:48:37 1993 *************** *** 51,56 **** --- 51,60 ---- return; } + #ifdef NeXT + init_fake_sbrk(); + #endif + malloc_data_start = sbrk(0); malloc_data_end = malloc_data_start; *** gamal/malloc.c Wed Jan 20 01:06:22 1993 --- ./malloc.c Sun Jan 24 00:43:33 1993 *************** *** 89,94 **** --- 89,95 ---- * Narrative: * */ + #ifndef NeXT DATATYPE * malloc(size) SIZETYPE size; *************** *** 95,100 **** --- 96,102 ---- { return( debug_malloc(NULL,-1,size) ); } + #endif /* * Function: debug_malloc() *** gamal/malloc.h.org Wed Jan 20 01:06:16 1993 --- ./malloc.h.org Sat Jan 23 21:49:35 1993 *************** *** 15,20 **** --- 15,24 ---- * $Id: malloc.h.org,v 1.38 1992/08/22 16:27:13 cpcahil Exp $ */ + #ifdef NeXT + #define sbrk fake_sbrk + #endif + #ifndef _DEBUG_MALLOC_INC #define _DEBUG_MALLOC_INC 1 *** gamal/memory.c Wed Jan 20 01:06:30 1993 --- ./memory.c Sun Jan 24 00:47:35 1993 *************** *** 128,133 **** --- 128,134 ---- * memcpy - copy one memory area to another * memmove - copy one memory area to another */ + #ifndef NeXT MEMDATA * memmove(ptr1, ptr2, len) MEMDATA * ptr1; *************** *** 136,141 **** --- 137,143 ---- { return( DBmemmove( (char *) NULL, 0,ptr1, ptr2, len) ); } + #endif MEMDATA * DBmemmove(file,line,ptr1, ptr2, len) *************** *** 250,255 **** --- 252,258 ---- /* * memset - set all bytes of a memory block to a specified value */ + #ifndef NeXT MEMDATA * memset(ptr1, ch, len) MEMDATA * ptr1; *************** *** 258,263 **** --- 261,267 ---- { return( DBmemset((char *)NULL,0,ptr1,ch,len) ); } + #endif MEMDATA * DBmemset(file,line,ptr1, ch, len) *** gamal/realloc.c Sun Jan 24 12:00:01 1993 --- ./realloc.c Sun Jan 24 00:38:40 1993 *************** *** 21,26 **** --- 21,27 ---- #include "mallocin.h" + #ifndef NeXT DATATYPE * realloc(cptr,size) DATATYPE * cptr; *************** *** 28,33 **** --- 29,35 ---- { return( debug_realloc(NULL,-1,cptr,size) ); } + #endif DATATYPE * debug_realloc(file,line,cptr,size) *** gamal/stack.c Sun Jan 24 01:34:05 1993 --- ./stack.c Sun Jan 24 01:47:07 1993 *************** *** 99,106 **** * if there are no entries below this func yet, */ if( this->below == NULL ) ! { ! this->below = StackNew(func,file,line); this->below->above = this; current = this->below; } --- 99,107 ---- * if there are no entries below this func yet, */ if( this->below == NULL ) ! { struct stack *xxx; xxx=StackNew(func,file,line); ! /* NeXT cc bug? */ ! this->below = xxx; this->below->above = this; current = this->below; } *************** *** 321,329 **** /* * perform some simple sanity checking on the node pointer */ ! if( (((DATATYPE *)node) < malloc_data_start) || (((DATATYPE *)node) > malloc_data_end) ! || ((((long)node) & 0x1) != 0) ) { WRITEOUT(fd,"INVALID/BROKEN STACK CHAIN!!!\n",30); break; --- 322,334 ---- /* * perform some simple sanity checking on the node pointer */ ! if( ! #ifndef NeXT ! (((DATATYPE *)node) < malloc_data_start) || (((DATATYPE *)node) > malloc_data_end) ! || ! #endif ! ((((long)node) & 0x1) != 0) ) { WRITEOUT(fd,"INVALID/BROKEN STACK CHAIN!!!\n",30); break; *** gamal/string.c Wed Jan 20 01:06:34 1993 --- ./string.c Sun Jan 24 00:59:21 1993 *************** *** 451,456 **** --- 451,457 ---- /* * strcpy - copy a string somewhere else */ + #ifndef NeXT char * strcpy(str1,str2) register char * str1; *************** *** 458,463 **** --- 459,465 ---- { return( DBstrcpy((char *)NULL, 0, str1, str2) ); } + #endif char * DBstrcpy(file, line, str1, str2) *************** *** 486,491 **** --- 488,494 ---- /* * strncpy - copy a string upto a specified number of chars somewhere else */ + #ifndef NeXT char * strncpy(str1,str2,len) register char * str1; *************** *** 494,499 **** --- 497,503 ---- { return( DBstrncpy((char *)NULL, 0, str1, str2, len) ); } + #endif char * DBstrncpy(file,line,str1,str2,len) *************** *** 543,548 **** --- 547,553 ---- /* * strlen - determine length of a string */ + #ifndef NeXT STRSIZE strlen(str1) CONST char * str1; *************** *** 549,554 **** --- 554,560 ---- { return( DBstrlen((char *) NULL, 0, str1) ); } + #endif STRSIZE DBstrlen(file, line, str1) *************** *** 668,673 **** --- 674,686 ---- /* * index - find location of character within string */ + + #ifdef NeXT + #ifdef index + #undef index + #endif + #endif + char * index(str1,c) CONST char * str1; *************** *** 688,693 **** --- 701,712 ---- /* * rindex - find rightmost location of character within string */ + #ifdef NeXT + #ifdef rindex + #undef rindex + #endif + #endif + char * rindex(str1,c) CONST char * str1; *** gamal/testmalloc.c Wed Jan 20 01:06:36 1993 --- ./testmalloc.c Sun Jan 24 01:05:24 1993 *************** *** 71,77 **** --- 71,79 ---- double * dblptr; /* pointer for doubleword test */ + #ifndef NeXT extern char end; /* memory before heap */ + #endif char *sbrk(); long atol(); union dbmalloptarg m; *************** *** 120,128 **** --- 122,132 ---- for( i = 0; i < MAXOBJS; i++ ) objs[ i ] = NULL; + #ifndef NeXT startsize = sbrk(0) - &end; printf( "Memory use at start: %ld bytes\n", startsize ); fflush(stdout); + #endif printf("Starting the test...\n"); fflush(stdout); *************** *** 223,229 **** --- 227,235 ---- printf( "Did %ld iterations, %d objects, %d mallocs, %d reallocs\n", n, cnt, nm, nre ); + #ifndef NeXT printf( "Memory use at end: %ld bytes\n", sbrk(0) - &end ); + #endif fflush( stdout ); /* free all the objects */ *************** *** 242,247 **** --- 248,254 ---- } } + #ifndef NeXT endsize = sbrk(0) - &end; printf( "Memory use after free: %ld bytes\n", endsize ); fflush( stdout ); *************** *** 248,253 **** --- 255,261 ---- if( startsize != endsize ) printf("startsize %ld != endsize %d\n", startsize, endsize ); + #endif free( (DATATYPE *) objs ); free( (DATATYPE *) sizes ); -- --mahilata@mathi.uni-heidelberg.de
From: S.A.McIntyre@durham.ac.uk (Scott A. McIntyre) Newsgroups: comp.sys.next.programmer Subject: Memory clean up? Message-ID: <C1DC7F.775@newcastle.ac.uk> Date: 24 Jan 93 17:21:14 GMT Organization: University of Durham I know virtually nothing on programming the NeXT (but I've ordered the Garfinkel / Mahoney book) and want to know *why* the swapfile doesn't decrease or why some sort of a utility can't be written that *makes* it decrease. My understanding is that when appications run out of real ram to play with, they use virtual ram, aka the swapfile. In theory, applications should clean up the mess they make with VM, but as my perpetually growing swapfile shows, this is rarely the case. So, in theory, why can't a application be made that pokes through the swapfile, and RAM in general, looking for things that don't seem to have an owner, and deletes them. I'm speaking naively here, but would appreciate an answer from someone who knows, Thanks! Scott -- EMAIL: S.A.McIntyre@durham.ac.uk OR scott@shrug.dur.ac.uk (NeXTmail) SNAIL: Pyschment of Departology, University of Durham, Durham, DH1 3LE SUN Computers: "Nice chips, shame about her OS" "If a virtual tree falls in a virtual forest, does it make a virtual sound?"
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Unhelpful Help Builder Message-ID: <1993Jan24.205434.2560@prim> Organization: Primitive Software Ltd. Date: Sun, 24 Jan 1993 20:54:34 GMT Am I missing something, or is it incredibly clumsy to add Help to your application with IB's Help Builder? If I want to add help to a menu item called Wombat, for instance, I go through the following steps: 1) Go into Edit and create the help file. Resize the window to the same size as Help Bulder and save it as Objects/Wombat.rtf. 2) Edit Index.rtfd and add entry for Wombat. Set the link to the file Objects/Wombat.rtf. (You need some way to bring up Wombat.rtf from within Help Builder). There's also some mysterious rule about a hidden file called Prolog.rtf. 3) IB doesn't realize that Index.rtfd has been edited, so quit and reload the nib file. (Note: IB doesn't remember your current directory). 4) In IB, bring up the Help Builder panel and click on Index, then click on the newly created Wombat entry. 5) Select the Wombat menu item and click the "Attach File to Selection" button. What could be simpler? :-| Of course it's easier to do a whole batch of them. Why can't you edit the Help text from inside IB? That's the convenience of having this rtf functionality inside the Text object. At least you can select the filename in the Inspector and do "Services/Open in Workspace". Has anybody worked out how to create a Help.store file? I wonder why NeXT chose not to let us use this feature. I did try to keep the same "look and feel" as the standard NeXT help for my menu items, but after copying and pasting one of their files I discover that simply to have some text with black or grey background, they use TIFF files! Yuk. There's no way to easily edit one of those. I'm sure they must use some sort of program to automatically create these TIFF files rather than creating them by hand. Again, it would be helpful to have this program. No wonder so few NeXT apps have implemented Help. [Ob. positive note: the new Edit/Gdb interaction is superb!] Dave Griffiths
Newsgroups: comp.sys.next.programmer From: kevins@slow.inslab.uky.edu Subject: Re: IB question Message-ID: <C1DrH3.FC6@ms.uky.edu> Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences References: <1993Jan23.230307.8056@galois.mit.edu> Date: Sun, 24 Jan 1993 22:51:02 GMT Michael J. Hopkins writes -> I have a question about loading images into a project. -> Suppose I am creating an icon for use in a project. -> First I draw the icon, then I drag it into IB and the image -> suitcase opens up, and I drop it in. A panel comes up giving me -> the choice of inserting it into the project or creating a local image. -> I choose to insert it into the project, thus creating a .tiff file in -> my project folder. Now suppose I decide to make some changes to the image. -> How can I make them take effect in IB? Simply changing the .tiff file -> doesn't seem to do anything. In fact the file can be deleted. IB has -> put its own private copy in the .nib file. If I try to add the updated -> icon to the .nib file again (by dragging it into IB) I get an alert panel -> telling me that the image already exists. IB then refuses to write over it. -> I guess my question is: How can I delete an image from a .nib file? -> -> -> -> -> -> -> -> -- -> ----------------------------------- -> Mike Hopkins -> mjh@math.mit.edu -> ----------------------------------- Yes, this appears to be a big pain in the ass. The only thing I've found to do is remove the image from ProjectBuilder and it should be removed from IB. Then simply add it again. This seems to suck. Anyone else have any ideas? -- _______________________________________________________________________________ I'll cross my heart and hope to die but the needle's already in my eye. _______________________________________________________________________________ Kevin Solie
Newsgroups: comp.sys.next.programmer From: sieu@cory.Berkeley.EDU ( TECKCHENG SIEU) Subject: UPDATE: DESKTOP V1.5 Message-ID: <1993Jan25.090651.6329@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Mon, 25 Jan 1993 09:06:51 GMT Hi Everyone, Firstly, thanks for all who have contributed their suggestions to improve Desktop v1.5 is now due for release. Although Desktop v1.1 provides virtual screens, free form dock and advanced features to support the concepts of virtual screen and free form dock, there is still room for improvement. So, Desktop v1.5 is released as a compilation of new ideas contributed by a few NeXT users and myself. All the functions of Desktop v1.5 are fully enabled for a period of time so that NeXT users have a chance to see how helpful Desktop can be and where it stands when compared to product like Virtspace 3.0. Below are the features of Desktop v1.0, Desktop v1.1 and Desktop v1.5 Features of Desktop v1.0 ======================== - Desktop provides four virtual screens with one being the active screen at any one time. - Desktop automatically switches from the current screen to the correct virtual screen that contains the window that you need. Alternatively, you can ask Desktop to move that window to your current screen instead. - Desktop offers a number of operations on any window, eg. floating a window so that the window will always appear in the active screen, raising a window, sending a window to any of the virtual screens etc. - Besides window management, Desktop also manages the application icons that are created by Workspace when you launch any application. These application icons can become misaligned or buried under other windows sometimes. With Desktop, you can tidy the icons, hide them, unhide them or place them in front of other windows etc. - Desktop offers its free-form dock that can be comprised of application icons, folder icons and even data file icons. In fact, the dock can be made up of just any type of icons that appear in the file browser. The status of each Desktop dock icon is reflected by the three little dots just like any NeXT dock icon (this is applicable to application icons only). For other types of Desktop icons, eg. directory icon, a big dot appears on the lower left corner instead of the three dots to indicate that Desktop will not keep track of the status for this icon. Of course, the user-customizable Desktop dock can be edited and saved for future Desktop session. - Desktop offers a new input method like that of a X-window manager. Desktop has the miniaturization of the four virtual sceens in the Desktop Window. However, this does not mean that whenever you need to perform an operation on a window eg. to move a window from one screen to another, you have to drag the miniature view of that window in the Desktop Window. This can be inconvenient. Instead, just move the mouse to the window (the actual window, not the miniature view). Then hold down the "Alternate" key first before moving the mouse. The WindowOp/NeXTApp Icon/Desktop Icon submenu will pop up depending on whether the window is really a normal window, a NeXT app icon or a Desktop icon. You can then pick the desired operation from the menu. - If the machine workload is heavy, adjust the refresh rate accordingly or even turn it off. Click on the Update button at the Desktop window to manually update the display of the windows. Features of Desktop v1.1 ======================== In addition to the above-mentioned features, Desktop1.1 has the following new features: - Desktop 1.1 consumes little CPU power, yet peforms operations faster than Desktop 1.0. - Auto Flip Screen feature for automatically switching to the correct screen when you drag a window beyond the boundary of the active screen. This feature can be conveniently disabled for individual window-dragging sessions if necessary. - 2 new icon features: i) Auto-tidy icons for aligning icons neatly at the bottom of the screen at all times. ii) Group icons for grouping icons by application that owns these icons. - Popup submenu can be disabled if it causes interference by other programs. Features of Desktop v1.5 ======================== In addition to the above-mentioned features, Desktop v1.5 has the following new features: - DesktopIcons can be autoLaunched like the NeXT dock. - Intuitive, practical and nice user-interface: pretty icons and slim palette You can now forget about the Desktop Window. The slick-looking palette is all you need to keep around in the Workspace. It updates you with vital information and allows you to perform functions simply by clicking the buttons. - More preference options. i) AutoLaunching DesktopIcons can be compulsory or optional. ii) Miniaturize Desktop Window upon startup iii)Miniaturize Paleete upon startup - Central password file so that Desktop only needs to be registed once. - a few bug fixes so that Desktop is getting more robust. Well, I am surprised that so many people are interested in Desktop v1.1. I hope more suggestions will roll in so that I can make Desktop to be even better. Lastly, I like to announce that my email address has changed. 128a-2fh@web will be expired soon. To get a fully functional Desktop v1.5 demo (in uuencoded tar format), please email sieu@cory.berkeley.edu or send mail to : Teck-Cheng Sieu P.O. Box 367 Berkeley, CA 94701-0367 All current users of Desktop v1.1 are entitled to free upgrade to Desktop v1.5. Desktop v1.5 is $30 per copy but group discount is available.
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: reading CD data Date: 25 Jan 1993 15:29:21 GMT Organization: The University of Maryland, College Park Message-ID: <1k110hINN120@ni.umd.edu> References: <1993Jan21.205345.7268@news.media.mit.edu> <1993Jan22.195631.21751@netcom.com> In article <1993Jan22.195631.21751@netcom.com> abell@netcom.com (Steven T. Abell) writes: >mike@media-lab.mit.edu (Michael Hawley) writes: >>Anyone have the driver code to read digital data >>from audio CD's using the CD-ROM drive? >>Digitizing through the DSP is adequate but silly. > >This is, of course, highly desirable. >It's also illegal. Please explain why you believe that this is illegal? It seems to me that capturing the digital samples over the SCSI bus is not much different in the legal sense than getting them over the serial optical interface available on many CD players. It seems to me that the "fair use" provisions of copyright law would permit this for personal use. As others have mentioned, you can buy CDROM and DAT drives from SGI that allow you access to the sound samples. If you ask the vendors of the drives why they don't make it available, they'll tell you that they don't believe there's a market for it. louie
From: magnus@nexto.udac.uu.se (Magnus Ring) Newsgroups: comp.sys.next.programmer Subject: Question: NeXT programmers book Date: 25 Jan 1993 11:00:15 GMT Organization: Uppsala University Message-ID: <1k0h7vINNalt@corax.udac.uu.se> I've heard there exists a book on programming on the NeXT. Could someone give me the name of that book and mabye some other information on it. Thanks in advance. /Magnus Ring
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Shared Libraries Message-ID: <1993Jan25.170200.19242@cs.ucla.edu> Keywords: shared library libraries object Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Mon, 25 Jan 93 17:02:00 GMT Hi, How do you add your own objects to or create shared libraries? I intend to modify some NeXT objects sych as NXSplitView and wanted to know if there is a way to load my own objects into memory or to replace the ones in the NeXT AppKit shared library. So far, it seems as if only the AppKit is shared among applications while all other custom objects are compiled into the application's binary. So if you can PLEASE REPLY BY E-MAIL, I want to know: 1) How to create or add to/modify the shared libraries 2) How to load an object into memory Eskandar
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: Re: reading CD data Message-ID: <1993Jan25.183547.20473@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1993Jan21.205345.7268@news.media.mit.edu> <1993Jan22.195631.21751@netcom.com> <1k110hINN120@ni.umd.edu> Date: Mon, 25 Jan 1993 18:35:47 GMT louie@sayshell.umd.edu (Louis A. Mamakos) writes: >abell@netcom.com (Steven T. Abell) writes: >>mike@media-lab.mit.edu (Michael Hawley) writes: >>>Anyone have the driver code to read digital data >>>from audio CD's using the CD-ROM drive? >>>Digitizing through the DSP is adequate but silly. > >>This is, of course, highly desirable. >>It's also illegal. >Please explain why you believe that this is illegal? It seems to me >that capturing the digital samples over the SCSI bus is not much >different in the legal sense than getting them over the serial optical >interface available on many CD players. It seems to me that the "fair >use" provisions of copyright law would permit this for personal use. >As others have mentioned, you can buy CDROM and DAT drives from SGI >that allow you access to the sound samples. If you ask the vendors of >the drives why they don't make it available, they'll tell you that >they don't believe there's a market for it. I believe it is illegal because (so I was told) there is a law against it. Maybe I'm misinformed, but I don't think so. Remember the big noise when DAT was first coming out? The music industry was afraid that people were going to make flawless copies of their wares, and various encoding schemes were proposed to the gummint boys to make this difficult or impossible. Yes, there are devices that output digital data, but I believe it is the case that no *legal* consumer-grade devices are available that will record those streams. You may ask whether this really makes any sense. The answer is, of course, "No." Yes, you can buy peripherals for an SGI that will do this, but that may be because SGI has persuaded some bureaucrat that it is "professional equipment", which lives by a different set of rules. If I'm just flatulating here, somebody please straighten me out. Steve abell@netcom.com
From: thartman@phakt.usc.edu (Tye) Newsgroups: comp.sys.next.programmer Subject: C++ & LISP Date: 25 Jan 1993 11:12:32 -0800 Organization: University of Southern California, Los Angeles, CA Distribution: na Message-ID: <1k1e30INNnuj@phakt.usc.edu> I have a NeXTStation running 3.0, with the full development package installed. The university here is using AT&T C++, whereas my NeXT is using the hacked ANSI C++ (I think?). Are these compatible? Similarly, if I install the GNU G++, will this be compatible w/ AT&T? Also, the school is using Lucid Common Lisp/SPARC 4.1 for Lisp development. Is this compatible w/ the Allegro Common Lisp on the NeXT? Why, oh why, can't there just be one standard? (Dream, dream, dream...) Thanks! Tyson Hartman thartman@aludra.usc.edu
From: klui@corp.hp.com (Ken Lui) Newsgroups: comp.sys.next.programmer Subject: Re: reading CD data Date: 25 Jan 1993 20:06:12 GMT Organization: Hewlett-Packard Company Message-ID: <1k1h7kINNq13@hpscit.sc.hp.com> References: <1jpet9INNgsq@hpscit.sc.hp.com> <1993Jan23.204420.12525@drefla.mese.com> In article <1993Jan23.204420.12525@drefla.mese.com> matt@drefla.mese.com (Matt Brandt) writes: >In the new apple machines I believe that they hook the audio output from >the CD player into the mic input on the motherboard. That is how they play >the sound. I don't think you can access the digital sound data. > No, someone disconnected the microphone and was still able to record an audio CD. Here's an excerpt from Apple's data sheet for the AppleCD 300: ... It not only plays standard audio CDs, but can also transfer CD digital audio data via the SCSI bus to your Macintosh for further editing. FORMATS SUPPORTED o CD digital audio data via SCSI Sounds like direct reading of data from audio CDs to me. Ken -- Kenneth K.F. Lui, klui@corp.hp.com 3000 Hanover Street MS20BJ Corporate Administrative Information Systems Palo Alto, CA 94304 USA Core Application Technologies 1(415)857-3230 Fax 1(415)852-8026
From: klui@corp.hp.com (Ken Lui) Newsgroups: comp.sys.next.programmer Subject: Re: reading CD data Date: 25 Jan 1993 20:10:17 GMT Organization: Hewlett-Packard Company Message-ID: <1k1hf9INNq4p@hpscit.sc.hp.com> References: <1993Jan22.195631.21751@netcom.com> <1k110hINN120@ni.umd.edu> <1993Jan25.183547.20473@netcom.com> In article <1993Jan25.183547.20473@netcom.com> abell@netcom.com (Steven T. Abell) writes: >Yes, there are devices that output digital data, but I believe it is the >case that no *legal* consumer-grade devices are available that will >record those streams. Consumer-grade DAT decks equipped with SCMS will let the user record any original digital source. SCMS will prevent the user from making a digital copy from the first copy. The bad thing about SCMS is that it's indiscriminant and can't tell a CD from an original source. Ken -- Kenneth K.F. Lui, klui@corp.hp.com 3000 Hanover Street MS20BJ Corporate Administrative Information Systems Palo Alto, CA 94304 USA Core Application Technologies 1(415)857-3230 Fax 1(415)852-8026
From: campb001@casey.mc.duke.edu (Jim Campbell) Newsgroups: comp.sys.next.programmer Subject: ques: formatting reports out of Sybase with both text and graphics Message-ID: <9065@news.duke.edu> Date: 25 Jan 93 21:00:40 GMT Sender: news@news.duke.edu We're building a medical application that needs to print reports based on data in Sybase formatted with horizontal and vertical lines and with different fonts. We looked at improv and dataphile and are going to look at framemaker as commercial stuff we could send our data to, but none of those things look sufficient at this point. We're also looking around at sybase report generating tools, SQR being a likely candidate. Again, so far these seem limited. How do other folks handle this kind of thing? The reports are the main thing this app provides the users, so they need to look snazzy. Also, the user's are probably going to keep changing the requirements about how the data should be laid out, so we'd like to have a method that makes changes easy. thanks -- Jim Campbell Duke Univ. Med. Center Info. Systems campb001@mc.duke.edu (NeXT Mail ok)
From: iarit@slate.mines.colorado.edu (ARIT ISMAIL) Newsgroups: comp.sys.next.programmer Subject: X for color NeXT?????...... Message-ID: <1993Jan25.193316.21626@slate.mines.colorado.edu> Date: 25 Jan 93 19:33:16 GMT Organization: Colorado School of Mines Hi there, I don't know if this is the right place to post this question, but I need some help with getting X up and running on color NeXT. Does anybody know where I can get X (need binaries, don't have space to compile) for color NeXT? I got X for Mono(2 bits) NeXT up and running, but the same binaries doesn't work for color one( show very small multiple windows on the screen). I appreciate any help. iarit@slate.mines.colorado.edu
Newsgroups: comp.sys.next.programmer,comp.sys.next.marketplace From: jfreem@ecsvax.uncecs.edu (Joe Freeman) Subject: NeXT Programmers wanted (NC) Message-ID: <1993Jan25.221533.26526@ecsvax.uncecs.edu> Followup-To: PICKE001@BULLNEXT.MC.DUKE.EDU Organization: UNC Educational Computing Service Distribution: usa Date: Mon, 25 Jan 1993 22:15:33 GMT I am posting this for the Folks at Duke University Medical Center Information Systems. Please reply to the address at the end of this message. Duke University Medical Center Information Systems is looking for bright, energetic individuals with experience in PC/workstation systems development. Requirements include experience developing applications in a GUI environment (OS/2, NeXTStep, Windows, Mac) using object-oriented tools (Smalltalk, C++, Objective C, etc) and client server design. A CS degree or equivalent experience is required. Cross-platform development and SYBASE/DB2 experience a plus. Please contact: Michael Pickett BOX 3900 DUMC, DURHAM, NC, 27710 (919) 286-6369 (FAX) PICKE001@MC.DUKE.EDU (INTERNET-Non NeXT) PICKE001@BULLNEXT.MC.DUKE.EDU (INTERNET-NeXT) -- Joe Freeman jfreem@uncecs.edu jfreeman@next.com The opinions espressed here are my own and are not shared by my employer or anyone else I know of. Flames can be mailed to me or routed to /dev/null.
Newsgroups: comp.sys.next.programmer From: kieffer@spf.trw.com (Robert Kieffer) Subject: <Help> Problems with multiple DPSTimedEntries... Message-ID: <2B648279.25EE@deneva.sdd.trw.com> Sender: news@deneva.sdd.trw.com Organization: TRW Inc., Redondo Beach, CA Date: Tue, 26 Jan 93 00:14:48 GMT Hi folks, I've run into a problem while using more than two DPSTimedEntries... I'm setting up a program that samples data from the DSP and subsequently displays it in multiple views (ten to be exact). I'm using a single DPSTimedEntry to call the routine that samples data from the DSP and a DPSTimedEntry to call the display routine for each view (one entry per view)... hence, eleven DPSTimedEntries in all. I do this to distribute the display of the views, so that I don't have large gaps in the sampling of the DSP. Anyway, the DPSTimedEntry for sampling the DSP sets up fine, as does the one for my first view that I'm displaying in... but the subsequent 9 DPSAddTimedEntry calls return "0" (not "-1" as the documentation says it should in the event of an error). The display objects/code are contained in a nib file that I load at run time for each of my 10 views(windows), so I'm pretty sure that I'm doing everything identically for each of the views... but only the first one works. Is there a limit to the number of timed entries that an application can have? Has anyone run into this problem before? Thanks, Robert Kieffer kieffer@spf.trw.com
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: Bay Area NeXT Group (January 26 Developer Special Interest Group meeting) Message-ID: <6362@rosie.NeXT.COM> Date: 26 Jan 93 00:34:42 GMT Sender: news@NeXT.COM BANG Developer SIG (Special Interest Group) Topic: Competitive Analysis Panel - Mac, PC, Sun, SGI Place: NeXT, 123 Saginaw Rd., Redwood City Date: Tuesday, January 26th Time: 7:00pm The January Developer SIG will feature a panel discussing the technology and markets of four other computer platforms: Macintosh, PC (Windows, Windows NT), Sun, and Silicon Graphics. The panel will feature Lee Sherman, Rick Reynolds, and Greg Holmberg. Lee is a contributing editor for NeXTWORLD and Presentation Products whose writing also regularly appears in New Media, EC&I, and InfoWorld. Rick is the technology director for Publish magazine and a contributing editor for NeXTWORLD. Greg is a developer/consultant in the Sun market. Here's a list of the potential topics. We may not get through all of them but upon leaving people should have a pretty good understanding of the current and future directions of some of NeXT's major competitors. Technology -Hardware (microprocessors, MIPS, disk drive sizes, common types of storage, popularity of CD-ROMs) -Network (networking solutions, bandwidths, email) -System (operating system, interface, memory scheme, imaging model, support for multi-processors, file formats, database connectivity, add-ons i.e. 3-D graphics support, QuickTime, Unicode, etc.) -Developer Tools (environments, languages, interface tools, kits, etc) Applications -Desktop Publishing -Business Productivity -Databases -Special (GIS, 3-D modeling) -Emulators Markets/Users -Custom markets -Shrinkwrapped markets -Distribution channels -Popular Periodicals -Business -Scientific -Education -Home -Other Future Directions -Objects -Multimedia -Interface -Other Members and non-members alike are welcome. There is no charge to attend. _____________________________________________________________________ BANG January Meeting Special thanks to Eakins Open Systems (EOS) for providing an InFocus 7600WS, a color LCD projection panel, for use during the meeting. EOS is located at 67 East Evelyn Ave., Mountain View, CA 94041. 415-969-5109 fax: 415-961-2130. _____________________________________________________________________ BANG Calendar Jan 26th - Tuesday Developer SIG - Competitive Analysis Panel - Mac, PC, Sun, SGI 123 Saginaw, Redwood City, CA Feb 17th - Wednesday Monthly Meeting - Jayson Adams of Millennium showing Engage and Notebook, Lighthouse Design showing Diagram 2.0 Terman Auditorium, Palo Alto, CA Feb 23th - Tuesday Developer SIG - Julie Zelenski 123 Saginaw, Redwood City, CA Monthly meetings are held on the 3rd Wednesday of the month. Developer meetings are held on the 4th Tuesday of the month. _____________________________________________________________________ BANG P.O Box 1731 Palo Alto, CA 94302 info@bang.org (415) 327-BANG The Bay Area NeXT Group is an organization that provides a forum for information exchange concerning the NeXT marketplace and computer technology in general. Contacts: President: M Carling Information: Janet Hufnagel Membership: Andrew Creighton Meetings: M Carling Newsletter: Zac Beckman Developer SIG: Ken Fromm Auctions: Dan Lavin CD-ROM: Rick Reynolds All the above people can be reached by email directly or at firstname_lastname@bang.org. _____________________________________________________________________ Public Service Announcements Below are announcements that members or others asked us to pass along. Drag, Drop, NeXT mail your NeXT based PostScript files. Light Printing Co., Inc. is a full service professional typesetting, printing company. We can organize, output, color separate, and print your project, whether it's 500 business cards or 500,000 books. All film output FREE if part of a printing project. PostScript delivery next day, anywhere Federal Express goes. For price quote, contact: Daniel Wasserman Light Printing Co., Inc. 101 Lafayette St. New York NY 10013 Phone: 212-226-5003 Fax: 212-226-2777 NeXT mail: uunet!lpmazda!dan Internet: LightPrinting@gun.com _____________________________________________________________________ RE: Pro Lexis If anyone in your group is in search of a French dictionary fully interactive with WriteNow and WordPerfect on the NeXT, please let me know. The dictionary can also be consulted from most NeXT applications via the service menu. We can also help with French localization and/or translation. Best regards, -Andre Andre Lalonde Edition Electronique Expovision inc. 53, rue McNider Outremont, Quebec Phone: (514) 277-2712 CANADA H2V 3X5 Fax: (514) 277-3811 email: info%expovision@CAM.ORG (NeXT Mail) " Pro Lexis is a Revolutionary Professional French Dictionary & Spelling Checker for WriteNow and WordPerfect on the NeXT."
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: CALL FOR PARTICIPATION - OOPSLA '93 (Sept. 26 - Oct. 1, 1993) Message-ID: <6363@rosie.NeXT.COM> Date: 26 Jan 93 00:39:34 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.programmer OOPSLA '93 Conference on Object-Oriented Programming Systems, Languages and Applications 26 September - 1 October 1993 Washington D.C., U.S.A. ===================================================================== CALL FOR PARTICIPATION/CALL FOR PARTICIPATION/CALL FOR PARTICIPATION ===================================================================== The annual OOPSLA conference is the premier forum bringing together researchers, developers, practitioners and users to share ideas and experiences related to object technology. As a fully-refereed technical conference, OOPSLA is considered the conference of record for those interested in object technology. Long-standing topics of interest include but are not limited to: * language design and implementation * tools and environments * components and frameworks * principles and theory * concurrent and distributed systems * methods and processes * databases and persistence. In addition, OOPSLA '93 is soliciting contributions in five target special interest areas: * simulation * graphics * Ada * governmental use and support of object technology * teaching object technology ======================================= IMPORTANT DATES 22 February 1993 Papers due 18 March 1993 Experience reports due Tutorial proposals due Workshop proposals due Panel proposals due Poster proposals due Demonstration proposals due Educators' Symposium proposals due 12 May 1993 Contributors notified of acceptance 20 June 1993 Camera-ready papers due Camera-ready panel position papers due Poster write-ups due 9 July 1993 Camera-ready tutorial notes due ======================================= CONFERENCE COMMITTEE CONFERENCE CHAIRS Timlynn Babitsky, JFS Consulting Jim Salmons, JFS Consulting PROGRAM CHAIR Ralph Johnson, University of Illinois at Urbana Champagne OPERATIONS Kent Beck, First Class Software TREASURER Vicki Hanson, IBM T.J. Watson Research Center ACM ASSOCIATE DIRECTOR OF SIG SERVICES Donna Baglio, ACM AUDIO-VISUAL Steve Bilow, Tektronix DEMONSTRATIONS Bjorn Freeman-Benson, University of Victoria EDUCATION James Heliotis, Rochester Institute of Technology Linda M. Northrop, Carnegie Mellon University EXHIBITS Mike Taylor, Digitalk Professional Services EXPERIENCE REPORTS Rebecca Wirfs-Brock, Digitalk Professional Services PANELS Sam Adams, Knowledge Systems Corporation POSTERS Mark Whiting, Battelle Northwest Laboratory PROCEEDINGS Andreas Paepcke, Hewlett Packard Labs PROCEEDINGS ADDENDUM Jerry Archibald, IBM T.J. Watson Research Center Mark Wilkes, IBM T.J. Watson Research Center PUBLICATIONS Rick DeNatale, IBM PUBLICITY Cathy Caplener, Borland International Susan Nicolls, Borland International STUDENT VOLUNTEERS John Shilling, Georgia Institute of Technology TUTORIALS John McGregor, Clemson University WORKSHOPS Mamdouh Ibrahim, Electronic Data Systems ======================================= PROGRAM COMMITTEE Ralph Johnson, U. of Illinois at Urbana-Champaign (Chair) Bruce Anderson, U. of Essex Pierre America, Philips Research Don Batory, U. Texas at Austin Henry Baker, Nimble Computer Grady Booch, Rational Alan Borning, U. of Washington William Cook, Apple James Coplien, AT&T Bell Labs Raymund Ege, Florida International U. Steve Feiner, Columbia U. Paul Fishwick, U. of Florida Richard Gabriel, Lucid Adele Goldberg, ParcPlace Gary Leavens, Iowa State Steven Litvintchouk, MITRE Satoshi Matsuoka, U. of Tokyo Oscar Nierstratz, U. of Geneva Patrick O'Brien, Object Design David Salesin, U. of Washington John Shilling, Georgia Inst. Tech. Dave Thomas, OTI Dave Ungar, Sun Labs Rebecca Wirfs-Brock, Digitalk ======================================= OOPSLA '93 Direct all correspondence to the appropriate committee members. General correspondence on OOPSLA '93 may be sent to: Jim Salmons and Timlynn Babitsky OOPSLA '93 Conference Chairs P.O. Box 1748 Lexington SC 29071 Phone: +1-803-957-5779 Fax: +1-803-957-0648 Email: oopsla93@cs.clemson.edu Operations questions should be directed to: Kent Beck OOPSLA '93 Operations Chair First Class Software 14525 Big Basin Highway P.O. Box 226 Boulder Creek, CA 95006-0226 Phone: +1-408-338-4649 Fax: +1-408-338-3666 Email: 70761.1216@compuserve.com ======================================= TOPICS OF INTEREST In its eighth year of advancing the state of the art in object technology, OOPSLA topics of interest include but are not limited to the following: --------------------------------------- LANGUAGE DESIGN AND IMPLEMENTATION Programming languages and specific language constructs, visual programming languages, integration with other programming models, compilation techniques, implementation techniques, storage management, performance analysis, architectural support, embedded systems --------------------------------------- TOOLS AND ENVIRONMENTS Programming environments, software development tools, application-specific development environments, debugging tools, measurement tools --------------------------------------- COMPONENTS AND FRAMEWORKS Evaluations of reusable components, toolkits, application frameworks, user interface management systems, architectural principles for reusable components, event-driven architectures, constraints --------------------------------------- PRINCIPLES AND THEORY Conceptual and semantic models, type systems and type inference, inheritance, delegation, reflection --------------------------------------- CONCURRENT AND DISTRIBUTED SYSTEMS Models and languages to support concurrent and distributed processing, transaction models, distributed object architectures, open systems, operating systems development and debugging tools, heterogeneous systems, security --------------------------------------- METHODS AND PROCESSES Development methods, measurements of impact on productivity,reuse or quality, specification techniques, prototyping techniques, debugging and testing issues, management issues, teaching, technology adoption, metrics, software evolution --------------------------------------- DATABASES AND PERSISTENCE Data models, database-programming language interfaces, persistent programming languages, implementation techniques, object servers, performance analysis ======================================= THIS YEAR'S SPECIAL INTEREST TOPICS As the technology matures, special interest communities emerge as practical and research applications prove and challenge the use of object technology. In addition to OOPSLA's long-standing interest in the above topics of interest, conference organizers have targeted the following areas in which we are especially interested in contributions: --------------------------------------- SIMULATION The application of object technology to simulation systems, especially graphically-intensive and real-time systems, including but not limited to virtual reality,interactive simulators(such as flight or business training) and decision support systems Raimund Ege Simulation SIT Chair School of Computer Science Florida International University University Park Miami, FL 33199 Phone: +1-305-348-3381 Fax: +1-305-348-3549 E-mail: ege@scs.fiu.edu --------------------------------------- GRAPHICS Language and tool support for use of object technology in real-time and other computation-intensive graphic applications with emphasis on but not limited to modeling, computation techniques and graphic object reuse Alan Borning OOPSLA '93 Graphics SIT Chair Dept. of Computer Science and Engineering, FR-35 University of Washington Seattle, WA 98195 Phone: +1-206-543-6678 Fax: +1-206-543-2969 E-mail: borning@cs.washington.edu --------------------------------------- ADA Language facilities, design methodologies and development tools which capitalize on or strengthen the object-oriented features of Ada OOPSLA '93 Ada SIT Chair (to be announced) Contact Program Chair for additional information --------------------------------------- OBJECT TECHNOLOGY AND GOVERNMENT In recognition of our convening the conference in Washington, D.C., special attention will be paid to contributions that focus on the interests, experiences, research and concerns surrounding the use and support of object technology in government.The Special Interest Topic Chairs are soliciting papers, panels, workshops, experience reports, demonstrations and invited talks that reflect diverse multinational, federal and local government applications and issues in object technology. Topics of interest include, but are not limited to, experience and lessons learned" in introducing object technology into government information systems; standards, ownership and reuse issues related to object technology and government funded development; personnel management and contracting dynamics which impact the attractiveness of using high productivity technology;integrating object technology and legacy systems; real and perceived roadblocks to businesses involved in developing for and delivering object technology to government. Angela Jo Coppola Object Technology and Government SIT Co-Chair Central Intelligence Agency Washington, D.C. 20505 Phone: +1-703-874-2401 Fax: +1-703-874-3076 E-mail: 71242.1437@compuserve.com William A. Ruh Object Technology and Government SIT Co-Chair Workstation Systems Engineering Center The MITRE Corporation 7525 Colshire Drive McClean, VA 22102 Phone: +1- 703-883-6529 Fax: +1-703-883-3315 E-mail: war@ciis.mitre.org --------------------------------------- THE SECOND EDUCATORS' SYMPOSIUM OOPSLA will again offer a special, one-day symposium-style program designed specifically for computer science educators who want to start or who want to share their experiences incorporating object technology into their courses and curricula. The Symposium will feature presentations, panels, invited talks and demonstrations. Proposals for "experience, lessons learned" presentations are solicited from educators. Topic areas include the introduction of OOPS as a student's 1st programming experience as well as teaching OOPS concepts in general, to more experienced students. Mail three copies of an extended abstract (3-6 pages)to be received no later than 18 March 1993. Facsimile and electronic submissions will NOT be accepted.Proposers will be notified of acceptance by 12 May 1993. A separate cover sheet must contain the name,affiliation, address, phone number and electronic mail address of the author or contact person. For more details please contact the Co-chairs. Please mail submissions to James Heliotis. James Heliotis OOPSLA '93 Educators' Symposium Co-chair Dept. of Computer Science Rochester Institute of Technology Rochester, NY 14623-0887 Phone: +1-716-475-6133 Fax: +1-716-475-7100 Email: jeh@cs.rit.edu Linda M. Northrop OOPSLA '93 Educators' Symposium Co-chair Software Engineering Institute Carnegie Mellon University Pittsburgh, PA 15213-3890 Phone: +1-412-268-7638 Fax: +1-412-268-5758 Email: lmn@sei.cmu.edu We are especially interested in contributions in these focus areas. All contributions are made to and refereed under the regular OOPSLA Program Committee process or are selections made by the appropriate Conference Committee chairs. To facilitate the contribution and evaluation of submissions within these target interest topics, Special Interest Topic chairs have been added to the OOPSLA Program Committee. The Advance Program and Final Program will clearly identify the Special Interest Topics tracks to help attendees make scheduling decisions. ======================================= THE TECHNICAL PROGRAM A wide range of formats are available for your participation in the OOPSLA technical program: --------------------------------------- PAPERS The conference includes both invited and contributed papers.Authors are encouraged to submit high quality papers describing relevant research or experience. Research papers should describe work whose purpose is to advance the state of the art of object technology. Experience papers should describe the application of object-oriented methods. The program committee will evaluate each paper on its relevance, clarity, correctness, originality and significance. Special consideration will be given to promising experience papers. The conference includes both invited and contributed papers. Authors are encouraged to submit high quality papers describing relevant research or experience. Research papers should describe work whose purpose is to advance the state of the art of object technology. Experience papers should describe the practical application of object-oriented methods. The program committee will evaluate each paper on its relevance, clarity, correctness, originality and significance. Authors should send six copies of the full paper, in English, to the program chair to be received no later than 22 February 1993. Papers must be limited to 18 pages, typed double spaced. Each copy must contain contact information (contact name, postal address, and phone number), a 100-word abstract, and indicate the paper category (research or experience). Authors will be notified of acceptance or rejection by 12 May 1993. Camera-ready copy of accepted papers are due 20 June 1993.Authors of accepted papers are expected to sign an ACM copyright release form and present the paper at the conference. Proceedings will be distributed at the conference and via SIGPLAN Notices and will be available from ACM Press. Outstanding papers may be considered for a special issue of a journal. Guidelines for authors can be obtained from the program chair or through the OOPSLA Internet Hotline. Send submissions to: Ralph Johnson OOPSLA '93 Program Chair University of Illinois at Urbana-Champaign Dept. of Computer Science 1304 W. Sp[ringfield Avenue Urbana, IL 61801 Phone: +1-217-244-0093 Fax: +1-217-333-3501 Email: johnson@cs.uiuc.edu --------------------------------------- TUTORIALS OOPSLA is well-known for the breadth and depth of its extensive tutorial program. Proposals are invited for tutorials covering subjects of interest to the object technology community. Proposals are solicited at all levels-introductory, intermediate and advanced. Proposals for both advanced and new topics are especially welcome. Tutorials offer a forum for educating professionals and give attendees the opportunity to take an indepth look at topics of their choice in intensive half, full or two-day sessions. All tutorial proposals will be reviewed by a committee under the direction of the Tutorial chair. Tutorials will be selected on the basis of importance of the topic,expertise of the presenters and the quality and educational value of the material to be presented. Product marketing or selling are inappropriate in this forum. Anyone considering submitting a proposal for a tutorial should request guidelines on tutorial submissions from the tutorial chair. Copies of the proposal must be received by 18 march 1993. E-mail submissions of proposals will be accepted and appreciated. Proposers will be notified of acceptance by 12 May 1993 and the final camera- ready versions of tutorial materials for publication in the tutorial notebooks will be due on 9 July 1993. Send requests for tutorial submission guidelines to: John McGregor OOPSLA '93 Tutorials Chair Dept. of Computer Science Box 341906 Clemson University Clemson, SC 29634-1906 Phone: +1-803-656-5859 Fax: +1-803-656-0145 Email: johnmc@cs.clemson.edu --------------------------------------- PANELS Successful panels focus on raising issues and fostering stimulating discussion on important topics in the OO community. While divergent views from panelists often help foster discussion, the main goal this year is to provide substance to conference attendees, not entertainment. Traditionally, panels have consisted of four or five speakers making brief position statements, followed by a discussion driven by questions from the audience. While this format will still be accepted, we are especially interested in proposals for innovative formats that will maximize the attendees' value. Panels will be presented in parallel with the papers. They will be 90 minutes in length, with at least 45 minutes allotted for discussion and debate. Submission Requirements: * Panel title * Brief summary of the key issues to be discussed * Each panelist's name, background and a short description of his/her position on the issues * Proposed panel format with time allotments(90 minutes maximum) * Contact information for the panel moderator (name,affiliation, address and phone number) Panel proposals must be received by 18 March 1993. Proposers will be notified of acceptance by 12 May 1993 and the final camera-ready versions of position papers for publication in the conference proceedings will be due on 20 June 1993. Address submissions and questions to: Sam Adams Knowledge Systems Corporation 114 MacKenan Drive, Suite 100 Cary, NC 27511-6446 Phone: +1-919-481-4000 Fax: +1-919-460-9044 Email: 76450.177@compuserve.com --------------------------------------- WORKSHOPS Workshops are a means for experts to meet and discuss issues with a selected focus in an atmosphere which fosters the active exchange of ideas among researchers and practitioners. They provide a forum for the thrust-and-parry of scientific discourse. Workshops also provide an opportunity for representatives of a research community to coordinate efforts and establish collective plans of action. To ensure a sufficiently small group for effective interaction, workshop attendance is controlled with prospective attendees submitting a short position paper outlining their opinions on an aspect of the workshop topic. Participants are chosen based on the relevance of their position paper to the workshop theme. Workshop presentations are at the discretion of the workshop organizers but all attendees are expected to join in the debate with ample time allotted for general discussion. After the workshop, the organizer(s) will be responsible for reporting to the OOP community via an article in the Proceedings Addendum. Proposals for workshops should be between one and two pages in length, and should contain a description of the topic and intended audience, why the workshop is of interest at this time , and a proposed schedule or preliminary agenda. Proposals should also include the names, affiliations, addresses (postal and electronic), and phone numbers of the organizing committee, which should consist of more than two people knowledgeable in the field but not all at the same institution. Proposals should be submitted as soon as possible but must be received by 18 March 1993. Electronic submissions will be greatly appreciated. Workshop organizers will be notified of acceptance or rejection by 12 May 1993. Send submissions to: Mamdouh Ibrahim OOPSLA '93 Workshops Chair Artificial Intelligence Services Electronic Data Systems 5555 New King Street Troy, MI 48007 Phone: +1-313-696-7129 Fax: +1-313-696-2325 Email: mhi@gmr.com --------------------------------------- DEMONSTRATIONS Proposals are invited for live demonstrations of systems that use, apply, or teach object-oriented programming and technology. At past OOPSLAs, the demonstrations have been well attended and have been an excellent venue for discussing technical aspects of projects and tools. Demonstrations will be selected on the basis of technical merit, relevance to object-oriented programming, novel and interesting features, and feasibility. Presenters should be members of the development or implementation team and will give a technical presentation to a technical audience. Product marketing or selling are inappropriate in this forum. Demonstrations of both commercial and in-house applications, as well as academic and corporate research are sought. In addition to new efforts, we are also interested in "where are they now" demonstrations of projects shown in previous years. Demonstrations should not exceed 30 minutes. Proposals for demonstrations must include a one-page abstract providing the title and description of the demonstration, and the names, affiliation, addresses (postal and electronic), and phone number of the demonstrators. In addition, a description of the technical and hardware requirements for the demonstration is needed. While every effort will be made to provide equipment, demonstrators may be asked to provide their own equipment or to make arrangements for sharing equipment. For details contact the Demonstrations Chair. Three copies of the proposal, including the abstract and technical requirements, must be received by 18 March 1993. Proposers will be notified of acceptance by 12 May 1993. Send submissions to: Bjorn Freeman-Benson OOPSLA '93 Demonstrations Chair Dept. of Computer Science University of Victoria P.O. Box 3055 Victoria, BC, Canada V8W 3P6 Phone: +1-604-721-6019 Fax: +1-604-721-7292 Email: bnfb@cs.uvic.ca --------------------------------------- EXPERIENCE REPORTS Space will be made available in a separate track for short presentations of unrefereed reports describing practical experience applying object technology to production quality software development. Prospective speakers submit a 1-2 page description of the project scope and status and the specific points to be covered in the presentation to the experience report chair by 18 March 1993. Selection will be based on relevance and potential interest. Summaries will be collected after the conference for publication in the Proceedings Addendum issue of the OOPS Messenger. Contact the Experience Reports Chair or access the OOPSLA '93 Hotline for guidelines. Send submissions to: Rebecca Wirfs-Brock OOPSLA '93 Experience Reports Chair Digitalk 7585 SW Mohawk Street Tualatin, OR 97062 Phone: +1-503-691-0800 Fax: +1-503-242-0729 Email: rebecca@digitalk.com --------------------------------------- POSTERS The Poster Session will provide a forum for one-to-one and small group interaction about specific object technology work-either theoretical or applied in nature. Acceptable posters should provide both visual impact and the ability to stimulate interaction among attendees. We especially invite works in progress, work by students, work concerning new methods and processes, and work concerning controversial topics. Presenters are provided display space and are required to be available during designated times (estimated at 4 hours total). Write-ups of accepted posters will be available at the conference. Authors should send 4 copies of a proposal to the Poster Chair to be received no later than 18 March 1993. Authors will be notified of acceptance by 12 May 1993. Final copies of the poster write-up will be due on 20 June 1993. Proposals must include an extended abstract limited to 8 pages (typed double spaced). A separate cover sheet must contain the name, affiliation, address, phone number and e-mail address of all authors. Indicate a primary contact person. Include a list of indexing keywords using the Computing Reviews Classification System terms and also a preliminary graphic layout of the poster. Send submissions to: Mark Whiting OOPSLA '93 Posters Chair Battelle Pacific Northwest Laboratory P.O. Box 999 Richland, WA 99352 Phone: +1-509-375-2237 Fax: +1-509-375-3641 Email: whiting@snuffy.pnl.gov ======================================= EXHIBITS Running concurrently with the technical program will be an exposition of object technology products and services. In addition to continuous exposure in their booths in the Exhibition Hall, exhibitors have the opportunity to make scheduled presentations as part of the Vendor Forum, an integral part of the OOPSLA '93 program. Press conference and press room facilities are provided to enhance exhibitor interaction with press attending the conference. OOPSLA '93 will again host a Bookseller's Alley for publishers. Potential exhibitors should contact the Exhibits Chair at the earliest convenience to ensure their inclusion in the OOPSLA '93 Exhibits. Mike Taylor Digitalk 7585 SW Mohawk Street Tualatin, OR 97062 Phone: +1-503-691-0800 Fax: +1-503-242-0729 Email: mike@digitalk.com ======================================= STUDENT VOLUNTEERS The top people in object-oriented technologies and software development meet at, speak at and run the OOPSLA '93 conference. The student volunteers program is an opportunity for students to associate with these world experts. In trade for about ten hours of their time, students will receive a complimentary registration and other bonus benefits. In the past, job assignments have included checking badges at doors, helping with traffic flow management, assisting with tutorials and panels, and general go-for assistance to keep the conference running smoothly. Interested graduate and undergraduates should contact the student volunteers chairperson no later than 1 August 1993. E-mail is greatly preferred for all correspondence. John Shilling OOPSLA '93 Student Volunteers Chair College of Computing Georgia Institute of Technology Atlanta, GA 30332-0280 Phone: +1-404-894-7512 Fax: +1-404-853-9378 Email: shilling@cc.gatech.edu ======================================= REGISTRATION/CONFERENCE INFORMATION An advance program containing tutorial information, registration forms, housing forms and preliminary technical program information will be mailed in June 1993. If you are a member of one of the following groups, you are already on the mailing list and will automatically receive the advance program: * you attended OOPSLA '91 and/or OOPSLA '92 * you are a member of ACM/SIGPLAN Otherwise, please contact: OOPSLA '93 c/o JFS Consulting P. O. Box 1748 Lexington, SC 29071 U.S.A. ======================================= INTERNET E-MAIL OOPSLA '93 HOTLINE Anyone with access to Internet electronic mail may request additional information on OOPSLA '93 by sending a message to: OOPSLA-93-INFO@URSAMAJOR.UVIC.CA You will receive, by return E-mail, the latest information about OOPSLA '93. Such information will include, but not be limited to, the text of the Call for Participation, guidelines for submissions and participation, and an abbreviated Advance Program as such information becomes available. To accommodate Internet gateways which do not support transmission of file attachments, all supplied information will be in the body of the return message.
From: gideon@otago.ac.nz Newsgroups: comp.sys.next.programmer Subject: IXKit Examples please Message-ID: <1993Jan26.141825.582@otago.ac.nz> Date: 26 Jan 93 14:18:25 +1300 Organization: University of Otago, Dunedin, New Zealand Does anyone out there have any simple examples of how to use the indexing kit? Something like an address book or similar would be most appreciated, so I can get an idea of how to use the various components of the kit. Thanks in advance for any help. =============================================================================== | -- =============================================================================== | NeXT Mail preferred. Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Department of Computer Science | e-mail gideon@otago.ac.nz P.O. Box 56 | Dunedin | The wonders of the steam age ....... New Zealand | Steam!!! | ===============================================================================
Newsgroups: comp.sys.next.programmer From: cs4gp6aa@maccs.mcmaster.ca (Appavoo J) Subject: GNU - gcc2.3.3 ?? Message-ID: <1993Jan26.021117.7593@mcshub.dcss.mcmaster.ca> Sender: usenet@mcshub.dcss.mcmaster.ca Organization: Department of Computer Science, McMaster University Date: Tue, 26 Jan 1993 02:11:17 GMT Can anyone tell me where I can get the lates version of gcc (2.3.3???) and all the correct libs to compile c++ and c. Thanks. Jonathan Appavoo. (I assume it comes with a new make i am having probs with the make that came with the machine).
Newsgroups: comp.sys.next.programmer From: cs4gp6aa@maccs.mcmaster.ca (Appavoo J) Subject: GNU - gcc2.3.3 Message-ID: <1993Jan26.021715.7798@mcshub.dcss.mcmaster.ca> Sender: usenet@mcshub.dcss.mcmaster.ca Organization: Department of Computer Science, McMaster University References: <1993Jan26.021117.7593@mcshub.dcss.mcmaster.ca> Date: Tue, 26 Jan 1993 02:17:15 GMT Can anyone tell me where I can get the lates version of gcc (2.3.3???) and the libs to compile c and c++. Thanks very much. Jonathan Appavoo. (I assume it comes with a new make facility I am have had problems with the version of make that comes with the NeXT)
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: How can a program check to see if user is on console? Message-ID: <7466@ucsbcsl.ucsb.edu> Date: 24 Jan 93 19:00:16 GMT Sender: root@ucsbcsl.ucsb.edu Followup-To: comp.sys.next.software Organization: Center for Computer Music Research and Composition, UCSB I am writing some C code which needs to check to see if the user is logged onto the console (i.e., any tty, as long as the user is sitting at the console). What is the easiest way to check to see if this is true? Thanks in advance. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: tjb@strangeways.unh.edu (Thomas J. Baker) Subject: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan26.010722.7575@strangeways.unh.edu> Sender: tjb@strangeways.unh.edu (Thomas J. Baker) Organization: Baker Consulting - Dover, NH Date: Tue, 26 Jan 1993 01:07:22 GMT Hello, Does anyone know the exact rgb values of the blue that NeXT uses in their help panels (like for Mail)? It has the quality of being blue on color machines and pure light grey on monochome ones. Thanks, tjb -- ===================================================================== | Thomas Baker Director of the New Hampshire NeXT User Group | | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu | | Durham, NH 03824 Voice: (603) 743-4987 | =====================================================================
From: grant@Manticore.COM (Grant J. Munsey) Newsgroups: comp.sys.next.programmer Subject: Selecting multiple items in an NXBrowser Message-ID: <366@gouche.UUCP> Date: 26 Jan 93 04:06:46 GMT Sender: grant@gouche.UUCP I want to select multiple non-contiguous rows in a column of an NXBrowser. I have set it to allow multiple leaf selection. When I call selectCellAt:: for the Matrix in the NXBrowser it will only selects one at a time. Anybody got a pointer for me? Thanks, ---- Grant Munsey, Mainticore, Inc. (408)252-1135 grant@Manticore.COM, uunet!ub-gate!gouche!grant NeXTMail ok.
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: Re: Query about Scroll Views Message-ID: <30507@optima.cs.arizona.edu> Date: 26 Jan 93 05:27:55 GMT References: <1jq025INN59s@uwm.edu> Sender: news@cs.arizona.edu Organization: U of Arizona CS Dept, Tucson + I am a little confused about the nature of the scroll view. +The confusion of course comes from ignorance about the behavior of the +scroll view. Anyway, I am wondering just how a scroll view works. +For example, in digital librarian you type in a search and get a bunch +of icons below with the results. Usually the list is more then a +screen full, so you have to use the scroller. What I am wondering is +if DL actually has to recalculate and redraw the scroll view each time +it is scrolled. Or, is there some tricky way to do it so that the +scroll view actually does the recalculated and what not. I guess what +it comes down to is, if I want scrollable graphics, do I need to +overwrite the drawself with some code to calculate what should be +redrawn in the doc view of the scroll view? I hope that I haven't +been to general in my question, but any input would be great. +Thanks in advance, +-- + The way this usually works is you keep adding things to the scrollview. So your view inside the scrollview is bigger than the scrollview (ie you are showing only the first 15 lines of a 200 line scrollview) When the user scrolls the window or scrollview or whatever, your view gets a message that says to redraw the part of the view that is now visible. So you only need to remember how to redraw that part of the view. Another solution is to draw your image somewhere else (another, offscreen view) and just copy from there back to the screen. -nick
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: RGB Values of "NeXT Help Blue" Date: 26 Jan 1993 09:28:02 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1k3072$j8n@agate.berkeley.edu> References: <1993Jan26.010722.7575@strangeways.unh.edu> In article <1993Jan26.010722.7575@strangeways.unh.edu> tjb@strangeways.unh.edu (Thomas J. Baker) writes: > >Does anyone know the exact rgb values of the blue that NeXT uses in their help >panels (like for Mail)? It has the quality of being blue on color machines and >pure light grey on monochome ones. R=0.2000, G=0.26667, B=0.60000 or H=0.6388, S=0.66667, B=0.60000 or C=0.8000, M=0.73333, Y=0.40000, K=0 -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: t8221az@next3.lrz-muenchen.de () Subject: Handling RTFD Files with Objective-C Message-ID: <1993Jan26.140154.24592@news.lrz-muenchen.de> Keywords: RTFD Sender: news@news.lrz-muenchen.de (Mr. News) Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Date: Tue, 26 Jan 1993 14:01:54 GMT Who has experience with or examples for the Objective-C methods: readRTFDFrom: saveRTFDTo: openRTFDSelectionTo: etc. ?? Matthias, t8221az@next1.lrz-muenchen.de
Newsgroups: comp.sys.next.programmer From: t8221az@next3.lrz-muenchen.de () Subject: Handling of RTFD Files with Objective-C ?? Message-ID: <1993Jan26.142916.25031@news.lrz-muenchen.de> Keywords: RTFD Sender: news@news.lrz-muenchen.de (Mr. News) Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Date: Tue, 26 Jan 1993 14:29:16 GMT Who knows how to handle RTFD Files with Objective-C or has example programs in Objective-C ?? (methods readRTFDFrom:, saveRTFDTo:, openRTFDSelectionTo: etc.) Matthias Munich, Germany t8221az@next1.lrz-muenchen.de
Newsgroups: comp.sys.next.programmer From: mjh@kronecker.mit.edu (Michael J. Hopkins) Subject: Re: IB question Message-ID: <1993Jan26.152709.19260@galois.mit.edu> Sender: news@galois.mit.edu Organization: MIT Department of Mathematics, Cambridge, MA References: <1993Jan23.230307.8056@galois.mit.edu> <C1DrH3.FC6@ms.uky.edu> Date: Tue, 26 Jan 93 15:27:09 GMT In article <C1DrH3.FC6@ms.uky.edu> kevins@slow.inslab.uky.edu writes: >Michael J. Hopkins writes < stuff deleted about the problem: Place an image in an app. Remove the image, and replace it with a new one with the same name (say you wanted to make some modifications) IB still shows the old image, and will not let you replace it with the new one. > >-> I guess my question is: How can I delete an image from a .nib file? >-> ----------------------------------- > >Yes, this appears to be a big pain in the ass. The only thing I've found to do >is remove the image from ProjectBuilder and it should be removed from IB. Then >simply add it again. This seems to suck. > >Anyone else have any ideas? > > >-- >_______________________________________________________________________________ > I'll cross my heart and hope to die > but the needle's already in my eye. >_______________________________________________________________________________ > > Kevin Solie This doesn't seem to work. Even if you remove the image with PB, Interface Builder will not let you add another image with the same name. Adding the image in Project Builder only places the .tiff file in the project directory. The copy in the .nib file remains unchanged. I suppose one could edit the .nib file by hand... One last thing. Ed (support@gateway.vvi.com) (sorry Ed, you didn't send me your last name, and I can't seem to 'finger' you right now) pointed out that if you replace the file, and go ahead and build the app then the correct image will be placed in the application. Only IB will display the old one. -- ----------------------------------- Mike Hopkins mjh@math.mit.edu -----------------------------------
From: finton@barney.cs.wisc.edu (David J. Finton) Newsgroups: comp.sys.next.programmer Subject: Re: How do I tell a text Form to select the next text cell? Message-ID: <1993Jan26.160008.16406@cs.wisc.edu> Date: 26 Jan 93 16:00:08 GMT References: <1993Jan20.210945.23982@cs.wisc.edu> <C1BEJI.A3M@iat.holonet.net> Sender: news@cs.wisc.edu (The News) Distribution: usa Organization: University of Wisconsin, Madison -- Computer Sciences Dept. In article <C1BEJI.A3M@iat.holonet.net> cmumford@iat.holonet.net (Chris Mumford) writes: >Can you link the fields so that when the user hits the tab key they >automatically get selected? That's what I've done. But when the user hits return, I have a method process the text, and I want it to then select the next field, just as if the user had pressed the tab key. I got suggestions that I should use something like [[sender nextText] selectText:self] This doesn't work; I get a warning that says the compiler can't find the method and that "return type for 'nextText' defaults to id." or "structure has no member named nextText" if I try to access that variable directly by sender->nextText. Essentially, I need to access a variable internal to the object. That's not allowed, but I would expect there to be a method to select the field pointed to by that variable so I don't have to access it. Help? David Finton finton@cs.wisc.edu
Newsgroups: comp.sys.next.programmer From: mjh@kronecker.mit.edu (Michael J. Hopkins) Subject: Re: IB question (solution) Message-ID: <1993Jan26.160803.19530@galois.mit.edu> Sender: news@galois.mit.edu Organization: MIT Department of Mathematics, Cambridge, MA References: <1993Jan23.230307.8056@galois.mit.edu> <C1DrH3.FC6@ms.uky.edu> <1993Jan26.152709.19260@galois.mit.edu> Date: Tue, 26 Jan 93 16:08:03 GMT This is clearly what the internet was intended for. Me submitting problems, following up my own post with more questions, and then presenting solutions. Oh well.. I figured out how to get IB to display a modified image. (1) replace the image in PB by, for example double clicking on the suitcase icon, and adding the modified image (which presumably has the same name as the old image). (2) save the project (3) QUIT IB! (4) Now when you open the .nib file IB will display the correct image. ----- Part 2: Ed (who sent me help before) 's name is Ed Vanvliet thanks again Ed! -- ----------------------------------- Mike Hopkins mjh@math.mit.edu -----------------------------------
From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: How do I tell a text Form to select the next text cell? Message-ID: <81894@hydra.gatech.EDU> Date: 26 Jan 93 17:01:55 GMT References: <1993Jan20.210945.23982@cs.wisc.edu> <C1BEJI.A3M@iat.holonet.net> <1993Jan26.160008.16406@cs.wisc.edu> Sender: news@prism.gatech.EDU Distribution: usa Organization: Georgia Institute of Technology In article <1993Jan26.160008.16406@cs.wisc.edu> finton@barney.cs.wisc.edu (David J. Finton) writes: >In article <C1BEJI.A3M@iat.holonet.net> cmumford@iat.holonet.net >(Chris Mumford) writes: >>Can you link the fields so that when the user hits the tab key they >>automatically get selected? >I got suggestions that I should use something like > [[sender nextText] selectText:self] >This doesn't work; I get a warning that says the compiler can't >find the method and that "return type for 'nextText' defaults to id." If the objects involved are just plain TextFields, all that is required is to link up the nextText outlets in IB. Provided you #import <appkit/TextField.h>, the above code should work OK. The situation is more involved if you have a Matrix of TextFieldCells, or a Form (which is of course a subclass of Matrix). Matrix's (and, by inheritance, Forms) only look at "nextText" when you get to the last Cell in the Matrix; tabbing from Cell to Cell within a Matrix or Form is handled automatically. Furthermore, for some reason Matrix does not implement a "nextText" method. But anyway, see the documentation on the TextDidEnd:endChar: method of Matrix for a description of how this works. -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
From: dcheslow@impact.flint.umich.edu (David A. Cheslow) Newsgroups: comp.sys.next.programmer Subject: Re: How do I tell a text Form to select the next text cell? Date: 26 Jan 1993 19:34:48 GMT Organization: University of Michigan Engineering, Ann Arbor Distribution: usa Message-ID: <1k43ooINN192@srvr1.engin.umich.edu> References: <81894@hydra.gatech.EDU> I ran into this problem a long time ago. The problem that you are experiencing is that a Form (sender) does not have a nextText. A Form is a subclass of Matrix. It is the cells of the Matrix which have nextText connections. You can find the actual field where editing has occured by sending [sender selectedCell], and you can then ask the resulting object for its nextTeXT. Alternatively (and perhaps more transparently), you can simply send [sender selectCellAt:[sender selectedRow]+1 :0] -- =============================================================== *NOT* an official document of the University of Michigan-Flint =============================================================== David A. Cheslow dcheslow@impact.flint.umich.edu School of Management, 344 CROB Phone: (313) 762-3309 University of Michigan - Flint Fax: (313) 762-3687
Newsgroups: comp.sys.next.programmer From: wisinski@SLAC.Stanford.EDU (Dennis Wisinski) Subject: Re: IXKit Examples please Message-ID: <C1H87w.FAB@unixhub.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <1993Jan26.141825.582@otago.ac.nz> Date: Tue, 26 Jan 1993 19:45:32 GMT In article <1993Jan26.141825.582@otago.ac.nz> gideon@otago.ac.nz writes: > > > Does anyone out there have any simple examples of how to > use the indexing kit? Something like an address book or > similar would be most appreciated, so I can get an idea > of how to use the various components of the kit. > > Thanks in advance for any help. > Have you looked in /NextDeveloper/Examples/IndexingKit ? -- Dennis Wisinski, Stanford Linear Accelerator Center P.O. Box 4349, MS 97 Stanford, CA 94309 wisinski@slac.stanford.edu (NeXT Mail)
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan26.180924.278@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1993Jan26.010722.7575@strangeways.unh.edu> Date: Tue, 26 Jan 1993 18:09:24 GMT In article <1993Jan26.010722.7575@strangeways.unh.edu> tjb@strangeways.unh.edu (Thomas J. Baker) writes: > > Hello, > > Does anyone know the exact rgb values of the blue that NeXT uses in their help > panels (like for Mail)? It has the quality of being blue on color machines and > pure light grey on monochome ones. > > Thanks, > tjb Nope-- but it is easy to figure out; launch Mail, open Help, click Format->Font->Colors...., grab the magnifying glass, grab a chunk of blue, switch to the RGB color picker and read the numbers: (R 51, G 68, B 136) > -- > ===================================================================== > | Thomas Baker Director of the New Hampshire NeXT User Group | > | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu | > | Durham, NH 03824 Voice: (603) 743-4987 | > ===================================================================== -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: kathys@ursulajpl.nasa.gov (Kathy Sturdevant) Subject: Dynamic displays Message-ID: <1993Jan26.221604.16174@jpl-devvax.jpl.nasa.gov> Sender: kathys@ursula (Kathy Sturdevant) Organization: Jet Propulsion Laboratory (NASA) Date: Tue, 26 Jan 1993 22:16:04 GMT I am interested in having a dynamic area in my user interface. Based on information given by the user in one area, I want to bring up a certain configuration of text objects. Currently, I have two possible configurations. I've looked around, but am not quite sure what to do. Would I create two different custom views, then create and display the appropriate one? Keep in mind, I am not creating a separate window--just filling in an open area on the current window. I would appreciate suggestions, and pointers to documentation/examples on the NeXT. Thanks in advance. kathy sturdevant kathys@jpl-devvax.jpl.nasa.gov
Newsgroups: comp.sys.next.programmer From: wick@stone.com Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan26.201921.606@stone.com> Sender: wick@stone.com Organization: Stone Design Corp References: <1993Jan26.180924.278@stone.com> Date: Tue, 26 Jan 1993 20:19:21 GMT In article <1993Jan26.180924.278@stone.com> bbum@stone.com writes: > In article <1993Jan26.010722.7575@strangeways.unh.edu> > tjb@strangeways.unh.edu (Thomas J. Baker) writes: > > > > Hello, > > > > Does anyone know the exact rgb values of the blue that NeXT uses in their > help > > panels (like for Mail)? It has the quality of being blue on color machines > and > > pure light grey on monochome ones. > > > > Thanks, > > tjb > > Nope-- but it is easy to figure out; launch Mail, open Help, click > Format->Font->Colors...., grab the magnifying glass, grab a chunk of blue, > switch to the RGB color picker and read the numbers: > > (R 51, G 68, B 136) To be anal, it is (R 68, G 51, B 136), assuming that you want the color of blue for their text. > > > > -- > > ===================================================================== > > | Thomas Baker Director of the New Hampshire NeXT User Group | > > | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu | > > | Durham, NH 03824 Voice: (603) 743-4987 | > > ===================================================================== > -- > <bbum@stone.com> | "I ride tandem with the random... > Stone Design Corp | ...things don't run the way I planned them." p.gabriel wick@stone.com -- Peter Wickersham | "whatever you do Stone Design | take care of wick@stone.com | your shoes" phish
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: Checking if someone is at the console Date: 26 Jan 1993 23:11:49 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1k4gflINNpl9@uwm.edu> Originator: xepo@csd4.csd.uwm.edu Hi, I noticed that a few people have asked for this code over the years. So, below is a short snippet that will check to see if a given user is at the console. Just compile it, and then run it, and then type in the users name. It probably isn't the most elegant way to do it, but it works. #include <stdio.h> #include <utmp.h> #define ATCONSOLE 1 #define FAILED 2 #define NOTATCONSOLE 3 #define MAXNAME 12 find_user(char *name) { struct utmp ubuf; FILE *fd; if ((fd = fopen("/etc/utmp", "r")) == NULL) { perror("Can't open /etc/utmp"); return (FAILED); } while (fread((char *) &ubuf, sizeof ubuf, 1, fd) == 1) { if(strncmp(ubuf.ut_name, name, sizeof(ubuf.ut_name)) == 0 && strcmp(ubuf.ut_line, "console") == 0) return ATCONSOLE; } return NOTATCONSOLE; } main() { char *loginName; loginName = (char *)malloc(sizeof(char) * MAXNAME); scanf("%s", loginName); if(find_user(loginName) == ATCONSOLE) printf("%s is at the console.\n", loginName); else printf("%s is not at the console.\n"); } -- -Scott Violet (xepo@csd4.csd.uwm.edu)
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Re: reading CD data Date: 27 Jan 1993 00:49:23 GMT Organization: University of Washington, Seattle Message-ID: <1k4m6jINNn9e@shelley.u.washington.edu> References: <1993Jan21.205345.7268@news.media.mit.edu> <1993Jan22.195631.21751@netcom.com> In article <1993Jan22.195631.21751@netcom.com> abell@netcom.com (Steven T. Abell) writes: >mike@media-lab.mit.edu (Michael Hawley) writes: >This is, of course, highly desirable. >It's also illegal. Why is it illegal? Among other things: 1. If I press an audio CD, I can do anything I damn well please with the data on it. 2. If I own a CD, I have the right to have "archival" copies (ie tapes, other digital representations, etc.) as long as I don't distribute them to others. Aside from the technical problems, there's no underlying legal problem with it unless the user chooses to abuse it. -- Sean T. Lamont | "Don't oppress me, It's zeno@genetics.washington.edu | 'computer of color!' " lamont@abstractsoft.com |_______________________________ Abstract Software
Newsgroups: comp.sys.next.programmer From: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan) Subject: array of id's ? Palette'ized objects Message-ID: <C1HrCt.M33@helios.physics.utoronto.ca> Sender: news@helios.physics.utoronto.ca (News Administrator) Organization: University of Toronto Physics/Astronomy/CITA Date: Wed, 27 Jan 1993 02:38:52 GMT Maybe this is a dumb question, but I'd like to be able to access an array of id's (outlets) so that I can access the one of my choice depending on a selection made at run time....in this case I am presented a range of operations to perform on some data. These operations are listed in a PopUp. It would be easiest to use the index of the selected item to access an array element rather than a hard name like calc1, calc2, calc3...etc. Am I missing something, or is this not a common type of problem? Also, can a non-view object be palette'ized for use in IB? I'd like to be able to hook up one of the above calc objects using IB. ie. drag one off a palette into the .nib Objects well (instantiate) for graphical connection to other objects. Thanks in advance.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: Duke University Medical Center Information Systems Message-ID: <6373@rosie.NeXT.COM> Date: 26 Jan 93 20:01:09 GMT Sender: news@NeXT.COM Duke University Medical Center Information Systems is looking for bright, energetic individuals with experience in PC/workstation systems development. Requirements include experience developing applications in a GUI environment (OS/2, NeXTSTEP, Windows, Mac) using object-oriented tools (Smalltalk, C++, Objective C, etc) and client server design. A CS degree or equivalent experience is required. Cross-platform development and SYBASE/DB2 experience a plus. Please contact: Michael Pickett BOX 3900 DUMC, DURHAM, NC, 27710 (919) 286-6369 (FAX) PICKE001@MC.DUKE.EDU (INTERNET-Non NeXT) PICKE001@BULLNEXT.MC.DUKE.EDU (INTERNET-NeXT)
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: BackSpace Developer's Community Project Message-ID: <1993Jan27.012542.1248@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp Date: Wed, 27 Jan 1993 01:25:42 GMT Recently, I have been playing with a BackSpace view that was ported to the NeXT by Jeff Adams called MartinView. It has a basic "Hopalong" fractal algorithm that generates some extremely cool patterns... Wick (Pete Wickersham) and I added mouse control to it; basically, vertical motion forces it to erase whatever is on the screen, and horizontal motion forces it to change algorithms.... It was easy (as is most mods to BackSpace views), and I'm sure there are others out there who would have useful contributions, as well. So, here is the plan; let's open up MartinView (and a couple of other basic BackSpace Views that have lots of room for development) to a moderated developer environment... Wick and I will volunteer to moderate for now-- we have an account set up at Stone specifically to hold the source archives to do this.... If you are interested in finding out more about this, send mail to: <gd@stone.com> with a request for the docs. To participate, you either need: NeXTMail (or the ability to generate NeXTMail style attachments) or splitmail/joinMail (or some other uuencoded style of transfer that we can easily deal with). b.bum & wick -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <6390@rosie.NeXT.COM> Date: 27 Jan 93 02:48:46 GMT References: <1993Jan26.010722.7575@strangeways.unh.edu> Sender: news@NeXT.COM tjb@strangeways.unh.edu (Thomas J. Baker) writes: > Does anyone know the exact rgb values of the blue that NeXT uses in > their help panels (like for Mail)? It has the quality of being blue > on color machines and pure light grey on monochome ones. On a related topic, does anyone have a tiff or EPS file that contains every color that is both 12-bit pure and maps to a pure 2 bit gray- scale value? This would make a useful color panel palette. I posted a couple of EPS files here a while ago that generate every 12 bit pure color, so these could be used for ideas if no one has undertaken this pursuit. please post or email if you have such a beast. -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: CALL FOR PARTICIPATION - OOPSLA '93 (Sept. 26 - Oct. 1, 1993) Message-ID: <1993Jan26.230821.21504@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <6363@rosie.NeXT.COM> Distribution: usa Date: Tue, 26 Jan 93 23:08:21 GMT In article <6363@rosie.NeXT.COM> Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) writes: >>OOPSLA '93 Hmmm...Not one person from NeXT is OFFICIALLY involved with OOPSLA ? Somehow I don't like the sound of that - seeing that NeXT is such an avid user and promoter of object technology. Tell me I'm wrong. Please. -- Ronald Pomeroy "The Internet is just a giant petri dish" Advanced Micro Devices CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
Newsgroups: comp.sys.next.programmer From: singerm@Informatik.TU-Muenchen.DE (Markus Singer) Subject: How to use NXBundles? Originator: singerm@hphalle3f.informatik.tu-muenchen.de Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem) Organization: Technische Universitaet Muenchen, Germany Date: Wed, 27 Jan 1993 10:58:17 GMT Message-ID: <1993Jan27.105817.29552@Informatik.TU-Muenchen.DE> I have a few questions relating NXBundles: 1. The project I'm working of will consist of several bundles, each containing a different part of my app. My problem is now: How do I have to "#import" header files spread over different *.bproj directories? example: /* in mainBundle file I write*/ #import "anyName.bproj/anyName.h" #import "anotherName.bproj/anotherName.h" /* in anyName.m I want to import */ #import "../mainBundleFile.h" /* in anotherNameFile.m I want to import */ #import "../mainBundleFile.h" But when I want to compile something like this, it seems like I'm getting a recursive import of the bproj files, resulting in an inability to find certain files! WHY? I hope anyone understands my problem and knows a solution to it. (Maybe it's the best way is to ignore the example ;-) 2. Can I have a bundle (i.e. file package) as the document type for my application? Thanks in advance, Markus ------------------------------------------------------------------------ Markus A. Singer (singerm@informatik.tu-muenchen.de) Humpa, humpa...
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Re: C++ & LISP Date: 27 Jan 1993 10:32:21 GMT Organization: University of Oregon Network Services Distribution: na Message-ID: <1k5oblINNqq6@pith.uoregon.edu> References: <1k1e30INNnuj@phakt.usc.edu> In article <1k1e30INNnuj@phakt.usc.edu> thartman@phakt.usc.edu (Tye) writes: > I have a NeXTStation running 3.0, with the full development package installed. > The university here is using AT&T C++, whereas my NeXT is using the hacked > ANSI C++ (I think?). Are these compatible? Similarly, if I install the > GNU G++, will this be compatible w/ AT&T? The NeXT c++ is not compatible with the at&t (I would imagine your U is using the latest c++ specification -- NeXT isn't) gcc 2.3.3 should be mostly compatible with at&t (I don't know if catch and throw are implemented in either at present). I am also relatively certain that you can use gcc 2.3.3 and the corresponding libg++ on the next as long as you don't try to compile any obj-c with it (it will barf on the proprietary stuff next added onto o-c in 3.0 -- expect this to be fixed in the next gnu release though). Do get gcc from the archives though, it makes installation so much easier! To the person that compiled gcc 2.3.3 (I forget your name): there is space on cs.orst.edu! > > Also, the school is using Lucid Common Lisp/SPARC 4.1 for Lisp development. > Is this compatible w/ the Allegro Common Lisp on the NeXT? Mostly. You should probably compile your ACL as case-insensitive, upper-case preferred -- although this will preempt any attempt at using ACL with obj-c, IB etc. etc. > > Why, oh why, can't there just be one standard? (Dream, dream, dream...) If every language could just compile their stuff (what a scientific term :) into a common library format, so that Joe programmer could use his chosen language (sounds religious doesn't it :) and just include the different libraries. Then everything could be written in the one and only language (programmer dependent of course :) or alternatively the language best suited for the tast (... but language x is best for everything...) A loader/linker that could make sense out of the resulting code would be nice too :) > > Thanks! > Tyson Hartman > thartman@aludra.usc.edu > (BTW, I know that O-C can represent any problem better than any other language; that it is the only OO language, or other language for that matter, that is worth using; and that if I even think of using another language I am a moron and I should probably go buy myself a sun. Since all of this was kindly pointed out to me in e-mail by people on the net. And if you dare try flaming me for this through e-mail I will mail you a virus that instantly disables your ] key :) Forever your humble servant, Bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
From: ricci@disuns2.epfl.ch (Nicolas Ricci) Newsgroups: comp.sys.next.programmer Subject: Array deletion with ObjC++ Message-ID: <5715@disuns1.epfl.ch> Date: 27 Jan 93 10:20:16 GMT Organization: Ecole Polytechnique Federale de Lausanne Does anybody know how to delete an array in ObjC++ (NeXTStep 3.0) ? The standard way for doing that is to use the form delete [] _cast_expression_ for example : int* a = new int[10]; ... delete [] a; When I compile this code with the ObjC++ Compiler, I get the following error message : parse error before ']' To solve this problem, I tried to give as parameter the size of the array to delete, like this : delete [10] a; In this case, I just got the warning (but NO error message !): array size expression for delete ignored With this non ANSI-C++ syntax, could I be sure that my array will be correctly deleted ? Thanks for help. Nicolas Ricci e-mail : ricci@disuns1.epfl.ch
Newsgroups: comp.sys.next.programmer From: kieffer@spf.trw.com (Robert Kieffer) Subject: Re: <Help> Problems with multiple DPSTim...(Please ignore original post) Message-ID: <2B6571D7.3D8E@deneva.sdd.trw.com> Sender: news@deneva.sdd.trw.com Organization: TRW Inc., Redondo Beach, CA References: <2B648279.25EE@deneva.sdd.trw.com> Date: Tue, 26 Jan 93 17:16:06 GMT I wrote: > Hi folks, > > I've run into a problem while using more than two DPSTimedEntries... > [etc...] Just when I thought it was safe to take my foot out of my mouth... My apologies... I had my timed entry state variable declared as a class variable instead of as an instance variable. Problem solved! Thanks, Robert Kieffer kieffer@spf.trw.com
From: anderson@sapir.cog.jhu.edu (Stephen Anderson) Newsgroups: comp.sys.next.programmer Subject: Re: C++ & LISP Message-ID: <ANDERSON.93Jan27074214@sapir.cog.jhu.edu> Date: 27 Jan 93 12:42:14 GMT References: <1k1e30INNnuj@phakt.usc.edu> <1k5oblINNqq6@pith.uoregon.edu> Sender: news@umd5.umd.edu Distribution: na Organization: Dept. of Cognitive Science, The Johns Hopkins University In-reply-to: bjorn@darmok.uoregon.edu's message of 27 Jan 93 10:32:21 GMT >>>>> On 27 Jan 93 10:32:21 GMT, bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) said: Bjorn> In article <1k1e30INNnuj@phakt.usc.edu> Bjorn> thartman@phakt.usc.edu (Tye) writes: [C++ discussion deleted] > > Also, the school is using Lucid Common Lisp/SPARC 4.1 for Lisp > development. Is this compatible w/ the Allegro Common Lisp on the > NeXT? Bjorn> Mostly. You should probably compile your ACL as Bjorn> case-insensitive, upper-case preferred -- although this Bjorn> will preempt any attempt at using ACL with obj-c, IB Bjorn> etc. etc. A correction here: the most recent version of ACL for the NeXT is still 3.1.20. This is compatible with the corresponding version on Suns, and largely similar to Lucid CL of the same vintage - but different in important ways from Lucid (and Allegro) CL 4.x. The main difference is that both Lucid and Allegro include (slightly different versions of) CLOS in their 4.x implementations. Franz has apparently all but finished ACL 4.1 for NeXT, but hasn't seen fit to release it yet :-( Until they do, case sensititvity may be the least of your problems in porting Sun CL code to the NeXT. --Steve Anderson
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: tas@engr.ucf.edu (Taha Sidani) Subject: Using NeXT CD-ROM drive on a pc Message-ID: <1993Jan27.135434.440@cs.ucf.edu> Sender: news@cs.ucf.edu (News system) Organization: engineering, University of Central Florida, Orlando Date: Wed, 27 Jan 1993 13:54:34 GMT I am interested in using my NeXT CD-ROM on my 486/33 ISA. Is it possible? I have an IDE HD card currently in. I heard that you can add a SCSI card without conflict. What type of SCSI card do I need, and what does it cost ? where can I obtain a cheap card? How about software drivers? I posted this previously on comp.sys.next.hardware but got no replies. thanks for your time please relpy to taha@ists.engr.ucf.edu
From: ogeisser@alboran.uni-paderborn.de (Oliver Geisser) Newsgroups: comp.sys.next.programmer Subject: Re: IXKit Examples please Date: 27 Jan 1993 16:34:57 +0100 Organization: Universitaet Paderborn, Germany Message-ID: <1k6a31INNg51@alboran.uni-paderborn.de> References: <C1H87w.FAB@unixhub.SLAC.Stanford.EDU> Dennis Wisinski (wisinski@SLAC.Stanford.EDU) wrote: : In article <1993Jan26.141825.582@otago.ac.nz> gideon@otago.ac.nz writes: : > : > : > Does anyone out there have any simple examples of how to : > use the indexing kit? Something like an address book or : > similar would be most appreciated, so I can get an idea : > of how to use the various components of the kit. : > : > Thanks in advance for any help. : > : : Have you looked in /NextDeveloper/Examples/IndexingKit ? I have looked in it. All the apps ar buggy ! Again: Does anyone out there have any simple examples of how to use the indexing kit? Ciao, Olli -- | Oliver Geisser * Steindruefft 11 * W-4791 Altenbeken 3 * Germany | | e-mail: ogeisser@uni-paderborn.de * Phone: 05255/7966 | | I prefer ASCII-Mail, but you can also send me NeXT-Mail |
Newsgroups: comp.sys.next.programmer From: mckelvey@fafnir.com (James W. McKelvey) Subject: Re: Code Generation Bug (long) Message-ID: <C1I64F.8nv@fafnir.com> Sender: mckelvey@fafnir.com (James W. McKelvey) Organization: Fafnir Software, Saugus, CA, USA Date: Wed, 27 Jan 1993 07:57:51 GMT Thanks for your responses. Most people think it is a question of optimization. This is not the case. I have submitted this bug to NeXT. Below is a shorter version of what I gave them. This is not reproducible as it does not include some .h files needed to compile. We have found a code generation bug in the 3.0 C compiler. It occurs with optimization OFF. There are two symptoms: 1) Code mysteriously gets segmentation fault or other severe error. 2) A variable is "missing" in GDB. Problem 1 is due to the compiler thinking that an A register contains the offset for an automatic variable when it does not. The variable is the same one as in problem 2. The following .s file demonstrates the problem. Notice that there is no debug record for automatic variable "innnx". I have marked with "XXX" the places where improper code is generated. Register A2 is presumed to contain the offset for "innnx" but it does not. #NO_APP .stabs "ddu_add_table_field.c",100,0,0,Ltext0 .text Ltext0: .stabs "int:t1=r1;-2147483648;2147483647;",128,0,0,0 .stabs "char:t2=r2;0;127;",128,0,0,0 .stabs "long int:t3=r1;-2147483648;2147483647;",128,0,0,0 .stabs "unsigned int:t4=r1;0;-1;",128,0,0,0 .stabs "long unsigned int:t5=r1;0;-1;",128,0,0,0 .stabs "short int:t6=r1;-32768;32767;",128,0,0,0 .stabs "long long int:t7=r1;0;-1;",128,0,0,0 .stabs "short unsigned int:t8=r1;0;65535;",128,0,0,0 .stabs "long long unsigned int:t9=r1;0;-1;",128,0,0,0 .stabs "signed char:t10=r1;-128;127;",128,0,0,0 .stabs "unsigned char:t11=r1;0;255;",128,0,0,0 .stabs "float:t12=r1;4;0;",128,0,0,0 .stabs "double:t13=r1;8;0;",128,0,0,0 .stabs "long double:t14=r1;8;0;",128,0,0,0 .stabs "void:t15=15",128,0,0,0 .stabs "ptrdiff_t:t3",128,0,0,0 .stabs "size_t:t5",128,0,0,0 .stabs "wchar_t:t8",128,0,0,0 .stabs "va_list:t16=*2",128,0,0,0 .stabs "_iobuf:T17=s20_cnt:1,0,32;_ptr:16,32,32;_base:16,64,32;_bufsiz:1,96,32;_flag:6 ,128,16;_file:11,144,8;_smallbuf:2,152,8;;",128,0,0,0 .stabs "fpos_t:t3",128,0,0,0 .stabs "STRING:t18=ar1;0;254;2",128,0,0,0 .stabs "info_field:T19=s40field:20=ar1;0;9;16,0,320;;",128,0,0,0 .stabs "INFOFIELD:t19",128,0,0,0 .stabs "idtype:T21=s8identifier:16,0,32;length:1,32,32;;",128,0,0,0 .stabs "IDTYPE:t21",128,0,0,0 .stabs "name_header:T22=s12forward:23=*22,0,32;backward:23,32,32;ident:24=*21,64,32;;" ,128,0,0,0 .stabs "NAME_HEADER:t22",128,0,0,0 .stabs "fieldtype:T25=s22field_type:16,0,32;field_length:1,32,32;field_name:16,64,32;f ield_value_specified:1,96,32;field_value:26=*15,128,32;primary:2,160,8;;",128,0 ,0,0 .stabs "FIELDTYPE:t25",128,0,0,0 .stabs "devtype:T27=s12dev_size:1,0,32;dev_name_length:1,32,32;dev_name:16,64,32;;",12 8,0,0,0 .stabs "DEVTYPE:t27",128,0,0,0 .stabs "queue_header:T28=s20forward:29=*28,0,32;backward:29,32,32;ident:24,64,32;field :30=*25,96,32;dev:31=*27,128,32;;",128,0,0,0 .stabs "QUEUE_HEADER:t28",128,0,0,0 .stabs "dsc_descriptor_d:T32=s8dsc_w_length:8,0,16;dsc_b_dtype:11,16,8;dsc_b_class:11, 24,8;dsc_a_pointer:16,32,32;;",128,0,0,0 .stabs "dsc_descriptor_s:T33=s8dsc_w_length:8,0,16;dsc_b_dtype:11,16,8;dsc_b_class:11, 24,8;dsc_a_pointer:16,32,32;;",128,0,0,0 .stabs "dsc_descriptor:T34=s8dsc_w_length:8,0,16;dsc_b_dtype:11,16,8;dsc_b_class:11,24 ,8;dsc_a_pointer:16,32,32;;",128,0,0,0 .stabs "BOOL:t2",128,0,0,0 .cstring LC0: .ascii "\0" .text .align 1 .globl _ddu_add_table_field _ddu_add_table_field: .stabd 68,0,10 link a6,#-66368 movel a2,sp@- .stabd 68,0,14 LBB2: .stabd 68,0,16 movel #135561217,a6@(-20) .stabd 68,0,20 clrl a6@(-36) .stabd 68,0,29 movel #-66354,a0 clrl a0@(a6:l) .stabd 68,0,30 movel #-66362,a0 clrl a0@(a6:l) .stabd 68,0,33 movel a6,d0 addl #-65582,d0 movel d0,sp@- jbsr _ddu_init .stabd 68,0,34 movel a6,d0 addl #-65326,d0 movel d0,sp@- jbsr _ddu_init .stabd 68,0,35 movel a6,d0 addl #-65838,d0 movel d0,sp@- jbsr _ddu_init .stabd 68,0,36 movel a6,d0 addl #-66350,d0 movel d0,sp@- jbsr _ddu_init .stabd 68,0,37 movel a6,d0 addl #-66094,d0 movel d0,sp@- jbsr _ddu_init .stabd 68,0,39 movel a6,d0 addl #-66358,d0 movel d0,sp@- movel a6,d0 addl #-65582,d0 movel d0,sp@- pea _db_names_list jbsr _ddu_get_identifier movel d0,a6@(-20) .stabd 68,0,40 moveb a6@(-17),d0 andb #1,d0 addw #32,sp tstb d0 jne L2 .stabd 68,0,41 movel #135569664,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,42 movel #135569664,d0 jra L1 .stabd 68,0,43 L2: .stabd 68,0,44 movel a6,d0 addl #-66358,d0 movel d0,sp@- movel a6,d0 addl #-65326,d0 movel d0,sp@- pea _table_names_list jbsr _ddu_get_identifier movel d0,a6@(-20) .stabd 68,0,45 moveb a6@(-17),d0 andb #1,d0 addw #12,sp tstb d0 jne L3 .stabd 68,0,46 movel #135569664,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,47 movel #135569664,d0 jra L1 .stabd 68,0,48 L3: .stabd 68,0,51 moveq #-40,d0 addl a6,d0 movel d0,sp@- pea _data_view_class jbsr _msg_create_definition movel d0,a6@(-20) .stabd 68,0,52 addqw #8,sp tstl a6@(-20) jne L4 .stabd 68,0,53 movel #135569488,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,54 movel #135569488,d0 jra L1 .stabd 68,0,55 L4: .stabd 68,0,56 tstl a6@(-40) jne L5 .stabd 68,0,57 movel #135569472,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,58 movel #135569472,d0 jra L1 .stabd 68,0,59 L5: .stabd 68,0,62 movel a6,d0 addl #-65326,d0 movel d0,sp@- movel a6@(-40),sp@- jbsr _msg_set_definition_name movel d0,a6@(-20) .stabd 68,0,63 addqw #8,sp tstl a6@(-20) jne L6 .stabd 68,0,64 movel #135569928,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,65 movel #135569928,d0 jra L1 .stabd 68,0,66 L6: .stabd 68,0,67 pea _data_view_class movel a6@(-40),sp@- jbsr _msg_set_definition_class movel d0,a6@(-20) .stabd 68,0,68 addqw #8,sp tstl a6@(-20) jne L7 .stabd 68,0,69 movel #135569888,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,70 movel #135569888,d0 jra L1 .stabd 68,0,71 L7: .stabd 68,0,72 pea _d3_relation_type movel a6@(-40),sp@- jbsr _msg_set_definition_type movel d0,a6@(-20) .stabd 68,0,73 addqw #8,sp tstl a6@(-20) jne L8 .stabd 68,0,74 movel #135569944,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,75 movel #135569944,d0 jra L1 .stabd 68,0,76 L8: .stabd 68,0,77 movel a6,d0 addl #-66350,d0 movel d0,sp@- movel a6@(-40),sp@- jbsr _msg_set_definition_desc movel d0,a6@(-20) .stabd 68,0,78 addqw #8,sp tstl a6@(-20) jne L9 .stabd 68,0,79 movel #135569904,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,80 movel #135569904,d0 jra L1 .stabd 68,0,81 L9: .stabd 68,0,83 tstl _dict_names_list jeq L10 .stabd 68,0,84 L11: tstl _dict_names_list jeq L12 .stabd 68,0,85 LBB3: movel a6,d0 addl #-66358,d0 movel d0,sp@- movel a6,d0 addl #-65070,d0 movel #-66362,a0 movel a0@(a6:l),d1 mulsl #255,d1 addl d1,d0 movel d0,sp@- pea _dict_names_list jbsr _ddu_get_identifier movel d0,a6@(-20) .stabd 68,0,88 moveb a6@(-17),d0 andb #1,d0 addw #12,sp tstb d0 jne L13 .stabd 68,0,89 movel #135569664,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,90 movel #135569664,d0 jra L1 .stabd 68,0,91 L13: .stabd 68,0,92 movel a6,d0 addl #-65070,d0 movel #-66362,a0 movel a0@(a6:l),d1 mulsl #255,d1 addl d1,d0 movel d0,sp@- movel a6@(-40),sp@- jbsr _msg_set_defined_in movel d0,a6@(-20) .stabd 68,0,94 addqw #8,sp tstl a6@(-20) jne L14 .stabd 68,0,95 movel #135569920,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,96 movel #135569920,d0 jra L1 .stabd 68,0,97 L14: .stabd 68,0,98 movel #-66362,a0 movel #-66362,a2 movel a2@(a6:l),d0 movel d0,a1 addqw #1,a1 movel a1,a0@(a6:l) .stabd 68,0,99 LBE3: jra L11 L12: .stabd 68,0,100 jra L15 L10: .stabd 68,0,101 LBB4: pea LC0 pea _DDD_NAME jbsr _strcmp addqw #8,sp tstl d0 jeq L16 .stabd 68,0,103 movel #-66366,a0 movel a2@(a6:l),a0@(a6:l) XXX .stabd 68,0,104 pea _DDD_NAME movel a6,d0 addl #-65070,d0 movel a2@(a6:l),d1 XXX mulsl #255,d1 addl d1,d0 movel d0,sp@- jbsr _strcpy .stabd 68,0,105 addqw #8,sp jra L17 L16: .stabd 68,0,108 movel #135569752,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,109 addqw #8,sp L17: .stabd 68,0,110 movel a6,d0 addl #-65070,d0 movel a2@(a6:l),d1 XXX mulsl #255,d1 addl d1,d0 movel d0,sp@- movel a2@(a6:l),sp@- XXX jbsr _msg_set_defined_in movel d0,a6@(-20) .stabd 68,0,111 addqw #8,sp tstl a6@(-20) jne L18 .stabd 68,0,112 movel #135569920,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,113 movel #135569920,d0 jra L1 .stabd 68,0,114 L18: .stabd 68,0,115 addql #1,a2@(a6:l) XXX .stabd 68,0,116 LBE4: L15: .stabd 68,0,118 movel a6,d0 addl #-65582,d0 movel d0,sp@- movel a6@(-40),sp@- jbsr _msg_set_defined_in movel d0,a6@(-20) .stabd 68,0,119 addqw #8,sp tstl a6@(-20) jne L19 .stabd 68,0,120 movel #135569920,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,121 movel #135569920,d0 jra L1 .stabd 68,0,122 L19: nop .stabd 68,0,128 movel #-66366,a0 clrl a0@(a6:l) L20: movel #-66366,a0 movel a0@(a6:l),a1 cmpl a2@(a6:l),a1 XXX jge L21 .stabd 68,0,129 movel a6,d0 addl #-66358,d0 movel d0,sp@- movel a6,d0 addl #-65070,d0 movel #-66366,a0 movel a0@(a6:l),d1 mulsl #255,d1 addl d1,d0 movel d0,sp@- pea _dict_names_list jbsr _ddu_add_identifier movel d0,a6@(-20) .stabd 68,0,132 moveb a6@(-17),d0 andb #1,d0 addw #12,sp tstb d0 jne L23 .stabd 68,0,133 movel #135569440,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,134 movel #135569440,d0 jra L1 .stabd 68,0,135 L23: .stabd 68,0,136 .stabd 68,0,128 L22: movel #-66366,a0 addql #1,a0@(a6:l) jra L20 L21: nop .stabd 68,0,141 L24: tstl _table_field_list jeq L25 .stabd 68,0,142 LBB5: movel a6,d0 addl #-66367,d0 movel d0,sp@- movel a6,d0 addl #-66354,d0 movel d0,sp@- moveq #-36,d0 addl a6,d0 movel d0,sp@- movel a6,d0 addl #-65838,d0 movel d0,sp@- moveq #-24,d0 addl a6,d0 movel d0,sp@- movel a6,d0 addl #-66094,d0 movel d0,sp@- pea _table_field_list jbsr _ddu_get_field movel d0,a6@(-20) .stabd 68,0,149 moveb a6@(-17),d0 andb #1,d0 addw #28,sp tstb d0 jne L26 .stabd 68,0,150 movel #135569656,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,151 movel #135569656,d0 jra L1 .stabd 68,0,152 L26: .stabd 68,0,156 moveq #-32,d0 addl a6,d0 movel d0,sp@- moveq #-28,d0 addl a6,d0 movel d0,sp@- movel a6,d0 addl #-66094,d0 movel d0,sp@- jbsr _ddu_get_d3_datatype movel d0,a6@(-20) .stabd 68,0,157 moveb a6@(-17),d0 andb #1,d0 addw #12,sp tstb d0 jne L27 .stabd 68,0,158 movel #135569528,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,159 movel #135569528,d0 jra L1 .stabd 68,0,160 L27: .stabd 68,0,163 movel #-66367,a0 moveb a0@(a6:l),d0 extbl d0 movel d0,sp@- clrl sp@- moveq #-44,d0 addl a6,d0 movel d0,sp@- movel #-66354,a0 movel a0@(a6:l),sp@- movel a6@(-36),sp@- movel a6@(-32),sp@- movel a6@(-24),sp@- movel a6@(-28),sp@- pea _data_item_class movel a2@(a6:l),sp@- movel a6,d0 addl #-65070,d0 movel d0,sp@- movel a6,d0 addl #-66350,d0 movel d0,sp@- movel a6,d0 addl #-65838,d0 movel d0,sp@- jbsr _ddu_add_d3_field movel d0,a6@(-20) .stabd 68,0,176 moveb a6@(-17),d0 andb #1,d0 addw #52,sp tstb d0 jne L28 .stabd 68,0,177 movel #135569408,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,178 movel #135569408,d0 jra L1 .stabd 68,0,179 L28: .stabd 68,0,182 movel a6@(-44),sp@- movel a6@(-40),sp@- jbsr _msg_set_ref_by_id movel d0,a6@(-20) .stabd 68,0,183 addqw #8,sp tstl a6@(-20) jne L29 .stabd 68,0,184 movel #135569912,sp@- pea 1:w jbsr _sts_handler .stabd 68,0,185 movel #135569912,d0 jra L1 .stabd 68,0,186 L29: .stabd 68,0,187 LBE5: jra L24 L25: .stabd 68,0,190 movel #-65326,a1 addl a6,a1 movel a1,a6@(-4) .stabd 68,0,191 moveb #14,a6@(-6) .stabd 68,0,192 moveb #1,a6@(-5) .stabd 68,0,193 movel a6,d0 addl #-65326,d0 movel d0,sp@- jbsr _strlen movew d0,a6@(-8) .stabd 68,0,194 movel #-66366,a0 clrl a0@(a6:l) addqw #4,sp L30: movel #-66366,a0 movel a0@(a6:l),a1 cmpl a2@(a6:l),a1 XXX jge L31 .stabd 68,0,195 LBB6: movel a6,d0 addl #-65070,d0 movel #-66366,a0 movel a0@(a6:l),d1 mulsl #255,d1 movel d0,a1 addl d1,a1 movel a1,a6@(-12) .stabd 68,0,196 moveb #14,a6@(-14) .stabd 68,0,197 moveb #1,a6@(-13) .stabd 68,0,198 movel a6,d0 addl #-65070,d0 movel #-66366,a0 movel a0@(a6:l),d1 mulsl #255,d1 addl d1,d0 movel d0,sp@- jbsr _strlen movew d0,a6@(-16) .stabd 68,0,199 movel a6,d0 addl #-65070,d0 movel #-66366,a0 movel a0@(a6:l),d1 mulsl #255,d1 addl d1,d0 movel d0,sp@- movel a6@(-40),sp@- jbsr _msg_save_definition movel d0,a6@(-20) .stabd 68,0,200 addw #12,sp tstl a6@(-20) jne L33 .stabd 68,0,201 moveq #-16,d0 addl a6,d0 movel d0,sp@- movel a6,d0 subql #8,d0 movel d0,sp@- pea 2:w movel #135569880,sp@- pea 4:w jbsr _sts_handler .stabd 68,0,203 movel #135569880,d0 jra L1 .stabd 68,0,204 jra L34 L33: .stabd 68,0,208 moveq #-16,d0 addl a6,d0 movel d0,sp@- movel a6,d0 subql #8,d0 movel d0,sp@- pea 2:w movel #135565323,sp@- pea 4:w jbsr _sts_handler .stabd 68,0,210 addw #20,sp L34: .stabd 68,0,211 LBE6: .stabd 68,0,194 L32: movel #-66366,a0 addql #1,a0@(a6:l) jra L30 L31: .stabd 68,0,213 movel a6@(-20),d0 jra L1 .stabd 68,0,214 LBE2: .stabd 68,0,214 L1: movel #-66368,a0 movel a6@(-4,a0:l),a2 unlk a6 rts .stabs "ddu_add_table_field:F1",36,0,0,_ddu_add_table_field .stabs "message1_desc:34",128,0,0,-8 .stabs "message2_desc:34",128,0,0,-16 .stabs "status:1",128,0,0,-20 .stabs "field_length:1",128,0,0,-24 .stabs "data_type:1",128,0,0,-28 .stabs "scale:1",128,0,0,-32 .stabs "value_specified:1",128,0,0,-36 .stabs "context:5",128,0,0,-40 .stabs "field_context:5",128,0,0,-44 .stabs "table_d3_name:35=ar1;0;254;18",128,0,0,-65070 .stabs "table_name:18",128,0,0,-65326 .stabs "table_db_name:18",128,0,0,-65582 .stabs "field_name:18",128,0,0,-65838 .stabs "field_type:18",128,0,0,-66094 .stabs "descrip:18",128,0,0,-66350 .stabs "field_value:16",128,0,0,-66354 .stabs "length:1",128,0,0,-66358 .stabs "i:1",128,0,0,-66366 .stabs "primary:2",128,0,0,-66367 .stabn 192,0,0,LBB2 .stabn 192,0,0,LBB3 .stabn 224,0,0,LBE3 .stabn 192,0,0,LBB4 .stabn 224,0,0,LBE4 .stabn 192,0,0,LBB5 .stabn 224,0,0,LBE5 .stabn 192,0,0,LBB6 .stabn 224,0,0,LBE6 .stabn 224,0,0,LBE2 .stabs "identifier_list:G29",32,0,0,0 .comm _identifier_list,4 .stabs "attach_names_list:G29",32,0,0,0 .comm _attach_names_list,4 .stabs "class_list:G29",32,0,0,0 .comm _class_list,4 .stabs "cond_field_list:G29",32,0,0,0 .comm _cond_field_list,4 .stabs "db_dev_list:G29",32,0,0,0 .comm _db_dev_list,4 .stabs "db_names_list:G29",32,0,0,0 .comm _db_names_list,4 .stabs "def_field_list:G29",32,0,0,0 .comm _def_field_list,4 .stabs "def_field_name_list:G29",32,0,0,0 .comm _def_field_name_list,4 .stabs "def_names_list:G29",32,0,0,0 .comm _def_names_list,4 .stabs "dict_names_list:G29",32,0,0,0 .comm _dict_names_list,4 .stabs "dicts_names_list:G29",32,0,0,0 .comm _dicts_names_list,4 .stabs "file_names_list:G29",32,0,0,0 .comm _file_names_list,4 .stabs "msg_names_list:G29",32,0,0,0 .comm _msg_names_list,4 .stabs "msg_field_list:G29",32,0,0,0 .comm _msg_field_list,4 .stabs "msg_field_name_list:G29",32,0,0,0 .comm _msg_field_name_list,4 .stabs "msg_subtype_list:G29",32,0,0,0 .comm _msg_subtype_list,4 .stabs "msg_type_list:G29",32,0,0,0 .comm _msg_type_list,4 .stabs "pass_names_list:G29",32,0,0,0 .comm _pass_names_list,4 .stabs "proc_names_list:G29",32,0,0,0 .comm _proc_names_list,4 .stabs "server_names_list:G29",32,0,0,0 .comm _server_names_list,4 .stabs "subclass_list:G29",32,0,0,0 .comm _subclass_list,4 .stabs "syb_data_dev_list:G29",32,0,0,0 .comm _syb_data_dev_list,4 .stabs "syb_log_dev_list:G29",32,0,0,0 .comm _syb_log_dev_list,4 .stabs "table_field_list:G29",32,0,0,0 .comm _table_field_list,4 .stabs "table_field_name_list:G29",32,0,0,0 .comm _table_field_name_list,4 .stabs "table_names_list:G29",32,0,0,0 .comm _table_names_list,4 .stabs "trans_name_list:G29",32,0,0,0 .comm _trans_name_list,4 .stabs "trans_value_list:G29",32,0,0,0 .comm _trans_value_list,4 .stabs "user_names_list:G29",32,0,0,0 .comm _user_names_list,4 .stabs "view_field_list:G29",32,0,0,0 .comm _view_field_list,4 .stabs "view_names_list:G29",32,0,0,0 .comm _view_names_list,4 .text .stabs "",100,0,0,Letext Letext: And here is the original C source: #include "ddu_define.h" #include "ddu_queue.h" #include "ddu_message.h" #include "st_descrip.h" #include "st_stsdef.h" typedef char BOOL; int ddu_add_table_field(void) { #ifdef DEBUG static DESCRIPTOR (current_module_desc, "ddu_add_table_field"); #endif struct dsc_descriptor message1_desc, message2_desc; int status = DDU_NORMAL, field_length, data_type, scale, value_specified = FALSE; unsigned long context, field_context; STRING table_d3_name [CONTEXT_MAX]; char table_name [TOKEN_LEN], table_db_name [TOKEN_LEN], field_name [TOKEN_LEN], field_type [TOKEN_LEN], descrip [TOKEN_LEN]; char *field_value = NULL; int length, innnx=0, i; BOOL primary; ddu_init(table_db_name); ddu_init(table_name); ddu_init(field_name); ddu_init(descrip); ddu_init(field_type); status = ddu_get_identifier(&db_names_list, table_db_name, &length); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_GETIDENTERR); return(DDU_GETIDENTERR); } status = ddu_get_identifier(&table_names_list, table_name, &length); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_GETIDENTERR); return(DDU_GETIDENTERR); } /* Create the table as a d3view. */ status = msg_create_definition(data_view_class, &context); if (status == FAILURE) { sts_handler(1, DDU_CREATEDEFERR); return(DDU_CREATEDEFERR); } if (context == NIL) { sts_handler(1, DDU_CONTEXTERR); return(DDU_CONTEXTERR); } /* Put the characteristics of the message in the definition. */ status = msg_set_definition_name(context, table_name); if (status == FAILURE) { sts_handler(1, DDU_SETDEFNMERR); return(DDU_SETDEFNMERR); } status = msg_set_definition_class(context, data_view_class); if (status == FAILURE) { sts_handler(1, DDU_SETDEFCLSERR); return(DDU_SETDEFCLSERR); } status = msg_set_definition_type(context, d3_relation_type); if (status == FAILURE) { sts_handler(1, DDU_SETDEFTYERR); return(DDU_SETDEFTYERR); } status = msg_set_definition_desc(context, descrip); if (status == FAILURE) { sts_handler(1, DDU_SETDEFDESCERR); return(DDU_SETDEFDESCERR); } if (dict_names_list != NULL) { while (dict_names_list != NULL) { status = ddu_get_identifier(&dict_names_list, table_d3_name[innnx], &length); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_GETIDENTERR); return(DDU_GETIDENTERR); } status = msg_set_defined_in(context, table_d3_name[innnx]); if (status == FAILURE) { sts_handler(1, DDU_SETDEFINERR); return(DDU_SETDEFINERR); } innnx += 1; } } else { if (strcmp(DDD_NAME, "") != 0) { i = innnx; strcpy(table_d3_name[innnx], DDD_NAME); } else { sts_handler(1, DDU_NODDDFOUND); } status = msg_set_defined_in(innnx, table_d3_name[innnx]); if (status == FAILURE) { sts_handler(1, DDU_SETDEFINERR); return(DDU_SETDEFINERR); } innnx += 1; } status = msg_set_defined_in(context, table_db_name); if (status == FAILURE) { sts_handler(1, DDU_SETDEFINERR); return(DDU_SETDEFINERR); } /* This is done so that mapping multiple table definition * into dictionary will be implemented correctly. Anyway, * before the next command, "dict_names_list" will be * initialize to NULL */ for (i = 0; i < innnx; i++) { status = ddu_add_identifier(&dict_names_list, table_d3_name[i], &length); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_ADDIDENTERR); return(DDU_ADDIDENTERR); } } /* Now go through the list of table fields. Get the field name, ** field name length, data_type, and field length for each one. Then ** call the D3 stuff to load each one into the dictionary. */ while (table_field_list != NULL) { status = ddu_get_field(&table_field_list, field_type, &field_length, field_name, &value_specified, &field_value, &primary); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_GETFIELDERR); return(DDU_GETFIELDERR); } /* Get the data_type (an enumerated type) from the field_type * (a character string ). */ status = ddu_get_d3_datatype(field_type, &data_type, &scale); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_GETD3DTTYERR); return(DDU_GETD3DTTYERR); } /* Put the field definitions in the D3 here. */ status = ddu_add_d3_field(field_name, descrip, table_d3_name, innnx, data_item_class, data_type, field_length, scale, value_specified, field_value, &field_context, LOCAL, primary); if (!STS_STATUS_SUCCESS(status)) { sts_handler(1, DDU_ADDD3FIELDERR); return(DDU_ADDD3FIELDERR); } /* Add a reference for the field to the table. */ status = msg_set_ref_by_id(context, field_context); if (status == FAILURE) { sts_handler(1, DDU_SETREFIDERR); return(DDU_SETREFIDERR); } } /* All the fields have been added to the table. Save it now. */ message1_desc.dsc_a_pointer = table_name; message1_desc.dsc_b_dtype = DSC_K_DTYPE_T; message1_desc.dsc_b_class = DSC_K_CLASS_S; message1_desc.dsc_w_length = strlen(table_name); for (i = 0; i < innnx; i++) { message2_desc.dsc_a_pointer = table_d3_name[i]; message2_desc.dsc_b_dtype = DSC_K_DTYPE_T; message2_desc.dsc_b_class = DSC_K_CLASS_S; message2_desc.dsc_w_length = strlen(table_d3_name[i]); status = msg_save_definition(context, table_d3_name[i]); if (status == FAILURE) { sts_handler(4, DDU_SAVETABERR, 2, &message1_desc, &message2_desc); return(DDU_SAVETABERR); } else { /* Let the user know the table was successfully * added. */ sts_handler(4, DDU_ADDTAB, 2, &message1_desc, &message2_desc); } } return (status); } -- The gentle journey jars to stop. The drifting dream is done. The long gone goblins loom ahead; the deadly, that we thought were dead, stand waiting, every one. -- Walt Kelly Jim McKelvey mckelvey@fafnir.com
From: austin@cs.usask.ca (Alvin Austin) Newsgroups: comp.sys.next.programmer Subject: Sam Leffler TIFF library - Where is it? Date: 27 Jan 1993 18:04:13 GMT Organization: University of Saskatchewan Distribution: world Message-ID: <1k6iqtINNgnn@access.usask.ca> Keywords: Sam Leffler TIFF Group4 Can anyone point me to the location of the Sam Leffler TIFF library. I recently received the following note from a fellow at NeXT ... > Our fax file format is TIFF (multi-page, Group 4 > encoded). A lot of TIFF readers probably don't support > all of the TIFF features that we use, so some conversion > might be necessary. The Sam Leffler TIFF library > supports everything we use. .. > It's probably available somewhere using anonymous ftp. If you know where this stuff is archived, please email me. Thanks, Alvin --------- Alvin Austin austin@cs.USask.Ca University of Saskatchewan, Saskatoon, SK Canada
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: Pencom Software Seeks 10 NeXT Engineers (NEast, Midwest, West, Canada) Message-ID: <6541@rosie.NeXT.COM> Date: 27 Jan 93 19:50:23 GMT Sender: news@NeXT.COM Pencom Software Seeks 10 NeXT Engineers Location: North America (Northeast, Midwest, Texas, West, Canada) For more information, contact: Clint Tomlinson (Manager, NeXT Recruiting) Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512/346-6444 E-Mail: clint@pencom.com AUSTIN, TEXAS - January 27, 1993 - Pencom Software's team of NeXT engineers are specifically dedicated to serving both developers and end user organizations equipped with workstations and software from NeXT Computer, Incorporated. Already a NeXT-authorized systems integrator as well as a registered NeXT software developer, Pencom is expanding the service to capitalize on the growth NeXT has recently experienced. Pencom Software is a division of Pencom Systems Incorporated, a New York-based firm providing software engineering and manpower resources to Fortune 500 companies and leading computer firms since 1973. Currently the largest recruiting firm specializing in the UNIX/Open Systems market, Pencom employs over 500 people and maintains a large heterogeneous network of workstations including more than 70 NeXT machines. For more information, contact: Clint Tomlinson - Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512/346-6444 E-Mail: clint@pencom.com These positions below are available in the United States and Canada and require permanent residence and 2+ years industry experience: Texas 1- Senior Database Specialist * 5+ years database design and database applications development experience * 3 years application development experience in a UNIX environment * 2 years DBMS experience using an SQL-based DBMS * 1+ year applications experience in the NeXTSTEP environment * Strong background in proposal generation, system specification, third-party software evaluation, technology transfer, rapid prototyping * Experience with AppKit, DBKit, NeXTSTEP 3.0, OOD, C++, Objective-C * GUI and Porting experience Northeast 3 - Development Technical Leads * Strong NeXTSTEP applications development experience * Strong UNIX/C, database programming (Sybase, Oracle, Informix) * Experience with Objective-C, AppKit, Interface Builder * High level applications design and rapid prototyping in NeXT environment * Project/Technical lead experience * Good interpersonal skills (oral and written) * Technical support/OOP, OOD methodology transfer capabilities * 6 to 10 years computer industry experience 1 - System Administrator * NeXT/Sun/UNIX system administration experience * Network Management background * Objective-C or C++ experience * Background in a heterogeneous systems environment a must 1 - Software Engineer * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder experience * High level design, rapid prototyping in NeXT environment * Ability to work in a dynamic team environment * Strong Objective-C or C++ programming experience * 5 to 8 years experience West 1 - Senior Database Specialist * 5+ years database design and database applications development experience (strong ORACLE experience) * 3 years application development experience in a UNIX environment * 2 years DBMS experience using an SQL-based DBMS * 2+ year applications experience in the NeXTSTEP environment * Experience with AppKit, DBKit, NeXTSTEP 3.0, OOD, Objective-C Mid-West 1 - Senior Systems Engineer * Provide NeXT applications development and support assistance * Project Management/Project Lead experience * Very strong interpersonal skills, technical marketing experience a plus * Technology transfer of OOD, OOP methodologies * NeXTSTEP, Appkit, DBKit, Objective-C or C++ * 6 to 10 years experience Canada 2 - NeXT Contract Engineers * Strong NeXTSTEP applications development experience * Strong UNIX, Objective-C, C++ programming * AppKit, Interface Builder, DBKit experience required * Strong DBMS experience * Transfer of NeXT technology * Software training or teaching experience * 6 to 10 years experience Sorry, these positions require permanent residence and 2+ years industry experience...Thank you for your understanding... More positions available soon!!
Newsgroups: comp.sys.next.programmer From: massimo@cello.open.ch. (Massimo Arnoldi) Subject: OCR Object Message-ID: <1993Jan27.232519.21087@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH Date: Wed, 27 Jan 1993 23:25:19 GMT Does someone on the net knows about an OCR object, that means an object able to receive as input an NXImage and return a textual represntation ? Thank you very much in advance. -Massimo Massimo Arnoldi, Via Vignascia, 6982 Serocca d'Agno, Switzerland Tel: +4191 595539 Tel: +4191 595036 E-mail: massimo@open.ch (NeXT)
From: austin@cs.usask.ca (Alvin Austin) Newsgroups: comp.sys.next.programmer Subject: Re: Sam Leffler TIFF library - Where is it? Date: 27 Jan 1993 19:37:14 GMT Organization: University of Saskatchewan Distribution: world Message-ID: <1k6o9aINNjlr@access.usask.ca> References: <1k6iqtINNgnn@access.usask.ca> In article <1k6iqtINNgnn@access.usask.ca> austin@cs.usask.ca (Alvin Austin) writes: > Can anyone point me to the location of the Sam Leffler > TIFF library. ... Found! Thanks to Barry Lustig <barry@ictv.com> for the quick tip: > ftp to sgi.com. It is in /graphics/tiff. --------- Alvin Austin austin@cs.USask.Ca University of Saskatchewan, Saskatoon, SK Canada
From: tjb@strangeways.unh.edu (Thomas J. Baker) Newsgroups: comp.sys.next.programmer Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan27.002843.14043@strangeways.unh.edu> Date: 27 Jan 93 00:28:43 GMT References: <1993Jan26.201921.606@stone.com> Sender: tjb@strangeways.unh.edu (Thomas J. Baker) Organization: Baker Consulting - Dover, NH The color I'm looking for is not one that can be produced purely (i.e. without dithering) on a 16Bit display so you can't just use the mag glass. Look closely and see that there is more than one color in their blue. Take the 51,68,136 value and look at it in TwoBitGray (dwrite Edit NXWindowDepthLimit TwoBitGray). It doesn't show up as pure NX_DKGRAY. You can experiment and get several values that are close but none that seem to match perfectly. I was hoping some one actually knew what the color was. I ended up using is 65,79,169. It's a little lighter but will have to do. Thanks Anyway, tjb -- ===================================================================== | Thomas Baker Director of the New Hampshire NeXT User Group | | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu | | Durham, NH 03824 Voice: (603) 743-4987 | =====================================================================
From: mezzino@poincare.cl.uh.edu (Mike Mezzino) Newsgroups: comp.sys.next.programmer Subject: DBFormatter Example Date: 27 Jan 1993 20:47:28 GMT Organization: University of Houston Message-ID: <1k6sd0INNbi4@menudo.uh.edu> Does anyone have a good example of using DBFormatter to format the output to a column in a DBTableView? Something traditional like formatting a phone number or a date will would be fine. Mike Mezzino University of Houston - Clear Lake mezzino@poincare.cl.uh.edu
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: array of id's ? Palette'ized objects Message-ID: <1993Jan27.145413.20955@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <C1HrCt.M33@helios.physics.utoronto.ca> Distribution: usa Date: Wed, 27 Jan 93 14:54:13 GMT In article <C1HrCt.M33@helios.physics.utoronto.ca> mcgowan@emerald.physics.utoronto.ca (Patrick McGowan) writes: >>Maybe this is a dumb question, but I'd like to be able to access an array >>of id's (outlets) so that I can access the one of my choice depending on a >>selection made at run time....in this case I am presented a range of >>operations to perform on some data. These operations are listed in a >>PopUp. It would be easiest to use the index of the selected item to access >>an array element rather than a hard name like calc1, calc2, calc3...etc. >>Am I missing something, or is this not a common type of problem? >> >>Also, can a non-view object be palette'ized for use in IB? I'd like to be >>able to hook up one of the above calc objects using IB. ie. drag one off a >>palette into the .nib Objects well (instantiate) for graphical connection >>to other objects. >> >>Thanks in advance. Sounds like a job for a List (as in the List class in the Appkit). As far as palette'izing objects goes...me thinks someone reciently uploaded an example of doing just that to sonata (something like ObjectPalette.tar.Z ??) -- Ronald Pomeroy "The Internet is just a giant petri dish" Advanced Micro Devices CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: <Help: DSP Assembler> How to access D/A converter? Date: 28 Jan 1993 01:50:41 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1k7e5h$gv9@agate.berkeley.edu> References: <2B6728CE.6A0E@deneva.sdd.trw.com> In article <2B6728CE.6A0E@deneva.sdd.trw.com> kieffer@spf.trw.com (Robert Kieffer) writes: Hi folks, > >Does anyone have experience with accessing the D/A converters from within >a DSP assembly program? > >Basically, I'm writting a DSP assembly program to pipe a sine wave to the >speakers but I don't have any idea how to access the D/A converters. D/A converters have no direct connection from the DSP chip, in the way DSP program can access the D/A hardware. It is the sounddriver that keeps the D/A sample stream filled up. It is possible to set up DMA streams out of DSP and then to the D/A. A very good example code is in JeanLarouche collection of examples particularly DigEars example. Which gets sound data from DigitalEars and play it through D/A. Get JeanLarouche.tar.Z file from ccrma-ftp.stanford.edu in pub dir. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <82110@hydra.gatech.EDU> Date: 28 Jan 93 01:55:57 GMT References: <1993Jan26.201921.606@stone.com> <1993Jan27.002843.14043@strangeways.unh.edu> Sender: news@prism.gatech.EDU Organization: Georgia Institute of Technology In article <1993Jan27.002843.14043@strangeways.unh.edu> tjb@strangeways.unh.edu (Thomas J. Baker) writes: >The color I'm looking for is not one that can be produced purely (i.e. without >dithering) on a 16Bit display so you can't just use the mag glass. Look >closely and see that there is more than one color in their blue. There may be more going on here than meets the eye, so to speak :-). Look at the RTF code in: /usr/lib/NextStep/Resources/English.lproj/HelpTemplate/Index.rtfd/TXT.rtf Just guessing, but it looks to me like they encode both a color value (red56,green70,blue144) that the Text object will use to display certain text on a color device, AND a gray value (gray333) that it will use to display the same text on a gray-scale device. However, look at the tiff files in the subdirectory. These appear to be used to draw index rule lines of various sizes. All the ones I checked used (51,68,153) for the color and showed as pure NX_DKGRAY in 2-bit mode. (I think this is the same color on the 0->255 scale as was posted earlier by Izumi Ohzawa as (0.2,0.26667,0.6) on the 0->1 scale.) -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Newsgroups: comp.sys.next.programmer From: statman@stat.ufl.edu (charles d. kincaid) Subject: DSP questions Message-ID: <1993Jan27.221053.570@eng.ufl.edu> Sender: news@eng.ufl.edu (Usenet Diskhog System) Date: Wed, 27 Jan 93 22:10:53 GMT Hello, I am trying to do a convolution between a data array and a filter. I am looking into using the DSP for this (hey, it's there! why not!). However, I am having some problems getting into the right mindset. If some very kind person can help I would appreciate it very much. This is a small part of my work for my dissertation and it's bogging me down. First, the DL documentation says that when two vectors are multiplied the range of the data must be between -1 and 1. Does it matter how this is done? Can I just subtract the minimum and then divide by the range to get into -1 to 1? Then after the fft do I just multiply and add to get the right answer? I am using the fft.c code in the DSP folder of the Examples. It does an FFT, but not an inverse FFT. Can the inverse FFT be calculated using DSPAPfftr2a? As you can see, I am new to Fourier transforms. That may be part of my problem. I originally intended to use the Numerical Recipes in C book, but their method isn't working properly. Any help is greatly appreciated. Sincerely, charles d. kincaid statman@stat.ufl.edu ------------------------------------------------------------------------------ Dept. of Statistics \_ \_ \_\_\_\_\_ 'Damn fine coffee...and hot, too!'
Newsgroups: comp.sys.next.programmer From: hugh@ear.mit.edu (Hugh Secker-Walker) Subject: Re: Compiling Wizards? Try this one on for size. In-Reply-To: jtod_ltd@uhura.cc.rochester.edu's message of 24 Jan 93 03:08:40 GMT Message-ID: <HUGH.93Jan27231540@ear.mit.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology References: <1993Jan24.030840.10637@galileo.cc.rochester.edu> Date: Thu, 28 Jan 1993 04:15:40 GMT In article <1993Jan24.030840.10637@galileo.cc.rochester.edu> jtod_ltd@uhura.cc.rochester.edu (John "Jeep" Todd) writes: I have a question regarding a program called TERM099n and it's compilation and running behaviour on a NeXT. This program is actually several programs designed to enable a person without root access or "permission" to run several shells at once or even several Xwindows through ONE serial line all at once. (Simulates ports on a single serial line - does automatic data compression so it's reasonably fast even over a modem) [ stuff deleted ] This seems like an INCREDIBLY useful program, since it doesn't require all the hassle of SLIP and it runs without needing root permission right from the user's shell. If some Unix/NeXT wizard finds this program useful, or just wants to give a non-wizard a hand, please try and re-compile this program which is found at archive site sunsite.unc.edu in /pub/Linux/Incoming among many places (try an archie on it for the most recent version). Great! I've asked about and even outlined designs for just such a program for months now. But, I couldn't justify the time to develop it from scratch. Michael O'Reilly, has done most of the work, (I'll just have to get it running under NeXTstep ;-). It has Makefile options for NeXT, but doesn't appear to work yet. BTW, the latest version can be found in the directory tartarus.uwa.edu.au:/pub/oreillym/term/ They're up to term102, with new versions appearing every few days, so it may not be stable. But that hasn't stopped me. Hugh -- -- Hugh Secker-Walker INTERNET: hugh@ear-ache.mit.edu MIT, Research Lab of Electronics UUCP: mit-eddie!mit-athena!hugh
Newsgroups: comp.sys.next.programmer From: kieffer@spf.trw.com (Robert Kieffer) Subject: <Help: DSP Assembler> How to access D/A converter? Message-ID: <2B6728CE.6A0E@deneva.sdd.trw.com> Sender: news@deneva.sdd.trw.com Organization: TRW Inc., Redondo Beach, CA Date: Thu, 28 Jan 93 00:29:01 GMT Hi folks, Does anyone have experience with accessing the D/A converters from within a DSP assembly program? Basically, I'm writting a DSP assembly program to pipe a sine wave to the speakers but I don't have any idea how to access the D/A converters. I've played with the "dspbeep" program supplied with 2.0 (... and no longer present in 3.0). Does anyone have the assembler source code for this? Similiarly, any information about accessing the microphone input would be helpful as well. Any help on this or related subjects would be appreciated! Thanks, Robert Kieffer kieffer@spf.trw.com
From: x4y092@rick.cs.ubc.ca (Steven Kenneth Besler) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling Wizards? Try this one on for size. Followup-To: comp.sys.next.programmer Date: 27 Jan 1993 23:35:39 -0800 Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Sender: x4y092@rick.cs.ubc.ca Distribution: world Message-ID: <1k82cbINNrmp@gambier.rick.cs.ubc.ca> References: <1993Jan24.030840.10637@galileo.cc.rochester.edu> <HUGH.93Jan27231540@ear.mit.edu> Summary: term on NeXT Keywords: term Has anyone got term to work? Earlier today I got term102.tar.Z and compiled it both on the HPs at my school and on my NeXT. It doesn't seem to be working though... If you someone has been successful at this, please post detailed instructions, as they would be very useful to me and no doubt many others. Steve
Newsgroups: comp.sys.next.programmer From: bwebster@pages.com (Bruce F. Webster) Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan27.211500.1479@pages.com> Sender: bwebster@pages.com Organization: Pages Software Inc. References: <1k3072$j8n@agate.berkeley.edu> Date: Wed, 27 Jan 1993 21:15:00 GMT In article <1k3072$j8n@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi Ohzawa) writes: > In article <1993Jan26.010722.7575@strangeways.unh.edu> tjb@strangeways.unh.edu (Thomas J. Baker) > writes: > > > >Does anyone know the exact rgb values of the blue that NeXT uses in their help > >panels (like for Mail)? It has the quality of being blue on color machines and > >pure light grey on monochome ones. > > R=0.2000, G=0.26667, B=0.60000 > or > H=0.6388, S=0.66667, B=0.60000 > or > C=0.8000, M=0.73333, Y=0.40000, K=0 > As a more general solution, if you're wondering about the color of something, bring up a color panel (in Mail, it's in Format/Font/Colors...) grab the magnifying tool, move it over the color you want, then click. That color is now in the main well of the panel. Now use the settings subpanel to read the RGB (or CMYK or HSB) values of that color (remembering to normalize the value by dividing it by 255). So, for example, on my system, the shade of blue used in the text in Mail's Help panel is: R = 51, G = 68, B = 136 (which, by the way, gives me B = 0.5333 instead of 0.6000; is there something I'm doing wrong, Izumi?). ..bruce.. ------------------------------------------------------------------------------- Bruce F. Webster | No! I am not Bill Gates, nor would I want to be; Chief Technical Officer | I'd rather parse the fish than own the knife; Pages Software Inc | (Imagine! Having moby bux but chained bwebster@pages.com | to forty million lusers, what a life...) #import <pages/disclaimer.h> | -- Jeff Duntemann -------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: jmw@jmwnext.c3.lanl.gov (Jim White) Subject: How do I miniaturize another Apps window Message-ID: <1993Jan27.210547.27270@newshost.lanl.gov> Sender: news@newshost.lanl.gov Organization: Los Alamos National Lab Date: Wed, 27 Jan 1993 21:05:47 GMT I want to be able to miniaturize a window that belongs to another application. I know the application's name and (I think) the name of the window that I want to miniaturize. Any help would be greatly appreciated. Jim White Los Alamos National Lab
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: RGB Values of "NeXT Help Blue" -- NOT 12-bit pure ! Date: 28 Jan 1993 12:04:39 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1k8i4n$mhl@agate.berkeley.edu> References: <1993Jan27.211500.1479@pages.com> In article <1993Jan27.211500.1479@pages.com> bwebster@pages.com (Bruce F. Webster) writes: >In article <1k3072$j8n@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi >Ohzawa) writes: >> R=0.2000, G=0.26667, B=0.60000 >dividing it by 255). So, for example, on my system, the shade of blue used in >the text in Mail's Help panel is: R = 51, G = 68, B = 136 (which, by the way, >gives me B = 0.5333 instead of 0.6000; is there something I'm doing wrong, >Izumi?). ..bruce.. Actually, on a closer examination, Mail's Help Panel text color gets dithered on Color Station. There are actually two kinds of pixels (RGB) = (51, 68, 136) and (RGB) = (51, 68, 153). The former gives B=0.5333 and the latter gives 0.6. So, it's not a 12-bit pure color. You've got to pick the color on a NeXTdimension to get the correct information. But there are more pixels of the latter in a unit area, though :-> -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Programming DBTableView Message-ID: <1993Jan28.115841.11324@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Thu, 28 Jan 1993 11:58:41 GMT Two questions concerning DBTableView: In InterfaceBuilder I make a connection between my object and a DBTableVector. For various reasons I don't want to connect to the DBTableVector's DBTableView. So how do I get to the DBTableView? DBTableVector is not a view, so I cannot use [view superview]. (BTW when you connect from a DBModule to a DBTableView, the same thing happens). How can I set the class of DBTableView's table vectors? I couldn't find a method like setTableVectorClass:. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
From: mezzino@poincare.cl.uh.edu (Mike Mezzino) Newsgroups: comp.sys.next.programmer Subject: DBFormatter Example Date: 28 Jan 1993 14:57:29 GMT Organization: University of Houston Message-ID: <1k8s8pINN8n7@menudo.uh.edu> Keywords: BDKit Does anyone have a good example of using DBFormatter to format the output to a column in a DBTableView? Something traditional like formatting a phone number or a date will would be fine. Mike Mezzino University of Houston - Clear Lake mezzino@gauss.cl.uh.edu
Newsgroups: comp.sys.next.programmer From: archetyp@uxh.cso.uiuc.edu (Joseph R Pickert) Subject: Installer problem- Message-ID: <C1KLEr.KGr@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Date: Thu, 28 Jan 1993 15:23:15 GMT I built an installer pkg which which put files in /usr/include and /usr/man. Under 2.1, installing & removing the pkg works fine. Note that /usr/include and /usr/man are NOT links under 2.1. Under 3.0, installing seems to work ok, but when the package is removed (using the Installer "delete" button), it seems to also remove the /usr/include and /usr/man links (but not the directory linked to, thank god.) If the files are installed into the directorys and not through the links, everything works, but this won't work for a 2.1 installation. Is this a known problem or am I doing something wrong? Any help appreciated. Joe Pickert archetyp@uxh.cso.uiuc.edu
Newsgroups: comp.sys.next.programmer From: kieffer@spf.trw.com (Robert Kieffer) Subject: Re: RGB Values of "NeXT Help Blue" -- NOT 12-bit pure ! Message-ID: <2B6811EC.1252@deneva.sdd.trw.com> Sender: news@deneva.sdd.trw.com Organization: TRW Inc., Redondo Beach, CA References: <1k8i4n$mhl@agate.berkeley.edu> Date: Thu, 28 Jan 93 17:03:39 GMT In article <1k8i4n$mhl@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi Ohzawa) writes: > > Actually, on a closer examination, Mail's Help Panel text color gets > dithered on Color Station. There are actually two kinds of pixels > (RGB) = (51, 68, 136) and (RGB) = (51, 68, 153). The former gives > B=0.5333 and the latter gives 0.6. So, it's not a 12-bit pure color. > You've got to pick the color on a NeXTdimension to get the correct > information. > My NeXTDimension gives RGB = (51, 68, 152) FYI. Robert Kieffer kieffer@spf.trw.com
From: Gary_Miller@next.com (Gary Miller) Newsgroups: comp.sys.next.programmer Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <6664@rosie.NeXT.COM> Date: 28 Jan 93 17:26:09 GMT References: <1993Jan26.010722.7575@strangeways.unh.edu> Sender: news@NeXT.COM In article <1993Jan26.010722.7575@strangeways.unh.edu> tjb@strangeways.unh.edu (Thomas J. Baker) writes: > > Does anyone know the exact rgb values of the blue that NeXT uses in their help > panels (like for Mail)? It has the quality of being blue on color machines and > pure light grey on monochome ones. > There's no connection between the blue color's rgb values and the pure light gray that appears on a monochrome display. The .tiff files that produce these graphic elements each contain two separate TIFF images: # tiffutil -info 3PixelRule.tiff Directory at 0xca8 Image Width: 359 Image Length: 3 Resolution: 72, 72 Resolution Unit: pixels/inch Bits/Sample: 8 Compression Scheme: none Photometric Interpretation: RGB color Samples/Pixel: 3 Number of Strips: 1 Planar Configuration: Not planar Directory at 0xe62 Image Width: 359 Image Length: 3 Resolution: 72, 72 Resolution Unit: pixels/inch Bits/Sample: 2 Compression Scheme: none Photometric Interpretation: "min-is-black" Samples/Pixel: 1 Number of Strips: 1 Planar Configuration: Planar -Gary Miller (NeXT Publications)
Newsgroups: comp.sys.next.programmer From: iwelch@agsm.ucla.edu (Ivo Welch) Subject: Re: RGB... How to change all pixels Message-ID: <1993Jan28.101336.19480@mic.ucla.edu> Organization: UCLA, Anderson Graduate School Of Management References: <1993Jan26.010722.7575@strangeways.unh.edu> <1993Jan26.180924.278@stone.com> Date: 28 Jan 93 10:13:36 PST I'd like to add a value of 10 to all R values of a TIFF file. Or x to all [RGB] values. And a second utility to map all x values into a given y value, only for one color or for all three colors. Is there a utility that does this? /ivo welch
Newsgroups: comp.sys.next.programmer From: peter@tahiti.umhc.umn.edu (Peter Eisch) Subject: Re: RGB Values of "NeXT Help Blue" -- NOT 12-bit pure ! Message-ID: <C1KwHu.Huu@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <2B6811EC.1252@deneva.sdd.trw.com> Date: Thu, 28 Jan 1993 19:22:39 GMT In article <2B6811EC.1252@deneva.sdd.trw.com> kieffer@spf.trw.com (Robert Kieffer) writes: > In article <1k8i4n$mhl@agate.berkeley.edu> izumi@pinoko.berkeley.edu > (Izumi Ohzawa) writes: > > > > Actually, on a closer examination, Mail's Help Panel text color gets > > dithered on Color Station. There are actually two kinds of pixels > > (RGB) = (51, 68, 136) and (RGB) = (51, 68, 153). The former gives > > B=0.5333 and the latter gives 0.6. So, it's not a 12-bit pure color. > > You've got to pick the color on a NeXTdimension to get the correct > > information. > > > > My NeXTDimension gives RGB = (51, 68, 152) FYI. If this is about the little link diamond that is used in help, then read on. Otherwise this is of little use to you... I looked at the image resource that the shared image is composited from and it is a RGBA image that holds 4bits per sample. Thus, it will be the same whether it displayed on a station or dimension. Chances are that it was dithered when the image was 'cast in stone' as a tiff file. > Robert Kieffer > kieffer@spf.trw.com peter peter@tahiti.umhc.umn.edu
Newsgroups: comp.sys.next.programmer From: fud@leland.Stanford.EDU (Fred Lide Cheng) Subject: NXBrowser - How to use? Message-ID: <1993Jan28.193152.2606@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSG, Stanford University, CA 94305, USA Date: Thu, 28 Jan 93 19:31:52 GMT another question from a NeXT beginner. I'm trying to use an NXBrowser to display the titles of a list of objects. I want the program to start with nothing in the list and as the user adds objects, the NXBrowser should display their titles. According to the documentation, I'm supposed to create a matrix of NXBrowserCells and a delegate is supposed to fill in the cells whenever browser:fillmatrix:inColumn or something like that is called. The delegate should do this by sending the message addRow to the matrix. I
Newsgroups: comp.sys.next.programmer From: fud@leland.Stanford.EDU (Fred Lide Cheng) Subject: NXBrowser Message-ID: <1993Jan28.193706.2979@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSG, Stanford University, CA 94305, USA Date: Thu, 28 Jan 93 19:37:06 GMT Please disregard my previous posting, another question from a NeXT beginner. I'm trying to use an NXBrowser to display the titles of a list of objects. I want the program to start with nothing in the list and as the user adds objects, the NXBrowser should display their titles. But I'm kind of confused as to what exactly I'm supposed to set up (matrix,delegate, NXBrowserCells) and how to do this. Any help would be appreciated. Fred
Newsgroups: comp.sys.next.programmer From: cs4gp6aa@maccs.mcmaster.ca (Appavoo J) Subject: Diffs encountered compiling gcc2.3.3 Message-ID: <1993Jan28.193428.22303@mcshub.dcss.mcmaster.ca> Sender: usenet@mcshub.dcss.mcmaster.ca Organization: Department of Computer Science, McMaster University Date: Thu, 28 Jan 1993 19:34:28 GMT I encountered the following when running make compare after doing all stages of compiling gcc-2.3.3 on my non-turbo mono nextstation running 3.0 : rajaratnam[209] gmake compare for file in *.o; do \ tail +16c $file > tmp-foo1; \ tail +16c stage2/$file > tmp-foo2 2>/dev/null \ && (cmp tmp-foo1 tmp-foo2 || echo $file differs); \ done tmp-foo1 tmp-foo2 differ: char 433, line 1 c-parse.o differs tmp-foo1 tmp-foo2 differ: char 12357, line 111 cexp.o differs tmp-foo1 tmp-foo2 differ: char 425, line 1 enquire.o differs tmp-foo1 tmp-foo2 differ: char 365, line 4 getopt.o differs tmp-foo1 tmp-foo2 differ: char 297, line 1 getopt1.o differs tmp-foo1 tmp-foo2 differ: char 433, line 1 objc-parse.o differs tmp-foo1 tmp-foo2 differ: char 433, line 1 protoize.o differs tmp-foo1 tmp-foo2 differ: char 35769, line 163 unprotoize.o differs rm -f tmp-foo* The documentation states that any diffs indicate serious problems. Do I have anything to be worried about? Has anyone else had this happen? Any solutions? Meaning of diffs? Thanks for any info you may have. Jonathan Appavoo.
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: How do I tell a text Form to select the next text cell? Message-ID: <1993Jan28.160436.5987@afs.com> Sender: greg@afs.com References: <1993Jan26.160008.16406@cs.wisc.edu> Distribution: usa Date: Thu, 28 Jan 1993 16:04:36 GMT In article <1993Jan26.160008.16406@cs.wisc.edu> finton@barney.cs.wisc.edu (David J. Finton) writes: > > In article <C1BEJI.A3M@iat.holonet.net> cmumford@iat.holonet.net > (Chris Mumford) writes: > >Can you link the fields so that when the user hits the tab key they > >automatically get selected? I don't use Forms, but I do use Matrices (of which Form is a subclass). So I won't *guarantee* this works with Forms, but it should give you a running head start. You need to give the Matrix/Form a textDelegate, and then override the textDidEnd:whyEnd: method in the textDelegate object to get the field movement you want. Here's an example: ------ clip 'n' save, collect bonus points to win valuable prizes! ------ - textDidEnd:textObject endChar:(unsigned short)whyEnd { id matrix = [textObject superview]; id editCell = [matrix selectedCell]; int numRows, numCols; int row = [matrix selectedRow]; int col = [matrix selectedCol]; [editCell endEditing:textObject]; /* mandatory */ if (whyEnd == NX_RETURN) { if ([editCell action]) /* if cell has its own action, do it */ [editCell sendAction:[editCell action] to:[editCell target]]; else /* otherwise do matrix action */ [matrix sendAction:[matrix action] to:[matrix target]]; } [matrix getNumRows:&numRows numCols:&numCols]; if (whyEnd == NX_BACKTAB) { /* if at first cell, and matrix has previousText, select it */ if ((row == 0) && (col == 0)) && (previousText != nil)) { [previousText selectText:self]; return self; } /* else figure out where to go next */ else { col--; if (col < 0) { col = numCols - 1; row--; if (row < 0) row = numRows - 1; } } } else if (whyEnd != 0) { /* if at last cell, and matrix has nextText, select it */ if ((row == (numRows - 1)) && (col == (numCols - 1)) && (nextText != nil)) { [nextText selectText:self]; return self; } /* else figure out where to go next */ else { col++; if (col >= numCols) { col = 0; row++; if (row >= numRows) row = 0; } } } [matrix selectCellAt:row:col]; return self; } ---------------- This code snippet worth 50 bonus points. ---------------- Not so easy, eh? But (and here's the valuable part), once you figure this out, you can make Matrices do whatever you want. You can go down columns instead of across by reworking that row/col code above. If you get really tricky with a custom Text object, you can trap arrow sequences to jump in any user-specified direction. Go hog wild! Hope this helps. Write for more info if you're confused. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: ssfoste@zion (Sterling S. Foster) Subject: Mixing DBKit and Sybase DBLib Calls Message-ID: <1993Jan28.185807.16940@afterlife.ncsc.mil> Keywords: Sybase, DBKit, DBLib Sender: news@afterlife.ncsc.mil Organization: The Great Beyond Date: Thu, 28 Jan 1993 18:58:07 GMT Is it possible to mix DBKit and Sybase DBLib calls within an application? If so, does anyone have any small examples or hints on doing this. thanks in advance, Sterling Foster
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Those RGB color palettes Message-ID: <6671@rosie.NeXT.COM> Date: 29 Jan 93 02:49:18 GMT Sender: news@NeXT.COM I seem to have lost those 4096 color eps files I NewsGrazer-posted here a few months back, and a few people have asked for them. Could someone repost, make them available for ftp, or NeXT-mail them to me? I think they were called rgbPalette.eps and bgrPalette.eps AtDhVaAnNkCsE -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
From: Stephen_CCSI_Cincotta@cup.portal.com Newsgroups: comp.sys.next.programmer Subject: Re: Dynamic displays Message-ID: <74564@cup.portal.com> Date: Thu, 28 Jan 93 19:23:32 PST Organization: The Portal System (TM) References: <1993Jan26.221604.16174@jpl-devvax.jpl.nasa.gov> Check out SwitchBox palette on sonata. This should do what you want. -Sean_Hill@ccsi.com
Organization: Sponsored account, Chemical Engineering, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <EfO4ANm00WB80p_7R5@andrew.cmu.edu> Date: Thu, 28 Jan 1993 15:33:29 -0500 From: Tod McQuillin <tm8t+@andrew.cmu.edu> Subject: Re: Compiling Wizards? Try this one on for size. In-Reply-To: <1k82cbINNrmp@gambier.rick.cs.ubc.ca> References: <1993Jan24.030840.10637@galileo.cc.rochester.edu> <HUGH.93Jan27231540@ear.mit.edu> <1k82cbINNrmp@gambier.rick.cs.ubc.ca> x4y092@rick.cs.ubc.ca (Steven Kenneth Besler) writes: > Has anyone got term to work? > > Earlier today I got term102.tar.Z and compiled it both on the > HPs at my school and on my NeXT. It doesn't seem to be working though... > Why not just use GNU iscreen?
Newsgroups: comp.sys.next.programmer From: tjb@strangeways.unh.edu (Thomas J. Baker) Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan28.123355.6768@strangeways.unh.edu> Sender: tjb@strangeways.unh.edu (Thomas J. Baker) Organization: Baker Consulting - Dover, NH References: <82110@hydra.gatech.EDU> Date: Thu, 28 Jan 1993 12:33:55 GMT In article <82110@hydra.gatech.EDU> cc100aa@xray.gatech.edu (Ray Spalding) writes: > There may be more going on here than meets the eye, so to speak :-). > > Look at the RTF code in: > /usr/lib/NextStep/Resources/English.lproj/HelpTemplate/Index.rtfd/TXT.rtf > > Just guessing, but it looks to me like they encode both a color > value (red56,green70,blue144) that the Text object will use to > display certain text on a color device, AND a gray value (gray333) > that it will use to display the same text on a gray-scale device. > > -- > Ray Spalding, Office of Information Technology > Georgia Institute of Technology, Atlanta Georgia, 30332-0715 > Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted) It seems we're getting close. I know the tiff's for the lines have both 24bit and 2bit color representations in them. It seems like the text does too. But does anyone know how to do this? The following bit of RTF is what happens in the NeXT Help File: {\colortbl;\red0\green0\blue0;\red56\green70\blue144;\red85\green85\blue85;} \pard\tx720\tx1080\tx1440\tx1800\tx2160\tx2520\tx2880\tx3240\tx3600\tx3960\tx43 2 0\tx4680\tx5040\tx5400\tx5760\tx6120\tx6480\tx6840\tx7200\tx7560\f0\b0\i0\ulnon e \fs16\li360\fc1\cf1 \ \b\fs36 Index \i \b0\i0\fs20\gray333\fc2\cf2 (Click a topic to learn about it) \b\fs36\gray0\fc1\cf1 \f1\b0\fs16 \ Both "Index" and "(Click a topic to learn about it)" are displayed in either blue or dark gray depending on the window depth. Wouldn't it be great if you could have different depth representations of an RTF file in Edit and be able to switch between them, like in IconBuilder? Anyway, if anyone knows how to generate this RTF (besides by hand) I'd like to know. Thanks, tjb -- ===================================================================== | Thomas Baker Director of the New Hampshire NeXT User Group | | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu | | Durham, NH 03824 Voice: (603) 743-4987 | =====================================================================
Newsgroups: comp.sys.next.programmer From: mshaler@tdocad.sps.mot.com (Michael Shaler) Subject: Re: array of id's ? Palette'ized objects References: <1993Jan27.145413.20955@dvorak.amd.com> Date: Fri, 29 Jan 1993 03:27:59 GMT Distribution: usa Organization: Nippon Motorola Ltd., Tokyo, Japan Sender: news@tkymail.sps.mot.com Message-ID: <1993Jan29.032759.10974@tkymail.sps.mot.com> Ron Pomeroy x(Coop) writes Sounds like a job for a List (as in the List class in the Appkit). As far as palette'izing objects goes...me thinks someone reciently uploaded an example of doing just that to sonata (something like ObjectPalette.tar.Z ??) This is exactly the stuff and it works, or rather, It Just Works... -- Ronald Pomeroy "The Internet is just a giant petri dish" Advanced Micro Devices CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred) Well, maybe a virtual giant petri dish... Gaia digitized? --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 voice +813 3440 0033 fax
Newsgroups: comp.sys.next.programmer From: ploeger@aplki.toppoint.de (Andreas Ploeger) Subject: How to use categories with IB Message-ID: <1993Jan29.030831.8178@aplki.toppoint.de> Keywords: category, interface builder Sender: ploeger@aplki.toppoint.de Organization: Andreas Ploeger Date: Fri, 29 Jan 93 03:08:31 GMT Hi Everyone, I had a class (let's call it X) which got bigger and bigger, so I finally decided to split it's source up into two files: X.m and XUI.m, where XUI.m contains all the user interface related methods and X.m the rest. XUI.m contains "@implementation X(UserInterface)" which declares all the methods to be category methods for X. For categories refer to : NextDev/Concepts/ObjectiveC.rtfd. All outlets are defined in X.h because a category can't define any variables. How does this work with IB? After some experimenting I found the following procedure: 1. Parse X.h. This loads all the outlets and methods from X.h. 2. Parse XUI.h. This loads the methods from XUI.h, overriding all methods from X.h which doesn't matter because I put all the user interface related methods in XUI. The outlets from step 1. *are not overridden* which is really cool. Because of this feature of IB I didn't have any problems splitting up my source code. NeXT are you listening? Is this just luck or an encouraged procedure? Will this be supported in future versions of IB? Please! -------------------------------------------------------------------- Andreas Ploeger E-Mail: ploeger@tpki.toppoint.de Kiel University Phone: (49) 431 597 1757 Clinic for Pediatric Cardiology FAX: (49) 431 597 1828 Schwanenweg 20, 2300 Kiel 1, Germany *** NeXT Mail welcome *** -- -------------------------------------------------------------------- Andreas Ploeger E-Mail: ploeger@tpki.toppoint.de
Newsgroups: comp.sys.next.programmer From: howie@cs.uiuc.edu (Howard P Iii Black) Subject: Linkin shell scripts to IB Message-ID: <C1LMAK.Bpw@cs.uiuc.edu> Sender: news@cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Date: Fri, 29 Jan 1993 04:39:56 GMT
Newsgroups: comp.sys.next.programmer From: gus@rrz.de (Guido Schoepp) Subject: Subprojects/Bundles Message-ID: <1993Jan27.113428.937@rrz.de> Sender: gus@rrz.de Organization: Rhein-Rechenzentrum GmbH, Koblenz, Germany Date: Wed, 27 Jan 93 11:34:28 GMT Hi. Is anybody out there having a documentation about how to work with subprojects and/or bundles in ProjectBuilder? Any help appreciated. Thanks in advance Guido -- |||| |||| |||| Guido Schoepp |||| |||| / NeXT Registered Developer || \ || \ |||| gus@rrz.de
Newsgroups: comp.sys.next.programmer From: gus@rrz.de (Guido Schoepp) Subject: IconBuilder Message-ID: <1993Jan27.113617.994@rrz.de> Sender: gus@rrz.de Organization: Rhein-Rechenzentrum GmbH, Koblenz, Germany Date: Wed, 27 Jan 93 11:36:17 GMT Hi. A while ago some people asked for a documentation about how to extend IconBuilder. Are there any new hints? Guido -- |||| |||| |||| Guido Schoepp |||| |||| / NeXT Registered Developer || \ || \ |||| gus@rrz.de
From: x4y092@rick.cs.ubc.ca (Steven Kenneth Besler) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling Wizards? Try this one on for size. Followup-To: comp.sys.next.programmer Date: 29 Jan 1993 00:06:20 -0800 Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Sender: x4y092@rick.cs.ubc.ca Distribution: world Message-ID: <1kaohsINNplh@gambier.rick.cs.ubc.ca> References: <HUGH.93Jan27231540@ear.mit.edu> <1k82cbINNrmp@gambier.rick.cs.ubc.ca> <EfO4ANm00WB80p_7R5@andrew.cmu.edu> Summary: What is iscreen Keywords: term iscreen In article <EfO4ANm00WB80p_7R5@andrew.cmu.edu> Tod McQuillin <tm8t+@andrew.cmu.edu> writes: >x4y092@rick.cs.ubc.ca (Steven Kenneth Besler) writes: >> Has anyone got term to work? >> >> Earlier today I got term102.tar.Z and compiled it both on the >> HPs at my school and on my NeXT. It doesn't seem to be working though... >> > >Why not just use GNU iscreen? Well, firstly since I don't know what GNU iscreen is or what it does. Perhaps you can fill us all in. If it does the same thing as term, then I am interested. Please post an ftp site and some info on it. Steve Besler
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Dynamic displays Message-ID: <1993Jan28.131530.193@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Jan26.221604.16174@jpl-devvax.jpl.nasa.gov> Date: Thu, 28 Jan 93 13:15:30 GMT In article <1993Jan26.221604.16174@jpl-devvax.jpl.nasa.gov> kathys@ursulajpl.nasa.gov (Kathy Sturdevant) writes: > I am interested in having a dynamic area in my user interface. Based on information given > by the user in one area, I want to bring up a certain configuration of text objects. Currently, > I have two possible configurations. I've looked around, but am not quite sure what to do. > Would I create two different custom views, then create and display the appropriate one? > > Keep in mind, I am not creating a separate window--just filling in an open area on the current window. > > I would appreciate suggestions, and pointers to documentation/examples on the NeXT. > > Thanks in advance. > > kathy sturdevant > > kathys@jpl-devvax.jpl.nasa.gov The easiest way is to have 2 nib files that contain the alternate views in a box for example. Then load the desired nib, move the box from the nib window to the real window (by changing it's super view and frame), then dispose of the remaining nib objects. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: AdaptorDocu Message-ID: <1993Jan29.103441.639@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Fri, 29 Jan 1993 10:34:41 GMT Recently, I uploaded documentation for writing DBKit Adaptors on various ftp-sites. As just somebody asked me to mail him the documentation I think I should tell you the following: This documentation is not available any more (from me). Some days ago Margaret Chan <Margaret_Chan@NeXT.COM> asked me to remove these files. I did it, but wanted to hear the reasons. Here they are: ========================================================================== Just to clarify why I said what I did, is that I have lots of history that suggests that distributing private API is not a good thing. As many disclaimers as you give to people, they always come back and say "my application broke" when in fact we do change that API. That's why we try to ensure that only people who really, really, really need it get it, ie. when there is no work around. Furthermore, when we do change this private API we think that it is reasonable for us to let people who relied on it know that we are doing so, so they have time to change their apps. Finally, regardless of what your personal opinions are, you must realize that this is NeXT's position, and if you wish to get such documentation in the future, we would appreciate it if you did not distribute it widely. ========================================================================== I totally agree with Margaret, except in this special case. I think missing documentation for writing DBKit Adaptors is really a major bug (first you cannot write an adaptor, further my motivation for getting this docu is to get a deeper understanding of DBKit). On the other hand I think they just didn't finish DBKit, but 3.0 had to go out. So we can hopefully wait for 3.1 and a fully working and documented DBKit. Nevertheless if you want to receive a copy of these files, mail to NeXT (I hope you can convince them to give it to YOU). -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Re: Handling RTFD Files with Objective-C Message-ID: <1993Jan29.142829.23836@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory References: <1993Jan26.140154.24592@news.lrz-muenchen.de> Date: Fri, 29 Jan 1993 14:28:29 GMT In article <1993Jan26.140154.24592@news.lrz-muenchen.de> t8221az@next3.lrz-muenchen.de () writes: > > Who has experience with or examples for the Objective-C methods: > > readRTFDFrom: > saveRTFDTo: > openRTFDSelectionTo: > etc. > > ?? > I've written a client/server code that uses these. What do you want? My only problem has been in archiving the data obtained from them. I've been able to share the data between the server and client okay. - - - - - - - - - J. W. Wooten
From: ambi@it-next2.bu.edu (Michael Amirault) Newsgroups: comp.sys.next.programmer Subject: Edit and Emacs Message-ID: <108749@bu.edu> Date: 29 Jan 93 14:26:09 GMT Sender: news@bu.edu I'de really like to use Edit to write some code but there is one feature that I can do in Emacs that I can't seem to do in Edit. This feature is to be able to go to any line and press 'TAB' and have the line auto-indent. I don't even know what this command is called (auto- indentation??) Anyway, i have found this feature of Emacs to be extremely useful but haven't found a way to do it in Edit. Edit has some sort of auto- indentation, but it doesn't appear to be the same feature as found in emacs. Does anybody know how to do this in Edit? Or does anyone have a definitive answer on whether or not it *can* be done in Edit? Thanks, Mike
Newsgroups: comp.sys.next.programmer From: ploeger@aplki.toppoint.de (Andreas Ploeger) Subject: Does the appkit copy strings? Message-ID: <1993Jan29.224025.573@aplki.toppoint.de> Keywords: appkit, setTitle, setTitleNoCopy Sender: ploeger@aplki.toppoint.de Organization: Andreas Ploeger Date: Fri, 29 Jan 93 22:40:25 GMT Hi everyone, Is it safe to assume that appkit's methods that take a (const char*) parameter will make their own copy of that string and don't just memorize it's address? I found out that e.g. Window's setTitle does make a copy, so instead of { char buffer[64]; sprintf(buffer, ...); [myWindow setTitle: NXCopyStringBuffer(buffer)]; } I can write { char buffer[64]; sprintf(buffer, ...); [myWindow setTitle: buffer]; } In some Classes you even have two methods (setTitle and setTitleNoCopy) which is another indication that setTitle would make it's own copy. Is this covered in NeXT's documentation anywhere? -- -------------------------------------------------------------------- Andreas Ploeger E-Mail: ploeger@tpki.toppoint.de
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: array of id's ? Palette'ized objects Message-ID: <1993Jan29.200059.20244@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <1993Jan29.032759.10974@tkymail.sps.mot.com> Distribution: usa Date: Fri, 29 Jan 93 20:00:59 GMT In article <1993Jan29.032759.10974@tkymail.sps.mot.com> mshaler@tdocad.sps.mot.com (Michael Shaler) writes: >>Ron Pomeroy x(Coop) writes >> >> Sounds like a job for a List (as in the List class in the Appkit). >> >> As far as palette'izing objects goes...me thinks someone reciently uploaded an example of doing just that to sonata (something like >> ObjectPalette.tar.Z ??) >> >>This is exactly the stuff and it works, or rather, It Just Works... >> -- >> Ronald Pomeroy "The Internet is just a giant petri dish" >> Advanced Micro Devices >> CAM Applications Group >> rpomeroy@aunext1.amd.com (NeXTmail preferred) >> >>Well, maybe a virtual giant petri dish... Gaia digitized? >> Glad it helped. What's Gaia ? -- Ronald Pomeroy "The Internet is just a giant virtual petri dish" Advanced Micro Devices CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
Newsgroups: comp.sys.next.programmer From: zulu!errol (Errol Ginsberg) Subject: Find panel algorithm/source code Message-ID: <1993Jan19.225416.9368@ridgeback.com> Sender: errol@ridgeback.com (Errol) Organization: Ridgeback Solutions Date: Tue, 19 Jan 1993 22:54:16 GMT To all you knowledgeable netters: We are developing an application incorporating a find panel, similar to the one used by Terminal. 3.0 has a Text method called findText:ignoreCase:backwards:wrap: which does what we want: finding and highlighting a section of a Text object. Unfortunately, we are developing our application to run on 2.1 and 3.0. Does anybody know of any efficient algorithm or sample code for executing a find on a Text object in 2.1? Can anyone point us to the right place on one of the ftp servers where a reusable source may be found so that we do not need to reinvent the wheel. -- Regards, Errol Ginsberg Ridgeback Solutions Tel: 310/456-6094 Fax: 310/456-9715 -- Regards, Errol Ginsberg Ridgeback Solutions SNMP Network Management for NeXT
From: bbehlen@soda.berkeley.edu (Brian Behlendorf (Vitamin B)) Newsgroups: comp.sys.next.programmer,comp.sys.next Subject: Cannot find certain ANSI C header files Date: 29 Jan 1993 22:16:13 GMT Organization: U.C. Berkeley, CS Undergraduate Association Distribution: world Message-ID: <1kcabd$jt4@agate.berkeley.edu> I'm trying to compile a few programs on the NeXT (on Nextstep 3) that were previously working perfectly on both a DecStation and an IBM RISC 6000 under AIX. When I ask it to compile it says it cannot find "values.h" and "unistd.h", both of which are includes which I believe are ANSI C. I searched though the developer packages for those files but could not find them. Could anyone tell me where they are if they are on the standard release CD-ROM, and if it's not where I could get them. Many thanks, and if I'm a clueless newbie spare me too much flamage :) Brian "All this talk about what I'd do for a million dollars is kinda pointless. I'll do everything, for free." - Dana Watanabe
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Those RGB color palettes Message-ID: <6676@rosie.NeXT.COM> Date: 29 Jan 93 22:28:40 GMT References: <6671@rosie.NeXT.COM> Sender: news@NeXT.COM I got those color palettes back, thanks everybody! -sam
From: basiji@stein.u.washington.edu (David Basiji) Newsgroups: comp.sys.next.programmer Subject: PD/shareware OO Data Structures? Date: 29 Jan 1993 22:36:27 GMT Organization: University of Washington Message-ID: <1kcbhbINNd2e@shelley.u.washington.edu> So does anyone know where I can find some prewritten data structures (trees, hash tables, etc.) or do I have to write them myself and negate 90% of the benefit of these reuseable objects? Thanks, David Basiji UW Bioengineering/MBT NeRD #3762
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: Announcing NeXTSTEP ObjectWare Catalog (Submissions due: February 8) Message-ID: <6678@rosie.NeXT.COM> Date: 29 Jan 93 22:34:49 GMT Sender: news@NeXT.COM Call for Submissions - 1993 NeXTSTEP OBJECTWARE CATALOG Submission deadline is FEBRUARY 8, 1993. NeXT Computer is producing a completely new version of the ObjectWare Catalog. The Catalog will be distributed throughout the year to NeXT customers worldwide, and NeXT would like to have all current NeXTSTEP objects (commercial, shareware and public domain) included in the Catalog. The unveiling of the new catalog will be at NeXTWORLD Expo '93 in May. Although this does not allow you as much time to prepare your submissions as you might have liked, NeXT is certain that the catalog is a real opportunity to show the Object and NeXT world what you have produced, and we urge you to participate. Enclosed below is an entry submission form for the ObjectWare catalog. Please note the submission deadline is FEBRUARY 8. NeXTWORLD Expo '93 is scheduled for May 25-27, in San Francisco, California. More than 10,000 people are expected to attend the Expo, from commercial, government, and educational organizations worldwide. As NeXTSTEP is the premier platform for delivering the benefits of object-oriented technology, the exhibition floor will have a special section devoted entirely to objects. Floorspace, including the "ObjectWare Pavilion," which runs throughout the show floor, is still available. If you are interested in exhibiting, contact Matthew Schmuck or Charlie Hurth at Digital Consulting, Inc. They may be reached at: (408) 280-6778 voice (408) 280-6779 fax ____________________________________________________________________ Objectware Catalog Submission Form (Deadline for submitting entries is February 8) Please follow these instructions carefully. - Each product must have its own separate and complete submission (i.e., don't include multiple products in the same submission). - Submissions must be in electronic form (i.e., on floppies, ODs, or you may send them by electronic mail). - Type everything exactly as you would like it to appear in the catalog. - Use Edit as your word processor. - Don't use bold or italic typeface. - Don't format your text with multiple columns. Each submission must include the following: 1. Company, institution name 2. Company, institution phone number(s) - You must include a non-800 number (for international callers). 3. Company, institution fax number(s) - Add "fax" after the number. For example: (123) 456-7890 fax. - You must include a non-800 number (for international callers). 4. E-mail address for product information (optional) 5. Product name 6. List price 7. Product availability - Type "Shipping now" or appropriate quarter. 8. Product description in 100-150 words - Include a general summary of the methods implemented by the class. - Insert a blank line between paragraphs. - Include trademark symbols when you mention trademarked products or companies. 9. Trademark information - NeXT publishes trademark information for all products mentioned in the catalog. Therefore, you must include appropriate trademark symbols for your products as well as for ancillary products mentioned in your product description. Trademark symbols will appear as part of your product description; other trademark information will appear where appropriate. - You do not need to provide trademark symbols for NeXT products. 10. Is support available? 11. Is documentation available? 12. Is source code available? 13. Is the object on a palette? 14. Product icon (optional) 15. Graphic that will give the user a sense of where the product fits in the class hierarchy (optional) 16. Name of person preparing this catalog submission - This will not appear in the catalog. 17. Phone number, fax number, and e-mail address for person preparing this catalog submission if different from questions 2-4 (above) - This will not appear in the catalog. Send your submissions to: Developer Programs Attn: ObjectWare Catalog NeXT Computer, Inc 900 Chesapeake Drive Redwood City, CA 94063 E-mail: developer_programs@next.com Entitle your e-mail "ObjectWare Catalog Submission" NeXT will confirm receipt of your materials. If you have not heard from NeXT within 14 days after you mailed your materials, call (415) 780-3712. All submissions become property of NeXT Computer, Inc. NeXT reserves the right to edit all submissions.
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.announce,ualberta.announce From: kenny@niagara.ucs.ualberta.ca (Kenny Leung) Subject: NeXTEdge Developer's Camp to be held in Edmonton Message-ID: <1993Jan29.151147.24615@cubetech.com> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada Date: Fri, 29 Jan 1993 15:11:47 GMT A NeXTEdge Developer's camp will be held at the University of Alberta Campus in Edmonton on February 22. The course lasts for 4 Days and costs $1800. It's not easy to get the guys to come up here from California, so take advantage of it while you can. We can also help you in finding suitable accomodations here. Just contact me at the address below. -- ------------------------------------------------------- Kenny Leung Campus Consultant University of Alberta kenny@niagara.ucs.ualberta.ca audix x5537
From: greg@afs.com (Gregory H. Anderson) Newsgroups: comp.sys.next.programmer Subject: Re: array of id's ? Palette'ized objects Message-ID: <1993Jan29.160043.8564@afs.com> Date: 29 Jan 93 16:00:43 GMT References: <C1HrCt.M33@helios.physics.utoronto.ca> Sender: greg@afs.com In article <C1HrCt.M33@helios.physics.utoronto.ca> mcgowan@emerald.physics.utoronto.ca (Patrick McGowan) writes: > I'd like to be able to access an array of id's (outlets) so that I can > access the one of my choice depending on a selection made at run > time....in this case I am presented a range of operations to perform on > some data. These operations are listed in a PopUp. It would be easiest > to use the index of the selected item to access > an array element rather than a hard name like calc1, calc2, calc3...etc. > Am I missing something, or is this not a common type of problem? It is very common, but usually you implement these kinds of problems with a Matrix, so you're not limited to the *expected* size, which always causes problems down the road when old maximums are exceeded by new requirements. (Anyone else ever had this problem, or is it just me? I thought so.) Then you map to the cells of the Matrix using -cellAt::, which can get as big as you want. You can use arrays of id's if you really want to, but it limits how you can access them. It's perfectly legal to include this statement in an @interface section: @interface foo:bar { id multipleChoice[10]; } and then *programmatically* attach and use the array. You just can't hook up outlets in this form inside IB. IB follows some very specific rules about what it will parse out of an .h file, and arrays don't work. > Also, can a non-view object be palette'ized for use in IB? I'd like to > be able to hook up one of the above calc objects using IB. ie. drag one > off a palette into the .nib Objects well (instantiate) for graphical > connection to other objects. IB 3.0 can do this, and it's documented. Not true for earlier versions. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
From: colin@agincourt.bsd.uchicago.edu (& Garrett) Newsgroups: comp.sys.next.programmer Subject: Re: Mixing DBKit and Sybase DBLib Calls Message-ID: <1993Jan29.173212.13950@midway.uchicago.edu> Date: 29 Jan 93 17:32:12 GMT References: <1993Jan28.185807.16940@afterlife.ncsc.mil> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Sorry everyone; this guy's email (and a number of variations on the address) bounced. In article <1993Jan28.185807.16940@afterlife.ncsc.mil> ssfoste@zion (Sterling S. Foster) writes: > > Is it possible to mix DBKit and Sybase DBLib calls within an application? > If so, does anyone have any small examples or hints on doing this. > > thanks in advance, > > Sterling Foster I've used DBKit and dblibrary techniques in the same app, but it really ends up being rather distinct. The thing is, you can't get the dbprocess pointer out of the DBDatabase object, so you're never going to be able to use dblibrary calls on the same connection that your DBKit operations are using. I just got my own connection to do dblibrary work with. If you use DBBinder techniques to send through your own sql on the other hand, you can do some of the stuff you might want dblibrary for, and there you are using the same connection. Hope this helps, Colin
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: RTF/RTFD source files (was Re: Silly NeXT question from user who should know the answer) Message-ID: <1993Jan29.180257.254@afs.com> Sender: michael@afs.com References: <1k972pINNi0i@morrow.stanford.edu> Date: Fri, 29 Jan 1993 18:02:57 GMT In article <1k972pINNi0i@morrow.stanford.edu> Christopher_Lane@Med.Stanford.EDU writes: > In article <1993Jan26.232845.12294@cs.yale.edu> nathan@laplace.biology.yale.edu > writes: > > How can a user "inform" the FileViewer that files with certain > > extensions should have a corresponding app selected as the default > > launch app? It's easy enough to select an app already displayed in the > > Tools panel of the inspector, but how does one add a new choice? Dragging > > an icon into that area doesn't seem to work (it should!)... > > This is partially what the old 'Unknown' application does, though I've not > posted a 3.0 version of it since it's original function keeps getting reduced > as NeXT fixes/changes things. It basically is a remapping app that assigns > icons and owners to file types that don't have them don't have the right ones. > > Unfortunately, Unknown or any of the various 'edit the iconheader' suggestions > are not guaranteed to work as it also depends on how the target application is > implemented. It has to both accept files with the appropriate method and not > be overly picky about filtering out extensions it doesn't recognize. (Some > do reject based on extension even though the content might have been OK.) > > - Christopher Speaking of recognizing contents vs. recognizing extensions, Edit should recognize RTFD files (that is, file packages) even if they don't have the .rtfd extension. Why? Why not? But we have a good reason for it anyway: We have (thanks to Charles Lloyd at Wiltel) a C precompiler that can handle RTF source files. Basically, it strips out the RTF encoding, leaving behind the plain text, then preprocesses as usual. This works perfectly with PB, Edit, GDB, etc. with respect to line numbers and other such stuff. Because Edit recognizes RTF content rather than a .rtf extension, the files can be .[hm] like normal sources. We plan to use this for 100% self-documenting header files, which would take the place of separate documents like NeXT uses now for class documentation. They look just like NeXT class documentation, except that sections like "Constants and Defined Types" tend to be moved to the top of the file and there are occasional comment delimiters. It's way cool. Not so for RTFD. Take any RTFD file, file.rtfd, and change the extension to anything, say file.h. Now, double click it in FileViewer. What you get in the Edit window is the directory file contents, not the RTFD. Thus, RTFD files will not work the way RTF files do as described above. So, you're SOL if your self-documenting source file wants to be RTFD. It's FUBAR. What would it take to get Edit (or any other utility) to recognize RTFD regardless of file extension? I can't imagine it's much, and I think it's justified for the above reasons alone. Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
From: shiffman@ssrg-next-2 (Smadar Shiffman) Newsgroups: comp.sys.next.programmer Subject: Problems with initializing NXBitmapImageRep Date: 30 Jan 1993 07:01:19 GMT Organization: Stanford University Message-ID: <1kd93vINN1ih@morrow.stanford.edu> I am trying to initialize a NXBitmapImageRep object so that I can later read a 16 bit grayscale 512X512 raw image into it, and I get the following error message: Inconsistent set of values to create NXBitmapImageRep Here is the initailization sequence: if (image != NULL) [image free]; image = [NXBitmapImageRep alloc]; [image initData:NULL pixelsWide:512 pixelsHigh:512 bitsPerSample:16 samplesPerPixel:1 hasAlpha:NO isPlanar:NO colorSpace:NX_OneIsWhiteColorSpace bytesPerRow:1024 bitsPerPixel:16]; Might you have a clue for what is wrong? Thanks, Smadar
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Consistency & UI Improvements Message-ID: <1993Jan29.235346.1353@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Fri, 29 Jan 93 23:53:46 GMT Please see my post in comp.sys.next.advocacy under the same "Subject" heading.
From: cjp+@pitt.edu (Casimir J Palowitch) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software Subject: Natural Language or AI Objects for NeXTStep? Message-ID: <2823@blue.cis.pitt.edu> Date: 30 Jan 93 17:18:06 GMT Sender: news+@pitt.edu Followup-To: comp.sys.next.programmer Organization: University of Pittsburgh Originator: cjp@unixd1.cis.pitt.edu I'm beginning a project combining an intelligent tutoring system with a expert-system/knowledge rep. schema of a particular domain of knowledge. Does anyone know of available objects that might apply here or previous NeXTStep work in this area? Any pointers would be helpful. Casey Palowitch cjp+@pitt.edu -- ** Casimir J. (Casey) Palowitch - In 1996, there will be two kinds ** ** Slavic Cataloger - of computer professional : those ** ** U. of Pgh. Library Systems - who know NeXT, and those ** ** cjp+@pitt.edu - without Jobs. **
Newsgroups: comp.sys.next.programmer From: glippert@dale.cts.com (George Lippert) Subject: Re: Franz Allegro Common Lisp 4.1 for NeXT now available Message-ID: <C1nrxu.1H7@dale.cts.com> Sender: news@dale.cts.com (USENET News Account) Organization: Titan Linkabit Corporation References: <1993Jan28.230741.7785@csis.dit.csiro.au> Date: Sat, 30 Jan 1993 08:37:03 GMT Peter Milne (pwm@csis.dit.csiro.au) wrote: > I thought Lisp users on the NeXT might be interested to know that I just > received a copy of Franz's Allegro Common Lisp version 4.1 for the NeXT. Yes, Franz tells me that it is in repro now and will be shipping next week. But the price is $2000 regular, $1000 student. And there is no upgrade path for current NeXT users. So I can't afford it. BTW, Venue is ready to ship thier Lisp product, Medley. Has anyone experience with that product on another platform or a beta version on the NeXT? The review in IEEE Expert Magazine of August 1992 looked good. -- George A. Lippert work: glippert@dale.cts.com Titan Satellite Systems home: zucchini!glippert@dale.cts.com (NeXTmail ok) San Diego, CA ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: mark@whosnext.rmNUG.ORG (Mark Nathan) Subject: Questions about saving Objective-C objects Message-ID: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Sender: mark@nugget.rmNUG.ORG Organization: Rocky Mountain NeXT Users' Group Date: Fri, 29 Jan 1993 18:52:05 GMT Question 1: I'm having trouble saving a list object to a file. The content of the list is 23 Textfield objects, and I know that they were put in the list correctly. The code I use to save the object looks like: NXTypedStream *typedStream; if (filename==0) return [self saveAs: sender]; [window setTitle: "Saving..."]; typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); [attributeList write: typedStream]; NXCloseTypedStream(typedStream); But when I execute this I get an error: Typed streams library error: NXWriteObjectReference: NXWriteRootObject has not been previously done What does this mean? Question 2: Also, when saving a 'char *' to file, is it customary to first put it in to a text object or best to just do it the "C" way (with FILE * and fprintf)? --- Mark Nathan Center for Space Construction University of Colorado at Boulder mark@WhosNext.rmNUG.org [NeXTmail welcome] -- Mark Nathan Center for Space Construction University of Colorado at Boulder
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Edit's Listener Object Message-ID: <1993Jan30.113244.7326@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp Date: Sat, 30 Jan 1993 11:32:44 GMT Does Edit's Listener object (or delegate) implement the various msg... methods for manipulating the selection (see the Listener class)? If so, how does one connect to the listener that will respond to such queries? I haven't had a problem connecting to edit and asking it to open various files-- which is functionality either in the Application or NXApp's delegate... I just can't get at the functionality provided by the Listener (or its delegate).... baffled, b.bum -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Organization: Sponsored account, Engineering And Public Policy, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin,comp.soft-sys.nextstep Message-ID: <YfOfSwi00WBL02AFcp@andrew.cmu.edu> Date: Sat, 30 Jan 1993 12:15:40 -0500 From: Yael Shavit <ys11+@andrew.cmu.edu> Subject: M.M and R.W at NeXT Hi, I'm looking for the e-mail address and/or phone number of the following people at NeXT: Morrise Meyer, Richard Williamson. I would like to have the address or phone number of anyone else at NeXT (or elsewhere) that is involved in developing (or using) the phonekit and the Phone Connector application, using Hayes ISDN extender. Thanks a lot, Yael Shavit Information Networking Institute Carnegie Mellon University
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk Subject: Re: RGB Values of "NeXT Help Blue" Message-ID: <1993Jan30.095713.1752@prim> Organization: Primitive Software Ltd. References: <1993Jan26.010722.7575@strangeways.unh.edu> <6664@rosie.NeXT.COM> Date: Sat, 30 Jan 1993 09:57:13 GMT In article <6664@rosie.NeXT.COM> Gary_Miller@next.com (Gary Miller) writes: >In article <1993Jan26.010722.7575@strangeways.unh.edu> >tjb@strangeways.unh.edu (Thomas J. Baker) writes: >> >> Does anyone know the exact rgb values of the blue that NeXT uses in their help >> panels (like for Mail)? It has the quality of being blue on color machines and >> pure light grey on monochome ones. >> > >There's no connection between the blue color's rgb values and the >pure light gray that appears on a monochrome display. The .tiff >files that produce these graphic elements each contain two separate >TIFF images: > [deleted] Why is it necessary to use TIFF files in order to show text on a blue/gray background? Is this a limitation of Microsoft's RTF specification? Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk Subject: Re: AdaptorDocu Message-ID: <1993Jan30.105053.1817@prim> Organization: Primitive Software Ltd. References: <1993Jan29.103441.639@email.tuwien.ac.at> Date: Sat, 30 Jan 1993 10:50:53 GMT In article <1993Jan29.103441.639@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: >Recently, I uploaded documentation for writing DBKit Adaptors on various >ftp-sites. As just somebody asked me to mail him the documentation I think >I should tell you the following: >This documentation is not available any more (from me). > >Some days ago Margaret Chan <Margaret_Chan@NeXT.COM> asked me to remove >these files. I did it, but wanted to hear the reasons. >Here they are: > >========================================================================== >Just to clarify why I said what I did, is that I have lots of history that >suggests that distributing private API is not a good thing. As many >disclaimers as you give to people, they always come back and say "my >application broke" when in fact we do change that API. That's why we try >to ensure that only people who really, really, really need it get it, ie. >when there is no work around. Furthermore, when we do change this private >API we think that it is reasonable for us to let people who relied on it >know that we are doing so, so they have time to change their apps. >Finally, regardless of what your personal opinions are, you must realize >that this is NeXT's position, and if you wish to get such documentation in >the future, we would appreciate it if you did not distribute it widely. >========================================================================== > >I totally agree with Margaret [...deleted] I don't agree. I have a program that really, really really needs to pop up a Mail send window. How am I supposed to know that an unpublished API for this even exists? Who do I mail at NeXT to ask about the possibility? Each time we really need a feature do we mail NeXT and ask if there exists an API to do it? The only way to find out about these API's is by word of mouth. This is not good. Margaret Chan argues that people complain when the private API breaks. Well tough! Putting up with such support is part of your job as a software provider. And you don't even have to support them - tell them it was a private API they used at their own risk and they'll have to sort the problem out themselves. I'm sure NeXT don't provide much support (unless you've paid!) when a _published_ API changes, so what's the problem? Perhaps someone could post a list of the unpublished API's, just so we know what's available. Or is even this information classified? Finally, I don't know much about DBKit, but was under the impression that the ability of developers to write adaptors was fairly fundamental and not the sort of thing that should be in an _unpublished_ API. Dave Griffiths
From: bbum@stone.com Newsgroups: comp.sys.next.programmer Subject: Re: Questions about saving Objective-C objects Message-ID: <1993Jan31.002510.394@stone.com> Date: 31 Jan 93 00:25:10 GMT Article-I.D.: stone.1993Jan31.002510.394 References: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Sender: bbum@stone.com Organization: Stone Design Corp In article <1993Jan29.185205.4792@nugget.rmNUG.ORG> mark@whosnext.rmNUG.ORG (Mark Nathan) writes: > Question 1: > > I'm having trouble saving a list object to a file. The content of the list is > 23 Textfield objects, and I know that they were put in the list correctly. The > code I use to save the object looks like: > > NXTypedStream *typedStream; > > if (filename==0) return [self saveAs: sender]; > [window setTitle: "Saving..."]; > > typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); > [attributeList write: typedStream]; > NXCloseTypedStream(typedStream); > > But when I execute this I get an error: > > Typed streams library error: NXWriteObjectReference: NXWriteRootObject > has not been previously done > > What does this mean? Exactly what it says-- you need to use NXWriteRootObject() on the list to archive it appropriately. Archiving can be a bit overwhelming at first, a couple of tips: Use NXWriteRootObject/NXWriteObject to archive objects-- NEVER CALL read:/write: directly. ALWAYS call [super read:/write:/awake]. If you don't, the streams package will punish you with cryptic error messages or crash in places that you would not expect (and these kinds of bugs are very difficult to track down. NEVER archive sets of bit fields by image-- either do them one by one, or, if you do insist on archiving them by taking an image of the bits and shoving that in the stream, at least be aware and handle the fact that other CPUs (like the '486) may have different endian characteristics than the '040... USE class versioning wisely-- always increase your version numbers, that way, you can use version checks like if(classVersino > 10) do whatever... Make sure that your read:/write: implementations are exactly symmetrical -- including any conditional archiving/dearchiving that you might have. If they aren't, you will get a nice cryptic exception raised and the program won't immediately crash. > Question 2: > > Also, when saving a 'char *' to file, is it customary to first put it > in to a text object or best to just do it the "C" way (with FILE * and > fprintf)? Neither, you can do something like this, though (uncompiled pseudo code): - archiveToTmpFile:(const char *)aBuf { NXStream *aStream = NXOpenMemory(aBuf, strlen(aBuf), NX_READONLY); NXSaveToFile(aStream, "/tmp/theTextFile.text"); NXFlush(aStream); // if you want the caller to be responsible for freeing the buf NXCloseMemory(aStream, NX_SAVEBUFFER); // or, if the buf was originally vm_allocated (by another call to // NXOpenMemory() or a call to vm_allocate()), you can free the buf: NXCloseMemory(aStream, NX_FREEBUFFER); return self; } Streams are Extremely Useful Things-- NXOpenMemory(NULL, 0, NX_WRITEONLY) will yield a buffer of memory that automagically grows as you stuff things into it... Use NXGetMemoryBuffer() to get the address, data size, and allocated size of the buffer. NXCloseMemory(aStream, NX_TRUNCATEBUFFER) will truncate the buffer contained in aStream so that its capacity exactly matches the buffer size. > --- > Mark Nathan > Center for Space Construction > University of Colorado at Boulder > mark@WhosNext.rmNUG.org [NeXTmail welcome] b.bum -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: Adding new button types to a Window's title bar Message-ID: <1993Jan31.070036.20935@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Sun, 31 Jan 1993 07:00:36 GMT I want to add another button to the title bars of some of my Windows. Does anyone know how to do this? Steve abell@netcom.com
Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Patents harmful? Message-ID: <1993Jan31.122109.25327@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1kc794INNmlr@crcnis1.unl.edu> Date: Sun, 31 Jan 1993 12:21:09 GMT The issue has been raised here a couple of times. Here is some info. (Personally, I think in a few cases patents may be useful in the software industry. But in general their effect is negative. This might be interesting to people that try to make a living (csn.programming) of the NeXT market. The next article is good stuff to read. It is from a patent lawyer.) ============================ included article ======================= Return-Path: <KAHIN@hulaw1.harvard.edu> Date: Tue, 19 Jun 90 18:28 EDT From: "BRIAN KAHIN 617-864-6606; FAX:617-864-0610" <KAHIN@hulaw1.harvard.edu> Subject: RE: [NOTJDN%LSUVM.BITNET@psuvm.psu.edu: OTA] To: rms@ai.mit.edu X-Vms-To: MAILER%"rms@ai.mit.EDU" This article by Brian Kahin appears in the April 1990 issue of Technology Review (Building W59, MIT, Cambridge MA 02139, (617)253-8250). It may be copied for noncommercial purposes provided that it is copied, along with this statement and the bio at the end of the article, without any modification whatsoever. (Copyright (C) 1990 by Brian Kahin) The Software Patent Crisis An explosion of patents on software processes may radically change the programming industry--and our concept of human expression in the computer age. Last August, Refac International, Ltd., sued six major spreadsheet publishers, including Lotus, Microsoft, and Ashton- Tate, claiming they had infringed on U.S. Patent No. 4,398,249. The patent deals with a technique called "natural order recalc," a common feature of spreadsheet programs that allows a change in one calculation to reverberate throughout a document. Refac itself does not have a spreadsheet program and is not even in the software industry. Its business is acquiring, licensing, and litigating patents. Within the last few years, software developers have been surprised to learn that hundreds, even thousands, of patents have been awarded for programming processes ranging from sequences of machine instructions to features of the user interface. Many of the patents cover processes that seem conventional or obvious, and developers now fear that any of the thousands of individual processes in their programs may be subject to patent-infringement claims. The Refac suit demonstrates the vulnerability of the industry to such claims. Patent no. 4,398,249 was applied for in 1970, granted in 1983, and only recently acquired by Refac. In the meantime, software developers have been busily creating spreadsheets and other new products unmindful of patents. The industry accepted copyright and trade secret as adequate protection for its products, and most programmers assumed that patents were not generally available for software. Never before has an industry in which copyright was widely established suddenly been subjected to patenting. As it is, only a few companies that create microcomputer software have the resources to try to defend against patent infringement claims. Most small firms will be forced to pay license fees rather than contest the claims, even though many software patents may not stand up in court. In the long run, the costs of doing business in a patent environment will radically restructure the industry. Many small companies will fold under the costs of licensing, avoiding patent infringement, and pursuing patents defensively. The individual software entrepreneur and inventor may all but disappear. There will be fewer publishers and fewer products, and the price of software will rise to reflect the costs. Especially disturbing is that the broad claims of many recent software patents appear to establish monopolies on the automation of such common functions as generating footnotes and comparing documents. Some claims even cover processes for presenting and communicating information, raising troubling questions about the effect of patents on the future of computer-mediated expression. Patent vs. Copyright Software patents, like all patents, give an inventor the right to exclude all others from making, selling, or using an invention for 17 years. In return, the patentee discloses his or her "best method" of implementing the invention, thereby relinquishing trade secrets that might otherwise be enforced forever (like the formula for Coca-Cola). To obtain a patent, an applicant must convince Patent Office examiners that the invention would not be obvious to a "person of ordinary skill in the art" who is familiar with all the "prior art," which includes previous patents and publications. In contrast, copyright inheres in books, poems, music, and other works of authorship, including computer programs, from the moment they are created. Registering one's work with the Copyright Office is a simple, inexpensive procedure that has important benefits (it is a precondition for filing suit, for example), but the copyright itself is automatic when the work is fixed on paper or on disk. Copyright and patent protect different things. Copyright protects expression but not underlying ideas. Patents protect useful processes, machines, and compositions of matter. Traditionally "processes" have included methods of physically transforming materials but not business methods or mental steps. Thus, computer programs fall somewhere between the traditional territories of copyright and patent. >From the 1960s to the early 1980s, the Patent Office and the courts grappled with the question of whether algorithms--the elemental processes on which computer programs are built--are patentable as either processes or machines. Early on, the Patent Office granted some patents for processes built into computer hardware that today would be contained in software, but it was reluctant to grant patents for programs per se. As the 1966 Report of the President's Commission on the Patent System pointed out, the Patent Office had no system for classifying programs. The report also noted that even if this were remedied, the volume of programs being created was so enormous that reliable searches of "prior art" would not be feasible or economical. However, the Court of Customs and Patent Appeals (CCPA) maintained that computer programs were patentable and overturned numerous Patent Office decisions denying patentability. The Supreme Court vindicated the Patent Office in two decisions, Gottschalk v. Benson (1972) and Parker v. Flook (1978), holding that mathematical algorithms were not patentable subject matter. Still, the CCPA continued to uphold patentability in other cases. Finally, in Diamond v. Diehr (1981), a sharply divided Supreme Court upheld the patentability of a process for curing rubber that included a computer program. The majority concluded that programs that did not preempt all uses of a computer algorithm could be patented--at least when used in a traditional process for physically transforming materials. That case has been the Supreme Court's last word on the subject. But despite the narrowness of the ruling, the Patent Office underwent a radical change of heart. Until very recently, there were no reported appeals of adverse Patent Office decisions, leading observers to conclude that the office was eventually granting almost all applications for software patents. Although articles began appearing in legal periodicals a few years ago noting that patents were being routinely granted for many software processes, not until 1988 did the industry realize that the rules were changing, or had already changed, in the middle of the game. By the spring of 1989, the patents that entered the pipeline after Diamond v. Diehr were starting to flow out in significant numbers--by one count, nearly 200 in the first four months of that year. Processing Problems Unfortunately, the Patent Office classification system remains unchanged, and the volume of software being created has grown exponentially. This makes searching for prior art--processes already in public use--time-consuming and expensive. The search is extraordinarily difficult because the field's printed literature is thin and unorganized. Software documents its own design, in contrast to physical processes, which require written documentation. Also, software is usually distributed without source code under licenses that forbid reverse engineering. This may amount to suppressing or concealing the invention and therefore prevent the program from qualifying as prior art. The search for prior art may require securing oral testimony from people who developed software at universities many years ago, an expensive proposition. Many programmers suspect that patent examiners lack knowledge of the field, especially since the Patent Office does not accept computer science as a qualifying degree for patent practice (it accepts degrees in electrical engineering). Moreover, attracting and holding individuals with expertise in a field like software, where industry demand is high, is not easy for a government agency. Less qualified examiners create problems because they naturally have a lower standard in determining the hypothetical "person having ordinary skill in the art," and are thus more apt to grant patents for obvious processes. Since the examination process is conducted ex parte (as a private matter between the Patent Office and the applicant), less qualified personnel are also more likely to be influenced by sophisticated patent attorneys and the apparent expertise of the applicant. The quality of software patents being awarded has aroused concern even among patent lawyers and other advocates of the new regime. But it will be left to firms being sued for infringement to prove that a process should not have been patented because it was obvious in view of the prior art. Meanwhile, software patents stand as intimidating weapons for those who hold them. Restructuring the Industry Perhaps because of some of these problems, applications for software patents take an average of 32 months to be approved and published. That's significantly longer than the overall average of 20 months, and a very long time given the short product cycles of the software business. Unlike copyright, independent creation is irrelevant to patent infringement. Every developer is charged with knowledge of all patents. Even if someone is not aware of a patent, he or she can still infringe against it. Furthermore, patent applications and the examination process are confidential, so there are ordinarily several years of patents in the pipeline that no search will reveal. Although no infringement occurs until the patent issues, an inventor may find that a newly awarded patent covers a feature he or she has already incorporated and marketed in a finished product. While this is a problem for the patent system as a whole, it is intolerable for software developers because of the industry's rapid pace of innovation and long patent-processing period. The problem is compounded by the fact that a modern software package may contain thousands of separately patentable processes, each of which adds to the risk of infringing patents that are already in the pipeline. Since software functions are interdependent and must be carefully integrated, developers can find it difficult to excise a process built into the original program. The patent system exacts a high penalty in an industry as decentralized as software. Programming requires no special materials, facilities, or tools: to design software is to build it. Because barriers to entry are low, the industry attracts many small players, including hundreds of thousands of individuals who work as consultants or short-term employees. Rather than a handful of competitors working on the same problem, there are likely to be dozens, hundreds, even thousands. Since under the patent system one winner takes all, many others--including developers without lawyers--are deprived of the fruits of their independent labor and investments. Patent proponents argue that this uninhibited duplication of effort wastes resources. But the "waste" could be cut only by reducing the number of players and slowing the pace of development to fit the cycles of the patent system. The result would be a handful of giants competing on a global scale, bidding for the ideas and loyalty of inventive individuals. However, many programmers believe that there are diseconomies of scale in software development--that the best programs are authored rather than assembled. The success of Visicalc, Lotus 1-2-3, WordPerfect, and other classic programs testifies to the genius of individuals and small teams. Certainly there has been no evidence that they need more incentives. Quite the contrary, the freewheeling U.S. software industry has been a model of creative enterprise. A Costly System Even software developers and publishers who do not wish to patent their products must bear the costs of operating under a patent system. While these costs may initially come out of the software industry's operating margins, in the long run, they will be borne by users. At the first level is the expense of analyzing prior art to avoid patent infringement. A precautionary search and report by outside patent counsel can run about $2,000--that's per process, not per program. Next are the direct costs of the patent monopoly--the license fees that must be paid to patent holders. If the patent holder refuses to license at a reasonable fee, developers must design around the patent, if that is possible. Otherwise, they must reconceive or even abandon the product. The third set of costs are those incurred in filing for patents. Searching for prior art, plus preparing, filing, negotiating, and maintaining a patent, can total $10,000 to $25,000, not including internal staff time. Seeking foreign patents can make the bill substantially higher. The notoriously high costs of patent litigation must be borne by both sides. Just the discovery phase of a lawsuit is likely to cost each side a minimum of $150,000, and a full trial can cost each from $250,000 to millions. Again, these figures do not include internal staff time, which could easily double the real cost. While a small patent holder may be able to secure a law firm on a contingency basis or sell an interest in the patent to speculators, the defendant has no such options. Litigation also involves the possibility and further expense of an appeal. All appealed patent cases now go directly to the Court of Appeals for the Federal Circuit (CAFC, successor to the CCPA), where panels in patent cases are usually led by patent lawyers turned judges. Whereas patents once fared poorly on appeal, the CAFC has found patents to be both valid and infringed in over 60 percent of the cases that have come before it. The CAFC has greatly strengthened the presumption of patent validity and upheld royalties ranging from 5 to 33 percent. While a large software company may be able to absorb these costs, they will disproportionately burden smaller companies. The first to suffer will be independent developers who cannot afford to market their own products. These developers typically receive royalties of 10 to 15 percent from publishers who serve as their distributors. Such modest margins, out of which developers must recoup their own costs, would be wiped out by the need to pay royalties to a few patent holders. The high costs of a patent environment give patentees considerable leverage over small firms who will, as a practical necessity, pay a license fee rather than contest a dubious claim. To establish credibility, the patentee will settle for small fees from the initial licensees. The patent holder can then move on to confront other small firms, pointing to such licensings as acknowledgments of the patent's validity and power. This tactic has a snowballing effect that can give the patent holder the momentum and resources to take on larger companies. Cross-licensing--where firms secure patents to trade for the right to other patents--seems to work reasonably well in many industries and has been touted as the answer to these problems. However, cross-licensing is of little value to smaller companies, which have little to bring to the table. And cross-licensing may prove of limited value even to large companies, since it does not protect against companies like Refac that have no interest in producing software and therefore no need to cross-license. Of course, the power that software patents afford may induce some venture capitalists to invest in them. But investing in software patents is one thing; investing in robust, complex products for a mass market is another. In fact, software publishers hold very few patents. The vast majority are held by large hardware companies, computer manufacturers that have in-house patent counsel and considerable experience in patenting and cross-licensing. Nearly 40 percent of the software patents that the U.S. Patent and Trademark Office now issues go to Japanese hardware companies. It is quite possible that the separate software publishing industry may cease to exist as companies find that they need the patent portfolios and legal resources that the hardware giants can provide. The result will be a loss of diversity in software products, reduced competition, and, many believe, a less productive software industry. Protecting Ideas and Information A deeper, more disturbing problem in patenting programs was barely evident before computers became ubiquitous personal tools and software became infinitely versatile. More than a "universal machine," the computer has developed into a medium for human expression and a mediator of human experience. Software is designed to satisfy specific needs for shaping and delivering information. Thus, what is increasingly at stake in software patents is the generation and flow of information. This becomes more threatening when the claims in a patent extend far beyond the disclosed means of implementation to cover general ideas. Broad patent claims covering abstract processes are not limited to software, or even to computer hardware. Consider patent no. 4,170,832, granted in 1979 for an "interactive teaching machine." The patent discloses a clumsy-looking combined videotape deck and television with a set of push buttons. The patent includes a process claim for a procedure commonly used in interactive video: showing an introductory video segment, presenting the viewer with a limited number of choices, registering the viewer's decision, and then revealing the likely outcome of that decision. The disclosed machine, which was never marketed, contributes nothing to the public domain: it simply reveals one person's way of implementing a basic instructional technique. In a notorious 1983 case, a federal district court upheld the patentability of Merrill Lynch's Cash Management Account system, a procedure for moving investment funds among different types of accounts. Acknowledging that the system--essentially a method of doing business--would not be patentable if executed with pencil and paper, the court nevertheless upheld the patent because it made use of a computer. The Patent Office has taken this principle one step further. Besides granting monopolies on new procedures such as the Cash Management Account system, the office is also awarding patents merely for automating familiar processes such as generating footnotes (patent no. 4,648,067) and comparing documents (patent no. 4,807,182). But software developers have been routinely automating such common office functions, bookkeeping procedures, learning strategies, and modes of human interaction for years. The principle that patents are granted to induce inventors to disclose trade secrets has no relevance here. These processes are part of everyday life, and can and should be computerized in a number of ways. What's more, information per se is traditionally the substance and territory of copyright. The intelligent ordering of information is the very heart of grammar, rhetoric, and graphic design. Why should information be subject to the pervasive restraints of patent simply because it is interactive rather than linear? Should human expression that is assembled, communicated, or assimilated with the aid of a computer be restrained by patents? If the computer is seen as an extension of the human mind rather than vice versa, the answer is no. Changing Patent Policy Software developers who understand the impact of patents are demoralized. Lawyers assure them that patents are here to stay, and that programmers must seek new patents to protect against other patents. These lawyers point to the growing torrent of software patents, the presumption of patent validity, and the fervidly pro-patent record of the Court of Appeals for the Federal Circuit. Smaller companies that cannot afford this advice can only hope that companies with deeper pockets will afford more visible and attractive targets for patent holders bringing suit. But the narrowness of the Supreme Court decision in Diamond v. Diehr remains. The Court never explicitly rejected the traditional doctrines against the patentability of mental steps and business methods, doctrines that may yet defeat many of the patents that have issued. If the hue and cry grows, Congress could amend the Patent Act to make it clear that the scope of patenting is still limited to physical processes. The software industry was not broke, but it is in the process of being "fixed." The question is whether the fixing will be done by the gush of awards from private proceedings in the Patent Office--or by a public decision about whether software patents serve "to promote the Progress of Science and useful Arts," as the Constitution requires. --------------- Brian Kahin is an attorney specializing in information technology and policy. An adjunct research fellow in the Science, Technology and Public Policy Program at Harvard University's Kennedy School of Government, he was formerly affiliated with the MIT Research Program on Communications Policy and the MIT Communications Forum. He is a graduate of Harvard College and Harvard Law School. ============================ end included article =================== -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1kcbu9$a2c@steffi.demon.co.uk> Control: cancel <1kcbu9$a2c@steffi.demon.co.uk> Date: 29 Jan 1993 23:06:09 -0000 Organization: me organized? That's a joke! Message-ID: <1kcd91$bk2@steffi.demon.co.uk> Article cancelled from within tin [v1.1 PL8]
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: AdaptorDocu Date: 30 Jan 1993 21:31:44 -0000 Organization: me organized? That's a joke! Message-ID: <1kes40$1a8@steffi.demon.co.uk> References: <1993Jan30.105053.1817@prim> : Finally, I don't know much about DBKit, but was under the impression that the : ability of developers to write adaptors was fairly fundamental and not the : sort of thing that should be in an _unpublished_ API. Its really because DBKit is so volatile at the moment thats all. It's probably the biggest 3.0 drawcard and NeXT are now trying to fix it up. I agree with you though, it basically an individuals choice, they are risktaking and it would be nice to be able to be given to opportunity to take them. However, I think an exception can be made in view of DBKit being so succeptable to change. On the other hand, what even happened to encapsulation? NeXT is on a winner with this and they know it. They just have to polish it up and publish worthwhile documentation. Something I look forward to seeing in the not too distant future (hint) ~ ~ ~ ~ ~
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Questions about saving Objective-C objects Date: 30 Jan 1993 21:36:57 -0000 Organization: me organized? That's a joke! Message-ID: <1kesdp$1an@steffi.demon.co.uk> References: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Mark Nathan (mark@whosnext.rmNUG.ORG) wrote: : Question 1: : I'm having trouble saving a list object to a file. The content of the list is : 23 Textfield objects, and I know that they were put in the list correctly. The : code I use to save the object looks like: : NXTypedStream *typedStream; : if (filename==0) return [self saveAs: sender]; : [window setTitle: "Saving..."]; : typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); : [attributeList write: typedStream]; : NXCloseTypedStream(typedStream); : But when I execute this I get an error: : Typed streams library error: NXWriteObjectReference: NXWriteRootObject : has not been previously done : What does this mean? : Question 2: : Also, when saving a 'char *' to file, is it customary to first put it : in to a text object or best to just do it the "C" way (with FILE * and : fprintf)? : : --- : Mark Nathan : Center for Space Construction : University of Colorado at Boulder : mark@WhosNext.rmNUG.org [NeXTmail welcome] : -- : Mark Nathan : Center for Space Construction : University of Colorado at Boulder What are peoples are views about archiving graphical objects? You out there Scott?
Newsgroups: comp.sys.next.programmer From: se15@claudius.nextlab.cs.qub.ac.uk (Paul Donnelly) Subject: Where is appkit? Message-ID: <1993Jan31.170443.4963@ousrvr.oulu.fi> Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Sun, 31 Jan 1993 17:04:43 GMT Hello, I wonder if it's possible to look at the header files that I import into my objective C programs with lines like import <appkit/Window.h> I've looked everywhere but can't seem to find t appkit directory. Does it exist? Is it possible to view these header files?
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: Adding new button types to a Window's title bar Message-ID: <1993Jan31.221519.222@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1993Jan31.070036.20935@netcom.com> Date: Sun, 31 Jan 1993 22:15:19 GMT In article <1993Jan31.070036.20935@netcom.com> abell@netcom.com (Steven T. Abell) writes: > I want to add another button to the title bars of some of my Windows. > Does anyone know how to do this? > > Steve abell@netcom.com A window on the screen is not just one object on the screen containing a content view as the Window class docs imply. A window is basically a dps drawing port that contains either two or three (does the resize bar count as another view?) view objects. One view is the contentView-- the one you have complete control of. There is usually another view that represents the title bar-- it contains up to two button objects that represent the close and miniturize button (and the title is probably draw w/a TextFieldCell (or just the window's field editor-- which is a text object). But, you can also create windows programatically that don't have title bars.... So, to add another button to the title bar, you will either: Want to take the short cut, break all the rules, and make a subclass of the Window class. In that subclass, you will probably want to grab the window's _borderView (you will probably want to verify that the _borderView is really the view you want... ask it for its list of subviews and see if the frames match the frames of the contained buttons...) and add a button object to it (addSubview:, set the frame rectangle to whatever you want, first). Or go the long drawn out route and do something that is NeXT supported technically, though not reccomended from the point of GUI philosophy under NeXTStep. That is, create a window with no title bar, and then create a subclass of a view object that has button objects and such for the various things you need in the title bar (you could easily set this up in a long narrow window in IB, load the nib file programmatically, grab the content view from that nib and add it is part of your custom window). You will probably want to subclass the Window object to do this-- that way you can emulate all of the necesary methods in the Window class such that your new window works just like the original window class, but has your custom title bar in it... In either case, it is a non-trivial thing to do... b.bum -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Questions about saving Objective-C objects Message-ID: <63881@mimsy.umd.edu> Date: 1 Feb 93 03:40:38 GMT References: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1993Jan29.185205.4792@nugget.rmNUG.ORG> mark@WhosNext.rmNUG.ORG writes: > I'm having trouble saving a list object to a file. > typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); > [attributeList write: typedStream]; ^^^^^^ Dont do this! See the general reference section of the manual for the common functions. Hint - its analogous to the difference between display: and drawSelf:: -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
From: mtie@carleton.edu (Michael Tie) Newsgroups: comp.sys.next.programmer Subject: Adaed-1.11.0a Message-ID: <1993Jan29.164000.2277@galileo.physics.arizona.edu> Date: 29 Jan 93 16:40:00 GMT Sender: news@galileo.physics.arizona.edu (C-news) Organization: University of Arizona Physics Department A while back someone asked how to compile Adaed-1.11.0a on the NeXT; here are the steps that I used: 1: Make sure that you read the included README file, and make your own local changes to the Makefile and config.h file to ensure that the executables are installed in the appropriate directories. (You may need to change the file protections on these files in order to write to them.) 2. I found a few problems with the existing Makefile; one was a simple fix, and the other have me a little confused. a: Our Nexts don't have gcc, so I changed the "gcc" entry on line 3 to "cc" b: Under NeXTStep 3.0, the file /usr/lib/libg.a is missing. I have two possible solutions for this problem: 1: copy /usr/lib/libg.a from a NeXTStep 2.0 system 2. or remove "-lg" from the LFLAGS line of the Makefile (That's line 13 of the Makefile) c: There was a section of the Makefile that didn't seem to be running, so I commented it out, and created a csh script to do the same thing. either comment out, or delete the following lines from the Makefile: ch.h: rm -f $*.h echo >$*.h chmod u+w $*.h makech -h < $< > $*.h chmod a-w $*.h ch.c: rm -f $*.c echo >$*.c chmod u+w $*.c makech -c < $< > $*.c chmod a-w $*.c vbs.h: rm -f $*.h touch $*.h chmod u+w $*.h cdecom <$*.vbs | uniq >$*.h chmod a-w $*.h I then created a file called "preMake". This file contains the following: #!/bin/csh set VBS_FILES = (ghdr hdr libhdr) set CH_FILES = (gvars ivars vars) foreach file ($CH_FILES) rm -f $file.h echo >$file.h chmod u+w $file.h makech -h < $file.ch > $file.h chmod a-w $file.h end foreach file ($CH_FILES) rm -f $file.c echo >$file.c chmod u+w $file.c makech -c < $file.ch > $file.c chmod a-w $file.c end foreach file ($VBS_FILES) rm -f $file.h touch $file.h chmod u+w $file.h cdecom <$file.vbs | uniq > $file.h chmod a-w $file.h end touch Makeext 3. In the file config.h, we need to tell it what type of system we are using, and we need to define the word size, so I added the following lines at line 30 of config.h #define BSD #define WORDSIZE32 4. We run into one small problem by telling it that we are a BSD system. "Strict" BSD systems do not have "strchr" and "strrchr" defined on them, but these routines are defined on the NeXT in /NextDeveloper/Headers/ansi/string.h. So we need a couple of kludges. a: comment out lines 43 and 44 of miscprots.h b: comment out lines 520 to 528 of misc.c 5. We do not need to include malloc.h, so delete the line "#include <malloc.h>" from the top of "ada.h" and "adamrg.c" 6. Also in "adamrg.c", we need to define "OP_SYS", so at line 115 (after #define VERSION_NO "1.7.3"), add the following line: #define OP_SYS "BSD-NeXT" 7. In the file "intb.c", they define a subroutine called "raise". Well, raise is already defined on the NeXT in /lib/libsys_s.a. Don't ask me what the NeXT command does... To fix this problem, I went into intb.c; renamed the "raise" to "mt_raise"; and I changed all the calls to "mt_raise". note: I did NOT change the following variables (ie, do NOT use a global search and replace): raise_env raise_cs raise_lin raise_reason 8: Now we're ready to do some compiling. a: run the "preMake" script that we created earlier b: run "make install" (there will be some warnings, but ada seems to work ok for me.) 9: You may want to run "strip" on the executables that are created to cut out the extra symbol table stuff. (ie, run the command "strip /usr/local/bin/ada*" in a terminal window.) That should do it. I don't guarantee the results or that this process will work. All I claim is that the above steps worked for me on my machine. Feel free to give me a yell if you run into trouble; I'll help as much as I can. Michael N. Tie mtie@carleton.edu Math/CS ph: 507-663-4067 Carleton College fax: 507-663-4312
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: Programming DBTableView Message-ID: <1993Feb1.145036.20677@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Jan28.115841.11324@email.tuwien.ac.at> Date: Mon, 1 Feb 1993 14:50:36 GMT Thanks to Robert F. Cahalan <cahalan@clouds.gsfc.nasa.gov>. I think this helps. ========================================================================== Andreas, Our news service is having trouble posting at the moment. Could you post the following for me, if it seems useful? --Bob-- In comp.sys.next.programmer article <1993Jan28.115841.11324@email.tuwien.ac.at> you wrote: > > Two questions concerning DBTableView: > In InterfaceBuilder I make a connection between my object and a > DBTableVector. For various reasons I don't want to connect to the > DBTableVector's DBTableView. So how do I get to the DBTableView? > DBTableVector is not a view, so I cannot use [view superview]. (BTW when > you connect from a DBModule to a DBTableView, the same thing happens). > How can I set the class of DBTableView's table vectors? I couldn't find a > method like setTableVectorClass:. > I haven't done this before, so I may be wrong, but judging from the documentation, you might try: tableView = [[[tableVector formatter] dataSource] destination] The dataSource is a private subclass of DBAssociation, so you can get the destination (i.e. the UI object, like a textfield or tableView) from it. By the way, you can also ask the dataSource for the fetchGroup, which in turn will give you the recordList, which you can sort by sending it an addRetrieveOrder:DBAscendingOrder (or DBDescendingOrder, if you like) and then fetchUsingQualifier:nil, and then message the fetchGroup to redisplayEverything. Hope that helps! -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .Dr. Robert F. Cahalan (Bob)...#..Laboratory for Atmospheres...... .cahalan@clouds.gsfc.nasa.gov..#..NASA-Goddard Space Flight Center .*** NeXTMail accepted ***.....#..Greenbelt, MD 20771............. .FAX: (301) 286-1627...........#..voice: (301) 286-4276........... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: andrew@cubetech.com (Andrew Loewenstern) Subject: Re: Questions about saving Objective-C objects Message-ID: <1993Jan31.024832.9250@cubetech.com> Organization: Cube Technologies, Inc. References: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Date: Sun, 31 Jan 1993 02:48:32 GMT In article <1993Jan29.185205.4792@nugget.rmNUG.ORG> mark@WhosNext.rmNUG.ORG writes: >Question 1: > >I'm having trouble saving a list object to a file. The content of the list is >23 Textfield objects, and I know that they were put in the list correctly. The >code I use to save the object looks like: > > NXTypedStream *typedStream; > > if (filename==0) return [self saveAs: sender]; > [window setTitle: "Saving..."]; > > typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); > [attributeList write: typedStream]; > NXCloseTypedStream(typedStream); > >But when I execute this I get an error: > > Typed streams library error: NXWriteObjectReference: NXWriteRootObject > has not been previously done > >What does this mean? If you look at the documentation for read: and write:, you'll find that you aren't supposed to call them directly. Instead they are called by the NXWriteRootObject() and NXWriteObject() functions. What you want to do is call NXWriteRootObject(typedStream, attributeList)... Check out the docs and NXWriteObject() for more info... >Question 2: > > Also, when saving a 'char *' to file, is it customary to first put it >in to a text object or best to just do it the "C" way (with FILE * and >fprintf)? If you are saving a list of objects to a typedstream, you might just want to stick tha char * into the typedstream as well... (make sure it's null terminated...). call NXWriteType(typeStream, "*", &myCharStar) With NXWriteType() and NXWriteTypes() you can write just about any data type to an NXTypedStream. I believe you also get the benefit of byte-order and other translations on different architectures as well with typed-streams. Check out the docs on NXWriteType() for info on all the formats and such... andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: dgoodwin@fossa.rmNUG.ORG (Doug Goodwin) Subject: Re: Where is appkit? Message-ID: <1993Feb1.041136.1107@fossa.rmNUG.ORG> Sender: dgoodwin@fossa.rmNUG.ORG Organization: Rocky Mountain NeXT Users' Group References: <1993Jan31.170443.4963@ousrvr.oulu.fi> Distribution: usa Date: Mon, 1 Feb 1993 04:11:36 GMT In article <1993Jan31.170443.4963@ousrvr.oulu.fi> se15@claudius.nextlab.cs.qub.ac.uk (Paul Donnelly) writes: > Hello, > I wonder if it's possible to look at the header files that I > import into my objective C programs with lines like > > import <appkit/Window.h> > > I've looked everywhere but can't seem to find t appkit directory. Does it > exist? Is it possible to view these header files? Try the path /NextDeveloper/Examples/AppKit, at least for 3.0. If you don't find it there, maybe you're working in 2.x, maybe you don't have the extended release, or maybe you didn't tell the 3.0 installer to install the AppKit... If all else fails, use find to locate AppKit. Good luck, Doug Goodwin dgoodwin@fossa.rmNUG.ORG
From: mezzino@gauss.cl.uh.edu (Mike Mezzino) Newsgroups: comp.sys.next.programmer Subject: DBFormatter Example Date: 1 Feb 1993 17:08:34 GMT Organization: University of Houston Message-ID: <1kjleiINNbmi@menudo.uh.edu> Keywords: DBKit Does anyone have an example using DBFormatter to format, say a telephone number, in a DBTableView? This is a common application of DBKit when "pretty" reports are required. Thanks in advance. Mike Mezzino mezzino@gauss.cl.uh.edu
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Where is appkit? Date: 1 Feb 1993 19:21:28 GMT Organization: The University of Maryland, College Park Message-ID: <1kjt7oINNqd4@ni.umd.edu> References: <1993Jan31.170443.4963@ousrvr.oulu.fi> In article <1993Jan31.170443.4963@ousrvr.oulu.fi> se15@claudius.nextlab.cs.qub.ac.uk (Paul Donnelly) writes: >Hello, > I wonder if it's possible to look at the header files that I >import into my objective C programs with lines like > >import <appkit/Window.h> > >I've looked everywhere but can't seem to find t appkit directory. Does it >exist? Is it possible to view these header files? If you can't find it, then you must be on a 3.0 system where they moved all the include files around. Look in /NextDeveloper/Headers/appkit/Window.h, per your example. louie
Message-ID: <w3#@byu.edu> Date: Mon, 1 Feb 93 12:57:23 MST From: yackd@oregon.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world Organization: Brigham Young University, Provo UT USA Subject: New gifts for a Monday Keywords: Music, Sound, string, rotation slider I've upload three programming things you may wish to check out. All are freeware and include source. (1) A String object (basic string manipulation stuff (2) A RotationSlider palette (2D- like the ones Stone Design uses in Create, et al.) (3) A demo of playing a musical score simultaneously with sounds (requires 3.1 music kit from CCRMA) #3 includes a preliminary version of the objects that will be in the upcoming GameKit, minus many features... Let me know of any problems you may find with any of them, and have fun with 'em! Later, -Don Yacktman yackd@alaska.et.byu.edu PS. Columns 2.9b (beta) is available to registered users who wish to play with it... just ask me to NeXTmail it to you...
From: kevins@slow.inslab.uky.edu Newsgroups: comp.sys.next.programmer Subject: DBKit and autosave Message-ID: <C1sFvw.DwB@ms.uky.edu> Date: 1 Feb 93 21:04:43 GMT Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences Anyone know how (besides subclassing) to get a DBFetchGroup to auto save changes? -- _______________________________________________________________________________ I'll cross my heart and hope to die but the needle's already in my eye. _______________________________________________________________________________ Kevin Solie
From: kwei@titan.ucs.umass.edu (William Wei) Newsgroups: comp.sys.next.programmer Subject: prman and alternatives Date: 1 Feb 1993 16:09:11 -0500 Organization: University of Massachusetts, Amherst Distribution: world Message-ID: <1kk3hnINNn24@titan.ucs.umass.edu> >think about writing or adapting an existing ray tracer to the >RenderMan spec. I wrote one from scratch in about 3 months, but its >inability to do displacement maps and it's poor performance on Spline >surfaces left a lot to be desired. There are now a few new >techniques for handling the hundreds of thousands of triangles needed >to do a good ray traced RenderMan (such as the ZZ-buffer method), as >well as new techniques for cooked (radiosity) images, so I'm sure >you'll have better luck than I did. I am taking a ray tracing class and try to utilize my NeXT. Can I use 3Dkit and write my own ray tracer? What will the structure look like? Are there any examples somewhere or books that I can learn from?
From: werts@grover.cecs.csulb.edu (Michael Werts) Newsgroups: comp.sys.next.programmer Subject: Gnu assembler Message-ID: <C1st5x.998@csulb.edu> Date: 2 Feb 93 01:51:33 GMT Sender: news@csulb.edu (News Administration/Rumor Bureau) Organization: Cal State Long Beach Does anyone know if Gnu assembler is available for the NeXT. Is it already on the NeXT, but just not documented? If so, how can I get started with it? I remember reading that NeXT prefers to discourage the use of assembly, but I would like to do a little assembly before attempting code generation. Thanks in advance. -- MICHAEL WERTS -- werts@csulb.edu Computer Engineering Computer Science California State University Long Beach
From: roth@feline.cs.wisc.edu (Bill Roth) Newsgroups: comp.sys.next.programmer Subject: Where did libcs come from? Message-ID: <1993Feb2.024025.5685@cs.wisc.edu> Date: 2 Feb 93 02:40:25 GMT Sender: news@cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. In NS 2.0 there was a set of great date/time utilities in libcs.a I could use these for a project I'm working on. Where did libcs.a come from? Please e-mail your replies. -- ------------------------------------------------------------------- Bill Roth, University of Wisconsin Computer Sciences Dept. Internet: roth@cs.wisc.edu. BITNET: ROTH@WISCPSL. HEPNET: PSL::ROTH
From: yongi@ccwf.cc.utexas.edu (Andrew Trent) Newsgroups: comp.sys.next.programmer Subject: Rendering with 1-bit bitmaps (Do 1-bit windows exist?) Date: 2 Feb 1993 03:00:19 GMT Organization: The University of Texas at Austin, Austin, Texas Message-ID: <1kko43INNjg6@geraldo.cc.utexas.edu> Question Summary: How can you get the AppKit and/or the window server to help you draw into a 1-bit image? Long, Drawn-Out, Full, Verbose Question: The problem is this: The AppKit and the Display PostScript interface studiously neglect one-bit windows. So if you want to do something simple, such as get a rotated 1-bit bitmap from an original 1-bit bitmap, it can't be easily done; the only way I know of to do it at all is to use "machportdevice". This approach seems terrible, for two reasons. First, machportdevice only renders into one- or two-bit images. Second, I can't figure out how to "lock focus" on the PostScript rendering stream going to machportdevice; the only way I can think of to get image data to go there all is through this hack: If you have a 1-bit NXBitmapImageRep and want to rotate it, create a NX_TwoBitGray Window (the minimum bits per pixel possible) that is the same size as the image; into this window's contentView, put your own View, one which will send a "draw" message to the 1-bit NXBitmapImageRep when it gets sent a drawSelf message. To get the bitmap data to be rendered by the window server, then, do this: 1) Create the Mach port which will listen to the bit dump from machportdevice 2) Create the DPS context for rendering; make sure it's one of 3) Send the PostScript code with the machportdevice command 4) Send the Window you created a copyPSCodeInside:to: message to grab a bunch of PostScript code 5) Send that PostScript to the window server with DPSWriteData() 6) Copy the data received back from the server into a new NXBitmapImageRep AAAAAAUGH! It's so horrible, it's hateful to contemplate. I shudder to think how slow this will be. (I will be doing this for images that will be many millions of pixels.) Ideally, I'd like to be able to lock focus on an NXBitmapImageRep and draw directly into that sucker. I'd settle for just about anything, though. Thanks in advance. Yongi -- Yongi (yongi@ccwf.cc.utexas.edu)
From: loki@goat.geo.arizona.edu (Quaeler) Newsgroups: comp.sys.next.programmer Subject: Swapping out app icons... Message-ID: <1993Feb2.002346.4320@arizona.edu> Date: 2 Feb 93 07:23:46 GMT Distribution: world,local Can anyone please give me a quick code segment or pointer to swap app Icons (similar to what a hidden Mail.app does when mail arrives for the user) ? Thanks, Loki
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit missing tables from FROM clause Message-ID: <1993Feb1.133021.2610@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Mon, 1 Feb 93 13:30:21 GMT Has anyone run into a problem with DBKit where it omits tables from the FROM clause? I get the following output with SQL logging: SELECT t0.id, t1.toCenter, t0.name FROM CostCenters t0, Rollups t1 WHERE t0.id *= t1.fromCenter ORDER BY t0.id SELECT sum(t1.amount) , t0.id FROM CostCenters t0 WHERE t2.id/100 = 1993 and t2.id%100 <= 11 and t3.account != 930 and t3.account >= 600 and t1.budget = 1 and t0.id = 1 *** HashTable: count differs after rehashing; probably indicates a broken invariant: there are x and y such as isEqual(x, y) is TRUE but hash(x) != hash (y) The HashTable error appears at this time to be within DBKit. The missing table (t1) is joined to t0 as a one to many equijoin. The tables were present when this was an outer join but Sybase would not let my place conditions on the inner member of an outer join so I changed the model and lost the table names in the SQL! Any help will be appreciated. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: kira.uucp!death@netcom.com (David John Burrowes) Subject: Am I stupid? (gdb 'problem') Message-ID: <1993Feb2.042851.902@kira.net.netcom.com> Sender: death@kira.net.netcom.com Organization: No organization at this time. Date: Tue, 2 Feb 1993 04:28:51 GMT If I have a method or function something like this: - Stupid : (unsigned char) foo { . . . } When I examine the value of foo in either gdb itself, or via the edit/gdb browse window, I find that foo is being reported as an int. Is there a good reason for this? Is it tied to, say, values being passed as 4bytes in all cases, even if they're smaller? It sure does make debugging unsigned char values passed as parameters difficult!! Of course, maybe I'm just overlooking something obvious (more probable, I'm sure). In which case, please point it out! =) \david john burrowes
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: edmtl@alf.uib.no (Thor Legvold) Subject: pCD dies when reading an image. Message-ID: <1993Feb2.124829.14202@alf.uib.no> Organization: University of Bergen, Norway Date: Tue, 2 Feb 93 12:48:29 GMT Hi. I loaned a Photo CD from my local Kodak store to try on the NeXT. I fired up pCD, chose 'open Photo CD volume', and when I click on an image the program dies, without any message to the console. I am able to read the disk fine, and all the files have the generic icon attached. Could someone give me a clue what I'm doing wrong? Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer From: mark@whosnext.rmNUG.ORG (Mark Nathan) Subject: A tougher question (was Questions about saving Objective-C objects) Message-ID: <1993Feb2.024605.3489@nugget.rmNUG.ORG> Sender: mark@nugget.rmNUG.ORG Organization: Rocky Mountain NeXT Users' Group References: <1993Jan31.024832.9250@cubetech.com> Date: Tue, 2 Feb 1993 02:46:05 GMT Thanks for all the feedback on archiving objects. Somehow I overlooked the Archiving section in the Support Reference Document. Anyways, I got the problem solved (in 3 lines, and it was intuitive! I like this programming environment more and more everyday). ------- But, I have another question which I believe is a little more difficult: I'm a little confused about Palettes. If someone makes their own Palette is that to be used in IB exclusively, in an application exclusively or in both IB and other applications? The reason I ask, is because I would like to create a "palette" that will allow a user of my application to drag objects (off of the pre-designed palette) and into their "work window". For instance, this is like the "palette" used in Lighthouse Design's Diagram. I have looked through the online documentation and use it extensively, yet I could still use some clarification on the aforementioned problem. Any help (small or great) and any pointers (to what I might have overlooked in the documentation) would be much appreciated. Also, are there classes already developed and in public domain that I should refer to, to create my own "drop and drag" palette? Thanks again on answering my last question, -- Mark Nathan Center for Space Construction University of Colorado at Boulder mark@WhosNext.rmNUG.org [NeXTmail welcome] -- Mark Nathan Center for Space Construction University of Colorado at Boulder
From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.sysadmin Subject: lseek(bad filedes) crashes NeXT2.1 Date: 2 Feb 1993 18:29:32 GMT Organization: International Computer Science Institute, Berkeley, CA, U.S.A. Message-ID: <1kmeic$p05@agate.berkeley.edu> The little program below tests the file descriptors from 0 ot 31 for open-ness by performing an lseek and checking errno. This happens to consistently crash out NeXT cube running the 2.1 release. Question #1: Is this a known problem? Question #2: Is there a fix for it. The problem doesn't seem to be specific to lseek. A similar program using select(2) to test the file descriptors also crashes the machine. I consider this a very bad bug since it means that any program that is not careful with open's and close's can produce very bad surprises. Please reply via e-mail since I don't read this group. Thanks in advance. -------- cut here ------------ #include <errno.h> extern int errno; extern long lseek(); main() { int i; printf("Open streams:"); for (i = 0; i < 32; i++) { if (lseek(i, 0L, 1) >= 0 || errno == ESPIPE) { printf(" %d", i); } else if (errno != EBADF) { extern char *sys_errlist[]; printf(" error on %d: %s", i, sys_errlist[errno]); } } printf("\n"); exit(0); } ------------------------------- -- Andreas Stolcke stolcke@icsi.berkeley.edu International Computer Science Institute stolcke@ucbicsi.bitnet 1947 Center St., Suite 600, Berkeley, CA 94704 (510) 642-4274 ext. 126
Newsgroups: comp.sys.next.programmer From: andrew@cubetech.com (Andrew Loewenstern) Subject: Re: AdaptorDocu Message-ID: <1993Feb1.201436.660@cubetech.com> Organization: Cube Technologies, Inc. References: <1993Jan30.105053.1817@prim> <1kes40$1a8@steffi.demon.co.uk> Date: Mon, 1 Feb 1993 20:14:36 GMT In article <1kes40$1a8@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert David Nicholson) writes: >: Finally, I don't know much about DBKit, but was under the impression that the >: ability of developers to write adaptors was fairly fundamental and not the >: sort of thing that should be in an _unpublished_ API. > >Its really because DBKit is so volatile at the moment thats all. It's probably >the biggest 3.0 drawcard and NeXT are now trying to fix it up. I agree with >you though, it basically an individuals choice, they are risktaking and it >would be nice to be able to be given to opportunity to take them. However, >I think an exception can be made in view of DBKit being so succeptable >to change. On the other hand, what even happened to encapsulation? >NeXT is on a winner with this and they know it. They just have to polish it >up and publish worthwhile documentation. Something I look forward to seeing in >the not too distant future (hint) The documentation they do have on the adaptor layer is so sketchy that NeXTedge woud be overrun if they put it on the CD or put it on the archives or whatever. To figure out how to properly implement the right selectors requires a lot of guessing from the DBBinder docs (which are aimed at the app developer and not the adaptor developer), a lot of printf'ing, and a lot of playing around in gdb. Examples would probably help a lot too, but those seem to be pretty tough to come by. Anyway, it would be a support nightmare for NeXT if they tried to support it now. If you have a real need for the docs, and are willing to demonstrate it to NeXT, they will give them to you. andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Stupid IB question Message-ID: <1993Feb2.135744.164@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Tue, 2 Feb 1993 13:57:44 GMT The 3.0 manual gives a tip on page 3-21 (NeXTSTEP DEVELOPMENT TOOLS AND TECHNIQUES) about instantiating Views. It says: Dragging a CustomView and reassigning its class to View is a better way to instantiate a View. But I seem to be unable to do this. Whatever I do, the thing stays CustomView. What am I doing wrong? Or is this description out of date since 3.0? Or is it a bug in IB? -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: Questions about saving Objective-C objects Message-ID: <1993Jan31.072316.12765@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Date: Sun, 31 Jan 1993 07:23:16 GMT In article <1993Jan29.185205.4792@nugget.rmNUG.ORG> mark@whosnext.rmNUG.ORG (Mark Nathan) writes: > Question 1: > > I'm having trouble saving a list object to a file. The content of the list is > 23 Textfield objects, and I know that they were put in the list correctly. The > code I use to save the object looks like: > > NXTypedStream *typedStream; > > if (filename==0) return [self saveAs: sender]; > [window setTitle: "Saving..."]; > > typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); > [attributeList write: typedStream]; > NXCloseTypedStream(typedStream); > > But when I execute this I get an error: > > Typed streams library error: NXWriteObjectReference: NXWriteRootObject > has not been previously done > > What does this mean? It means you should NEVER call write: or read: methods yourself. You should use NXWriteObjects(typedStream,"@",&attributeList) instead to write the objects to the stream, and NXReadObjects(typedStream,"@",&attributeList) to get it back. > > Question 2: > > Also, when saving a 'char *' to file, is it customary to first put it > in to a text object or best to just do it the "C" way (with FILE * and > fprintf)? Depends on what it is. If it's an instance variable of an object, you can archive it in a typed stream. If it's a default value of some kind, use the NXDefaults mechanism. Otherwise, I'd just use fprintf, or even NXPrintf. John > > --- > Mark Nathan > Center for Space Construction > University of Colorado at Boulder > mark@WhosNext.rmNUG.org [NeXTmail welcome] > -- > Mark Nathan > Center for Space Construction > University of Colorado at Boulder -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-3344 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: jjfeiler@relief.com (John Jay Feiler) Subject: UPS daemon software Message-ID: <1993Jan31.193851.13794@relief.com> Keywords: ups daemon next Sender: jjfeiler@relief.com Organization: relief consulting Date: Sun, 31 Jan 1993 19:38:51 GMT Does anyone have a ups-daemon that will compile on a NeXT. I'd like to have my machine automatically shutdown when power fails, but the upsd program I got off the archives uses SysV termios stuff, and I'd rather have a BSD version that Just Works (TM) than have to hack this one. Thanks John -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-3344 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBExpressions in propert list of DBRecordList Message-ID: <1993Feb1.161747.2956@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Mon, 1 Feb 93 16:17:47 GMT Has anyone out there gotten DBExpression objects to work in the property list of a query using a DBRecordList? It gets the FROM list wrong in the app I am working on! Thanks in advance for any help. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: List of NeXT Mailing lists Message-ID: <6707@rosie.NeXT.COM> Date: 2 Feb 93 20:13:34 GMT Sender: news@NeXT.COM Hello, Below is the updated list of NeXT SPECIAL INTEREST GROUPS (SIGS). These lists are available for anyone to join with NeXT special interests in many topic areas. Also included is info on the NeXT Developer's email alias that had been accidently dropped from this listing: NeXTSTEP Developer SIG mailing list To join, send email to next-prog-request@cpac.washington.edu Conrad Geiger Manager, International NeXT and NeXTSTEP User Groups _________________________________________________________________ Adobe Illustrator NeXT SIG (ai_next@wcraft.wimsey.bc.ca) To join , email: jchin@wcraft.wimsey.bc.ca Adobe Technology Exchange Phone: (415) 962-4999 AFS NeXT SIG To join, email: info-afs-next-request@transarc.com Auspex Administrators (NFS file servers) To join, send email to: auspex-request@princeton.edu Austrian NeXT users SIG To join, email the text: "SUBSCRIBE nougat <your name>" to listserv@fml.tuwien.ac.at Berkeley Mathematics Software Group Email: nb@cs.stanford.edu Classroom: NeXT Courseware SIG To join, email the text: "SUBSCRIBE next-classroom <your name>" to MAILSERV@gac.edu Communications/TeleCommunications SIG To join, email: nextcomm-request@marble.com Create users NeXT SIG To join, send email to Create-request@mcs.anl.gov Craftman SIG To join, email: chris@nextpoint.de Data GROUP NeXT SIG To join, email: data_group@dazzl.com DataPhile users NeXT SIG To join, send email to DataPhile-request@mcs.anl.gov DBKit SIG mailing list To join, send email to dbkit-request@medequity.com Developer SIG mailing list To join, send email to next-prog-request@cpac.washington.edu Epoch Administrators To join, send email to: epuf-request@antares.mcs.anl.gov Executor SIG To join, email: executor-request@ictv.com Finnish: Finnish Users of NeXT To join, send email to: mailserver@lists.funet.fi and write in body text: HELP LIST SUB FUNeXT Frame: FUN (Frame Users Network) To join, email: framers-request@drd.com Frame User Network -New England (FUNNE) To join, email: funne@srbci.mv.com Gopher users Interest Group To join, email: gopher-news-request@boombox.micro.umn.edu GIS(Geographical Information Services)SIG To join, email: next-gis-request@deltos.com GNU - Objective C Email list To join, email: gnu-objc-request@prep.ai.mit.edu Improv SIG User Group To join, email: improv-request@bmt.gun.com ISDN Mailing List To join, email: isdn-request@csn.org IXKit Mailing List (Indexing Kit) To join, email the text: "SUBSCRIBE ixkit <your name>" to listserv@cubetech.com Japanese: Kanji and Japanese on the NeXT To join, email:next-nihongo-request@pinoko.berkeley.edu Korea NeXT Users To join, email: knext-request@beethoven.gmu.edu Legal Special Interest Group (JuriNUG) To join, email: aba-unix-list-request@cayman.com Legal (ABA) Email Group and send the text: SUB NIL-L <your name> to listserv@austin.onu.edu Mach-informaion Mailing List To join, email: info-mach-request@cs.cmu.edu Maple Special Interest Group To join, email: glabahn@daisy.waterloo.edu Mathematica:Special Interest Group To join. email: mathgroup-request@yoda.physics.unc.edu Medical: NeXTMed SIG To join, email: NeXTMed-request@ulnar.biostr.washington.edu Mesa Email List To join, email: mesa-request@athena.com Music: NeXT Music To join, email: nextmusic-request@wri.com Music Developer SIG To join, email: musickit@ccrma.stanford.edu MUSIC Special Interest Group To join, email the text: "SUBSCRIBE EMUSIC-L <your> <name>" to listserv@AMERICAN.EDU Mexico - Mexico NeXT Discussion List To join, email the text: "SUBSCRIBE MEXNEXT <your> <name>" to listserv@TECMTYVM.bitnet Missouri - MUNUG-L Discussion List To join, email the text: "SUBSCRIBE MUNUG-L <your> <name>" to listserv@UMCVMB.bitnet Next/Apple II SIG Mailing List To join, email: na2sig-request@byu.edu NeXT Programmer SIG mailing list To join, send email to next-prog-request@cpac.washington.edu NeXTDimension SIG To join, email the text: "subscribe dimension <firstname> <lastname>" to listserv@nextasy.physics.mcmaster.ca NeXT- Icons SIG Mailing List To join, email: next-icon-request@bmt.gun.com NeXT Managers SIG (quick tech. answers) To join, email: next-managers-request@stolaf.edu NeXT Q&A's SIG To join, email the text: "SUBSCRIBE NEXT-L <your> <name>" to LISTSERV@BROWNVM.BROWN.EDU NeXTSTEP SIG , the operating environment To join, email the text: "SUBSCRIBE NEXTSTEP <your> <name>" to LISTSERV@IndyCMS.IUPUI.Edu or LISTSERV@IndyCMS.BITNET. Network and Security Management for Installed Labs and Large Installations To join, email: next-lab-request@cs.ubc.ca OBjC and C++ Special Interest Group To join, send a "subscribe" message to Email: gnu-objc-request@prep.ai.mit.edu Publishing Interest Group To join, email: publish-request@chron.com Desktop Pub Information Distribution List To join, email text: "SUB DTP-L <your name" to address: listserv@antigone.uu.holonet.net OMG Info Server To retrieve index, Email: omg_server@omg.org with text:"index" (send "get docs/doclist.txt" to receive listing of OMG documents Publishing Interest Group To join, email: publish-request@chron.com Renderman Special Interest Group To join, email: rman-request@aero.org RightBrain Mail Server For info, email the text "help" to the email address: file-server@rightbrain.com SCIENCE NeXT User Group (SNUG) To join, email: snug-requests@whitewater.chem.wisc.edu Software Review Mailing List To join, email the text: "SUBSCRIBE SOFTREVU <yourname>" to LISTSERV@BrownVM.Brown.EDU S-news (S statistics package) Mailing List To join, email: S-news-request@stat.wisc.edu United Kingdom NeXT Users Mailing List To join: Email: uk-next-users-request@ohm.york.ac.uk, next-uk-usergroups-request@asmec.co.uk, and uk-next-announce-request@asmec.co.uk Unix Mailing List To join, email: info-unix-request@sem.brl.mil WAIS (Wide Area Information Servers, an electronic pubs project) Mailing List To join. email: wais-discussion-request@think.com WAIS (Wide Area Information Servers, unmoderated) Mailing List To join, email: wais-talk-request@think.com
Newsgroups: comp.sys.next.programmer From: plenson@hi_presure_lab (Peter Lenson) Subject: Re: Checking if someone is at the console ( bug corrected) Organization: University of Western Ontario Distribution: usa Date: Mon, 1 Feb 1993 13:48:52 GMT Message-ID: <1993Feb1.134852.16412@julian.uwo.ca> References: <1k4gflINNpl9@uwm.edu> Sender: news@julian.uwo.ca (USENET News System) In article <1k4gflINNpl9@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet) writes: > > Hi, > I noticed that a few people have asked for this code over the > years. So, below is a short snippet that will check to see if a given > user is at the console. Just compile it, and then run it, and then > type in the users name. It probably isn't the most elegant way to do > it, but it works. > > > #include <stdio.h> > #include <utmp.h> > > #define ATCONSOLE 1 > #define FAILED 2 > #define NOTATCONSOLE 3 > > #define MAXNAME 12 > > find_user(char *name) > { > struct utmp ubuf; > FILE *fd; > > if ((fd = fopen("/etc/utmp", "r")) == NULL) { > perror("Can't open /etc/utmp"); > return (FAILED); > } > while (fread((char *) &ubuf, sizeof ubuf, 1, fd) == 1) { > if(strncmp(ubuf.ut_name, name, sizeof(ubuf.ut_name)) == 0 && > strcmp(ubuf.ut_line, "console") == 0) > return ATCONSOLE; > } > return NOTATCONSOLE; > } > > main() { > char *loginName; > loginName = (char *)malloc(sizeof(char) * MAXNAME); > scanf("%s", loginName); > if(find_user(loginName) == ATCONSOLE) > printf("%s is at the console.\n", loginName); > else > printf("%s is not at the console.\n"); > } > -- > > -Scott Violet (xepo@csd4.csd.uwm.edu) The last printf should read printf("%s is not at the console.\n",loginName); better yet main(int argc,char *argv[]) { if (argc != 2) { printf(" Usage: OnConsole UserName \n"); exit(0); } if(find_user(argv[1]) == ATCONSOLE) printf("%s is at the console.\n", argv[1]); else printf("%s is not at the console.\n",argv[1]); }
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Removing images from nibs Date: 2 Feb 1993 11:16:18 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1kll62$p3@steffi.demon.co.uk> Summary: Removing images from nibs There was some talk recently about removing images from nibs in IB via the images suitcase. How do I remove an image from the images suitcase. Im finding that all the images which belong to loaded custom palettes are automatically loaded into any new nibs image suitcase. I do not want this. Cheers.
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: g++ under 3.0: how to? Message-ID: <44401@sdcc12.ucsd.edu> From: mclegg@cs.ucsd.edu (Matthew Clegg) Date: 2 Feb 93 20:07:57 GMT Sender: news@sdcc12.ucsd.edu Followup-To: comp.sys.next.misc Hi there, I apologize for wasting a lot of net.bandwidth with something which is probably a FAQ, but could someone please tell me what is involved in getting g++ running on my NeXT? I just upgraded from 2.1 to 3.0. cc -v outputs the following: Reading specs from /lib/m68k/specs gcc version 1.93 (68k, MIT syntax) Does this mean that I need to upgrade cc (gcc) as well? Thanks in advance, Matt. -- Matthew Clegg, Gradual Student (619) 558-3408 mclegg@cs.ucsd.edu UCSD, Computer Science Jettison the Afterburners!
Newsgroups: comp.sys.next.programmer From: guido@netcom.Netcom.COM (Mark Guidarelli) Subject: Mapping video memory in user address space... Message-ID: <GUIDO.93Jan31193433@netcom.Netcom.COM> Sender: guido@netcom.com (Mark Guidarelli) Organization: Netcom Online Communications Service Distribution: comp.sys.next.programmer Date: Mon, 1 Feb 1993 03:34:33 GMT Sorry if this has already been answered, but I just got netnews access. I am trying to access the video memory directly on a NeXTStation Color. I tried playing around with /dev/vid0 using the ioctl DKIOCGADDR, but that doesn't seem to work. Any advise would be greatly appreciated. -- +--------------------------------------------------------------------------+ | Mark 'Guido' Guidarelli | Electric Image Inc. | STOP Software | | guido@netcom.com | Pasadena, CA | Patents NOW | | (818) 577-1627 | "We terminated LA in T2..." | Join the LPF | | (818) 577-2426 FAX | "...and we're proud of it!" | lpf@uunet.uu.net | +--------------------------------------------------------------------------+ -- +--------------------------------------------------------------------------+ | Mark 'Guido' Guidarelli | Electric Image Inc. | STOP Software | | guido@netcom.com | Pasadena, CA | Patents NOW | | (818) 577-1627 | "We terminated LA in T2..." | Join the LPF | | (818) 577-2426 FAX | "...and we're proud of it!" | lpf@uunet.uu.net | +--------------------------------------------------------------------------+
Newsgroups: comp.sys.next.programmer From: garyc@eecs.nwu.edu (Gary I. Chang) Subject: building NXSplitView with IB?? Message-ID: <1993Feb3.025432.4834@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Wed, 3 Feb 1993 02:54:32 GMT Hi, I was wondering if there a way to build a NXSplitView with IB, such that I don't have to hard-code it using addSubview. (Assuming that I have two scrollViews in one NXSplitView plus some buttons in between) Thanks. -- +----------------+ | Gary I. Chang | +----------------+ Northwestern Univ. E-Mail: garyc@eecs.nwu.edu
From: efc@athena.mit.edu (Eric Celeste) Newsgroups: comp.sys.next.programmer Subject: Laserdisc source code Date: 3 Feb 1993 03:26:28 GMT Organization: Massachusetts Institute of Technology Message-ID: <1kne14INNsv6@senator-bedfellow.MIT.EDU> Summary: Need source code example for driving Sony LDP Keywords: sony laserdisc ldp I have a Sony LDP-1450 laserdisc player that I want to drive from my NeXT computer. The owners manual has no information about the computer interface, aside from the RS-232 pinouts. Does anyone have any Sony documentation or laserdisc source code they could share? Thanks! ...Eric MIT Libraries efc@mit.edu -- ------------------------------------------------- Eric Celeste / MIT Libraries / efc@athena.mit.edu -------------------------------------------------
Newsgroups: comp.sys.next.programmer Subject: Services error-handling question. Message-ID: <SCOTT.93Feb2203649@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 2 Feb 93 20:36:49 Distribution: world Organization: Is a sign of weakness I'm working on a Services-provider, and in some cases I need to return an error message to the caller. Unfortunately, this doesn't seem to work reliably. If I have an error when handling a service that returns no data on the pasteboard, then my error message is never displayed. Meanwhile, if I contrive to return an error for a service that _does_ return data on the pasteboard, the error message _is_ displayed. Lastly, if I first use a service that does require return data, and then use one that does not return data, the error message _is_ displayed. To summarize, error messages appear not to be noticed until such time as you call a service that returns data on the pasteboard, at which point they are noticed. Any ideas? This is under NS2.1. NeXTanswers turned up nothing, but it's not the latest release and I couldn't get through to sonata for some reason ... Thanks, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
From: efc@athena.mit.edu (Eric Celeste) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowser Date: 3 Feb 1993 03:57:33 GMT Organization: Massachusetts Institute of Technology Message-ID: <1knfrdINNfb@senator-bedfellow.MIT.EDU> References: <1993Jan28.193706.2979@leland.Stanford.EDU> > I want the program to start with nothing in the list and as the > user adds objects, the NXBrowser should display their titles. But > I'm kind of confused as to what exactly I'm supposed to set up > (matrix,delegate, NXBrowserCells) and how to do this. Not much to go on, here, so I will make a few assumptions... (1) Your list is not hierarchical, in other words, the browser will only have a single column; (2) your list is being kept as a List object name "myList" whose members know how to respond to the message "stringValue" with the string you would like to show as the title; (3) the setup in InterfaceBuilder is that you have a Coordinator object with an outlet named "myBrowser" which is connected to an NXBrowser, the NXBrowser, in return, has its "delegate" outlet connected to the Coordinator object. At some point the "user adds objects" and your Coordinator has a snippet of code like... [myList addObject:theUsersNewObject]; At this point (or soon afterwards) you will want your browser to catch up with the new reality, so you should add the following line (column zero being the first and only column in your browser anyway)... [myBrowser reloadColumn:0]; This will actually force the browser to rebuild itself (yes, this is brutish and there are more efficient ways, but this is the easiest to understand). When the browser starts building itself it will ask it delegate a number of questions. One question is "how big am I?" To answer that you need to implement a method like the following... - (int)browser:sender getNumRowsInColumn:(int)column { /* Tell a browser how many rows there should be. */ return [myList count]; } The browser will also ask what text it should use to fill in each row. To give it the answer you will need a method like this... - browser:sender loadCell:cell atRow:(int)row inColumn:(int)column { /* Load proper value into a browser cell. */ [cell setStringValue:[[myList objectAt:row] stringValue]; [cell setLoaded:YES]; [cell setLeaf:YES]; return self; } That is enough to build the browser. To respond to the user's clicks in the browser you need to make sure to connect the browser's target to some action within the Coordinator in InterfaceBuilder. For instance, if you created an action method in your Coordinator called "browserHit" you might have the following code... - browserHit:sender { /* Respond to a click in the browser. */ int row; row = [[sender matrixInColumn:0] selectedRow]; /* Now do something about the row that was selected. */ return self; } I hope this helps give you a sense of how to structure your interaction with an NXBrowser. There is, of course, tons of flexibility in the NXBrowser class and you can set things up in many different ways... this is just one way. Enjoy! ...Eric MIT Libraries efc@mit.edu -- ------------------------------------------------- Eric Celeste / MIT Libraries / efc@athena.mit.edu -------------------------------------------------
From: tacchi@ccu.umanitoba.ca (Mark G. Tacchi) Newsgroups: comp.sys.next.programmer Subject: DSP for solution of linear equations? Message-ID: <C1uy7t.7A0@ccu.umanitoba.ca> Date: 3 Feb 93 05:35:53 GMT Sender: news@ccu.umanitoba.ca Organization: University of Manitoba, Winnipeg, Canada Does anyone know if sample code exists that allows a nXn matrix to be inverted and multiplied using the DSP? I want to try using it for some FEM stuff. I would like to read in a file containing two matrices X & Y, invert X, and then multiply it with Y. BTW, is the DSP a good route for going this or should I not bother? And how much faster is it? -Mark -- Mark G. Tacchi tacchi@next01.cc.umanitoba.ca Unix Support Group (NeXT Mail Welcome) University of Manitoba Computer Services "My opinions are my own, and do not necessarily reflect those of my employer."
From: wjs@blorf.omnigroup.com (William Shipley) Newsgroups: comp.sys.next.programmer Subject: Re: DBKit and autosave Date: 3 Feb 1993 12:35:10 GMT Organization: University of Washington Message-ID: <1koe5uINNdv9@shelley.u.washington.edu> References: <C1sFvw.DwB@ms.uky.edu> kevins@slow.inslab.uky.edu writes > Anyone know how (besides subclassing) to get a DBFetchGroup to auto save > changes? Create an association in IB from any property in the table in question (or even, I believe, just the table itself) to a custom controller object. This object should implement "asociationSelectionDidChange:" and simply call [module saveChanges:self] on the module in question. -William Shipley The Omni Group DBkit consulting, plus oh-so-much more!
Newsgroups: comp.sys.next.programmer From: se16@titus.nextlab.cs.qub.ac.uk (Infinity) Subject: A Calendar palette/class anyone? Message-ID: <1993Feb3.131359.5215@ousrvr.oulu.fi> Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Wed, 3 Feb 1993 13:13:59 GMT I have been looking for a calender palette/class, can anyone help me? ( I run NS 2.1; no 3.0 yet "boo hoo" :-( ) I have a file from sonata.cc.purdue.edu called 3.0Palette.Calendar.v1.0.compressed. I tried "uncompress"-ing the file but Ib didn't recognise it. So I haven't been able to see If it needs NS 3.0. Can anyone help me? Paul.
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: DPSmoveto vs. PSmoveto Date: 3 Feb 1993 17:43:14 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1kp07iINN87n@uwm.edu> Originator: xepo@csd4.csd.uwm.edu HI all, I am trying to use some of the DPS wraps in one of my programms and am having quite some trouble getting them to go. What I am wondering is if there is some library that I am not linking. What happens is that if I have a DPSmoveto(...) in my program and try makeing it, the object files get created fine, but then when it comes to linking everything together I get a: _DPSmoveto undefined symbol. This problem is not unique to the DPSmoveto, but if I try any of the other DPS wraps, I get the same thing. Any suggestions on what I am doing wrong would be great. Thanks in advance, -- -Scott Violet (xepo@csd4.csd.uwm.edu)
Newsgroups: comp.sys.next.programmer From: brian@owl.mn.org (Brian Waterhouse) Subject: Next as phone via Hayes ISDN extender Message-ID: <1993Feb3.035820.21671@owl.mn.org> Keywords: ISDN, Organization: Objectives With Logic Date: Wed, 3 Feb 1993 03:58:20 GMT I would like to use my NeXT as a telephone. Essentially, I want to be able to play the sound of the remote party as it comes in and also speak to the remote party via the built in microphone. I have the phonekit examples and have the part built where it dials out and all that stuff. My question is what is the best way to take the incoming data and send it to the speaker via the sound kit. It is quite straightforward if the sound is coming from a file. Do I need to allocate a sound structure and make the buffer address of the structure point to the incoming data buffer intercepted via the dataReceived method for the phone kit? What is the best way to get the incoming data buffer from the dataReceived method into the sound structure so I can play it? thx, brian -- Brian Waterhouse Objects With Logic, Inc. (612)751-4128 4820 37th Ave So
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Does the appkit copy strings? Keywords: appkit, setTitle, setTitleNoCopy Message-ID: <6717@rosie.NeXT.COM> Date: 3 Feb 93 18:18:26 GMT References: <1993Jan29.224025.573@aplki.toppoint.de> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1993Jan29.224025.573@aplki.toppoint.de> ploeger@aplki.toppoint.de writes: >Is it safe to assume that appkit's methods that take a (const char*) parameter >will make their own copy of that string and don't just memorize it's address? Unless specified otherwise, this should always the case. Any method which takes a string copies the string if it needs to hang on to it. It's also usually the case that when you ask for a string back, you get back a pointer to a buffer that belongs to the callee; thus, if you need to hang on it, you need to copy it. This is the case with NXRects, NXPoints, and NXSizes as well; when you call setFrame:, for instance, the NXRect you specify as the argument is copied into the object. (Because NXRects are usually returned with getFrame: type calls, you provide the memory, so the return case is a bit different.) The rules aren't as straightforward for more complicated objects; in those cases you should look at the documentation. These more complicated cases include returning List instances, arrays of strings, etc. Ali, Ali_Ozer@NeXT.com
From: yu@cs.utexas.edu (Yeong-Ho Yu) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Formats of libraries and shared libraries Followup-To: comp.sys.next.programmer Date: 3 Feb 1993 14:19:22 -0600 Organization: CS Dept, University of Texas at Austin Message-ID: <ln0a6aINNk5u@ai.cs.utexas.edu> Keywords: format, library, shared library Would somebody tell me the formats of the library and shared library files? I am trying to do some patch work directly on NeXT shared library files. I want to know how I can find where the specific method of a class start. Also, if anybody has experiences on this kind of patch work, please give me some directions how to do it. Many thanks. Yeong Yu yu@cs.utexas.edu ----------------
Newsgroups: comp.sys.next.programmer From: tagreen@lothario.cica.indiana.edu (Todd A Green) Subject: Re: Mapping video memory in user address space... Message-ID: <C1sCrt.2o5@usenet.ucs.indiana.edu> Sender: news@usenet.ucs.indiana.edu (USENET News System) Organization: CICA - Center for Innovative Computer Applications References: <GUIDO.93Jan31193433@netcom.Netcom.COM> Distribution: comp.sys.next.programmer Date: Mon, 1 Feb 1993 19:57:28 GMT guido@netcom.Netcom.COM (Mark Guidarelli) writes: > > [how to write directly to the screen] Here is a quick program (off the top of my head) to write directly to a NSC's video memory. It'll save the screen in a buffer, fill the screen with red and then repaint the screen with its original contents. Note that even though the screen is 12bits deep, 16bits are allocated for each pixel (hence an easy to use 2bytes/pixel instead of 1.5b/pixel). Also note that you can achive better speed by using a pointer to unsigned long as your "screenBase", so that you can do longword moves, but that all operations will be two pixels at a time. Also note that this is pretty much hard coded for a NeXTstation Color (since it is a quick example). Use the constants in video.h to make your code portable between the 2bit and 12bit machines. Now does anyone know how to sync to the vertical retrace to have some real fun??? Why won't NeXT document these things so that we don't have to poke around it header files scrounging for truth? Todd -- NeXTmail: tagreen@cica.indiana.edu // ------- clip here ---------- #include <libc.h> #include <sys/file.h> #include <sys/ioctl.h> #include "video.h" // either in /usr/include/nextdev on a 2.x system // or bsd/dev/m68k on 3.0 #define kNumPixels (C16_VIDEO_MW * C16_VIDEO_MH) int main(void) { unsigned short *screenBase; // acutal base addr unsigned short *buf; // my copy of screen unsigned short *tsb, *tb; // tmp ptrs to above int fd; // /dev/vid0 file des. short color = 0xF000; // red int i; // loop counter if ((fd = open("/dev/vid0", O_RDWR)) < 0) { perror("Couldn't open vid memory for read_write"); exit(1); } if (ioctl(fd, DKIOCGADDR, &screenBase) < 0) { perror("ioctl failed"); exit(1); } close(fd); buf = (unsigned short *)malloc(kNumPixels * sizeof(short)); for (i = 0, tsb = screenBase, tb = buf; i < kNumPixels; i++) *(tb++) = *(tsb++); // save the screen for (i = 0, tsb = screenBase, tb = buf; i < kNumPixels; i++) *(tsb++) = color; // fill it in with "color" for (i = 0, tsb = screenBase, tb = buf; i < kNumPixels; i++) *(tsb++) = *(tb++); // restore screen exit(0);
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: verket@venice.sedd.trw.com (Paul Verket) Subject: Re: pCD dies when reading an image. Message-ID: <1993Feb3.210102.757@venice.sedd.trw.com> Sender: news@venice.sedd.trw.com (USENET News) Organization: TRW Systems Engineering & Development Division, Carson, CA References: <1993Feb2.124829.14202@alf.uib.no> Date: Wed, 3 Feb 1993 21:01:02 GMT Thor Legvold (edmtl@alf.uib.no) wrote: : I fired up pCD, chose 'open Photo CD volume', and when I click on : an image the program dies, without any message to the console. : : I am able to read the disk fine, and all the files have the generic : icon attached. Could someone give me a clue what I'm doing wrong? There are at least four versions of pCD. I couldn't get the unlabeled (arbitrarily named 0.1) version from sonata to work (it would die quietly). Versions 0.2 through 0.3.1 work fine. Try: host: eclipse.its.rpi.edu [ IP= 128.113.24.91 ] directory: NeXT files: pCD0.3.1.README pCD0.3.1.compressed Paul Verket (NeXTmail ok)
Newsgroups: comp.sys.next.programmer From: wisdom@geom.umn.edu (Scott Wisdom) Subject: Re: Mapping video memory in user address space... Message-ID: <C1sFuE.Auz@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: Geometry Center, University of Minnesota References: <GUIDO.93Jan31193433@netcom.Netcom.COM> <C1sCrt.2o5@usenet.ucs.indiana.edu> Distribution: comp.sys.next.programmer Date: Mon, 1 Feb 1993 21:03:49 GMT In article <C1sCrt.2o5@usenet.ucs.indiana.edu> tagreen@lothario.cica.indiana.edu (Todd A Green) writes: >guido@netcom.Netcom.COM (Mark Guidarelli) writes: >> >> [how to write directly to the screen] > >Here is a quick program (off the top of my head) to write directly to a >NSC's video memory. It'll save the screen in a buffer, fill the screen >..... >#include "video.h" // either in /usr/include/nextdev on a 2.x system > // or bsd/dev/m68k on 3.0 This program does not compile on a 3.0 machine - NeXT changed C16_VIDEO_MW and C16_VIDEO_MH. Now there is #define C16_VIDEO_1120x832_MW ((dma_chip == 313)? 1152 : 1120) #define C16_VIDEO_1120x832_MH ((dma_chip == 313)? 910 : 936) but when I try to compile this, it complains that dma_chip is not defined. There is an external reference to it in the bsd/m68k/cpu.h include file, but including this file makes no difference (the external reference is delimited by a #ifndef ASSEMBLER block). If I add this external reference to the program manually, the linker complains that _dma_chip is an undefined symbol, and I can't seem to find a library which has this symbol. Very strange. If I define C16_VIDEO_MW and C16_VIDEO_MH to be 1152 and 910 (the defined values in 2.x) then the program will work. Does anyone know anything about this dma_chip? Hmmm. What am I missing? -Scott Wisdom wisdom@geom.umn.edu
Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin,comp.soft-sys.nextstep From: draphsor@deathstar.Stanford.EDU (Matt Rollefson) Subject: Re: M.M and R.W at NeXT Message-ID: <1993Feb3.234037.17803@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: Residential Computing, Stanford University References: <YfOfSwi00WBL02AFcp@andrew.cmu.edu> Date: Wed, 3 Feb 93 23:40:37 GMT In comp.sys.next.sysadmin Yael Shavit <ys11+@andrew.cmu.edu> writes: >I'm looking for the e-mail address and/or phone number of the following >people at NeXT: > Morrise Meyer, > Richard Williamson. Pretty much all NeXT employees are reachable by sending email to Firstname_Lastname@next.com, eg: Morrise_Meyer@next.com Rollie -- Matt Rollefson ("Rollie") draphsor@deathstar.stanford.edu Residential Computing, Stanford University NeXTmail accepted
From: mahmud@cephalo.neusc.bcm.tmc.edu (Mahmud Haque) Newsgroups: comp.sys.next.programmer Subject: A Terminal object/palette/class ??? Date: 3 Feb 1993 23:54:28 GMT Organization: Baylor College of Medicine, Houston,Tx Distribution: world Message-ID: <1kplvkINNcla@gazette.bcm.tmc.edu> I am looking for a terminal object/palette/class, can anyone help ? Thanks in advance. Mahmud Haque -- Mahmud Haque Internet: mahmud@bcm.tmc.edu Division of Neuroscience uucp: {uunet,shell,rice}!cephalo!mahmud Baylor College of Medicine Bitnet: mahmud%bcm.tmc.edu@CUNYVM Houston, Tx 77030 mahmud%bcm.tmc.edu@PSUVAX1
Newsgroups: comp.sys.next.programmer From: daj@ccrma.stanford.edu Subject: Re: <Help: DSP Assembler> How to access D/A converter? Message-ID: <1993Feb4.020353.23385@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <2B6728CE.6A0E@deneva.sdd.trw.com> Date: Thu, 4 Feb 93 02:03:53 GMT In article <2B6728CE.6A0E@deneva.sdd.trw.com> kieffer@spf.trw.com (Robert Kieffer) writes: > Hi folks, > > Does anyone have experience with accessing the D/A converters from within > a DSP assembly program? > > Basically, I'm writting a DSP assembly program to pipe a sine wave to the > speakers but I don't have any idea how to access the D/A converters. > > I've played with the "dspbeep" program supplied with 2.0 (... and no > longer present in 3.0). Does anyone have the assembler source code for > this? > > Similiarly, any information about accessing the microphone input would be > helpful as well. > > Any help on this or related subjects would be appreciated! > > Thanks, > Robert Kieffer > kieffer@spf.trw.com A good way to do it is to use the Music Kit, which makes these kinds of things very easy. You can get the Music Kit from ccrma-ftp.stanford.edu. Many things you might want to do can be done without writing any DSP code. Other things require a small amount of DSP code in the form of Music Kit "unit generators". The Music Kit package includes programming examples and extensive documentation.
Newsgroups: comp.sys.next.programmer From: stoyani@quig20.alleg.edu (Ivailo Stoyanov) Subject: communication Client/Cerver? Message-ID: <1993Feb3.195148.23140@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Wed, 3 Feb 1993 19:51:48 GMT I am trying to establish two-way communication bt a client and a server object used in two programs running on different machines. The on-line documentation of 3.0 I have says something about how to establish one-way communication (for example, a client program asks an object on a server machine for data) and it works but there is not much about the case when both have to exchange messages. I always end up in a kind of a deadlock. Anyone with experience? Thank you. Ivailo Stoyanov stoyani@alleg.edu Meadville, PA 16335
From: bbum@stone.com Newsgroups: comp.sys.next.programmer Subject: Re: Mapping video memory in user address space... Message-ID: <1993Feb1.225809.429@stone.com> Date: 1 Feb 93 22:58:09 GMT Article-I.D.: stone.1993Feb1.225809.429 References: <C1sCrt.2o5@usenet.ucs.indiana.edu> Sender: bbum@stone.com Distribution: comp.sys.next.programmer Organization: Stone Design Corp In article <C1sCrt.2o5@usenet.ucs.indiana.edu> tagreen@lothario.cica.indiana.edu (Todd A Green) writes: > guido@netcom.Netcom.COM (Mark Guidarelli) writes: [ ... useful explanation deleted ... ] > > Todd > -- > NeXTmail: tagreen@cica.indiana.edu [ ... 2.0 that was supposed to be compatible w/ 3.0 code deleted ... ] At the end of this message is a modified version of Todd's code that compiles and runs under 3.0-- but it isn't correct. C16_VIDEO_MW & C16_VIDEO_MH don't exist under 3.0-- instead, there is C16_VIDEO_1120x832_MW & C16_VIDEO_1120x832_MH... But those don't work -- they use an extern var called dma_chip, which seems to be the version # of the dma chip in the machine. This dma_chip is defined in <bsd/m68k/cpu.h> -- but requires that either STANDALONE or KERNEL is definied. Compiling with STANDALONE defined (I chose that over KERNEL because it probably has less side effects in other .h files) works, but the resulting .o file is unlinkable because of an unresolved reference. So, for now, I simply use C16_VIDEO_1120x832_W & C16_VIDEO_1120x832_H -- which works, but is not the correct numbers to use.... To make things really fly, you don't want to use the for loops that Todd has in there-- they are exceedingly slow at moving contiguous chunks of memory as in comparison to bcopy() (which is just a #define for memmove())... Using bcopy, you can easily save and restore the screen in under a single refresh worth of time (of course, getting the damned memory to move during the refresh is another problem entirely-- one that would involve a kernel server to fix). b.bum The code: #include <libc.h> #include <sys/file.h> #include <sys/ioctl.h> #include <bsd/dev/m68k/video.h> // #include <bsd/m68k/cpu.h> #define kNumPixels (C16_VIDEO_1120x832_W * C16_VIDEO_1120x832_H) int main(void) { unsigned short *screenBase; // acutal base addr unsigned short *buf; // my copy of screen unsigned short *tsb, *tb; // tmp ptrs to above int fd; // /dev/vid0 file des. short color = 0xF000; // red int i; // loop counter if ((fd = open("/dev/vid0", O_RDWR)) < 0) { perror("Couldn't open vid memory for read_write"); exit(1); } if (ioctl(fd, DKIOCGADDR, &screenBase) < 0) { perror("ioctl failed"); exit(1); } close(fd); buf = (unsigned short *)malloc(kNumPixels * sizeof(short)); for (i = 0, tsb = screenBase, tb = buf; i < kNumPixels; i++) *(tb++) = *(tsb++); // save the screen for (i = 0, tsb = screenBase, tb = buf; i < kNumPixels; i++) *(tsb++) = color; // fill it in with "color" for (i = 0, tsb = screenBase, tb = buf; i < kNumPixels; i++) *(tsb++) = *(tb++); // restore screen exit(0); } -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: b_brottier@cubx.com Subject: Repas developpeur du mois de Fevrier... Message-ID: <1993Feb3.150637.27349@cubx.fdn.org> Sender: news@cubx.fdn.org Organization: Cub'X Systemes, France. Date: Wed, 3 Feb 1993 15:06:37 GMT Bonjour a tous ! Appel a Christian, Hubert, Patrick, Laszlo, Joseph et les autres, le diner developpeur est prevu le jeudi 11 Fevrier, le soir a 20h00 Mailez-moi si vous venez. Le restaurant ou nous dinerons est le restaurant habituel, a savoir: Le Petit Laugier 83 rue laugier 75017 Paris pres porte Champerret tel: 42.67.82.14 Comme toujours, ce diner est ouvert, qui veut vient, la PAF est d'environ 150 ff pour ceux qui ne participent pas a la formation. Ce diner commence a rassembler autour de la table des habitues dont je ne pourrai pas faire la liste tres longtemps. J'attends toujours la personne qui se decidera a transformer ce groupe en un vrai NeXT User Group, ce que je ne peux pas faire au nom d'une organisation commerciale... A plus ! BB PS:Je vous rappelle que ce diner permet de faire plus ample connaissance avec le monde NeXTSTEP. Il a lieu a (presque) chaque session de formation realisee par improve, soit une a deux fois par mois. --------------------------- Bruno Brottier -- Responsable Formation Societe improve sa, 41-41 bis, avenue de l'Europe - 78140 VELIZY - FRANCE Tel : (+33) (1) 30 70 60 56 Fax : (+33) (1) 30 70 89 36 E-mail: b_brottier@cubx.com -- [NeXTmail]
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: stark@superc.che.udel.edu (Scott M. Stark) Subject: Problems with recvfrom(2) Message-ID: <1993Feb4.091953.21794@udel.edu> Keywords: recvfrom, UDP Sender: usenet@udel.edu (USENET News Service) Organization: University of Delaware Date: Thu, 4 Feb 1993 09:19:53 GMT Has anyone had experience using the recvfrom(2) call using a UDP protocol? I can not get an example program from Stevens "UNIX Network Programming" book to work because the recvfrom call fails. The error message is bad address. The example works fine on an RS6000 and Sun4. Thanks, Scott -- Scott Stark University of Delaware Department of Chemical Engineering 123 Colburn Lab Newark, DE 19716-3119 (302) 831-6713
From: hironobu@ext247.sra.co.jp (Hironobu Suzuki) Newsgroups: comp.sys.next.programmer Subject: expaned partition data in disktab Keywords: kernel, filesystem, workspace Message-ID: <1383@sran265.sra.co.jp> Date: 4 Feb 93 11:38:22 GMT Sender: news@sran265.sra.co.jp NeXT OS have expanded partition data structure. partition have p_mountpt entry for mount point to mount itself. (see sys/disktab.h) But NeXT OS seems that p_mountpt isn't used. And Workspace or automount can't handle multi-partition. And I guess NeXT OS not provide commands to write mount point information into p_mountpt. Does anyone have information to handle expanded partition data entry? or how to automatically mount multi-partition disk? --hironobu nd Workspace or automount can't handle multi-partition. And I guess NeXT OS not provide commands to write mount point information into p_mountpt. Does anyone have informatio
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1kp07iINN87n@uwm.edu> Control: cancel <1kp07iINN87n@uwm.edu> Date: 4 Feb 1993 16:57:24 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1krhtkINNlui@uwm.edu> References: <1kp07iINN87n@uwm.edu> Originator: xepo@csd4.csd.uwm.edu This message was cancelled from within rn. -- -Scott Violet (xepo@csd4.csd.uwm.edu)
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Questions about saving Objective-C objects Message-ID: <6726@rosie.NeXT.COM> Date: 4 Feb 93 17:05:47 GMT References: <1993Jan29.185205.4792@nugget.rmNUG.ORG> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1993Jan29.185205.4792@nugget.rmNUG.ORG> mark@WhosNext.rmNUG.ORG writes: >I'm having trouble saving a list object to a file. > ... > typedStream = NXOpenTypedStreamForFile(filename, NX_WRITEONLY); > [attributeList write: typedStream]; > NXCloseTypedStream(typedStream); > ... >But when I execute this I get an error: > Typed streams library error: NXWriteObjectReference: NXWriteRootObject > has not been previously done You should never send write: directly to an object; you call NXWriteObject() or NXWriteRootObject() and the typedstreams stuff ends up calling write: for you. One situation where you do call write: is where you override the write: method in an class; then you should call [super write:stream] before you write your own stuff. Ali, Ali_Ozer@NeXT.com
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Problems with initializing NXBitmapImageRep Message-ID: <6727@rosie.NeXT.COM> Date: 4 Feb 93 17:07:39 GMT References: <1kd93vINN1ih@morrow.stanford.edu> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1kd93vINN1ih@morrow.stanford.edu> shiffman@camis.stanford.edu writes: >I am trying to initialize a NXBitmapImageRep object so that I can later read a >16 bit grayscale 512X512 raw image into it, and I get the following error >message: >Inconsistent set of values to create NXBitmapImageRep You cannot create NXBitmapImageReps with data that has 16 bits per sample. 1, 2, 4, 8, and 12 are the only legal options. Ali, Ali_Ozer@NeXT.com
From: cbarber@bbn.com (Chris Barber) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Re: lseek(bad filedes) crashes NeXT2.1 Date: 4 Feb 1993 21:54:57 GMT Organization: Bolt Beranek and Newman (BBN) Message-ID: <ln345hINN4bg@news.bbn.com> References: <1kmeic$p05@agate.berkeley.edu> In article <1kmeic$p05@agate.berkeley.edu> stolcke@icsi.Berkeley.EDU (Andreas Stolcke) writes: The little program below tests the file descriptors from 0 ot 31 for open-ness by performing an lseek and checking errno. This happens to consistently crash out NeXT cube running the 2.1 release. Question #1: Is this a known problem? Question #2: Is there a fix for it. The problem doesn't seem to be specific to lseek. A similar program using select(2) to test the file descriptors also crashes the machine. I consider this a very bad bug since it means that any program that is not careful with open's and close's can produce very bad surprises. #include <errno.h> extern int errno; extern long lseek(); main() { int i; printf("Open streams:"); for (i = 0; i < 32; i++) { if (lseek(i, 0L, 1) >= 0 || errno == ESPIPE) { printf(" %d", i); } else if (errno != EBADF) { extern char *sys_errlist[]; printf(" error on %d: %s", i, sys_errlist[errno]); } } printf("\n"); exit(0); } I discovered this bug last summer and reported it to bug_next@next.com but didn't hear anything back about it. Basically, the problem occurs for the following set of conditions: - a file access function requiring an open file descriptor is used on a descriptor which is not open. - the file descriptor is >= 20 - the function is repeated in a tight loop You will probably notice that putting a small delay in the loop will make the problem go away. The more correct way to deal with the bug is to use fstat() to see if the file is open before you do anything. Note that a single random access to an unopened file descriptor will not bring about the bug, nor will anything done with a fd less than 20. -- Christopher Barber (cbarber@bbn.com)
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: Pencom Software Seeks 15 NeXT Engineers (Nationwide US and Canada) Message-ID: <6731@rosie.NeXT.COM> Date: 4 Feb 93 21:23:45 GMT Sender: news@NeXT.COM For more information, contact: Clint Tomlinson Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512/346-6444 E-Mail: clint@pencom.com Pencom Software Seeks 15 NeXT Engineers Location: North America (Northeast, Midwest, Texas, West, Canada) AUSTIN, TEXAS - February 04, 1993 - Pencom Software's team of NeXT engineers are specifically dedicated to serving both developers and end user organizations equipped with workstations and software from NeXT Computer, Incorporated. Already a NeXT-authorized systems integrator as well as a registered NeXT software developer, Pencom is expanding the service to capitalize on the growth NeXT has recently experienced. Pencom Software is a division of Pencom Systems Incorporated, a New York-based firm providing software engineering and manpower resources to Fortune 500 companies and leading computer firms since 1973. Currently the largest recruiting firm specializing in the UNIX/Open Systems market, Pencom employs over 500 people and maintains a large heterogeneous network of workstations including more than 70 NeXT machines. The following positions are available in the United States and in Canada: TEXAS 1- Senior Database Specialist * 5+ years database design and database applications development experience * 3 years application development experience in a UNIX environment * 2 years DBMS experience using an SQL-based DBMS * 1+ year applications experience in the NeXTSTEP environment * Strong background in proposal generation, system specification, third-party software evaluation, technology transfer, rapid prototyping * Experience with AppKit, DBKit, NeXTSTEP 3.0, OOD, C++, Objective-C * GUI and Porting experience NORTHEAST 3 - Development Technical Leads * Strong NeXTSTEP applications development * Strong UNIX/C, database programming (Sybase, Oracle, Informix) * Objective-C, AppKit, Interface Builder * High level applications design and rapid prototyping * Project/Technical lead experience * Good interpersonal skills (oral and written) * Technical support/OOP, OOD methodology transfer * 6 to 10 years experience 1 - System Administrator * NeXT/Sun/UNIX system administration * Network Management background * Objective-C or C++ * Background in a heterogeneous systems environment a must 1 - Software Engineer * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder * High level design, rapid prototyping * Ability to work in a dynamic team environment * Strong Objective-C or C++ * 5 to 8 years experience WEST 1 - Senior Database Specialist * 5+ years database design and database applications development (ORACLE preferred) * 3 years UNIX application development * 2 years RDBMS experience using an SQL-based RDBMS * 2+ year NeXTSTEP applications * AppKit, DBKit, NeXTSTEP 3.0, OOD, Objective-C MIDWEST 1 - Senior Systems Engineer * Provide NeXT applications development and support * Project Management/Project Lead experience * Very strong interpersonal skills, technical marketing experience a plus * Technology transfer of OOD, OOP methodologies * NeXTSTEP, Appkit, DBKit, Objective-C or C++ * 6 to 10 years experience 1 - Senior Applications Development Engineer * 5-7 years UNIX/C applications development * Financial applications (Equity Trading Systems in particular) * 1+ years NeXT/NeXTSTEP/AppKit/ DBKit/Objective-C * Sun, SYBASE/C++ a plus 4 - Software Engineers * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder * High level design, rapid prototyping in NeXT environment * Strong Objective-C or C++ * 2 to 5 years experience CANADA 2 - NeXT Contract Engineers * Strong NeXTSTEP applications development * Strong UNIX, Objective-C, C++ * AppKit, Interface Builder, DBKit required * Strong RDBMS * Transfer of NeXT technology * Software training or teaching experience * 6 to 10 years experience Sorry, these positions require permanent residence and 2+ years industry experience..Thank you for your understanding... More positions available soon!! For more information, contact: Clint Tomlinson Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512/346-6444 E-Mail: clint@pencom.com
From: root@scarolina.cerfnet.com (Operator) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: rarpd for the neXT Date: 4 Feb 1993 23:10:31 GMT Organization: CERFnet Message-ID: <1ks7p7INN37q@news.cerf.net> Keywords: rarpd, ethernet Hello, Have any of you gotten rarpd working on the NeXT? If so, can you tell me where you got it, and how you got it working. I am trying to set up diskless sun3/50 as an Xterminal for my next (a cheap way of getting another working place) and it requires rarpd, from what I can see. Any help would be greatly appreciated. Please respond to fasano@scarolina.cerfnet.com Thanks, Chris Fasano Francis Marion Univ.
Newsgroups: comp.sys.next.programmer From: guy@infotec.ch (Guy Roberts) Subject: How do I provide a service asynchronously ? Message-ID: <1993Feb2.095229.2507@infotec.ch> Keywords: NeXTStep Services database access asynchronous Organization: Infotec S.A. Distribution: comp.sys.next.programmer Date: Tue, 2 Feb 1993 09:52:29 GMT Can anybody suggest a way to return data from a service request asynchronously ? All of the examples that I have seen so far are for synchronous return of data. Somebody clicks on a service menu item, the services delegate gets a message like doWork: pasteboard userData: (const char *) userData error: (char **) msg; does some work and then synchronously returns the calculated result. I would like my process to be able to postpone the return of data for an arbitrary length of time and then reply. The on line document about NeXT services refers to an example database look up service (last page) but this does not return the value to the application which requested the service. I would like to paste such values and graphics into other apps, but the data source is async. Any ideas ? Guy Roberts, Infotec, Switzerland, guy@infotec.ch -- Guy Roberts (guy@infotec.ch)Infotec S.A. phone: 022 738 44 36 5, Place Cornavin, fax: 022 738 29 12 Geneve, Switzerland.
Newsgroups: comp.sys.next.programmer From: zqx@wucs1.wustl.edu (Zeqing Xia) Subject: C++ template doesn't work on NeXT? Message-ID: <1993Feb5.010038.16127@wuecl.wustl.edu> Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO Date: Fri, 5 Feb 1993 01:00:38 GMT Hi, everyone, It seems to me that template does not work on the C++ on NeXT. I can not define a template for my binary tree classes. Am I right or something in wrong in my dcl? Thanks. Zeqing Xia
Newsgroups: comp.sys.next.programmer From: ncho@gmuvax2.gmu.edu (VFR750F) Subject: C++ w/ 3.0 ?? Message-ID: <1993Feb5.005934.2817@gmuvax2.gmu.edu> Followup-To: ncho@isse.gmu.edu Summary: compiling libraries Keywords: c++, compiling, gnu Organization: George Mason University, Fairfax, Va. References: <1993Jan28.185807.16940@afterlife.ncsc.mil> Date: Fri, 5 Feb 1993 00:59:34 GMT I'm having trouble getting a simple c++ program to compile on the NeXT running 3.0 OS. I've got a copy of the gnu libg++ libraries & have munged with it following recommendations from NeXTAnswers docs, & libg++-1.39.0.diffs.Z file from nova.cc.purdue.edu , to no success, it pukes & keeps on puking. Is anyone using c++ on NOS3.0 ? If so how ??? HELP! ps, please email replies & I'll post summary.
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Menu gone in IB Message-ID: <1993Feb4.193830.20218@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Thu, 4 Feb 1993 19:38:30 GMT Boy do I feel silly, but I can't figure this out. The icon for my Main Menu is there when I look at my nib file in IB, and the menu comes up fine when I run the app. But when I double click on the icon in IB the menu is nowhere to be found. I've looked under every window. Needless to say this makes it a little difficult to add new items or make new connections. How do I get my menu back? Please, put me out of my misery. Thanks, Colin Garrett colin@delphi.bsd.uchicago.edu (NeXTMail)
Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer From: amun@quads.uchicago.edu (james frederick amundson) Subject: NeXT editors Message-ID: <1993Feb5.011141.4019@midway.uchicago.edu> Summary: What do power users use? Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Fri, 5 Feb 1993 01:11:41 GMT I'm currently a mac user, but I'm contemplating switching to NeXT. One of my big questions is about editors available for the NeXT. What do NeXT power users use for an editor? Right now my favorite thing about my Macintosh is the editor I use, Alpha. I'm afraid that I'm going to miss it if I go to NeXT. I hope someone out there can allay my fears. I've used Emacs and I understand its appeal, but there are several things that Alpha does for me that Emacs will not. Will whatever editor I use on the NeXT allow me to: 1) Allow me to have several windows open at one time? 2) Hilite selected text? 3) Use menus? 4) Define my own menus? 5) Create a dynamically updated list of sections in my document, allowing me to easily move to them? Thanks. --Jim Amundson
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Re: Problems with recvfrom(2) Date: 5 Feb 1993 04:09:09 GMT Organization: The University of Maryland, College Park Message-ID: <1ksp95INN573@ni.umd.edu> References: <1993Feb4.091953.21794@udel.edu> Keywords: recvfrom, UDP In article <1993Feb4.091953.21794@udel.edu> stark@superc.che.udel.edu writes: > >Has anyone had experience using the recvfrom(2) call using >a UDP protocol? I can not get an example program from Stevens >"UNIX Network Programming" book to work because the recvfrom >call fails. The error message is bad address. The example works >fine on an RS6000 and Sun4. Yes, it works fine. Here is a paraphrased sample of code that I use. The function is called when select() indicates that the 'sock' file descriptor is ready for reading. int udp_sock_receive(int sock) { char buf[1024]; int len; struct sockaddr_in from; int fromlen = sizeof(from); len = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *)&from, &fromlen); if (len < 0) { syslog(LOG_DEBUG, "recvfrom: %m"); return -1; } if (process_the_buffer(&buf, &len, sizeof(buf)) > 0) if (sendto(sock, buf, len, 0, (struct sockaddr *)&from, fromlen) < 0) syslog(LOG_DEBUG, "sendto: %m"); return 0; } I took a quick look in my Stevens book, but didn't find the example in question. Could you be more specific? If you are getting a "Bad Address" error, could it be that your passing a bad buffer for sockaddr_in pointer to recvfrom() ? louie
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.software,comp.sys.next.programmer Message-ID: <YfQR8OO00WA78GkNF4@andrew.cmu.edu> Date: Thu, 4 Feb 1993 21:34:02 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: Database Textfield objects??? Forgive the crossposting, but I'm unsure which bboard this belongs on... I was wondering if anyone out there currently produces a TextField subclass object that could be used to easily produce data-entry forms. (ie: Dates, Social Security Numbers, and so forth...) I'm aware of the TextORama miniexample, and this is an excellent start, but I need quite a bit more, and time is extremely limited.... So, does anyone currently offer such an object? Alternatively, is there any demand for such an object? Thanks, -David Apfelbaum. da0g+@andrew.cmu.edu
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: irving@Happy-Man.com (Irving_Wolfe) Subject: Garfinkel/Mahoney Book - Here Again Message-ID: <1993Feb5.004939.15263@Happy-Man.com> Organization: Happy Man Corp., Vashon Island, WA 98070-7399 Date: Fri, 5 Feb 1993 00:49:39 GMT Numerous inquiries -- the book seems hard to get -- have convinced me to re-order the Garfinkel/Mahoney book even though I said I would not do so immediately. Springer-Verlag is being very cooperative this time, and promised to rush our order through shipping if I'd pay for second-day air service. For that reason, I'm going to have to charge $40 (including U.S. shipping) this time, $1 more than last time. This extra dollar may buy you two to four weeks nearer delivery time. If you want me to enter your order, please send me your: name shipping address Visa or MasterCard account and expiration date day and evening telephone numbers fax number if available most reliable e-mail address preference for air or ground shipment if outside the U.S. BY REGULAR (NonNext) E-MAIL, not NextMail or fax or phone. One recent purchaser, Steve Wlodkowski, said I could use his thank you note to reassure prospective buyers who had never heard of us and felt funny about sending their credit card numbers. He said, "I received my copy of the book yesterday. Thanks much. Enjoyed dealing with you. You impress me as a man of integrity, and as they say, that can't be all bad." (Thanks, Steve!) If you must pay by check, you may order by postal mail instead. Foreign by-check orders must be in U.S. funds and drawn on a U.S. bank. Postage is about $6 to Canada, $10 by ground overseas, $18 by air to Western Europe, $23 by air elsewhere. Regards, - Irving -- Irving_Wolfe@Happy-Man.com Happy Man Corp. 206/463-9399 x101 4410 SW Pt. Robinson Rd., Vashon Island, WA 98070-7399 fax x108 We publish SOLID VALUE for the intelligent investor. NextMail OK Info free; sample $20. Send POSTAL addrs: Solid-Value@Happy-Man.com
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: edmtl@alf.uib.no (Thor Legvold) Subject: Is telnet broken? Message-ID: <1993Feb3.143116.24614@alf.uib.no> Organization: University of Bergen, Norway Date: Wed, 3 Feb 93 14:31:16 GMT NCSA Telnet version 2.2TN-sc on PC, NeXT standard 3.0 release telnet on NeXT, OS 3.0. Telnet between NeXT<-->PC doesn't work, while ftp does. PC -> NeXT never gets a login prompt. NeXT -> PC reports 'packet sent for invalid port. Retry sent' on the PC display. Same version of Telnet works fine with Suns, Macs, Decs, Vax, etc etc. Is there a newer/working version of telnet/telnetd especially for NeXT? Or is it the PC side which is broken (maybe NeXT actually has the latest greatest hyper modern telnet version which isn't backwards compatible...?) Please e-mail replies. Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer From: djd@glv.com (David Deininger) Subject: How do I drop a file into the file viewer? Message-ID: <1993Feb5.155145.22574@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Fri, 5 Feb 1993 15:51:45 GMT I'm trying to make a file well, like the one at the upper right of newsgrazer. I can drag files into it from the workspace without any trouble, but I can't figure out how to set up the outgoing drag operation so that the file viewer will accept stuff dragged _from_ my file well. Is there any example code of this stuff that someone could give me a pointer to? Or if there's something out there on the internet, could anyone send it to me? Or just some verbal description of how it's done? Right now I basically have draggingSourceOperationMaskForLocal: return NX_DragOperationCopy and the dragging pasteboard I create declares types { NXFilenamePboardType, NXFileContentsPboardType }. Thanks in advance for your collective wisdom, experience, and patience. :-) --david deininger (djd@glv.com)
From: ambi@it-next2.bu.edu (Michael Amirault) Newsgroups: rec.photo,comp.sys.next.programmer Subject: Photo CD's Message-ID: <109485@bu.edu> Date: 5 Feb 93 15:43:38 GMT Sender: news@bu.edu Followup-To: rec.photo I have a NeXTstation with a CD-ROM drive and I'm interested in testing out some photo CD things (I think it might be an easy way to get pictures into the machine), but I can't find any info on how to get photo CD's made. Does anyone know of any place (mail order or around Boston) that will make photo CD's? Can you get them from negatives? What's the cost? etc.. Thanks for any info! Mike
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.sun.admin Subject: Names of child processes Keywords: child process fork Message-ID: <7564@ucsbcsl.ucsb.edu> Date: 2 Feb 93 23:57:57 GMT Sender: root@ucsbcsl.ucsb.edu Followup-To: comp.sys.next.programmer Organization: Center for Computer Music Research and Composition, UCSB If a process is started via a shell or exec() with a set of arguments or flags, and then that process forks to produce several child processes, all of which continue to run, what should be the expected name of the child processes, according to "ps xw"? Should the child processes' names include the argument list as well? I ask this because I am getting inconsistant results. Sometimes a 'ps xw' shows the parent process, with all of its flags, etc., and the children are shown with the same flags attached. Other times the children have no arguments at all-just the name of the program. This is important to me because the program I am updating expects to find a certain argument string as part of the process name for *all* the child processes, and this is not happening consistantly. Please respond via email, if possible. Thanks in advance. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: wakew@jingluo.cs.vt.edu (William Wake) Newsgroups: comp.sys.next.programmer Subject: How to make multiple scrollers work together? Message-ID: <4112@creatures.cs.vt.edu> Date: 5 Feb 93 18:04:52 GMT Sender: usenet@creatures.cs.vt.edu How to CONSTRAIN a pair of scrollers? I'm trying to manage what is essentially a graph: ylabel1 x1y1 x2y1 ylabel2 x1y2 x2y2 : xlab1 xlab2 The contents (and the labels for now) are buttons, and each is embedded in a matrix in a scrolling list. What I'd really like is to have only two scrollbars (those across the axes) and none on the xy main body. Until now, I've been "cheating" to do this, byusing a hidden routine _doscroller. I don't mind cheating for this application (for now), but it doesn't always work correctly either. Should I be using a modified scrollview or a modified clipview? (or something else)? Can I still use IB if I do? What's the best way to modify a "standard" object? Thanks for any insight, Bill Wake wakew@cs.vt.edu
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: jburnes@csisun.uucp (Jim Burnes) Subject: ** Toward a Portable OO GUI Library ** Message-ID: <C1zv2w.63L@csisun.uucp> Organization: CompuSci, Inc Date: Fri, 5 Feb 1993 21:16:08 GMT I have an idea. Its probably already been thought of. Why don't we as developers come up with a POSIX/ISO/IEEE portable class library for GUI's. Our company uses two different portability packages ZINC & XVT (both rather expensive) and it seems that unless developers are going return to being slaves of the operating systems wars its time to take a stand on this issue. I know I'm probably sticking my neck out here but it seems that we've come all the way embracing open standards/unix/ C/etc. etc. and now we are back to deciding which platform to develop on based on what the predominant GUI is. Its time for developers to take the situation in their own hands. I propose the following... ISO/IEEE/POSIX/ACM come up with an elegant OO library standard for GUIs . Several different groups work concurrently on their library and then we can adopt the one with the best design. This would avoid stratification of the design by committee. Various manufacturers agree to support the library. This would be a consortium much like VESA et al. I suggest the name POOL (Portable Object Oriented Library). POOL would have various levels of conformance related to: (U)ser Interface (G)raphics (F)ile System/Path names (N)etworking/Distributed Processing (D)river level (The driver level would define a POOL/D interface and the system manufacturers would tie that into their driver level software. Board manufacturers would then jump on the bandwagon and make sure their boards spoke POOL/D to the OS) The manufacturer would write a run-time implementation of POOL for the native interface. They would then use the POOL conformance to advertise the openness of their computers. I.E.: POOL/U,G,F,N,D conformance Benefits: 1. POOL could be implemented in C++,OO Lisp (xlisp etc),Smalltalk, OO Pascal, and others. Obviously C++ would be an easy first choice. 2. POOL would encourage manufacturers and developers of windowing systems to compete to make the best system possible. Upgrades to OS's and windowing systems, networking etc. would be made faster to keep up with competition. Prices for system software would be lower because competition is much higher. 3. A greater diversity of software would be available to everyone. 4. Developers would not have to go to wasted effort to develop for a new platform. 5. Developers could write tools/controls/objects in C++ (or whatever) to contribute to the productivity of other programmers. I envision something similar to the Visual Basic market where anyone who wants a spreadsheet or specialized 3D or high level multimedia support or business graphics can simply buy their favorite control off the shelf and drop it into their product. The result would be much higher quality software being released at a much faster rate. I'm talking about nothing less than software developers set free in our lifetime. My only problem would be how to get it available to everyone on the consumer side. In other words the typical problems of binary compatibility arise. If this issue cant be resolved then the developers would have to recompile for every new platform. This might not be a big deal if its pretty much a transparent recompile. I'm actively soliciting comments on this proposition. Feel free to comment on problems we might have or suggestions for new ideas. No flames please. I'll digest all the responses and repost them to the above newsgroups. If this process is already under way let me know. If someone has already tried this and failed let me know why it failed. Suggest away... Jim Burnes jburnes@compusci.com
Newsgroups: comp.sys.next.programmer From: bsim@quark (Ben Sim) Subject: Adding Color to text in DBTableView Message-ID: <1993Feb4.212809.29755@almserv.uucp> Sender: usenet@almserv.uucp Organization: Fannie Mae Date: Thu, 4 Feb 1993 21:28:09 GMT I'm working on a project that utilizes DBTableView. The DBTableViews are not associated with a DBModule. The problem is that I would like to add color to text in the DBTableView. Are there any easy fixes to this problem (subclassing DBFormatter maybe?)? Any help would be appreciated. Ben *** Benjamin M. Sim (bsim@fnma.com) Fannie Mae 3900 Wisconsin Avenue NW Washington DC 20016-2899
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: NXBrowserCell subclass problem relating to calcCellSize Date: 4 Feb 1993 19:08:48 -0000 Message-ID: <1krpk0$ug@steffi.demon.co.uk> Dear NextSteppers, I have a problem with an NXBrowser. I have written an NXBrowserCell subclass (ImageBrowserCell) to allow me to specify an image for a cell. The NXBrowserCell subclass places the image via (composite) to the left of a Cell instance which I create to allow me to vertically center the text inside the NXBrowserCell subclass. I stress that I wish to have different images for different cells in each column. So I cannot (by my reckoning) perform my loading in - init since I cannot pass the filename for the image and I cannot use class variables in +initialize because I wish to vary the characteristics of each cell instance. Currently the filename for the image gets passed by my browser's delegate method browser:fillMatrix:inColumn when loading the cells. So I have an ImageBrowserCell which is my NXBrowsers cellclass and another Cell which gets drawn onto the current NXBrowser column (matrix) ie. controlView. To allow me to vertically center the text I size the cells height to the maximum of the ImageBrowserCell's default height and the size of my Image. This is done in calcCellSize. The problem. I set the cells image by calling an ImageBrowserCell's method to load an NXImage from my browser's delegate. I immediately get the size of this image after is has been loaded. Then I _hope_ that calcCellSize sees this size and will size the ImageBrowserCell accordingly. The problem is that calcCellSize gets done everytime a [matrix addColumn] is called which is long before I get a chance to load my image, hence the size of the image used to determine the cells calculated height in calcCellSize is wrong. Which means, my cells come out with the wrong height. Any ideas folks. OH yes, I know NS3.0 allows me to do this with the standard NXBrowserCell but Im doing this as a learning experience and so far it has been very rewarding. I hope this an appropriate topic for discussion in this forum.
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: Garfinkel/Mahoney Book - Here Again Message-ID: <1993Feb5.185224.5509@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1993Feb5.004939.15263@Happy-Man.com> Date: Fri, 5 Feb 1993 18:52:24 GMT In article <1993Feb5.004939.15263@Happy-Man.com> irving@Happy-Man.com (Irving_Wolfe) writes: > Numerous inquiries -- the book seems hard to get -- have convinced > me to re-order the Garfinkel/Mahoney book even though I said I > would not do so immediately. I ordered at Quantum about 2 weeks ago, and they shipped to Europe immediately. They turned up here today. I bought two (one as a present for a friend) and I must say, they sure look good at first sight. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: gelato@netcom.com (Joe Burfoot) Subject: Where are the NXColor instance variables in appkit? Message-ID: <1993Feb6.040508.22203@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Sat, 6 Feb 1993 04:05:08 GMT A lot of appkit objects (TextFieldCell for example) have methods like -set...Color:(NXColor)color and a corresponding -(NXColor)...Color to retrieve the color set, but I see no instance variables of type NXColor. Where is the color stored? In the gstate? But then how is it retrieved?
Newsgroups: comp.sys.next.programmer From: jbernat@quip.eecs.umich.edu (Jim Bernatowicz) Subject: How to configure Color Xnext? Message-ID: <1993Feb6.060219.15601@zip.eecs.umich.edu> Sender: news@zip.eecs.umich.edu (Mr. News) Organization: University of Michigan EECS Dept., Ann Arbor, MI Date: Sat, 6 Feb 1993 06:02:19 GMT I am attempting to get my feet wet in X windows programming, but I do not seem to know what to place in the configuration files such as the .Xresources and .xsession. I am running Xnext color. I am unable to move or resize windows since there is no border present. Can anybody tell me how to give my windows some bord- ers? I also notice that there is a vertical line extending down the screen from the right side of the initial xterm. Thank you for your help! Jim Bernatowicz -- jbernat@eecs.umich.edu | Jim Bernatowicz an602@cleveland.freenet.edu | The University of Michigan
Newsgroups: comp.sys.next.programmer From: rob@xexos.com (Rob Trangmar) Subject: strstr Message-ID: <1993Feb5.173336.1231@xexos.com> Sender: news@xexos.com Organization: Xexos, Ltd (London) Date: Fri, 5 Feb 1993 17:33:36 GMT Why no man entry for char *strstr(..)? The routine is there.... rob ========================================================= Rob Trangmar Xexos (London) Ltd. Tel. (44) 71 237 4535 1 New Concordia Wharf Fax. (44) 71 231 0844 Mill Street, London SE1 =========================================================
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Storing objects in databases using DBKit Date: 6 Feb 1993 23:36:53 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1l1i2lINNo0@darkstar.UCSC.EDU> Summary: How is this done? I am unclear how to store and retrieve objects from DBKit databases. The docs state that DBKit supports any object in the archive format appropriate to its class. Does that mean that if a class implements read: and write:, the archive format will be used automatically? Is it necessary to implement the DBFormatInitialization and DBFormatConversion protocols if archive format is acceptable? If an instance of the class and an Association to the instance are created in IB, must I implement the DBCustomAssociation protocol in my class? This seems intended for user interface classes only, but what do I know ?-) Let's take an easy example, Sound. If I want to store a sound in a DBKit database, have created an instance of the Sound class in IB, and have created an Association from the DBModule to the Sound icon, what more do I need to do so it will "just work." When I do this, the FetchGroup isn't aware of a recorded sound. Even when I implement didRecord: in the Sound's delegate and have [module takeValueFrom:sound] in didRecord:, the FetchGroup still isn't aware of a change in the sound data. Using this setup, how would a sound instance be created upon a data fetch and how could I play the sound from the user interface? I'd like to use the Sound instance I've created in IB and just stuff it with sound data. I'm pretty confused. Help!! -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NeXT software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: yann@dagobah.fdn.org (Yann Lechelle) Subject: Window resizing... Message-ID: <1993Feb5.141126.177@dagobah.fdn.org> Sender: yann@dagobah.fdn.org Organization: Individual Date: Fri, 5 Feb 1993 14:11:26 GMT Given: a Window (an inspector in fact) Wanted: according to the pop-up option (located on top), either fold or expand the window downward... To achieve this effect, I memorize the Window's frame, [resize::], and [moveTopLeftTo::]... However, every step shows on screen... it's pretty ugly... It would be so simple if the TopLeft corner was the 0;0 origin !!! How can I achieve the same effect smoothly ? (without seeing the expansion/reduction and the moving) Thanks -- / ================================================= \ \ Yann Lechelle (Paris, FRANCE) / / yann@dagobah.fdn.org Email/NeXTmail \ \ "grep me no patterns and I'll tell you no lines." /
Newsgroups: comp.sys.next.programmer From: tjb@strangeways.unh.edu (Thomas J. Baker) Subject: Distributed Objects - Client/Server interaction Message-ID: <1993Feb6.205334.27580@strangeways.unh.edu> Sender: tjb@strangeways.unh.edu (Thomas J. Baker) Organization: Baker Consulting - Dover, NH Date: Sat, 6 Feb 1993 20:53:34 GMT Hello, I have a set up where I have a client, and a server that may or may not be running. When the client changes a database, it writes the change to disk and, if it can connect to the server, notifies the server through distribute objects. I have this pretty much working except when, after having a connection with the server and the server then quits, reconnecting to the server. I suspect that I'm not "cleaning up" correctly after the client receives the senderIsInvalid message. What is the proper thing to do? I don't want to exit, I want to be able to reconnect to the server if it comes up again. What I do now is just free the connection-for-proxy and connect-to-name connections. The docs say that upon receiving the senderIsInvalid message, appropriate action must be taken, but then is vague in describing what these actions should be. Any pointers or help would be appreciated. Thanks, tjb -- ===================================================================== | Thomas Baker Director of the New Hampshire NeXT User Group | | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu | | Durham, NH 03824 Voice: (603) 743-4987 | =====================================================================
Newsgroups: comp.sys.next.programmer From: uunet!ripple!jaeger (Dirk P. Fromhein) Subject: Smalltalk.... Message-ID: <C21MwH.2s9@ripple.uunet> Sender: jaeger@ripple.uunet (Dirk P. Fromhein) Organization: Taylor Graphics Systems, Inc. Date: Sat, 6 Feb 1993 20:14:41 GMT Is there a Smalltalk development system for the NeXT? I have gnu Smalltalk 1.1.1, but it is not up to snuff. Thanks, Dirk Fromhein uunet!ripple!jaeger
From: alex@laos (Alex D. Nghiem) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: where is NeXTAnswers? Keywords: NeXTAnswers Message-ID: <1993Feb5.235123.10094@pencom.com> Date: 5 Feb 93 23:51:23 GMT Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software People: Where has NeXTAnswers disappeared to? The latest one I have is from Winter of 1991 but I can't find these on the net anymore. I've searched the index and can't find any mention of it at all. Are they only available if you purchase a NeXT support contract now? Please e-mail me directly and thanks in advance. Best regards, Alex Duong Nghiem Phone: (512) 343-1111 Pencom Software Fax: (512) 343-9650 9050 Capital of TX Hwy N. Mail: alex@pencom.com Suite 300 Mail: co-Xist_support@pencom.com Austin, TX 78759 Mail: co-Xist_info@pencom.com USA **************************** * NeXTMail gladly accepted * ****************************
From: marcel@cs.tu-berlin.de (Marcel Weiher) Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk.... Date: 7 Feb 1993 10:17:49 GMT Organization: Technical University of Berlin, Germany Message-ID: <1l2nkd$a7n@news.cs.tu-berlin.de> References: <C21MwH.2s9@ripple.uunet> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit uunet!ripple!jaeger (Dirk P. Fromhein) writes: >Is there a Smalltalk development system for the NeXT? >I have gnu Smalltalk 1.1.1, but it is not up to snuff. ParcPlace has just released a version of Objectworks for the NeXT. This is the original SmallTalk from the Xerox spin-off company. However, their licensing scheme is a little strange to say the least. Students or private users cannot buy the software, but only "rent" a license for 2 years and to the tune of around $500 ( I only have the german price, around DM 888 ). After that you can extend that for 25% of the original price every one or two years, I forget which. If you want to use it commercially, just multiply the price by 10. And that does not mean you can start distributing stuff. That's extra. Hey I can get an object oriented development system for that, and get a computer thrown in! Anyway, that's the info. Marcel
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Question about ruler in Text ScrollView object, and size Message-ID: <1993Feb7.114224.480@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Sun, 7 Feb 1993 11:42:24 GMT Something escapes me here. I have a Text ScrollView from the palette of IB. I'd like to let this beast have a predefined ruler. If I ask for the ruler in IB it is measured in inches (whereas my default ruler has tabstops in cm's, so it seems). Furthermore, if I change the tabstops and save the nib, there is no effect in my app. In my app I get a ruler without any tabstops. How do I get my default tabstops right in this Text ScrollView object, in such a way they are there when the app starts up? Second. I'd like to have the width of the Text object be the length of A4, the pagelayout default A4 Landscape and a horizontal scrollbar (because the ScrollView that surrounds the Text object is to small to display this. If I try to set the size of the Text object inside the ScrollView in IB, it resizes the ScrollView (which then becomes too big for the window). How do I organize that? Thanks, -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress) Subject: Remote Mail? Date: Sun, 7 Feb 1993 17:53:56 GMT Message-ID: <C23B1x.Mnq@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana I would like to read my mail that I have on a remote machine. I tried: open Mailboxes/Active.mbox -NXHost pegasos.ccsr.uiuc.edu but that didn't work. Any suggestions? Thanks, -- Gottfried Mayer-Kress Center for Complex Systems Research, Department of Physics 3025 Beckman Institute, 405 N Mathews, Urbana, Il 61801 gmk@pegasos.ccsr.uiuc.edu (NeXT-Mail) gmk@goshawk.lanl.gov, gmk@santafe.edu (217)-244-5877 (voice/fax modem),x8371(fax), x1994 (msg)
Newsgroups: comp.sys.next.programmer From: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress) Subject: FAX format conversion? Date: Sun, 7 Feb 1993 18:04:34 GMT Message-ID: <C23BJM.Mv3@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana It looks like FAXes are implicitely defining a new image format standard. Is there an elegant way to convert images into fax format WITHOUT sending them through a FAX? Thanks, -- Gottfried Mayer-Kress Center for Complex Systems Research, Department of Physics 3025 Beckman Institute, 405 N Mathews, Urbana, Il 61801 gmk@pegasos.ccsr.uiuc.edu (NeXT-Mail) gmk@goshawk.lanl.gov, gmk@santafe.edu (217)-244-5877 (voice/fax modem),x8371(fax), x1994 (msg)
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk.... Date: 7 Feb 1993 14:43:45 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1l3771$3nk@steffi.demon.co.uk> References: <1l2nkd$a7n@news.cs.tu-berlin.de> Marcel Weiher (marcel@cs.tu-berlin.de) wrote: : uunet!ripple!jaeger (Dirk P. Fromhein) writes: : >Is there a Smalltalk development system for the NeXT? : >I have gnu Smalltalk 1.1.1, but it is not up to snuff. : ParcPlace has just released a version of Objectworks : for the NeXT. This is the original SmallTalk from the : Xerox spin-off company. However, their licensing scheme : is a little strange to say the least. Students or : private users cannot buy the software, but only "rent" a : license for 2 years and to the tune of around $500 ( I : only have the german price, around DM 888 ). After : that you can extend that for 25% of the original price : every one or two years, I forget which. : If you want to use it commercially, just multiply the : price by 10. And that does not mean you can start : distributing stuff. That's extra. Hey I can get : an object oriented development system for that, and : get a computer thrown in! : Anyway, that's the info. : Marcel Given its lack of interoperateability with the Appkit/DbKit IB why would anybody bother with this.
Newsgroups: comp.sys.next.programmer From: davisre@sage.cc.purdue.edu (Robert Davis) Subject: Window's setTitle: not displaying Message-ID: <C23FH8.7qB@mentor.cc.purdue.edu> Sender: news@mentor.cc.purdue.edu (USENET News) Organization: Purdue University Computing Center Date: Sun, 7 Feb 1993 19:29:31 GMT I have a window whose title I'd like to change to indicate that something is happening ("Busy") and then change back to its previous title when the calculating is done, at which point the view in the window will be displayed. I do this: [window setTitle:newTitle]; // "Busy... <filename>" ... calculations here ... [window display]; [window setTitle:origTitle]; // "<filename>" The problem is that the first setTitle doesn't take effect until I do the [window display], so the "Busy" message is flashed before the title reverts to the original title, which is pointless. According to the 3.0 docs, setTitle: causes the title to be displayed automatically, even if the window's display is disabled. Anyone know what might cause this behavior? Rob -- | Robert Davis davis@sonata.cc.purdue.edu | "Look up, Hannah. Look up." NeXT Mail accepted --
From: dan@quiensabe.az.stratus.com (Dan Danz) Newsgroups: comp.sys.next.programmer Subject: Re: Remote Mail? (RTF,15k) Message-ID: <1l42t9$fo4@transfer.stratus.com> Date: 7 Feb 93 22:36:25 GMT References: <C23B1x.Mnq@news.cso.uiuc.edu> Organization: Stratus Computer Inc, Marlboro MA Gottfried Mayer-Kress writes > I would like to read my mail that I have on a remote machine. > I tried: > > open Mailboxes/Active.mbox -NXHost pegasos.ccsr.uiuc.edu > It works for me -- my home system is quiensabe, my office workstation is bittersprings. My home dir at the office is NFS mounted on my home system. So from the home system I enter: quiensabe[104]% open /Net/bittersprings/dan/Mailboxes/Active.mbox And it works ... here's a snapshot showing both Active.mboxes open on quiensabe. -- L. W. "Dan" Danz (WA5SKM) VOS Mail: Dan_Danz@vos.stratus.com Sr Consulting Software SE NeXT Mail: dan@az.stratus.com Customer Assistance Center Voice Mail/Pager: (602) 852-3107 Telecommunications Division Customer Service: (800) 828-8513 Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018 -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$S-#1<='@R-C@X7'1X-#`S,EQT M>#4S-S9<='@V-S(P7'1X.#`V-%QT>#DT,#A<='@Q,#<U,EQT>#$R,#DV7'1X M,3,T-#!<9C!<8C!<:3!<=6QN;VYE7&9S,CA<9F,P7&-F,"!';W1T9G)I960@ M36%Y97(M2W)E<W,@=W)I=&5S7`H^($D@=V]U;&0@;&EK92!T;R!R96%D(&UY M(&UA:6P@=&AA="!)(&AA=F4@;VX@82!R96UO=&4@;6%C:&EN92Y<"CX@22!T M<FEE9#I<"CX@7`H^(&]P96X@"DUA:6QB;WAE<R]!8W1I=F4N;6)O>"`M3EA( M;W-T('!E9V%S;W,N8V-S<BYU:75C+F5D=5P*/B!<"DET('=O<FMS(&9O<B!M M92`M+2!M>2!H;VUE('-Y<W1E;2!I<R!Q=6EE;G-A8F4L7`IM>2!O9F9I8V4@ M=V]R:W-T871I;VX@:7,@8FET=&5R<W!R:6YG<RX@("!->2!H;VUE7`ID:7(@ M870@=&AE(&]F9FEC92!I<R!.1E,@;6]U;G1E9"!O;B!M>2!H;VUE('-Y<W1E M;2Y<"E-O(&9R;VT@=&AE(&AO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!@*5%@8")/4F!@8&!')"Q0(0I@"GT*K'U<<&%R9%QT>#$S-#1<='@R M-C@X7'1X-#`S,EQT>#4S-S9<='@V-S(P7'1X.#`V-%QT>#DT,#A<='@Q,#<U M,EQT>#$R,#DV7'1X,3,T-#!<9C!<8C!<:3!<=6QN;VYE7&9S,CA<9F,P7&-F M,"!<"@I<"BTM7`I,+B!7+B`B1&%N(B!$86YZ("`@("`@("`@*%=!-5-+32D@ M5D]3($UA:6PZ("!$86Y?1&%N>D!V;W,N<W1R871U<RYC;VU<"E-R($-O;G-U M;'1I;F<@4V]F='=A<F4@4T4@("`@("`@("!.95A4($UA:6PZ(&1A;D!A>BYS M=')A='5S+F-O;5P*0W5S=&]M97(@07-S:7-T86YC92!#96YT97(@("`@("`@ M(%9O:6-E($UA:6PO4&%G97(Z("@V,#(I(#@U,BTS,3`W7`I496QE8V]M;75N M:6-A=&EO;G,@1&EV:7-I;VX@("`@("`@0W5S=&]M97(@4V5R=FEC93H@*#@P M,"D@.#(X+3@U,3-<"E-T<F%T=7,@0V]M<'5T97(L($EN8RX@-#0U-2!%+B!# F86UE;&)A8VL@(S$Q-2U!+"!0:&]E;FEX($%:(#@U,#$X7`H*?0HU `
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: Re: Smalltalk.... Message-ID: <1993Feb7.231645.17447@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1l2nkd$a7n@news.cs.tu-berlin.de> <1l3771$3nk@steffi.demon.co.uk> Date: Sun, 7 Feb 1993 23:16:45 GMT robert@steffi.demon.co.uk (Robert David Nicholson) writes: >Marcel Weiher (marcel@cs.tu-berlin.de) wrote: >> ParcPlace has just released a version of Objectworks for the NeXT. >Given its lack of interoperateability with the Appkit/DbKit IB >why would anybody bother with this. Because, as good as Appkit/DBKit/IB is as a programming environment, ParcPlace Smalltalk is better. Maybe not for shrinkwrapped apps, but if you're trying to figure out which end of a problem is up, Smalltalk is pretty damn good. It's hard to appreciate until you've seen it. If you can afford it, sign up for a class at ParcPlace. Yes, just as in Monopoly, it's expensive, but you'll learn a lot, and the lunches they provide are incredible, too. Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer From: jalegre@tsp.med.umn.edu (John Alegre) Subject: Object Ref. to another App's Window? Message-ID: <C23sI6.7L3@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Mon, 8 Feb 1993 00:10:44 GMT We are looking for some advise from you NeXT Window Server Guru's. We are trying to implement a system where an Object on one machine can send Read Only information about Windows on it's screen to a remote Object for display. Now here is the wrench. We want to do this with Windows that do not belong to our application. The idea would be similar to the way Grab works with the "Grab Window" option, only would include updating. How does one get an Object reference to the Window of another application? Is there any example code around that does this? Has the Grab code ever appeared anywhere? All comments are welcome. Either respond to comp.sys.next.programmer or send email. I will summarize all answers in comp.sys.next programmer in a week. Thank you. John N. Alegre Andante Systems VideoLabs In ############################################################# # NeXTMail preferred. | # jdev@andante.mn.org | # alegrej@andante.mn.org | If you plant ice, # jalegre@lenti.med.umn.edu | you're gonna harvest wind! # alegrej@libros.andante.mn.org | Hunter/Garcia #############################################################
Newsgroups: comp.sys.next.programmer From: kevins@slow.inslab.uky.edu Subject: Re: Window's setTitle: not displaying Message-ID: <C23qKt.EIr@ms.uky.edu> Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences References: <C23FH8.7qB@mentor.cc.purdue.edu> Date: Sun, 7 Feb 1993 23:29:16 GMT Robert Davis writes -> -> I have a window whose title I'd like to change to indicate -> that something is happening ("Busy") and then change back to its -> previous title when the calculating is done, at which point the view -> in the window will be displayed. I do this: -> -> -> [window setTitle:newTitle]; // "Busy... <filename>" -> -> ... calculations here ... -> -> [window display]; -> [window setTitle:origTitle]; // "<filename>" -> -> -> The problem is that the first setTitle doesn't take effect until I do -> the [window display], so the "Busy" message is flashed before the -> title reverts to the original title, which is pointless. According to -> the 3.0 docs, setTitle: causes the title to be displayed -> automatically, even if the window's display is disabled. -> -> Anyone know what might cause this behavior? -> -> -> Rob -> -- -> | Robert Davis davis@sonata.cc.purdue.edu -> | "Look up, Hannah. Look up." NeXT Mail accepted -> -- I found this to be an anoying problem I was wanting to set the title of my info panel to show the status of the program as it is trying to connect to a server with the distributed objects. As you mentioned the calles seemed to get buffered and flashed all at once after the connection has been made. Not real sure whats going on -- _______________________________________________________________________________ I'll cross my heart and hope to die but the needle's already in my eye. _______________________________________________________________________________ Kevin Solie
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: Color Lists (Re: RGB Values of "NeXT Help Blue") Message-ID: <C23wpM.KGs@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA References: <6390@rosie.NeXT.COM> Date: Mon, 8 Feb 1993 01:41:45 GMT Sam Streeper writes | On a related topic, does anyone have a tiff or EPS file that contains | every color that is both 12-bit pure and maps to a pure 2 bit gray- | scale value? This would make a useful color panel palette. | | I posted a couple of EPS files here a while ago that generate every 12 | bit pure color, so these could be used for ideas if no one has | undertaken this pursuit. | | please post or email if you have such a beast. I don't have what you need, but I was wondering if users of Release 3.0 have considered trading Color Lists? These are files with the extension .clr which are usually stored in ~/Library/Color and are used by the Color Panel lists window. I find it much handier to pick colors from a list (especially with the ability to name individual colors) instead of trying to point at an individual pixel, especially if that pixel is very close to another pixel with almost the exact same color. I've written an application which, among other things, will create a list of every color used in a TIFF and store this list out to a .clr formatted file. I've managed to hang NeXTstep while using the ColorList Object with around 60,000 unique colors, but otherwise I've had good results. My current favorite is a color list which divides the spectrum into 31 colors, for use in spreadsheets to indicate the day of the month on a continuous range which looks good when transitioning from the 31st to the 1st. If anyone does have the TIFF or EPS file that Sam is looking for, I would be willing to use my application to convert it to a Color List. -- Brian Willoughby Software Design Engineer, BSEE NCSU BrianW@SoundS.WA.com Sound Consulting: Software Design and Development NeXTmail welcome
Newsgroups: comp.sys.next.programmer Subject: Sybase stored procedures and DBKit Message-ID: <1029338.81010.1669@kcbbs.gen.nz> From: David_Boyle@kcbbs.gen.nz (David Boyle) Date: 8 Feb 93 22:30:10 GMT Organization: Kappa Crucis Unix BBS, Auckland, New Zealand DBKit and Sybase Stored Procedures. Our setup: A DG Aviion file server running SYBASE. More than 30 NeXTStations, most on a WAN, some on a LAN. Our problem: We need to keep traffic to a minimum over the WAN. To this end, we are doing nearly all processing using stored procedures on SYBASE. The barest minimum i being passed over the net. DBKit, as it stands, provides automatic generation of SQL. My understanding is that given a DBModule with a list of Fetchgroups (one + one per join) and a list of Associations relating UI objects to properties, a fetch operation on the DBModule causes the Adapter to generate one SQL statement per Fetchgroup. Hand crafted SQL (i.e. stored procedures) can be generated by a direct call to the DBBinder bypassing this mechanism, but we dont want to do that. The DBBinder receives rows of the result from the Adapter via a DBContainer (a list of DBValues) and uses the Associations list to insert properties into UI objects. DBModule is easy to use from a UI point of view, i.e. creating associations between properties and UI objects. Having the DBBinder insert results into th UI is great. But we want to cause stored procedure calls to be generated, not normal SQL. Some of our ideas: - Write our own adapter, although this sounds like more work and complexity than we want. - Using categories to add extra methods to DBModule that we can use to generate the stored procedure calls. - Subclassing DBModule and adding methods to support stored procedure calls. This class must be added to the IB palette, and an inspector and editor written for it. The class would have to support a variety of methods for calling stored procedures - the procedure names are an attribute. (We have (nearly) successfully implemented this) What are your recommendations on this matter? Has it been done before? If so - how? Thanks for any help you can give us. David Boyle
Newsgroups: comp.sys.next.programmer Subject: Multi-Developer Projects Message-ID: <1029338.81014.1675@kcbbs.gen.nz> From: David_Boyle@kcbbs.gen.nz (David Boyle) Date: 8 Feb 93 22:30:14 GMT Organization: Kappa Crucis Unix BBS, Auckland, New Zealand Multi-Developer Projects We have a project with 3 front end developers. We would very much like to share UI defintions (nibs) and classes. We would also like to have reasonably strict source code control. How is this normally done on the NeXT? Ideally, we would like to be able to 'extract' a nib (plus accompanying source and modify it without affecting other developers who are using it until it is stable, at which point it could be exported (a la libraries). Can this be done? Thanks for any help you can give us. David Boyle
From: mbehrens@cs.utexas.edu (Mikael Behrens) Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk.... Message-ID: <86743@ut-emx.uucp> Date: 8 Feb 93 03:17:13 GMT References: <1993Feb7.231645.17447@netcom.com> Sender: news@ut-emx.uucp Distribution: usa Steven T. Abell writes | robert@steffi.demon.co.uk (Robert David Nicholson) writes: | >Marcel Weiher (marcel@cs.tu-berlin.de) wrote: | >> ParcPlace has just released a version of Objectworks for the NeXT. | | >Given its lack of interoperateability with the Appkit/DbKit IB | >why would anybody bother with this. | | Because, as good as Appkit/DBKit/IB is as a programming environment, | ParcPlace Smalltalk is better. Maybe not for shrinkwrapped apps, | but if you're trying to figure out which end of a problem is up, | Smalltalk is pretty damn good. It's hard to appreciate until you've | seen it. | | If you can afford it, sign up for a class at ParcPlace. Yes, just as | in Monopoly, it's expensive, but you'll learn a lot, and the lunches | they provide are incredible, too. | | Steve abell@netcom.com Here's another reason: Everything you write will run on a NeXT, PC (running Windows or OS 2), Mac, HP, RS-6000, Sun... Any other platforms? It'll take a hell of a lot more ports before NeXT can match this. -- Mikael Behrens mbehrens@cs.utexas.edu (NeXTMail OK) Computer Science student University of Texas at Austin "In this age of innovation and technology, one can make himself very unpopular by asking what a particular innovation is FOR, since the innovator often does not know, and this embarrasses him." --Jeff Cooper
From: rpomeroy@aunext1.amd.com Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk.... Message-ID: <86744@ut-emx.uucp> Date: 8 Feb 93 03:43:55 GMT References: <1993Feb7.231645.17447@netcom.com> Sender: news@ut-emx.uucp Distribution: usa In article <1993Feb7.231645.17447@netcom.com> abell@netcom.com (Steven T. Abell) writes: > robert@steffi.demon.co.uk (Robert David Nicholson) writes: > >Marcel Weiher (marcel@cs.tu-berlin.de) wrote: > >> ParcPlace has just released a version of Objectworks for the NeXT. > > >Given its lack of interoperateability with the Appkit/DbKit IB > >why would anybody bother with this. > > Because, as good as Appkit/DBKit/IB is as a programming environment, > ParcPlace Smalltalk is better. Maybe not for shrinkwrapped apps, > but if you're trying to figure out which end of a problem is up, > Smalltalk is pretty damn good. It's hard to appreciate until you've > seen it. > > If you can afford it, sign up for a class at ParcPlace. Yes, just as > in Monopoly, it's expensive, but you'll learn a lot, and the lunches > they provide are incredible, too. > > Steve abell@netcom.com I would add... If you want your MCCA to run on NeXTs, Suns, Macs, Sequents, Windows3.1, HPs and OS/2 without porting, Smalltalk is *only* way to go. As least until NeXTSTEP is ported to all of the above. Also, I've been building pretty damn sophisticated (albeit not quite as elegent as NS) interfaces with VisualWorks. It's really cool to mouse on a pull-down menu and change the look and feel from Mac to Windows to OS/2 to Motif etc etc et nausium...on the fly. Have to admit though...I get a real strange feeling every time I see a Windows3.1 interface (that I created no less) in a NeXTSTEP window. Kinda' like that feeling you get when you've been dating your girlfriends' best friend behind her back. Sorta guilty and ashamed. I'm sure I'll get over it :-) :-) -- Ronald Pomeroy "The Internet is just a giant petri dish" CAM Applications Group Advanced Micro Devices Austin, Texas rpomeroy@aunext1.amd.com
From: ian_stewart@pyrian.com (Ian H. Stewart) Newsgroups: comp.sys.next.programmer Subject: File i/o functions wanted Message-ID: <1993Feb7.080351.800@pyrian.com> Date: 7 Feb 93 08:03:51 GMT Sender: ian@pyrian.com Organization: PYRIAN - Software Group, San Francisco Calif, 415-664-1170 I am new to programming and have most of what I want except, I have no idea how to do file I/O. I am looking for some fuctions that will: 1) create a new file 2) open a file, search and replace a section (string) and then close sample interface/call SearchAndReplace(FileName,StringToFind,ReplaceWith) I also need to be able to replace a single line with multiple lines i.e. SearchAndReplace(NewFile,Line1,Line1\nLine2\nLine3\n) file now contains _________ | Line1 |_\ | Line2 | | Line3 | | | ----------- I appreciate any help. If someone has source they are willing to share with me, please e-mail. Thanks -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | CIS 71101,1260 Always looking for new SW to market | Net Ian_Stewart@pyrian.com NeXT,Mac,PC & Sun | Isn't LiFE more like RiSK?
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.unix.questions,comp.sys.next.programmer Subject: RCS tree printing Date: 8 Feb 1993 08:55:53 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1l576p$fb@steffi.demon.co.uk> Summary: Print an RCS tree Is there a tool that can print an ascii representation of an rcs tree? Im using 5.6
Newsgroups: comp.sys.next.programmer From: nwc (Nick Christopher) Subject: Distributed Objects question Message-ID: <C24uA6.H19@ny.shl.com> Sender: usenet@ny.shl.com (Net News) Organization: SHL Systemhouse Inc. Date: Mon, 8 Feb 1993 13:46:53 GMT Has anyone played with these much? I am trying to have an object in one program act as a delegate for an object in another and the performance is HORRID - 10-30 seconds between sub-second calls (if it was all in one app). Any ideas? \n Nicholas Christopher Systemhouse nwc@ny.shl.com
From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Newsgroups: comp.sys.next.programmer Subject: Immediately effective dwrite, How? Message-ID: <1993Feb8.151937.685@cc.umontreal.ca> Date: 8 Feb 93 15:19:37 GMT Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Bonjour a tous, How can an app redefine the mouse scaling AND make the change immediately effective ? ( I'm designing a Slider subclass that would benefit from a finer mouse movement) In a shell, I do a "dwrite blablabla" and nothing happens, although a dread confirms the new value. Preference can do it... moi aussi. departement de physique - solide - 2e cycle - Raymond Lutz "A guixel is a graphical user interface element."
From: lpratt@slate.mines.colorado.edu (Lorien Pratt) Newsgroups: comp.sys.next.programmer Subject: Bug with shared libraries. Message-ID: <1993Feb8.161215.26596@slate.mines.colorado.edu> Date: 8 Feb 93 16:12:15 GMT Sender: lpratt@slate.mines.colorado.edu (Lorien Pratt) Distribution: na Organization: Colorado School of Mines Hello, Suddenly, my NeXT Turbo Color machine gives the following error messages: franklinite> cc simple.c cc: installation problem, cannot exec /lib/m68k/cc1obj: Bad executable (or shared library) franklinite> which gdb /bin/gdb franklinite> gdb /bin/gdb: Bad executable (or shared library). franklinite> Can anybody tell me where the ``shared libraries'' are, so I know where to look for a problem? Presumably my disk has become corrupted somehow. Thanks for any pointers! --Lori -- L. Y. Pratt Dept. of Math and Computer Science lpratt@franklinite.mines.colorado.edu Colorado School of Mines (303) 273-3878 (work) 402 Stratton (303) 278-4552 (home) Golden, CO 80401, USA
Newsgroups: comp.sys.next.programmer From: davisre@sage.cc.purdue.edu (Robert Davis) Subject: Emacs handling of .m files Message-ID: <C253o6.LE5@mentor.cc.purdue.edu> Sender: news@mentor.cc.purdue.edu (USENET News) Organization: Purdue University Computing Center Date: Mon, 8 Feb 1993 17:09:41 GMT Here's something most of you who use emacs probably already know, but I've been living without it for too long. If you want emacs to open *.m Objective-C files in c-mode (or any other mode of your choosing), just put this line in your ~/.emacs file: (setq auto-mode-alist (cons '("\\.m$" . c-mode) auto-mode-alist)) It made my day so I thought I'd share it. Enjoy, Rob -- | Robert Davis davis@sonata.cc.purdue.edu | "Look up, Hannah. Look up." NeXT Mail accepted --
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: waldvoge@nessie.cs.id.ethz.ch (Marcel Waldvogel) Subject: Re: Problems with recvfrom(2) Message-ID: <1993Feb8.182345.17475@bernina.ethz.ch> Keywords: recvfrom, UDP Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH References: <1993Feb4.091953.21794@udel.edu> <1ksp95INN573@ni.umd.edu> Date: Mon, 8 Feb 1993 18:23:45 GMT In article <1ksp95INN573@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >I took a quick look in my Stevens book, but didn't find the example in >question. Could you be more specific? If you are getting a "Bad >Address" error, could it be that your passing a bad buffer for >sockaddr_in pointer to recvfrom() ? A common problem is to pass the length, not the address of a variable containing the length. This might be a problem. -Marcel
Newsgroups: comp.sys.next.programmer From: waldvoge@nessie.cs.id.ethz.ch (Marcel Waldvogel) Subject: Re: Remote Mail? (RTF,15k) Message-ID: <1993Feb8.183859.17970@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH References: <C23B1x.Mnq@news.cso.uiuc.edu> <1l42t9$fo4@transfer.stratus.com> Date: Mon, 8 Feb 1993 18:38:59 GMT In article <1l42t9$fo4@transfer.stratus.com> dan@az.stratus.com writes: >Gottfried Mayer-Kress writes >> I would like to read my mail that I have on a remote machine. >> I tried: >> >> open Mailboxes/Active.mbox -NXHost pegasos.ccsr.uiuc.edu >> >It works for me -- my home system is quiensabe, >my office workstation is bittersprings. My home >dir at the office is NFS mounted on my home system. It doesn't do what you want, It opens the Mailbox lacally. Either execute '/NextApps/Mail.app/Mail -NXHost somehost' or have a look at nxlaunch (I don't remember who posted it where). -Marcel
From: holschdm@nextwork.rose-hulman.edu (David M. Holscher) Newsgroups: comp.sys.next.programmer Subject: RTF to ASCII Converter Date: 8 Feb 1993 18:40:36 GMT Organization: Computer Science Department at Rose-Hulman Distribution: world Message-ID: <1l69f4INNfrd@master.cs.rose-hulman.edu> Hello. I am working on a project that involves converting an RTF file to ASCII. I am aware that you can read the RTF into a Text object and get the ASCII back from the Text, but what I want is to be able to do this without using Objective-C. I'm sure that I've seen a command line program that will do this somewhere. Does anyone know where I could find such a converter? Thanks in advance, David Holscher holschdm@rose-hulman.edu
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Smalltalk.... Message-ID: <1993Feb8.184802.3062@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <86744@ut-emx.uucp> Distribution: usa Date: Mon, 8 Feb 93 18:48:02 GMT Could those who know say how hard it would be to place a smalltalk environment on top of the ObjC runtime system? -Marcos J. Polanco -shiva@vega.stanford.edu
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Bug with shared libraries. Date: 8 Feb 1993 19:24:25 GMT Organization: The University of Maryland, College Park Distribution: na Message-ID: <1l6c19INN59d@ni.umd.edu> References: <1993Feb8.161215.26596@slate.mines.colorado.edu> In article <1993Feb8.161215.26596@slate.mines.colorado.edu> lpratt@slate.mines.colorado.edu (Lorien Pratt) writes: >Can anybody tell me where the ``shared libraries'' are, so I know where to >look for a problem? Presumably my disk has become corrupted somehow. The stuff in /usr/shlib: (on my 3.0 system) louie@sayshell[19] $ ls -l /usr/shlib total 6029 -rwxr-xr-x 1 root 449902 Jul 22 1992 libIndexing_s.A.shlib* -r-xr-xr-x 1 root 459126 Jul 22 1992 libMedia_s.A.shlib* -r-xr-xr-x 1 root 2068672 Jul 30 1992 libNeXT_s.C.shlib* -r-xr-xr-x 1 root 358301 Jul 23 1992 libdbkit_s.A.shlib* -r-xr-xr-x 1 root 198815 Jul 22 1992 libdsp_s.A.shlib* -r-xr-xr-x 1 root 841965 Jul 22 1992 libmusic_s.A.shlib* -rwxr-xr-x 1 root 83438 Jul 23 1992 libni_s.A.shlib* -rwxr-xr-x 1 root 84079 Jul 23 1992 libphone_s.A.shlib* -r-xr-xr-x 1 root 855958 Jul 21 1992 libsys_s.B.shlib* lrwxrwxrwx 1 root 18 Nov 12 16:28 libvideo_s.A.shlib -> libMedia_s.A.shlib@ louie@sayshell[20] $
From: kerchen@k2.cs.ucdavis.edu (Paul Kerchen) Newsgroups: comp.sys.next.programmer Subject: DragView --> DBImage --> Database? Message-ID: <22342@ucdavis.ucdavis.edu> Date: 8 Feb 93 18:40:50 GMT Sender: usenet@ucdavis.ucdavis.edu Organization: U.C. Davis, Computer Security Lab Hello all. I have an application in which I would like to be able to take an image displayed in a DragView object (from NextWorld's DragLab) and put it in a DBImage view. Then, once in place in the DBImage view, I'd like to be able to insert the image into the DBImage's associated database. DBModule does not support takeValueFrom: with DBImages. Alternatively, if there's a way to skip the DBImage step (ie., go directly from the DragView to the database), that would be even better. In case it matters, I'm using Sybase as my underlying database. Thanks. | "Disembodied gutteral noise need not make sense" | | Paul Kerchen | | kerchen@cs.ucdavis.edu |
Newsgroups: comp.sys.next.programmer From: karl@ensuing.com (Karl Kraft) Subject: Re: Window's setTitle: not displaying Message-ID: <9302081732.AA19792@ensuing.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: Ensuing Technologies Inc. References: <C23qKt.EIr@ms.uky.edu> Distribution: usa Date: Mon, 8 Feb 1993 17:32:31 GMT In article <C23qKt.EIr@ms.uky.edu> kevins@slow.inslab.uky.edu writes: >Robert Davis writes >-> [window setTitle:newTitle]; // "Busy... <filename>" >-> >with the distributed objects. As you mentioned the calles seemed to get >buffered and flashed all at once after the connection has been made. > >Not real sure whats going on > All drawing to the WindowServer is buffered. Use NXPing() to flush the buffer. The buffer is automatically flushed when it overflows, and each time your app is about to grab an event. The following code works [myWindow setTitle:"Busy...."]; NXPing(); sleep(1); [myWindow setTitle:"Data Retrieved"]; -- __________ Karl Kraft karl@ensuing.com (NeXT mail)
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: NXBrowser problem with Solution Date: 8 Feb 1993 18:17:00 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1l682s$31j@steffi.demon.co.uk> Recently, I wanted to create an NXBrowser with a subclass of NXBrowserCell that allowed me to vary the image I want to the left of the text in the cell and also size the cell such that its height was the larger of the pictures height and the height needed to display the text. The problem was that the browser was'nt computing the cells size correctly even though my subclasses calcCellSize was correct. This is rather tricky since you would expect that the browser would take a cell from your NXBrowser and calcCellSize and return the correct size to size the browsers cell's with. Infact, when NXBrowser does a loadColumnZero it does perform a calcCellSize on the cells that are being loaded, one per column it creates it think "don't quote me" But the problem is caused by loadColumnZero which at the end of its completion performs a calcCellSize using the browsers prototype and not the loadedCells which have the correct size information and state such that the size could be calculated correctly. Solution, you have to set up the browsers PrototypeCell as you would the cells you are loading so that you get the correct cellSize calculated. Correct me if im wrong. Cheers. PS. in gdb under NS3.0 if you type "browse object" it will invoke appInspector with object. Very nice this.
From: rwb@alexander.VI.RI.CMU.EDU (Robert Berger) Newsgroups: comp.sys.next.programmer Subject: Re: Window's setTitle: not displaying Message-ID: <C25Dtq.2q6.2@cs.cmu.edu> Date: 8 Feb 93 20:49:01 GMT Article-I.D.: cs.C25Dtq.2q6.2 References: <C23FH8.7qB@mentor.cc.purdue.edu> Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon In article <C23FH8.7qB@mentor.cc.purdue.edu> davisre@sage.cc.purdue.edu (Robert Davis) writes: > > I have a window whose title I'd like to change to indicate > that something is happening ("Busy") ... Graphics output is normally buffered until your method returns to the event handling loop. However, you can force output to be displayed immediately by calling NXPing(), as in the following: [myWindow setTitle: "Sleeping"]; NXPing(); sleep(10); [myWindow setTitle: "Ready"]; NXPing(); . . .
Newsgroups: rec.photo,comp.sys.next.programmer From: Adrian C Ruigrok <aruigrok@bnr.ca> Subject: Re: Photo CD's Message-ID: <1993Feb8.212101.28397@bcars6a8.bnr.ca> Sender: usenet@bcars6a8.bnr.ca (Use Net) Organization: Bell-Northern Research References: <109485@bu.edu> Date: Mon, 8 Feb 1993 21:21:01 GMT In article <109485@bu.edu> Michael Amirault, ambi@it-next2.bu.edu writes: > Does anyone know of any place (mail order or around Boston) that will >make photo CD's? Can you get them from negatives? What's the cost? etc.. > You should be able to get PhotoCD's made at your local photo shop. In Ottawa, most of the major names will do it. The pricing I have seen is something like 70 cents an image if dumped onto CD at time of developing, plus $10 for the disk itself. After the fact it is like any reprints. ie. a lot more. It is about $2 to get an existing negative blasted onto CD-ROMs, plus the $10 price of the disk. You can get 100 photos onto the PhotoCD. Keep in mind you need a CD-ROM that is multi-session PhotoCD capable to read disks that have pictures that are not put on all in one shot. Don't know what is in the NeXT. Hope that helps, Adrian ------------------------------------ Adrian C Ruigrok aruigrok@bnr.ca On Contract to: Bell-Northern Research, Ottawa, Ontario, Canada
From: Robert_La_Ferla@hot.com Newsgroups: comp.sys.next.programmer Subject: Re: Multi-Developer Projects Keywords: RCS, NeXT Message-ID: <1993Feb8.193034.6880@hot.com> Date: 8 Feb 93 19:30:34 GMT References: <1029338.81014.1675@kcbbs.gen.nz> Sender: robertl@hot.com Organization: Hot Technologies In article <1029338.81014.1675@kcbbs.gen.nz> David_Boyle@kcbbs.gen.nz (David Boyle) writes: > > > Multi-Developer Projects > > We have a project with 3 front end developers. We would very much like to > share UI defintions (nibs) and classes. We would also like to have reasonably > strict source code control. > > How is this normally done on the NeXT? Most developers use RCS (Revision Control System.) You'll need to uuencode NIBs (and any other binary files) before checking them in and uuencode them when checking them out. Your best bet is to write a CSH script wrapper that does this around the co (check out) and ci (check in) utilities. Also, there are other source code control systems available such as SCCS and others in the public domain. Robert La Ferla Hot Technologies
From: Robert_La_Ferla@hot.com Newsgroups: comp.sys.next.programmer Subject: Re: Immediately effective dwrite, How? Message-ID: <1993Feb8.193506.6944@hot.com> Date: 8 Feb 93 19:35:06 GMT References: <1993Feb8.151937.685@cc.umontreal.ca> Sender: robertl@hot.com Organization: Hot Technologies In article <1993Feb8.151937.685@cc.umontreal.ca> lutzray@ERE.UMontreal.CA (Lutz Raymond) writes: > Bonjour a tous, > > How can an app redefine the mouse scaling AND > make the change immediately effective ? Look at the Event Status Driver in the 3.0 release notes. Robert La Ferla Hot Technologies
Newsgroups: comp.sys.next.programmer From: timm@zaphod.ncsa.uiuc.edu (Tim McClarren) Subject: Re: Distributed Objects question Date: Mon, 8 Feb 1993 21:29:23 GMT Message-ID: <timm.729206963@zaphod> References: <C24uA6.H19@ny.shl.com> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana nwc (Nick Christopher) writes: >Has anyone played with these much? I am trying to have an object in one >program act as a delegate for an object in another and the performance is >HORRID - 10-30 seconds between sub-second calls (if it was all in one app). >Any ideas? I've played with them. While not blazing, they weren't quite that bad. Are you sure you're following the guidelines for using them that are documented in Chapter 6? Moving objects between apps is expensive, maybe you're returning id's where you'd be better off returning nothing? Have you got protocols defined? This let's the proxy know what types it's going to need to encode/decode for any given method signature and will prevent the proxy from needing to ask the real object about it. I haven't actually benchmarked the two cases, so I don't know how much that will help, but in my limited experience I've used a fully defined protocol and made stringent use of the new keywords. I can't think of anything unusual about wanting to delegate messages to a vended object. -- Tim McClarren | "...a bajillion brilliant Jobsian lithium licks." timm@ncsa.uiuc.edu| (217)244-0015 |
Newsgroups: comp.sys.next.programmer From: kevins@slow.inslab.uky.edu Subject: Re: DragView --> DBImage --> Database? Message-ID: <C25HMp.H0J@ms.uky.edu> Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences References: <22342@ucdavis.ucdavis.edu> Date: Mon, 8 Feb 1993 22:11:13 GMT Paul Kerchen writes -> Hello all. I have an application in which I would like to be able to -> take an image displayed in a DragView object (from NextWorld's -> DragLab) and put it in a DBImage view. Then, once in place in the -> DBImage view, I'd like to be able to insert the image into the -> DBImage's associated database. DBModule does not support -> takeValueFrom: with DBImages. This is incorrect. DBImageView can be connected to DBModules takeValueFrom: -- _______________________________________________________________________________ I'll cross my heart and hope to die but the needle's already in my eye. _______________________________________________________________________________ Kevin Solie
Newsgroups: comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: Re: Multi-Developer Projects Message-ID: <1993Feb8.212628.7507@hot.com> Keywords: NeXT, RCS, uuencode, uudecode, NIB Sender: robertl@hot.com Organization: Hot Technologies References: <1993Feb8.193034.6880@hot.com> Date: Mon, 8 Feb 1993 21:26:28 GMT In article <1993Feb8.193034.6880@hot.com> I wrote: > You'll need to uuencode NIBs (and any other binary files) before > checking them in and uuencode them when checking them out. Oops. I meant uuencode before checking in and uudecode after checking out. Robert La Ferla Hot Technologies
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: UI Enhancement Message-ID: <1993Feb8.193628.21007@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Mon, 8 Feb 93 19:36:28 GMT Please see comp.sys.next.advocacy under the same subject "UI Enhancement". ------------------------------------------------------------------------- G o d l e s s f e e l i n g i n m e B o r n o f t h e i r l i e s . . . Danzig -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: kieffer@spf.trw.com (Robert Kieffer) Subject: <Help> ...with Jean Laroche's "Dig Ears" example (not working... why?) Message-ID: <2B77068E.2280@deneva.sdd.trw.com> Sender: news@deneva.sdd.trw.com Organization: TRW Inc., Redondo Beach, CA Date: Tue, 9 Feb 93 01:19:10 GMT I'm baaack... I've succesfully compiled J. Laroche's "03_Dig_Ears" example code after making the change in the .asm file to produce the sine wave (0 -> 1). Only problem is that when I run it I don't get any sound. Is there a bug here? ... an incompatibility with NS3.0? ... a moronic mistake/oversite on my part (the most likely :-)? Any help is (again) greatly appreciated. Thanks, Robert Kieffer kieffer@spf.trw.com
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: <Help> ...with Jean Laroche's "Dig Ears" example (not working... why?) Date: 9 Feb 1993 02:36:26 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1l75ba$lu6@agate.berkeley.edu> References: <2B77068E.2280@deneva.sdd.trw.com> In article <2B77068E.2280@deneva.sdd.trw.com> kieffer@spf.trw.com (Robert Kieffer) writes: I'm baaack... I've succesfully compiled J. Laroche's "03_Dig_Ears" example code after making the change in the .asm file to produce the sine wave (0 -> 1). Only problem is that when I run it I don't get any sound. Is there a bug here? ... an incompatibility with NS3.0? ... a moronic mistake/oversite on my part (the most likely :-)? Any help is (again) greatly appreciated. Thanks, Robert Kieffer kieffer@spf.trw.com -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: <Help> ...with Jean Laroche's "Dig Ears" example (not working... why?) Date: 9 Feb 1993 02:38:36 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1l75fc$lva@agate.berkeley.edu> References: <2B77068E.2280@deneva.sdd.trw.com> In article <2B77068E.2280@deneva.sdd.trw.com> kieffer@spf.trw.com (Robert Kieffer) writes: I'm baaack... >I've succesfully compiled J. Laroche's "03_Dig_Ears" example code after >making the change in the .asm file to produce the sine wave (0 -> 1). >Only problem is that when I run it I don't get any sound. Is there a bug >here? ... an incompatibility with NS3.0? ... a moronic mistake/oversite on >my part (the most likely :-)? > Yes there is a bug. Try the following as the replacement for perso_b.asm in 03_Dig_Ears example. --- cut here ---- ;;Written by J. Laroche at the Center for Music Experiment at UCSD, San Diego ;;California. December 1990. Sine set 1 ; Replace 0 by 1 if you don't have digital ears ; The DSP will just create a sine wave. include "ioequ.asm" IW_Buff equ 8192 ; Start address of input buffer Buff_size equ 4095 ; Length of this buffer - 1. DMA_SIZE equ 512 DM_R_REQ equ $050001 ; message -> host to request dma VEC_R_DONE equ $0024 ; host command indicating dma complete DMA_DONE equ 0 ; indicates that dma is complete ;;;------------------------- Variable locations ;;; x_sFlags equ $00fd ; dspstream flags Stop_Flag equ $000 ; Stop DMA flag volume equ $001 ; Volume cra_init equ $4100 ; crb_init equ $0a00 ; ;crb_init_sine equ $0a30 ; must use internal SSI clock/frame sync pcc equ $1e0 ; pcddr equ $01c ; pcd_init equ $0010 ; org p:$0 jmp reset org p:VEC_R_DONE bset #DMA_DONE,x:x_sFlags nop org p:$C ;SSI data received interrupt movep x:m_rx,y:(R0)+ nop org p:$E ;SSI data received exception interrupt jsr except nop org p:40 ;Host Command interrupt jsr getVolume nop org p:60 ;Host Command interrupt jsr stop nop org p:62 ;Host Command interrupt jsr go nop org p:100 ; Beginning address of program. reset movec #6,omr ;data rom enabled, mode 2 bset #0,x:m_pbc ;host port movep #>$000000,x:m_bcr ;no wait states on the external sram movep #>$00BC00,x:m_ipr ;intr levels: SSI=2, SCI=1, HOST=2 bset #m_hcie,x:m_hcr ;host command interrupts move #0,sr ;enable interrupts ;; Configure SSI port movep #cra_init,x:m_cra movep #crb_init,x:m_crb movep #pcd_init,x:m_pcd movep #pcddr,x:m_pcddr movep #pcc,x:m_pcc ;; Configure variables clr a move a,x:x_sFlags ;clear flags move #>IW_Buff,R0 move #>IW_Buff,R7 move #>Buff_size,M0 move #>Buff_size,M7 if Sine move #>$100,R1 move #>$FF,M1 endif jmp main main move #>.9,a move a,x:volume bclr #0,x:Stop_Flag bset #m_srie,x:m_crb bset #m_sre,x:m_crb ;SSI Receive enable _main_loop jset #0,x:Stop_Flag,_main_loop jclr #m_htde,x:m_hsr,_main_loop movep #DM_R_REQ,x:m_htx ; send "DSP_dm_R_REQ" to host _ackBegin jclr #m_hf1,x:m_hsr,_ackBegin ; wait for HF1 to go high move #>DMA_SIZE,b do b,_prodDMA _send if Sine move y:(R1)+,Y0 ; If no digital ears, sine wave... else move R0,a move R7,b cmp a,b ;compare put and get pointers indices jeq _send move y:(R7)+,Y0 endif move x:volume,X0 mpyr Y0,X0,a #>$8000,X0 move a,Y0 mpyr X0,Y0,a _wait jclr #m_htde,x:m_hsr,_wait ; wait until host TX data empty move a,x:m_htx _prodDMA btst #DMA_DONE,x:x_sFlags jcs _endDMA jclr #m_htde,x:m_hsr,_prodDMA movep #0,x:m_htx ;send zeros until noticed jmp _prodDMA _endDMA bclr #DMA_DONE,x:x_sFlags ;reset the flag! _ackEnd jset #m_hf1,x:m_hsr,_ackEnd ;wait for HF1 to go low (optional!) jmp _main_loop except movep x:m_sr,a movep x:m_rx,a ; Must read the SSI status register, rti ; then RX, in order to reset ROE. stop bset #0,x:Stop_Flag rti go bclr #0,x:Stop_Flag rti getVolume movep x:m_hrx,x:volume rti -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: paterson@gdss.commerce.ubc.ca (Toby Paterson) Newsgroups: comp.sys.next.programmer Subject: IBEditors and IB Object extensions Date: 9 Feb 1993 02:35:59 GMT Organization: The University of British Columbia Message-ID: <1l75afINNhb6@iskut.ucs.ubc.ca> I'm posting this question for a friend, who doesn't have internet access - please respond to this account, and I'll forward him any answers. Has anyone managed to successfully implement an Editor in IB yet? I can't seem to make editors on views work - it seems to work fine on objects that are dragged into the Objects area, but when I implement the -getEditorClassName routine in my subclass of View, it never gets called. Anyone have any relevant experience? -- \\ / Who: Toby Paterson \\/ How: paterson@gdss.commerce.ubc.ca, tpaterso@cs.ubc.ca //\ What: Grunt and NeXT hacker; GDSS Fellowship // \ Where: University of British Columbia
Newsgroups: comp.sys.next.programmer From: pyramid@jobe.portal.com (Fouad Habboub) Subject: Preview & properly declared pages... Message-ID: <C25n5H.9B5@unix.portal.com> Summary: Preview complains about pages not properly declared. Keywords: preview Sender: news@unix.portal.com Organization: Portal Communications Company Date: Tue, 9 Feb 1993 00:10:27 GMT Hi Folks, I have a postscript file which whenever I try to open from preview, I get the following message: The pages of the document are not properly declared. If you continue, you will only be able to page through the file's pages sequentially. The postscript file is produced on an HP using Sybase SQR. Any pointer on how to fix this problem? Or where to starting looking for the cause is very much appretiated. Please reply to fkh@eqs.com or pyramid@shell.portal.com Regards, Fouad
Newsgroups: comp.sys.next.programmer From: jland@nwu.edu (John Landwehr) Subject: looking for NeXT programmers, again... Message-ID: <1993Feb9.043715.24819@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Tue, 9 Feb 1993 04:37:15 GMT Some of you will remember that I have been putting out postings on the net every few months to gather names of available NeXT programmers for a head-hunter friend of mine. For those of you that haven't recently responded, he is looking for people to place in jobs across the country & in Europe. He is looking for 2 yrs min experience with NeXTstep for ONSITE work. If you are interested in hearing more, send the following to me, and I will pass it along to him: name telephone # email addr brief (80 chars. max) description of experience Send this info to: next@nwu.edu
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: App crashing inside loadNibSection:owner:withNames:fromZone Message-ID: <1993Feb9.083406.21410@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Distribution: na Date: Tue, 9 Feb 1993 08:34:06 GMT My app has several nibs. If I load a particular nib first, the program crashes *inside* loadNibSection:owner:withNames:fromZone: with no diagnostic messages on the console. But everything's fine if I load another nib first. For example, the Info panel. Running in the debugger, I get this message 11 calls below loadNibSection:... Program generated(1): Memory access exception on address 0x12ce39b (invalid address). 0x5008b8a in nxzonemallocnolock () I've tried regenerating the nib, I've redesigned some of my code, and still this happens. Before that, the app would crash or not depending on the size of an internal view created before the nib was loaded. It would crash running on its own, but would not crash if run from the debugger or from PB's run button. Any ideas on what's going on here? Thanks, Steve abell@netcom.com
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: commands in GDB under 3.0 Date: 9 Feb 1993 10:04:58 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1l7vka$3hf@steffi.demon.co.uk> Has anybody gotten the "commands" keyword to work in GDB with Edit.app and NS3.0? I set my breakpoint and specify for commands <N>\nprint variable\nend It doesn't perform my commands when it gets to the breakpoint. Why?
Newsgroups: de.comp.sys.next,comp.sys.next.programmer From: elmi@rrz.de (Elmar K. Bins) Subject: Fonts and more Message-ID: <1993Feb8.182231.685@rrz.de> Followup-To: comp.sys.next.programmer Sender: elmi@rrz.de Organization: Rhein-Rechenzentrum GmbH, Koblenz, Germany Date: Mon, 8 Feb 93 18:22:31 GMT Hi NeXTicians (derives from "TeXnicians"... :-) ), ------------------ english version following ------------------- I've got a serious problem with one of our applications. This app needs information about the font being used. It gains this info by instantiating a Font object, [set]ting it and afterwards issuing a [readMetrics:63]. During the readMetrics, the system fails, and the console window contains the following two lines as an error message: <date> <host> pbs: parse error 10000016 (0xdd,0x0) reading <~>/Library/Fonts//<fontname>.font/<fontname>.afm ^^-here! The interesting point and the source of the error (as I think) is the double slash mentioned above. In other NeXT applications it's absolutely no problem using these fonts. Anyway, my suggestion is that there's something wrong with those fonts (they're third party Type 1 fonts, not intended specifically for NeXT, but converted by appropriate methods). The error doesn't appear with other Type 1 fonts, be it NeXT specials or not. Did anyone face this problem before? Is it a NS 3.0 specific problem? Any suggestions besides not using those fonts anymore (which is important to us)? Any pointers? If you'll be mailing me, I'm going to post a summary. Thanx a billion, Elmi. ------------------ german version following ------------------- Ich habe ein ernstes Problem mit einer unserer NeXT-Anwendungen. Diese Applikation ben"otigt Informationen "uber den benutzten Font. Sie holt sich die Information durch Instanzieren eines Font-Objekts, setzen des Fonts mit [set] und dem Abschicken einer [readMetrics:63]-Nachricht. W"ahrend des readMetrics tritt ein Fehler auf, der folgende Fehlermeldung im Konsolfenster zeitigt: <Datum> <Rechner> pbs: parse error 10000016 (0xdd,0x0) reading <~>/Library/Fonts//<Fontname>.font/<Fontname>.afm ^^-hier! Der interessante Punkt und meiner Meinung nach die Fehlerquelle ist der doppelte Schr"agstrich oben. In anderen NeXT-Applikationen gibt's keine Probleme mit diesen Fonts. Trotzdem tippe ich darauf, da"s mit den Fonts irgendwas nicht stimmt (selbstgestrickte Typ 1-Fonts (URW), und nicht speziell f"ur den NeXT gedacht; aber man hat ja so seine Tricks). Der Fehler tritt mit anderen Typ 1-Fonts nicht auf, seien es nun NeXT-spezifische oder nicht (also selbst konvertierte). Hatte schonmal jemand dieses Problem? Handelt es sich evtl. um ein NS 3.0-Problem? Irgendwelche Vorschl"age, au"ser diese Fonts nicht mehr zu benutzen (das ist nunmal wichtig f"ur uns)? Hinweise oder Verweise? Sollte ich die Antworten per mail kriegen, poste ich eine Zusammenfassung. Tausend Dank, Elmi. ---------------------------------------------------------------------- Bitte das FollowUp-To beachten! Please refer to the FollowUp-To! -- Elmar K. Bins e-Mail: elmi@rrz.de Rhein-Rechenzentrum GmbH `-_-' (NeXTMail welcome) August-Horch-Strasse 28 'U` Voice: +49 261 892-522 W 5400 Koblenz, Germany Fax: +49 261 892-525
Newsgroups: comp.sys.next.programmer From: korp@eid.anl.gov (Peter A. Korp) Subject: To Text or not to Text... Message-ID: <1993Feb9.152508.6593@mcs.anl.gov> Keywords: Text, show, PSshow, isflipped, wraps Sender: usenet@mcs.anl.gov Organization: Argonne National Laboratory, Argonne, Illinois Date: Tue, 9 Feb 1993 15:25:08 GMT I am creating an application where I need to have 100 or so text strings appear on screen using arbitrary fonts, scales, colors and rotations. When the user selects the text a window pops up giving a detailed explanation of that item. My question is should I use the PSmoveto(), PSshow() operators, create custom pswraps or use the Text object? If the former do I need to flip the Views coordinate system (I think so)? If using the Text object is preferable how do I go about doing it? I have seen no examples that I understand (I don't understand Draw). Do I create 100 Text objects or just 1 that is shared? Any snippets of code or just plain old advice is welcome. -- Peter A. Korp Assistant Scientist Argonne National Laboratory korp@eid.anl.gov
Newsgroups: rec.photo,comp.sys.next.programmer From: edmtl@alf.uib.no (Thor Legvold) Subject: Re: Photo CD's Message-ID: <1993Feb9.112618.2383@alf.uib.no> Organization: University of Bergen, Norway References: <1993Feb8.212101.28397@bcars6a8.bnr.ca> Date: Tue, 9 Feb 93 11:26:18 GMT aruigrok@bnr.ca (Adrian C Ruigrok) writes: : In article <109485@bu.edu> Michael Amirault, ambi@it-next2.bu.edu writes: : > Does anyone know of any place (mail order or around Boston) that will : >make photo CD's? Can you get them from negatives? What's the cost? etc.. : > [deleted] : : Keep in mind you need a CD-ROM that is multi-session PhotoCD capable : to read disks that have pictures that are not put on all in one shot. : Don't know what is in the NeXT. The NeXT CD player is Single Session compatible only (as of today, they may upgrade it soon), so make sure you get everything on the disk the first time, the rest is inaccessable for your NeXT. : : Hope that helps, : Adrian : ------------------------------------ : Adrian C Ruigrok aruigrok@bnr.ca : On Contract to: : Bell-Northern Research, Ottawa, Ontario, Canada Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
From: mikes@ceco.ceco.com (Michael Stepniczka) Newsgroups: comp.sys.next.programmer Subject: Mixing sounds? Summary: How to mix sounds?? Message-ID: <874@ceco.ceco.com> Date: 8 Feb 93 22:51:02 GMT Organization: Commonwealth Edison Co., Chicago, IL I've been trying to figure out how to mix multiple sounds within one application. I assume I'm missing something obvious here, but my attempts at setting up multiple instances of Sound objects and having them play simultaneously hasn't worked. Is there a switch that needs to be set? I assumed that because the sound objects are playing and recording in background threads that I could use more than one at a time. Running multiple programs playing different sounds works flawlessly. If anyone knows what I'm missing, please e-mail me or post. I hope I'm not the only one out here who can't see the answer to this. Thanks in advance. Michael Stepniczka
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Multi-Developer Projects Keywords: RCS, NeXT Message-ID: <64145@mimsy.umd.edu> Date: 9 Feb 93 16:24:57 GMT References: <1029338.81014.1675@kcbbs.gen.nz> <1993Feb8.193034.6880@hot.com> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1993Feb8.193034.6880@hot.com> Robert_La_Ferla@hot.com writes: > Most developers use RCS (Revision Control System.) You'll need to > uuencode NIBs (and any other binary files) before checking them in > and uuencode them when checking them out. CheckItOut is a pretty nice GUI around RCS utilities, with a few extra frills. It also will automatically do the uuencode if you ask. Its at sonata and the shareware fee is low. If you register, you can get source and improve it if you wish. For a multi-person project, I highly recommend RCS strict mode. its a little pain at first, but can prevent many unnecessary problems. You could also get CVS from the net, but that seems overkill to me unless you are porting all of Unix with people editing the same files at different sites. ------------- begin musing -------------- One of the nicest CM systems I've used is VMS CMS, though its age is showing, the feature set is very useful. You can have arbitrary actions happen on checkin. A nice one is to have mail sent - so if you want to be alerted every time someone updates a particular header file, you can be. It is also very well integrated with the LSE editor, so you can add the CMS library to your search path and then browse the latest contents of the CM library in the editor which would always put them in a read only buffer. This feature almost totally eliminates the need for temporary copies of CM source (which are dangerous because people forget they havent checked them out and change them in conflict with others) Apollo DSEE has similar features. I love the simplicity of RCS, but wish these features were more widely available. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: bogdan@eecs.nwu.edu (Bogdan Vacaliuc) Subject: Objective-C Book Message-ID: <1993Feb9.163436.15756@eecs.nwu.edu> Keywords: objective-c book oop language Sender: usenet@eecs.nwu.edu (Mr. Usenet) Organization: EECS Department, Northwestern University Distribution: usa Date: Tue, 9 Feb 1993 16:34:36 GMT Hello, I'm trying to find a certain developers book, NeXTSTEP OOP and the Objective-C Language (Release 2 or whatever) Major bookstores don't have it in stock anymore, and the publisher, Addison-Wesley says its out of stock and out of print. Release 3 of the book is due in May, but I need this book now. Does anybody have a copy of this book they are not using and are willing to part with? Borrowing the book for a month or so would also be an option. Thanks for any help you can give, -bogdan (bogdan@eecs.nwu.edu)
From: theharv@csld (Brian Harvey) Newsgroups: comp.sys.next.programmer Subject: Adding an OpenPanel to a program Message-ID: <25951@galaxy.ucr.edu> Date: 9 Feb 93 17:13:37 GMT Sender: news@galaxy.ucr.edu Distribution: usa Hello all. I have a problem. I'm trying to write an application that has an open panel come up. I declare the panel like this: OpenPanel *openpanel = [[OpenPanel new] allowMultipleFiles:NO]; and when it do this: directory = [openpanel directory]; I am able to find out what directory the user has chosen in the Open Panel, but when I do this: file = [openpanel filenames]; I can't seem to access the information in the variable "file". It's declared as: const char *const *file; because that is what [openpanel filenames] returns. My question is "How to I access the name of the file from "file"? I tried printing "file" out as a string, but that didn't work. Any help would be greatly appreciated! ------------------------- theharv@csld.ucr.edu Brian Harvey University of California, Riverside
Newsgroups: comp.sys.next.programmer From: hac@nexus.inesc.pt (Hugo Andrade Cartaxeiro) Subject: vtalk 4 NeXT : does any body has it ? Message-ID: <HAC.93Feb9201432@nexus.inesc.pt> Sender: usenet@inesc.pt (USENET News System) Organization: INESC (Inst. Eng. Sistemas e Computadores) -LISBOA -PORTUGAL Distribution: comp Date: Tue, 9 Feb 1993 20:14:32 GMT Hi NeXT'ers Does any body out there has ported vtalk (written for sun) to a NeXT? Or dos it exist anything compatible (even with diferent name :-) ? tks in adv, -- Hugo Andrade Cartaxeiro @ INESC [Inst. Eng. Sistemas e Computadores] CCAE [Centro de Comunicacoes em Ambientes Empresariais] Avenida Duque d'Avila 23, 1000 Lisboa, -PORTUGAL. Phone.: +351 1 3100070 Fax.: +351 1 3100008 e-mail: hac@inesc.pt
Newsgroups: comp.sys.next.programmer From: dave@hyla.biosci.missouri.edu (Dave Zaloz) Subject: NeXT games Message-ID: <1993Feb9.211849.15930@sbcs.sunysb.edu> Sender: usenet@sbcs.sunysb.edu (Usenet poster) Organization: Dept of Computer Science, State U of NY at Stony Brook Date: Tue, 9 Feb 1993 21:18:49 GMT Aloha. I'm interested in programming some games on the Next, but lack in any game programming experience. If any of you out there have any wisdom to pass my way please drop me a line at dave@hyla.biosci.missouri.edu. I'm mainly interested in role playing type of games. I'd also like to hear from anyone who knows how to use the postscript system on games. Thanx
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: How to get DPSContext of another app. Date: 10 Feb 1993 01:06:44 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1l9kf4INN5dg@uwm.edu> Originator: xepo@csd4.csd.uwm.edu HI, I am wondering if there is a way to get the DPSContext structure of another app. I know that you can build a list of all the on screen windows and get a unique PS idea that is in the integer format. But, is there a way to get a DPSContext structure for that other app? Thanks, -- -Scott Violet (xepo@csd4.csd.uwm.edu)
From: jimb@access.digex.com (Jim Brooking) Newsgroups: comp.sys.next.programmer Subject: Form Feed from fprintf Date: 9 Feb 1993 10:48:00 -0500 Organization: Object oriented Distribution: usa Message-ID: <1l8jngINN6dh@access.digex.com> I am generating a text file with fprintf, and I need to put page breaks in so that the printer will form feed at certain times. I tried putting \012 (^L, FF) in, but obviously the text-to-postscript conversion is ignoring them. Can I solve this easily? Thanks for info! -- jimb@access.digex.com | (Cage) 1991 323se (MD ZCP-710) | Comus Road Merry Land (MD) U.S.A. | (Bike) Looking for liter class sportourer | ClarksBURG -----------------------+-------------------------------------------+----------- Mail is forwarded to NeXT "Happy Happy Joy Joy!" -Stimpy
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: dglattin@trirex.com (Dennis Glatting) Subject: Looking for nvram decl Message-ID: <1993Feb4.055021.7351@Trirex.COM> Keywords: nvram Sender: root@Trirex.COM (Operator) Organization: Trirex Systems Inc. Distribution: usa Date: Thu, 4 Feb 1993 05:50:21 GMT I am setting up a automatic computer configuration scheme for one of my clients. I would like to change some of the NVRAM parameters programatically such as the ROM password and boot device. I am looking for a struct decl of NVRAM. Where can I find such a beast? -- Dennis P. Glatting / Sr. Technical Manager / Trirex Systems Inc. 315 Post Road West / Westport, Connecticut 06880 / (203)221-4600 dennis_glatting@trirex.com (NeXTmail Ok) Member League for Programming Freedom
Newsgroups: comp.sys.next.programmer From: jgg@proforma.com (J. G. Gregory) Subject: need way to debug "freed unmalloced pointer" Message-ID: <1993Feb2.193228.1097@proforma.com> Sender: jgg@proforma.com Organization: Pro Forma Date: Tue, 2 Feb 1993 19:32:28 GMT I may be slow, but is there an easy way to find the particular call to free() that causes the "freed unmalloced pointer" messages? It seems like this should be one of the basic debugging operations, but I can't find it mentioned. Also, what is the significance of the difference between the following 2 messages? freed unmalloced pointer: 0xdeadbeef freed unmalloced pointer: 0x7f7f7f7f In other words, what things fill memory with beefdead, and what fills memory with 7f7f7f7f? Any clues appreciated. --J Gregory
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Expo Developer Session price Date: 10 Feb 1993 02:33:05 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1l9ph1INNdu5@darkstar.UCSC.EDU> Summary: Severe inflation rate compared with last year. Because the Expo organizers apparently want me to attend so badly (they've asked me 12 times :-) I called their number and asked for preregistration info. Last year, early registration cost $395 (with the cost being $495 at the door, if I recall). This year, early registration is something like $695, $745 at the door. It's the same 3 days, but I guess supply, demand, and corporate expense-paid NeXTSTEP developers may justify the increase. Really makes it tough on us little guys. But the organizers may succeed in reducing the overcrowding of last year. I may give up my seat at these prices to help the organizers; it's the least I can do. NeXT needs more developers, not less, attending the Expo and Developer sessions, especially with the financial hit and (minor) demoralization that many of us are going to experience due to NeXT's apparent hardware decision (I support the apparent decision, but don't support the timing). This high Expo cost couldn't have come at a worse time. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NeXT software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: andrew@cubetech.com (Andrew Loewenstern) Subject: Re: Distributed Objects question Message-ID: <1993Feb9.220614.849@cubetech.com> Organization: Cube Technologies, Inc. References: <C24uA6.H19@ny.shl.com> Date: Tue, 9 Feb 1993 22:06:14 GMT In article <C24uA6.H19@ny.shl.com> nwc@ny.shl.com writes: > >Has anyone played with these much? I am trying to have an object in one >program act as a delegate for an object in another and the performance is >HORRID - 10-30 seconds between sub-second calls (if it was all in one app). > >Any ideas? Is the connection between the objects over ethernet?? For single method-calls, you shouldn't be able to notice the overhead. If you define a protocol for the remote object and send setProtocolForProxy: to the local proxy, you will reduce overhead... andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: NeXT TIFF's, whiter, brighter than other TIFF's Message-ID: <!f63dfq@rpi.edu> Date: Wed, 10 Feb 1993 06:04:59 GMT When I was playing around with the pCD application for photo CD's, I noticed that the TIFFs I came up with seemed a little brighter than the orginal picture. I tried the same photo CD on a Mac with system 7.1, and sure enough the picture came out at about the expected brightness level. So then I transfered a TIFF produced by pCD to the Mac. That also looked like it had the right brightness level. If I print the image from a NeXT to a color Phaser printer it, it comes out brighter than printing the same image from a Mac. So, the question is, what could be causing these TIFFs to come out brighter on the NeXT than on the Mac? -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: colin@agincourt.bsd.uchicago.edu (& Garrett) Newsgroups: comp.sys.next.programmer Subject: Re: Sybase stored procedures and DBKit Message-ID: <1993Feb9.135615.14902@midway.uchicago.edu> Date: 9 Feb 93 13:56:15 GMT References: <1029338.81010.1669@kcbbs.gen.nz> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations In article <1029338.81010.1669@kcbbs.gen.nz> David_Boyle@kcbbs.gen.nz (David Boyle) writes: > DBKit and Sybase Stored Procedures. > DBKit, as it stands, provides automatic generation of SQL. My understanding is > that given a DBModule with a list of Fetchgroups (one + one per join) and a > list of Associations relating UI objects to properties, a fetch operation on > the DBModule causes the Adapter to generate one SQL statement per Fetchgroup. > Hand crafted SQL (i.e. stored procedures) can be generated by a direct call to > the DBBinder bypassing this mechanism, but we dont want to do that. > > The DBBinder receives rows of the result from the Adapter via a DBContainer (a > list of DBValues) and uses the Associations list to insert properties into UI > objects. > > DBModule is easy to use from a UI point of view, i.e. creating associations > between properties and UI objects. Having the DBBinder insert results into th > UI is great. But we want to cause stored procedure calls to be generated, not > normal SQL. I think I've got just the trick for you. You can set up your DBModule, make all your connections to your DBTV's and other UI objects, then call -fetchAllRecords: or whatever. Then in your binder delegate (do a [myRecList setBinderDelegate:someControllerObject] in appDidInit: or some awakeFromNib method) implement binderDidSelect: and send it an evaluateString: method with the call to your stored procedure. It's like pulling the table cloth out from under the whole DBKit superstructure. As long as the number AND DATATYPES of the returned columns exactly matches what the fetchGroup thought it was getting back, it will go ahead and stuff all the results into the proper UI objects, entirely oblivious to the slight of hand you pulled. And as to your desire not to bypass the functionality of your different fetchGroups, they should each have different binders, so you can have a different delegate for each one, or have a big gross if/else-if statement in your one implementation of -binderDidSelect: to figure out which fetchGroup is currently fetching and thus what sql you need to substitute. Good luck, colin
Newsgroups: comp.sys.next.programmer From: gus@rrz.de (Guido Schoepp) Subject: Subprojects/Bundles (SUMMARY) Message-ID: <1993Feb9.113610.239@rrz.de> Sender: gus@rrz.de Organization: Rhein-Rechenzentrum GmbH, Koblenz, Germany Date: Tue, 9 Feb 93 11:36:10 GMT Hi NeXTers. Here are the mails I received on my question about how to handle Subprobjects and Bundles with ProjectBuilder: 1. "Please post any info you get. This question has been asked several times, but I've never heard any good answers." 2. "Please send me anything you get, I want to research this also." Is there really nobody out there knowing something about this subject? If I'm a MS-Windows programmer I could understand - but I got a NeXT. I need to know that because my project is growing day by day. Guido -- |||| |||| |||| Guido Schoepp |||| |||| / NeXT Registered Developer || \ || \ |||| gus@rrz.de
Newsgroups: comp.sys.next.programmer From: kira.uucp!death@netcom.com (David John Burrowes) Subject: Re: strstr Message-ID: <1993Feb10.035819.297@kira.net.netcom.com> Sender: death@kira.net.netcom.com Organization: No organization at this time. References: <1993Feb5.173336.1231@xexos.com> Date: Wed, 10 Feb 1993 03:58:19 GMT In article <1993Feb5.173336.1231@xexos.com> rob@xexos.com (Rob Trangmar) writes: > > Why no man entry for char *strstr(..)? > The routine is there.... > > rob > ========================================================= > Rob Trangmar Xexos (London) Ltd. > Tel. (44) 71 237 4535 1 New Concordia Wharf > Fax. (44) 71 231 0844 Mill Street, London SE1 > ========================================================= For that matter, how about things like strrchr()? (that is, why have these legit functions never had man pages (or, at least not since 2.1?) \david john
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1993Feb10.083156.5298@latcs1.lat.oz.au> From: jacob@latcs1.lat.OZ.AU (Jacob L. Cybulski) Date: Wed, 10 Feb 1993 08:31:56 GMT Sender: news@latcs1.lat.oz.au (news) References: <C1zv2w.63L@csisun.uucp> Organization: Comp Sci, La Trobe Uni, Australia In article <C1zv2w.63L@csisun.uucp>, jburnes@csisun.uucp (Jim Burnes) writes: |> |> I have an idea. Its probably already been thought of. Why |> don't we as developers come up with a POSIX/ISO/IEEE portable |> class library for GUI's. |> Suggest away... |> |> Jim Burnes |> jburnes@compusci.com This sounds like an excellent idea for GNU! Jacob
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: edmtl@alf.uib.no (Thor Legvold) Subject: THANKS: pCD works now! Message-ID: <1993Feb10.111352.12083@alf.uib.no> Organization: University of Bergen, Norway Date: Wed, 10 Feb 93 11:13:52 GMT Thanks to all those who helped with my problem of pCD crashing each time I read a photo CD. I downloaded the latest version and everything works correctly now. I even managed to panic my machine by opening a few images at max res and base*16 :-) So _that's_ what happens when the swapfile fills up the filesystem ;-) Well, now I wonder - I have a gig disk with 2 partitions, and have about 50mB free on the root partition (where Mr. Swapfile lives). To avoid future 'nasty incidents', can I convince Mach to expand the swapfile over to the /clients partition, so that the machine doesn't die next time I do something dumb??? I remember in 2.1 there was a problem with a swapfile spanning partitions, what about 3.0? Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
From: richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) Newsgroups: comp.sys.next.programmer Subject: GeneralForm Palette for 3.0 ?? Date: 10 Feb 1993 12:47:02 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1latg6INNt0s@nic.BelWue.DE> Has there anybody outside any idea how to rebuild Don McGregor s GeneralForm-Palette, so that it works under 3.0. Unfourtunately this palette doesn t work under NextStep 3.0 and i would save a lot of time using this palette. Thanks for any ideas or solutions Richard Fraunberger from the the heart of germany richi@next1.rz.fh-heilbronn.de
From: rao@kodak.com (Arun Rao) Newsgroups: rec.photo,comp.sys.next.programmer Subject: Re: Photo CD's Message-ID: <4440@eastman.UUCP> Date: 10 Feb 93 14:34:18 GMT References: <109485@bu.edu> <1993Feb8.212101.28397@bcars6a8.bnr.ca> Sender: usenet@eastman.UUCP Followup-To: rec.photo Organization: Image Processing Algorithms Laboratory, Eastman Kodak Co. In article <1993Feb8.212101.28397@bcars6a8.bnr.ca>, aruigrok@bnr.ca (Adrian C Ruigrok) writes: |> In article <109485@bu.edu> Michael Amirault, ambi@it-next2.bu.edu writes: |> > Does anyone know of any place (mail order or around Boston) that will |> >make photo CD's? Can you get them from negatives? What's the cost? etc.. |> > |> You should be able to get PhotoCD's made at your local photo shop. In |> Ottawa, most of the major names will do it. The pricing I have seen |> is something like 70 cents an image if dumped onto CD at time of |> developing, plus $10 for the disk itself. After the fact it is like |> any reprints. ie. a lot more. It is about $2 to get an existing |> negative blasted onto CD-ROMs, plus the $10 price of the disk. |> You can get 100 photos onto the PhotoCD. The local WalMart here in Rochester charges $15.88 for a 24-exposure roll -- this includes the CD (I believe). Additions to the CD cost 80 cents each .... -Arun
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: emery@goldfinger.mitre.org (David Emery) Subject: Re: ** Toward a Portable OO GUI Library ** In-Reply-To: jacob@latcs1.lat.OZ.AU's message of Wed, 10 Feb 1993 08:31:56 GMT Message-ID: <EMERY.93Feb10103958@goldfinger.mitre.org> Sender: news@linus.mitre.org (News Service) Organization: The Mitre Corp., Bedford, MA. References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> Date: Wed, 10 Feb 1993 15:39:58 GMT The model (even if practice doesn't live up to it) for IEEE and other formal standards is to codify existing practice. I don't think there's enough existing practice out there to standardize on yet. There are some commercial products (e.g. XVT, Galaxy, and Galaxy is supposed to be the most 00-like) but in the absence of reasonable experience with existing practice, I believe formal standardization to be premature. dave p.s. taking a hint from Henry Spencer, imagine what things would be like if OS-360 had become the standard operating system...
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: jimlynch@netcom.com (Jim Lynch) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1993Feb10.161418.5930@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> Date: Wed, 10 Feb 1993 16:14:18 GMT In article <1993Feb10.083156.5298@latcs1.lat.oz.au> jacob@latcs1.lat.OZ.AU (Jacob L. Cybulski) writes: >In article <C1zv2w.63L@csisun.uucp>, jburnes@csisun.uucp (Jim Burnes) writes: >|> >|> I have an idea. Its probably already been thought of. Why >|> don't we as developers come up with a POSIX/ISO/IEEE portable >|> class library for GUI's. >|> Suggest away... >|> >|> Jim Burnes >|> jburnes@compusci.com > >This sounds like an excellent idea for GNU! From what I am given to understand, GNU very much wants to do a GUI, however they think that if they do, Apple will sue. This is part of the reason for the FSF boycott of Apple products.
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: A short blurb on Subprojects/Bundles Message-ID: <C287GK.18p@dutiws.twi.tudelft.nl> Keywords: subproject bundle Organization: Delft University of Technology References: <1993Feb9.113610.239@rrz.de> Date: Wed, 10 Feb 1993 09:24:19 GMT In article <1993Feb9.113610.239@rrz.de> gus@rrz.de (Guido Schoepp) writes: >Hi NeXTers. > >Here are the mails I received on my question about how to handle Subprobjects and Bundles >with ProjectBuilder: > >1. "Please post any info you get. This question has been asked several times, but > I've never heard any good answers." >2. "Please send me anything you get, I want to research this also." > >Is there really nobody out there knowing something about this subject? >If I'm a MS-Windows programmer I could understand - but I got a NeXT. >I need to know that because my project is growing day by day. > > Guido >-- >|||| |||| |||| Guido Schoepp >|||| |||| / NeXT Registered Developer >|| \ || \ |||| gus@rrz.de > Hi, In my project, I use both subprojects and bundles. In general, subprojects are just a way to group your source code, and each subproject gets its own makefile. For example, if you are developing a multi-document application, the main classes should reside in the main project and the document support classes in a subproject (a subproject for each document type). Bundles are something completely different :-) I find them to be very easy to use if you don't want to incorporate knowledge about exact types of certain modules into your application. With bundles, you can implement modules which are loaded into your application at runtime. (Actually, you could do it without bundles, but they automate a great deal of the job and make the stuff localizable, too.) You probably would like to define a protocol for communication between your "core" and objects in the bundles. Summarizing: - use subprojects for those logically coupled parts of your application whose functionality is determined at design time. - use bundles for modules with functionality unknown to the "core", and define a protocol. It may be useful to export this protocol and superclass interfaces (if you use a common superclass, which isn't needed) to other developers. Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
From: clp@home.HarvardSq.COM (Charles L. Perkins) Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk.... Message-ID: <1993Feb10.172929.9782@das.harvard.edu> Date: 10 Feb 93 17:29:29 GMT Article-I.D.: das.1993Feb10.172929.9782 References: <1993Feb8.184802.3062@leland.Stanford.EDU> Sender: usenet@das.harvard.edu (Network News) Distribution: usa Organization: Division of Applied Sciences, Harvard University In article <1993Feb8.184802.3062@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > > Could those who know say how hard it would be to place > a smalltalk environment on top of the ObjC runtime system? > > -Marcos J. Polanco > -shiva@vega.stanford.edu Not really that hard, but a lot of grunge work. I've had the Smalltalk Beta for a long time and have thought about this a bit, but don't have the time right now to do it. Anyone interested on doing this with me? Charles L. Perkins (former ST-80 PARCer)
From: rwb@alexander.VI.RI.CMU.EDU (Robert Berger) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT TIFF's, whiter, brighter than other TIFF's Message-ID: <C28wHE.5HH.2@cs.cmu.edu> Date: 10 Feb 93 18:24:46 GMT Article-I.D.: cs.C28wHE.5HH.2 References: <!f63dfq@rpi.edu> Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon In article <!f63dfq@rpi.edu> gad@eclipse.its.rpi.edu (Garance A. Drosehn) writes: > > So, the question is, what could be causing these TIFFs to come out brighter > on the NeXT than on the Mac? > Long ago when TV was invented it was noticed that CRT's do not have a linear voltage to brightness response. The response is a power curve; the exponent, called gamma, is usually around 2.0. In other words, a monitor's response is brightness = k * voltage^gamma Instead of putting correction circuitry into every TV set, it was decided to correct for the CRT's nonlinearity by applying a square root function (gamma = 0.5) at the studio. While this decision made TV's a little cheaper, it has caused much confusion in the computer industry. Most frame buffers convert the RGB values directly into monitor voltage, so the brightness you get is not proportional to the value you store in the video memory, but rather is determined by the above formula. Many sources of image files precorrect the data in the file assuming it will go to a monitor with an assumed gamma. The Howtek scanner software I use on my Mac, for example, has an "Adjust for monitor display" option in the save panel. However, Display Postscript assumes the values specified are actual brightness. The Next Dimension hardware has lookup tables that apply a gamma of 0.5 to the frame buffer outputs to compensate for the monitor gamma. The fact that NeXT is using a gamma correcting frame buffer means that files that look correct on a Mac will have the mid tones brightened when displayed on the NeXT. There is a way to specify in the Netinfo directory for the local screen that you don't want the gamma correction, but since most NeXT software assumes it's present things look pretty strange if you do this.
Newsgroups: comp.sys.next.programmer From: se16@titus.nextlab.cs.qub.ac.uk (Paul Donnelly) Subject: Removing the Menu and App Doc from within an App? Message-ID: <1993Feb10.180700.5548@ousrvr.oulu.fi> Keywords: NeXT Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Wed, 10 Feb 1993 18:07:00 GMT Can anyone tell me how I may remove the menu and dock from the screen from within an app? Paul
From: jimc@tekcae.cax.tek.com (Jim Carden) Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1991@tekgen.bv.tek.com> Date: 10 Feb 93 19:09:57 GMT Article-I.D.: tekgen.1991 References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> <EMERY.93Feb10103958@goldfinger.mitre.org> Sender: news@tekgen.bv.tek.com Followup-To: comp.sw.components Organization: Mitron Corp., Beaverton, OR. In article <EMERY.93Feb10103958@goldfinger.mitre.org> emery@goldfinger.mitre.org (David Emery) writes: >The model (even if practice doesn't live up to it) for IEEE and other >formal standards is to codify existing practice. I don't think >there's enough existing practice out there to standardize on yet. >There are some commercial products (e.g. XVT, Galaxy, and Galaxy is >supposed to be the most 00-like) but in the absence of reasonable >experience with existing practice, I believe formal standardization to >be premature. There are so many questions to ask before standardizing anything. First and foremost is what do you want to standardize? For example XVT provides portability of certain widgets (menus, buttons, lists boxes). Galaxy on the other hand defines a wider range of portable functionality: widgets, but also drawing (in this case display postscript), a 2.5D object oriented graphics facility, run-time and persistent B-Trees, file I/O, exception handling, and on and on. Do you want to standardize an interface to a certain set of widgets or do you want to standardize everything that Galaxy covers? And why? -- Posted for patl@goldfish.mitron.tek.com
Newsgroups: comp.sys.next.programmer From: jcorallo@ccsi.com (P. John Corallo) Subject: Try Informix Re: Anyone dealing with Sybase direct Message-ID: <1993Feb10.150211.6174@ccsi.com> Sender: jcorallo@ccsi.com Organization: Crystal Computer Systems, Inc. Date: Wed, 10 Feb 1993 15:02:11 GMT In article <1993Feb5.200704.8391@kynug.org> neil@kynug.org (Neil Greene) writes: > I have attempted to talk with a Sybase rep on 5 occasions now. The first > was prior to the mini-Expo and the rest were with Sybase reps directly. > Oracle has offered developer licenses which entitles you to sell the > Oracle RDBMS at a 30% discount, while the Sybase reps insist on balking at > any prices. Granted, there are some notable differences in the database > engines themselves. But, Sybase wants 11,000+ for a developer license > which includes $7,000 for a years worth of support. The price is not the > matter here and not what upsets me. The problem is in the Sybase rep's > attitude and non-disclosure of information. If they want me to spend > money on their database engine, they should at least tell me how much it > is going to cost and what prices I can expect on different platforms. > > Someone please forward me the name of a good Sybase rep. I don't care > what city he is in or how much the phone calls cost. > -- We had very similar problems with Sybase, we were very committed to their product but did not seem to get much attention from their sales and support staff. So we opened up the specs on our project one more time and brought in Informix and found them to be a world of difference from their competition, not only in service but also in price. The people at Informix were falling over themselves trying to help us, whenever we have questions they usually help us immediately or call us back within a few minutes later. Their product may be a little more cautious in their development cycles than Sybase, but it is extremely competitve in performance. There NeXT support is great they send us new stuff before we even ask for it. The amount of money we saved using Informix over Sybase, allowed us to by a Sparc Database server and and unlimited Informix Server for the same price as a Sybase server for the NeXT. Plus they did not have us pay a large up front fee to be a VAR, it's pretty amazing we did not have to pay them to sell their product. The other day, we got the new release of the server from Informix. When we went to install the software one of the disks had a problem and we could not do the upgrade. We called Informix, immediately they sent out another set of disks, priority over-night. A few minutes later a support guy called us and tried a few things to bring this disk back to life, after a short while he decided their definitely was a problem with the disks and had us give him the serial numbers off the disks. The next day when we got the package, we had a letter from the QC manager at Informix apologizing for the problem and he included a stamped, self-addressed envelope to return the disks to him personally, so they could find out what went wrong with the disks. Another time, we were just looking at a demo of the Informix server for SCO, do not use SCO if you can help it, and our server went down hard. When brought the server up the Informix server had a major problem. We called tech support they went over the problem and decided it was to big for us to fix oursleves. Then they asked us if the could tip into our server. So we set up a modem for them, after about ten tries they finally connected with it, and logged into the server and fixed the problem in about ten minutes. The amazing thing is we had not giving them a penny at the time, and they did not even care, they just wanted to fix the problem first and then worry about who we were. If you need to use an SQL server I would definitely give Informix a look, you may be quite surprised at what you find. -John Corallo
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Simple app works with gdb, dies without Summary: please help Message-ID: <64181@mimsy.umd.edu> Date: 10 Feb 93 21:02:54 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 I have a simple program that works fine with gdb and crashes instantly without gdb (making debugging difficult). it just reads a file into (the text document subview) of a scrollView. does anyone have any suggestions what could be wrong? The Controller class is given below, the IB connections are the obvious ones (controller is the application delagate and scrollView outlet is connected to a ScrollView instance dragged off the IB pallette) this is under 3.0. --------------------------------------------------------- #import <appkit/appkit.h> @interface Controller:Object { id scrollView; } - appDidInit:sender; @end #import "Controller.h" @implementation Controller - appDidInit:sender { NXStream *bozoStream; id temp; bozoStream = NXMapFile ("bozo", NX_READONLY); temp = [scrollView docView]; [temp readText: bozoStream]; // <----- this fails without gdb NXCloseMemory (bozoStream, NX_FREEBUFFER); [scrollView display]; return self; } @end -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: cancel <64181@mimsy.umd.edu> Message-ID: <64188@mimsy.umd.edu> Date: 10 Feb 93 23:20:24 GMT References: <64181@mimsy.umd.edu> Control: cancel <64181@mimsy.umd.edu> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Originator: alex@seine.cs.umd.edu <64181@mimsy.umd.edu> was cancelled from within rn. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Simple app works with gdb, dies without Message-ID: <64187@mimsy.umd.edu> Date: 10 Feb 93 23:19:58 GMT References: <64181@mimsy.umd.edu> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In a previous posting I asked: > I have a simple program that works fine with gdb and crashes instantly > without gdb (making debugging difficult). > bozoStream = NXMapFile ("bozo", NX_READONLY); it looks like if you run the app you end up with a different working directory than if you debug the app (all from project builder) so "bozo" is found when running under gdb, but not otherwise. I guess the answer is to always use full pathnames. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: hiebm@acf3.nyu.edu (Michael Hieb) Subject: Networking ATT rfs machine to NextStation NexStep 3.0 Message-ID: <C21xLx.Jop@cmcl2.nyu.edu> Summary: how to network a NexTstation to a machine exporting directories Keywords: ATT rfs nfs networking Next NextStation Sender: notes@cmcl2.nyu.edu (Notes Person) Organization: New York University Distribution: Does anyone know how to network a NextStation to Date: Sun, 7 Feb 1993 00:05:57 GMT Does anyone know how to network a NextStation to a machine exporting directories by RFS (from ATT ~SYSVr3.2 ). I would consider these a silly question were it not for the remotefs/rfs entry in NetInfo Manager and the entry in /etc/services: remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem If anyone knows where I might get more info, I'd love to know. Michael Hieb
Newsgroups: comp.sys.next.programmer From: karl@ensuing.com (Karl Kraft) Subject: Re: Simple app works with gdb, dies without Message-ID: <9302102208.AA02136@ensuing.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: Ensuing Technologies Inc. References: <64181@mimsy.umd.edu> Distribution: usa Date: Wed, 10 Feb 1993 22:08:39 GMT In article <64181@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: > > bozoStream = NXMapFile ("bozo", NX_READONLY); > temp = [scrollView docView]; > > [temp readText: bozoStream]; // <----- this fails without gdb > Is bozoStream a valid stream? When you hit the debug button in ProjectBuilder, it changes into the same directory that the project is in. When you hit the run button, the current working directory is your home directory. > bozoStream = NXMapFile ("bozo", NX_READONLY); This line is perhaps the cause of your problem. There is no file "bozo" in your home directory. If this is a file you expect to be in the app wrapper, then use NXBundle to get the full path. -- __________ Karl Kraft karl@ensuing.com (NeXT mail)
From: kerchen@fuji.cs.ucdavis.edu (pall kerchen) Newsgroups: comp.sys.next.programmer Subject: Re: DragView --> DBImage --> Database? Message-ID: <22431@ucdavis.ucdavis.edu> Date: 11 Feb 93 00:42:48 GMT References: <22342@ucdavis.ucdavis.edu> <C25HMp.H0J@ms.uky.edu> Sender: usenet@ucdavis.ucdavis.edu Organization: U.C. Davis, Computer Security Lab In article <C25HMp.H0J@ms.uky.edu> kevins@slow.inslab.uky.edu writes: >Paul Kerchen writes >-> DBImage's associated database. DBModule does not support >-> takeValueFrom: with DBImages. > >This is incorrect. DBImageView can be connected to DBModules takeValueFrom: > Oops, you're right. What I meant to say was that DBModule does not takeValueFrom: DragViews. Anyway, I've not found an answer to the problem yet--I think the problem lies in the DragView code 'cuz I can drag a TIFF from a workspace browser and the DBImageView accepts it & draws it. When I try to do the same with a DragView (i.e., dragging from a DragView to a DBImageView), I get various & sundry errors on the console window and no image in the DBImageView. :-( Does anyone know of any bugs in the DragView code? | "Disembodied gutteral noise need not make sense" | | Paul Kerchen | | kerchen@cs.ucdavis.edu |
From: kerchen@fuji.cs.ucdavis.edu (pall kerchen) Newsgroups: comp.sys.next.programmer,comp.databases.sybase Subject: Strange DBKit/Sybase problem Summary: Filling up swap file during saves Message-ID: <22433@ucdavis.ucdavis.edu> Date: 11 Feb 93 01:03:33 GMT References: <1993Feb9.083406.21410@netcom.com> Sender: usenet@ucdavis.ucdavis.edu Followup-To: comp.sys.next.programmer Distribution: na Organization: U.C. Davis, Computer Security Lab Hello, I'm not sure if this is a problem with DBKit or Sybase (or perhaps neither or both!), thus the crossposting. I suspect Sybase but I don't know for sure. Anyway, my problem description is this: I insert a row into a table and save the changes. This row has an image as one of its columns, but initially the image is null. Later, I insert an image (via a DBModule's takeValueFrom: and a DBImageView) into the row & save it. During the save, the disk spins for a while & then I get the following alert panel: Sybase: Memory request failed because more than 64 pages are required to run the query in its present form. The query should be broken up into shorter queries if possible. After this happens (and it happens every time) I check the available disk space and there is about 20 MB less than before the save (and the swap file is ~20MB larger than before, so I know where it's going). Anyone ever see this problem? Anyone know what's going on? Is it Sybase, DBKit, or me? Why is it talking about queries when I asked it to do a save? A few details: I'm running Sybase on a NeXT Turbo Color. The images are ~100Kb TIFFs (i.e., they're pretty small). Any help would be greatly appreciated. | "Disembodied gutteral noise need not make sense" | | Paul Kerchen | | kerchen@cs.ucdavis.edu |
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Where are the NXColor instance variables in appkit? Message-ID: <6776@rosie.NeXT.COM> Date: 11 Feb 93 01:02:06 GMT References: <1993Feb6.040508.22203@netcom.com> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1993Feb6.040508.22203@netcom.com> gelato@netcom.com (Joe Burfoot) writes: >A lot of appkit objects (TextFieldCell for example) have methods like >-set...Color:(NXColor)color and a corresponding -(NXColor)...Color to >retrieve the color set, but I see no instance variables of type NXColor. >Where is the color stored? In the gstate? But then how is it retrieved? Because we build shared libraries that need to be compatible with the previous releases, and because most of our objects are subclassable, one restriction we have in our objects is that we cannot grow the size of the instance variables in between (compatible) releases. In some kit objects we have pointers to blocks of memory which store the additional variables; with the proper accessor methods this turns out to be a pretty clean solution. In fact, in a way it keeps the private variables really private! So, that's where the NXColors are (along with a few other variables added since 1.0 or 2.0). Ali, Ali_Ozer@NeXT.com
From: arrigo@cube.sublink.org (Arrigo Benedetti) Newsgroups: comp.sys.next.programmer Subject: problems linking Conor Cahill's libdbmalloc.a Message-ID: <1993Feb9.183827.168@cube.sublink.org> Date: 9 Feb 93 18:38:27 GMT Sender: arrigo@cube.sublink.org Organization: Arrigo Benedetti I've been trying to use the dbmalloc library on my NeXT but the linker complains about duplicate symbols. Here is the output of the make runtests: /arrigo/src/dbmalloc-pl14% make runtests cc -g -o testmalloc testmalloc.o libdbmalloc.a /bin/ld: multiple definitions of symbol _strlen libdbmalloc.a(string.o) definition of _strlen in section (__TEXT,__text) [other stuff deleted] I wrote a message to the author of this library (cpcahil@virtech.vti.com, Conor P. Cahill) and he told me that it looks like the NeXT dynamic linker (or shared library implementation) will not allow shared library symbols to be overridden. Therefore to use dbmalloc, one has to compile with static linking (usually an argument on the link line, he told) so that the shared library is not used. I've been searching in the documentation for a way to do this, but I haven't found anything. I'm sure there must be a workaround, as the MallocDebug library from NeXT essentially does the same thing. Any idea? Thanks in advance, -Arrigo -- Arrigo Benedetti e-mail: arrigo@cube.sublink.org (preferred) University of Bologna benedett@deis01.cineca.it Tel: (home) +39 59 224929 (office) +39 59 216688 (fax) +39 59 220727 - I WILL DESIGN CHIPS FOR FOOD! -
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Form Feed from fprintf Message-ID: <64194@mimsy.umd.edu> Date: 11 Feb 93 04:17:42 GMT References: <1l8jngINN6dh@access.digex.com> Sender: news@mimsy.umd.edu Distribution: usa Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1l8jngINN6dh@access.digex.com> jimb@access.digex.com (Jim Brooking) writes: > I need to put page breaks in so that the printer will form feed at certain times. > I tried putting \012 (^L, FF) in, but obviously the text-to-postscript > conversion is ignoring them. go ahead and put the form feeds in the text file, but print the file using enscript which will handle the form feeds (unlike lpr) there's a man page and lots of nice options. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
From: wiml@stein.u.washington.edu (William Lewis) Newsgroups: comp.sys.next.programmer Subject: Re: Adding new button types to a Window's title bar Date: 11 Feb 1993 04:23:37 GMT Organization: University of Washington Message-ID: <1lckc9INNn33@shelley.u.washington.edu> References: <1993Jan31.070036.20935@netcom.com> <1993Jan31.221519.222@stone.com> bbum@stone.com writes: >In article <1993Jan31.070036.20935@netcom.com> abell@netcom.com (Steven T. >Abell) writes: >> I want to add another button to the title bars of some of my Windows. >> Does anyone know how to do this? > >A window on the screen is not just one object on the screen containing a >content view as the Window class docs imply. ... >So, to add another button to the title bar, you will either: [bbum mentions the possibility of modifying the Window's _borderView, and of creating a "fake" title bar inside a titleless window] While these methods will probably work, I expect that they'll have noticeably worse performance than the supplied NeXT buttons. The reason is a chunk of code in the mouseDown event handler procedure in the NeXT windowPackage. (This code was present in 2.1; I haven't checked 3.0 yet, but I don't think windowPackage was changed much in the upgrade.) This PostScript code is executed by the window server whenever a mouse down occurs on an appkit window (note that there's no application roundtrip in between --- the windowserver invokes this code *first*, and in fact this code is responsible for passing the event on to the application!) This code checks in the windowDict to see what sort of window the mouse is being pressed on, and then checks to see if the mouse was pressed in one of the title bar buttons. It then does some magic stuff so that you don't end up waiting for the app to wake up. Window dragging, for example, is implemented *entirely* in PostScript. (this is why you can still drag a hung application's windows.) Come to think of it, you might not be able to add another button to a standard window's title bar; the dragging code will intercept the mouse down and do its dragging thing. Adding a fake titlebar to a user-supplied window is probably the way to go. You'd have to implement titlebar dragging yourself. I expect that NeXT would frown on applications munging the event procedures on a regular basis, though =8)
Newsgroups: comp.sys.next.programmer From: benk@ie1next.me.umn.edu (Benjamin Koo) Subject: serial port app Message-ID: <C29r7y.4MF@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Thu, 11 Feb 1993 05:28:35 GMT Hello, I am developing some multichannel input device (for my school project) on the NeXT. I don't know where can I get details on the programming for the serial port. Can some body give me a hint on that. Thanks in advance. I am still a strong NeXT supporter after Feb 9, 1993. Ben
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: Re: Adding new button types to a Window's title bar Message-ID: <C29sJx.39q@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1993Jan31.070036.20935@netcom.com> <1993Jan31.221519.222@stone.com> <1lckc9INNn33@shelley.u.washington.edu> Date: Thu, 11 Feb 1993 05:57:32 GMT In article <1lckc9INNn33@shelley.u.washington.edu> wiml@stein.u.washington.edu (William Lewis) writes: >bbum@stone.com writes: >>In article <1993Jan31.070036.20935@netcom.com> abell@netcom.com (Steven T. >>Abell) writes: >>> I want to add another button to the title bars of some of my Windows. >>> Does anyone know how to do this? >> >>A window on the screen is not just one object on the screen containing a >>content view as the Window class docs imply. ... > >>So, to add another button to the title bar, you will either: > >[bbum mentions the possibility of modifying the Window's _borderView, > and of creating a "fake" title bar inside a titleless window] > >[stuff about the windowPackage.ps] >Come to think of it, you might not be able to add another button to >a standard window's title bar; the dragging code will intercept the mouse >down and do its dragging thing. Adding a fake titlebar to a user-supplied >window is probably the way to go. You'd have to implement titlebar >dragging yourself. > >I expect that NeXT would frown on applications munging the event procedures >on a regular basis, though =8) I'd tend to forget about trying to add buttons to the Window's title bar, you're destined to come up with a new hack every NS release. Using a plain style window and drawing your own title and stuff would work, but it would exhibit wierd interface behaviour, dragging and such going through the app acts differently than being done on the window server, as the developer you'd tend to get use to it, but the first time user might sense something odd. Apps that do wierd things to the interface behaviour sorta bug me out. Worse is if the App goes to lunch or has any sort of busy pause, the window would be totally unresponsive (immovable). NS1.0 did this off and on and it was pretty unnerving. I'd opt for putting the buttons somewhere along the edge of the window, it will save you a lot of work now and later, not to mention be consistent. --
From: alex@laos (Alex D. Nghiem) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: latest issue of NeXT on Campus Keywords: NeXT on Campus Message-ID: <1993Feb10.170907.24630@pencom.com> Date: 10 Feb 93 17:09:07 GMT Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software Hello there: I would like to know what the latest issue of NeXT on Campus is. I downloaded the index from sonata and could not find any references to this magazine at all. Is it archived somewhere? The latest issue I have is Fall 1991. Please e-mail me directly and thanks in advance. Best regards, Alex Duong Nghiem Phone: (512) 343-1111 Pencom Software Fax: (512) 343-9650 9050 Capital of TX Hwy N. Mail: alex@pencom.com Suite 300 Mail: co-Xist_support@pencom.com Austin, TX 78759 Mail: co-Xist_info@pencom.com USA **************************** * NeXTMail gladly accepted * ****************************
From: tzs@carson.u.washington.edu (Tim Smith) Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 11 Feb 1993 06:45:06 GMT Organization: University of Washington School of Law, Class of '95 Message-ID: <1lcsliINN708@shelley.u.washington.edu> References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> <1993Feb10.161418.5930@netcom.com> jimlynch@netcom.com (Jim Lynch) writes: >From what I am given to understand, GNU very much wants to do a GUI, however >they think that if they do, Apple will sue. This is part of the reason for >the FSF boycott of Apple products. Explain NextStep, Motif, Open Look, GEM, the Amiga interface, and Open Desktop, among others, please. --Tim Smith
From: friedman@gnu.ai.mit.edu (Noah Friedman) Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 11 Feb 93 04:38:55 Organization: Free Software Foundation, 675 Mass Ave. Cambridge, MA 02139 Message-ID: <FRIEDMAN.93Feb11043855@nutrimat.gnu.ai.mit.edu> References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> <1993Feb10.161418.5930@netcom.com> In-reply-to: jimlynch@netcom.com's message of Wed, 10 Feb 1993 16:14:18 GMT In article <1993Feb10.161418.5930@netcom.com> jimlynch@netcom.com (Jim Lynch) writes: >In article <1993Feb10.083156.5298@latcs1.lat.oz.au> jacob@latcs1.lat.OZ.AU (Jacob L. Cybulski) writes: >>In article <C1zv2w.63L@csisun.uucp>, jburnes@csisun.uucp (Jim Burnes) writes: >>|> >>|> I have an idea. Its probably already been thought of. Why >>|> don't we as developers come up with a POSIX/ISO/IEEE portable >>|> class library for GUI's. >>|> Suggest away... >>|> >>|> Jim Burnes >>|> jburnes@compusci.com C'mon, haven't we already learned from POSIX what a screw standards are when they standardize things that aren't well thought-out to begin with? It's not time to standardize GUI interfaces yet (user, programmer, or otherwise). >From what I am given to understand, GNU very much wants to do a GUI, however >they think that if they do, Apple will sue. This is part of the reason for >the FSF boycott of Apple products. We can't develop a GUI that looks like Apple's, but we do want to write a desktop (one which we think will be better than Apple's anyway). This project is waiting while the staff complete certain other projects first (like Emacs 19).
From: richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) Newsgroups: comp.sys.next.programmer Subject: How to drag icons in my own application ? Date: 11 Feb 1993 10:25:11 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1ld9i7INNs0k@nic.BelWue.DE> Good morning i m trying to solve a problem. I want to drag icons from one window to the other, where you just can drop the icon, but i get lost in my reference books and i have no good examples to solve this problem. Can anybody help me or show me the way it works ?? Thanks a lot for answering and helping or for any ideas. Richard Fraunberger Universitaet Heidelberg, Germany nextmail welcome to richi@next1.rz.fh-heilbronn.de
From: edmtl@alf.uib.no (Thor Legvold) Newsgroups: comp.sys.next.programmer Subject: ZyXEL Voicemail - where??? Message-ID: <1993Feb11.114413.892@alf.uib.no> Date: 11 Feb 93 11:44:13 GMT Organization: University of Bergen, Norway Sorry for the inconvenience. I remember seeing a post from a few weeks back, but I can't seem to find it again. I'd use archie but I can't remember what the program is called... There was a poster (from Germany, I think) who had made a voicemail program for the ZyXEL series Fax/modem/voice units. I would like to try it, if I could find it... Anyone??? Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer From: silvera@ghost.dsi.unimi.it (paolo silvera) Subject: OO Gui for the Amiga. Any suggestion from NXT devel.s ? Organization: Computer Science Dep. - Milan University Date: Thu, 11 Feb 1993 13:48:04 GMT Message-ID: <1993Feb11.134804.16127@ghost.dsi.unimi.it> Hy to everyone. I am an Amiga owner and think it's the most similar NexT machine. I am now developing a OO interface builder and do not know very well how to organize it. Can anyone who has OO GUI experience on the NexT machines give me any suggestion ? Thank you.
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: awakeFromNib in InterfaceBuilder's Test Mode Message-ID: <1993Feb11.141458.10987@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Thu, 11 Feb 1993 14:14:58 GMT This topic was up some time ago, but I can't remember the solution or if there was any. When going into test mode in InterfaceBuilder your objects first receive a -read: and then an -awake message. After that connections done in InterfaceBuilder are executed i.e. setXXX: methods are called. That's the same behaviour as in an ordinary application except that at the end your objects receive -awakeFromNib in the application, but not in InterfaceBuilder's test mode. But I need to do final initialization AFTER connections have been made. Is there a workaround? -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
From: richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) Newsgroups: comp.sys.next.programmer Subject: Video Palette for 3.0 ? Date: 11 Feb 1993 15:07:52 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1ldq48INN4c8@nic.BelWue.DE> 1.Are there any palettes for displaying stored Videos (from HD) or grepping Videos (to HD) for NextStep 3.0 available ? 2.How to use NXLiveVideoView ? I am writing a user interface for a medical patient record and i could save a lot of time using a palette like this (and not to reinvent the wheel). Thanks a lot for your help and for trying to answer Richard Fraunberger University Heidelberg (the heart of Germany) NextMail welcome! richi@next1.rz.fh-heilbronn.de Tschuess
From: mlburke@BBN.COM (Mike Burke) Newsgroups: comp.sys.next.programmer Subject: test Date: 11 Feb 1993 15:07:30 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA Distribution: world Message-ID: <lnkqtiINNab2@news.bbn.com> Sorry had to test it
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: bryan@alex.com (Bryan Boreham) Return-Path: <news@alex.com> Subject: Re: ** Toward a Portable OO GUI Library ** Organization: Alex Technologies Ltd, London, England References: <C1zv2w.63L@csisun.uucp> Apparently-To: mail2news@demon.co.uk Date: Thu, 11 Feb 1993 13:26:09 +0000 Message-ID: <1993Feb11.132609.21497@alex.com> Sender: usenet@demon.co.uk In article <C1zv2w.63L@csisun.uucp>, jburnes@csisun.uucp (Jim Burnes) writes: > > I have an idea. Its probably already been thought of. Why > don't we as developers come up with a POSIX/ISO/IEEE portable > class library for GUI's. IEEE working group P1295.2 is working on the Open Toolkit Environment, which is basically a Standard for the OLIT (Open Look Intrinsics Toiolkit) API. There is another group (P1295.1?) doing the same for Motif. You may or may not believe that these toolkits are portable, object-oriented, good, elegant, modern, useful, etc. Bryan Boreham Alex Technologies Ltd
From: mcn@cwru.edu (Michael C. Neuman) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Text To Speech Date: 11 Feb 1993 15:28:51 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Distribution: world Message-ID: <1ldrbjINN2tq@usenet.INS.CWRU.Edu> I'm looking for a command-line interface to the TextToSpeech kit produced by Trillium (something like, "% say "Hello world""). Does anyone have a program to do this, or can one be written fairly easily? (I only own the users kit, and I'd like to write some shell scripts that use it's services). -- Mike Neuman mcn@b62103.student.cwru.edu "To make a machine that will be proud of us." - Thinking Machine's motto ============================================================================== * Maintainer: NeXT netrek archive--b62103.student.cwru.edu:/pub/games/netrek *
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: oz@ursa.sis.yorku.ca (Ozan Yigit) Subject: Re: ** Toward a Portable OO GUI Library ** In-Reply-To: friedman@gnu.ai.mit.edu's message of 11 Feb 93 04: 38:55 Message-ID: <OZ.93Feb11100803@ursa.sis.yorku.ca> Sender: news@newshub.ccs.yorku.ca (USENET News System) Organization: York U. Student Information Systems Project References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> <1993Feb10.161418.5930@netcom.com> <FRIEDMAN.93Feb11043855@nutrimat.gnu.ai.mit.edu> Date: Thu, 11 Feb 1993 15:08:03 GMT Noah Friedman writes: C'mon, haven't we already learned from POSIX what a screw standards are when they standardize things that aren't well thought-out to begin with? Let me guess: you never had the misfortune of working with/involved in CCITT [those color-coordinated books that brought you X.400 and X.500] and/or ISO standards, have you? :-) :-6 oz --- It is hard to ridicule reality when | electric: oz@sis.yorku.ca reality itself is so ridiculous. | ph: [416] 736 2100 x33976
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: SerialPortKit (Re: serial port application) Message-ID: <1993Feb11.143637.5097@hot.com> Sender: robertl@hot.com Organization: Hot Technologies References: <C29r7I.4M7@news.cis.umn.edu> Date: Thu, 11 Feb 1993 14:36:37 GMT SerialPortKit 1.1, a comprehensive object library for serial communications is now shipping from Hot Technologies. More details to come... Send email to info@hot.com Robert La Ferla Hot Technologies In article <C29r7I.4M7@news.cis.umn.edu> benk@ie1next.me.umn.edu (Benjamin Koo) writes: > Hello, I am developing some multichannel input device (for my school > project) on the NeXT. I don't know where can I get details on the > programming for the serial port. Can some body give me a hint on that. > Thanks in advance. > I am still a strong NeXT supporter after Feb 9, 1993. > > Ben
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: DBTableView didChangeSelection: Message-ID: <1993Feb11.162801.19350@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Thu, 11 Feb 1993 16:28:01 GMT This method works fine except the following case: A row is selected. You resize a column. After that a column is selected, but you haven't received columnDidChangedSelection:. Any help required. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: steinarb@idt.unit.no (Steinar Bang) Subject: Re: ** Toward a Portable OO GUI Library ** In-Reply-To: jburnes@csisun.uucp's message of Fri, 5 Feb 1993 21:16:08 GMT Message-ID: <STEINARB.93Feb11192555@robinia.idt.unit.no> Sender: news@ugle.unit.no (NetNews Administrator) Organization: Norwegian Inst. of Tech./University of Trondheim, Trondheim, Norway References: <C1zv2w.63L@csisun.uucp> Date: 11 Feb 93 19:25:55 >>>>> On Fri, 5 Feb 1993 21:16:08 GMT, jburnes@csisun.uucp (Jim Burnes) said: > I have an idea. Its probably already been thought of. Why > don't we as developers come up with a POSIX/ISO/IEEE portable > class library for GUI's. Why do you need/want an official standard? Are you aware of InterViews, originally implemented at Stanford, nowadays sponsored by SGI as the basis for an X consortium C++ GUI toolkit? It is freely available, it's here today, and it works. The biggest problem it has today is a lack of documentation (tutorials etc.). Another problem is the changes in the library between the releases (*BIG* changes between IV-2.6 and IV-3.0, smaller but often confusing changes between IV-3.0 and IV-3.1). - Steinar
From: jbuck@forney.berkeley.edu (Joe Buck) Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 11 Feb 1993 18:56:11 GMT Organization: U. C. Berkeley Message-ID: <1le7gb$c3m@agate.berkeley.edu> References: <C1zv2w.63L@csisun.uucp> <1993Feb11.132609.21497@alex.com> In article <1993Feb11.132609.21497@alex.com> bryan@alex.com writes: >IEEE working group P1295.2 is working on the Open Toolkit Environment, >which is basically a Standard for the OLIT (Open Look Intrinsics Toiolkit) >API. There is another group (P1295.1?) doing the same for Motif. Tcl/Tk, which is free software, is designed to resemble the look and feel of Motif (though there are, at present, many deviations, it is getting closer all the time). In the past I've seen messages from GNUites saying "Don't use Motif". But you don't need to use Motif, or pay anyone for a Motif license, to use the good ideas in it, as the OSF is not attempting to assert that they own the look-and-feel (only the Motif software). -- Joe Buck jbuck@ohm.berkeley.edu
From: low00001@bullnext.mc.duke.edu (Richard Low) Newsgroups: comp.sys.next.programmer Subject: Making compose window key when speaking to Mail Keywords: Mail Speaker Message-ID: <9901@news.duke.edu> Date: 11 Feb 93 20:36:07 GMT Sender: news@news.duke.edu I have an app where I am firing up a Mail Compose window and I am doing this using some MailSpeaker code I got from a friend that wraps the Speaker class selectorRPC:paramTypes: methods. I open the Speaker port to Mail.app with: id speaker = [[MailSpeaker alloc] init]; port_t thePort; int theWin; [NXApp deactivateSelf]; thePort = NXPortFromName("MailSendDemo", NULL); [mailSpeaker setSendPort:thePort]; if ( ![mailSpeaker openSend:&theWin] && ![mailSpeaker setTo:(char *)"low00001" inWindow:theWin] && ![mailSpeaker setSubject:(char *)"" inWindow:theWin] && ![mailSpeaker setBody:(char *)"" inWindow:theWin] ) This works. The mail compose window is invoked and the To field is filled in. However, neither the compose window nor the Mail.app are made active. I fiddled with sending the message: BOOL flag = 1; // or 0 [mailSpeaker performRemoteMethod:"activateSelf:" with:(const char *)&flag length:sizeof( BOOL )] but nothing happens. Does anyone know how to make Mail become the active app and for the compose window to become the key window? Also, if there is a better or more 3.0ish way to message Mail than through the Speaker class (like through the Workspace Request protocols) I'd love to know. Thanks. ================================================================== Richard Low | low00001@bullnext.mc.duke.edu Duke University Medical Center | Voice: 919-286-6362 Box 3900, Durham, NC 27710 | Fax: 919-286-6369 U.S.A. | NeXT Mail Welcome ================================================================== -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.UQF,5QF M<W=I<W,@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3T]/3T]/3T]/3T]/3T]/3T]/3T]7`H@4FEC:&%R9"!,;W<)"0D)"0D)?`EL M;W<P,#`P,4!B=6QL;F5X="YM8RYD=6ME+F5D=5P*($1U:V4@56YI=F5R<VET M>2!-961I8V%L($-E;G1E<@D)"7P)5F]I8V4Z(#DQ.2TR.#8M-C,V,EP*($)O M>"`S.3`P+"!$=7)H86TL($Y#(#(W-S$P"0D)?`E&87@Z("`@.3$Y+3(X-BTV M,S8Y7`H@52Y3+D$N"0D)"0D)"0E\"4YE6%0@36%I;"!796QC;VUE7`H]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] 6/3T]/3T]/3T]/3T]/3T]/3U<"@I]"CT] `
Message-ID: <+7#@byu.edu> Date: Thu, 11 Feb 93 14:50:06 MST From: yackd@maine.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world Organization: Brigham Young University, Provo UT USA Subject: Game Kit Keywords: games If you've sent me mail about the game kit, you should have already seen this...but in case any other netters are remotely interested: I'm sending this message to everyone who has sent me e-mail expressing some kind of interest in the GameKit that I have been working on. I plan to start releasing some parts of the kit in a couple of weeks, namely the parts that handle scoring and high scores. In order to facilitate communication about the kit, I have set up a mailing list (sig, whatever) that could be used for general discussion about the kit. This would include questions/suggestions of general interest and also provide a place for me to post announcements about upcoming releases. (Of course, questions that aren't of general public interest should still be directed directly to me.) If you would like to be placed on the mailing list, you can send a message to me (Don_Yacktman@byu.edu) or to gamekit-request@byu.edu and I will add your name ASAP. To send messages to the list, send them to gamekit@byu.edu and off they'll go. Note that I'm maintaining the list by hand, so response time won't be instantaneous. Don't bother posting anything to the list until Tuesday, so that there's enough time for there to actually be some subscribers! :-) Later, -Don Yacktman Don_Yacktman@byu.edu
Newsgroups: comp.sys.next.programmer From: rob@lighthouse.com (Rob Kedoin) Subject: Re: Multi-Developer Projects Message-ID: <1993Feb10.165406.1522@lighthouse.com> Keywords: rcs, cvs, nibs, version control, binaries Sender: rob@lighthouse.com Organization: Lighthouse Design, Ltd. References: <1993Feb8.212628.7507@hot.com> Date: Wed, 10 Feb 1993 16:54:06 GMT In article <1993Feb8.212628.7507@hot.com> Robert_La_Ferla@hot.com writes: > In article <1993Feb8.193034.6880@hot.com> I wrote: > > > You'll need to uuencode NIBs (and any other binary files) before > > checking them in and uuencode them when checking them out. > > Oops. I meant uuencode before checking in and uudecode after > checking out. > > Robert La Ferla > Hot Technologies If you use the latest version of RCS(version 5.6 - not the RCS commands which ship in NS3.0!) along with the current version of GNU diff(version 2.0), RCS will handle binary files as seamlessly as it handles text files. Under 3.0 nibs, still present a problem because they have become document wrappers and RCS does not know how to deal with directories. Currently we tar directories together and place the tar'ed file under RCS control. I've heard that people successfully use CVS to manager their NeXT source and that they have a better way of dealing with nibs. Here's a blurb from the CVS man page: cvs is a front end to the rcs(1) revision control system which extends the notion of revision control from a collec- tion of files in a single directory to a hierarchical col- lection of directories consisting of revision controlled files. These directories and files can be combined together to form a software release. cvs provides the functions necessary to manage these software releases and to control the concurrent editing of source files among multiple software developers. -- Robert Kedoin rob@lighthouse.com Lighthouse Design, Ltd NeXTmail accepted and encouraged! 2929 Campus Drive - Suite 250 San Mateo, CA 94403 -- Robert Kedoin rob@lighthouse.com Lighthouse Design, Ltd NeXTmail accepted and encouraged! 2929 Campus Drive - Suite 250 San Mateo, CA 94403
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: kevyn@world.std.com (Kevyn Ford) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <C2B1z0.6w4@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> <EMERY.93Feb10103958@goldfinger.mitre.org> Date: Thu, 11 Feb 1993 22:18:35 GMT emery@goldfinger.mitre.org (David Emery) writes: >The model (even if practice doesn't live up to it) for IEEE and other >formal standards is to codify existing practice. I don't think >there's enough existing practice out there to standardize on yet. >There are some commercial products (e.g. XVT, Galaxy, and Galaxy is >supposed to be the most 00-like) but in the absence of reasonable >experience with existing practice, I believe formal standardization to >be premature. Beyond that, you must realize that a portable application like XVT compared to something written in native Motif or MS Windows simply cannot compare. How do you compensate for its shortcomings? IMHO you will *never* see a truly portable GUI for the same reasons you will *never* see a truly portable OS (don't even _thing_ about saying *nix). The best we'll ever be able to hope for is ONE GUI for each OS (Motif on Unix, MS Windows on DOS, PM on OS/2, etc). -- +-------------------------------+---------------------------------------------+ | Kevyn B. Ford | kevyn@kodak.com (main) | | Eastman Kodak Company | kevyn@world.std.com (secondary) | +-------------------------------+---------------------------------------------+
From: pyrros@ulysses.att.com (Christos T. Pyrros) Newsgroups: comp.sys.next.programmer Subject: Filesystem for Audio CD's? Keywords: CD-ROM, filesystem, audio, apple, toshiba, sgi, silicon graphics, peanut butter Message-ID: <1993Feb11.141801.26057@ulysses.att.com> Date: 11 Feb 93 14:18:01 GMT Organization: AT&T Bell Laboratories, Murray Hill I just purchased an Apple CD 300, which has the rare ability to play audio CD data over the SCSI bus. I was wondering if anyone has thought about writing a filesystem which would allow one to mount an audio CD with this drive (or the Toshiba drive marketed by SGI which does this) just like the Macs can with their software. Thanks, Chris
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: edmtl@taxus.uib.no (Thor Legvold) Subject: AcChen dies often - fix/help??? Message-ID: <1993Feb11.223018.15652@alf.uib.no> Sender: edmtl@alf.uib.no (Thor Legvold) Organization: University of Bergen, Norway Date: Thu, 11 Feb 93 22:30:18 GMT Hi. I'm having problems with AcChen version 1.8b, Last Change 15.05.92 I have a friend who plays quite often, and after several games AcChen dies with the following message to the console: Feb 10 18:22:27 sushi AcChen[1139]: DPS client library error: Error while writing to connection, DPSContext 701e4, data -102 Feb 10 18:22:27 sushi AcChen[1139]: Exiting due to Window Server death Feb 10 19:26:12 sushi -[180]: loginwindow: Workspace exited ts 0 cd 0 rc 0 sv 0 ss 0. The window server does _not_ appear to die, or have any problems, but AcChen swaps like mad when you match the first two tiles, and gives up with the above message. Exiting (from the login prompt) to restart the WindowServer fixes the problem. Is this a bug, or something I've configured wrong? All games on this host are sym-linked into /LocalApps from another partition, and are owned by root. Please e-mail replies. Regards, Thor -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer From: andy@research.canon.oz.au (Andy Newman) Subject: Re: strstr Message-ID: <C2ADqM.FBM@research.canon.oz.au> Sender: news@research.canon.oz.au Organization: Canon Information Systems Research Australia References: <1993Feb5.173336.1231@xexos.com> <1993Feb10.035819.297@kira.net.netcom.com> Date: Thu, 11 Feb 1993 13:35:10 GMT I've got a theory about the missing manpages. A lot of the functions defined buy the ANSI standard are not documented online. Anyone able to confirm this? And forget the old BSD manpages for things like printf etc... Anything that doesn't document actual behaviour is a bug! (e.g, %p as a format spec in [f|s]printf format strings.) -- Andy Newman (andy@research.canon.oz.au)
Newsgroups: comp.sys.next.programmer From: wick@stone.com Subject: Re: To Text or not to Text... Message-ID: <1993Feb12.031305.727@stone.com> Sender: wick@stone.com Organization: Stone Design Corp References: <1993Feb9.152508.6593@mcs.anl.gov> Date: Fri, 12 Feb 1993 03:13:05 GMT In article <1993Feb9.152508.6593@mcs.anl.gov> korp@eid.anl.gov (Peter A. Korp) writes: > > I am creating an application where I need to have 100 or so text strings > appear on screen using arbitrary fonts, scales, colors and rotations. When > the user selects the text a window pops up giving a detailed explanation > of that item. > > My question is should I use the PSmoveto(), PSshow() operators, create > custom pswraps or use the Text object? > > If the former do I need to flip the Views coordinate system (I think so)? > If using the Text object is preferable how do I go about doing it? I have > seen no examples that I understand (I don't understand Draw). Do I create > 100 Text objects or just 1 that is shared? Well, it all depends on just what your plans are for that text. However, if you go about it using Text objects, you will want just one. In Draw, Pat does this by using the Window's field editor. This is basically just a simple Text object that is shared by all the Views of that window. For instance, if you want to get that object, stuff a string in it, and set values you would do the following in your View: [[graphicView window] endEditingFor:self]; This is necessary to make sure that the if the field editor is in use, it gets a chance to end its editing and resign first responder status. Check out [TextGraphic prepareFieldEditor] in Draw. fe = [[graphicView window] getFieldEditor:YES for:self]; This returns the Field editor for the window. Remember that this object is shared by all Interface Objects, so if you tweek the scale or rotation, tweek it back! Once you have the object, you can stuff your string into it, set the color, font, etc.. Keep in mind that the code in Draw is written to prepare the Text object to be edited, so for just drawing you do not need to worry about the editing filters, etc. However, if you want to edit your strings, then doing this way with Text objects will be a win. Text objects are Views that draw in a flipped coord system, and they also draw in their superviews coord system. You should keep this in mind when you go about setting the frame rectangle of the Text so you can place it in your view. You should not need to worry too mmuch though. You really only need to worry about the Text's superview being flipped when you want to edit Text and have it grow downward. With that in mind, you can go ahead and set frame.origin of the Text to the loc you want to draw the Text from in YOUR VIEW'S coord system with setFrame method. Beware flippedness problems; if something does not look right, check that first. Then, [yourView addSubview:fe]; [jobText display]; [jobText removeFromSuperview]; will add your Text object in the View Hierarchy and draw the text and then remove it from the hierarchy. Now, the big question is: Are you going to be changing these strings a lot? If so, this method might not be the way you want to go. However, if you want to edit them, then you will need to use Text anyway to edit them. > > Any snippets of code or just plain old advice is welcome. > > -- > Peter A. Korp > Assistant Scientist > Argonne National Laboratory > korp@eid.anl.gov peter -- Peter Wickersham | "whatever you do Stone Design | take care of wick@stone.com | your shoes" phish
Newsgroups: comp.sys.next.programmer From: Sean_Church@pages.com(Sean Church) Subject: Re: NeXT TIFF's, whiter, brighter than other TIFF's Message-ID: <1993Feb12.022102.4057@pages.com> Sender: sean@pages.com Organization: Pages Software Inc. References: <!f63dfq@rpi.edu> Date: Fri, 12 Feb 1993 02:21:02 GMT In article <!f63dfq@rpi.edu> gad@eclipse.its.rpi.edu (Garance A. Drosehn) writes: > When I was playing around with the pCD application for photo CD's, I noticed > that the TIFFs I came up with seemed a little brighter than the orginal > picture. I tried the same photo CD on a Mac with system 7.1, and sure > enough the picture came out at about the expected brightness level. > > So then I transfered a TIFF produced by pCD to the Mac. That also looked > like it had the right brightness level. If I print the image from a NeXT to > a color Phaser printer it, it comes out brighter than printing the same > image from a Mac. > > So, the question is, what could be causing these TIFFs to come out brighter > on the NeXT than on the Mac? > > -- > Garance Alistair Drosehn = gad@eclipse.its.rpi.edu > ITS Systems Programmer (handles NeXT-type mail) > Rensselaer Polytechnic Institute; Troy NY USA There is a lot to that one. Take it from someone who used to work in the pre-press industry. Basically, color space is mapped differentley on the NeXT, and on the Mac. Really! Once the image is in the tiff format on disk somewhere, it will continue to be the way it is. From what you say, NeXT places a high gamma value on whatever they pass stuff through for color space. .... (Or, actually, the gamma is low, so you boost the color to make it look correct, only to have it look blazing white when you view it through a different device than a NeXTMonitor running off of a NeXTStation...). This can go on and on and on. Color space is mangled on the NeXT OS, and I really don't know why the reason the hardware / software people did this at NeXT, unless they didn't have this concern. For most of us, color is good enough.... Sean
From: alex@laos (Alex D. Nghiem) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: where is NeXT on Campus? Message-ID: <1993Feb11.202321.19727@pencom.com> Date: 11 Feb 93 20:23:21 GMT Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software Hello there: I'm now looking for back issues as well as the current issue for NeXT on Campus. I've downloaded the index from sonata but could not find anything. Please e-mial me directly and thanks in advance. Best regards, Alex Duong Nghiem Phone: (512) 343-1111 Pencom Software Fax: (512) 343-9650 9050 Capital of TX Hwy N. Mail: alex@pencom.com Suite 300 Mail: co-Xist_support@pencom.com Austin, TX 78759 Mail: co-Xist_info@pencom.com USA **************************** * NeXTMail gladly accepted * ****************************
From: adam@netcom.com (Adam J. Richter) Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1993Feb12.095228.19216@netcom.com> Date: 12 Feb 93 09:52:28 GMT References: <1993Feb10.083156.5298@latcs1.lat.oz.au> <1993Feb10.161418.5930@netcom.com> <1lcsliINN708@shelley.u.washington.edu> Sender: yci@netcom.com (Yggdrasil Computing) Organization: Yggdrasil Computing, Incorporated In article <1lcsliINN708@shelley.u.washington.edu> tzs@carson.u.washington.edu (Tim Smith) writes: >jimlynch@netcom.com (Jim Lynch) writes: >>From what I am given to understand, GNU very much wants to do a GUI, however >>they think that if they do, Apple will sue. This is part of the reason for >>the FSF boycott of Apple products. > >Explain NextStep, Motif, Open Look, GEM, the Amiga interface, >and Open Desktop, among others, please. > >--Tim Smith Disclaimer: the following is largely vague recollection and hearsay. I am posting this only because apparently nobody has decided to spend a day at the library to dig up the documents necessary to respond authoritatively. NextStep: I'd have to do some digging to get the specific references, but the formation of NeXT and certain parameters of NeXT's business plan (in particular, not to pursue the business market for n years) were negotiated with Apple in connection with Steve Jobs' departure. Motif: Motif is backed by the Open Software Foundation, a consortium of companies easily large enough to fight an Apple lawsuit. Open Look: Like Motif, Open Look was backed by companies big enough to fight a lawsuit from Apple. I saw some early Open Look technical documentation before OL was announced to the public, and just about every paragraph would include some sort of claim that windowing systems were developed by Xerox Corporation. The only reasonable explanation that I can see for these ubiquitous references to Xerox is that the documentation was written with the understanding that there was a substantial chance of a lawsuit from Apple. I had also heard that Sun and AT&T (or perhaps Unix International) had signed some sort of no cost license for overlapping windows from Xerox before Xerox sued Apple. GEM: Apple sued Digital Research Inc. over GEM. DRI settled out of court. I don't know if the complete settlement has become public information, but it was widely reported that it at least included GEM changing their trash cans and not using pull down menus (they use pop-up menus instead, which made GEM quite frustrating for me to use). "Amiga I currently don't know enough about the "Amiga interface" or interface" its history to say anything. Open Similarly, I barely know anything ODT. Isn't ODT Motif? Desktop "among Many of the other user interfaces out there are based heavily others" on Motif. My conjecture is that one of the factors in these vendors' decisions to stick close to Motif is that they could defend against an Apple lawsuit by saying, "Our user interface is Motif. Apple has been aware of Motif for more than three years and has not sued OSF. Apple has slept on its rights." I am not claiming that an Apple victory would have made it impossible to develop any GUI. Perhaps it may even be possible to develop a reasonably intuitive GUI that does not have the combination of overlapping windows, drag-and-drop, etc. that Apple felt constituted subjectively substantial similarity between the Mac and Microsoft 2, Microsoft Windows 3, and HP New Wave. However, I do believe that an Apple victory would have been a tremendous impedement to GUI development. After all, in order to make a GUI that would be legally safe from Apple you would have to at least be much more different from the Mac GUI than MS Windows 2, MS Windows 3, and New Wave, which were pretty different from the Mac to begin with. I think that the remaining areas of UI copyright not thrown out by the Apple-v-Microsoft decision are also not a net benefit to the public, but that is getting away from the subject of the original posting, which was whether or not the Free Software Foundation would be sued for developing a new graphical user interface. In the current UI copyright situation (assuming that the Apple-v-Microsoft decision is upheld), it seems to me that FSF most likely wouldn't get sued, but, it's still possible, depending on the specifics of the user interface. Needless to say, I am not a lawyer. This is not legal advice. -- Adam J. Richter Yggdrasil Computing, Incorporated 409 Evelyn Ave., Apt. 312, Albany CA 94706 PO Box 8418, Berkeley CA 94707-8418 (510) 528-3209 (510) 526-7531, fax: (510) 528-8508 adam@netcom.com yggdrasil@netcom.com Another member of the League for Programming Freedom (league@prep.ai.mit.edu).
Newsgroups: comp.dcom.modems,comp.sys.next.misc,comp.sys.next.programmer From: edmtl@alf.uib.no (Thor Legvold) Subject: ZyXEL voicemail for NeXT??? Message-ID: <1993Feb12.110732.25853@alf.uib.no> Organization: University of Bergen, Norway Date: Fri, 12 Feb 93 11:07:32 GMT I remember reading a posting (from Germany, I think) about a (beta?) voicemail system for NeXTSTEP. I beleive it was shareware. I would like to get a copy of this program, but haven't found it in any of the usual NeXT archives (orst/sonata), and since I don't remember the name I can't use Archie (well, I _could_, but the Finnish Archie server is down, and I think the file is too new to show up). Could anyone with info on this program please e-mail me? Thanks. Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: bryan@alex.com (Bryan Boreham) Return-Path: <news@alex.com> Subject: Re: ** Toward a Portable OO GUI Library ** Organization: Alex Technologies Ltd, London, England References: <C1zv2w.63L@csisun.uucp> <1993Feb11.132609.21497@alex.com> <1le7gb$c3m@agate.berkeley.edu> Apparently-To: mail2news@demon.co.uk Date: Fri, 12 Feb 1993 11:57:21 +0000 Message-ID: <1993Feb12.115721.2784@alex.com> Sender: usenet@demon.co.uk In article <1le7gb$c3m@agate.berkeley.edu>, jbuck@forney.berkeley.edu (Joe Buck) writes: > In article <1993Feb11.132609.21497@alex.com> bryan@alex.com writes: > >IEEE working group P1295.2 is working on the Open Toolkit Environment, > >which is basically a Standard for the OLIT (Open Look Intrinsics Toiolkit) > >API. There is another group (P1295.1?) doing the same for Motif. > > Tcl/Tk, which is free software, is designed to resemble the look and > feel of Motif (though there are, at present, many deviations, it is > getting closer all the time). Please note that the IEEE efforts I quoted are directed at the *API*, not the look and feel. Bryan.
From: ambi@it-next2.bu.edu (Michael Amirault) Newsgroups: comp.sys.next.programmer Subject: Objective C or C++? Message-ID: <110218@bu.edu> Date: 12 Feb 93 14:53:14 GMT Sender: news@bu.edu I have to start a multi-platform project and I have to figure out whether to use Objective C or C++. I'm mainly insterested in porting issues. I'm looking for an Objective C or C++ package(s) that work consistently accross the following platforms: Sun, HP, RS6000, PC, NeXTstep I need to find packages that are as portable as possible accross these platforms. PLEASE DO NOT TURN THIS INTO A FLAME WAR! I already know which language *I* like better, I just need info on which language or package is the most portable. Thanks, Mike Amirault ambi@it-next2.bu.edu
Newsgroups: comp.sys.next.programmer From: jolly@cis.uni-muenchen.de (Patrick Stein) Subject: Re: ZyXEL voicemail for NeXT??? References: <1993Feb12.110732.25853@alf.uib.no> Sender: news@informatik.uni-muenchen.de (News System) Organization: Institut fuer Informatik der Universitaet Muenchen Date: Fri, 12 Feb 1993 17:22:54 GMT Message-ID: <C2CIy6.ByK@informatik.uni-muenchen.de> Thor Legvold) writes: > I remember reading a posting (from Germany, I think) about a (beta?) > voicemail system for NeXTSTEP. I beleive it was shareware. it is on the ftpsite : "ftp.informatik.uni-muenchen.de" the file is : "/pub/next/Comm/Answering_Machine.0.98.7.tar.Z" ======================================================= Jolly alias Patrick Stein = jolly@cis.uni-muenchen.de Centrum fuer Informations und Sprachverarbeitung der Ludwig Maximilians Universitaet Muenchen Tel: ++49 +89 -36 40 72 (priv) +89 -950 57 34 "Every day u don t smile is a wasted day P) " C.Chaplin =======================================================
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Re: need way to debug "freed unmalloced pointer" Message-ID: <7635@ucsbcsl.ucsb.edu> Date: 11 Feb 93 00:09:19 GMT References: <1993Feb2.193228.1097@proforma.com> Sender: root@ucsbcsl.ucsb.edu Distribution: usa In article <1993Feb2.193228.1097@proforma.com> jgg@proforma.com (J. G. Gregory) writes: ] I may be slow, but is there an easy way to find the particular call ] to free() that causes the "freed unmalloced pointer" messages? ] ] It seems like this should be one of the basic debugging operations, ] but I can't find it mentioned. ] ] Also, what is the significance of the difference between the ] following 2 messages? ] ] freed unmalloced pointer: 0xdeadbeef ] freed unmalloced pointer: 0x7f7f7f7f ] ] In other words, what things fill memory with beefdead, and what fills ] memory with 7f7f7f7f? ] I believe (please correct me if I am wrong) that 0xdeadbeef is a pointer that has already been freed by your code at some point, and 0x7f7f7f7f is a pointer that has never been allocated at any time in your code. These are done by the MallocDebug library. Finding which call to free() is generating the problem is a bit harder, since you cannot break within free via gdb based on the value of a variable (like you could with part of your own code). One solution is to create a wrapper for free that it your own, substitute this for all your calls to free(), then break inside it: void my_free(void *pointer) { free(pointer); // set breakpoint at this line if(pointer==0x7f7f7f7f) } -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.ai From: gibbonst@cda.mrs.umn.edu (Tom Gibbons ) Subject: Collectiong speech data using the NeXT? Message-ID: <C2Cp65.3L1@cda.mrs.umn.edu> Organization: University of Minnesota - Morris Distribution: usa Date: Fri, 12 Feb 1993 19:37:16 GMT I have a student who wants to do some simple speech recognition using or NeXT computer. We are looking for some simple software to do the voice collection. We would like to record the sound and do a FFT on it (possibily using teh DSP's) to produce some data that the student can then apply some speech recognition algorithms on. Do any have a simple applicaiton for the next that will record a sound and do a Fast Fourier Transform on it? An alternative would be to find a public domain collection of sounds for use in speach recognition. A large number of simple sound from multiple speakers would be best. Any suggestions? Thanks, Tom Gibbons gibbonst@ccda.mrs.umn.edu
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: NeXT Developer support program Message-ID: <1993Feb12.170536.9825@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting Date: Fri, 12 Feb 1993 17:05:36 GMT I'm trying to get my employer to sign up for the 1-year developer support program that NeXTedge offers, bu he is leaning towards the "6-pack". I think it would be more economical in the long run to go with the year long contract. What have other developers found? What does NeXT count as a "question?" Do you tend to waste more time debugging NeXT's code instead of calling up tech support if you only have the 6-pack and need to ration them? What have your experiences been? You can e-mail your experiences, and I will summarize to the net, or if your post is of general interest, post it anyway....... Thanks, John -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-3344 Independent NeXTSTEP Developer
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: preece@urbana.mcd.mot.com (Scott E. Preece) Subject: Re: ** Toward a Portable OO GUI Library ** In-Reply-To: kevyn@world.std.com's message of Thu, 11 Feb 1993 22:18:35 GMT Message-ID: <PREECE.93Feb12135443@predator.urbana.mcd.mot.com> Sender: news@urbana.mcd.mot.com (News) Organization: Motorola MCG, Urbana Design Center References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> <EMERY.93Feb10103958@goldfinger.mitre.org> <C2B1z0.6w4@world.std.com> Date: Fri, 12 Feb 1993 19:54:50 GMT In article <C2B1z0.6w4@world.std.com> kevyn@world.std.com (Kevyn Ford) writes: | | emery@goldfinger.mitre.org (David Emery) writes: | | >The model (even if practice doesn't live up to it) for IEEE and other | >formal standards is to codify existing practice. I don't think | >there's enough existing practice out there to standardize on yet. | >There are some commercial products (e.g. XVT, Galaxy, and Galaxy is | >supposed to be the most 00-like) but in the absence of reasonable | >experience with existing practice, I believe formal standardization to | >be premature. | | Beyond that, you must realize that a portable application like XVT | compared to something written in native Motif or MS Windows simply | cannot compare. How do you compensate for its shortcomings? | | IMHO you will *never* see a truly portable GUI for the same reasons you will | *never* see a truly portable OS (don't even _thing_ about saying *nix). The | best we'll ever be able to hope for is ONE GUI for each OS (Motif on Unix, | MS Windows on DOS, PM on OS/2, etc). --- While opinions are always interesting, it is conventional to provide at least a little bit of evidence or experience to support them. What shortcomings of portable GUI toolkits did you have in mind? Certainly there are quite a few people working on building them and there quite a few major corporations and organizations using them to build portable applications. Those applications seem to meet the needs of those organizations quite nicely, with the tremendous advantage of being portable across the major platforms. In fact, I think some people would argue that those portable applications in some cases obey the GUI style guides better than some applications built using the native style guides. This is not surprising, since the look and feel is being regulated by the toolkit and the application developer is being constrained to expressing the application in look-and-feel-independent terms. I have heard people describe things they said could not be done in a portable GUI toolkit and which they felt were essential to providing a quality application. In most cases they were describing things they had to do *because the native toolkit was broken or inadequate*. I find that a weak argument for the superiority of the native toolkits; in many cases the portable toolkits have avoided those problems or have filled in gaps in ways that are nicely portable across platforms. The point of your second paragraph is equally obscure. Either you meant to knock the idea of a portable operating system API (like POSIX), which seems pretty goofy, since there are quite a few implementations of the POSIX API and there are real, portable programs written to that API to prove that it does work, or you meant that UNIX is too hard to port to call it portable. The latter statement is, of course, un-testable, in the absence of a definition of portability, so it's not very interesting even as opinion. Certainly UNIX is a lot more portable than most other operating systems have, historically, been. Certainly future operating systems will be more portable. Of course, a more interesting question is "what is an operating system." Most of the modern standards are being written as APIs or ABIs based on application execution environments. Is the operating system the outer interface, used by binary applications? It's possible to implement UNIX as one or more servers and/or libraries on top of a micro-kernel. The micro-kernel is much more constrained and helps isolate the machine-dependencies such that it is, typically, *much* easier to port to different hardware. The outer shell of libraries and servers may then be extremely portable, possibly even as binaries. Applications, of course, don't care whether an API turns into a trap, a library routine, or a message. My opinion is possibly biased, since I'm chairing an IEEE standards working group (1201.1) working on producing a specification for a uniform API for GUI programming. Contrary to Dave Emery's opinion, I believe that there is quite a lot of existing practice; what there is not is a single, common existing practice. However, most of the existing products have a lot in common, architecturally; 1201.1 is trying to take that core practice and express it as a language-independent specification and a C API instantiating the specification. scott -- scott preece motorola/mcg urbana design center 1101 e. university, urbana, il 61801 uucp: uunet!uiucuxc!udc!preece, arpa: preece@urbana.mcd.mot.com phone: 217-384-8589 fax: 217-384-8550
Newsgroups: comp.sys.next.programmer From: kathys@ursulajpl.nasa.gov (Kathy Sturdevant) Subject: InterfaceBuilder 3.0 Message-ID: <1993Feb12.213406.3404@jpl-devvax.jpl.nasa.gov> Sender: kathys@ursula (Kathy Sturdevant) Organization: Jet Propulsion Laboratory (NASA) Date: Fri, 12 Feb 1993 21:34:06 GMT To: InterfaceBuilder 3.0 users I am looking for documentation on the new InterfaceBuilder. Specifically, I'd like to know what I can color directly (rather than programmatically). For example, I was trying to change the color of a button, but was only able to change the color of the text. If there is something on-line or off-line that you can direct me to, I'd appreciate it. I found the tutorial on-line, but it didn't have anything about color. thanks, Kathy Sturdevant kathys@jpl-devvax.jpl.nasa.gov
Newsgroups: comp.sys.next.programmer From: edmtl@alf.uib.no (Thor Legvold) Subject: Re: ZyXEL voicemail for NeXT??? Message-ID: <1993Feb12.230232.710@alf.uib.no> Organization: University of Bergen, Norway References: <C2CIy6.ByK@informatik.uni-muenchen.de> Date: Fri, 12 Feb 93 23:02:32 GMT jolly@cis.uni-muenchen.de (Patrick Stein) writes: : Thor Legvold) writes: : > I remember reading a posting (from Germany, I think) about a (beta?) : > voicemail system for NeXTSTEP. I beleive it was shareware. : : it is on the ftpsite : "ftp.informatik.uni-muenchen.de" : the file is : "/pub/next/Comm/Answering_Machine.0.98.7.tar.Z" : : : : ======================================================= : Jolly alias Patrick Stein = jolly@cis.uni-muenchen.de : Centrum fuer Informations und Sprachverarbeitung der : Ludwig Maximilians Universitaet Muenchen : Tel: ++49 +89 -36 40 72 (priv) +89 -950 57 34 : : "Every day u don t smile is a wasted day P) " C.Chaplin : ======================================================= : Thanks for the fast response! :-) Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer From: orion@proxima.cc.colorado.edu (Orion Edward Poplawski) Subject: Bizzare malloc error (Command line indexing kit program) Message-ID: <C2Cx2M.KrG@csn.org> Keywords: malloc,indexingkit Sender: news@csn.org (news) Organization: Colorado SuperNet, Inc. Date: Fri, 12 Feb 1993 22:27:57 GMT I've been messing around with the indexing kit, and managed to create the beginnings of a flat file database. Then the time came to convert the data from an older database of mine to the new one. So I started writing a command-line program that uses the objects that I wrote for the main program. However, the convert program has problems with malloc. While running in gdb I get: Program generated(1): Memory access exception on address 0x2e0505e4 (invalid address). 0x5008b8a in nxzonemallocnolock () when I try to malloc some storage for a string like so: publisher = (char *)malloc(sizeof(aString)+1); the stack shows calls proceeding like: malloc() nxzonemalloc() nxzonemallocnolock() Does anyone have any ideas? Run into similar problems? I am completely stumpted, I've never seen anything like it. Does the indexing kit require and application object? This would be a pain if so. Please email. Will post a summary if anyone is interested. -- Orion Poplawski Physics Dept. Paraprofessional The Colorado College orion@proxima.cc.colorado.edu (NeXT mail OK) (719)389-6750
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.programmer,comp.lang.postscript Subject: how to use PS/DPS wrapped functions Message-ID: <32158@optima.cs.arizona.edu> Date: 13 Feb 93 00:18:52 GMT Sender: news@cs.arizona.edu Followup-To: comp.sys.next.programmer I'm trying to use a graphic state with my view. So I allocate a graphic state using [myview AllocGState] (or whatever its called) and then I use the method that defines what I want in my gstate that is called the first time I draw in it. (initGState or something like that) (and I also do that informviewtoInitGstate:YES or whatever that horribly long name is which says hey, init my gstate next time you lockfocus) The problem is I can't figure out how to set some of the things in the gstate. I want to set the font in the gstate. There is a function called PSsetfont() which takes one param, a number which specifies the font. PScurrentfont() however, doesn't return anything. It is declared of type void. Also it doesn't take any params, so it doesn't take the address of an int or anything. I'd like to do this: /* allocate a font and get its number, then: */ PSsetfont( my_font_num ); or PSsetfont( PScurrentfont() ); but PScurrentfont doesn't return anything. I looked at the function DPScurrentfont, which takes two params, a dps context and something else. I am not sure how to use it. It appears that PSx is the same as PSx(context) where context is the current context. Is this correct? So then that makes it look like PScurrentfont's defn is screwed up since it should return a number somehow. I wrote a pswrap function that does currentfont setfont and this seems do work fine to change my gstate. I just want to do it using PSsetfont(PScurrentfont());, not because it is faster (not important in this case), but just because I want to win! Damn computer, grumble, grumble... I need to do this because later I might want to change the font in my gstate, and this can only be done by getting a font and setting that as the font. any ideas what my confusion is? There is no info on PScurrentfont or PSsetfont in the info I have found online in the docs. I have the purple book and the red&white book (ps level 2 book). Not much help from them, other than the purple book tells me how to use the gstate (but not how to set the font, darn it!) thanks nick kline@cs.arizona.edu
From: tzs@carson.u.washington.edu (Tim Smith) Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 13 Feb 1993 07:15:33 GMT Organization: University of Washington School of Law, Class of '95 Message-ID: <1li76lINN5k2@shelley.u.washington.edu> References: <1993Feb10.161418.5930@netcom.com> <1lcsliINN708@shelley.u.washington.edu> <1993Feb12.095228.19216@netcom.com> adam@netcom.com (Adam J. Richter) writes: >Motif: Motif is backed by the Open Software Foundation, a consortium > of companies easily large enough to fight an Apple lawsuit. > >Open Look: Like Motif, Open Look was backed by companies big enough to > fight a lawsuit from Apple. I saw some early Open Look Let me see if I understand this. The OSF is large enough that Apple won't sue them? Then how do you explain Apple suing Microsoft, the world's biggest computer company (in both terms of software sales and of net value)? --Tim Smith
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Workspace/Listener/NXPortFromName() broken in 3.0? Message-ID: <1993Feb12.215727.2844@afs.com> Sender: greg@afs.com Date: Fri, 12 Feb 1993 21:57:27 GMT Are there any known bugs in the 3.0 WorkspaceManager, Listener class or NXPortFromName() function that prevent a running process from being found across a network? Here's the situation: we have a server process with a Listener running on an advertised host. Here's the "truth table" on whether client processes cannot find it with NXPortFromName("processname", "remotehostname"): OS version Server version Works? 3.0 3.0 NO 3.0 2.1 NO 2.1 2.1 YES It looks like the 3.0 OS is the culprit, since the old (and not recompiled) version of the server fails under 3.0. What's up with that? -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: How to drag icons in my own application ? Message-ID: <64237@mimsy.umd.edu> Date: 13 Feb 93 05:12:47 GMT References: <1ld9i7INNs0k@nic.BelWue.DE> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1ld9i7INNs0k@nic.BelWue.DE> richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) writes: > I want to drag icons from one window to the > other, where you just can drop the icon, but i get lost in my reference > books and i have no good examples to solve this problem. there is a nice example floating around the archives called DragLab by Greg Burd and Randy Nelson (hopefully still) employed by NeXT Computer it might be called NeXTWorldDragLab.tar.Z or DragLab.tar.Z or something similar. it shows how drag and drop work in 3.0 very clearly. it requires 3.0. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: jimlynch@netcom.com (Jim Lynch) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1993Feb13.102411.14755@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) References: <1993Feb10.083156.5298@latcs1.lat.oz.au> <1993Feb10.161418.5930@netcom.com> <1lcsliINN708@shelley.u.washington.edu> Date: Sat, 13 Feb 1993 10:24:11 GMT In article <1lcsliINN708@shelley.u.washington.edu> tzs@carson.u.washington.edu (Tim Smith) writes: >jimlynch@netcom.com (Jim Lynch) writes: >>From what I am given to understand, GNU very much wants to do a GUI, however >>they think that if they do, Apple will sue. This is part of the reason for >>the FSF boycott of Apple products. > >Explain NextStep, Motif, Open Look, GEM, the Amiga interface, >and Open Desktop, among others, please. Get Richard Stallman to do so. Contact him at: rms@gnu.ai.mit.edu...
Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: yci@netcom.com (Yggdrasil Computing) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1993Feb13.120304.18931@netcom.com> Organization: Yggdrasil Computing, Incorporated References: <1lcsliINN708@shelley.u.washington.edu> <1993Feb12.095228.19216@netcom.com> <1li76lINN5k2@shelley.u.washington.edu> Date: Sat, 13 Feb 1993 12:03:04 GMT In article <1li76lINN5k2@shelley.u.washington.edu> tzs@carson.u.washington.edu (Tim Smith) writes: >adam@netcom.com (Adam J. Richter) writes: >>Motif: Motif is backed by the Open Software Foundation, a consortium >> of companies easily large enough to fight an Apple lawsuit. >> >>Open Look: Like Motif, Open Look was backed by companies big enough to >> fight a lawsuit from Apple. I saw some early Open Look > >Let me see if I understand this. The OSF is large enough that Apple won't sue >them? Then how do you explain Apple suing Microsoft, the world's biggest >computer company (in both terms of software sales and of net value)? > >--Tim Smith I said that OSF is "large enough to **fight** an Apple lawsuit." That doesn't mean that Apple won't sue. It just means that the OSF, like Microsoft, can consider fighting the lawsuit as a viable option, unlike a smaller company. -- Adam J. Richter Yggdrasil Computing, Incorporated 409 Evelyn Ave., Apt. 312, Albany CA 94706 PO Box 8418, Berkeley CA 94707-8418 (510) 528-3209 (510) 526-7531, fax: (510) 528-8508 adam@netcom.com yggdrasil@netcom.com Another member of the League for Programming Freedom (league@prep.ai.mit.edu).
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: The future of distributed objects? Message-ID: <1993Feb12.135113.800@prim> Organization: Primitive Software Ltd. Date: Fri, 12 Feb 1993 13:51:13 GMT I've just started thinking about converting my app to use distributed objects with a client/server mechanism and am a little concerned at the way the server code will depend on a NeXTStep environment. Isn't it the case that an awful lot of servers out there are going to be Unix machines? It would be just about possible to write a server application written in Objective C that doesn't use the app kit and compile it to run on a generic Unix box using the (soon to be released?) run-time library from the FSF. But if you want to use distributed objects, forget it. They use Mach ports instead of RPC/sockets and they need support from a whole load of NeXTStep classes. Wouldn't it be great if NeXT produced an Objective C development kit that contained just a subset of the appkit (none of the display related stuff), that would allow you to write such servers, used RPC instead of Mach ports and ran on any Unix machine? Dream on, scottie... Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Expo Developer Session price Message-ID: <1993Feb12.115734.649@prim> Organization: Primitive Software Ltd. References: <1l9ph1INNdu5@darkstar.UCSC.EDU> Date: Fri, 12 Feb 1993 11:57:34 GMT In article <1l9ph1INNdu5@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: >Because the Expo organizers apparently want me to attend so badly (they've >asked me 12 times :-) I called their number and asked for preregistration info. >Last year, early registration cost $395 (with the cost being $495 at the door, >if I recall). This year, early registration is something like $695, $745 at >the door. It's the same 3 days, but I guess supply, demand, and corporate >expense-paid NeXTSTEP developers may justify the increase. Really makes it >tough on us little guys. You're not kidding. Add on the cost of a transatlantic plane ticket and this really eats into the money we're trying to save up for that $2500 NS486 license. Hard to justify. I wonder if this will be the last Expo? :-( Dave
From: jbotz@mtholyoke.edu (Jurgen Botz) Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 13 Feb 1993 13:36:21 -0500 Organization: Mount Holyoke College Sender: news@mtholyoke.edu Message-ID: <1ljf35$sb@slab.mtholyoke.edu> References: <1993Feb10.161418.5930@netcom.com> <1lcsliINN708@shelley.u.washington.edu> <1993Feb12.095228.19216@netcom.com> <1li76lINN5k2@shelley.u.washington.edu> In article <1li76lINN5k2@shelley.u.washington.edu> tzs@carson.u.washington.edu (Tim Smith) writes: >adam@netcom.com (Adam J. Richter) writes: >>Motif: Motif is backed by the Open Software Foundation, a consortium >> of companies easily large enough to fight an Apple lawsuit. >> >Let me see if I understand this. The OSF is large enough that Apple won't sue >them? Then how do you explain Apple suing Microsoft, the world's biggest >computer company (in both terms of software sales and of net value)? What was said was that the companies behind the OSF are large enough to fight an Apple suite, not that Apple won't sue. I.e., Apple can sue, but they can't intimidate the OSF into submission with the thread of a suite as they did with DR. Also, Microsoft is NOT "the world's biggest computer company"; not even close. IBM & DEC (the two biggest players behind the OSF) are orders of magnitude larger than Microsoft. Microsoft isn't even the world's largest software company---that distinction also goes to IBM. (Of course IBM also gets the distinction of having just posted the largest net loss of any computer company, ever...) -- Jurgen Botz, jbotz@mtholyoke.edu Northampton, MA, USA
Newsgroups: comp.sys.next.programmer From: henry@trilithon.mpk.ca.us (Henry McGilton) Subject: Re: strstr Message-ID: <1993Feb13.194135.12374@trilithon.mpk.ca.us> Sender: henry@trilithon.mpk.ca.us Organization: Trilithon Software References: <1993Feb10.035819.297@kira.net.netcom.com> Date: Sat, 13 Feb 1993 19:41:35 GMT In article <1993Feb10.035819.297@kira.net.netcom.com> kira.uucp!death@netcom.com (David John Burrowes) writes: * In article <1993Feb5.173336.1231@xexos.com> * rob@xexos.com (Rob Trangmar) writes: * > Why no man entry for char *strstr(..)? * > The routine is there.... * For that matter, how about things like strrchr()? (that * is, why have these legit functions never had man pages (or, * at least not since 2.1?) strrchr and strrchr are System V'isms. The BSD equivalents are index and rindex, and they are in the man pages. And for the same reasons, strstr and strtok are System V'isms. NeXT UNIX appears to be more BSD-oriented than System V oriented. ........ Henry
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: Growing views- was: how to use PS/DPS wrapped functions Message-ID: <32234@optima.cs.arizona.edu> Date: 13 Feb 93 22:40:14 GMT References: <32158@optima.cs.arizona.edu> Sender: news@cs.arizona.edu Organization: U of Arizona CS Dept, Tucson I will just follow up to my own post. I answered my own question. Basically, you need to use a pswrap function. The PS/DPS functions that don't return anything explicitly just leave things on the stack for you to use. And yes, the PSx is the same as the function DPSx with the current dps context. Now I have a new question. I have a view that I am drawing into frequently. It has its own gstate. the major thing I set in the gstate is the font. This view is in a scrollview, so that only part of the view is visible. Most of the time, just the bottom part of the view is what I am interested in. The probelm is that when I add to the length of the view at the bottom, by doing a [myview sizeby:....] the sizeby goes up the chain of views and eventually my view gets a display. it seems that my view has not been focused on before this display was called. I know this because the font seems wrong then. However, when I myself lockfocus and then write the font is correct. Any ideas? thanks, nick
From: root@scarolina.cerfnet.com (Operator) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Please help my sun find it's IP address Date: 13 Feb 1993 23:23:57 GMT Organization: CERFnet Message-ID: <1ljvudINNpqa@news.cerf.net> Keywords: bootp, rarp, select, socket, bind We're trying to use a diskless sun 3/50 ($395 for qty one!) as an X-terminal on a NeXT. We're running 3.0 NeXTstep, and it's a "non-NetInfo Network". We've received information from one person who says that his NeXT running bootp version 2.1 (from CMU, not the one supplied with the NeXT) correctly hands out IP addresses to a whole bunch of pc's and macs on his network. Before the sun can send a tftp request asking for its boot file, it has to find out its IP address. What's supposed to happen (as far as we can tell from reading RFC951 and RFC1048 and the source code): 1) sun multicasts reverse arp packets onto the ethernet. (rarp packets look like regular arp packets except that the ethernet address is filled in and the IP address is blank.) 2) the NeXT runs bootpd, which listens on port 67. when a packet appears on the port, bootpd looks up the IP address, fills it in, and ships the packet back out. We get basically the same symptoms using the bootpd that NeXT supplies as if we use CMU's version 2.1. The packets come in, but never leave. No one reports any errors that we can find. We have the source code for CMU's version 2.1. Through the liberal insertion of logging statements, we can tell that it - gets a socket (socket(AF_INET, SOCK_DGRAM, 0) returns 4) - uses getservbyname() to find out that the port number is 67 - does a bind() of descriptor 4 (the socket) to port 67 - reads the bootptab file - does a select on descriptor 4 sits there forever waiting for something to appear on the socket. It never gets to the part where it manipulates the packet, because it never gets a packet. The sun passes its external loopback test, and we can see the packets come into the NeXT when we do a 'netstat -i'. (The "Ipkts" on en0 grow steadily whenever the sun is powered-on, but not when the sun is off.) Also from 'netstat -i' we can see that no packets are going out. So - does anybody out there in netland know what needs to be done to the NeXT so that the kernel will put those packets the sun is sending into port 67? Does something else need to be configured? Or are we completely confused and this has nothing to do with bootpd? Does the NeXT put the datagrams in a port other than 67? What port? Does anyone know any additional ways to find out what is happening to the packets? (Other than netstat -i.) Please respond to fasano@scarolina.cerfnet.com. If we succeed, we will post complete instructions. (At the current price for a sun 3/50, we imagine there will be some demand!) adTHANKSvance Cathy & Chris Fasano
Newsgroups: comp.sys.next.programmer From: royce@splunge.uucp (Royce Howland) Subject: Wrapper object for use with IXRecordManager Message-ID: <1993Feb13.172208.5742@splunge.uucp> Organization: Ashley, Howland & Wood Date: Sat, 13 Feb 1993 17:22:08 GMT I'm writing a small app, mostly for the experience (as opposed to getting much real use out of the result), the aim of which is to manage a list of agenda items which have numerous attributes. The idea is to have a window that displays the current item, and allows standard operations like next item, previous item, search for an item, and addition, deletion, and replacement of items. The only problem is I'm unsure of the way to represent the information from two ScrollViews within the data wrapper object I use to archive agenda items. I'd like to be able to save the complete RTF data, not just the text, from the ScrollViews. At the moment, I only wish to have one instance of the wrapper around at a time, since I'm only displaying at most one item on the window at a time. (Later I'll add a browser.) I thus need to destroy & recreate the wrapper, or at least its contents, every time the display moves to a different item for any reason. My best bet seemed to be to do something like this: @interface ItemWrapper:Object { char *itemNumber; char *title; char *group; char *action; int itemType; char *priority; char *deadline; char *closed; id description; // These correspond to the two ScrollViews id followup; } ... @end and then set the description and followup using something like: - setTheDescription:theText { if (description) [description free]; description = [theText copy]; return self; } where "theText" is the Text object from the ScrollView. The wrapper is freed like this: - free { if (itemNumber) free(itemNumber); if (title) free(title); if (group) free(group); if (action) free(action); if (priority) free(priority); if (deadline) free(deadline); if (closed) free(closed); if (description) [description free]; if (followup) [followup free]; return [super free]; } The wrapper is read and written from the IXRecordManager via read: and write:, which look like this: - read:(NXTypedStream *)stream { [super read:stream]; NXReadTypes(stream, "****i***@@", &itemNumber, &title, &group, &action, &itemType, &priority, &deadline, &closed, &description, &followup); return self; } - write:(NXTypedStream *)stream { [super write:stream]; NXWriteTypes(stream, "****i***@@", &itemNumber, &title, &group, &action, &itemType, &priority, &deadline, &closed, &description, &followup); return self; } Well, this seemed like a promising approach, but it isn't working. When I create a new IXRecordManager, I can add one item fine. Adding a second item causes the program to die with a memory access exception. Here's the appropriate segment from the gdb backtrace: Program generated(1): Memory access exception on address 0xf (protection failure). 0x50069c8 in objc_msgSend () (gdb) bt #0 0x50069c8 in objc_msgSend () #1 0x607bd76 in -[Text(RunUtil) containsRTFD] () #2 0x607b0f8 in -[Text write:] () #3 0x50373a2 in InternalWriteObject () #4 0x503010a in WriteValues () #5 0x502ff90 in NXWriteTypes () #6 0x3fc8 in -[ItemWrapper write:] (self=0xddc04, _cmd=0x6184b81, stream=0xe0a10) at ItemWrapper.m:41 #7 0x50373a2 in InternalWriteObject () #8 0x5037518 in NXWriteObject () #9 0x5037602 in NXWriteRootObject () #10 0xa0327d8 in passivateObject () #11 0xa0160ca in -[IXDataRepository addRecord:] () #12 0xa01644e in -[IXRecordManager addRecord:] () #13 0x3854 in -[AgendaController addItem:] (self=0xdf89c, _cmd=0x618bc54, sender=0x16208c) at AgendaController.m:275 If I set a break-point in the write: method, just before the call to NXWriteTypes(), and peruse Edit's gdb browser when execution stops at the break, everything in the wrapper object looks fine when the first item is created. In particular, I can wander down into the two copies of the ScrollView Text objects, and look at their firstTextBlocks and lastTextBlocks, and see the text I typed into the two ScrollViews. However, when I create the second item and the program stops at the break- point, if I look at the two Text objects in the wrapper, the first one (description) is normal, while the second one (followup) is not. The firstTextBlock and lastTextBlock for followup do not contain the text I typed; they report that the chars instance variable is 0, and the text instance variable is 0x0. My theory is that this has something to do with the way I'm copying & freeing the ScrollViews' Text objects. I have RTFM'ed that the Object copy method does not make copies of any objects inside the object being copied, but only copies pointers to them. (E.g. a firstTextBlock in a Text object.) Is this what's tripping me up? And if so, how does one properly get complex objects into a wrapper for archiving in an IXRecordManager? Respond in mail and I'll summarize. Thanks in advance. -- Royce Howland, DKW Systems Corp. | "And since OS/2 2.0 is a 32-bit Everything is IMHO | operating system, programs are easier royce@splunge.uucp (NeXTMail OK) | to write and run faster, too." or kakwa!atlantis!splunge!royce | ad for OS/2 2.0
From: tzs@carson.u.washington.edu (Tim Smith) Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 14 Feb 1993 01:13:13 GMT Organization: University of Washington School of Law, Class of '95 Message-ID: <1lk6b9INNaa3@shelley.u.washington.edu> References: <1993Feb12.095228.19216@netcom.com> <1li76lINN5k2@shelley.u.washington.edu> <1ljf35$sb@slab.mtholyoke.edu> jbotz@mtholyoke.edu (Jurgen Botz) writes: >>computer company (in both terms of software sales and of net value)? > >Also, Microsoft is NOT "the world's biggest computer company"; not >even close. IBM & DEC (the two biggest players behind the OSF) are >orders of magnitude larger than Microsoft. Microsoft isn't even the You appear to not follow the stock market. Microsoft passed IBM in value a few weeks ago. --Tim Smith
From: lozinski@cup.portal.com (Christopher A Lozinski) Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk.... Message-ID: <75587@cup.portal.com> Date: Sat, 13 Feb 93 17:17:54 PST Organization: The Portal System (TM) Distribution: usa References: <86744@ut-emx.uucp> <1993Feb8.184802.3062@leland.Stanford.EDU> For the record... My company is currently shipping the Smalltalk Interface to Objective-C. It makes Objective-C objects look like Smalltalk Objects. It is currently available for Microsoft Windows. For more information please send me your postal address. Regards Christopher Lozinski Berkeley Productivity Group
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Making compose window key when speaking to Mail Message-ID: <1993Feb13.140419.4717@prim> Keywords: Mail Speaker Organization: Primitive Software Ltd. References: <9901@news.duke.edu> Date: Sat, 13 Feb 1993 14:04:19 GMT In article <9901@news.duke.edu> low00001@bullnext.mc.duke.edu (Richard Low) writes: >I have an app where I am firing up a Mail Compose window and I am >doing this using some MailSpeaker code I got from a friend that wraps >the Speaker class selectorRPC:paramTypes: methods. I open the >Speaker port to Mail.app with: > > id speaker = [[MailSpeaker alloc] init]; > port_t thePort; > int theWin; > > [NXApp deactivateSelf]; > thePort = NXPortFromName("MailSendDemo", NULL); > [mailSpeaker setSendPort:thePort]; > if ( ![mailSpeaker openSend:&theWin] && > ![mailSpeaker setTo:(char *)"low00001" inWindow:theWin] && > ![mailSpeaker setSubject:(char *)"" inWindow:theWin] && > ![mailSpeaker setBody:(char *)"" inWindow:theWin] ) > > >This works. The mail compose window is invoked and the To field is >filled in. However, neither the compose window nor the Mail.app are >made active. I fiddled with sending the message: > > BOOL flag = 1; // or 0 > [mailSpeaker performRemoteMethod:"activateSelf:" > with:(const char *)&flag length:sizeof( BOOL )] > >but nothing happens. Does anyone know how to make Mail become the >active app and for the compose window to become the key window? >Also, if there is a better or more 3.0ish way to message Mail than >through the Speaker class (like through the Workspace Request >protocols) I'd love to know. > Add the following line after you've opened the compose window: [[Application workspace] launchApplication:"Mail"]; It doesn't matter that Mail is already running, this works just like double clicking the Mail icon. (Soapbox: I hope there's some people at NeXT working on the whole area of inter-application control, currently the weakest area in NeXTStep.) Dave Griffiths
From: tzs@carson.u.washington.edu (Tim Smith) Newsgroups: comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 14 Feb 1993 07:31:25 GMT Organization: University of Washington School of Law, Class of '95 Message-ID: <1lksgdINNt92@shelley.u.washington.edu> References: <1li76lINN5k2@shelley.u.washington.edu> <1ljf35$sb@slab.mtholyoke.edu> <1lk6b9INNaa3@shelley.u.washington.edu> tzs@carson.u.washington.edu (Tim Smith) writes: >You appear to not follow the stock market. Microsoft passed IBM in value >a few weeks ago. This is ambiguous, so let me clarify. The price per share of MS times the number of shares passed the price per share times the number of shares of IBM. This is what I meant by saying that Microsoft is now bigger than IBM. By other measures, of course, they are smaller. By total revenue, IBM is huge (64 billion), DEC is big (13 billion), as is Apple (7 billion), while Microsoft is "only" 3 billion. Just for the heck of it, here is how those companies do in terms of revenue per employee: Apple 470k Microsoft 250k IBM 188k DEC 130k (I should have checked Novell while I was looking up this stuff.) --Tim Smith
Newsgroups: comp.sys.next.programmer From: gbrown@raven.ctr.columbia.edu (Glenn Brown) Subject: Please help me with ommision from NeXT Docs. Sender: nobody@ctr.columbia.edu Organization: J. Random Misconfigured Site Date: Sun, 14 Feb 1993 15:31:02 GMT Message-ID: <1993Feb14.153102.17057@sol.ctr.columbia.edu> Nowhere in the NeXT online documentation (v3.0), NeXTAnswers '93, the hardcopy documentation(v3.0), or the CSN FAQ is the 'options' argument to the 'performFileOperation:source:destination:files:options' method of the NXWorkspaceRequestProtocol documented. Well, actually, the docs say it is a (char *), but they don't say how the argument is to be used. I wrote a nice .tar file content inspector for the WorkspaceManager, and it uses the performFileOperation[...] method to unarchive the .tar file in the background (just like the default .tar inspector). However, the docs don't specify how to make the decompression be performed asynchronously, which is really a must for large .tar files. Also, they don't tell how to change the 'Decompressing' message displayed in the file viewer to a 'Unarchiving' message. The inspector I wrote uses the revert button (renamed) in the inspector to "List [the] Contents" of the tarfile so the user can inspect the tarfile and determine in advance whether unarchiving will nicely put all the files in a directory or spew them all over the current directory. Of course, you _could_ "tar -tf" the file in Terminal.app, but that's less convienient. I really would appreciate any help. All that's left is getting decompression to be performed asynchronously, and then I'll upload this nice little utility to the archives. Thanks for any help you can give me, --Glenn
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: strstr Date: 14 Feb 1993 13:12:11 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1llgfb$3ru@steffi.demon.co.uk> References: <1993Feb13.194135.12374@trilithon.mpk.ca.us> Henry McGilton (henry@trilithon.mpk.ca.us) wrote: : In article <1993Feb10.035819.297@kira.net.netcom.com> : kira.uucp!death@netcom.com (David John Burrowes) writes: : * In article <1993Feb5.173336.1231@xexos.com> : * rob@xexos.com (Rob Trangmar) writes: : * > Why no man entry for char *strstr(..)? : * > The routine is there.... : : * For that matter, how about things like strrchr()? (that : * is, why have these legit functions never had man pages (or, : * at least not since 2.1?) : strrchr and strrchr are System V'isms. The BSD equivalents are : index and rindex, and they are in the man pages. : And for the same reasons, strstr and strtok are System V'isms. : NeXT UNIX appears to be more BSD-oriented than System V oriented. And thank god for it.
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Andrew Lowernstern Date: 14 Feb 1993 16:09:43 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1llqs7$4bi@steffi.demon.co.uk> Andrew, mail to andrew@uu5.psi.com bounced.
Newsgroups: comp.sys.next.programmer From: gary@nshade.uah.ualberta.ca (Gary Ritchie) Subject: Re: Workspace/Listener/NXPortFromName() broken in 3.0? Message-ID: <1993Feb14.195526.26463@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <1993Feb12.215727.2844@afs.com> Date: Sun, 14 Feb 1993 19:55:26 GMT In article <1993Feb12.215727.2844@afs.com> greg@afs.com (Gregory H. Anderson) writes: > Are there any known bugs in the 3.0 WorkspaceManager, Listener class or > NXPortFromName() function that prevent a running process from being > found across a network? Check out NeXTanswers "appkit.870". In 3.0, the checkInAs: method (for a Listener) does NOT register its name with the name server in such a way that processes on other machines can find it, UNLESS public window server is on. There is an easy fix, which is supplied in the above-mentioned NeXTanswer. --- Gary Ritchie gary@uaneuro.uah.ualberta.ca
Newsgroups: comp.sys.next.programmer From: orion@proxima.cc.colorado.edu (Orion Edward Poplawski) Subject: Solution to "Bizzare malloc error" Message-ID: <C2Gnr5.696@csn.org> Sender: news@csn.org (news) Organization: Colorado SuperNet, Inc. Date: Sun, 14 Feb 1993 22:57:03 GMT Well, the solution was trivial. I was using : malloc(sizeof(aString)+); rather than : malloc(strlen(aString)+1); Thanks to all those who responded to my post, especially the one with the right answer. -- Orion Poplawski Physics Dept. Paraprofessional The Colorado College orion@proxima.cc.colorado.edu (NeXT mail OK) (719)389-6750
From: se16@titus.nextlab.cs.qub.ac.uk (Paul Donnelly) Newsgroups: comp.sys.next.programmer Subject: !!!HELP!!! on suser() function? Keywords: NeXT Message-ID: <1993Feb14.230156.7402@ousrvr.oulu.fi> Date: 14 Feb 93 23:01:56 GMT Sender: news@ousrvr.oulu.fi Organization: University of Oulu I have been having some difficulty using the C func 'suser()' in one of my apps. I found some details in "ldd.h" but I still cannot successfully import the function. Is there another method I could user to determine if a user has 'super' access privileges from within my app? Thanks in advance Paul +-------------------------------+ | Arbitrary satirical witticism | +-------------------------------+
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: !!!HELP!!! on suser() function? Date: 15 Feb 1993 02:40:56 GMT Organization: The University of Maryland, College Park Message-ID: <1lmvroINNhg@ni.umd.edu> References: <1993Feb14.230156.7402@ousrvr.oulu.fi> Keywords: NeXT In article <1993Feb14.230156.7402@ousrvr.oulu.fi> se16@titus.nextlab.cs.qub.ac.uk (Paul Donnelly) writes: >I have been having some difficulty using the C func 'suser()' in one of my >apps. I found some details in "ldd.h" but I still cannot successfully >import the function. The suser() function is something you usually see or use in kernel level code. It checks the "current" process' (the process performaing the system call) effective UID for that of root's. >Is there another method I could user to determine if a user has 'super' >access privileges from within my app? For user level code, I'd imagine that a simple #define suser() (geteuid() == 0) somewhere in your program should suffice. louie
Newsgroups: comp.sys.m68k,comp.sys.next.misc,comp.sys.next.programmer,gnu.gcc.help From: thangiah@plains.NoDak.edu (sam r. thangiah) Subject: M68000 Code to be generated using C on the NeXT Sender: usenet@ns1.nodak.edu (Usenet login) Message-ID: <C2H6nz.I2w@ns1.nodak.edu> Date: Mon, 15 Feb 1993 05:45:35 GMT Distribution: usa Organization: North Dakota Higher Education Computing Network I have a robot that has a m68000 board. I am trying to use the NeXT computer system to generate m68000 code. I have a m68000 assembler on the NeXT that can assemble and generate machine code that can be run on the robot. Here is my problem. I am in need of a C compiler that can generate m68000 code that can be assembled by the AVOCET assembler that I have. I have been tinkering around with GNU C but I am not getting anywhere. Any help on how I can accomplish this task, either by using GNU C or purchasing a commercial C compiler would be highly appreciated. Thanks in advance, -Sam -- Sam R. Thangiah, North Dakota State University. 300 Minard Hall, Fargo UUCP: ...!plains!thangiah ND 58105 BITNET: thangiah@plains.bitnet Office: (701) 237-8199 INTERNET: thangiah@plains.NoDak.edu
From: alex@laos (Alex D. Nghiem) Newsgroups: comp.sys.next.programmer Subject: Re: Adding an OpenPanel to a program Message-ID: <1993Feb15.013258.21756@pencom.com> Date: 15 Feb 93 01:32:58 GMT References: <25951@galaxy.ucr.edu> Sender: usenet@pencom.com (Usenet Pseudo User) Distribution: usa Organization: Pencom Software In article <25951@galaxy.ucr.edu> theharv@csld (Brian Harvey) writes: > Hello all. I have a problem. I'm trying to write an application that > has an open panel come up. > > I declare the panel like this: > > OpenPanel *openpanel = [[OpenPanel new] allowMultipleFiles:NO]; > > and when it do this: > > directory = [openpanel directory]; > > I am able to find out what directory the user has chosen in the Open > Panel, but when I do this: > > file = [openpanel filenames]; > > I can't seem to access the information in the variable "file". > It's declared as: > > const char *const *file; > > because that is what [openpanel filenames] returns. > > My question is "How to I access the name of the file from "file"? > I tried printing "file" out as a string, but that didn't work. > Any help would be greatly appreciated! > > ------------------------- > > theharv@csld.ucr.edu > Brian Harvey > University of California, Riverside Brian: Here is some code from my upcoming NeXTSTEP book that may should work for you. =================================================================== - awakeFromNib { // create the savepanel and openpanel savePanel = [SavePanel new]; openPanel = [OpenPanel new]; // by default, an openpanel only allows // one file to be opened [openPanel allowMultipleFiles:YES]; return self; } - showOpenPanel:sender { const char *file, *directory; const char *const *filenames; static const char *const wordTypes[] = {FILE_EXTENSION, NULL}; char fullPathName[81]; // display only files with "word" extension if ([openPanel runModalForTypes:wordTypes]) { // get list of filename(s) selected // the filenames method returns a // a pointer to all the strings filenames = [openPanel filenames]; // get directory first directory = [openPanel directory]; do { // get filename file = *(filenames++); // construct entire pathname strcpy(fullPathName, directory); // append directory to filename strcat(fullPathName, "/"); strcat(fullPathName, file); [[Document alloc] initDocumentFromFile:fullPathName]; } while (*(filenames) != NULL); } return self; } ========================================================================= Basically, the filenames method returns a pointer to a bunch of pointers. What you have to do is declare two variables, file and directory, as const char pointers. Then, you set up a loop to repeat until *(filenames) is not NULL. In the loop, you extract each filename as follow: file = *(filenames++) Then, you prepend the directory to the filename using strcpy. In my example, showOpenPanel: creates a document and then initializes it with the contents of the filename specified by fullPathName. If you need any more help, please feel free to e-mail me. Best regards, Alex Duong Nghiem Phone: (512) 343-1111 Pencom Software Fax: (512) 343-9650 9050 Capital of TX Hwy N. Mail: alex@pencom.com Suite 300 Mail: co-Xist_support@pencom.com Austin, TX 78759 Mail: co-Xist_info@pencom.com USA **************************** * NeXTMail gladly accepted * ****************************
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: strstr Message-ID: <1993Feb15.111434.3334@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Feb13.194135.12374@trilithon.mpk.ca.us> Date: Mon, 15 Feb 1993 11:14:34 GMT In article <1993Feb13.194135.12374@trilithon.mpk.ca.us> henry@trilithon.mpk.ca.us (Henry McGilton) writes: > In article <1993Feb10.035819.297@kira.net.netcom.com> > kira.uucp!death@netcom.com (David John Burrowes) writes: > * In article <1993Feb5.173336.1231@xexos.com> > * rob@xexos.com (Rob Trangmar) writes: > > * > Why no man entry for char *strstr(..)? > * > The routine is there.... > > * For that matter, how about things like strrchr()? (that > * is, why have these legit functions never had man pages (or, > * at least not since 2.1?) > strrchr and strrchr are System V'isms. The BSD equivalents are > index and rindex, and they are in the man pages. > > And for the same reasons, strstr and strtok are System V'isms. > NeXT UNIX appears to be more BSD-oriented than System V oriented. > > ........ Henry And what about strspn and strcspn? -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: edwardj@microsoft.com (Edward Jung) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1993Feb14.084218.117@microsoft.com> Date: 14 Feb 93 08:42:18 GMT Organization: Strategy Division, Microsoft Corp. References: <C1zv2w.63L@csisun.uucp> <1993Feb10.083156.5298@latcs1.lat.oz.au> Jacob L. Cybulski writes: >In article <C1zv2w.63L@csisun.uucp>, jburnes@csisun.uucp (Jim Burnes) writes: >|> >|> I have an idea. Its probably already been thought of. Why >|> don't we as developers come up with a POSIX/ISO/IEEE portable >|> class library for GUI's. >|> Suggest away... >|> >|> Jim Burnes >|> jburnes@compusci.com > >This sounds like an excellent idea for GNU! > >Jacob The model that Jim Burnes suggests is most like that of the Object Management Group, a consortium of a few hundred companies, both clients and vendors. They have an entire object-oriented reference architecture and are building the standards step-wise. They have completed their object request broker (CORBA) standard and are working on v.2 of that, and are working on object model, standard object services, C++ bindings, etc. as well. There are many arguments about the success and failure chances of organizations like the OMG, the quality of what they produce, and the both the quickness of response and the likelihood of cooperation, both pro and con. GUI interoperability standards are on their list, however. -- Edward Jung, Software Architect edwardj@microsoft.com Advanced Systems, Microsoft Corp.
Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,gnu.gcc.help,comp.sys.m68k Message-ID: <0fTsX6600WB=MZSaEg@andrew.cmu.edu> Date: Mon, 15 Feb 1993 07:12:54 -0500 From: Charles William Swiger <infidel+@CMU.EDU> Subject: Re: M68000 Code to be generated using C on the NeXT In-Reply-To: <C2H6nz.I2w@ns1.nodak.edu> Distribution: usa Excerpts from netnews.comp.sys.next.misc: 15-Feb-93 M68000 Code to be generated.. by sam r. thangiah@plains.N > Here is my problem. I am in need of a C compiler that can generate m68000 > code that can be assembled by the AVOCET assembler that I have. I have > been tinkering around with GNU C but I am not getting anywhere. Any help > on how I can accomplish this task, either by using GNU C or purchasing a > commercial C compiler would be highly appreciated. Try "cc -S -m68000 <c-files>". This should output a set of .s files (assembly language) for each .c file input. I am not absolutely certain that the -m option will sucessful limit the assembly output to *strict* 68000 opcodes. You might have to look through and convert any newer opcodes into their older equivalents. -Chuck Charles William Swiger -- CMU...*crunch*! | "Foosh. Aaughh!!" ------------------------------------------+ "Foosh. Aauuggghh!!" AMS & normal mail: infidel@cmu.edu | "Cold spray deodorant...." Failing that: cs4w+@andrew.cmu.edu | NeXTmail: chuck@mon.slip.andrew.cmu.edu | -- Opus, Bloom County [RIP]
From: don@devon.co.uk (Don Radvan) Newsgroups: comp.sys.next.programmer Subject: NXSplitView palette Keywords: palette Message-ID: <1993Feb15.110425.25576@devon.co.uk> Date: 15 Feb 93 11:04:25 GMT Sender: usenet@devon.co.uk (Mr. USENET) Organization: Devon Systems International Does anyone know where to find the palettised NXSplitView? I've used it before but lost it. I checked the archive sites that I can reach but to no avail. Sorry about the reply-to address. Anybody got a fix for that as well? -- Don Radvan # Devon Systems International +44 071 499 8381 # 14 Old Park Lane don@devon.co.uk # London W1Y 3LH UK NeXTmail friendly # "Betwixt Hyde and Green"
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: So: DBTableView didChangeSelection: and awakeFromNib Message-ID: <1993Feb15.154114.18248@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Feb11.162801.19350@email.tuwien.ac.at> Date: Mon, 15 Feb 1993 15:41:14 GMT In article <1993Feb11.162801.19350@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: > > This method works fine except the following case: > A row is selected. > You resize a column. > After that a column is selected, but you haven't received > columnDidChangedSelection:. > Any help required. > In article <1993Feb11.141458.10987@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: > When going into test mode in InterfaceBuilder your objects first receive > a -read: and then an -awake message. > After that connections done in InterfaceBuilder are executed i.e. > setXXX: methods are called. That's the same behaviour as in an > ordinary application except that at the end your objects receive > -awakeFromNib in the application, but not in InterfaceBuilder's test > mode. > But I need to do final initialization AFTER connections have been made. > Is there a workaround? First of all, thanks to David Apfelbaum <da0g+@andrew.cmu.edu>. He didn't have the solution, but he pointed me to it. He especially had problems with returning NO in tableViewWillChangeSelection:, so if you have any questions in this direction, he knows the answer. The solutions for tableViewDidChangeSelection: and awakeFromNib are conceptually the same, so I summarize them here in one posting. In both cases I receive a "starting" event (i.e. -tableViewWillChangeSelection: or -awake), but no corresponding event afterwards (i.e. -tableViewDidChangedSelection: or awakeFromNib). The solution is to call perform:with:afterDelay:cancelPrevious:. See documentation and following code for explanation. Code for tableViewDidChangeSelection: problem: @interface MyObject:SomeClass { ... BOOL willChangeReceived; } Initializing willChangeReceived to NO. - (BOOL)tableViewWillChangeSelection:sender { willChangeReceived = YES; [self perform:@selector(tableViewDidChangeSelection:) with:tableView afterDelay:1 cancelPrevious:NO]; return YES; } - tableViewDidChangeSelection:sender { if (!willChangeReceived) return self; willChangeReceived = NO; ... } Code for awakeFromNib problem: @interface MyObject:SomeClass { ... BOOL awakeReceived; } Initializing awakeReceived to NO. - awake // called before any connections are established { [super awake]; awakeReceived = YES; [self perform:@selector(performAwake:) with:self afterDelay:1 cancelPrevious:NO]; return self; } - awakeFromNib // called after all connections are established // (but not in InterfaceBuider's test mode) { return [self performAwake:self]; } - performAwake:sender { if (!awakeReceived) return self; awakeReceived = NO; ... } awakeReceived and willChangeReceived are only needed to avoid double calling of tableViewDidChangeSelection: and performAwake:. The clue is that perform:with:afterDelay:cancelPrevious: is only called after the main event loop is running again. The only bad thing is that at least one millisecond (afterDelay:1) has to be gone after selector is sent. The documentation for delayedFree: states: "Frees theObject by sending it the free message after the application finishes responding to the current event and before it gets the next event". Does somebody know how to do this with other methods than free? I mean one millisecond is short enough, so it should work, but it leaves a bad feeling. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: So: awakeFromNib in InterfaceBuilder's Test Mode Message-ID: <1993Feb15.154257.18409@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Feb11.141458.10987@email.tuwien.ac.at> Date: Mon, 15 Feb 1993 15:42:57 GMT In article <1993Feb11.141458.10987@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: > > This topic was up some time ago, but I can't remember the solution or if > there was any. > When going into test mode in InterfaceBuilder your objects first receive a > -read: and then an -awake message. > After that connections done in InterfaceBuilder are executed i.e. setXXX: > methods are called. That's the same behaviour as in an ordinary > application except that at the end your objects receive -awakeFromNib in > the application, but not in InterfaceBuilder's test mode. > But I need to do final initialization AFTER connections have been made. > Is there a workaround? See So:DBTableView didChangeSelection: and awakeFromNib some postings ago. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann) Subject: Re: strstr Message-ID: <ntomczak.729795579@vega> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <1993Feb10.035819.297@kira.net.netcom.com> <1993Feb13.194135.12374@trilithon.mpk.ca.us> Date: Mon, 15 Feb 1993 16:59:39 GMT henry@trilithon.mpk.ca.us (Henry McGilton) writes: >strrchr and strrchr are System V'isms. The BSD equivalents are >index and rindex, and they are in the man pages. >And for the same reasons, strstr and strtok are System V'isms. >NeXT UNIX appears to be more BSD-oriented than System V oriented. All these 'str...' functions, does not matter from where they are coming, are mandated by ANSI Standard. NeXT compiler is Standard and libraries are too (to some extent, i.e. they contain bugs which NeXT studiously ignores even when pestered with bug reports). Man pages, on the other hand, are inherited from some old BSD releases and their update record is spotty. I am afraid that your best bet is to buy some book which describes ANSI library. I guess that the situation can be classified as a bug as well. To maintain a backward compatiblity you will get index and rindex (and bcopy, bzero and things) but they are really given in headers as: #define index(s,c) strchr(s,c) #define rindex(s,c) strrchr(s,c) .... and so on (which from time to time requires a manual intervention when sources you trying to compile contain an index declaration once again). Michal Jaegermann ntomczak@vega.math.ualberta.ca
Newsgroups: comp.sys.next.programmer From: pclark@is.com (Pete Clark) Subject: Re: Multi-Developer Projects Message-ID: <C2H61z.Ly@is.com> Keywords: cvs, nib, rcs, nextstep Sender: pclark@is.com (Pete Clark) Organization: Integrity Solutions, Inc. References: <1993Feb10.165406.1522@lighthouse.com> Date: Mon, 15 Feb 1993 05:32:23 GMT In article <1993Feb10.165406.1522@lighthouse.com> rob@lighthouse.com (Rob Kedoin) writes: > > I've heard that people successfully use CVS to manage their NeXT source and > that they have a better way of dealing with nibs. Here's a blurb from the CVS > man page: CVS has been used quite successfully at Integrity Solutionsfor over 9 months, for several projects and products under both NS2.1 and 3.0. There are indeed fairly successful ways of dealing with the nib/directory problem, which basically entail tarring up the CVS admininstrative files on checkout, and untarring them before checkin. I heartily recomment CVS, and I've written a short 30-second intro to CVS which I'd be happy to send to anyone interested, along with a makefile.postamble file that automates the tarring and untarring of the admin files. Best, Pete Clark -- ********************************************************************* Pete Clark - Software Engineer | You know that way that Integrity Solutions, Inc. | you always are? pclark@is.com NeXTMail preferred | Don't be that way.
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: cancel <32234@optima.cs.arizona.edu> Message-ID: <32343@optima.cs.arizona.edu> Date: 15 Feb 93 21:41:44 GMT References: <32158@optima.cs.arizona.edu> <32234@optima.cs.arizona.edu> Control: cancel <32234@optima.cs.arizona.edu> Sender: news@cs.arizona.edu Organization: U of Arizona CS Dept, Tucson This message was cancelled from within rn.
Newsgroups: comp.sys.next.programmer From: popaul@cs.mcgill.ca (Paul TERRAY) Subject: GatorFTP +, TeXmenu - Subprocess object problem Message-ID: <C2ICyH.GC@cs.mcgill.ca> Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS, McGill University, Montreal, Canada Date: Mon, 15 Feb 1993 20:59:04 GMT I am using GatorFTP+ and TeXmenu and they both have a problem while opening a virtual terminal. I looked inside GatorFTP+ and it seems that the problem come from Subprocess.m, a class designed by a NeXT developper and released to the public. The problem is that the output of the virtual terminal go to a Stuart or a terminal when there is one open, and otherwise doesn't launch at all. Do you know if there is any release of Subprocess to correct that bug ? Mine is v10... Thanks, Paul
Newsgroups: comp.sys.next.programmer From: korp@eid.anl.gov (Peter A. Korp) Subject: Printing a TIFF representation of a PS view, do I need another NXImage? Message-ID: <1993Feb15.215405.9801@mcs.anl.gov> Keywords: printing, tiff, compositing, postscript, NXImage Sender: usenet@mcs.anl.gov Organization: Argonne National Laboratory, Argonne, Illinois Date: Mon, 15 Feb 1993 21:54:05 GMT One of the views in my application uses PS to render a lot of data into a large window. I also use compositing with NX_SOVER to do some fancy overlay stuff (I wish compositing worked with printers!). When it comes time to print I don't want to have to execute all of the PS code in drawSelf: again, but rather take the image in the view and composite it using NX_COPY into the printing context. I tried the following code in drawself: but it hung my app in an infinite loop in the composite method for the temporary image. - drawSelf:(NXRect *)rects :(int)rectCount { if (NXDrawingStatus == NX_PRINTING) { id myImage; NXRect theRect; NXPoint point = {0.0, 0.0}; [self getFrame:&theRect]; myImage = [[NXImage alloc] initSize:&theRect.size]; [myImage useCacheWithDepth:NX_DefaultDepth]; if ( [myImage lockFocus] ) { // I want compositing to look good on the // printer and this is the only way I know how NXDrawingStatus = NX_DRAWING; [self drawSelf:(NXRect *)0 :0]; [myImage unlockFocus]; NXDrawingStatus = NX_PRINTING; [myImage composite:NX_COPY toPoint:&point]; [myImage free]; } } The other way of doing it would be to have an extra NXImage the size of my view always around. draw everything into that and then composite it onto the screen. But I don't enjoy the thought of another huge color alpha NXImage hanging around in my app. Any pointers would be appreciated, -- Peter A. Korp Assistant Scientist Argonne National Laboratory korp@eid.anl.gov
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: kathys@ursula (Kathy Sturdevant) Subject: User environment problem--the Dock Message-ID: <1993Feb15.220014.15916@jpl-devvax.jpl.nasa.gov> Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post) Organization: Jet Propulsion Laboratory (NASA) Date: Mon, 15 Feb 1993 22:00:14 GMT One of the NeXT users on our team is having problems with her icon dock. She can add applications to it, but the dock does not get saved and reappear as she left it when she logs back in. We are currently running 3.0, though she said this was a problem for her in 2.0 also. The documentation I've found says it is saved automatically (and it works fine for all of the other users). Does anyone know what file this is saved to and/or what could be causing this? I was wondering if the file had wrong permissions or something. Thanks in advance, kathy kathys@jpl-devvax.jpl.nasa.gov
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: How to tell color at a point in an NXImage instance Date: 15 Feb 1993 22:37:34 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1lp5veINN9j4@uwm.edu> Originator: xepo@csd4.csd.uwm.edu HI, I am wondering if there is a way to tell what the color, or alpha is a point in an NXImage instance that has been read in. Mainly I am wondering if this can easily be accomplished withough knowing how tiff images are saved. Is there some easy way to do like [theImage lockFocus]; PSmoveto(point.x, point.y); color = whatIsTheColor() ??? Thanks, -- -Scott Violet (xepo@csd4.csd.uwm.edu)
From: zonker+@CMU.EDU (Jeremy G. Mereness) Newsgroups: comp.sys.next.programmer Subject: TimeZone Preference Tool? Message-ID: <YfTyxza00WB3Qiq08B@andrew.cmu.edu> Date: 15 Feb 93 09:31:11 GMT Article-I.D.: andrew.YfTyxza00WB3Qiq08B Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA I want to modify the Clocks palette (it's on sonata) so that one can set the time zone. There is an excellent interface for just that in Preferences, with a world map that you just click on and it highlights the timezone. Now, is this interface available somewhere? I looked through Preferences for a tiff file, but couldn't find one with the world map. It is part of Appkit? Thanks in Advance! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | Free | This message represents | | or jm7e+@andrew.cmu.edu | Software | my opinions, alone. | |FAST Project, CMU-GSIA |------------| Ya Gotta Love It. | | B.S. Mech Eng. CMU,1992|Certificate Mixology,1992|'83 Yamaha 650 Twin | ----------------------------------------------------------------------- This year marks 200 years of the Bill Of Rights.
Newsgroups: comp.sys.next.programmer From: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan) Subject: Palettizing subclasses of Object Message-ID: <C2Iuqt.7Fu@helios.physics.utoronto.ca> Sender: news@helios.physics.utoronto.ca (News Administrator) Organization: University of Toronto Physics/Astronomy/CITA Date: Tue, 16 Feb 1993 03:23:17 GMT Again, maybe I'm just dumb, but I don't get the jist of how to represent an object visually when building the palette view. If I use a CustomView, I cannot drag it into the Files window of IB when I load the Palette. I seem to be missing some point in the process. Can someone direct me to an example or documentation. I've looked in Chapter 18 of NS Dev Tools and Techniques but the example is of Palettizing a subclass of View....that seems easy! Thanks
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: How to tell color at a point in an NXImage instance Date: 16 Feb 1993 00:09:27 -0000 Organization: me organized? That's a joke! Distribution: usa Message-ID: <1lpbbn$1tl@steffi.demon.co.uk> References: <1lp5veINN9j4@uwm.edu> Scott R Violet (xepo@csd4.csd.uwm.edu) wrote: : HI, : I am wondering if there is a way to tell what the color, or : alpha is a point in an NXImage instance that has been read in. Mainly : I am wondering if this can easily be accomplished withough knowing how : tiff images are saved. Is there some easy way to do like : [theImage lockFocus]; : PSmoveto(point.x, point.y); : color = whatIsTheColor() : ??? : Thanks, : -- : -Scott Violet (xepo@csd4.csd.uwm.edu) Mail to Scott bounced. Check out NXReadPixel() scott.
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: Making compose window key when speaking to Mail Message-ID: <1993Feb15.063810.1285@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <9901@news.duke.edu> Date: Mon, 15 Feb 1993 06:38:10 GMT In article <9901@news.duke.edu> low00001@bullnext.mc.duke.edu (Richard Low) writes: > > I have an app where I am firing up a Mail Compose window and I > am doing this using some MailSpeaker code I got from a > friend that wraps the Speaker class > selectorRPC:paramTypes: methods. > > [...munch...] > > This works. The mail compose window is invoked and the To > field is filled in. However, neither the compose window > nor the Mail.app are made active. I fiddled with sending > the message: > > BOOL flag = 1; // or 0 > [mailSpeaker performRemoteMethod:"activateSelf:" > with:(const char *)&flag length:sizeof( BOOL )] > > but nothing happens. Does anyone know how to make Mail > become the active app and for the compose window to become > the key window? > What we do is send a: [speaker performRemoteMethod:"unhide"]; which will unhide it if hidden, and make it the active app even if it isn't. Gordon -- ---------------------------------------------------------------- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] ----------------------------------------------------------------
From: richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) Newsgroups: comp.sys.next.programmer Subject: A special new Dock ? Date: 16 Feb 1993 11:56:33 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1lqkphINNpqc@nic.BelWue.DE> Keywords: Dock I d like to have a dock for my windowicons (no appIcons), so that I can take them from the buttom of the screen (where they fall by default) to the dock or better : if I miniaturize a window it should directly fall to a "kind of dock" and not to the buttom of the screen. How to change the dock behavier ? Has there anybody any good idea or examples or any information for this problem ? Thanks a lot in advance for helping Richard University Heidelberg (from the Heart of germany) richi@next1.rz.fh-heilbronn.de NextMail welcome tsch ss
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: So: DBTableView didChangeSelection: and awakeFromNib Message-ID: <1993Feb16.115549.25488@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Feb15.154114.18248@email.tuwien.ac.at> Date: Tue, 16 Feb 1993 11:55:49 GMT In article <1993Feb15.154114.18248@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: <<< Solution >>> > The clue is that perform:with:afterDelay:cancelPrevious: > is only called after the main > event loop is running again. > The only bad thing is that at least one millisecond (afterDelay:1) has > to be gone after selector is sent. > The documentation for delayedFree: states: "Frees theObject by sending > it the free message after the application finishes responding to the > current event and before it gets the next event". Does somebody know > how to do this with other methods than free? I mean one millisecond > is short enough, so it should work, but it leaves a bad feeling. > Ok, bad feeling has gone. Robert David Nicholson <robert@steffi.demon.co.uk> just asked me: "Can't you use 0 instead of 1 in afterDelay:". I was tempted to send him the following piece of documentation found in ObjectAdditions.rtf for the method perform:with:afterDelay:cancelPrevious: : "However, if ms is 0, a timed entry is not registered and the message is sent immediately, before this method returns". But I decided to give it a chance and tried it for myself. This sentence is WRONG. Calling perform:sel with:xxx afterDelay:0 cancelPrevious:doesn't_matter does not call sel before returning, but only when the main event loop is running again. So substitute afterDelay:1 by afterDelay:0 in my previous posting and everything should work. I hope this was of any use. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: Jelske Kloppenburg <Jelske.Kloppenburg@gmd.de> Subject: Re: How do I provide a service asynchronously ? Message-ID: <1993Feb16.102924.16898@gmd.de> Sender: news@gmd.de (USENET News) Organization: GMD, Sankt Augustin, Germany References: <1993Feb2.095229.2507@infotec.ch> Distribution: comp.sys.next.programmer Date: Tue, 16 Feb 1993 10:29:24 GMT In article <1993Feb2.095229.2507@infotec.ch> guy@infotec.ch (Guy Roberts) writes: > Can anybody suggest a way to return data from a service request > asynchronously ? > > All of the examples that I have seen so far are for synchronous > return of data. Somebody clicks on a service menu item, the > services delegate gets a message like > > doWork: pasteboard userData: (const char *) userData > error: (char **) msg; > > does some work and then synchronously returns the calculated > result. > > I would like my process to be able to postpone the return of > data for an arbitrary length of time and then reply. > > The on line document about NeXT services refers to an example > database look up service (last page) but this does not return > the value to the application which requested the service. > I would like to paste such values and graphics into other apps, > but the data source is async. > > Any ideas ? > > Guy Roberts, Infotec, Switzerland, guy@infotec.ch > > > -- > Guy Roberts (guy@infotec.ch)Infotec S.A. > > phone: 022 738 44 36 5, Place Cornavin, > fax: 022 738 29 12 Geneve, Switzerland. I had a similar Problem (the user should select the item to be returned in a browser). That I solved whith running the browser in a modal loop. Before that I tried to use the 'provideData' feature of Pasteboard. That didn't help, but perhaps its a hint for Your problem. j.k. -- Jelske Kloppenburg, +49 2241 14-2433, <Jelske.Kloppenburg@gmd.de> GMD (German National Research Center for Computer Science) "Don't kill the Winners!" Dennis Tsichritzis
From: steve@estel.uindy.edu (Steve Spicklemire) Newsgroups: comp.sys.next.programmer Subject: NS Intel... development Date: 16 Feb 1993 14:28:54 GMT Organization: Truevision Inc., Indianapolis, IN Distribution: world Message-ID: <1lqtn6INNep3@epic.truevision.com> Keywords: academic pricing development system Hi, Well, we were planning on installing a lab of NSC slabs for general student use, programming etc for next year. Obviously that isn't going to happen. :-( We're looking at 486 systems, and I made a sickening realization: Perhaps, if we want to have students running the c compiler, IB, gdb, and all that, we'll need to buy the full development license for *each* machine in the lab. Is that true? Can I *run* the development tools from a server, and only purchase the user license for each machine in the lab? BTW, any ideas what kind of academic pricing NeXT will produce for NS/Intel? thanks! -steve Steve Spicklemire (317) 788-3313 steve@estel.uindy.edu Dept of Mathematics and Physics NeXTmail Welcome! 1400 East Hanna Avenue, 46227
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: mark@xexos.com (Mark Chamberlain) Subject: Re: User environment problem--the Dock Message-ID: <1993Feb16.131856.3251@xexos.com> Sender: news@xexos.com Organization: Xexos, Ltd (London) References: <1993Feb15.220014.15916@jpl-devvax.jpl.nasa.gov> Date: Tue, 16 Feb 1993 13:18:56 GMT In article <1993Feb15.220014.15916@jpl-devvax.jpl.nasa.gov> kathys@ursula (Kathy Sturdevant) writes: > One of the NeXT users on our team is having problems with her icon > dock. She can add applications to it, but the dock does not get saved > and reappear as she left it when she logs back in. We are currently > running 3.0, though she said this was a problem for her in 2.0 also. We've seen this a lot, and I still don't know exactly why it happens. Do the following :- grab hold of the NeXT Icon at the top of the dock move the dock down a little - move it back to its original place dock will now be saved. I think its because the .NeXT directory/files get corrupted or badly permissioned. The act of "jiggling" the dock rewrites/permissions the files, and the users defaults and dock get saved properly. -- Mark Chamberlain +44 71 237 4535 Xexos Ltd fax +44 71 231 0844 London mark@xexos.com
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: Adding an OpenPanel to a program Message-ID: <1993Feb16.002224.690@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <1993Feb15.013258.21756@pencom.com> Distribution: usa Date: Tue, 16 Feb 1993 00:22:24 GMT In article <1993Feb15.013258.21756@pencom.com> alex@laos (Alex D. Nghiem) writes: > In article <25951@galaxy.ucr.edu> theharv@csld (Brian Harvey) writes: > > Hello all. I have a problem. I'm trying to write an application that > > has an open panel come up. > > > > I declare the panel like this: > > > > OpenPanel *openpanel = [[OpenPanel new] allowMultipleFiles:NO]; > > > > and when it do this: > > > > directory = [openpanel directory]; > > > > I am able to find out what directory the user has chosen in the Open > > Panel, but when I do this: > > > > file = [openpanel filenames]; > > > > I can't seem to access the information in the variable "file". > > It's declared as: > > > > const char *const *file; > > > > because that is what [openpanel filenames] returns. > > > > My question is "How to I access the name of the file from "file"? > > I tried printing "file" out as a string, but that didn't work. > > Any help would be greatly appreciated! > > > > ------------------------- > > > > theharv@csld.ucr.edu > > Brian Harvey > > University of California, Riverside > > > Brian: > > Here is some code from my upcoming NeXTSTEP book that may should work for you. > > =================================================================== > - awakeFromNib > { > // create the savepanel and openpanel > savePanel = [SavePanel new]; > openPanel = [OpenPanel new]; > // by default, an openpanel only allows > // one file to be opened > [openPanel allowMultipleFiles:YES]; > return self; > } > > - showOpenPanel:sender > { > const char *file, *directory; > const char *const *filenames; > static const char > *const wordTypes[] = {FILE_EXTENSION, NULL}; > char fullPathName[81]; Ooops!! Bad boy! ^^^^^^^^^^^ Better make this char fullPathName[MAXPATHLEN+1]; or you'll be sorry! > > // display only files with "word" extension > if ([openPanel runModalForTypes:wordTypes]) > { > // get list of filename(s) selected > // the filenames method returns a > // a pointer to all the strings > filenames = [openPanel filenames]; > // get directory first > directory = [openPanel directory]; > do > { > // get filename > file = *(filenames++); > // construct entire pathname > strcpy(fullPathName, directory); > // append directory to filename > strcat(fullPathName, "/"); > strcat(fullPathName, file); > [[Document alloc] > initDocumentFromFile:fullPathName]; > } > while (*(filenames) != NULL); > } > return self; > } > ========================================================================= > > Basically, the filenames method returns a pointer to a bunch of pointers. What > you have to do is declare two variables, file and directory, as const char > pointers. Then, you set up a loop to repeat until *(filenames) is not NULL. In > the loop, you extract each filename as follow: > > file = *(filenames++) > > Then, you prepend the directory to the filename using strcpy. In my example, > showOpenPanel: creates a document and then initializes it with the contents of > the filename specified by fullPathName. > > If you need any more help, please feel free to e-mail me. > > Best regards, > > > Alex Duong Nghiem Phone: (512) 343-1111 > Pencom Software Fax: (512) 343-9650 > 9050 Capital of TX Hwy N. Mail: alex@pencom.com > Suite 300 Mail: co-Xist_support@pencom.com > Austin, TX 78759 Mail: co-Xist_info@pencom.com > USA > **************************** > * NeXTMail gladly accepted * > **************************** -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-3344 Independent NeXTSTEP Developer
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: How to improve scrolling performance Message-ID: <32409@optima.cs.arizona.edu> Date: 16 Feb 93 17:27:40 GMT Sender: news@cs.arizona.edu I need to improve the performance of my scrolling. By scrolling I mean that I have a view inside a scrollView that grows. Basically I have something like a vt100 terminal emulator attatched to a modem. Connected at 14400, my scrolling window can't quite keep up with the modem. It should have faster scrolling. I can run my program so that it uses a constant sized window/view, without growing the view. In this case, the "scrolling" is really just copying the view up one line. Scrolling is much faster here than when I "sizeBy" my view. The sequence of operations that I use to in to scroll my "growing" view are very simple. I have a method newLine. - newLine { viewHeight += font->fontHeight; /* add one line to my view height */ [self sizeBy: 0 : font->fontHeight]; // or whatever to add one line } Then I use the adjustScroll routine so that the new line is at the bottom of the scrollview. - adjustScroll: (NXRect*)newVis { if(newVis->origin.y + newVis->size.height < viewHeight) { "adjust newVis->origin.y so that it is the right number" } } After this, my drawSelf routine is called, which does nothing other than see that this is a newLine with nothing on it and NXClearRect the bottom line. I cache a gstate in my view, and I examined the postscript that my program was generating here and it was nothing more than a lockfocus (which makes my gstate be the current one), followed whatever postscript operator corresponds to the NXClearRect routine and then an unlockfocus. What can I do to improve scrolling performance here? I have only a vertical scroller. Performance is okay, but not stupendous, or at least not as fast as the 'constant sized' window. I looked at the online docs on performance and didn't see anything I wasn't doing here, assuming that NXClearRect is faster than having a pswrapped function. Another interesting point is that if I grab the scrollBar and go up and down I have no problem keeping up with redrawing the screen. Performance here is just as fast as I could ask for. Its as fast as terminal or any other thing like that. thanks, nick
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: How to tell color at a point in an NXImage instance Date: 16 Feb 1993 15:17:37 -0000 Organization: me organized? That's a joke! Distribution: usa Message-ID: <1lr0ih$4a0@steffi.demon.co.uk> References: <1lp5veINN9j4@uwm.edu> Scott R Violet (xepo@csd4.csd.uwm.edu) wrote: : HI, : I am wondering if there is a way to tell what the color, or : alpha is a point in an NXImage instance that has been read in. Mainly : I am wondering if this can easily be accomplished withough knowing how : tiff images are saved. Is there some easy way to do like : [theImage lockFocus]; : PSmoveto(point.x, point.y); : color = whatIsTheColor() : ??? : Thanks, : -- : -Scott Violet (xepo@csd4.csd.uwm.edu) Mail to scott on this bounced. Scott, check out NXReadPixel()
From: scion@netimage.com (Sam C. Nicholson !!) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,gnu.gcc.help,comp.sys.m68k Subject: Re: M68000 Code to be generated using C on the NeXT Followup-To: comp.sys.next.misc Date: 16 Feb 93 20:00:47 GMT Organization: Network Imaging Systems Corporation - Reston, VA. Distribution: usa Message-ID: <lo2hvfINNebt@utkcs2.cs.utk.edu> References: <0fTsX6600WB=MZSaEg@andrew.cmu.edu> Keywords: gcc 68000 (only) driver Here is a short driver for the gcc which we use to produce code for our embedded 68000 product. It was written by Keith Moore at the U. of Tenn. Knoxville. ------------------------------------------- /* * This is a hack to allow one to run the GNU C Compiler (gcc) with * a reasonable set of arguments to allow it to produce code for * a mc68000 (not an -020) to be used in a standalone environment. */ #include <stdio.h> main (argc, argv, envp) char **argv, **envp; { int i, j; int vflag = 0; char *new_argv[500]; /* have room for lotsa args */ i = 0; new_argv[i++] = "gcc"; new_argv[i++] = "-nostdlib"; /* don't link in standard libraries */ new_argv[i++] = "-m68000"; /* generate code for MC68000 */ new_argv[i++] = "-msoft-float"; /* don't use FPA or FP chip */ new_argv[i++] = "-static"; /* don't use dynamic loading */ new_argv[i++] = "-nostdinc"; /* don't include standard .h files */ new_argv[i++] = "-I/usr/local/lib/cc68k-include"; /* do include our .h files */ new_argv[i++] = "-L/usr/local/lib/cc68k-lib"; /* where we put our libraries */ new_argv[i++] = "-Usun"; /* undefine "sun" macro */ new_argv[i++] = "-Uunix"; /* undefine "unix" macro */ /* * append the arguments we were supplied on our command line to the ones * we have defined above */ for (j = 1; j <= argc; ++j) { /* also copy NULL ptr at argv[argc] */ new_argv[i++] = argv[j]; if (j < argc && strcmp (argv[j], "-v") == 0) vflag = 1; } if (vflag) { putc (' ', stderr); for (i = 0; new_argv[i]; ++i) fprintf (stderr, "%s%c", new_argv[i], new_argv[i+1] ? ' ' : '\n'); } execve ("/usr/local/bin/gcc", new_argv, envp); perror ("/usr/local/bin/gcc"); exit (127); } ------------------------------------------------------- enjoy -sam scion@netimage.com
Newsgroups: comp.sys.next.programmer From: jland@lodge.nwu.edu (John Landwehr) Subject: no termio.h - what do I do now? Message-ID: <1993Feb17.012926.10512@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Wed, 17 Feb 1993 01:29:26 GMT I am trying to compile the Wizcom link program for Sharp Wizard machines. (It is available from math.merkeley.edu as /pub/Wizard/Wizcom) In the wizcom.c file, it gives me the following message when I try to compile it: wizcom.c:62:header file 'termio.h' not found Line 62 says: #include <termio.h> Is there a NeXT-substitute for this? I've looked all over archie-land, and nothing seems to work right. Thanks! JL -- John Landwehr jland@nwu.edu
Newsgroups: comp.sys.next.programmer From: frisinv@alleg.edu (Vincent Frisina) Subject: Radio button question Message-ID: <1993Feb16.213104.10158@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Tue, 16 Feb 1993 21:31:04 GMT I want to have a set of radio buttons call a procedure which contains a switch command where the integer value used is the tag of the selected button. How do I do this? -- Vincent Frisina Email: frisinv@alleg.edu
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: HELP!: Challenging (for me) problem with TextFields (long) Message-ID: <1993Feb17.014251.29955@netcom.com> Sender: yikes@netcom.com (Jenny Doll) Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Wed, 17 Feb 1993 01:42:51 GMT I'm developing part of an application that must implement a UI that allows the user to maintain a hierchical index. If any of you are familiar with Persuasion on the Mac or Concurrence on NeXT, then that's the sort of thing I need to do - except I need to do it in order to maintain traditional, back-of-the-book indexes. OK, well I'm having sort of a hard time determining how to do this. Note that I have no heavy-duty experience with the Text object. A typical structure of an index would look like: ... * Chicken, see also Poultry, 127 * Cows, * Feeding, 143 * Milking, 145-147 * Slaughtering and Protecting in the 20th and the 21st centuries * Cons, 151 * Pros, 150 * Dogs * Feeding, 200-204 * Walking, 191 ... I don't really need to have multiple fonts or styles. What is a little tricky here is that (as an example) "Chicken," "see also," "Poultry," and "127" are all nuclear elements. That is, the user can change the word "Chicken," but cannot change "see also." Ideally what would happen is when the user pressed the right arrow after "Chicken," or placed the cursor with the mouse anywhere on "see also," I would highlight the whole word - then the user can do something. Same goes for page numbers. The user can absolutely NOT change page numbers (they are maintained via a link to source document). But the user can hilight the number and, perhaps, delete the reference. I do need to be able to, say, grab some graphic (*) and have the associated index term and subterms drag and drop somewhere. Also, note that a term can span more than one line. I figure I have a few routes: (1) Use a single Text object - Subclass Text and basically monitor every keystroke and change in selection. I'm not quite sure if a combination of the Text's delegate and text filters will allow me to effectively control user's editing. Additionally, there is the hassle of dealing with those (*) things in order to drag and drop. (2) Use a matrix of custom cells that contain both a graphic (*) and a TextFieldCell subclass to maintain each part of the index term. For instance "Cows" would fit in one TextField as would "Slaughtering and Protecting in the 20th and 21st centuries." The advantage of this is that I can use the Text object's hanging indent formatting and automatic vertical growing/shrinking of a term part. Note that I have a matrix subclass that supports cells of varying heights. (3) I guess finally I can use just single line TextFieldCell subclasses and simulate stuff like a hanging indent. The problem with this approach is that I cannot select text across cell borders (for multi-line term parts). I can't imagine this working very well. (4) The Lighthouse Design method... too bad I don't know what this is!!! They seem to use a custom cell (that contains a graphic and text editing object). However, the custom cells are sort of right justified. That is, if you click to left of one of the entry parts, you are in the custom cell's superview (a ScrollView subclass). However, clicking anywhere to the right of the graphic on the entry part will allow you to edit that text... this is ideal for what I want to do. Anyone know how they did it? Sorry for the longish message... but I'm kind of stumped. I know life would be much, much easier if I didn't have to deal with multiple-line entries, but for the time being I do. And pity me - after I get the prototype running on the NeXT, I have to do a Windows version! Thanks for any hints, ...Michael Brill (yikes@netcom.com) -- ----
Newsgroups: comp.sys.next.programmer From: henry@trilithon.mpk.ca.us (Henry McGilton) Subject: String Functions -- Missing Man Pages Message-ID: <1993Feb17.005017.22898@trilithon.mpk.ca.us> Sender: henry@trilithon.mpk.ca.us Organization: Trilithon Software Date: Wed, 17 Feb 1993 00:50:17 GMT Here is the dreaded ``man'' page for the string functions people have been asking about the last few days. .TH STRING 3C .SH NAME string, strcasecmp, strncasecmp, strcat, strncat, strchr, strrchr, strcmp, strncmp, strcpy, strncpy, strcspn, strspn, strdup, strlen, strpbrk, strstr, strtok, strtok_r \- string operations .SH SYNOPSIS .LP .B #include <string.h> .LP .BI "int strcasecmp(const char *" "s1" , .BI "const char *" "s2" ); .LP .BI "int strncasecmp(const char *" "s1" , .BI "const char *" "s2" , .BI "int " "n" ); .LP .BI "char *strcat(char *" "dst" , .BI "const char *" "src" ); .LP .BI "char *strncat(char *" "dst" , .BI "const char *" "src" , .BI "size_t " "n" ); .LP .BI "char *strchr(const char *" "s" , .BI "int " "c" ); .LP .BI "char *strrchr(const char *" "s" , .BI "int " "c" ); .LP .BI "int strcmp(const char *" "s1" , .BI "const char *" "s2" ); .LP .BI "int strncmp(const char *" "s1" , .BI "const char *" "s2" , .BI "size_t " "n" ); .LP .BI "char *strcpy(char *" "dst" , .BI "const char *" "src" ); .LP .BI "char *strncpy(char *" "dst" , .BI "const char *" "src" , .BI "size_t " "n" ); .LP .BI "size_t strcspn(const char *" "s1" , .BI "const char *" "s2" ); .LP .BI "size_t strspn(const char *" "s1" , .BI "const char *" "s2" ); .LP .BI "char *strdup(const char *" "s1" ); .LP .BI "size_t strlen(const char *" "s" ); .LP .BI "char *strpbrk(const char *" "s1" , .BI "const char *" "s2" ); .LP .BI "char *strstr(const char *" "s1" , .BI "const char *" "s2" ); .LP .BI "char *strtok(char *" "s1" , .BI "const char *" "s2" ); .LP .BI "char *strtok_r(char *" "s1" , .BI "const char *" "s2" , .BI "char **" "lasts"); .SH MT-LEVEL .LP See the .B NOTES section of this page. .SH DESCRIPTION string, strcasecmp, strncasecmp, strcat, strncat, strchr, strrchr, strcmp, strncmp, strcpy, strncpy, strcspn, strspn, strdup, strlen, strpbrk, strstr, strtok, strtok_r \- string operations The arguments .IR s , .IR s1 , .IR s2 , .IR src , and .I dst point to strings (arrays of characters terminated by a null character). The functions .BR strcat(\|) , .BR strncat(\|) , .BR strcpy(\|) , .BR strncpy(\|) , .BR strtok(\|) , and .B strtok_r(\|) all alter their first argument. These functions do not check for overflow of the array pointed to by the first argument. .LP .B strcasecmp(\|) and .B strncasecmp(\|) are case-insensitive versions of .B strcmp(\|) and .B strncmp(\|) respectively, described below. .B strcasecmp(\|) and .B strncasecmp(\|) ignore differences in case when comparing lower and upper case characters. .PP .B strcat(\|) appends a copy of string .IR src , including the terminating null character, to the end of string .IR dst . .B strncat(\|) appends at most .I n characters. Each returns a pointer to the null-terminated result. The initial character of .I src overrides the null character at the end of .IR dst . .PP .B strchr(\|) returns a pointer to the first occurrence of .I c (converted to a .BR char ) in string .IR s , or a .SM NULL pointer if .I c does not occur in the string. .B strrchr(\|) returns a pointer to the last occurrence of .IR c . The null character terminating a string is considered to be part of the string. .PP .B strcmp(\|) compares two strings byte-by-byte, according to the ordering of your machine's character set. If the strings are identical, .B strcmp(\|) returns a zero. Otherwise, the function returns a negative value if the difference of the 1st string precedes that of the 2nd string, or a positive value if the difference of the 2nd string precedes that of the 1st string. .B strncmp(\|) makes the same comparison but looks at a maximum of .I n bytes. Bytes following a null byte are not compared. .PP .B strcpy(\|) copies string .I src to .IR dst including the terminating null character, stopping after the null character has been copied. .B strncpy(\|) copies exactly .I n bytes, truncating .I src or adding null characters to .I dst if necessary. The result will not be null-terminated if the length of .I src is .I n or more. Each function returns .IR dst . .PP .B strcspn(\|) returns the length of the initial segment of string .I s1 that consists entirely of characters not from string .IR s2 . .B strspn(\|) returns the length of the initial segment of string .I s1 that consists entirely of characters from string .IR s2 . .PP .B strdup(\|) returns a pointer to a new string that is a duplicate of the string pointed to by .IR s1 . The space for the new string is obtained using .BR malloc (3C). If the new string cannot be created, a .SM NULL pointer is returned. .PP .B strlen(\|) returns the number of bytes in .IR s , not including the terminating null character. .PP .B strpbrk(\|) returns a pointer to the first occurrence in string .I s1 of any character from string .IR s2 , or a .SM NULL pointer if no character from .I s2 exists in .IR s1 . .PP .B strstr(\|) locates the first occurrence in string .I s1 of the sequence of characters (excluding the terminating null character) in string .IR s2 . .B strstr(\|) returns a pointer to the located string, or a null pointer if the string is not found. If .I s2 points to a string with zero length (that is, the string \f3""\f1), the function returns .IR s1 . .PP .B strtok(\|) considers the string .I s1 to consist of a sequence of zero or more text tokens separated by spans of one or more characters from the separator string .IR s2 . The first call (with pointer .I s1 specified) returns a pointer to the first character of the first token, and will have written a null character into .I s1 immediately following the returned token. The function keeps track of its position in the string between separate calls, so that subsequent calls (which must be made with the first argument being a .SM NULL pointer) will work through the string .I s1 immediately following that token. In this way subsequent calls will work through the string .I s1 until no tokens remain. The separator string .I s2 may be different from call to call. When no token remains in .IR s1 , a .SM NULL pointer is returned. .LP .B strtok_r(\|) has the same functionality as .B strtok(\|) except that a pointer to a string placeholder .I lasts must be supplied by the caller. The \f4lasts\f1 pointer is to keep track of the next substring in which to search for the next token. .SH "SEE ALSO" .BR malloc (3C), .BR setlocale (3C), .BR strxfrm (3C) .LP .B strtok(\|) is unsafe in multithreaded applications. .B strtok_r(\|) should be used instead. .LP .BR string(\|) , .BR strcasecmp(\|) , .BR strcat(\|) , .BR strchr(\|) , .BR strcmp(\|) , .BR strcpy(\|) , .BR strcspn(\|) , .BR strdup(\|) , .BR strlen(\|), .BR strncasecmp(\|), .BR strncat(\|), .BR strncmp(\|), .BR strncpy(\|), .BR strpbrk(\|), .BR strrchr(\|) , .BR strspn(\|) , and .BR strstr(\|) , are MT-Safe in mutli-thread applications. .BR strtok(\|) is unsafe in multi-thread applications.
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Text handling question Message-ID: <1993Feb17.020412.826@netcom.com> Sender: yikes@netcom.com (Jenny Doll) Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Wed, 17 Feb 1993 02:04:12 GMT Is there any way to limit the portion of a text object that the user can select? Assume I have the following contents in a text object: Now is the time for all good men to buy NS486. And I think I will. Yes, I do. Can I limit the user's ability to select to just the middle line, or better yet some arbitrary begin and end points within the text? Thanks, ...Michael Brill (yikes@netcom.com) -- ----
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: peter@ferranti.com (peter da silva) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <id.7KNX.QI6@ferranti.com> Organization: Xenix Support, FICC References: <1993Feb11.132609.21497@alex.com> <1le7gb$c3m@agate.berkeley.edu> <1993Feb12.115721.2784@alex.com> Date: Tue, 16 Feb 1993 21:56:11 GMT In article <1993Feb12.115721.2784@alex.com> bryan@alex.com writes: > Please note that the IEEE efforts I quoted are directed at the *API*, > not the look and feel. That's good. I've long wondered why people get so hung up on relatively minor differences of look and feel of the various style guides, instead of working on a common API that *hides* irrelevant details like that. -- Peter da Silva `-_-' Ferranti International Controls Corporation 'U` Sugar Land, TX 77487-5012 USA +1 713 274 5180 "Zure otsoa besarkatu al duzu gaur?"
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: kathys@jpl-devvax.jpl.nasa.gov (Kathy Sturdevant) Subject: NeXTSTEP 3.0 problems Message-ID: <1993Feb17.031339.26450@jpl-devvax.jpl.nasa.gov> Followup-To: kathys@jpl-devvax.jpl.nasa.gov Organization: Jet Propulsion Laboratory (NASA) Date: Wed, 17 Feb 1993 03:13:39 GMT We recently upgraded to NeXTSTEP 3.0 and are having problems. If someone has some solutions for the following problems, we'd like to hear about them! 1- Performance Our application is running significantly slower than in did in 2.0. Is there something we can do to speed things up? (Granted the application could use some fine-tuning through Purify, but the OS upgrade is the latest change.) 2- Window Server death We get the following error pretty often, which completely kills the application: "DPS client library error: Error while writing to connection, DPSContext 3061e4, data -110 Exiting due to Window Server death" Thanks in advance!! kathy kathys@jpl-devvax.jpl.nasa.gov (P.s. thanks to all who responded on the Dock problem--some file permissions were wrong in the .NeXT directory.)
From: jbuck@forney.berkeley.edu (Joe Buck) Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 17 Feb 1993 03:30:08 GMT Organization: U. C. Berkeley Message-ID: <1lsbg0$fpd@agate.berkeley.edu> References: <1le7gb$c3m@agate.berkeley.edu> <1993Feb12.115721.2784@alex.com> <id.7KNX.QI6@ferranti.com> In article <1993Feb12.115721.2784@alex.com> bryan@alex.com writes: >> Please note that the IEEE efforts I quoted are directed at the *API*, >> not the look and feel. In article <id.7KNX.QI6@ferranti.com> peter@ferranti.com (peter da silva) writes: >That's good. I've long wondered why people get so hung up on relatively >minor differences of look and feel of the various style guides, instead >of working on a common API that *hides* irrelevant details like that. Well, it's because there are two ends to the interface. Standardizing the API helps programmers write applications; standardizing the look and feel helps users quickly use programs effectively. Because of the way people function, the latter standardization doesn't have to be anywhere near as rigid, but it certainly assists people if just about any application they use follows certain basic conventions for common functions. This is one of the nicer features of the Macintosh, something even people who dislike the Mac can learn from. Relatively minor differences of look and feel don't matter that much (though users may find them distracting -- they have to sort out significant vs nonsignificant differences, e.g. does it mean something that a particular bit of information is displayed a bit differently?). On the other hand, if a user is used to left-click selecting an object, and someone writes a program that makes left-click delete an object, I'm afraid "RTFM" isn't going to serve as a very good defense. -- Joe Buck jbuck@ohm.berkeley.edu
Newsgroups: comp.sys.next.programmer From: Paul_Kunz@slac.stanford.edu (Paul Kunz) Subject: Re: Multi-Developer Projects Message-ID: <C2Kp71.9u1@unixhub.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <C2H61z.Ly@is.com> Date: Wed, 17 Feb 1993 03:18:36 GMT We switch to CVS last July and are convinced it is the way to go. There's six different projects (some non-NeXT projects) using CVS here now, and each group really likes it. Art Isbell wrote the cvs.postamble that fixes the conflict IB and CVS. I was the one who discovered it during PreRelease 2 days. I have it on good word that NeXT considers this problem a high priority item to fix. To use CVS, get the latest version of RCS and GNU diff as well. -- Paul F. Kunz Paul_Kunz@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
Newsgroups: comp.sys.next.programmer From: bwebster@pages.com (Bruce F. Webster) Subject: Re: The future of distributed objects? Message-ID: <1993Feb16.153656.7396@pages.com> Sender: bwebster@pages.com Organization: Pages Software Inc. References: <1993Feb12.135113.800@prim> Date: Tue, 16 Feb 1993 15:36:56 GMT In article <1993Feb12.135113.800@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > I've just started thinking about converting my app to use distributed objects > with a client/server mechanism and am a little concerned at the way the > server code will depend on a NeXTStep environment. Isn't it the case that an > awful lot of servers out there are going to be Unix machines? It would be > just about possible to write a server application written in Objective C > that doesn't use the app kit and compile it to run on a generic Unix box > using the (soon to be released?) run-time library from the FSF. But if you > want to use distributed objects, forget it. They use Mach ports instead > of RPC/sockets and they need support from a whole load of NeXTStep classes. > > Wouldn't it be great if NeXT produced an Objective C development kit that > contained just a subset of the appkit (none of the display related stuff), > that would allow you to write such servers, used RPC instead of Mach ports > and ran on any Unix machine? > Actually, there are efforts under way to do just this. Cygnus (the folks who do support for GNU software) are working on developing NeXT-compatible Obj-C tools for other environments. A group internally within NeXT is looking at developing the distributed object technology for other environments. Both groups are looking for outside funding to get the jobs done. If you know of anyone who might want to help fund such projects, let me know. ..bruce.. ------------------------------------------------------------------------------- Bruce F. Webster | C++ is the best example of second-system CTO, Pages Software Inc | effect since OS/360. bwebster@pages.com | -- Henry Spencer #import <pages/disclaimer.h> | -------------------------------------------------------------------------------
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Are DSP sounddriver functions dropped from NS/Intel? Date: 17 Feb 1993 09:45:20 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1lt1fg$m24@agate.berkeley.edu> Are sounddriver functions related to DSP used to receive sound data from peripherals such as Digital Ears dropped from NS/Intel (or its beta)? [Used in most of the examples in JeanLaroche.tar.Z examples available from ccrma-ftp.stanford.edu.] And are we on our own if we want to record from the SSI port of DSP56001 on a 3-rd party board? Could any of the beta tester who now has NS/Intel-beta look up the doc in Librarian for the following functions and see if they have been dropped? snddriver_get_dsp_cmd_port() snddriver_stream_setup() snddriver_dsp_protocol() snddriver_stream_start_reading() If someone at NeXT could reply to me privately or follow up to the net, it would be that much better. It's OK if they have been dropped, in which case I will just directly communicate with the DSP host-interface of 3-rd party hardware. I just have to prepare myself to do a little more rewrites of the section of code that communicates with the DSP if I am on my own entirely. Thanks. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: Jelske Kloppenburg <Jelske.Kloppenburg@gmd.de> Subject: Re: Radio button question Message-ID: <1993Feb17.093613.23662@gmd.de> Sender: news@gmd.de (USENET News) Organization: GMD, Sankt Augustin, Germany References: <1993Feb16.213104.10158@pellns.alleg.edu> Date: Wed, 17 Feb 1993 09:36:13 GMT In article <1993Feb16.213104.10158@pellns.alleg.edu> frisinv@alleg.edu (Vincent Frisina) writes: > > I want to have a set of radio buttons call a procedure which contains a > switch command where the integer value used is the tag of the selected > button. How do I do this? > -- > Vincent Frisina > Email: frisinv@alleg.edu The method has to be the action of the target for the matrix. Then the integer value is [sender selectedTag]. j.k. -- Jelske Kloppenburg, +49 2241 14-2433, <Jelske.Kloppenburg@gmd.de> GMD (German National Research Center for Computer Science) "Don't kill the Winners!" Dennis Tsichritzis
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: d88-jwa@goldfinger.nada.kth.se (Jon Wdtte) Subject: Different look and feel joke Message-ID: <1993Feb17.120907.11199@kth.se> Sender: usenet@kth.se (Usenet) Organization: Royal Institute of Technology, Stockholm, Sweden References: <1le7gb$c3m@agate.berkeley.edu> <1993Feb12.115721.2784@alex.com> <id.7KNX.QI6@ferranti.com> <1lsbg0$fpd@agate.berkeley.edu> Date: Wed, 17 Feb 1993 12:09:07 GMT In <1lsbg0$fpd@agate.berkeley.edu> jbuck@forney.berkeley.edu (Joe Buck) writes: >the other hand, if a user is used to left-click selecting an object, and >someone writes a program that makes left-click delete an object, I'm afraid >"RTFM" isn't going to serve as a very good defense. "RTFM" is ALWAYS a good defense. :-) Cheers, / h+ -- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe -- "From now on I will re-label the EQ on the deck as Fizz and Wobble instead of HF and LF."
From: droberts@ra.cs.umb.edu (Drake M. Roberts) Newsgroups: comp.sys.next.programmer Subject: NS/Intel-printing Message-ID: <1993Feb17.054123.2457@cs.umb.edu> Date: 17 Feb 93 05:41:23 GMT Sender: news@cs.umb.edu (USENET News System) Organization: University of Massachusetts at Boston I remember hearing that adding printing capability to a NeXT app running on NeXT hardware printing to a NeXT printer took developers about 60 seconds to do because of a Kit for printing. Anyone know if doing this will be as easy with NS/Intel? Anyone know if the NeXT printer will be supported by NS/Intel or maybe just what printers are supported by NS/Intel? Is there a list of Kits which won't be available in the developer's version of NS/Intel? Drake Roberts droberts@cs.umb.edu
From: gseidman@math16.math.umbc.edu (gseidman@math14.math.umbc.edu) Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Date: 17 Feb 1993 16:23:38 GMT Organization: University of Maryland, Baltimore County Campus Message-ID: <1ltoqaINN53a@news.umbc.edu> References: <1993Feb12.115721.2784@alex.com> <id.7KNX.QI6@ferranti.com> <1lsbg0$fpd@agate.berkeley.edu> Setting standards is an excellent idea but, as someone pointed out, standards tend to be set by majority usage (i.e. most people use it, so we'll say everyone should) and, occasionally, by one method/whatever that is clearly the best (and we know how "clear" things are to everyone, right?). I could see GNU (or even a private programmer) writing something similar to AT&T's cfront (which converts C++ to standard C which can then be compiled by the built-in UNIX cc for whatever machine) which will take source code and translate standard (i.e. whatever the translator's author wanted it to be) GUI toolbox calls into the appropriate calls for Motif, Open Look, or whatever. Either there would be a different version for each available GUI (even MS Windows and Macintosh, perhaps) or simply a switch (-Motif, -ODT, -OL, etc.) to translate the translator calls into actual GUI calls. A more complex translator could have a visual editor for dialogs and menus, like ResEdit for the Mac (I believe there are similar things for Motif and/or Open Look), and have that editting written as code. Furthermore, OOP GUI calls could be supported, if someone were willing to write such a thing. Such a tool could set that standard everyone is searching for by simply being the best thing around; thoroughly portable to all (supported) platforms, and (if done well) easy to use. Any thoughts? --Greg (peers at the flames on the horizon...)
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: Re: How to improve scrolling performance Message-ID: <32540@optima.cs.arizona.edu> Date: 17 Feb 93 16:30:11 GMT References: <32409@optima.cs.arizona.edu> Sender: news@cs.arizona.edu Organization: U of Arizona CS Dept, Tucson In article <32409@optima.cs.arizona.edu> kline@cs.arizona.edu (Nick Kline) writes: >I need to improve the performance of my scrolling. By scrolling I mean >that I have a view inside a scrollView that grows. Basically I have something >like a vt100 terminal emulator attatched to a modem. Connected at 14400, >my scrolling window can't quite keep up with the modem. > Hey, following up on my own post again. Ray Spalding told me how to do it. Basically, buffer up all of the sizeBy's until you are finished processing input and do them at once in one big sizeBy. I did this and immediatly got screaming performance. So, if you have an app in a scrolling window that resizes frequently and the window can't keep up then just buffer your sizeBy's or sizeTo's. It's as fast as Terminal now. SizeBy is very slow. I understand that it should be a little costly because it trigers display:: and then drawSelf:: but adding 5 character lines one at a time is so very much slower than adding 5 all at once. It really makes me wonder what is going on. I guess the resize goes perhaps to a window, and down the view heirarchy (I only have one view, inside a scrollbar). Perhaps there is a lot of clipping going on. -nick
Newsgroups: comp.sys.next.programmer From: se15@claudius.nextlab.cs.qub.ac.uk (Algorhythm) Subject: Help with buttons and button cells anyone? Message-ID: <1993Feb17.172344.19684@ousrvr.oulu.fi> Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Wed, 17 Feb 1993 17:23:44 GMT Hi NeXT experts, I'm a relative newbie on NeXTs. I'm trying to write an application that uses its own button class. I've drawn icons for some custom buttons in three states - unselected, "highlighted", and greyed-out. I want to disable normal highlighting while the mouse button is held down over a button and replace it with my "highlighted" icon. It seems from the documentation that this can be done by defining a custom button cell class. Unfortunately, I can't seem to get a new button object to use my custom button cell class. I've tried + setCellClass but this doesn't create a new button. Can anybody help me? btw. I'm using NeXTstep 2.1. Thanks for reading.. Paul
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Window resizing... Message-ID: <6824@rosie.NeXT.COM> Date: 17 Feb 93 18:01:41 GMT References: <1993Feb5.141126.177@dagobah.fdn.org> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1993Feb5.141126.177@dagobah.fdn.org> yann@dagobah.fdn.org (Yann Lechelle) writes: >Given: a Window (an inspector in fact) >Wanted: according to the pop-up option (located on top), either fold or >expand the window downward... >To achieve this effect, I memorize the Window's frame, [resize::], and >[moveTopLeftTo::]... However, every step shows on screen... it's pretty >ugly... >It would be so simple if the TopLeft corner was the 0;0 origin !!! >How can I achieve the same effect smoothly ? (without seeing the >expansion/reduction and the moving) Use the Window method -placeWindowAndDisplay:(const NXRect *)frameRect; This method does the resize the same way resize happens when the user performs it. Thus no ugly intermediate steps (none that are visible, that is). By the way, it's not clear to me that the whole thing would be "so simple" if the top left corner was 0,0; you'd still see the window redraw... Ali, Ali_Ozer@NeXT.com
From: hickman@cse.unl.edu (Hubert B. Hickman) Newsgroups: comp.sys.next.programmer Subject: DBImageView + "large" TIFFS + Sybase Date: 17 Feb 1993 19:30:55 GMT Organization: University of Nebraska--Lincoln Distribution: world Message-ID: <1lu3pfINN3ui@crcnis1.unl.edu> I have a table in Sybase which contains an image column. I have this column diplayed in a DBImageView. For small TIFFS, everthing works great (i.e. can store TIFFs, etc.). For a non-trivial TIFF, I get the following message: Sybase : Memory request failed because more tha 64 pages are required to run the query in its present form. The query should be broken up into shorter queries if possible. This is not a huge TIFF that causes this, only 43k or so. Is there a simple way to have Sybase use more than 64 pages of memory for a query? Or do I have to get the NXImage and chop it up into small enough pieces and do the updates myself programmatically? Thanks, Hubert Hickman hickman@cse.unl.edu
Newsgroups: comp.sys.next.programmer From: barry@ictv.com (Barry Lustig) Subject: Is this a compositing bug? Message-ID: <1993Feb17.194333.18270@ictv.com> Sender: usenet@ictv.com Organization: ICTV, Santa Clara, CA (408) 562-9200 Date: Wed, 17 Feb 1993 19:43:33 GMT One of our artists here at ICTV created the image that is included at the end of this article on her Mac. When the image is display using a Sover composite strange artifacts crop up. The strangeness is occuring with the pixels near the edge of the image that have an alpha value less than 100. Pixels that have RGB color values within 3% of each other are displayed with radically different colors on the screen. Is this an example of a bug in the compositing mechanism or am I just confused? barry CUT HERE ============================================================= begin 644 image.tiff.Z M'YV039H`4`$``"M$_Q("2/AOH4*&#AM"G/BPHD2%]=J1`S!K3PX`L?+8`"F2 MY,B0)TNBY,AG!X!@D[H`&->L%H!\\]Q%W$GQHD^>%H'^["FT*-&C09$.3<IT MJ5.C3:$^52JU*M6K4;%.S<IUJU>K7<%^U2JVZ+QTW@#(TG/#I-N5<%7*33DR MUZ$E`+@)*W4S9UFR@,,&?MKOWCT`^]*=`X`O'#C$B@$4/CSXK^#+8S%;SLQY ML^?*H#6'[EPY7SUX:MD:M%/#02DX-420BD-C1"HZ-2B@#!"7KMM;@XH`R-:+ M4U^=HS^+CKKOW3L`\F[9+!<H#X!P8[(``"<%"8!O48QLWR)E)ITU`,CYJ0.@ M7!\[[=_'A^^>OOSZ\]O_L6[.$"``Z4SB"`#MA/()`.^XL@H`\<P2"X,.0OB@ M/+C8`D`]R!S#F#;:W!1..`#H@PXZDAFF'&G+H:CBB2PFYV**.VVS5VIMH3)' M#1ULD@8.351B1@YJ8'*&#EJ$\D8-*K!21PT-]/962;@0(IXVP(!R7(LP4M5/ M/?7<]$U:\=A"RW5G>`&`-D?P<*81+FG#)@#8%*&#`''J0$`U<BH0#1$Y1(`, MGQX8,T0.)@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\HUL``C)-O*,'"3?R!$`D1PEV\@(0`!0`4#)/G*1 M?"-?`%:RCVP0``(!@*M;`%S)`$`K(`,$`!L``'`FB\FM@`X0`#RY2_*-K".C K`%RRG3PE!P#E09W<)-O(!0$"```(RH0R`*``\`/_`0!P`D``AC*B7!`LRB.C ` end --
Control: cancel <1993Feb17.194333.18270@ictv.com> Newsgroups: comp.sys.next.programmer From: barry@ictv.com (Barry Lustig) Subject: cmsg cancel <1993Feb17.194333.18270@ictv.com> Message-ID: <1993Feb17.220801.20028@ictv.com> Sender: barry@ictv.com (Barry Lustig) Organization: ICTV, Santa Clara, CA (408) 562-9200 References: <1993Feb17.194333.18270@ictv.com> Date: Wed, 17 Feb 1993 22:08:01 GMT <1993Feb17.194333.18270@ictv.com> was cancelled from within trn. --
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: Problem with compositing NXImages in a view. Date: 17 Feb 1993 22:37:12 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Distribution: usa Message-ID: <1luemoINN9vq@uwm.edu> Originator: xepo@csd4.csd.uwm.edu HI all, Well, I am working on a project that requires the compositing of NXImages in a view, but can't seem to get the transparency to work the way it should. Why I do is execute a lockFocus, and then composite the images, then unlockfocus. What happens is that the ones that get composite after the others are above the ones before that, ie the bounding rect is completely filled and not transparent. I know that the alpha, or transpareny, is set right because if i composite them in the reverse order, it is the same problem except with the images that were on the bottom, being on top. I have also tried setting the background of each image to NX_COLORCLEAR, but the same problem still persists. Any suggestions would be great. Thanks, -- -Scott Violet (xepo@csd4.csd.uwm.edu)
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Using -traditional flag with cc?? Keywords: header compiler traditional Message-ID: <7696@ucsbcsl.ucsb.edu> Date: 17 Feb 93 22:33:56 GMT Sender: root@ucsbcsl.ucsb.edu Distribution: usa I cant quite recall if this came up back when 3.0 first came out, but is there some way to get the compiler to work when the -traditional flag is used? When I attempt this, I get errors of the form: /NextDeveloper/Headers/bsd/machine/label_t.h:11: #include expects "fname" or <fname> The special #include statements like: #include ARCH_INCLUDE(bsd/, label_t.h) used in some of the 3.0 headers are not compatible with the gnu cpp that NeXT themselves supply (and which is used when -traditional is specified). What good is the traditional preprocessor if there is no way to use it with the headers on the machine? Is there a way to get the preprocessor to avoid those files altogether? Note that this has nothing to do with the precompiled headers. Thanks. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: What should I substitute for waitpid()?? Message-ID: <7698@ucsbcsl.ucsb.edu> Date: 17 Feb 93 22:38:45 GMT Sender: root@ucsbcsl.ucsb.edu Followup-To: comp.sys.next.programmer Distribution: usa I am compiling a program that uses a standard C function waitpid(). For some reason, NeXT decided not to include this function in with the standard library of functions on their machine. Here is what a Sun man page says about waitpid(): ] waitpid() behaves identically to wait() if pid has a value ] of -1 and options has a value of zero. Otherwise, the ] behavior of waitpid() is modified by the values of pid and ] options as follows: ] ] pid specifies a set of child processes for which ] status is requested. waitpid() only returns the ] status of a child process from this set. ] ] + If pid is equal to -1, status is requested for any ] child process. In this repect, waitpid() is then ] equivalent to wait(). ] ] + If pid is greater than zero, it specifies the pro- ] cess ID of a single child process for which status is ] requested. ] ] + If pid is equal to zero, status is requested for any ] child process whose process group ID is equal to ] that of the calling process. ] ] + If pid is less than -1, status is requested for any ] child process whose process group ID is equal to the ] absolute value of pid. ] Anyway, what I need to know is: what am I going to use in place of this in this code I am compiling? What were the guys at NeXT thinking? Please, any information would be greatly appreciated! Thanks. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: tjhendry@queen.mcs.drexel.edu (Jonathan Hendry) Newsgroups: comp.sys.next.programmer Subject: Re: NS/Intel-printing Message-ID: <1993Feb17.210553.29820@netnews.noc.drexel.edu> Date: 17 Feb 93 21:05:53 GMT References: <1993Feb17.054123.2457@cs.umb.edu> Sender: news@netnews.noc.drexel.edu Organization: Drexel University, Dept. of Math. and Comp. Sci. droberts@ra.cs.umb.edu (Drake M. Roberts) writes: : I remember hearing that adding printing capability to a NeXT app : running on NeXT hardware printing to a NeXT printer took developers : about 60 seconds to do because of a Kit for printing. : : Anyone know if doing this will be as easy with NS/Intel? : Anyone know if the NeXT printer will be supported by NS/Intel or : maybe just what printers are supported by NS/Intel? : : Is there a list of Kits which won't be available in the developer's : version of NS/Intel? : : Drake Roberts : droberts@cs.umb.edu Well, since the print panel objects will be the same, then NS/Intel should be just as easy. Just wire the print menu cell to a view or window and set printPSCode: as the target. I doubt that the NeXT printer will be supported as a peripheral for PC's, but I'm sure you can choose it if it's connected to a NeXT over a Net. Just like now. -- Jonathan W. Hendry Drexel University College Of Info. Studies tjhendry@queen.mcs.drexel.edu "The experience of programming Windows vs. the experience of programming NeXTStep is like going to the dentist and having a root canal without anaesthetic vs. going to the dentist and having your gums cleaned w/some nitrous-oxide thrown in for the entertainment side of things." bbum@stone.co
Newsgroups: comp.sys.next.programmer From: strobel!till (Tillmann Strobel) Subject: sybase server wanted Message-ID: <1993Feb16.192329.719@strobel.cube.de> Sender: till@strobel.cube.de Organization: Tillmann Strobel,D-7064 Remshalden 333 Date: Tue, 16 Feb 1993 19:23:29 GMT hi folks, i am looking for a sybase server limited version (5 user) for NeXT computers. if somebody likes to sell his server, please contact me at... till@strobel.cube.de thanks till till strobel,alfred-klingele-street 27,W-7064 remshalden 3,germany, tel +49-7151-71387, fax +49-7151-71387
Newsgroups: comp.sys.next.programmer From: mark@xexos.com (Mark Chamberlain) Subject: Serial Port libraries/Objects/code wanted Message-ID: <1993Feb17.212002.5609@xexos.com> Sender: news@xexos.com Organization: Xexos, Ltd (London) Date: Wed, 17 Feb 1993 21:20:02 GMT Can anyone recommend/point me toward a set of serial-port drivers, objects, tools or just code? PD or commercial. -- Mark Chamberlain +44 71 237 4535 Xexos Ltd fax +44 71 231 0844 London mark@xexos.com
From: onodera@trl.ibm.co.jp (Tamiya Onodera) Newsgroups: comp.sys.next.programmer Subject: implementaton of malloc/free Message-ID: <ONODERA.93Feb18185835@libra.ws.trl.ibm.com> Date: 18 Feb 93 09:58:35 GMT Sender: onodera@trl.ibm.com (Tamiya Onodera) Distribution: comp Organization: IBM Reseach, Tokyo Research Laboratory I am not sure that this newsgroup is suitable for my question, but does anybody know about the implemetation of malloc()/free() which are supplied in Next. Any pointer would be appreciated. -- Tamiya Onodera IBM Research, Tokyo Research Laboratory mail: onodera@trl.ibm.com
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: So: DBTableView didChangeSelection: and awakeFromNib Message-ID: <1993Feb18.113244.10521@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Feb16.115549.25488@email.tuwien.ac.at> Date: Thu, 18 Feb 1993 11:32:44 GMT In article <1993Feb16.115549.25488@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: > > Ok, bad feeling has gone. Robert David Nicholson > <robert@steffi.demon.co.uk> just asked me: > "Can't you use 0 instead of 1 in afterDelay:". I was tempted to send him > the following piece of documentation found in ObjectAdditions.rtf for the > method perform:with:afterDelay:cancelPrevious: : > "However, if ms is 0, a timed entry is not registered and the message is > sent immediately, before this method returns". > But I decided to give it a chance and tried it for myself. > This sentence is WRONG. Calling perform:sel with:xxx afterDelay:0 > cancelPrevious:doesn't_matter does not call sel before returning, but only > when the main event loop is running again. > So substitute afterDelay:1 by afterDelay:0 in my previous posting and > everything should work. > I hope this was of any use. > Thats what I just received from scott@nic.gac.edu (Scott Hess): == Note that under NS2.0/2.1, 0 does indeed call the message before the method returns. This caused me no end of trouble with code that _couldn't_ be allowed to send the message inline (that's why I was calling the afterDelay: version, after all). So, under NS2.0/2.1, you should put a 1 in there - and it can't hurt under NS3.0, either, because 1 or 0, when you're talking about milliseconds, what's the difference? == I didn't try it under 2.1, but see no reason to doubt. The difference is again bad feeling. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: What should I substitute for waitpid()?? In-Reply-To: doug@foxtrot.ccmrc.ucsb.edu's message of 17 Feb 93 22:38:45 GMT To: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Message-ID: <CEDMAN.93Feb17212446@capitalist.princeton.edu> Followup-To: comp.sys.next.programmer Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <7698@ucsbcsl.ucsb.edu> Distribution: usa Date: Thu, 18 Feb 1993 01:24:46 GMT In article <7698@ucsbcsl.ucsb.edu> doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) writes: I am compiling a program that uses a standard C function waitpid(). For some reason, NeXT decided not to include this function in with the standard library of functions on their machine. Here is what a Sun man page says about waitpid(): First of all, waitpid() is _not_ a 'standard C function'. If anything, it is a standard UN*X function, but not even that is true unless you believe that A*&*==UN*X. It is not part of what is probably the most widely used and adapted UN*X version, that is to say BSD 4.3. This also is the OS which runs on the NeXT boxes we all love so much. All this being said, you probably can usually replace a waitpid() call with a wait4() call (which NeXT does provide). You can always write code to emulate waitpid() using wait4() in the rarer cases where a straight replacement won't do. wait4() has a man page, but if you need more answers, feel free to email me. Carl Edman
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Registering file types with Workspace Message-ID: <1993Feb17.191218.573@afs.com> Sender: michael@afs.com Date: Wed, 17 Feb 1993 19:12:18 GMT How does one make an app register a file extension with the Workspace, so that the app appears on the Workspace Tools Inspector? Thanx, Michael P.S. Isn't this a FAQ? Didn't somebody volunteer to do the FAQ for this group a while back? ;-) -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
From: ian@ohm.york.ac.uk (I Stephenson) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: NeXT screws up List object in 3.o!!!! Keywords: screwup, stupid, aaaarrrrrrrggggghhhhhh, borken code Message-ID: <1993Feb18.115416.8627@ohm.york.ac.uk> Date: 18 Feb 93 11:54:16 GMT Sender: ian@ohm.york.ac.uk (I Stephenson) Organization: Electronics Department, University of York, UK AAAAAARRRRRRRRGGGGGHHHHHHHH!!!!!! In NS2 the List object's makeObjectsPerform: method "sends an aSelector message to each object in the List, starting with the first and continuing through the list to the last object, and returns self." In NS3 the List object's makeObjectsPerform: method: "Sends an aSelector message to each object in the List in reverse order (starting with the last object and continuing backwards through the List to the first object), and returns self." This is a gratuitous change which serves no purpose what so ever, is not documented in the release notes, and BREAKS LOTS OF EXISTING CODE! We relied on the order of evaluation (BECAUSE THE DOCS SAID WE COULD!!) to draw icons from back to front, but now they draw backwards!(We just happened to have the old documentation printed out so we could check it - others could have greater problems spotting the change). I am really pissed off about this. Either way would be fine, but to change it is just plain STUPID!! Ian Stephenson (+ Rog Peppe rog@ohm.york.ac.uk) University of York
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Reading info from an __ICON segment Message-ID: <1993Feb17.203142.816@afs.com> Sender: michael@afs.com Date: Wed, 17 Feb 1993 20:31:42 GMT How do I read information from an __ICON segment? Are there standard functions to do this? Is the file format documented? Anybody do this already? The reason I ask is because Workspace uses information in the __ICON section of an app's executable to search for services and content inspectors, and I'd like to do something similar to that with my own app - basically adding my own information to an __ICON segment in another app or bundle and having my app parse for it. Any help will be greatly appreciated. Thanx, Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: hansj@dhhalden.no (HANS JORGEN JOHANSEN) Subject: Browser Message-ID: <hansj.2.730043865@dhhalden.no> Sender: news@dhhalden.no (Network News User) Organization: Ostfold College Date: Thu, 18 Feb 1993 13:57:45 GMT Could someone help me out?? I need to create a browser. Preferrably a browser like the one used in GatorFTP to navigate through the subjects. email: hansj@nextstat2.dhhalden.no
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Sound Functions under NS/intel Message-ID: <1m064gINNacu@shelley.u.washington.edu> Date: 18 Feb 93 14:23:12 GMT Article-I.D.: shelley.1m064gINNacu Distribution: world Organization: Abstract Software Can anyone tell me if the simultaneous playing of sounds will be available under NS/intel? Probably not, but that's ok. -- Sean T. Lamont | "Don't oppress me, It's zeno@genetics.washington.edu | 'computer of color!' " lamont@abstractsoft.com |_______________________________ Abstract Software
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) Subject: Re: NeXT screws up List object in 3.o!!!! In-Reply-To: ian@ohm.york.ac.uk's message of 18 Feb 93 11:54:16 GMT Message-ID: <PFKEB.93Feb18063944@kaon.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <1993Feb18.115416.8627@ohm.york.ac.uk> Date: Thu, 18 Feb 1993 14:39:48 GMT >>>>> On 18 Feb 93 11:54:16 GMT, ian@ohm.york.ac.uk (I Stephenson) said: > AAAAAARRRRRRRRGGGGGHHHHHHHH!!!!!! > In NS2 the List object's makeObjectsPerform: method > "sends an aSelector message to each object in the List, > starting with the first and continuing through the list > to the last object, and returns self." > In NS3 the List object's makeObjectsPerform: method: > "Sends an aSelector message to each object in the List > in reverse order (starting with the last object and > continuing backwards through the List to the first > object), and returns self." > This is a gratuitous change which serves no purpose what so ever, is not > documented in the release notes, and BREAKS LOTS OF EXISTING CODE! > We relied on the order of evaluation (BECAUSE THE DOCS SAID WE COULD!!) to > draw icons from back to front, but now they draw backwards!(We just happened > to have the old documentation printed out so we could check it - others could > have greater problems spotting the change). I've never checked it in NS2, but I discovered that the List object's makeObjectsPerform method when from (numElem-1) to 0 back in the summer of '89 with NS 0.9. The NS3 documentation explicitly states that, while the NS0.9 and NS1.0 documentation left it a bit ambigous. -- Paul F. Kunz Paul_Kunz@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software From: cheewai@uxmail.ust.hk (Yeung Chee Wai) Subject: Prolog Interpreter/Compiler for NeXT Message-ID: <1993Feb18.124314.23337@uxmail.ust.hk> Sender: usenet@uxmail.ust.hk (usenet account) Organization: Hong Kong University of Science and Technology Date: Thu, 18 Feb 1993 12:43:14 GMT Hi I am in URGENT need of finding a public domain/shareware Prolog Interpreter/Compiler for NeXTs. Is there such a beast available anywhere in the world? Please reply by email. Thanks in advance A very very desperate: Chee Wai -- ----------------------------------------------------------------------------- _--_|\ Yeung Chee Wai Technician / \ Department of Computer Science Room: 4001A \_.--._* Hong Kong University of Science and Phone: +85 2 358 7021 v Technology Fax: +85 2 358 1477 Clear Water Bay, Kowloon, Hong Kong Email: cheewai@uxmail.ust.hk ^^^^^^^^ This is Australia, Not HK :-) "COBOL is just a bug with syntax."
Newsgroups: comp.sys.next.programmer From: barger@york.cs.wisc.edu (Victor Barger) Subject: How to use Host: in ProjectBuilder? Message-ID: <1993Feb18.150430.26416@cs.wisc.edu> Sender: news@cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. Date: Thu, 18 Feb 1993 15:04:30 GMT Does anyone know how to use the Host: field in ProjectBuilder? When I specify a remote host and try to build the project, ProjectBuilder sits for awhile and then comes back with "Build failed --- Couldn't connect to host". Other network operations work without problem. Any information would be appreciated. Please reply to barger@cs.wisc.edu. Thanks, Victor Barger
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: NeXT screws up List object in 3.o!!!! Message-ID: <93049.100817JTRQC@CUNYVM.BITNET> From: <JTRQC@CUNYVM.BITNET> Date: Thursday, 18 Feb 1993 10:08:17 EST References: <1993Feb18.115416.8627@ohm.york.ac.uk> Organization: City University of New York/ University Computer Center Just subclass List and override that method to suit your needs.... No problem
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: uphra@terra.oscs.montana.edu (Recep Avci) Subject: NeXTFrameMaker/SlowResponse? Message-ID: <1993Feb18.161542.20739@coe.montana.edu> Sender: usenet@coe.montana.edu (USENET News System) Organization: Montana State University Date: Thu, 18 Feb 1993 16:15:42 GMT NeXTFrameMaker/DelayedResponse? I have a question for those of you using FrameMaker: Are you having any trouble with Frame Maker's response to your key strokes? That is when the "Borders" in the "view" manu is turned on, do you see a slow response to your key strokes, but it goes away when you turn the "Borders" off? I am having the annoying experience with Frame Maker when the "Borders" is turned on. The experience is very similar to the one we have when we log on a remote site. If you remeber how difficult to write anything and how frustrating it gets. Well, it is the same experience I am having with the Framemaker. I called the company and they suggested to turn the "Borders" off. I like to hear an alternative solution as you can imagine there are many advantages of having the "Borders" on. Thank you in advance. Recep Avci e-mail: uphra@terra.oscs.montana.edu
From: andrewd@tamsun.tamu.edu (Andrew T Duchowski) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Recipe Database Date: 18 Feb 1993 12:08:04 -0600 Organization: Texas A&M University, College Station, TX Distribution: usa Message-ID: <1m0ja4INNs41@tamsun.tamu.edu> Hi, I was just wondering: NS 3.0 comes with DBKit as I understand. I haven't had time to try tinkering with this, but I was wondering if anybody has. In particular, my wife asked me whether there was some software that could help her organize her recipes. Particularly, she wanted something that would handle this scenario: She has just returned from grocery shopping nad has: 16 carrots, 2 head lettuce, 10 potatoes 2 lb chicken breasts She wants to sit down at the terminal and ask the query: "find 7 recipes that will utilize the above ingredients" The return is: 1. chicken stir fry with carrots (uses up 4 carrots, 1/2 lb chicken) with side of potatoes (uses up 2 potatoes) 2. salad with carrots (uses up 1 head lettuce, 5 carrots) ... The point is that the program would return 7 recipes that effectively use up all the ingredients. There may also be some knowledge in the database that uses the fact that lettuce will rot faster than carrots, so those are used up first. Alternitively, the program ought to handle the reverse scenario where she selects the recipes (by name) and the program returns the shopping list. Another simple function would be to simply search the database for all recipes that contain spinach in the ingredients list. Any ideas, suggestions on how I can do this on the NeXT? If there is anybody teaching a programming course using NeXTs, perhaps this would be a good project. Please email to andrewd@cs.tamu.edu. -- -- Andrew Duchowski | -- -- Texas A&M University | This page intentionally blank -- -- andrewd@cs.tamu.edu (non-NeXT mail) | -- -- andrewd@visual2.cs.tamu.edu (NeXT mail) | --
From: Christopher_Lane@Med.Stanford.EDU Newsgroups: comp.sys.next.programmer Subject: Re: Reading info from an __ICON segment Date: 18 Feb 1993 18:48:45 GMT Organization: Stanford University Message-ID: <1m0lmdINNj3q@morrow.stanford.edu> References: <1993Feb17.203142.816@afs.com> In article <1993Feb17.203142.816@afs.com> Michael_Pizolato@afs.com writes: > How do I read information from an __ICON segment? Are there standard > functions to do this? Is the file format documented? Anybody do this > already? Although NeXT supplies some special case routines, eg. read the icon out of a segment in the running application's binary, they don't seem to supply general high level routines for mucking about in Mach-O segments. On the CS.ORST.EDU and SONATA.CC.PURDUE.EDU NeXT archive sites, possibly still in the submissions directory, is a BackSpaceView I wrote called IconMosaicView that has a method that you can use as an example. As a BackSpaceView, it searches the system for images to display, including looking inside application binaries, and has logic for skipping uninteresting segments and/or sections. The Mach-O searching code is basically a stripped down, cleaned up version of the fsectbyname utility I wrote in the days before 'segedit' was available. - Christopher
From: alex@laos (Alex D. Nghiem) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.hardware Subject: disabling power off Message-ID: <1993Feb17.214009.17335@pencom.com> Date: 17 Feb 93 21:40:09 GMT Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software Hello there: I seem to recall that there was a default which prevents non-root users from turning off the computer. Does anybody know what this dwrite value is? Please e-mail me directly and thanks in advance. Best regards, Alex Duong Nghiem Phone: (512) 795-2000 Pencom Software Fax: (512) 343-9650 9050 Capital of TX Hwy N. Mail: alex@pencom.com Suite 300 Mail: co-Xist_support@pencom.com Austin, TX 78759 Mail: co-Xist_info@pencom.com USA **************************** * NeXTMail gladly accepted * ****************************
From: sowa@amdew.llnl.gov (Erik C. Sowa) Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware Subject: cancel <SOWA.93Feb18120247@amdew.llnl.gov> Message-ID: <SOWA.93Feb18120414@amdew.llnl.gov> Date: 18 Feb 93 19:04:14 GMT Control: cancel <SOWA.93Feb18120247@amdew.llnl.gov> Sender: usenet@lll-winken.LLNL.GOV Followup-To: comp.sys.next.programmer Organization: LLNL Chemistry and Materials Science
From: sowa@amdew.llnl.gov (Erik C. Sowa) Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Are DSP sounddriver functions dropped from NS/Intel? Message-ID: <SOWA.93Feb18120516@amdew.llnl.gov> Date: 18 Feb 93 19:05:16 GMT References: <1lt1fg$m24@agate.berkeley.edu> Sender: usenet@lll-winken.LLNL.GOV Followup-To: comp.sys.next.programmer Organization: LLNL Chemistry and Materials Science In-reply-to: izumi@pinoko.berkeley.edu's message of 17 Feb 93 09:45:20 GMT Folluwup-To: comp.sys.next.advocacy >>>>> "Izumi" == Izumi Ohzawa <izumi@pinoko.berkeley.edu> writes: Izumi> Are sounddriver functions related to DSP used to receive Izumi> sound data from peripherals such as Digital Ears dropped Izumi> from NS/Intel (or its beta)? Izumi> I just have to prepare myself to do a little more Izumi> rewrites of the section of code that communicates with the DSP Izumi> if I am on my own entirely. This does not answer your question directly, but you may find it interesting. At last night's bang meeting, Steve himself commented on the DSP: "The DSP is history. It was a mistake." He suggested that once you get your data in and out of the DSP, any speed advantage of using the DSP is lost. Building a higher-speed path to the DSP loses in comparison with simply using a faster CPU. I believe Jobs' comments are true if you are using the DSP to invert matrices, etc., but music developers/users must be rather unhappy. -- erik sowa (sowa@amdew.llnl.gov)
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Radio button question Message-ID: <1993Feb18.122635.2158@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Feb16.213104.10158@pellns.alleg.edu> Date: Thu, 18 Feb 93 12:26:35 GMT In article <1993Feb16.213104.10158@pellns.alleg.edu> frisinv@alleg.edu (Vincent Frisina) writes: > > I want to have a set of radio buttons call a procedure which contains a > switch command where the integer value used is the tag of the selected > button. How do I do this? > -- > Vincent Frisina > Email: frisinv@alleg.edu When you action method is invoked ask the Matrix (sender) send the "selectedCell" method to get the cell. Then send that the "tag" method to get te tag. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: alabbe@pioneer.willamette.edu (Andre Labbe) Newsgroups: comp.sys.next.programmer Subject: Help With Edit Message-ID: <C2o7GH.9s6@willamette.edu> Date: 19 Feb 93 00:45:52 GMT Article-I.D.: willamet.C2o7GH.9s6 Sender: usenet@willamette.edu Distribution: usa Organization: Willamette University, Salem OR I am writing a program in the Interface Builder. Using pipes I can start Edit but I don't know how to get it to do commands, ie. Open, Save, and Quit for example. Or if any one knows the character equivalent to the command key.
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: A new approach to X compatibility Message-ID: <1993Feb18.184806.27599@cs.ucla.edu> Keywords: x Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Thu, 18 Feb 93 18:48:06 GMT Hi, Is it impossible to do the following (since no one has done it yet)? The idea is based on the UNIX subprocess concept, only treating X-window calls as the subprocess: Write a program that receives X-window calls and uses the appkit to put the remote app on the NeXT screen using the NeXTSTEP interface (kind of like how a Motif program appears on a Sun under OpenLook, only trickier since you do not use the actual X-window calls but "translate" them into Obj-C methods that call the appkit). In the opposite direction, can you write a program so you run, for example, digital Webster with an -XHost flag (rather than -NXHost) and the appkit method calls are "translated into X-window calls and sent to the X-based machine for display under a Motif or OpenLook interface? If this is possible, then it will make people shut up about not being able to display NeXT apps on an X terminal or vice verse. If it is impossible, then I'll go home and cry. - Eskandar P.S. If what I'm asking is even marginally feasible, would it be more efficient to have a separate X-windowing package alongside NeXTSTEP or to have this "filter" then translates X class into appkit methods? A response by e-mail would be appreciated!
From: wiml@stein2.u.washington.edu (William Lewis) Newsgroups: comp.lang.postscript,comp.sys.next.programmer Subject: Reducing line length of PS file Date: 19 Feb 1993 01:50:24 GMT Organization: University of Washington Message-ID: <1m1ed0INN354@shelley.u.washington.edu> Summary: How do I shorten NeXT postscript lines? Keywords: postscript NeXT postprocessing kibo Has anyone out in netland written a filter that will take PostScript in and produce PostScript that will do exactly the same thing, but with *short lines*? We have a NeXT and a campus printer network, but unfortunately some of the machines that the file has to pass through to get to the printer have stupid arbitrary line length limitations (such as "it is not OK to have a single line that is 400,000 characters long.") When the NeXT generates PostScript of bitmapped images, it tends to generate a very, very long string containing the hex data for the image. Of course, this long string doesn't contain any CRs, and for an image of any real size, this exceeds the line limitation. So, is there a filter program or something I can stick into the system to fold the lines of the file but keep the meaning the same? Such a program would probably have to have at least a rudimentary knowledge of PS syntax to know how and where to fold lines. It might be able to get by only knowing how to split long string literals, since those seem to be the problem in all the PS files I've found with overlong lines. Post or e-mail; if I receive any useful information by email I'll summarize it to the net...
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss From: peter@ferranti.com (peter da silva) Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <id.XLPX.7D5@ferranti.com> Organization: Xenix Support, FICC References: <1993Feb12.115721.2784@alex.com> <id.7KNX.QI6@ferranti.com> <1lsbg0$fpd@agate.berkeley.edu> Date: Thu, 18 Feb 1993 20:37:50 GMT In article <1lsbg0$fpd@agate.berkeley.edu> jbuck@forney.berkeley.edu (Joe Buck) writes: > Well, it's because there are two ends to the interface. Standardizing the > API helps programmers write applications; standardizing the look and feel > helps users quickly use programs effectively. Yes, but if the API is standardized the look-n-feel will automatically follow. You just put the shared library for the look-n-feel YOU want in /usr/lib, and *voila* everything that uses the standard API uses it. > On > the other hand, if a user is used to left-click selecting an object, and > someone writes a program that makes left-click delete an object, I'm afraid > "RTFM" isn't going to serve as a very good defense. A properly designed API wouldn't *let* the program know whether the user had clicked the left button, the right button, or a foot pedal... it would provide a select message that indicated what object the user had selected, or call the program's select callback, or whatever. No reason this couldn't be done under X, other than politics and marketing differentiation. Lord knows there are real problems to be resolved in X, but this *should* have become a non-issue years ago. -- Peter da Silva `-_-' Ferranti International Controls Corporation 'U` Sugar Land, TX 77487-5012 USA +1 713 274 5180 "Zure otsoa besarkatu al duzu gaur?"
From: klein@small.caltech.edu (Michael Klein) Newsgroups: comp.sys.next.programmer Subject: linking to clock_value() Date: 19 Feb 1993 09:08:58 GMT Organization: California Institute of Technology, Pasadena Message-ID: <1m283aINNgva@gap.caltech.edu> I am trying to get at the clock on Next. I found the function: clock_value() in: Loadable Kernal servers 10 Kernel Support Functions with the following code fragment: (further on down) QUESTION: Where do I link to to get this? I get an error of: /bin/ld: Undefined symbols: _clock_value -- -- Mike Klein klein@pooh.caltech.edu (NeXT mail ok) CODE FRAGMENT: #import <kernserv/clock_timer.h> unsigned int ms_time; struct timeval tv_time; ns_time_t now; now = clock_value(System); printf("Time since boot: %d:%d ns == ", *((int*) &now), *((int *) &now + 1)); /* Since the value printed above is fairly useless, convert it */ ms_time = now / 1000000ULL; /* convert to millisecs */ printf("%u ms == ", ms_time); ns_time_to_timeval(now, &tv_time); printf("%u seconds and %d microseconds.\n", tv_time.tv_sec, tv_time.tv_usec); /* A typical printout: Time since boot: 8942:-283072128 ns == 38409609 ms == 38409 seconds and 609456 microseconds. */ -- -- Mike Klein
Newsgroups: comp.sys.next.programmer From: yiannis@prologos.nrl.navy.mil (John Michopoulos) Subject: URGEND: UHDiagramKit Palettes Message-ID: <C2p609.Kwy@ra.nrl.navy.mil> Sender: usenet@ra.nrl.navy.mil Organization: Naval Research Lab, Washington, DC Date: Fri, 19 Feb 1993 13:12:08 GMT Last October John Glover had indicated to me that he would send or place on the archives the UHDiagramKit. Well, I have not heard from him since them and could not find anything other than the DiagramTester.app on the archives ! However, we are now running desperate! We need to have a tool kit like this ASAP ! I tried to send e-mail to john a couple of days ago and he did not respond. I assume he is on a trip, so I had to ask the Net. Can anybody out there point out where can I find these palettes ? We would greatly appreciate any pointers Anxiously waiting, -- john m. ------------------------------------------------------------------------ |Dr.John Michopoulos (yanni)| Tel: (202) 767-2165 or -2189 | | Research Scientist | Fax: (202) 404-7176 | | Naval Research Laboratory | e-mail: yiannis@prologos.nrl.navy.mil | | Code 6380 | michopoulos@ccf3.nrl.navy.mil | | 4555 Overlook Avenue, S.W.| michopoulos@anvil.nrl.navy.mil | | Washington DC 20375-5000 | send NeXTmail to prologos.nrl.navy.mil | ------------------------------------------------------------------------ | A glimpse of a dream: Let's build rational amplifiers to move facts | | swiftly and massively so instead of crafstmen we become artists of | | research and discovery in both the physical and the conceptual worlds.| | Dreams are facts in the conceptual world anyway. | ------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: se16@titus.nextlab.cs.qub.ac.uk (Paul Donnelly) Subject: A 'Directory' class anyone? Message-ID: <1993Feb19.133727.14263@ousrvr.oulu.fi> Keywords: next,class,directory,oop Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Fri, 19 Feb 1993 13:37:27 GMT Has anyone created a 'directory' class I could use? I know I could use std functions, but I would prefer to use an abstracted class. Functionalities: Return list of files in a dir which match a given "file mask". Ability to list files sorted by various keys. Thanks in advance, Paul
From: aozer@next.com (Ali Ozer) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: NeXT screws up List object in 3.o!!!! Message-ID: <6836@rosie.NeXT.COM> Date: 19 Feb 93 16:47:13 GMT References: <1993Feb18.115416.8627@ohm.york.ac.uk> Sender: news@NeXT.COM Followup-To: comp.lang.objective-c Organization: Next Computer, Inc. In article <1993Feb18.115416.8627@ohm.york.ac.uk> ian@ohm.york.ac.uk writes: >AAAAAARRRRRRRRGGGGGHHHHHHHH!!!!!! >In NS2 the List object's makeObjectsPerform: method > "sends an aSelector message to each object in the List, > starting with the first and continuing through the list > to the last object, and returns self." >In NS3 the List object's makeObjectsPerform: method: > "Sends an aSelector message to each object in the List > in reverse order (starting with the last object and > continuing backwards through the List to the first > object), and returns self." >This is a gratuitous change which serves no purpose what so ever, is not >documented in the release notes, and BREAKS LOTS OF EXISTING CODE! The List object behaves the same way under both 2.0 and 3.0, and is documented as behaving the same way under both releases. Do you mean something has changed since 1.0? (I don't have my 1.0 docs handy, sorry...) Or is there some other change (for instance, whoever is making the list is now generating it with the elements in reverse order)? Ali, Ali_Ozer@NeXT.com
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: Reading info from an __ICON segment Message-ID: <6837@rosie.NeXT.COM> Date: 19 Feb 93 16:52:21 GMT References: <1993Feb17.203142.816@afs.com> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1993Feb17.203142.816@afs.com> Michael_Pizolato@afs.com writes: >How do I read information from an __ICON segment? Are there standard >functions to do this? Is the file format documented? Anybody do this >already? ... >The reason I ask is because Workspace uses information in the __ICON >section of an app's executable to search for services and content >inspectors, and I'd like to do something similar to that with my own >app - basically adding my own information to an __ICON segment in >another app or bundle and having my app parse for it. Any help will >be greatly appreciated. Yes, there are ways to do this sort of thing. But under 3.0 app wrappers are the recommended way to include extra stuff with your app. Under 3.0 the only things that go into the __ICON segment are app and document icons (which, in the same app, are accessible through NXImage, and in other apps through Workspace). Other things (such as services info, etc) all go into the app wrappers. But to answer your question, the function NXGetStreamOnSection() will do what you want; it's declared in streams/streams.h. Ali, Ali_Ozer@NeXT.com
Newsgroups: comp.sys.next.programmer From: guy@infotec.ch (Guy Roberts) Subject: How can I create transparent windows ? Message-ID: <1993Feb17.164455.19637@infotec.ch> Summary: How ? Keywords: alpha Window Organization: Infotec S.A. Distribution: comp.sys.next.programmer Date: Wed, 17 Feb 1993 16:44:55 GMT Does anybody know what I should do to an instance of Window to make it see through ? I have tried setting the Windows background to a color containing some alpha but a layer of something makes the window opaque. Free antartic glacier to the first correct respondent. Guy Roberts, Infotec, Geneva, Near Europe. guy@infotec.ch -- Guy Roberts (guy@infotec.ch)Infotec S.A. phone: 022 738 44 36 5, Place Cornavin, fax: 022 738 29 12 Geneve, Switzerland.
From: gonzo@cs.tu-berlin.de (S. F. Ruehauf) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,de.comp.sys.next Subject: talk, rwho, printer questions Date: 19 Feb 1993 19:00:38 GMT Organization: Technical University of Berlin, Germany Message-ID: <1m3aom$he7@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Keywords: talk, setuid, printer, pagecount Hello admins I've got a few questions 1 - how do you know how many copies your NeXT laser printer printed? when is the toner gone? the good old 'pagecount' PS variable doesn't work. this is always NIL. Any hint? 2- 'rusers' is a sytemV routine. rwho is bsd. Why doesn't NeXT, right out of the box, support rwho? : sfr@dasburo 73 (~) > rwho /usr/spool/rwho: No such file or directory 3- why is it impossible to 'talk'? how do I set up talk (hostname in /etc/hosts, setuid for ../Terminal) what else? thanx in advance Stephan -- Stephan Fruhauf gonzo@opal.cs.tu-berlin.de what is X400? s=gonzo ou=opal p=tu-berlin a=dbp c=de
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: How do you get an automatic powerup? Message-ID: <1993Feb19.190935.14125@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Fri, 19 Feb 93 19:09:35 GMT I would like to know how to the the computer to power up at a specified time, much like preferences panel can do it. What's the call? -Marcos J. Polanco -shiva@vega.stanford.edu
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT screws up List object in 3.o!!!! Message-ID: <6838@rosie.NeXT.COM> Date: 19 Feb 93 19:06:06 GMT References: <1993Feb18.115416.8627@ohm.york.ac.uk> Sender: news@NeXT.COM ian@ohm.york.ac.uk (I Stephenson) writes: > AAAAAARRRRRRRRGGGGGHHHHHHHH!!!!!! > (claims that List's perform order changed between 2.0 & 3.0) I don't think it changed, but that point is probably moot... The back-to-front order is done so that if the performed method results in removing the object from the list, the message still goes to every object. Nevertheless, this isn't always what you want, so I have sometimes extended the List implementation: @implementation List (samsAdditions) - performInOrder:(SEL)aSelector { int i, count = numElements; for (i=0; i<count; i++) [dataPtr[i] perform: aSelector]; return self; } cheers, -sam ps I think categories are a very cool feature. -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
From: matthews@oberon.umd.edu (Mike Matthews) Newsgroups: comp.sys.next.programmer Subject: setpwent/endpwent/setpwfile Message-ID: <18579@umd5.umd.edu> Date: 19 Feb 93 20:51:58 GMT Sender: news@umd5.umd.edu Organization: University of Maryland, College Park, MD Can anyone explain to me how to really use the setpwent(), getpwent(), and setpwfile() calls? I'm trying to check passwords (a la COPS 1.04) on a NetInfo domain basis (only checking domains that the machine that pass.chk is running on is a master) by dumping out each domain that's master'd and running pass.chk (well, pass_diff.chk) on that domain's dump. I currently do: endpwent(); setpwfile(the file) setpwent(); while ....... { check the sucka } but it always seems to go to NetInfo and get all available domains. What am I doing wrong? Please let me know by Email. Thanks. ------ Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted) ------ "GOTO statement considered harmful" - E. W. Dijkstra, title to a letter in CACM 11, 3 (March, 1968)
From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Newsgroups: comp.sys.next.programmer Subject: Re: A 'Directory' class anyone? Message-ID: <1993Feb19.194058.5296@dvorak.amd.com> Date: 19 Feb 93 19:40:58 GMT References: <1993Feb19.133727.14263@ousrvr.oulu.fi> Sender: usenet@dvorak.amd.com (Usenet News) Distribution: usa Organization: Advanced Micro Devices, Inc.; Austin, Texas In article <1993Feb19.133727.14263@ousrvr.oulu.fi> se16@titus.nextlab.cs.qub.ac.uk (Paul Donnelly) writes: >>Has anyone created a 'directory' class I could use? I know I could use std >>functions, but I would prefer to use an abstracted class. >> >>Functionalities: >> >>Return list of files in a dir which match a given "file mask". >> >>Ability to list files sorted by various keys. >> >> >> >> Thanks in advance, >> Paul Hmmm... Maybe if it were generailzed a bit more. Something like IOAccessor UnixIOAcessor UnixDiskfileAccessor (Smalltalkers ? Look familiar ?) -- Ronald Pomeroy Quote of the year: "The NeXT has gone virtual" Advanced Micro Devices -- Marshall F. Gilula, M.D CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: no termio.h - what do I do now? Date: 19 Feb 1993 23:30:13 GMT Organization: The University of Maryland, College Park Message-ID: <1m3qi5INNco2@ni.umd.edu> References: <1993Feb17.012926.10512@news.acns.nwu.edu> In article <1993Feb17.012926.10512@news.acns.nwu.edu> jland@nwu.edu writes: >I am trying to compile the Wizcom link program for Sharp Wizard machines. >(It is available from math.merkeley.edu as /pub/Wizard/Wizcom) > >In the wizcom.c file, it gives me the following message when I try to compile >it: >wizcom.c:62:header file 'termio.h' not found > >Line 62 says: >#include <termio.h> > >Is there a NeXT-substitute for this? Not really. The program appears to be written for System-V style ttys, while the NeXT uses UNIX Version 7 style ttys. You'll have to convert the logic of the program to use the different ioctl's. See 'man 4 tty' for some of the ugly details. >I've looked all over archie-land, and nothing seems to work right. Finding the header file will do you no good, as the underlying kernel uses a different model of how you control a tty's state. louie
Newsgroups: comp.dcom.modems,comp.sys.next.misc,comp.sys.next.programmer From: dave@hp1.holl.com (David Vrona) Subject: Re: ZyXEL voicemail for NeXT??? Message-ID: <1993Feb19.185017.19068@hp1.holl.com> Date: Fri, 19 Feb 1993 18:50:17 GMT References: <1993Feb12.110732.25853@alf.uib.no> Organization: Hollister Incorporated, Libertyville, IL In article <1993Feb12.110732.25853@alf.uib.no> edmtl@alf.uib.no (Thor Legvold) writes: >I remember reading a posting (from Germany, I think) about a (beta?) >voicemail system for NeXTSTEP. I beleive it was shareware. > >I would like to get a copy of this program, but haven't found it in >any of the usual NeXT archives (orst/sonata), and since I don't >remember the name I can't use Archie (well, I _could_, but the Finnish >Archie server is down, and I think the file is too new to show up). > FlexFax is on sgi.com. Has anybody ported it to SVR3/4 yet? -- David Vrona N9QNZ +1 708 680 2829 (voice) Hollister Incorporated +1 708 680 2123 (fax) 2000 Hollister Drive Internet: dave@hp1.holl.com Libertyville, IL 60048-3781 UUCP: {well connected}!ddsw1!hp1!dave Opinions expressed are my own and not those of Hollister Incorporated.
Newsgroups: comp.sys.next.programmer From: giddings@whitewater.chem.wisc.edu (Michael Giddings) Subject: Displaying real-time bitmaps in a window Message-ID: <1993Feb20.030227.25185@pslu1.psl.wisc.edu> Keywords: image display buffer Sender: news@pslu1.psl.wisc.edu (USENET News System) Organization: Physical Sciences Lab, UW-Madison Date: Sat, 20 Feb 93 03:02:27 GMT We are developing an application that collects data from a CCD camera and displays it on the screen in 0.5 second intervals. The code performs the following: data is collected and put into an NXBitmapImageRep object and then is told to draw itself in the view. The view is sent a Display message, and then the window is then sent a message to flush it's buffer. The strange thing is that the camera gets about 5-6 frames ahead of what is displayed on the screen, even though collection of the next frame of data from the CCD must wait for the Display method and the window buffer flush before collecting the next image. All the images eventually get displayed (none seem to get skipped), it just lags quite a bit. My hypothesis is that the window server sends the bitmap to the DPS server and then says to the program "I'm done - go ahead", and the DPS server starts lagging behind in actually drawing the bitmaps on the screen. If anyone else has theories as to why this is happening, or how to fix it so collection and display are synchronized, that would be appreciated. -- Michael Giddings | DNA sequencing technologies giddings@whitewater.chem.wisc.edu | Artificial Intelligence giddings@cs.wisc.edu | Sciences NeXT User Group founder |---------\-----------/|\------------/---------|
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: How can I create transparent windows ? Message-ID: <1993Feb18.011751.9268@prim> Keywords: alpha Window Organization: Primitive Software Ltd. References: <1993Feb17.164455.19637@infotec.ch> Distribution: comp.sys.next.programmer Date: Thu, 18 Feb 1993 01:17:51 GMT In article <1993Feb17.164455.19637@infotec.ch> guy@infotec.ch (Guy Roberts) writes: >Does anybody know what I should do to an instance >of Window to make it see through ? >I have tried setting the Windows background to a >color containing some alpha but a layer of something >makes the window opaque. > >Free antartic glacier to the first correct respondent. > Yum! I asked this question here about a year ago and the answer then was that you can't have transparent windows. Strange but true. Apparantly it would require major changes to the Window Server. (Imagine if you could stretch windows, twist and bend and spin windows, reach right through with your virtual hand... um sorry, wrong group) Dave
Newsgroups: comp.sys.next.programmer From: gast@next.ben-fh.tuwien.ac.at (Gast) Subject: Question on NeXT's Mach ports and sound devices Message-ID: <1993Feb20.114910.18074@email.tuwien.ac.at> Keywords: NeXT's Mach ports and sound devices Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Sat, 20 Feb 1993 11:49:10 GMT QUESTIONS ABOUT NeXT's MACH PORTS and SOUND DEVICES I am now concerned with the sound output and I find that some fundamental things are not clear with the NeXT's Mach ports to me. 1) How can I get a port for example the DAC's sound out device port by the netname_look_up()? I do not know what is the "netname_name_t" name of that. What is a device port abstraction? 2) I wanted to send buffers to the SoundOut from the DSP or from the host but neither was succesful. Then I tried it with the SNDStartPlaying(). It worked, but only when I set channelCount = 1 in the SNDSoundStruct. By setting channelCount = 2 it came back with KERN_SUCCESS but I did not hear anything. Then I tried it with channelCount = 1 in a loop to read data in a stream from the DSP and then sent them with the SNDStartPlaying(). After one or two cycles the program exited at reading from or writing to the DSP because of "invalid port(-102)". So my second two questions are : (a) Why did SNDStartPlaying() not work with channelCount=2 though it came back with a KERN_SUCCESS? (b) Why did SNDStartPlaying() not work together with snddriver_stream_start_reading() or snddriver_dsp_write()? 3)I tried streaming to the SoundOut from the DSP and then from the host as well. Again, the function came back with KERN_SUCCESS, but I did not hear anything. I do not think that my test data was wrong (1kHz sinusouid), because I heard them with SNDStartPlaying(), channelCount = 1. I made the following inits, when I tried to send test data from the host to SoundOut: SNDAcquire(/*SND_ACCESS_DSP |*/ SND_ACCESS_OUT, 0, 0, 0, NULL_NEGOTIATION_FUN,0, &dev_port, &owner_port); (I used that because I had problems with netname_look_up() ) .. k_err = snddriver_stream_setup(dev_port, owner_port, SNDDRIVER_STREAM_TO_SNDOUT_44, test_count, 2, low_water, high_water, &protocol, &write_port); .. k_err = snddriver_stream_start_writing(write_port, (void *)test_data, test_size, WRITE_TAG, 0,0,0,0,0,0,0,0, reply_port); What was wrong? But why came the function back with a KERN_SUCCESS? Shall I get the device_port with netname_look_up(), and than the owner_port with snddriver_set_sndout_owner_port()? What is in fact a device_port? When I want to use the DSP and the DAC in parallel, do I need two extra device_ports or can I use one and or the access rights in SNDAcquire()? Thank you -Peter ################################################## #Peter Meszaros # Contact address: # #Vienna , AUSTRIA # Lucas.Filz@user.univie.ac.at# #(I am from HUNGARY)# # ##################################################
From: cew6@po.CWRU.Edu (Carlin E. Wiegner) Newsgroups: comp.sys.next.programmer Subject: New Programmer would like some guidance... Date: 20 Feb 1993 15:18:55 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1m5i4vINNj5k@usenet.INS.CWRU.Edu> Hi, I'm new to the NeXT and to object oreintated programming but I can program quite well in ANSI C. I'd like to know what books I should get and what sort of stuff I should play around with to get a good Idea of how to stat programming for this wonderful machine. Looking at the demo dstuff I assume is a must. thanks for all opnions. email replies please...... Thanx.... CW
Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <UfVIiy_00WB35Ec0gh@andrew.cmu.edu> Date: Fri, 19 Feb 1993 16:06:06 -0500 From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Subject: Programming with Serial Ports I need to write a program that sends characters from one NeXT to another over the serial ports. I'm not sure how to begin. I used to use a Sparcstation where I had to modify /etc/ttyio in order to attach a terminal to its serial port. But I have never written code that has to access the serial device. How is it done? Can anyone point me in the right direction? Thanks in Advance! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | Free | This message represents | | or jm7e+@andrew.cmu.edu | Software | my opinions, alone. | |FAST Project, CMU-GSIA |------------| Ya Gotta Love It. | | B.S. Mech Eng. CMU,1992|Certificate Mixology,1992|'83 Yamaha 650 Twin | ----------------------------------------------------------------------- This year marks 200 years of the Bill Of Rights.
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: What is the scope of a DPS definition? Message-ID: <1993Feb20.213447.16259@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Distribution: na Date: Sat, 20 Feb 1993 21:34:47 GMT What is the scope of a DPS definition? The application, the window, or the view? Thanks, Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer From: gary@nshade.uah.ualberta.ca (Gary Ritchie) Subject: Re: implementaton of malloc/free Message-ID: <1993Feb20.213357.14372@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <ONODERA.93Feb18185835@libra.ws.trl.ibm.com> Distribution: comp Date: Sat, 20 Feb 1993 21:33:57 GMT In article <ONODERA.93Feb18185835@libra.ws.trl.ibm.com> onodera@trl.ibm.co.jp (Tamiya Onodera) writes: > > I am not sure that this newsgroup is suitable for my question, but > does anybody know about the implemetation of malloc()/free() which are > supplied in Next. Any pointer would be appreciated. > What sort of information are you looking for? You can get the NeXT-Mach source code from NeXT (very expensive), but I'm not sure that it includes the source for the standard libraries. I would hazard a guess that malloc/free etc. use the underlying Mach vm_allocate(), vm_deallocate(),... kernel functions. Take a look in Digital Librarian for more info on this stuff. --- Gary Ritchie gary@uaneuro.uah.ualberta.ca
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: How to tell color at a point in an NXImage instance Message-ID: <6848@rosie.NeXT.COM> Date: 20 Feb 93 22:32:48 GMT References: <1lp5veINN9j4@uwm.edu> Sender: news@NeXT.COM Organization: Next Computer, Inc. In article <1lp5veINN9j4@uwm.edu> Scott R Violet writes: > I am wondering if there is a way to tell what the color, or >alpha is a point in an NXImage instance that has been read in. Yes, use the following 3.0 function: NXColor NXReadPixel(const NXPoint *p); Ali, Ali_Ozer@NeXT.com
Newsgroups: comp.sys.next.programmer From: moran@alpine.lance.colostate.edu (Matthew Moran) Subject: Compiling SRC Modula-3 Sender: news@yuma.ACNS.ColoState.EDU (News Account) Message-ID: <Feb21.003556.56162@yuma.ACNS.ColoState.EDU> Date: Sun, 21 Feb 1993 00:35:56 GMT Organization: Colorado State University, Fort Collins, CO 80523 Has anyone, anywhere ever compiled SRC Modula-3 from gatekeeper on their NeXT under 3.0? Or for that matter 2.x? When I tried to compile it under 3.0, the compiler (m3) compiled. It had a number of warnings, but no errors. Then when I tried to install the libraries, which uses the compiler, I got a "pointer to nil" error and it exits. Could anyone relate their experience or offer any ideas? Thanks in advance, Matt. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Matthew Moran Colorado State University NeXT Campus Consultant Fort Collins, CO moran@longs.lance.colostate.edu 303-491-3795
Newsgroups: comp.sys.next.programmer From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) Subject: Re: NeXT screws up List object in 3.o!!!! In-Reply-To: pfkeb@kaon.SLAC.Stanford.EDU's message of Thu, 18 Feb 1993 14:39:48 GMT Message-ID: <PFKEB.93Feb20193204@kaon.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <1993Feb18.115416.8627@ohm.york.ac.uk> <PFKEB.93Feb18063944@kaon.SLAC.Stanford.EDU> Date: Sun, 21 Feb 1993 03:32:06 GMT >>>>> On Thu, 18 Feb 1993 14:39:48 GMT, pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) said: > I've never checked it in NS2, but I discovered that the List object's > makeObjectsPerform method when from (numElem-1) to 0 back in the > summer of '89 with NS 0.9. The NS3 documentation explicitly states > that, while the NS0.9 and NS1.0 documentation left it a bit ambigous. Correction to my own posting: the NS1.0 documentation was not ambigous, only the NS0.9 documentation was. -- Paul F. Kunz Paul_Kunz@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
From: tacchi@ccu.umanitoba.ca (Mark G. Tacchi) Newsgroups: comp.sys.next.programmer Subject: Re: Registering file types with Workspace Message-ID: <C2s2oL.JsE@ccu.umanitoba.ca> Date: 21 Feb 93 02:53:08 GMT References: <1993Feb17.191218.573@afs.com> Sender: news@ccu.umanitoba.ca Organization: University of Manitoba, Winnipeg, Canada In <1993Feb17.191218.573@afs.com> Michael_Pizolato@afs.com (Michael Pizolato) writes: >How does one make an app register a file extension with the Workspace, >so that the app appears on the Workspace Tools Inspector? There are three things that you can try. If you place the application in your doc, it should recognize it immediately. Putting it in your ~/Apps will take effect after you log out and back in. The same holds true for /LocalApps, but you'll need root access. -Mark -- Mark G. Tacchi tacchi@next01.cc.umanitoba.ca Unix Support Group (NeXT Mail Welcome) University of Manitoba Computer Services "My opinions are my own, and do not necessarily reflect those of my employer."
Newsgroups: comp.sys.next.programmer From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) Subject: Help with Help Message-ID: <PFKEB.93Feb20194558@kaon.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center Date: Sun, 21 Feb 1993 03:46:00 GMT I'm adding built-in help to an application that contains dynamically loaded bundles. First problem: how to get ProjectBuilder to add default Help directory and files to the project. The "Add Help" menu cell is grey when selecting the bundle directory. Bug? First problem workaround was to manually create the Help directory and in the method that loads the bundle, use the addSupplement:toPath: method, etc. The loaded bundle adds a view to an inspector choosen by popuplist a la IB. I connect buttons of this view to the Help files. Now when I run the application, it doesn't work. The supplement help files get loaded correctly, but Control-Alternate-Click on the buttons can't find the help file. It seems to go back to the main bundle help directory to try to find the file. Kind of makes sense, but is there a better way? -- Paul F. Kunz Paul_Kunz@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
Newsgroups: alt.dcom.telecom,comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer,comp.dcom.modems From: thierman@nordegg.ucs.ualberta.ca (Chris Thierman) Subject: Classmate Model 10 caller id box, and NeXT serial port deficiencies Message-ID: <1993Feb21.070043.8669@kakwa.ucs.ualberta.ca> Keywords: callerid,NeXT,serial,RS423 Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada Date: Sun, 21 Feb 1993 07:00:43 GMT Has anyone ever managed to get the Classmate Model 10 Caller ID computer Interface to ever work with a NeXT computer. I have one of these boxes, it works grate with my Amiga, and a couple of machines at work. However, it does not work with the NeXT. Now before people start accusing me of not have the correct cables etc. I'll let you know that the cables I 'm using on the NeXT support FULL hardware flowcontrol and pass all the correct wires. In fact I use these cables everyday to do SLIP and various other things. And I've metered them out, so they check out ok there. As a matter of fact while looking into this problem I borrowed a HP protocol Analyzer from work. And what I found was missing from the next that the other computers had, was that the NeXT does not leave DCE to MARK when say kermit or getty open connections to a serial device. In fact basically it sets DTE to MARK, and when using hardware flowcontrol it sets RTS to SPACE, and of course it brought up DTR to SPACE, but unlike all the other computers I've used the next did not bring up DCE to MARK. It just left it at neutral, which I believe is causing my problem. So here are my questions: 1) Is this part of the RS423 standard? 2) Has anyone else ran into this before (BTW, it's the same on every NeXT I've tried.) 3) Has or can anyone come up with a reasonable work around.... You're help would be much appreciated.... Please send responses to thierman@nordegg.ucs.ualberta.ca if I get a lot interest I'll post the results to the above groups... Many thanks in Advance... -Ch ris Thierman he NeXT support FULL hardware flowcontrol and pass all the correct wires. In fact I use these cables everyday to do SLIP and various other things. And I've metered them out, so they check out ok there. As a matter of fact while looking into this problem I borrowed a HP protocol Analyzer from work. And what I found was missing from the next that the other computers had, was that the NeXT does not leave DCE to MARK when say kermit or getty open connections to a serial device. In fact basically it sets DTE to MARK, and when using hardware flowcontrol it sets RTS to SPACE, and of course it brought up DTR to SPACE, but unlike all the other computers I've used the next did not bring up DCE to MARK. It just left it at neutral, which I believe is causing my problem. So here are my questions: 1) Is this part of the RS423 standard? 2) Has anyone else ran into this before (BTW, it's the same on every NeXT I've tried.) 3) Has or can anyone come up with a reasonable work around.... You're help would be much appreciated.... Please send responses to thierman@nordegg.ucs.ualberta.ca if I get a lot interest I'll post the results to the above groups... Many thanks in Advance... -Ch
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Serial Port libraries/Objects/code wanted Message-ID: <1993Feb20.134332.3905@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Feb17.212002.5609@xexos.com> Date: Sat, 20 Feb 93 13:43:32 GMT In article <1993Feb17.212002.5609@xexos.com> mark@xexos.com (Mark Chamberlain) writes: > Can anyone recommend/point me toward a set of serial-port drivers, objects, > tools or just code? PD or commercial. > > -- > Mark Chamberlain +44 71 237 4535 > Xexos Ltd fax +44 71 231 0844 > London mark@xexos.com Check BenaTong. They have a line of various serial port interface objects from simple to fairly complex with full modem support. They can be reached at: BenaTong 1057 Racine Ave. Columbus, Ohio 43204 (614) 276-7859 (614) 276-7859 (fax will auto-switch) Hours are Monday-Friday 9am to 5pm EST. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Displaying real-time bitmaps in a window Message-ID: <1993Feb20.182944.13617@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Feb20.030227.25185@pslu1.psl.wisc.edu> Date: Sat, 20 Feb 93 18:29:44 GMT In article <1993Feb20.030227.25185@pslu1.psl.wisc.edu> giddings@whitewater.chem.wisc.edu (Michael Giddings) writes: > We are developing an application that collects data from a CCD camera and > displays it on the screen in 0.5 second intervals. The code performs the > following: data is collected and put into an NXBitmapImageRep object and > then is told to draw itself in the view. The view is sent a Display > message, and then the window is then sent a message to flush it's buffer. > > The strange thing is that the camera gets about 5-6 frames ahead of what > is displayed on the screen, even though collection of the next frame of > data from the CCD must wait for the Display method and the window buffer > flush before collecting the next image. All the images eventually get > displayed (none seem to get skipped), it just lags quite a bit. > > My hypothesis is that the window server sends the bitmap to the DPS server > and then says to the program "I'm done - go ahead", and the DPS server > starts lagging behind in actually drawing the bitmaps on the screen. > > If anyone else has theories as to why this is happening, or how to fix it > so collection and display are synchronized, that would be appreciated. After your display code, put a NXPing() to be sure that you are synchronized with the DPS server. > -- > Michael Giddings | DNA sequencing technologies > giddings@whitewater.chem.wisc.edu | Artificial Intelligence > giddings@cs.wisc.edu | Sciences NeXT User Group founder > |---------\-----------/|\------------/---------| -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: Displaying real-time bitmaps in a window Message-ID: <1993Feb21.184150.1268@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1993Feb20.182944.13617@fnbc.com> Date: Sun, 21 Feb 1993 18:41:50 GMT In article <1993Feb20.182944.13617@fnbc.com> drew@fnbc.com (Drew Davidson) writes: > In article <1993Feb20.030227.25185@pslu1.psl.wisc.edu> > giddings@whitewater.chem.wisc.edu (Michael Giddings) writes: > > We are developing an application that collects data from a CCD camera and > > displays it on the screen in 0.5 second intervals. The code performs the > > following: data is collected and put into an NXBitmapImageRep object and > > then is told to draw itself in the view. The view is sent a Display > > message, and then the window is then sent a message to flush it's buffer. > > > > The strange thing is that the camera gets about 5-6 frames ahead of what > > is displayed on the screen, even though collection of the next frame of > > data from the CCD must wait for the Display method and the window buffer > > flush before collecting the next image. All the images eventually get > > displayed (none seem to get skipped), it just lags quite a bit. > > > > My hypothesis is that the window server sends the bitmap to the DPS server > > and then says to the program "I'm done - go ahead", and the DPS server > > starts lagging behind in actually drawing the bitmaps on the screen. > > > > If anyone else has theories as to why this is happening, or how to fix it > > so collection and display are synchronized, that would be appreciated. > > After your display code, put a NXPing() to be sure that you are synchronized > with the DPS server. If you want the maximum throughput, treat the environment like a BackSpace view: - run the animation/frame display in a tight modal loop triggered by a DPSTimedEntry - the modal loop should have the intelligence to drop events through to the main event loop, as needed. - make the window a retained window so that imaging doesn't have to go through an off screen buffer.... if anyone wants code, i wrote an extremely simple example of animating multiple frame tiffs ala Xox... thanks to sam for providing such cool multi-frame tiffs to play with.... b.bum -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: knelson@milli.cs.umn.edu (Kenneth Nelson) Subject: Please help: SCSI timeout Message-ID: <C2tpp2.16I@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota, Minneapolis, CSci dept. Date: Mon, 22 Feb 1993 00:07:34 GMT Netters, I am trying to backup a NeXT Dimension running NeXTSTEP 2.1 to a SCSI DAT Archive Python Model 4230 using /usr/etc/dump. Approximately 1/2 through the backup, dump crapped out with a tape write error. Further examination of the console revealed: reselect timeout - target 5 st: cmd = 0xa sr_io_status = 5H Which (to me) means dump issued a write command to the device and it timed out. This has happened a couple times and is quite annoying. I have the following questions: 1. Should the time out value be set higher? Browsing /usr/include/nextdev/scsireg.h indicates this could be done using ioctl. If so, any advice on how to do it? 2. Is it reasonable for a SCSI peripheral to be unable to keep up? 3. Has anyone else had this problem? 4. Should I use a different backup app.? The DAT is the only external SCSI device. The NeXT is fully booted, running NeXTSTEP in multi-user mode. However, the root is the only user, the machine is stand-alone, and dump is the only application executing, expect for BackSpace. Please help. Thanks in advance, Ken
Newsgroups: comp.sys.next.programmer From: orion@proxima.cc.colorado.edu (Orion Edward Poplawski) Subject: Indexing Kit (database) questions (IXPostingList,Sorting) Message-ID: <C2tu2I.M42@csn.org> Keywords: indexing kit, sorting, database Sender: news@csn.org (news) Organization: Colorado SuperNet, Inc. Date: Mon, 22 Feb 1993 01:42:18 GMT Hi all, I have been playing around with the indexing kit to write a simple database, and have come up with the following questions. 1. IXPostingList - I am returning the results of a query to the calling object via an IXPostingList. However, it is unclear to me how memory allocation and deallocation are handled. My basic question is if I send a free message to the IXPostingList, how much is freed? Do I need to send free to all the record objects that I accessed? 2. Sorting on multiple keys. In the database, the primary key is not unique. (i.e. There are people with the same name, but different jobs, say). I would like to make sure the data returned is sorted by keys of decending importance. So that if I asked for all the Ed Jones, the list of Ed Jones returned would be sorted in order of employee number. How can I get this behavior? Please e-mail. Will post a summary. P.S. If other folks out there are using the indexing kit for data base stuff and would like to share their code with me, I would be very interested. -- Orion Poplawski Physics Dept. Paraprofessional The Colorado College orion@proxima.cc.colorado.edu (NeXT mail OK) (719)389-6750
Newsgroups: comp.sys.next.programmer From: sengwil@mail.auburn.edu (William F. Seng) Subject: Re: Please help: SCSI timeout Message-ID: <1993Feb22.041309.6574@news.duc.auburn.edu> Sender: usenet@news.duc.auburn.edu (News Account) Organization: Auburn University References: <C2tpp2.16I@news.cis.umn.edu> Date: Mon, 22 Feb 1993 04:13:09 GMT I had a similar SCSI timeout problem with a scanner of mine. The problem always went away when I took all else off the SCSI line; in other words, I made the scsi line shorter. Rumor has it that the NeXT will only support about 10 feet of SCSI cable before it needs a repeater (that's what my dealer told me, anyway). Of course, your message says the DAT is the only SCSI peripheral on the line. So, the upshot of this is that I guess I could use an answer to this, too. - Bill
From: kraft@dfki.uni-kl.de (Boris Kraft) Newsgroups: comp.sys.next.programmer Subject: Soft-hyphenation, NeXT and the RTF-standard Date: 21 Feb 1993 14:10:01 +0100 Organization: DFKI, University of Kaiserslautern, Germany Message-ID: <kraft.730299869@dfki.uni-kl.de> Keywords: RTF command- textobject Hi all you folks! I am working on a spellchecking/translation software and would like to provide automatic hyphenation of words. RTF states that backslash minus is the soft-hyphen but NeXT doesn't support that. You know the feature from WriteNow. If I put a command minus in my RTF-text and send it via services to another app (like WriteNow), the soft-hyphenation marks have been transformed to hard hyphenation marks (minus), which doesn't help the user at all. Does anybody have any hints how to solve this? Thanks Boris
From: kraft@dfki.uni-kl.de (Boris Kraft) Newsgroups: comp.sys.next.programmer Subject: Wanted: fortran compiler Date: 21 Feb 1993 14:45:10 +0100 Organization: DFKI, University of Kaiserslautern, Germany Message-ID: <kraft.730302196@dfki.uni-kl.de> Hi! A friend of mine needs a fortran compiler for his cube I heard there is a gnu version out there, but I can't find it. Are there any other free fortran compilers somewhere and does somebody have a port for NeXT? All answers appreciated. Thanks Boris.
From: kraft@dfki.uni-kl.de (Boris Kraft) Newsgroups: comp.sys.next.programmer Subject: enable service menu entry without text selection Date: 21 Feb 1993 17:59:29 +0100 Organization: DFKI, University of Kaiserslautern, Germany Message-ID: <kraft.730313916@dfki.uni-kl.de> Hi! I have a programm (the service provider) that is able to handle RTF and ascii text. It provides certain services for other programms. The entries in the service menu are only selectable if the user has selected some text. Now one of the services should be selectable in the service menu, no matter if the user has selected text or not. (It is used to alter settings for the services provided) I've seen this thing done in other programms, but I couldn't find out how to do it. If anybody has a solution, I'd appreciate it. Thanks Boris
From: "John Michael Ashley" <jashley@garbo.cs.indiana.edu> Newsgroups: comp.sys.next.programmer Subject: trouble with textfieldcells in a matrix Date: 21 Feb 1993 13:11:30 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m7v22$vj@steffi.demon.co.uk> Hi. I've got a problem selecting cells in a matrix. The matrix contains TextFieldCells, built from a prototype that looks like this: cell = [[TextFieldCell allocFromZone:[self zone]] initTextCell: NULL]; [cell setEditable:NO]; [cell setBordered:YES]; [cell setAlignment:NX_LEFT]; The matrix is set up as follows: [matrix setPrototype:cell]; [matrix setMode:NX_RADIOMODE]; [matrix setTarget:self]; [matrix setAction:@selector(cellSelected:)]; There's a little more to setting up the matrix than that, but I believe this is what is relevant to the problem. Now, when the application is running, I can hold the mouse button down, and cells will highlight and unhighlight as I pass through them, but I cannot select them except in the following way: if I drag the mouse outside of the bounds of the matrix and then let the mouse button up, the last cell selected before leaving the bounds of the matrix gets selected. Strange! [By "selected", I mean the cellSelected: message gets sent.] I've gotten this to work using a prototype that was an instance of a ButtonCell, but I need to use a TextFieldCell. I'm stuck, and would appreciate any help you can offer. Thanks, and happy new year. Mike
From: iwelch@agsm.ucla.edu (Ivo Welch) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Date: 21 Feb 1993 14:42:52 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84dc$205@steffi.demon.co.uk> References: <PFKEB.92Dec30221114@kaon.SLAC.Stanford.EDU> <1992Dec31.154024.18427@fnbc.com> And, let's not forget that some of us need to debug programs, too. But NeXT gdb does not work with gcc 2.x.x, and NeXT has not forwarded its own changes to gdb to the FSF in their standard format; therefore, the FSF's new gdb version does not compile on NeXTs. So: either you can use NeXT's historic version of gcc with non-ANSI C++ syntax and no libg++, or you can use FSF version of gcc without NeXT Objective-C extensions and without a functional gdb. A pathetic state of affairs. /ivo welch
From: mcastle@cs.umr.edu (Michael R Castle) Newsgroups: comp.sys.next.programmer Subject: ARC on NeXT Date: 21 Feb 1993 14:42:58 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84di$20p@steffi.demon.co.uk> Running 2.x, gcc 1.36. I'm trying to compile the unix version of the archiving program 'arc', but not having any luck. I can't seem to find any recent version of the arc package (that is, since NeXT came out). When I finally get it to build (lotsa hard coded extern rindex()), it keeps getting a bus error. Before I start delving more into it, I'm wondering if anyone else has managed to get it to build successfully? If so, could you please send me patches, or perhaps the binary? I've looked on some archive sites, and I can find the binary for lharc, but not for arc. Any pointers suggestions would be appreciated. regards, mrc
From: "John Michael Ashley" <jashley@garbo.cs.indiana.edu> Newsgroups: comp.sys.next.programmer Subject: trouble with textfieldcells in a matrix Date: 21 Feb 1993 14:43:01 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84dl$216@steffi.demon.co.uk> Hi. I've got a problem selecting cells in a matrix. The matrix contains TextFieldCells, built from a prototype that looks like this: cell = [[TextFieldCell allocFromZone:[self zone]] initTextCell: NULL]; [cell setEditable:NO]; [cell setBordered:YES]; [cell setAlignment:NX_LEFT]; The matrix is set up as follows: [matrix setPrototype:cell]; [matrix setMode:NX_RADIOMODE]; [matrix setTarget:self]; [matrix setAction:@selector(cellSelected:)]; There's a little more to setting up the matrix than that, but I believe this is what is relevant to the problem. Now, when the application is running, I can hold the mouse button down, and cells will highlight and unhighlight as I pass through them, but I cannot select them except in the following way: if I drag the mouse outside of the bounds of the matrix and then let the mouse button up, the last cell selected before leaving the bounds of the matrix gets selected. Strange! [By "selected", I mean the cellSelected: message gets sent.] I've gotten this to work using a prototype that was an instance of a ButtonCell, but I need to use a TextFieldCell. I'm stuck, and would appreciate any help you can offer. Thanks, and happy new year. Mike
From: iwelch@agsm.ucla.edu (Ivo Welch) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Date: 21 Feb 1993 14:44:28 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gc$225@steffi.demon.co.uk> References: <PFKEB.92Dec30221114@kaon.SLAC.Stanford.EDU> <1992Dec31.154024.18427@fnbc.com> And, let's not forget that some of us need to debug programs, too. But NeXT gdb does not work with gcc 2.x.x, and NeXT has not forwarded its own changes to gdb to the FSF in their standard format; therefore, the FSF's new gdb version does not compile on NeXTs. So: either you can use NeXT's historic version of gcc with non-ANSI C++ syntax and no libg++, or you can use FSF version of gcc without NeXT Objective-C extensions and without a functional gdb. A pathetic state of affairs. /ivo welch
From: aking@BBN.COM (Allen King) Newsgroups: comp.sys.next.programmer Subject: help with setting up fax and DNS Date: 21 Feb 1993 14:44:30 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84ge$22f@steffi.demon.co.uk> Well, I'm trying a few things with my new Zyxel modem, and have been unable to find answers to the following in the manual. 1. How do you set up /dev/cua as a fax modem that can be chosen by, for instance FaxReader.app? I was hoping to be able to do that manually without buying NXFax, but perhaps that is the answer. 2. Other times I run SLIP on the line. Currently the only host that is known (as a telnet/ftp host) is my SLIP0REMOTE address. How does one go about configuring a system to route everything that isn't local out SLIP0? I'd also like to setup to use the DNS? It would sure be nice if I could connect to the appropriate IP nameing servers and have direct internet access from home.
From: mcastle@cs.umr.edu (Michael R Castle) Newsgroups: comp.sys.next.programmer Subject: ARC on NeXT Date: 21 Feb 1993 14:44:32 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gg$22p@steffi.demon.co.uk> Running 2.x, gcc 1.36. I'm trying to compile the unix version of the archiving program 'arc', but not having any luck. I can't seem to find any recent version of the arc package (that is, since NeXT came out). When I finally get it to build (lotsa hard coded extern rindex()), it keeps getting a bus error. Before I start delving more into it, I'm wondering if anyone else has managed to get it to build successfully? If so, could you please send me patches, or perhaps the binary? I've looked on some archive sites, and I can find the binary for lharc, but not for arc. Any pointers suggestions would be appreciated. regards, mrc
From: "John Michael Ashley" <jashley@garbo.cs.indiana.edu> Newsgroups: comp.sys.next.programmer Subject: trouble with textfieldcells in a matrix Date: 21 Feb 1993 14:44:34 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gi$233@steffi.demon.co.uk> Hi. I've got a problem selecting cells in a matrix. The matrix contains TextFieldCells, built from a prototype that looks like this: cell = [[TextFieldCell allocFromZone:[self zone]] initTextCell: NULL]; [cell setEditable:NO]; [cell setBordered:YES]; [cell setAlignment:NX_LEFT]; The matrix is set up as follows: [matrix setPrototype:cell]; [matrix setMode:NX_RADIOMODE]; [matrix setTarget:self]; [matrix setAction:@selector(cellSelected:)]; There's a little more to setting up the matrix than that, but I believe this is what is relevant to the problem. Now, when the application is running, I can hold the mouse button down, and cells will highlight and unhighlight as I pass through them, but I cannot select them except in the following way: if I drag the mouse outside of the bounds of the matrix and then let the mouse button up, the last cell selected before leaving the bounds of the matrix gets selected. Strange! [By "selected", I mean the cellSelected: message gets sent.] I've gotten this to work using a prototype that was an instance of a ButtonCell, but I need to use a TextFieldCell. I'm stuck, and would appreciate any help you can offer. Thanks, and happy new year. Mike
From: mcastle@cs.umr.edu (Michael R Castle) Newsgroups: comp.sys.next.programmer Subject: Re: ARC on NeXT Date: 21 Feb 1993 14:44:37 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gl$23e@steffi.demon.co.uk> References: <1993Jan2.145752.2698@umr.edu> I've found ARC for the NeXT already compiled! I'd like to thank scott hess <shess@ssesco.com> for pointing me to the package Opener (on many ftp sites) that not only has ARC, but ZIP/UNZIP, LHA, and a few other useful packages. I'd also like to thank Michal Jaegermann (ntomczak@vega.math.ualberta.ca) for offering to mail his binaries to me. anyone else who responds, thank you! happy new year! mrc
From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: locking focus Date: 21 Feb 1993 14:44:40 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84go$23p@steffi.demon.co.uk> References: <1992Dec23.162156.1556@netcom.com> <78766@hydra.gatech.EDU> Keywords: lockfocus, flushWindow In article <78766@hydra.gatech.EDU> Ray Spalding writes: >Or, you could do something like the following: > BOOL isfv = [self isFocusView]; > if (!isfv) [self lockFocus]; > // drawing code goes here > if (!isfv) { > [self unlockFocus]; > [[self window] flushWindow]; > } It's more efficient to do the flushWindow before you unlockFocus; otherwise flushWindow has to temporarily focus on the window containing the view. Of course there isn't a noticable hit unless you are doing this in a time critical situation. Ali, Ali_Ozer@NeXT.com
From: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress) Newsgroups: comp.sys.next.programmer Subject: Mail attachments from X, Mac systems? Date: 21 Feb 1993 14:44:42 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gq$243@steffi.demon.co.uk> Does anyone know, how I would receive mail attachments that are sent by, say, X windows mail tools, Mac Eudora, Quickmail, etc? -- Gottfried Mayer-Kress Center for Complex Systems Research, Department of Physics 3025 Beckman Institute, 405 N Mathews, Urbana, Il 61801 gmk@pegasos.ccsr.uiuc.edu (NeXT-Mail) gmk@goshawk.lanl.gov, gmk@santafe.edu (217)-244-5877 (voice/fax modem),x8371(fax), x1994 (msg)
From: alberto@parsec.mixcom.com (Manuel Alberto Ricart) Newsgroups: comp.sys.next.programmer Subject: Setting the UNIX Preferences from a service Date: 21 Feb 1993 14:44:45 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gt$24d@steffi.demon.co.uk> I usually find myself bringing in the UNIX preferences to toggle the UNIX Expert flag. I grow ever so tired of doing something that I should be able to toggle in an easier form. Doing it from a service is a way. The problem is finding the undocumented method to call... Is there a way of messaging the Workspace to be in UNIX Expert mode? (Is there a way of finding out what messages the Listener responds to?)
From: cameron@symcom.math.uiuc.edu (Cameron Smith) Newsgroups: comp.sys.next.programmer Subject: Can't get unsit-15.shar to compile under 2.1 on '030 Date: 21 Feb 1993 14:44:47 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84gv$24o@steffi.demon.co.uk> I'm trying to compile a program called "unsit" under NeXTStep 2.1 on an '030 cube. This is a program that allows you to un-stuff Macintosh StuffIt archives (from StuffIt version 1.5.1 and before) under UNIX. I have a NeXT binary that was compiled long long ago (under NS1.0!) that still works, but the source was lost in a disk crash. I grabbed what I *think* is the same source code ("unsit-15.shar") from the net (an "archie" search turned up several dozen sites that had the same file, and nothing newer, so I think this is the current version, even though it's dated nearly 3 years ago now). I tried to re-compile it but the resulting executable reports checksum errors on StuffIt archives that I *know* to be valid -- archives that the old binary un-stuffs without problems. Have I run afoul of some arcane bug in the compiler or a library? This program has been in circulation for years now; I can't believe that I'm the first person to try to use it on a NeXT. I would be deeply grateful if someone who has had experience with this program (successful or otherwise) would get in touch with me. I'd appreciate email -- the volume of traffic in these groups is huge -- but I'll also try to monitor the groups for a few days. If someone wants source or executables or a sample archive that illustrates the problem, let me know; I'll be happy to send them. Thanks in advance for any assistance. --Cameron Smith cameron@symcom.math.uiuc.edu
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Date: 21 Feb 1993 14:44:50 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84h2$252@steffi.demon.co.uk> References: <1993Jan1.110309.5899@mic.ucla.edu> In article <1993Jan1.110309.5899@mic.ucla.edu> iwelch@agsm.ucla.edu (Ivo Welch) writes: > And, let's not forget that some of us need to debug programs, too. But NeXT > gdb does not work with gcc 2.x.x, and NeXT has not forwarded its own changes > to gdb to the FSF in their standard format; therefore, the FSF's new gdb > version does not compile on NeXTs. > > So: either you can use NeXT's historic version of gcc with non-ANSI C++ syntax > and no libg++, or you can use FSF version of gcc without NeXT Objective-C > extensions and without a functional gdb. > > A pathetic state of affairs. > > /ivo welch > Indeed! I know some people here are Objective-C fanatics :) -- including many people at NeXT. And yes, I do like Objective-C for GUI stuff. But it seriously s**** sh** when it comes to other things. BTW, does anyone out there know why NXPoin, NXSize etc., etc. were not implemented as objects? In C++ it would have been easy (both to program, use, and subclass), and if would have been EFFICIENT! Ah... It felt good to get that out of my system :) --bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
From: pwm@csis.dit.csiro.au (Peter Milne) Newsgroups: comp.sys.next.programmer Subject: Getting Renderman examples involving RiLightSource to work? Date: 21 Feb 1993 14:44:53 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84h5$25d@steffi.demon.co.uk> Following advice from other recent posters I managed to get the simple Renderman example on page 18 of "The Renderman Companion" to work. Unfortunately thought, I haven't been able to get the next example on page 20 to work. This example involves a RiLightSource call. When I execute this example I get the following warning msg: Warning in context RMContext00001 in command RiLightSource : nullpointer: 'light' == 0 and nothing involving the specification of the lightsource gets written into the .rib file. Now I've tried it with and without the following RiOption RiOption(RI_ARCHIVE, "outputversion", &v31, RI_NULL); The release notes for 3DKit say not to use this form of RiOption because the version number doesn't get correctly written to the .rib file and that instead you should use RiComment("\nversion 3.1"); Trouble is RiComment doesn't seem to be in Media_s or NeXT_s and isn't commented anywhere that I could find. The release notes also say that this form of RiOption causes RiLightSource to generate invalid sequence numbers and that it should be avoided. Has anyone succeeded in getting the page 20 example to work? Is so how did you do it? Cheers, Peter (milne@csis.dit.csiro.au) Subject: NextMail on MS-DOS
From: cameron@symcom.math.uiuc.edu (Cameron Smith) Newsgroups: comp.sys.next.programmer Subject: Re: Can't get unsit-15.shar to compile under 2.1 on '030 Date: 21 Feb 1993 14:44:59 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hb$266@steffi.demon.co.uk> References: <C09xLx.G48@news.cso.uiuc.edu> Thanks to all who have responded to my request for help with "unsit". Please *don't* respond any more to that request as the problem has been found and fixed. (But the fix itself baffles me, so if you want to think about a *new* puzzle, read on...) * So far everyone who has responded has told me to get the version of "unsit" that's part of "Opener". Actually, the version in "Opener" is almost identical to the version that's all over the net (according to archie) under the name "unsit-15.shar". The only change is that the Opener version doesn't try to dialog with the user before over-writing a file. This has absolutely no effect on the problem I've been having. In fact, I pulled out the unsit executable from the Opener distribution and verified that, when asked to un-Stuff the particular archive I've been working with, it dies in exactly the same way as the version I compiled myself. * The problem has been absolutely, unmistakably traced to a pointer running off the end of an array. At one point in "unsit.c" an array is dimensioned with a size of 512, with the comment that "/* 512 should be big enough */". At another place, a pointer is initialized to the head of the array and repeatedly incremented (via ++) to loop through the array. It's supposed to stop when it sees a sentinel value, but there is *NO* provision in the code to keep it from running off the end of the array if the sentinel isn't among the first 512 elements. By sheer cosmic coincidence, the very first StuffIt archive I tried to un-stuff after re-compiling unsit under 2.1 contained a member whose Huffman tree had more than 512 elements. BLAM! Tracing confirms that the bad output begins as soon as the (nonexistent) 513th element is assigned (because a crucial variable that immediately follows the array in memory is clobbered). * I have "fixed" the problem by inserting an explicit test, and arranging for the program to die informatively when the overrun occurs. I have "verified" the fix by first exercising my trap, then re-compiling with a larger array size; the problem goes away and and the archive extracts just fine once the array is made big enough to hold the decoding tree. (A *real* fix would involve redesigning the Huffman decoder to allocate memory dynamically; I do *not* plan to do this, since the static version has apparently worked nearly 100% of the time for nearly 100% of the users for three years now.) * As soon as I've had a chance to write up a little blurb about this, I plan to package up an archive containing the old and new code, and I'll submit it to wherever is appropriate. (But I want to try to contact the original author first -- I'm awaiting an answer to my email.) Now for the $64,000 question-- * What still puzzles me is... *WHY* did the old binary that I compiled under NS 1.0 *not* die in the same way on the same input? It merrily chugs along and successfully un-stuffs the entire archive. I can only conclude that its variables are laid out in memory in a different way, so that the array overrun clobbers space that would otherwise have been unused, instead of clobbering other variables. I would be MOST grateful for an explanation of this phenomenon. But more pointers to other versions of unsit (or to Opener) are not needed. My sincere thanks, though, to all who took the time to try to help. It is really much appreciated. --Cameron Smith cameron@symcom.math.uiuc.edu
From: da0g+@andrew.cmu.edu (David Apfelbaum) Newsgroups: comp.sys.next.programmer Subject: Re: Linking to SPARC based ORACLE using DBKit ? Date: 21 Feb 1993 14:45:01 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hd$26i@steffi.demon.co.uk> Article-I.D.: andrew.YfFwx=G00WA74v8YUO In-Reply-To: <1992Dec18.204540.8033@kynug.org> Sorry folks, but my email bounces to the origianl sender & I thought this might be of general use... Excerpts from netnews.comp.sys.next.programmer: 18-Dec-92 Re: Linking to SPARC based .. by Neil Greene@??? >In article <1992Dec18.180203.4193@bas-a.bcc.ac.uk> sheep@tankgirl (Sheep >T. Iconoclast) writes: >> >> <Messege deleted for space, basically questions about connecting to >> an oracle server on a SPARC from a NeXT, and said difficulties...> > >You will have to modify your NeXT NetInfo database alittle to allow it to >communicate with the Oracle server on port 1525. This information can now >be found in the 93_Winter_NeXTAnswers, but here it is: > Keep in mind that this is merely registering the tcp socket-port number. It also helps to be running the deamon process that will listen on this socket -- namely oracle's ORASRV. Note: DBKit can NOT talk to Oracle without this process running! (Even when it's on the same machine...) I suggest you ask the SPARC guys to contact Oracle & obtain this program! > >Also remember, that the Oracle Adaptor is _only_ going to see tables owned >by the user logging into the Oracle server thru the adaptor. To see >tables used by others for use in the DBModeler, see the following. Also >found in 93_Winter_NeXTAnswers: > humf. Running DBModeler, under the "Entity" menu, select "Choose Entities...". Then log into oracle as the oracle user of your choice. Select the tables you wish to build a model for... Boom, your halfway there... (You still need to enter the relationships... And allow the original account permission to select said tables...) Anyway, it makes life easier... >If that still does not work, I would check for the correct information to >be correct: > > Oracle instance name (this is the database name) > Oracle user account > Oracle user password > YES!!! Particularly check that the letter-CASE is correct! And that your NeXT can access the SPARC-machine! (telnet sparc.machine??). Good luck. -David.
From: rawyatt@phakt.usc.edu (Robert Alexander Wyatt) Newsgroups: comp.sys.next.programmer Subject: Screen Black Out Date: 21 Feb 1993 14:45:03 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hf$26s@steffi.demon.co.uk> Does anyone know how to black the screen out entirely on a mono system once one has logged out...is there an app to do this? Something like BackSpace which can run once all users are logged out... I know this is probably a silly question, but I had to ask... -Rob rawyatt@scf.usc.edu
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) Newsgroups: comp.sys.next.programmer Subject: Speaker and Listener Date: 21 Feb 1993 14:45:06 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hi$276@steffi.demon.co.uk> Article-I.D.: pith.1i8psmINNr2b Well I almost get it to work. I start up my speaker, it starts up the listener, and nothing happens :( Could some kind soul out there send me the necessary code -- preferably using msgwrap for the messages. Also a question: does the speaker have to have an NXapp? All help would be greatly appreciated! --bjorn ------------------------------------------------------------------------------ Bjorn S. Fjeld Pettersen bjorn@doek.uoregon.edu NextMail Welcomed #include <std-disclaimer.h> ------------------------------------------------------------------------------
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: How to request that workspace execute 'eject'? Date: 21 Feb 1993 14:45:09 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hl$27g@steffi.demon.co.uk> Article-I.D.: shelley.1i8ujsINNljg Is there any way to request that the workspace request the current removable-media disk in the drive? Because of file permissions (and not wanting to run the program with root permissions) I can't use DKIOCEJECT. Thanks.
From: optadm7@watserv1.uwaterloo.ca (J.Cassidy - Optometry) Newsgroups: comp.sys.next.programmer Subject: Re: Getting Renderman examples involving RiLightSource to work? Date: 21 Feb 1993 14:45:11 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hn$27q@steffi.demon.co.uk> References: <1993Jan4.000209.14805@csis.dit.csiro.au> In article <1993Jan4.000209.14805@csis.dit.csiro.au> pwm@csis.dit.csiro.au (Peter Milne) writes: >Unfortunately thought, I haven't been able to get the next example on >page 20 to work. This example involves a RiLightSource call. >When I execute this example I get the following warning msg: > > Warning in context RMContext00001 in command RiLightSource : > nullpointer: 'light' == 0 > >Cheers, > Peter (milne@csis.dit.csiro.au) > I have been having precisely the same problem and would be very interested in knowing if anyone has a solution! ========================================================================= Jim Cassidy jcassidy@focus.uwaterloo.ca University of Waterloo optadm7@watserv1.uwaterloo.ca 200 University Ave. VE3RTS Waterloo, Ontario, Canada N2L 3G1 (519) 885-1211 ext. 6240
From: alastair@hecate.phy.queensu.ca (A.B. McLean) Newsgroups: comp.sys.next.programmer Subject: Pointers to functions in method definitions Date: 21 Feb 1993 14:45:14 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hq$285@steffi.demon.co.uk> Keywords: method POINTERS TO FUNCTIONS IN METHOD DEFINITIONS I want to write a method that will accept a pointer to a C function. For example, let the function be a simple Gaussian:- void gaussian(x,a,y) float x,a[],*y; { float arg; arg = (x-a[2])/a[3]; *y += a[1]*exp(-arg*arg); } In the interface file I would expect (Kernigham amd Ritchie section 5.11) the method definition to look like - methodName:void(*gaussian)(float, float*, float*); and in the implementation file I may have - methodName:void(*gaussian)(float, float*, float*) { // ... return self; } When I try to do this the compiler gives me the message parse error before `void' Any suggestions ? Alastair McLean alastair@hecate.phy.queensu.ca
From: dave_moore@next.com (Dave Moore) Newsgroups: comp.sys.next.programmer Subject: Re: Symbol tables of dynamically loaded objects in gdb Date: 21 Feb 1993 14:45:16 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hs$28f@steffi.demon.co.uk> References: <1hdse7INNslm@gap.caltech.edu> In article <1hdse7INNslm@gap.caltech.edu> bchen@cco.caltech.edu (Bing-Qing Chen) writes: > I was trying to figure out how to add symbol tables of dynamically loaded > objects to gdb. According to the GDB document, I tried the following > commands: "load file", "load-file file" and "add-symbol-file file addr". > The first command returns "You can't do that when your target is `exec'" > if the program is not running or "You can't do that when your target is > `child'" when it is running, I wonder when I can use the "load" command?! > The second command seems to do nothing, while the third command does not > recognize address argument and it crashes gdb with "Segmentation fault" > if no address is given. This is really frustrating. Any help would be > greatly appreciated. > > Thanks, > Bing Chen > bchen@cco.caltech.edu If you're running on 3.0 you shouldn't have to do anything to get the symbols loaded. Gdb just notices that code was loaded, and loads up the symbols. In fact you can use the future-break (fb) command to set breakpoints in the code before you load it. Any breakpoints in it are forgotten about when the code is unloaded or the program is restarted, but they come back when the code is loaded again. It just ought to work. As for the above commands add-file is the one to use. This can force symbols in. If you supply a "debug-file" argument to rld_load or objc_loadModules (there is no way to do this if you're using bundles), this is the file to give to add-file. If you don't do this, but know what address the code was loaded at you can give this address as a second argument to add-file with the original object file as the first one. Dave Moore Software Development Tools NeXT Computer, Inc.
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Symbol tables of dynamically loaded objects in gdb Date: 21 Feb 1993 14:45:19 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84hv$28p@steffi.demon.co.uk> References: <1hdse7INNslm@gap.caltech.edu> <6148@rosie.NeXT.COM> In article <6148@rosie.NeXT.COM> dave_moore@next.com (Dave Moore) writes: >If you're running on 3.0 you shouldn't have to do anything to get the >symbols loaded. Gdb just notices that code was loaded, and loads up the >symbols. In fact you can use the future-break (fb) command to set >breakpoints in the code before you load it. Any breakpoints in it are >forgotten about when the code is unloaded or the program is restarted, but >they come back when the code is loaded again. It just ought to work. I've been using gdb and it really does load the symbols as modules are dynamically loaded. I didn't know about the fb command, though, this sounds way-cool and will be a real big help. >As for the above commands add-file is the one to use. This can force >symbols in. If you supply a "debug-file" argument to rld_load or >objc_loadModules (there is no way to do this if you're using bundles), >this is the file to give to add-file. I've been using NXBundle quite a bit lately on a project that I've been working on, and its been working pretty well. However, I'm thinking of dropping back to using objc_loadModules since I can get it to create the debug file. It would be *real* nice if there was a way to have the NXBundle class make an object file as it loads modules. While running a program under gdb works most of the time, if you get a core dump, you're pretty much hosed trying to debug it louie
From: glocker@futon.SFSU.EDU (Andreas R. Glocker) Newsgroups: comp.sys.next.programmer Subject: TEXT.H TextFunc how does it work??? Date: 21 Feb 1993 14:45:21 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84i1$293@steffi.demon.co.uk> Summary: appkit text.h contains scanFunc how does it work? Keywords: text.h text, textfunc, NXTextFunc Please let me know ifsombody out there knows of any example of how to use the setScanFunc in the Text objc. Please make it a good one with some source code explaining the scan function itself Thank you in advance..... Andreas glocker@futon.sfsu.edu ~:x
From: Bob_Vadnais@pdh.com (Bob Vadnais) Newsgroups: comp.sys.next.programmer Subject: Re: Setting the UNIX Preferences from a service Date: 21 Feb 1993 14:45:23 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84i3$29d@steffi.demon.co.uk> References: <1993Jan3.073519.1235@parsec.mixcom.com> In article <1993Jan3.073519.1235@parsec.mixcom.com> alberto@parsec.mixcom.com (Manuel Alberto Ricart) writes: > > Is there a way of messaging the Workspace to be in UNIX > Expert mode? (Is there a way of finding out what messages > the Listener responds to?) I'm not sure if there's an officially documented way to do it, but there's no black magic involved and it's not very complicated. All you need to do is set the preference in the defaults database, then use the NXWorkspaceRequestProtocol method to notify the workspace that the defaults database changed. The following function should do just that. void setUnixExpert(BOOL expert) /* Requires NS3.0 or greater (for NXWorkspaceRequestProtocol) */ { const char *unixExpertValue = NXGetDefaultValue("System", "UnixExpert"); const char *newUnixExpertValue = expert ? "No" : "Yes"; BOOL changeDefault = (unixExpertValue == NULL) || (strcasecmp(unixExpertValue, newUnixExpertValue)); if (changeDefault) { NXWriteDefault("System", "UnixExpert", newUnixExpertValue); [[Application workspace] defaultsChanged]; } } Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
From: Bob_Vadnais@pdh.com (Bob Vadnais) Newsgroups: comp.sys.next.programmer Subject: Re: How to request that workspace execute 'eject'? Date: 21 Feb 1993 14:45:26 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84i6$29n@steffi.demon.co.uk> References: <1i8ujsINNljg@shelley.u.washington.edu> In article <1i8ujsINNljg@shelley.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: > > Is there any way to request that the workspace request the > current removable-media disk in the drive? Because of > file permissions (and not wanting to run the program with > root permissions) I can't use DKIOCEJECT. If you're using 3.0, this is another job for NXWorkspaceRequestProtocol. Use the method (BOOL)unmountAndEjectDeviceAt:(const char *)path. Cheers, Bob (UTFDL?) -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
From: hacker@access.digex.com (Dark Hacker) Newsgroups: comp.sys.next.programmer Subject: Re: Symbol tables of dynamically loaded objects in gdb Date: 21 Feb 1993 14:45:31 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84ib$2ad@steffi.demon.co.uk> References: <1hdse7INNslm@gap.caltech.edu> <6148@rosie.NeXT.COM> <1iahc7INNqq8@ni.umd.edu> While we're on the subject of GDB on the NeXT.... when I try to debug modules that are in a file other than the one the main is located in, I... well... can't debug them. GDB doesn't want to recognize that the modules exist. I've tried stuff like: (gdb) break fooFile:func_name (gdb) break fooFile::func_name and I can't get GDB to recognize the module in file fooFile. What's the magic? - Hacker
From: death@netcom.com (David Burrowes) Newsgroups: comp.sys.next.programmer Subject: Question re: NeXT rtf graphics control words Date: 21 Feb 1993 14:45:33 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84id$2an@steffi.demon.co.uk> Summary: What are # and c in {{\NeXTGraphic# myFile.eps \height3 \Width 4}c}? There's no doc that I can find in the 2.1 NeXTStep release (I'm not yet running 3.0. Loonngg story) that defines anything about the NeXTGraphic construction in their rtf files. Anyone know the answers to these questions? 1) The NeXTGraphic control word takes a numeric parameter. I've seen this with several different values (most commonly 0), but with noapparent meaning to this number. What DOES it mean? 2) Outside the inner group in this construction, there's always a character. I've seen both , and <. Again, there's no indication of what these mean. (Example: {{\NeXTGraphic0 foo.eps \height2 \width2},} ) I know that last character is necessary, but I can find no pattern to why one character is in that position, rather than some other. Thanks in advance for info, tips, or just hunches! \david john burrowes death@kira.net.netcom.com
From: biff@biff.gbdata.com (Dwight Everhart) Newsgroups: comp.sys.next.programmer Subject: Re: Sending objects between processes (SUMMARY) Date: 21 Feb 1993 14:45:37 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84ih$2bb@steffi.demon.co.uk> References: <C03x19.Jx2@biff.gbdata.com> Summary: Distributed objects are the way to go. Keywords: distributed objects, typed streams, speaker listener In article <C03x19.Jx2@biff.gbdata.com> I wrote: > I'm writing a software system involving a server process and several client > processes. I'm writing them in Objective-C, although the server is a > daemon, not an application (it doesn't have a NXApp). The clients may or > may not be applications. I'm using Speaker and Listener objects for the > RPC requests. > > I need to be able to send objects between the clients and the server. [Description of first approach deleted.] > My second (and latest) approach is to use typed streams on ports, and send > the objects using NXWriteObject() and NXReadObject(). I ended up using a typed stream on a memory buffer, and then sending the buffer to the other process through a block in a Speaker/Listener message. I switched to buffers because of an interesting problem I had with ports. I was keeping the typed stream open and sending several objects through it. However, when the stream was read, only the first object was returned, no matter how many times it was read or how many objects were written to it. Apparently only one object can be sent over one typed stream. The solution was to open a typed stream for each object. Since I wanted to minimize the amount of code I had to write, I switched to buffers. NeXT already provides a function, NXWriteRootObjectToBuffer(), that allocates the buffer, opens the typed stream on it, writes the object, truncates the buffer, and closes the stream -- all in one function! There isn't an equivalent function for ports. The system seems to be working now, although I am not sure who should be freeing the memory buffer sent through the Speaker/Listener message. The manual says that NXFreeObjectBuffer() should be called to free the buffer when it is not needed anymore. However, the same manual says that blocks sent in Speaker/Listener messages are automagically freed. So who frees memory buffers created by NXWriteRootObjectToBuffer() and sent through a Speaker/Listener message? As I said in my previous article, I'm not using distributed objects because I'm running 2.0. I'm hesitant about upgrading to 3.0 because of it's performance impact (I have an '030 cube) and its bugs. > If you know of a better way to send objects between processes, please > explain. I'm running 2.0, so I don't have distributed objects. Do they > offer a better approach? Three people replied, and they all suggested distributed objects. Montgomery Zukowski <monty@intuitiveedge.com> writes: > I think that sending objects over typed streams will work fine as > long as you also send the class to be dynamically loaded, probably easiest > to send the filename of the modules to link in, although for security you > might want to send the object data itself. > Even distributed objects in 3.0 requires that the classes of > objects be loaded in the recieving progrtamm so that copies can be > instantiated when they are recieved. Distributed Objects does have a > transport protocol which specifies how to encode and decode objects which > are passed between programs, you might want to look at it for ideas. It is > needed because some objects passes may be distributed objects while others > are going to be copied and instantiated. If you don't need to maintain > connections accross programs, then you don't really need distributed > objects. From your description you seem to only need to pass objects and > not maintain a connection to the server's objects. Timothy J. Wood <bungi@u.washington.edu> writes: > Yes! They handle everything for you (except making sure the class in > linked in). For example, say I have two processes, A and B. A has a list, > and B has some items that it wishes to put in A's list. A would simply > 'vend' the object (two lines of code). B would look up the vended object > (one line of code which returns an id). B could then treat that id exactly > like it was the real object since all messages to it would be bundled up > and transmitted to the real object. When B sends it's object id's to the > proxy for A's list, it could specify to send a copy, rather than the whole > object. > I would strongly suggest that you take a look at Distributed Objects. > They are by far the coolest thing that NeXT has done in version 3.0. Paul Burchard <burchard@localhost.gw.umn.edu> writes: > Distributed Objects is the best way to do all this stuff, even with > the extra twist of dynamic loading. You can do what you want, with > fine control over freeing responsibilities and good transparency to > the rest of the code, using the NXTransport protocol (one of the > highlights of D.O.). Check it out and ask me if you need more > info... Thanks to all who responded. Although distributed objects sound good, I'll use typed streams for now, since I have them working, and I don't have 3.0. -- Dwight Everhart "Spring will come for IBM when people Houston, Texas start buying big computers again." biff@biff.gbdata.com -- John Akers, CEO of IBM NeXTMail and MIME OK
From: mgrmdk@nextwork.rose-hulman.edu Newsgroups: comp.sys.next.programmer Subject: Help me - 3.0 Preferences Feature Date: 21 Feb 1993 14:45:40 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84ik$2bl@steffi.demon.co.uk> Hi all, We're doing a project down here for our Software Engineering class and we need some information about a 3.0 feature someone mentioned down here. We writing something to change passwords, priveleges, and groups (were using afs with our NeXT's) and were thinking about putting them in Preferences.app. I heard this is possible, but I don't have a clue as of how. Does anyone know how are know how I can find out? Is it in the documention on the CD-ROM (which just came in the other day :-))? Any help would be much appreciated. Also, is there anyway to add windows to the inspector window in Workspace? This would be good for the ACL's. Thanks in advance, Michael D. Kohlmeier Asst. Networking Manager Rose-Hulman Institute of Technology (Insert really funny quote here) Subject: Re: TEXT.H TextFunc how does it work???
From: lacsap@plethora.media.mit.edu (Pascal Chesnais) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Date: 21 Feb 1993 14:45:44 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84io$2c9@steffi.demon.co.uk> References: <1993Jan3.170501.242@glocke.hotb.sub.org> In article <1993Jan3.170501.242@glocke.hotb.sub.org> frank@glocke.hotb.sub.org (Frank Thomas) writes: > YES, > and the question raises again > WHY the hell can we not force NeXT to release it's changes to gcc. > They must release the source if they distribute the binaries. uh, dude chill, NeXT has released the complete sources to their modifications to gcc for 3.0... It was a timely release too. They are even available on plethora.media.mit.edu via anon f t p. pasc
From: gildayn@harborcoat.cs.mcgill.ca (Neil GILDAY) Newsgroups: comp.sys.next.programmer Subject: Ideas for financial applications needed!!! Date: 21 Feb 1993 14:45:46 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84iq$2cj@steffi.demon.co.uk> Hi, I am looking for ideas for financial applications that need to be built. Imagine that I have an extremely powerful real time market data developer's kit, a powerful real time financial news developer's kit, and a bunch of powerful programmers; what should I build??? neil
From: finger@convex.com (Jay Finger) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Date: 21 Feb 1993 14:45:48 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84is$2ct@steffi.demon.co.uk> References: <1993Jan3.170501.242@glocke.hotb.sub.org> <1993Jan5.201106.556@news.media.mit.edu> Corp. The opinions expressed are those of the user and not necessarily those of CONVEX. In article <1993Jan5.201106.556@news.media.mit.edu> csn@plethora.media.mit.edu writes: >uh, dude chill, NeXT has released the complete sources >to their modifications to gcc for 3.0... It was a timely >release too. > >They are even available on plethora.media.mit.edu via anon >f t p. > >pasc Is the stuff in pub/next/GnuSource.tar.Z the same as what is on the 3.0 CDROM? And while I'm thinking about it, are the GNU sources on the Eduucational-CDROM for NeXTSTEP 2.x or 3.0? jay
From: zmonster@athena.mit.edu (Eric M Hermanson) Newsgroups: comp.sys.next.programmer Subject: Beginner Programmer Help Date: 21 Feb 1993 14:45:51 -0000 Organization: me organized? That's a joke! Sender: news@steffi.demon.co.uk Distribution: world Message-ID: <1m84iv$2d7@steffi.demon.co.uk> I am new to NeXT Programming (but am very familiar with NeXT in general). I am looking for reference information on NeXTstep programming. So far, I have checked into Garfinkel's programming book and the NeXTstep developers library books. The NeXTstep developers library has seven or so volumes, and I was wondering if anyone can reccommend the three or four most crucial volumes in the library for a beginner to have. Also, is the book by Garfinkel a substitute for the NeXTstep developers library? Thanks, Eric
From: t68@nikhefh.nikhef.nl (Jos Vermaseren) Newsgroups: comp.sys.next.programmer Subject: communication between programs Message-ID: <2204@nikhefh.nikhef.nl> Date: 22 Feb 93 13:05:59 GMT Organization: Nikhef-H, Amsterdam (the Netherlands). Can anybody tell me how I can find out what protocols Edit, gdb Webster etc use to communicate with each other? I have not been able to find anything in the documentation. In particular: what kind of messages do gdb and Edit send to each other to tell where to put a breakpoint, where to position the file in Edit etc. At the moment I still have NeXTstep 2.1, but at the machine of a friend I looked around in the documentation (and had a look at the project inspector) for 3.0 and there we could not find this information either. If they communicate with a distributed object, can we find the description of its class somewhere? Thanks in advance Jos Vermaseren P.S. This is posted from a SUN, so (unfortunately) no NeXTmail. P.P.S. Please send mail and if it is informative enough I will summarize.
From: hugo@IRO.UMontreal.CA (Hugo Desrosiers) Newsgroups: comp.sys.next.hardware,comp.sys.next.programmer Subject: Using 2 ND in a cube simultaneously. Keywords: NeXTdimension, video Message-ID: <1993Feb22.171620.283@IRO.UMontreal.CA> Date: 22 Feb 93 17:16:20 GMT Sender: news@IRO.UMontreal.CA Organization: Universite de Montreal Hi, I need to send two different video signals out from a cube. There are two ND in the cube, but I don't see how to speak to the second ND anywhere in the doc about the NXLiveVideoView. Anyone knows if: a) it is possible, b) how to do it. Please use hugo@IRO.UMontreal.ca as the return address. Thanks, Hugo DesRosiers.
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Please help: SCSI timeout In-Reply-To: sengwil@mail.auburn.edu's message of Mon, 22 Feb 1993 04:13:09 GMT To: sengwil@mail.auburn.edu (William F. Seng) Message-ID: <CEDMAN.93Feb22085846@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <C2tpp2.16I@news.cis.umn.edu> <1993Feb22.041309.6574@news.duc.auburn.edu> Date: Mon, 22 Feb 1993 12:58:46 GMT In article <1993Feb22.041309.6574@news.duc.auburn.edu> sengwil@mail.auburn.edu (William F. Seng) writes: I had a similar SCSI timeout problem with a scanner of mine. The problem always went away when I took all else off the SCSI line; in other words, I made the scsi line shorter. Rumor has it that the NeXT will only support about 10 feet of SCSI cable before it needs a repeater (that's what my dealer told me, anyway). Of course, your message says the DAT is the only SCSI peripheral on the line. So, the upshot of this is that I guess I could use an answer to this, too. One cause of similar symptoms are Micropolis drives. Some versions of the EPROMs interact badly with the NeXT which causes periodic timeout and concomitant SCSI bus resets (from which the harddisk itself recovers, but not the DAT). Later versions of the EPROMs fix this and if you have the old EPROMs Micropolis will provide you with free updates. Carl Edman
Newsgroups: comp.sys.next.programmer From: byer@adobe.com (Scott Byer) Subject: Re: What is the scope of a DPS definition? Message-ID: <1993Feb22.182921.26653@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1993Feb20.213447.16259@netcom.com> Distribution: na Date: Mon, 22 Feb 1993 18:29:21 GMT Steven T. Abell writes > What is the scope of a DPS definition? The application, the window, > or the view? "That depends." :-) The scope of a definition typically is the "space". All contexts that share that space will see the same definition, as they share the same userdict. In general, it's one space and one context per application, and all the application's windows share that one context. You could also have it set up with one context per window, all sharing the same space. A little more work and you could get a space and a context per window. However, there is a limit on the number of contexts in the system, so they should be used sparingly. It's also more complex to manage synchronization issues among many contexts. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Public Key Encryption and Mail.app Date: 22 Feb 1993 17:38:10 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mb322$55p@steffi.demon.co.uk> For those people wanting Public Key Encryption in Mail.app or any other app couldn't one achieve this by writing a service. Something like. A service communicates with a repository using Distributed objects to allow the passing of a public key and then simply using the senders private key to do the other bit. The service could simply scan the article for the senders id and map that to their public key. Not knowing all that much about public key encryption (I only did a 10 minute talk on it once for a class,2 years ago) is this possible? I think it would be a productive and educational exercise for Distributed objects for sure. If somebody mails me the spec for Public Key encryption (No libraries near by im afraid) I will take a crack at this. Cheers.
Newsgroups: comp.sys.next.programmer From: das15@cunixa.cc.columbia.edu (Douglas A Scott) Subject: Using app:powerOffIn: method Message-ID: <1993Feb22.214658.9740@news.columbia.edu> Sender: usenet@news.columbia.edu (The Network News) Organization: Center for Computer Music Research and Composition Date: Mon, 22 Feb 1993 21:46:58 GMT I have an App that needs to do some housecleaning before it quits as a result of the user logging out (in the cases where the App is running at that time). The main customized class in the nib functions as a delegate to the "File's Owner". According to the documentation, the delegate can redefine a method called app:powerOffIn: which will be invoked in the event that the user logs out while the app is running. I have two questions/problems: 1) I am unable to get this method to show up in the list of actions for my custom class when I re-parse the .h file. I do not run the parse procedure anymore because of the amount of code I have already added. All other newly added actions and outlets show up very nicely when the header file is re-parsed. The declaration of this particular action is as follows in my .h: @interface XDel:Object { ... } /* redefined delegate actions */ - appDidInit:sender; - powerOff:(NXEvent *)event; - app:sender powerOffIn:(int)ms andSave:(int)flag; <- this one - appWillTerminate:sender; ... The other actions shown here all parse, show up, and work properly. 2) When I compile this program (including the declaration and definition of this method) and run it, everthing works perfectly except that this method is not called when the user logs out. Apparently, non of the delegate actions listed above are called at logout time. I am fairly new to building Apps, so forgive my lack of clarity. My main question is just how to allow my program to clean up when the user logs out? Thanks for any help! ----------------------------------------------------------------- Douglas Scott Center for Computer Music Research and Composition Internet: <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: pjm@engr.ucf.edu (Peter J. McAlindon) Subject: Basic Question on ".wn" documents Message-ID: <1993Feb22.224654.16757@cs.ucf.edu> Sender: news@cs.ucf.edu (News system) Organization: engineering, University of Central Florida, Orlando Date: Mon, 22 Feb 1993 22:46:54 GMT Hi, I am new to NeXT and I recently ftp some files from sonata. The documents had the extension ".wn" which I assume it is a WriteNow file. I am running NS3.0 which does not have WriteNow so how can I convert the files so that I can read them under Edit? thanks
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.marketplace Subject: v6.10 - NeXT Nugget News Digest (vol. 6, issue 10, February, 1993) Message-ID: <6864@rosie.NeXT.COM> Date: 22 Feb 93 22:59:28 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.misc NeXT Nugget News Digest (vol. 6, issue 10, February, 1993) *** TABLE OF CONTENTS *** NeXT / NeXTSTEP JOB POSITION OPENINGS => 51. Pencom Software Seeks 15 NeXT Engineers (North America) => 52. NeXTSTEP Development Postions in New York, Boston, and Washington, DC => 53. Michigan Consulting Group: NeXTSTEP Programming Experience => 54. ERGO SCIENCE Medical Looking NeXTSTEP Expertise in Boston All previous 47 Nugget News Digest issues from 1992 are archived at the Purdue ftp archive site: sonata.cc.purdue.edu. Conrad Geiger Manager, International NeXT User Group Program (over 420 groups worldwide) ____________________________________________________________________ ____________________________________________________________________ NeXT / NeXTSTEP JOB POSITION OPENINGS => 51. Pencom Software Seeks 15 NeXT Engineers For more information, contact: Clint Tomlinson Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512/346-6444 E-Mail: clint@pencom.com Pencom Software Seeks 15 NeXT Engineers Location: North America (Northeast, Midwest, Texas, West, Canada) AUSTIN, TEXAS - February 4, 1993 - Pencom Software's team of NeXT engineers are specifically dedicated to serving both developers and end user organizations equipped with workstations and software from NeXT Computer, Incorporated. Already a NeXT-authorized systems integrator as well as a registered NeXT software developer, Pencom is expanding the service to capitalize on the growth NeXT has recently experienced. Pencom Software is a division of Pencom Systems Incorporated, a New York-based firm providing software engineering and manpower resources to Fortune 500 companies and leading computer firms since 1973. Currently the largest recruiting firm specializing in the UNIX/Open Systems market, Pencom employs over 500 people and maintains a large heterogeneous network of workstations including more than 70 NeXT machines. The following positions are available in the United States and in Canada: TEXAS 1- Senior Database Specialist * 5+ years database design and database applications development experience * 3 years application development experience in a UNIX environment * 2 years DBMS experience using an SQL-based DBMS * 1+ year applications experience in the NeXTSTEP environment * Strong background in proposal generation, system specification, third-party software evaluation, technology transfer, rapid prototyping * Experience with AppKit, DBKit, NeXTSTEP 3.0, OOD, C++, Objective-C * GUI and Porting experience NORTHEAST 3 - Development Technical Leads * Strong NeXTSTEP applications development * Strong UNIX/C, database programming (Sybase, Oracle, Informix) * Objective-C, AppKit, Interface Builder * High level applications design and rapid prototyping * Project/Technical lead experience * Good interpersonal skills (oral and written) * Technical support/OOP, OOD methodology transfer * 6 to 10 years experience 1 - System Administrator * NeXT/Sun/UNIX system administration * Network Management background * Objective-C or C++ * Background in a heterogeneous systems environment a must 1 - Software Engineer * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder * High level design, rapid prototyping * Ability to work in a dynamic team environment * Strong Objective-C or C++ * 5 to 8 years experience WEST 1 - Senior Database Specialist * 5+ years database design and database applications development (ORACLE preferred) * 3 years UNIX application development * 2 years RDBMS experience using an SQL-based RDBMS * 2+ year NeXTSTEP applications * AppKit, DBKit, NeXTSTEP 3.0, OOD, Objective-C MIDWEST 1 - Senior Systems Engineer * Provide NeXT applications development and support * Project Management/Project Lead experience * Very strong interpersonal skills, technical marketing experience a plus * Technology transfer of OOD, OOP methodologies * NeXTSTEP, Appkit, DBKit, Objective-C or C++ * 6 to 10 years experience 1 - Senior Applications Development Engineer * 5-7 years UNIX/C applications development * Financial applications (Equity Trading Systems in particular) * 1+ years NeXT/NeXTSTEP/AppKit/ DBKit/Objective-C * Sun, SYBASE/C++ a plus 4 - Software Engineers * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder * High level design, rapid prototyping in NeXT environment * Strong Objective-C or C++ * 2 to 5 years experience CANADA 2 - NeXT Contract Engineers * Strong NeXTSTEP applications development * Strong UNIX, Objective-C, C++ * AppKit, Interface Builder, DBKit required * Strong RDBMS * Transfer of NeXT technology * Software training or teaching experience * 6 to 10 years experience Sorry, these positions require permanent residence and 2+ years industry experience..Thank you for your understanding... More positions available soon!! For more information, contact: Clint Tomlinson Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512/346-6444 E-Mail: clint@pencom.com ____________________________________________________________________ => 52. NeXTSTEP Development Postions in New York, Boston, and Washington, DC Opportunities to Invent the Future With NorthStar Technologies NorthStar Technologies, Inc. is an entrepreneurial firm specializing in innovative software product development, system integration, and mission-critical, client-server solutions. We intend to triple the size of our firm in 1993 and seek bright, energetic individuals -- interested in a ground floor opportunity -- with experience in NeXTSTEP/UNIX/Objective-C or SUN/UNIX/C++ and/ or relational database management systems (particularly Sybase). Specifically, NorthStar is looking for professionals with the following backgrounds: Junior Software Engineers BSCC or equivalent NeXTSTEP application development Experience in object-oriented design and development Objective-C, C++ Relational databases (preferably Sybase) Senior Software Engineers BSCC, MS preferred Expertise in NeXTSTEP application development Substantial experience in object-oriented design and development Objective-C, C++ Relational databases (preferably Sybase) Client-server development experience Database Specialists BSCC, MS preferred Relational database design and development (preferably Sybase) Thorough knowledge of SQL Database administration experience preferred Applications programming experience with database interface Object-oriented design and development experience Objective C or C++ Sequent administration experience a plus Client-Server Specialists BSCC, MS preferred Substantial experience in client-server computing (both client and server sides) Distributed applications/servers experience UNIX C Objective C or C++ Relational DBMS experience (preferably Sybase) Networking experience (LAN, WAN, TCP/IP, etc.) Database Administrators BSCC or equivalent Thorough knowledge of major RDBMS, Sybase required RDBMS tuning and performance expertise SQL expertise Knowledge of C, Objective C, C++ preferred Sequent database administration experience a plus NeXT System Administrators BSCC or equivalent NeXT system administration expertise System administration in a heterogenous UNIX network environment preferred Communications experience (wide-area networks, modems, Internet, ftp, etc.) NeXT hardware installation experience (installing memory, motherboards, etc.) RDBMS experience (preferably Sybase) C, C++, Objective C experience desired Sequent administration experience a plus Positions are available in New York, Boston, and Washington, DC. If you are interested in joining a dynamic team to create state-of-the-art products, to offer innovative solutions to clients' problems, and to help us define our future, forward or fax your resume with a cover letter to: Morris Gartenberg Manager of Administration NorthStar Technologies, Inc. 15 Maiden Lane, Suite 803 New York, NY 10038 fax: 212-267-4468 email: gartenb@northstar.com ____________________________________________________________________ => 53. Michigan Consulting Group: NeXTSTEP Programming Experience Software Services Corporation (SWS Corp) is looking for students who have programming experience in NeXTSTEP for their growing object orienting consulting group. SWS Corporation is Ann Arbor, Michigan's largest computer consulting firm employing 150 technical professionals specializing in advanced software technologies. Students with professional experience are preferred (graduate level experience is also a plus). SWS is a NeXT Registered Developer. Inquiries and resumes should be directed to: Dave Cortright Manager of Technical Resources Software Services Corpatiobn Tel: 313-971-2300 FAX: 313-677-0230 ____________________________________________________________________ => 54. ERGO SCIENCE Medical Looking NeXTSTEP Expertise in Boston ERGO SCIENCE INCORPORATED is a medical technology company engaged in the discovery and development of novel methods of treating human disease. We will shortly be moving to our new Research and Development Center in Boston, which will house the company's Information Technology Group. ERGO SCIENCE is committed to developing the most advanced information system in the industry and is now looking for a core group of unusually skilled, motivated and creative developers to pioneer this effort. The project is to develop a World-Wide Clinic Information System. The Clinic Information System, using NeXT as the workstation of choice, will link the Research and Development Center with ERGO SCIENCE's remote clinical sites. We expect that our information technology, as well as our medical technology, will set a new standard. This is an extraordinary opportunity to participate in the genesis of an important effort. We are looking for a senior developer who has: - 2+ years NeXTSTEP application development experience - Experience using DB-Kit and/or writing database apps - 2-5 years of working experience in UNIX, C, and C++ - Strong understanding of Object-Oriented Programming - Ability to work under a restricted time line - A need to be challenged and a desire to learn ...The following qualifications would be helpful - Familiarity with the medical industry - Familiarity with accounting and/or medical billing - Familiarity with Informix (SYBASE or ORACLE acceptable) - System analysis skills We are looking for a junior developer who has: - NeXTSTEP application development experience - Experience using DB-Kit and/or writing database apps - Working experience in UNIX, C, and C++ - Understanding of Object-Oriented Programming - Database experience We are looking for a Database Specialist who has: - Strong database analysis skills - Informix On-line experience - 2-5 years designing database structure - 2-5 years experience in UNIX, C, and C++ - Understanding of Object-Oriented Programming ...The following qualifications would be helpful - Familiarity with NeXTSTEP - Familiarity with the medical industry - Familiarity with accounting and/or medical billing We are looking for an analyst who has: - Strong business application analysis skills - Fast prototyping in the NeXT environment - Project/Technical lead experience - Strong communication skills (Oral and Written) - Working knowledge of TCP/IP and communications - 2-5 years designing business applications - 2-5 years experience in UNIX, C, and C++ - Understanding of Object-Oriented Programming ...The following qualifications would be helpful - Familiarity with NeXTSTEP - Familiarity with the medical industry - Familiarity with accounting and/or medical billing Ergo offers competitive salaries, benefits, the opportunity for professional growth, and the chance to make a difference. Please send your resume, project experiences, and salary requirements to: Ergo Science Incorporated Attn: Recruiting 79 Thames Street Newport, RI 02840 Send Email to: recruiting@ccsi.com ___________________________________________________________________ continued in issue 6.11
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer,comp.sys.next.marketplace Subject: v6.11 - NeXT Nugget News Digest (vol. 6, issue 11, February, 1993) Message-ID: <6865@rosie.NeXT.COM> Date: 22 Feb 93 23:00:52 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.programmer NeXT Nugget News Digest (vol. 6, issue 11, February, 1993) *** TABLE OF CONTENTS *** NeXT / NeXTSTEP JOB POSITION OPENINGS => 55. Trirex System: NeXTSTEP and SYBASE Experience => 56. NeXT Developers Positions in New Jersey and London => 57. Wanted to hire: proficient NeXTSTEP programmers in Dallas => 58. NeXTSTEP Design and Customer Application programming in Midwest => 59. NeXT Multimedia Software Engineering Positions Available => 60. ICTV: NeXTSTEP development experience => 61. Software Engineer Position at Ixion in Seattle => 62. NeXT Network Analyst Position on East Coast of US => 63. Australian NeXT Development Opportunities => 64. NeXTSTEP Programmer/Analyst Positions in Chicago & Atlanta => 65. SmartSoft NeXTSTEP Opportunities in Milwaukee => 66. Medical NeXTSTEP Experience (Duke Medical Center) => 67. NeXT Application Developers for Atlanta, Georgia => 68. Wanted: Office Manager/Executive Assistant (S. California) All previous 47 Nugget News Digest issues from 1992 are archived at the Purdue ftp archive site: sonata.cc.purdue.edu. Conrad Geiger Manager, International NeXT User Group Program (over 420 groups worldwide) ____________________________________________________________________ ____________________________________________________________________ NeXT / NeXTSTEP JOB POSITION OPENINGS => 55. Trirex System: NeXTSTEP and SYBASE Experience Contact: Nicole Martin: nmartin@trirex.com Challenge yourself: Become part Trirex Systems' Worldwide Expansion Are you looking for a challenging opportunity to utilize your advanced information technology skills? Trirex Systems, Inc., a leading systems integration firm specializing in object oriented, client server solutions has several immediate openings as part of its worldwide expansion. Trirex provides professional services, mission critical custom application development, and training to Fortune 1000 companies in the financial and retail services, and government marketplaces. With 5 offices in the U.S., one in Brazil and the one in the U.K., challenging opportunities are available worldwide. Trirex offers competitive compensation, an attractive benefits package and is an equal opportunity employer. If you would like to work for a company that offers a stimulating environment, some of the best talent in the industry and an opportunity to continue refining your expertise, this is for you. Currently we have the following openings: POSITION: SYBASE SYSTEM ADMINISTRATOR & DBA LOCATION: NEW YORK CITY METROPOLITAN AREA DESCRIPTION: SYSTEMS SUPPORT & MANAGEMENT REQUIREMENTS: SYBASE, SUN and/or NeXT APPLICATIONS: FINANCIAL NOTE: GOOD COMMUNICATION SKILLS POSITION: PROGRAMMER ANALYST LOCATION: NEW YORK CITY METROPOLITAN AREA DESCRIPTION: OBJECT-ORIENTED ANALYSIS & DESIGN EXPERIENCE PROGRAMMING IN NETWORKED ENVIRONMENTS. REQUIREMENTS: C, C++, OBJECTIVE C, GUI APPLICATIONS: FINANCIAL ____________________________________________________________________ => 56. NeXT Developers Positions in New Jersey and London NeXT DEVELOPERS New Jersey and London Opportunity #001DR Major client is looking for 6 Sr. NeXT Developers for positions in either New Jersey or *London*. These can be either contract (1-3) years or full time (permanent) opportunities. You must have a minimum of 3 yrs NeXT development background. Experience with Sybase and financial systems is highly desirable. DB Lib and DB Kit are required for some positions. These positions are immediate starts. Contract rates to $60/hr Salaries to $80,000 For information please contact Mini-Systems Associates 100 Homeland Court, Suite 405 San Jose, CA 95112 Wendy Barberi: 408-451-02258 or William Santos 408-451-0254 Fax: 408-451-0277 Email: alanh@cup.portal.com ____________________________________________________________________ => 57. Wanted to hire: proficient NeXTSTEP programmers in Dallas Contact: Peter Bendor-Samuel The Everest Group 15505 Wright Bros. Drive Dallas TX 75244 Telephone: (214) 385-1106. ____________________________________________________________________ => 58. NeXTSTEP Design and Customer Application programming in Midwest Contact: Bob O'Boyle HTA 800-482-0040 FAX: 708-577-8131 Looking for experienced NeXT programmer to be in charge of all aspects of design, UI, programming for a custom, inhouse app for a large midwestern NeXT customer. Title is "Advisor for Engineering Computing" ____________________________________________________________________ => 59. NeXT Multimedia Software Engineering Positions Available Imagine Multimedia, Inc. is looking for several excellent NeXT programmers. If you're tired of solving the same old problems and want to work in an exciting, small, and growing company, then check us out. Imagine is a 3.5 year old company specializing in multimedia publishing tools. Our primary focus is the NeXT computer and various multimedia publishing solutions, including CD-I. We are located in Ann Arbor, Michigan. Salary and fringe benefits are competitive. We are hiring now. Applicants should have: - 4+ years of industry experience - Masters of Computer Science or comparable experience - 1+ years of NeXTStep development experience - Excellent communication skills Any of the following qualifications will help the applicant: - Experience with multimedia and the issues involved - Experience in managing development projects - Experience in architecture and/or interface design for complex applications - Experience in OS/9 development ================= PLEASE note your skills clearly in your cover letter and resume. We would hate to pass up the perfect person because we missed something important! ================= Send letters and/or resumes to: resumes@imagine.com ____________________________________________________________________ => 60. ICTV: NeXTSTEP development experience ICTV currently has 2 NeXT based engineering positions available. ICTV (Interactive Consumer Television) is a Silicon Valley start up company, with excellent advancement opportunities and a competitive compensation package. ICTV is currently building a consumer oriented interactive multimedia system for near term deployment. ICTV is an equal opportunity employer. JUNIOR SOFTWARE ENGINEER/ ADMINISTRATOR Minimal requirements include: - BA or equivalent in Computer Science or related field. - At least 6 months experience with NeXTSTEP. - A strong Unix/C background. - A desire to learn. SENIOR SOFTWARE ENGINEER Minimal requirements include: - MS or equivalent in Computer Science or related field. - 5+ years industry experience. - 1-2 years NeXTStep experience or solid background in object oriented development. - A solid Unix/C background. - Strong knowledge in at least one of the following areas: * Distributed Computing, Networking, and Client/Server architectures * Database design experience * Language design * Communications * Multimedia systems * Video * Audio and Video Compression algorithms. Successful applicants must be willing to work in a team environment and be energized to meet aggressive deadlines. If you are interested in MultiMedia it is happening here. Send (preferably EMAIL) a cover letter and resume describing your experience to: Bruce D. Nilo VP Software Systems c/o ICTV 280 Martin Ave. Santa Clara, CA 95050 FAX: 408 986 9566 EMAIL bruce@ictv.com (NeXT Mail Welcome.) ____________________________________________________________________ => 61. Software Engineer Position at Ixion in Seattle Ixion, an industry leader in creating medical simulation systems, has an immediate need for a qualified software engineer. The successful candidate will have demonstrated skills in the following areas: > Knowledge engineering > Heterogeneous Ethernet based networking > Co-routine development for real-time operations > Object oriented software development > Strong written & verbal communication skills This position requires day-to-day interaction with the graphic nature of medical procedures. The products Ixion produces are on the leading edge of practical applications using 3-D technology and multi-media systems. To apply, send your resume and salary history to: Ixion, Inc. attn: Software Engineer 1335 N. Northlake Way Seattle, WA 98103, Principals only. Please reply to jstan@ixion.com ____________________________________________________________________ => 62. NeXT Network Analyst Position on East Coast of US Computing Analysis Corporation has challenging positions available for those with knowledge of these areas: TCP/IP OSI Stack AppleTalk Unix Macintosh NeXT Network Analyst (3-5 Years experience) System admin, troubleshooting, product evaluation, system integration, task leading Sr. Network Analyst (5-8 Years experience) Project leadership, sytem integration, strategic planning, client interaction skills. Please send your resume to geoyang@darpa.mil or fax it to (703) 525-6672. For more information about the position please call Rick Jones at (703) 527-1451. ___________________________________________________________________ => 63. Australian NeXT Development Opportunities Contact: Brett Adam Director, Business Development Codex Software Development Pty. Ltd. (Melbourne, Australia) PO Box 293, Albert Park 3206 Victoria, Australia Fax: +61 3 696 6757 Email: bpja@codex.com.au Codex Software Development is the premier provider of commercial NeXT development and consulting services in Australia. In recognition of the expanding Australian market, Codex plans to increase it commitment to specialised NeXTSTEP development throughout 1993. Codex is looking to engage both permament and sub-contract staff this year, and is thus inviting persons with NeXT experience and/or the desire to become involved in NeXT development to submit personal resumes detailing relevant experience and enthusiasm for consideration as positions become available. Strong skills in UNIX and object-oriented programming are required, as is an outgoing and friendly disposition. Codex also places strong emphasis on software quality and hence a commitment to software engineering principals is a distinct advantage. Get in early and take advantage of the chance to work with THE hottest NeXT projects in what promises to be a very exciting new marketplace for Australia. All resumes should be addressed to Brett Adam at the address below. NeXTMail is also fine, provided the document is either Edit format, RTF or PostScript. Requests for more information should be sent via e-mail to bpja@codex.com.au No calls please. Codex is an equal opportunity employer. Contact: Brett Adam Director, Business Development Codex Software Development Pty. Ltd. (Melbourne, Australia) PO Box 293, Albert Park 3206 Victoria, Australia Fax: +61 3 696 6757 Email: bpja@codex.com.au ____________________________________________________________________ => 64. NeXTSTEP Programmer/Analyst Positions in Chicago & Atlanta Title: Programmer/Analyst - Developer(2 openings) Areas: Chicago and Atlanta Skills required: NeXT Computer, Objective "C" Experience required: One year Minimum Commercial Experience on a NEXT in Objective "C" Benefits: Full Health and Pension Degree: Preferred Positions: Both are Permanent Career Positions ************************ To apply: Fax resume to: Tom Gugger Eagle Group 419-882-7339 Mail resume to: Tom Gugger Eagle Group PO Box 8167 Sylvania, OH 43560 Or Call: 419-882-8006 ___________________________________________________________________ => 65. SmartSoft NeXTSTEP Opportunities in Milwaukee SmartSoft is a new software development venture in the Milwaukee, WI area. We are looking for creative programmers well versed in the NeXTSTEP environment to design and implement products ranging from tridimensional graphics to information management. We are looking for experienced individuals with good management skills that will undertake high levels of responsibility. All positions require a collaborative contribution and the ability to work with people of varied professional backgrounds. Senior positions require the ability to manage Junior Engineers. Position requirements: Senior Software Engineers BSCC, MS preferred Expertise in NeXTSTEP application development Substantial experience in object-oriented program design and development Substantial experience with graphics, Display PostScript, highly encouraged. Objective-C, C++ Writing and communication skills a plus Junior Software Engineers BSCC or equivalent degree NeXTSTEP application development experience Experience in object-oriented design and development Objective-C, C++ Writing and communication skills a plus SmartSoft offers excellent growth opportunities, and a very creative dynamic work environment. If you are interested in becoming part of our innovative team please send your resume with a cover letter to: SmartSoft c/o Diana Jagusch 2220 East Linnwood Avenue Milwaukee, Wisconsin 53211 email: smartsoft@parsec.mixcom.com ___________________________________________________________________ => 66. Medical NeXTSTEP Experience (Duke Medical Center) Duke University Medical Center Information Systems is looking for bright, energetic individuals with experience in PC/workstation systems development. Requirements include experience developing applications in a GUI environment (OS/2, NeXTStep, Windows, Mac) using object-oriented tools (Smalltalk, C++, Objective C, etc) and client server design. A CS degree or equivalent experience is required. Cross-platform development and SYBASE/DB2 experience a plus. Please contact: Michael Pickett BOX 3900 DUMC, DURHAM, NC, 27710 (919) 286-6369 (FAX) PICKE001@MC.DUKE.EDU (INTERNET-Non NeXT) PICKE001@BULLNEXT.MC.DUKE.EDU (INTERNET-NeXT) ___________________________________________________________________ => 67. NeXT Application Developers for Atlanta, Georgia Information Management Inc., a growing Atlanta based systems integration and consulting firm, is planning to hire several NeXT application developers in the next few months. We design custom applications and information systems for a wide range of companies in the Southeast and beyond. We specialize in working with advanced desktop technologies to develop unique, state of the art information systems for workgroups in a variety of business settings. Our positions offer the flexibility to work on an array of different projects and learn new tools. We're looking for talented individuals who are willing to accept high levels of responsibility and can work well in team or solo environments. Position offered: NeXTstep Application Development This person will be involved in all activities related to software application development, including needs assessment, formulation of the development process and procedures, prototyping, programming, testing, host systems connectivity and network communications. B.S. in Computer Science or equivalent is required with relevant work experience. Experience with UNIX, NeXTstep, Objective C and database systems is desirable. Beyond NeXT expertise, individuals having extensive experience with UNIX based information systems, database management systems, object oriented design and GUI in business environments will be considered. Information Management Inc. offers a friendly working environment, paid health insurance, profit sharing, 401K retirement plan and the opportunity for advancement. Please direct your inquiries to Mark Hampton at Information Management. Addresses are: Internet: mark@infoman.com Telephone: (404)377-4840 Ext. 307 Fax: (404)377-5116 Address: Mark Hampton Information Management, Inc. 150 East Ponce de Leon Ave. Suite 430 Decatur, GA 30030 Wanted: Office Manager (Los Angeles area, California) Contact: Alison Thomas Email: athomas@ata.com Send resumes to 14238 Dickens, #4, Sherman Oaks, CA 91423 ___________________________________________________________________ => 68. Wanted: Office Manager/Executive Assistant (S. California) Location: Southern California Allison Thomas Associates, Inc., a rapidly-growing public relations & marketing agency in Sherman Oaks catering exclusively to the high-tech community, is looking for an office manager/executive assistant. Duties include: supplies ordering, shared phone answering, computer database upkeep, liaison with bookkeeper, travel and other personal duties for president, mail room clerk oversight. Pay $25,000-$30,000, depending on experience. Opportunity for mobility to junior PR account executive, if desired. Contact: Allison Thomas at athomas@ata.com or mail resume to 14238 Dickens, #4, Sherman Oaks, CA 91423 ___________________________________________________________________ end of Nugget News Digest - vol. 6, issues 2-11, February, 1993
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Having Problem with Window Tiers and -windowNum method Message-ID: <1993Feb22.215523.5136@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Mon, 22 Feb 93 21:55:23 GMT Hi, I have been trying to write a program similar to AltDock (an old 1.0 demo) which provides an additional dock with added functionality (dragging a tile over another causes them to switch places, small graphic improvements, scroll buttons, reorientation from vertical to horizontal, etc.) At this point, my program does not work they way I want it to because I need to know the following (E-MAIL PLEASE): 1) *The main problem* >How do you prevent an app from becoming activated when you click on one of its windows? The Workspace Manager, for example, is not activated when you click on the dock -- only when you double-click the NeXT icon. 2) Is it just me? >The following function does not have the desired effect -- it should place myDockWindow at NX_DOCKLEVEL (predefined window tier level in appkit/Window.h) so that myDockWindow floats above everything except for menus, but it doesn't and I sometimes wind up with PostScript errors: PSsetwindowlevel( NX_DOCKLEVEL, [myDockWindow windowNum]); Since the value returned by -windowNum is not the WindowServer's global value for a window, I also tried: NXConvertWinNumToGlobal( [myDockWindow windowNum], &wnum); PSsetwindowlevel( NX_DOCKLEVEL, wnum); This did not work either!!?!?! :-( There used to be an _NXSetWindowLevel() function in 1.0 -- it's used in the source code for AltDock which does not compile well under 3.0 (gets an "implicit declaration" error). Obviously, the function is no longer used and its only surviving relative is its PS cousin. Any help via e-mail would be appreciated! Thanks in advance, - Eskandar
Newsgroups: comp.sys.next.programmer From: zqx@wucs1.wustl.edu (Zeqing Xia) Subject: getenv in NeXT Message-ID: <1993Feb22.235153.1701@wuecl.wustl.edu> Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: None Date: Mon, 22 Feb 1993 23:51:53 GMT Does anyone know how to get environment values in NeXT? I tried getenv() which only works when you launch the program from a terminal. If you launch the application from Workspace, the .cshrc is not executed and the settings of environment variables are not possible. Thanks in advance. Zeqing Xia
Newsgroups: comp.sys.next.programmer From: davisre@sage.cc.purdue.edu (Robert Davis) Subject: Re: Using app:powerOffIn: method Message-ID: <C2vnut.4CE@mentor.cc.purdue.edu> Sender: news@mentor.cc.purdue.edu (USENET News) Organization: Purdue University Computing Center References: <1993Feb22.214658.9740@news.columbia.edu> Date: Tue, 23 Feb 1993 01:23:16 GMT In article <1993Feb22.214658.9740@news.columbia.edu> doug@foxtrot.ccmrc.ucsb.edu writes: > >1) I am unable to get this method to show up in the list of actions for my >custom class when I re-parse the .h file. I do not run the parse procedure >anymore because of the amount of code I have already added. All other newly >added actions and outlets show up very nicely when the header file is >re-parsed. The declaration of this particular action is as follows in my .h: > It won't show up as an action because it can't be one. A control's action must be a method of the form "selector:(id)sender". When the control performs the action, it sends itself as an argument so you can then query it for values, etc. app:powerOffIn:andSave: is not of this form -- it has more arguments than a single id. The only reason you'd need an action to appear in the class method list in IB is so you could make connections, i.e. so that some control could send the method. You don't want anything to send this message -- it'll be sent by the Workspace at the right time. >I am fairly new to building Apps, so forgive my lack of clarity. My main >question is just how to allow my program to clean up when the user logs out? Just make sure the Application object has a delegate. Then make sure the delegate implements app:powerOffIn:andSave: -- you don't even need to have it in the delegate's interface, just make sure it's in the implementation. Put your tidying-up code in there. That's it. If app:powerOffIn:andSave: doesn't get called when the user logs out, then the delegate isn't being set properly. In the app's main nib (the one with the menu, the one in which File's Owner is the Application object) instantiate your object and connect it as a delegate. Hope that hits your problem, Rob -- | Robert Davis davis@sonata.cc.purdue.edu | "Look up, Hannah. Look up." NeXT Mail accepted --
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: REQUEST ASSISTANCE with NXStringTable: parse error Message-ID: <1993Feb22.164612.25344@latcs1.lat.oz.au> From: nicolek@latcs2.lat.oz.au (Nicole KAIYAN) Date: Mon, 22 Feb 1993 16:46:12 GMT Sender: news@latcs1.lat.oz.au (news) Followup-To: comp.sys.next.admin Organization: Comp Sci, La Trobe Uni, Australia Keywords: NeXTSTEP Summary: NXStringTable: parse error In the spirit of the Internet I am asking for some assistance with a recent problem that is beginning to crash Workspace Manager. The console is reporting a number of errors of the sort below and I would greatly appreciate a wiser soul explaining what has happened and how to fix this fault. Console window dump as follows from boot-up: Software Version 3.0 (Hyper3B) Feb 23 03:15:00 number_one BackSpace[201]:NXStringTable:parse error before '^D' Feb 23 03:15:01 number_one last message repeated 10 times Feb 23 03:15:04 number_one WM[199]: NXStringTable: parse error before '^D' Feb 23 03:15:04 number_one last message repeated 8 times Then after a few launches of applications the console has these added: Feb 23 03:19:51 number_one Edit[216]: NXStringTable: parse error before '^D' Feb 23 03:19:51 number_one last message repeated 17 times Feb 23 03:21:04 number_one WM[199]: NXStringTable: parse error before '^D' Feb 23 03:30:05 number_one Stuart[219]: NXStringTable: parse error before '^D' Feb 23 03:30:05 number_one last message repeated 17 times Thank you kindly in advance. Nicole --------------------------------- ------------------------------------- | Nicole Kaiyan | Email: nicolek@latcs1.lat.oz.au | | Computer Science Department | | | La Trobe University | NeXTmail welcome | | Melbourne 3083 | | | AUSTRALIA | | --------------------------------- -------------------------------------
From: stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) Newsgroups: comp.sys.next.programmer Subject: pointers to functions in Objective-C Message-ID: <22889@ucdavis.ucdavis.edu> Date: 22 Feb 93 21:39:59 GMT Sender: usenet@ucdavis.ucdavis.edu I'm new to Objective-C programming and am having a problem I want some help with if anyone knows the answer and has the time. I have a class which needs a pointer to a function as one of its instance variables (so I can change which random number generator the object uses on the fly). So I declare in the @interface int (*RNG)(); /* Pointer to random number generator. */ which works fine. The problem comes when I try to write an accessor method, setRNG:, which will change the value of the instance variable. How do I declare the new value as an argument to the method? I've tried what seems the most natural syntax - setRNG:(int (*newRNG)()); and also - setRNG:(int) (*newRNG)(); - setRNG:((int) (*newRNG)()); but the compiler isn't having any of it. What should I be doing? (I can't find anything about it in the documentation). -- --------------------------------------------------------------------- Stuart Staniford-Chen : stuarts@jeeves.ucdavis.edu Department of Physics : NeXT-Mail cheerfully accepted. UC Davis, CA 95616, USA. : regular email is fine too.
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Thread safety Organization: Primitive Software Ltd. Apparently-To: mail2news@dis.demon.co.uk Date: Tue, 23 Feb 1993 00:03:31 +0000 Message-ID: <1993Feb23.000331.6376@prim> Sender: usenet@demon.co.uk We're told that the appkit is not thread-safe. That's fine and it's understable that that is NeXT's official position. But does anyone (eg people at NeXT?) know what can and can't be done with the appkit from threads? For instance, in general, if only one thread ever uses an object, and that object doesn't interact with other objects, is that safe? If I'm going to write a multi-threaded server for distributed objects, I'm going to want to use _some_ parts of the appkit - Hash tables and List for example. I imagine that List would only sleep for more memory, and malloc is thread safe. So if just one thread uses a List object, is it safe? It would be nice to have a list of classes that are safe if only one thread accesses their objects. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Problems using gcc 2.3.3 Organization: Primitive Software Ltd. References: <1993Jan1.110309.5899@mic.ucla.edu> <1m84h2$252@steffi.demon.co.uk> Apparently-To: mail2news@dis.demon.co.uk Date: Tue, 23 Feb 1993 00:10:51 +0000 Message-ID: <1993Feb23.001051.6437@prim> Sender: usenet@demon.co.uk In article <1m84h2$252@steffi.demon.co.uk> bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: >Indeed! I know some people here are Objective-C fanatics :) -- including many >people at NeXT. And yes, I do like Objective-C for GUI stuff. But it seriously >s**** sh** when it comes to other things. BTW, does anyone out there know why >NXPoin, NXSize etc., etc. were not implemented as objects? In C++ it would have >been easy (both to program, use, and subclass), and if would have been >EFFICIENT! Aren't they easy to program and use and also efficient _without_ being objects then? You'll be wanting your ints to be objects next! Dave Griffiths
Newsgroups: comp.sys.next.programmer From: mikem@afs.com (Mike Matlack) Subject: a File class (was: A 'Directory' class anyone? ) Message-ID: <1993Feb22.190234.488@afs.com> Sender: mikem@afs.com References: <1993Feb19.133727.14263@ousrvr.oulu.fi> Date: Mon, 22 Feb 1993 19:02:34 GMT In comp.sys.next.programmer article <1993Feb19.133727.14263@ousrvr.oulu.fi> you wrote: > Has anyone created a 'directory' class I could use? I know I could use std > functions, but I would prefer to use an abstracted class. Has anyone written a File class (of which the directory could be a subclass). A unix file class could provide an OO framework around the stat, fopen, etc functions...handling all the error messages and conditions that appear when working with files. If not, I have an object to write:-) mikem -- Michael J. Matlack Anderson Financial Systems Mike_Matlack@afs.com
Newsgroups: comp.sys.next.programmer Subject: IXPostingList sorting problem Message-ID: <1993Feb23.163559.751@otago.ac.nz> From: gideon@farli.otago.ac.nz (Gideon King) Date: 23 Feb 93 16:35:58 +1300 Keywords: IXKit, IXPostingList I'm having a bit of a problem with the sortByWeightAscending: method. Here's what I've done: 1. allocate the list using list = [[IXPostingList alloc] initWithSource:recordManager]; 2. iterate through some objects, adding the ones I want to my new list using [list addObject:currentRecord withWeight:closeness]; 3. try to sort my list by the weightings I have put in there using [list sortByWeightAscending:NO]; // sort into descending order And it ends up in the same order it was when I started - no error messages or anything. I'm just starting to get the hang of some of the indexing kit and hope that there is a simple solution to this problem. Thanks. -- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Department of Computer Science | e-mail gideon@farli.otago.ac.nz P.O. Box 56 | Dunedin | NeXT mail preferred! New Zealand |
From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: pointers to functions in Objective-C Date: 23 Feb 1993 08:13:46 GMT Organization: Georgia Institute of Technology Message-ID: <1mcmbqINNhi7@mephisto.gatech.edu> References: <22889@ucdavis.ucdavis.edu> In article <22889@ucdavis.ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: >I have a class >which needs a pointer to a function as one of its instance variables >The problem comes when I try to write an accessor >method, setRNG:, which will change the value of the instance variable. >How do I declare the new value as an argument to the method? What you are looking for, using C type-cast syntax, is: - setRNG:(int (*)())newRNG; An arguably better style would be to use a typedef (and argument prototypes): typedef int (*RNGFunc)(void); { RNGFunc RNG; /* Pointer to random number generator. */ } - setRNG:(RNGFunc)newRNG; -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Newsgroups: comp.sys.next.programmer From: hinshaw@cs.washington.edu (Kevin Hinshaw) Subject: Resizing Help Panel Message-ID: <1993Feb23.074306.16314@beaver.cs.washington.edu> Sender: news@beaver.cs.washington.edu (USENET News System) Organization: Computer Science & Engineering, U. of Washington, Seattle Date: Tue, 23 Feb 93 07:43:06 GMT Has anybody out there tried to manipulate the NXHelpPanel available in 3.0? I've been trying to resize it horizontally, but so far no luck. The resize bar won't do it, and I haven't found a way to get hold of the panel's id so that I can send it a sizeWindow message. Any suggestions would be greatly appreciated! -Kevin Hinshaw, frustrated NeXTSTEP programmer!
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Apolgies for Duplicate Articles Date: 23 Feb 1993 08:13:18 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mcmau$1es@steffi.demon.co.uk> Folks apoligies for the duplicate articles. I will try to cancel them. I was manually inject news into the database with inews and didn't realize that it would construct different paths hence all injected news ended up in out.going/hostname. Once again, sorry for any inconvienience caused.
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: Re: pointers to functions in Objective-C Message-ID: <1993Feb23.075759.7512@netcom.com> Sender: gordie@netcom.com Organization: Cyclesoft Media Works References: <22889@ucdavis.ucdavis.edu> Date: Tue, 23 Feb 1993 07:57:59 GMT In article <22889@ucdavis.ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: > > which works fine. The problem comes when I try to write an accessor > method, setRNG:, which will change the value of the instance variable. > How do I declare the new value as an argument to the method? I've tried > what seems the most natural syntax > > - setRNG:(int (*newRNG)()); > etc ... > --------------------------------------------------------------------- > Stuart Staniford-Chen : stuarts@jeeves.ucdavis.edu > Department of Physics : NeXT-Mail cheerfully accepted. > UC Davis, CA 95616, USA. : regular email is fine too. You have to use syntax similar to "casting" expressions when setting the parameters to methods. such as - foo : (int *) parm; not - foo : int * parm; so for your function it is: - setRNG : (int (*)()) newRNG; if the function you were passing in took an int and char* as parameters itself, and returned a float, you would use - ding : (float (*) (int, char*)) func; -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Having Problem with Window Tiers and -windowNum method Message-ID: <1mcr2g$2c9@steffi.demon.co.uk> Date: 23 Feb 93 09:34:08 GMT References: <1993Feb22.215523.5136@cs.ucla.edu> Organization: me organized? That's a joke! Here's what you need for the first part of your problem Here is what you want from Window.rtf, problem one solved. avoidsActivation - (BOOL)avoidsActivation Returns YES if the Window's application doesn't become active when the user clic ks in the Window's content area. The default is NO. Note that clicking on the title bar will always activate the Window's application. See also: - setAvoidsActivation:
From: alex@laos (Alex D. Nghiem) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.hardware Subject: e-mail account: who's the best provider? Keywords: Genie, Compuserve, PSI, e-mail account Message-ID: <1993Feb22.204247.28469@pencom.com> Date: 22 Feb 93 20:42:47 GMT Sender: usenet@pencom.com (Usenet Pseudo User) Distribution: usa Organization: Pencom Software Hello there: I'm considering getting an e-mail account for basic e-mail services (I dont' need NeXTMail and most of the messages should be fairly short) and would like to know if anyone can make recommendations on the following providers (+ is for pros and - is for cons): 1. Compuserve + $7.95 a month - $12.00 an hour - number for account name (such as 75225.411@compuserve.com) rather than a name (such as alex@pencom.com) 2. PSI + get your own domain - expensive: $75 hook-up and $25/month; after 3/31/1991, this will be $150 for hookup and $50/month 3. Genie -- I don't know anything about this one. 4. World + $5.00/month - $2.00 login charge - long distance call Please e-mail me with your recommendations. Best regards, Alex Duong Nghiem Phone: (512) 795-2000 Pencom Software Fax: (512) 343-9650 9050 Capital of TX Hwy N. Mail: alex@pencom.com Suite 300 Mail: co-Xist_support@pencom.com Austin, TX 78759 Mail: co-Xist_info@pencom.com USA **************************** * NeXTMail gladly accepted * ****************************
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m7v22$vj@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:39 +0000 Message-ID: <9302231205.aa15005@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84dc$205@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:40 +0000 Message-ID: <9302231205.aa15008@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84di$20p@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:40 +0000 Message-ID: <9302231205.aa15011@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84dl$216@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:41 +0000 Message-ID: <9302231205.aa15014@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gc$225@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:42 +0000 Message-ID: <9302231205.aa15017@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84ge$22f@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:42 +0000 Message-ID: <9302231205.aa15020@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gg$22p@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:43 +0000 Message-ID: <9302231205.aa15023@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gi$233@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:44 +0000 Message-ID: <9302231205.aa15026@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gl$23e@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:44 +0000 Message-ID: <9302231205.aa15029@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84go$23p@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:45 +0000 Message-ID: <9302231205.aa15032@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gq$243@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:46 +0000 Message-ID: <9302231205.aa15035@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gt$24d@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:46 +0000 Message-ID: <9302231205.aa15038@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84gv$24o@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:47 +0000 Message-ID: <9302231205.aa15041@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84h2$252@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:48 +0000 Message-ID: <9302231205.aa15044@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84h5$25d@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:48 +0000 Message-ID: <9302231205.aa15047@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hd$26i@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:49 +0000 Message-ID: <9302231205.aa15053@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hb$266@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:49 +0000 Message-ID: <9302231205.aa15050@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hf$26s@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:50 +0000 Message-ID: <9302231205.aa15056@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hi$276@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:51 +0000 Message-ID: <9302231205.aa15059@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hl$27g@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:52 +0000 Message-ID: <9302231205.aa15062@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hn$27q@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:52 +0000 Message-ID: <9302231205.aa15065@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hq$285@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:53 +0000 Message-ID: <9302231205.aa15068@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hv$28p@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:54 +0000 Message-ID: <9302231205.aa15074@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84hs$28f@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:54 +0000 Message-ID: <9302231205.aa15071@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84i3$29d@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:56 +0000 Message-ID: <9302231205.aa15080@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84i1$293@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:55 +0000 Message-ID: <9302231205.aa15077@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84ib$2ad@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:57 +0000 Message-ID: <9302231205.aa15086@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84ih$2bb@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:58 +0000 Message-ID: <9302231205.aa15092@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84i6$29n@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:56 +0000 Message-ID: <9302231205.aa15083@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84id$2an@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:58 +0000 Message-ID: <9302231205.aa15089@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84io$2c9@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:06:00 +0000 Message-ID: <9302231206.aa15098@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84ik$2bl@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:05:59 +0000 Message-ID: <9302231206.aa15095@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84iq$2cj@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:06:00 +0000 Message-ID: <9302231206.aa15101@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84is$2ct@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:06:01 +0000 Message-ID: <9302231206.aa15104@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
Newsgroups: comp.sys.next.programmer From: cliff@demon.co.uk (cliff) Control: cancel <1m84iv$2d7@steffi.demon.co.uk> Subject: None (mail relay) Date: Tue, 23 Feb 1993 12:06:03 +0000 Message-ID: <9302231206.aa15107@demon.demon.co.uk> Sender: usenet@demon.co.uk Cancelled by request.
From: stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) Newsgroups: comp.sys.next.programmer Subject: Returning from a slave thread. Message-ID: <22836@ucdavis.ucdavis.edu> Date: 20 Feb 93 20:54:12 GMT Sender: usenet@ucdavis.ucdavis.edu I'm a neophyte NeXT programmer looking for some advice from my wise elders. My application involves a button which sends a message to a controller object to start a lengthy calculation. I know it's uncool to have the user sitting looking at a spinning cursor while the calculation proceeds, so I do it in a separate slave thread. Having started this thread, the controller object method that responds to the button returns control to the main event loop. My problem is giving control back to my controller object when the slave thread finishes the calculation. I would like it if near the end of the slave thread function there was a line [[NXApp delegate] iAmDoneNowGetOnWithIt]; but apparently using objective-C calls in the slave is unsafe. A solution I have thought of is to set up a DPSTimedEntry for a function which does nothing but check if the slave function is done, and when it is sends the controller object the iAmDoneNowGetOnWithIt message to cause it to do what it's supposed to do with the result of the calculation. This seems rather inelegant though. Is there a better way? Stuart. -- --------------------------------------------------------------------- Stuart Staniford-Chen : stuarts@jeeves.ucdavis.edu Department of Physics : NeXT-Mail cheerfully accepted. UC Davis, CA 95616, USA. : regular email is fine too.
Newsgroups: comp.sys.next.programmer From: avery@gestalt.Stanford.EDU (Avery Wang) Subject: Re: Returning from a slave thread. Message-ID: <1993Feb23.162821.17055@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <22836@ucdavis.ucdavis.edu> Date: Tue, 23 Feb 93 16:28:21 GMT In article <22836@ucdavis.ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: > but apparently using objective-C calls in the slave is unsafe. A solution > I have thought of is to set up a DPSTimedEntry for a function which does > nothing but check if the slave function is done, and when it is sends the > controller object the iAmDoneNowGetOnWithIt message to cause it to do what > it's supposed to do with the result of the calculation. This seems rather > inelegant though. Is there a better way? > Look at the example SortingInAction In article <22836@ucdavis.ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: > but apparently using objective-C calls in the slave is unsafe. A solution > I have thought of is to set up a DPSTimedEntry for a function which does > nothing but check if the slave function is done, and when it is sends the > controller object the iAmDoneNowGetOnWithIt message to cause it to do what > it's supposed to do with the result of the calculation. This seems rather > inelegant though. Is there a better way? > Look at the example /NextDeveloper/Examples/AppKit/SortingInAction. It's a good example of how to do multi-threaded programming with interactions with the main thread using a DPSTimedEntry. It turns out that using the DPSTimedEntry is what you want to do. -Avery de to > let all you unenlightened Mac/NeXT/PC/UNIX/Amiga/... > users in on such a powerful technology). > Drool! I'll leave my NeXT in 2 milliseconds if I can get my filthy hands on that system! > (:-) :-) :-) for the humoristically challenged). > > > Andrew Warinner "Semper ubi sub ubi" ******************************************* >>Always wear under wear!<< > (andy@infotec.ch) Infotec S.A. > phone: 022/73e calculation. This seems rather > inelegant though. Is there a better way? > Look at the example SortingInAction In article <22836@ucdavis.ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: > but apparently using objective-C calls in the slave is unsafe. A solution > I have thought of is to set up a DPSTimedEntry for a function which does > nothing but check if the slave function is done, and when it is sends the > controller object the iAmDoneNowGetOnWithIt message to cause it to do what > it's supposed to do with the result of the calculation. This seems rather > inelegant though. Is there a better way? > Look at the example /NextDeveloper/Examples/AppKit/SortingInAction. It's a good example of how to do multi-threaded programming with interactions with the main thread using a DPSTimedEntry. It turns out that using the DPSTimedEntry is what you want to do. -Avery de to > let all you unenlightened Mac/NeXT/PC/UNIX/Amiga/... > users in on such a powerful technology). > Drool! I'll leave my NeXT in 2 milliseconds if I can get my filthy hands on that system! > (:-) :-) :-) for the humoristically challenged). > > > Andrew Warinner "Semper ubi sub ubi" ******************************************* >>Always wear under wear!<< > (andy@infotec.ch) Infotec S.A. > phone: 022/738 44 33 8 avenue de Frontenex > fax: 022/786 50 61 1207 Geneva, Switzerland -Avery messaging will be slower than normal. Therefore, flag should be reset to the default NO when there is only one thread using Objective C. This function cannot guarantee that all parts of the run-time system are absolutely thread-safe. In particular, if one thread is in the middle of dynamically loading or unloading a class (using objc_loadModules()
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: Ideas for financial applications needed!!! Message-ID: <1993Feb23.150233.3539@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <1m84iq$2cj@steffi.demon.co.uk> Distribution: usa Date: Tue, 23 Feb 93 15:02:33 GMT In article <1m84iq$2cj@steffi.demon.co.uk> gildayn@harborcoat.cs.mcgill.ca (Neil GILDAY) writes: >>Hi, >> >>I am looking for ideas for financial applications that need to be built. >> >>Imagine that I have an extremely powerful real time market data developer's >>kit, a powerful real time financial news developer's kit, and a bunch of >>powerful programmers; what should I build??? >> >>neil Something that will help a trading illiterate like me make money on the stock market :-) -- Ronald Pomeroy Quote of the year: "The NeXT has gone virtual" Advanced Micro Devices -- Marshall F. Gilula, M.D CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: disc@vector.intercon.com (David Casti) Newsgroups: alt.wais,comp.infosystems.wais,comp.sys.next.sysadmin,comp.sys.next.misc,comp.sys.next.programmer Subject: wais Date: 23 Feb 1993 17:08:09 GMT Organization: InterCon Systems Corporation Distribution: world Message-ID: <1mdllpINNqvb@intercon.intercon.com> Hi, I can't seem to get wais compiled on my NeXT... I've set the compiler options to -O -ansi since the README file says the wais code is in ansi C. I found the cool NeXTy window interface already compiled, but I want to run swais, waissearch, and the wais server. Any help would be greatly appreciated. Thanks, David.
From: stevem@dcs.glasgow.ac.uk (Steve McGowan) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,uk.jobs,scot.general,dept.general Subject: HyperMedia NeXT Programmer wanted Message-ID: <C2wvJr.IMI@dcs.glasgow.ac.uk> Date: 23 Feb 93 17:07:02 GMT Organization: Computing Sci, Glasgow Univ, Scotland Posting for a friend - only email me if REALLY necessary, but I can't provide any more information than that which follows!!!!!!! PROGRAMMER WANTED ----------------- For a position on an exciting hypermedia development system (NeXsys) based on the NeXT machine. The post will probably start sometime in the next few months, and will be based in Edinburgh, Scotland. Candidates should have good programming skills (preferably in the NeXT environment), and have reasonable hypermedia development skills. More details can be obtained by contacting Mr. James Lougheed on.... Tel: 031-331-7730 (may have to leave message on answering machine) Fax: 031-331-7418 ------------------------------------------------------------------------------ "Soda......soda........soda.......and what'll you have, Stanley?" ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: NX_LISTMODE in Matrix Message-ID: <1993Feb23.175822.3617@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Tue, 23 Feb 1993 17:58:22 GMT I've created a matrix of what was radioButtons that is 5 by 10. When I set the matrix as a "radioButton" and do a [buttonMatrix selectCellAt:i :j]; The "well" in the selected button lights up and the one other button that could have been lit in the matrix is turned off. I want to be able to have multiple buttons on at the same time. So I set the property to be NX_LISTMODE as in the Matrix documentation. I can send the message [buttonMatrix selectAll]; and If I test the state of the buttons, they have been selected, BUT they don't light up like they did before, in fact when you choose that method, none of them light up. How do you make the ones you've obviously selected light up? - - - - - - - - - J. W. Wooten
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Re: Problems using gcc 2.3.3 Message-ID: <7762@ucsbcsl.ucsb.edu> Date: 23 Feb 93 18:06:02 GMT References: <PFKEB.92Dec30221114@kaon.SLAC.Stanford.EDU> <1992Dec31.154024.18427@fnbc.com> <1m84gc$225@steffi.demon.co.uk> Sender: root@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, U.C.S.B. In article <1m84gc$225@steffi.demon.co.uk> iwelch@agsm.ucla.edu (Ivo Welch) writes: >And, let's not forget that some of us need to debug programs, too. But NeXT >gdb does not work with gcc 2.x.x, and NeXT has not forwarded its own changes >to gdb to the FSF in their standard format; therefore, the FSF's new gdb >version does not compile on NeXTs. > >So: either you can use NeXT's historic version of gcc with non-ANSI C++ syntax >and no libg++, or you can use FSF version of gcc without NeXT Objective-C >extensions and without a functional gdb. Are you running OS 2.1 still? If not, beg to differ. I have been using NeXT's gdb to debug programs compiled with gcc 2.3.3 with no problem whatsoever. I have even been able to debug some programs compiled with g++ 2.3.3, though there are some problems there. With C, though, gdb works fine. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: jimb@access.digex.com (Jim Brooking) Newsgroups: comp.sys.next.programmer Subject: Irritating DBQualifier Trait Date: 23 Feb 1993 16:01:07 -0500 Organization: Object oriented Distribution: usa Message-ID: <1me3ajINNjs0@access.digex.com> I just stumbled onto a strange thing regarding DBQualifiers... The ..andDescription and addDescription enclose %s parameters in apostrophes ('). So this: [aQual addDescription:"doc like '%%%s%%'","FISH"]; produces: doc like '%'FISH'%' Which, when you think about it, makes it difficult to get a qualifier to do wildcard searches in a database... >8^| I got around the problem by doing this: sprintf (where,"%%%s%%",[doc stringValue]); [aQual addDescription:"doc like %s",where]; The sprintf takes care of the percents, while the addDescription takes care of the apostrophes ('). Is there a way (short of subclassing) to make DBQualifier NOT act that way? BTW, a pet peeve of mine is when people call an apostrophe a quote. 8^) -- jimb@access.digex.com | (Cage) 1991 323se (MD ZCP-710) | Comus Road Merry Land (MD) U.S.A. | (Bike) "Gotta have" the new CBR1000f | ClarksBURG -----------------------+-------------------------------------------+----------- Mail is forwarded to NeXT "Happy Happy Joy Joy!" -Stimpy
From: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz) Newsgroups: comp.sys.next.programmer Subject: IB question: How to drag _from_ a Text inside a ScrollView? Date: 23 Feb 1993 21:34:35 GMT Organization: TUBerlin/ZRZ Distribution: world Message-ID: <1me59bINNhg4@mailgzrz.TU-Berlin.DE> Hi, I've got a stupid little problem. I have dragged a ScrollView from the text palatte, and I can drag a connection to the Text object inside, but I can't drag a connection from the Text object (i. e. from its textDelegate outlet) to another object (i. e. a DBModule). Am I missing something? Thanxinadvance, Carsten
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,ba.jobs.offered From: pkim@cory.Berkeley.EDU (P. Kim) Subject: Wanted: NeXTstep Programmer (Bay Area) Message-ID: <1993Feb23.213809.7010@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Tue, 23 Feb 1993 21:38:09 GMT This is being posted for someone else so please do not respond to this account: ------------------------------------------------------------------------------ Exciting NeXTSTEP Development Opportunity in California! Marine Terminals Corporation, a major west coast stevedoring company with offices in SF and Oakland, is currently developing a NeXTSTEP-based graphical planning system. This highly-interactive, application will be used on a WAN connecting 3 sites around California. MTC is looking for a creative, self-motivated developer with demonstrable Objective-C and NeXTstep experience to participate in the development effort for this innovative product. Please contact: Steve Longbotham (415) 267-1138 Marine Terminals Corporation mtcoak!steve@netcom.com 600 Harrison Street, Suite 200 (NeXT mail accepted) San Francisco CA, 94107
Newsgroups: comp.sys.next.programmer From: bvrotney@ADS.COM (Bill Vrotney) Subject: Interviews under NeXTstep Message-ID: <1993Feb23.225348.16021@ads.com> Sender: usenet@ads.com (USENET News) Fcc: ~/rmail/sent Organization: Advanced Decision Systems, Mtn. View, CA (415) 960-7300 Date: Tue, 23 Feb 1993 22:53:48 GMT Has anyone run Interviews under NeXTstep? -- Bill Vrotney BAH/Advanced Decision Systems
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,ba.jobs.offered From: pkim@cory.Berkeley.EDU (P. Kim) Subject: Wanted: NeXTstep Programmer (Bay Area) Message-ID: <1993Feb23.215337.7447@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Tue, 23 Feb 1993 21:53:37 GMT i am posting this for someone else so please do not respond to this account. --------------------------------------------------------------------------- Exciting NeXTSTEP Development Opportunity in California! Marine Terminals Corporation, a major west coast stevedoring company with offices in SF and Oakland, is currently developing a NeXTSTEP-based graphical planning system. This highly-interactive, application will be used on a WAN connecting 3 sites around California. MTC is looking for a creative, self-motivated developer with demonstrable Objective-C and NeXTstep experience to participate in the development effort for this innovative product. Please contact: Steve Longbotham (415) 267-1138 Marine Terminals Corporation mtcoak!steve@netcom.com 600 Harrison Street, Suite 200 (NeXT mail accepted) San Francisco CA, 94107
Newsgroups: comp.sys.next.programmer From: kieffer@spf.trw.com (Robert Kieffer) Subject: <Help> Need information/code for serial interface to PC Message-ID: <2B8AC13A.184@deneva.sdd.trw.com> Sender: news@deneva.sdd.trw.com Organization: TRW Inc., Redondo Beach, CA Date: Wed, 24 Feb 93 00:28:41 GMT Hi folks, Has anyone worked on getting an IBM PC and a NeXT to communicate via the serial ports? I, unfortunately, am not a serial communications quru so I'm not exactly sure how to go about doing this. The problem I'm trying to solve is fundamentally a simple one (I think :-)... I basically want to use the PC to do some computations/data handling and use the NeXT to display the data and control the PC processing. i.e. set up a communications channel between the two. Anyway, any information/code related to this problem would be greatly appreciated! Thanks, Robert Kieffer kieffer@spf.trw.com
From: cgra@btma74.nohost.nodomain (Chris Gray) Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss Subject: Re: ** Toward a Portable OO GUI Library ** Message-ID: <1484@se.alcbel.be> Date: 23 Feb 93 10:02:41 GMT References: <C1zv2w.63L@csisun.uucp> Sender: guest@se.alcbel.be Followup-To: comp.sw.components Great idea. __________________________________________________________________________ Chris Gray | Any views expressed are those of the author and not of cgra@se.alcbel.be | Alcatel Bell, Technology Project Services, the British Compu$erve: | Computer Society, Whale and Dolphin Conservation Soc., 100065.2102 | Scottish Youth Hostels Association, etc. etc. etc. __________________________________________________________________________ A concept that cannot be expressed tersely is a badly understood concept. - Chuck Moore
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Programmatically triggering power on. Message-ID: <1993Feb24.005345.4654@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Wed, 24 Feb 93 00:53:45 GMT Is there a way to programatically have the NeXT wake up? Thanks. -Marcos J. Polanco -shiva@vega.stanford.edu
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: linking to clock_value() Date: 24 Feb 1993 01:03:32 GMT Organization: The University of Maryland, College Park Message-ID: <1mehh4INNnnb@ni.umd.edu> References: <1m283aINNgva@gap.caltech.edu> In article <1m283aINNgva@gap.caltech.edu> klein@small.caltech.edu (Michael Klein) writes: > >I am trying to get at the clock on Next. >I found the function: clock_value() >in: >Loadable Kernal servers 10 Kernel Support Functions >with the following code fragment: (further on down) > >QUESTION: Where do I link to to get this? >I get an error of: >/bin/ld: Undefined symbols: >_clock_value clock_value() as well as the other functions described in the Loadable Kernel Servers documentation are only available to drivers that are loaded into the kernel. If you are writing a "normal" program that runs in user space, then you probably should use gettimeofday(). louie
From: seanm@richsun.cpg.trs.reuter.com (Sean M. McCarthy) Newsgroups: comp.sys.next.programmer Subject: NeXTSTEP 3.0 Makefile dependencies Message-ID: <4015@richsun.cpg.trs.reuter.com> Date: 23 Feb 93 20:54:01 GMT Sender: news@richsun.cpg.trs.reuter.com Distribution: usa Organization: Reuters Client Site Systems, Oakbrook,IL Has anyone else had problems with Project Builder not recognizing that files have been updated, and not recompiling them in the build cycle under 3.0? I have done a make depend, but it only seems to be concerned with *.h files. The file I'm editting is a *.m file, whose class is listed under CLASSES in the Makefile. I'm wondering if its a problem with the way I built my project, or if I've missed a patch. Thanks, Sean -- Sean McCarthy email: seanm@richsun.cpg.trs.reuter.com
From: burchard@horizon.math.utah.edu (Paul Burchard) Newsgroups: comp.sys.next.programmer Subject: Re: Returning from a slave thread. Message-ID: <C2xKJx.HMF@news2.cis.umn.edu> Date: 24 Feb 93 02:07:08 GMT Article-I.D.: news2.C2xKJx.HMF References: <22836@ucdavis.ucdavis.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota In article <22836@ucdavis.ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: > the main event loop. My problem is giving control back to my controller > object when the slave thread finishes the calculation. I would like it if > near the end of the slave thread function there was a line > > [[NXApp delegate] iAmDoneNowGetOnWithIt]; > > but apparently using objective-C calls in the slave is unsafe. A solution > I have thought of is to set up a DPSTimedEntry for a function which does Actually what you want here is DPSAddPort(). This sets up a callback in the event loop (in the main thread) whenever something comes in on a given Mach port. Sending Mach messages is thread-safe, so you can tickle this callback from the other thread (and even send over selectors, message args, etc.). Perhaps even easier is using distributed objects, which from your point of view is essentially a prepackaged version of what I just described. -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' --------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: How can I create transparent windows ? Message-ID: <1993Feb20.134612.3961@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Feb18.011751.9268@prim> Distribution: comp.sys.next.programmer Date: Sat, 20 Feb 93 13:46:12 GMT In article <1993Feb18.011751.9268@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > In article <1993Feb17.164455.19637@infotec.ch> guy@infotec.ch (Guy Roberts) writes: > >Does anybody know what I should do to an instance > >of Window to make it see through ? > >I have tried setting the Windows background to a > >color containing some alpha but a layer of something > >makes the window opaque. > > > >Free antartic glacier to the first correct respondent. > > > > Yum! I asked this question here about a year ago and the answer then was that > you can't have transparent windows. Strange but true. Apparantly it would > require major changes to the Window Server. > > (Imagine if you could stretch windows, twist and bend and spin windows, reach > right through with your virtual hand... um sorry, wrong group) > > Dave You can not have transparent windows per se. What you can have is windows with a VERY complex border region. The connectors in IB are VERY narrow windows with a complex outline. You may be able to use this if your application is more like a ruler than a transparent bitmap. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Help with Help Organization: Primitive Software Ltd. References: <PFKEB.93Feb20194558@kaon.SLAC.Stanford.EDU> Apparently-To: mail2news@dis.demon.co.uk Date: Tue, 23 Feb 1993 14:20:23 +0000 Message-ID: <1993Feb23.142023.7217@prim> Sender: usenet@demon.co.uk In article <PFKEB.93Feb20194558@kaon.SLAC.Stanford.EDU> pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) writes: >I'm adding built-in help to an application that contains dynamically >loaded bundles. > > First problem: how to get ProjectBuilder to add default Help directory >and files to the project. The "Add Help" menu cell is grey when selecting >the bundle directory. Bug? > > First problem workaround was to manually create the Help directory >and in the method that loads the bundle, use the addSupplement:toPath: >method, etc. > > The loaded bundle adds a view to an inspector choosen by popuplist >a la IB. I connect buttons of this view to the Help files. Now when >I run the application, it doesn't work. The supplement help files get >loaded correctly, but Control-Alternate-Click on the buttons can't find >the help file. It seems to go back to the main bundle help directory >to try to find the file. Kind of makes sense, but is there a better way? > Oh no, what a mess. I'm just in the middle of converting my app to use bundles all over the place and after reading Paul's post tried to add some Help. It wasn't clear how to use addSupplement:toPath:, but to save anyone else the time figuring it out, you do: configBundle = [NXBundle bundleForClass:[self class]]; helpPanel = [NXHelpPanel new]; [helpPanel addSupplement:"Help" inPath:[configBundle directory]]; Manually adding the help directory also involves editing Makefile and PB.project. Anyway, I'm now stuck at the same place as Paul. The supplement appears in the Help panel, but Ctrl-Alt-clicking items has no effect. This is a serious problem - unless there's a workaround you can't use help and bundles together. I hope we don't have to wait until Q4 for the fix! Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Resizing Help Panel Organization: Primitive Software Ltd. References: <1993Feb23.074306.16314@beaver.cs.washington.edu> Apparently-To: mail2news@dis.demon.co.uk Date: Tue, 23 Feb 1993 20:57:04 +0000 Message-ID: <1993Feb23.205704.2326@prim> Sender: usenet@demon.co.uk In article <1993Feb23.074306.16314@beaver.cs.washington.edu> hinshaw@cs.washington.edu (Kevin Hinshaw) writes: >Has anybody out there tried to manipulate the NXHelpPanel available in 3.0? >I've been trying to resize it horizontally, but so far no luck. The resize >bar won't do it, and I haven't found a way to get hold of the panel's id >so that I can send it a sizeWindow message. Any suggestions would be >greatly appreciated! > You can get the id just by going: helpPanel = [NXHelpPanel new]; Like SavePanels, there is only usually one Help panel and "new" will either create it or return it's id. Dave Griffiths
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m7v22$vj@steffi.demon.co.uk> Control: cancel <1m7v22$vj@steffi.demon.co.uk> Date: 23 Feb 1993 14:50:45 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mddk6$3r1@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84dc$205@steffi.demon.co.uk> Control: cancel <1m84dc$205@steffi.demon.co.uk> Date: 23 Feb 1993 14:57:50 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mde1e$3sa@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84dl$216@steffi.demon.co.uk> Control: cancel <1m84dl$216@steffi.demon.co.uk> Date: 23 Feb 1993 15:00:53 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mde76$3t5@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84di$20p@steffi.demon.co.uk> Control: cancel <1m84di$20p@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:45 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeed$3uk@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gc$225@steffi.demon.co.uk> Control: cancel <1m84gc$225@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:47 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeef$3uo@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84ge$22f@steffi.demon.co.uk> Control: cancel <1m84ge$22f@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:48 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeeg$3uq@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gg$22p@steffi.demon.co.uk> Control: cancel <1m84gg$22p@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:49 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeeh$3us@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gi$233@steffi.demon.co.uk> Control: cancel <1m84gi$233@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:50 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeei$3uu@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gl$23e@steffi.demon.co.uk> Control: cancel <1m84gl$23e@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:51 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeej$3v0@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84go$23p@steffi.demon.co.uk> Control: cancel <1m84go$23p@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:52 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeek$3v2@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gq$243@steffi.demon.co.uk> Control: cancel <1m84gq$243@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:53 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeel$3v4@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gt$24d@steffi.demon.co.uk> Control: cancel <1m84gt$24d@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:54 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeem$3v6@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84gv$24o@steffi.demon.co.uk> Control: cancel <1m84gv$24o@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:55 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeen$3v8@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84h2$252@steffi.demon.co.uk> Control: cancel <1m84h2$252@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:57 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeep$3vb@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84h5$25d@steffi.demon.co.uk> Control: cancel <1m84h5$25d@steffi.demon.co.uk> Date: 23 Feb 1993 15:04:58 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeer$3vd@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hb$266@steffi.demon.co.uk> Control: cancel <1m84hb$266@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:00 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeet$3vh@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hd$26i@steffi.demon.co.uk> Control: cancel <1m84hd$26i@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:03 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeev$3vk@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hf$26s@steffi.demon.co.uk> Control: cancel <1m84hf$26s@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:04 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef0$3vm@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hi$276@steffi.demon.co.uk> Control: cancel <1m84hi$276@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:05 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef1$3vo@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hl$27g@steffi.demon.co.uk> Control: cancel <1m84hl$27g@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:06 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef2$3vq@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hn$27q@steffi.demon.co.uk> Control: cancel <1m84hn$27q@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:06 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef3$3vs@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hq$285@steffi.demon.co.uk> Control: cancel <1m84hq$285@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:07 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef3$3vu@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hs$28f@steffi.demon.co.uk> Control: cancel <1m84hs$28f@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:08 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef4$400@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84hv$28p@steffi.demon.co.uk> Control: cancel <1m84hv$28p@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:09 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef5$402@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84i1$293@steffi.demon.co.uk> Control: cancel <1m84i1$293@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:10 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef6$404@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84i3$29d@steffi.demon.co.uk> Control: cancel <1m84i3$29d@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:11 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef7$406@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84i6$29n@steffi.demon.co.uk> Control: cancel <1m84i6$29n@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:12 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef8$408@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84ib$2ad@steffi.demon.co.uk> Control: cancel <1m84ib$2ad@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:13 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdef9$40a@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84id$2an@steffi.demon.co.uk> Control: cancel <1m84id$2an@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:14 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdefa$40c@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84ih$2bb@steffi.demon.co.uk> Control: cancel <1m84ih$2bb@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:15 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdefc$40e@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84ik$2bl@steffi.demon.co.uk> Control: cancel <1m84ik$2bl@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:16 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdefd$40g@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84io$2c9@steffi.demon.co.uk> Control: cancel <1m84io$2c9@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:18 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdefe$40i@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84iq$2cj@steffi.demon.co.uk> Control: cancel <1m84iq$2cj@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:19 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdeff$40k@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84is$2ct@steffi.demon.co.uk> Control: cancel <1m84is$2ct@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:20 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdefg$40m@steffi.demon.co.uk> Cancel
From: news@steffi.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1m84iv$2d7@steffi.demon.co.uk> Control: cancel <1m84iv$2d7@steffi.demon.co.uk> Date: 23 Feb 1993 15:05:21 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdefh$40o@steffi.demon.co.uk> Cancel
From: robert@steffi.demon.co.uk (Robert David Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Public Key Encryption - NeXTs RSA Date: 23 Feb 1993 16:09:24 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1mdi7k$4ru@steffi.demon.co.uk> What is the story with NeXT's own propertory RSA scheme? Why did RSA stop them from using their own algorithm, does RSA hold a patent on the algorithm or the general idea (Aren't patents fun!!) If anybody has code which implements NeXT's RSA and can send it to me without the NSA jumping down their throats can they please do so. Cheers.
From: hubt@css.itd.umich.edu (Hubert Chen) Newsgroups: comp.sys.next.programmer Subject: Can't run Simson/Garfinkel Chapter 10 app? Date: 24 Feb 1993 04:02:33 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1mes0pINNs4q@stimpy.css.itd.umich.edu> I remember some posting about people not being able to run MathPaper.app in Chapter 10 of the Simson/Garfinkel book? It had something to do with permissions as I recall. I can't seem to get it to work either. Can someone refresh my memory on what the solution was? -- ***** Hubert Chen :: hubt@umich.edu :: NeXTMail welcome ***** Cliff: I just wouldn't want you guys to think any less of me. Norm: That wouldn't be possible Cliff.
From: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz) Newsgroups: comp.sys.next.programmer Subject: dbKit question on tableViews and ordering Date: 24 Feb 1993 04:08:16 GMT Organization: TUBerlin/ZRZ Distribution: world Message-ID: <1mesbgINNn2s@mailgzrz.TU-Berlin.DE> Hi, I want to order the lines of a tableView according to the present arrangement of the columns, but haven't found a nice way to get the property belonging to a given column. I now use the column title for a table lookup, i. e. int cc = [tableView columnCount]; int i; for (i=0; i<cc; i++) [dbRecordList addRetrieveOrder:DB_AscendingOrder for:[self propForTitle:[[tableView columnAt:i] title]]]; plus a hardcoded method for propForTitle:, but of course, this is not satisfactory. Who can help? Carsten
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (MIchael Brill) Subject: Imaging multiple cells into a NXImage Message-ID: <1993Feb24.054813.2975@netcom.com> Sender: yikes@netcom.com (Jenny Doll) Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Wed, 24 Feb 1993 05:48:13 GMT I have a matrix of cells that contain both an icon and text. I need to be able to select a cell and then image that cell and some number of subsequent cells (not necesserily displayed) into an NXImage for a NXDragging session. What's the standard method for doing this? Thanks, ...Michael Brill -- ----
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: jfreem@ecsvax.uncecs.edu (Joe Freeman) Subject: Re: Public Key Encryption - NeXTs RSA Message-ID: <1993Feb24.124447.11775@ecsvax.uncecs.edu> Organization: UNC Educational Computing Service References: <1mdi7k$4ru@steffi.demon.co.uk> Date: Wed, 24 Feb 1993 12:44:47 GMT In article <1mdi7k$4ru@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert David Nicholson) writes: >What is the story with NeXT's own propertory RSA scheme? NeXT could not export it. So they pulled it from the release. >Why did RSA stop them from using their own algorithm, does RSA hold a >patent on the algorithm or the general idea (Aren't patents fun!!) The FEE was going to be used for key encoding. I believe they were still going to use RSA for the body of the messages >If anybody has code which implements NeXT's RSA and can send it >to me without the NSA jumping down their throats can they please do so. I don't know how many customers ever got a copy of the package that included workspace and mail encryption. I would think the number closely approximates 1. -- Joe Freeman jfreem@uncecs.edu The opinions espressed here are my own and are not shared by my former employer, future employer, anyone in my family or anyone else I know of.
From: stefanos@cs.concordia.ca (KIAKAS stefanos) Newsgroups: comp.sys.next.programmer Subject: Need help with TextField. Message-ID: <5785@daily-planet.concordia.ca> Date: 24 Feb 93 14:44:48 GMT Sender: usenet@daily-planet.concordia.ca Organization: Computer Science, Concordia University, Montreal, Quebec Hello, I was wondering how I would go about assigning a value to a TextField? How would I read it back? Do I have to use the read and write methods, or is there a simpler way to assign a few words to a TextField? Are there any examples I could look at? Thanx, stef
From: speters@us.oracle.com (Stephen Peters) Newsgroups: comp.sys.next.programmer Subject: Help with NXBrowserCell subclassing? Message-ID: <1993Feb24.173515.24913@oracle.us.oracle.com> Date: 24 Feb 93 17:35:15 GMT Sender: speters@oracle.com (Stephen Peters) Organization: Oracle Corp at Oracle Corporation. The opinions expressed are those of the user and not necessarily those of Oracle. Hi. I'm a beginning NeXT programmer having a problem that I can't figure out from the documentation: I'm trying to create a browser that uses a subclass of NXBrowserCell, called BookCell. In order to use it, I've put [listBrowser setCellClass:[BookCell class] ]; into my Controller's awakeFromNib method. However, when the Browser calls the delegate's browser:loadCell:row:col method, it is passing an instance of NXBrowserCell, not of my subclass! So, what am I doing wrong? I've thought that I may have to run setCellClass earlier, but unless I subclass the NXBrowser itself, I can't get much earlier than awakeFromNib, can I? Note also that the documentation says not to use the Control class's setCellClass: class method, implying that using the instance method as I did above is correct. Am I wrong? Note also that I've tried using setCellPrototype: instead, with similar results. Any help will be appreciated. E-mail to speters@us.oracle.com. Stephen Peters speters@us.oracle.com I don't speak for Oracle. Who would speak for an oracle?
Newsgroups: comp.sys.next.programmer Subject: Accounting on NeXTSTEP Message-ID: <1993Feb24.095142.4262@nic.csu.net> From: glocker@futon.SFSU.EDU (Andreas R. Glocker) Date: 24 Feb 93 09:51:41 PST Distribution: world Organization: San Francisco State University FOR IMMEDIATE RELEASE FEBRUARY 22, 1993 Contact: Andreas Glocker Sirius Solutions, Inc. 340 Townsend Street, Ste 540 Francisco, CA 94107 415 957-1921 (fax) 415 957-9044 e-mail: checksum@sirius.com TM CheckSum Alpha Demo POSTED ON INTERNET FOR REVIEW AND TESTING POSTED ON: sonata.cc.purdue.edu in directory /pub/next/submissions CheckSum is a financial management system designed and marketed by Sirius Solutions. CheckSum is a NeXTStep program for the single user or small business owner who has basic accounting needs. CheckSum tracks expenses, income, property and cash, and provides Profit and Loss Statements and Balance Sheets. And, of course, CheckSum balances your checkbook and prints checks. To inquire about CheckSum contact Andreas Glocker at Sirius Solutions, Inc. Thanks in advance for helping to develop great personal financial management software! The 1.0 version of CheckSum will be released at the end of the 2nd quarter of 1993. German and French versions are scheduled for release in the 3rd quarter of 1993. Sirius Solutions, Inc. is a software development and consulting firm founded in the spring of 1992. Sirius Solutions focuses on business productivity and financial management software.
Newsgroups: comp.sys.next.programmer From: wisinski@SLAC.Stanford.EDU (Dennis Wisinski) Subject: Re: Programmatically triggering power on. Message-ID: <C2ysyu.4L2@unixhub.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <1993Feb24.005345.4654@leland.Stanford.EDU> Date: Wed, 24 Feb 1993 18:06:29 GMT In article <1993Feb24.005345.4654@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > > > Is there a way to programatically have > the NeXT wake up? > > Thanks. > > -Marcos J. Polanco > -shiva@vega.stanford.edu Click on the Power button in the Preferences application to set a power-up time. -- Dennis Wisinski, Stanford Linear Accelerator Center P.O. Box 4349, MS 97 Stanford, CA 94309 wisinski@slac.stanford.edu (NeXT Mail)
Newsgroups: comp.sys.next.programmer From: sapphire!shill (Sean L. Hill) Subject: Collision-detection with Bitmaps Message-ID: <1993Feb23.013932.671@ccsi.com> Sender: shill@ccsi.com Organization: Crystal Computer Systems, Inc. Date: Tue, 23 Feb 1993 01:39:32 GMT Does anyone have some pointers to how to detect for collision when compositing bitmaps? Thanks for any info. -Sean -- Sean L. Hill Ergo Science Incorporated CCSI Software Kansas City, Missouri E. Longmeadow, Mass.
Newsgroups: comp.sys.next.programmer From: frank@glocke.hotb.sub.org (Frank Thomas) Subject: I can create Help.store Message-ID: <1993Feb23.120512.260@glocke.hotb.sub.org> Keywords: Help,Help.store,Online Help,compressHelp,compress Sender: frank@glocke.hotb.sub.org Date: Tue, 23 Feb 1993 12:05:12 GMT Hello, After some sleuthing NXHelpPanel with the help of gdb, I found out how to compress a Help-directory to a Help.store as it is used in Mail,Edit and other NeXT provided tools. It's about 15K source. Anyone interested in this ? Frank
Newsgroups: comp.sys.next.programmer From: harryt@world.std.com (Harry D Tirrell) Subject: Programmatically doing power off Message-ID: <C2yux1.D9n@world.std.com> Organization: The World Public Access UNIX, Brookline, MA Date: Wed, 24 Feb 1993 18:48:36 GMT Is there any way to power off the NeXT programmaticly? harry --------------------------------------------------------------------------- harryt@world.std.com All comments are my own and tirrellh@novavax.nova.edu bare no relationship to any person, place, or thing now living or dead -- --------------------------------------------------------------------------- harryt@world.std.com All comments are my own and tirrellh@novavax.nova.edu bare no relationship to any
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Displaying real-time bitmaps in a window Message-ID: <6870@rosie.NeXT.COM> Date: 24 Feb 93 18:59:53 GMT References: <1993Feb21.184150.1268@stone.com> Sender: news@NeXT.COM In article <1993Feb21.184150.1268@stone.com> bbum@stone.com writes: > In article <1993Feb20.182944.13617@fnbc.com> drew@fnbc.com (Drew Davidson) > writes: > > In article <1993Feb20.030227.25185@pslu1.psl.wisc.edu> > > giddings@whitewater.chem.wisc.edu (Michael Giddings) writes: > > > We are developing an application that collects data from a CCD camera and > > > displays it on the screen in 0.5 second intervals. The code performs the > > > following: data is collected and put into an NXBitmapImageRep object and > > > then is told to draw itself in the view. The view is sent a Display > > > message, and then the window is then sent a message to flush it's buffer. > > After your display code, put a NXPing() to be sure that you are > synchronized > > with the DPS server. > > If you want the maximum throughput, treat the environment like a BackSpace > view: All the advice given here was good, but I'm guessing it misses the most important point: His animation is not like BackSpace et al where the data is nicely cached in the window server. Rather the data is constructed on the client side and he needs to ship it over to the server and get it imaged as quickly as possible. (What follows is a guess; sometime here I'll write an example of constructing image data in the client on the fly and animating it) It probably helps if the buffer you are constructing is page aligned, try allocating it using vm_allocate(). Furthermore, it helps if the data for your bitmap image rep is the native format that the window server uses for its window. For example, 12 bit no alpha windows use 16 bits per pixel for nice pixel alignment. With NS 3.0 you can create such an unpacked format and the window server will just shove the data quickly into the device. With older NeXTSTEP, you had to send the data packed into 12 bits and then the server would unpack it which bogged things down quite a bit. Bill's advice about using a retained window is good with one caveat: If you do this you should be careful that your retained window depth matches the screen depth (meaning, among other things, that you don't want to promote the window to have alpha) If the depths mismatch, you will actually get a buffered window with retained semantics: it will convert from the window's buffer to the screen and flush on every operator as though the window really were retained, but performance nosedives. hope this helps -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: Public Key Encryption - NeXTs RSA Message-ID: <1993Feb24.175957.12840@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1mdi7k$4ru@steffi.demon.co.uk> Date: Wed, 24 Feb 1993 17:59:57 GMT In article <1mdi7k$4ru@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert David Nicholson) writes: > What is the story with NeXT's own propertory RSA scheme? It's called FEE and it's a Public Key system. RSA is also a Public key system. I think that FEE is not an "RSA scheme", but that may be debatable. PKP probably thinks it is (since PKP holds the RSA patent). NeXT dropped it because of a) Patent trouble b) Export trouble I don't know which one. Who knows? > > Why did RSA stop them from using their own algorithm, does RSA hold a > patent on the algorithm or the general idea (Aren't patents fun!!) They have a very broad patent on Public Key systems. Yeah, patents are great! Even NeXT has them :-( > > If anybody has code which implements NeXT's RSA and can send it to me without the NSA jumping down their throats can they please do so. You can probably use PGP (RSA encryption) and use Terminal services to use it. (I haven't completed the interface though, because of lack of time). It might be illegal to use PGP in tne US. PGP is available on many sites outside of the US. Importing it through the net might be illegal in the US. Get the readme.txt from PGP somewhere (I don't think reading about it is illegal...) Even better, make a bundle inside Mail.app called "cryptor.bundle". Inside the bundle have a Mach object file called cryptor. If this implements the correct methods, you'll have embedded PK encryption in NeXTmail. It's a pity i don't know the correct interface for cryptor.bundle. Tip: make the subdirectory in Mail.app called cryptor.bundle, make a empty file with (and compile it): cat /dev/null >cryptor.c cc -c cryptor.c (Re)start Mail.app. Look! your compose window hasa changed and has a Encryption icon. And your menu has changed! -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Programmatically triggering power on. Message-ID: <1993Feb24.201154.2739@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <C2ysyu.4L2@unixhub.SLAC.Stanford.EDU> Date: Wed, 24 Feb 93 20:11:54 GMT In article <C2ysyu.4L2@unixhub.SLAC.Stanford.EDU> wisinski@SLAC.Stanford.EDU (Dennis Wisinski) writes: > In article <1993Feb24.005345.4654@leland.Stanford.EDU> > shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > > > > > > Is there a way to programatically have > > the NeXT wake up? > > > Click on the Power button in the Preferences application to set a power-up > time. Thanks, but the question was PROGRAMATICALLY; I know how to do it from the UI. The problem is that I'd like to write, say, an auto-backup procedure to run at a user-specified time, which may have to wake up the computer. -Marcos J. Polanco -shiva@vega.stanford.edu -415-691-2255
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Looking for good scientific graphing/plotting kit (objects/palettes) Date: 24 Feb 1993 20:47:04 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1mgms8INNbik@cs.ubc.ca> Something more comprehensive than nxyPalette or the Plotter stuff from the NeXT Advantage example. Chris Roehrig University of British Columbia
From: andrew@cubetech.com (Andrew Loewenstern) Newsgroups: comp.sys.next.programmer Subject: Re: Thread safety Date: 23 Feb 1993 15:21:16 -0600 Organization: Cube Technologies, Inc Message-ID: <1me4gc$e6@imladris.cubetech.com> References: <1993Feb23.000331.6376@prim> In article <1993Feb23.000331.6376@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > >We're told that the appkit is not thread-safe. That's fine and it's >understable that that is NeXT's official position. But does anyone (eg people >at NeXT?) know what can and can't be done with the appkit from threads? For >instance, in general, if only one thread ever uses an object, and that object >doesn't interact with other objects, is that safe? If I'm going to write a >multi-threaded server for distributed objects, I'm going to want to use >_some_ parts of the appkit - Hash tables and List for example. I imagine that >List would only sleep for more memory, and malloc is thread safe. So if just >one thread uses a List object, is it safe? It would be nice to have a list of >classes that are safe if only one thread accesses their objects. HashTable and List can be accessed from any thread, but if you access it from more than one thread, you should use an NXLock to protect it and to keep things sane. The big deal is that interactions with DPS must ocurr in the main thread. The best way to deal with this is to use distributed objects and runInAppKit since messages are dispatched in the main thread in between user-events. andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: tacchi@ccu.umanitoba.ca (Mark G. Tacchi) Subject: -mouseMoved; How to accept responder? Message-ID: <C2z5nB.Jv8@ccu.umanitoba.ca> Sender: news@ccu.umanitoba.ca Organization: University of Manitoba, Winnipeg, Canada Date: Wed, 24 Feb 1993 22:40:22 GMT I have this problem with getting mouseMoved events to my special subclass of View. I realize that I must make this subclass a First Responder, but I am having trouble doing so. This is what I have, but doesn't work. @implementation GameView:View - initFrame: (const NXRect *) rect { . . [window makeFirstResponder:self]; . . } /*initFrame*/ - mouseMoved: (NXEvent *) theEvent { . . return self; } /*mouseDragged*/ - (BOOL)acceptsFirstResponder { return YES; } /*acceptsFirstResponder*/ @end What is the easiest way to make this View accept mouseMoved messages? Any comments or suggestions would be much appreciated. Thanks. -Mark -- Mark G. Tacchi tacchi@next01.cc.umanitoba.ca Unix Support Group (NeXT Mail Welcome) University of Manitoba Computer Services "My opinions are my own, and do not necessarily reflect those of my employer."
From: lupson@geom.umn.edu (Linus Upson) Newsgroups: comp.sys.next.programmer Subject: Re: Public Key Encryption - NeXTs RSA Message-ID: <C2z8zK.8wo@news.cis.umn.edu> Date: 24 Feb 93 23:52:08 GMT Article-I.D.: news.C2z8zK.8wo References: <1993Feb24.175957.12840@rna.indiv.nluug.nl> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota In article <1993Feb24.175957.12840@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > It's a pity i don't know the correct interface for cryptor.bundle. I might be able to help you out there. A while back when I wanted to make loadable tools for IconBuilder, I wrote a "Mole" object to intercept the messages that IconBuilder was sending its tools. The Mole accomplished this feat by using the forwarding mechanism of the obj-c run time. Mole is a root class and only implements a few methods: +initialize, +alloc, and -forward:: (plus some obscurely named ones for internal use). So whenever someone tries to send it a message it doesn't implement (which is just about everything) it automatically gets a forward:: message in which it picks off the original message and its arguments (put that in your c++ pipe and smoke it :-). Anyway, it worked just great. So when I saw your encryption post I recompiled Mr. Mole into a cryptor.bundle. No dice -- Mail.app was too smart and wasn't doing the principalClass thing, but I did get a very helpful message in the console: Feb 24 16:47:51 minkowski Mail[1613]: objc: class `Cryptor' not linked into application Feb 24 16:47:51 minkowski Mail[1613]: objc: class `KeyManager' not linked into application So I made two copies of the Mole.[hm] files and changed the names of the classes to Cryptor and KeyManager. I sicked the new evil cryptor.bundle on Mail.app and viola: Cryptor Mole got message: - init KeyManager Mole got message: - init KeyManager Mole got message: - getPublicKeyFor: I could then get to a number of different panels that deal with encryption. I fiddled with it a bit, but I always ended up getting a "Broken pipe" message in the console when I tried to send encrypted mail. I'm not interested enough in doing encrypted mail to hack this any further, but if anyone wants a copy of the Mole to play with, just let me know. Linus Upson The Geometry Center lupson@geom.umn.edu P.S. The NeXT spell checker doesn't know the word "encryption." Coincidence? I don't think so... :-).
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Rich text format spec on sun4nl.nluug.nl Message-ID: <1993Feb24.212631.13847@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Wed, 24 Feb 1993 21:26:31 GMT For people interested in the Rich Text Format. I received a file with a description. I asked the system administrator of sun4nl.nluug.nl to put it on their system. It can be found on sun4nl.nluug.nl as pub/NeXT/RichTextSpec.rtf if I am informed correctly. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: kloubek@storenext.ucs.sfu.ca (Bill Kloubek) Subject: Looking for a way to monitor port usage Message-ID: <1993Feb22.233105.6043@sfu.ca> Keywords: bootpd port udp Sender: news@sfu.ca Organization: Simon Fraser University, Burnaby, B.C., Canada Distribution: comp.sys.next.programmer Date: Mon, 22 Feb 1993 23:31:05 GMT Perhaps this is a silly question.... I'm wondering if there is a call that a program can make to obtain the same information as the utility 'netstat' obtains. The NeXT on my desk is a BOOTP server for a lab full of macintoshes - as they boot they start a new connection which is reported via netstat; I'd like to write a little application that would continually monitor the booting process; WITHOUT having to spawn calls to netstat. If anybody has any information, I would be most grateful.
From: marc@popcbr.rockefeller.edu ( Marc Johnson) Newsgroups: comp.sys.mac.programmer,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: Mac sound --> NeXT format?? Message-ID: <1993Feb24.152636.5798@rockyd.rockefeller.edu.rockefeller.edu> Originator: marc@popcbr.rockefeller.edu Keywords: Mac NeXT sound sample Organization: Population Council, New York Date: Wed, 24 Feb 93 15:26:36 EST Does anyone know of software (either sources or binaries) to convert Mac sound format files to NeXT format? I have a ton of sounds on my Mac and would like to be able to play them on the NeXT. Please e-mail, or post if you think other folks might be interested. Thanx! marc -- = Marc Johnson "Gimme the beat, boys, and free my soul, = The Population Council I wanna get lost in yer rock'n'roll, = Rockefeller University and drift away..." = NYC 10021 INTERNET: marc@popcbr.rockefeller.edu (129.85.1.235)
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Promoting objects to their subclasses Organization: Primitive Software Ltd. Apparently-To: mail2news@dis.demon.co.uk Date: Wed, 24 Feb 1993 16:27:39 +0000 Message-ID: <1993Feb24.162739.513@prim> Sender: usenet@demon.co.uk It would be nice if you could have an object existing in it's lowest possible class and then being promoted upon demand into a subclass. If you've got lots of objects, you want them to be as lightweight as possible. But there may be occasions when you want them to be capable of doing a lot more. You could create a separate object to carry this functionality, but it would better if you could promote the object itself to become one of it's subclasses. You could even make this promotion invisible - only doing it when one of the subclasses methods is called. Useful, but probably horrendous to implement! Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Subclassing NXProxy? Organization: Primitive Software Ltd. Apparently-To: mail2news@dis.demon.co.uk Date: Wed, 24 Feb 1993 16:13:55 +0000 Message-ID: <1993Feb24.161355.420@prim> Sender: usenet@demon.co.uk Maybe I'm going about this all wrong, but I seem to need a middle ground between proxies and DO copies. I want to sort of subclass the client's proxy for an object. Otherwise I'm going to have to have "shadows" of all the server's objects, because I need everything that's in the server object plus a little bit more on the client side. I don't want to have to include the server's class code in the client which is what is required for object copies. Ideally what I'd like is for the client proxy to be like a subclass of the server's object. The default method implementation, just like current proxies, would be to pass the method on to the server. But you could also override these methods and add new methods and instance variables. I don't require direct access to the server object's instance variables, so this scheme sounds like it _could_ be feasible. You could also make efficiency compromises by making local copies of some variables on the client side - you can only do this presently by object copies and then you lose the ability to make changes on the server side, or to "refresh" your local copy. Anyone else feel the need for this sort of behaviour, or am I approaching it the wrong way? Hmmm... come to think of it, maybe I could roll my own solution by overriding forward:: and sending the proxy a performv::? Dave Griffiths PS: A quick attempt using the following method resulted in the error "encodeData:ofType: unencodable type (v20)" - forward:(SEL)aSelector :(marg_list)argFrame { return [proxy performv:aSelector :argFrame]; } I think I'll just make a pseudo subclass that contains the same method definitions as the server object and bungs them all out to the proxy.
From: gopal@dworkin.wustl.edu (R.Gopalakrishnan) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.os.mach,comp.sys.next,comp.sys.next.misc Subject: Software for NeXT 3.0 Keywords: tcsh,X11R4 Message-ID: <38459@dworkin.wustl.edu> Date: 25 Feb 93 00:16:21 GMT Followup-To: poster Organization: Washington University St. Louis, MO Hi, I'm looking for source (or binaries) of tcsh for the Next 3.0 platform. Also do you have info about X11R4 for the Next in public domain. Thanks. You may reply to gopal@dworkin.wustl.edu
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: CORRECTION: Rich text format spec on sun4nl.nluug.nl Message-ID: <1993Feb25.060944.14583@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1993Feb24.212631.13847@rna.indiv.nluug.nl> Date: Thu, 25 Feb 1993 06:09:44 GMT In article <1993Feb24.212631.13847@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > For people interested in the Rich Text Format. I received a file with a > description. I asked the system administrator of sun4nl.nluug.nl to put it on > their system. > > It can be found on sun4nl.nluug.nl as > > pub/NeXT/RichTextSpec.rtf That should read: comp/NeXT/RichTextSpec.rtf Apologies for the confusion. --Gerben -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: pchung@shearson.com (Paulo Chung) Subject: Re: URGEND: UHDiagramKit Palettes Message-ID: <1993Feb24.133817.15851@shearson.com> Sender: news@shearson.com (News) Organization: Lehman Brothers, Inc. References: <C2p609.Kwy@ra.nrl.navy.mil> Date: Wed, 24 Feb 1993 13:38:17 GMT How can obtain FAQ for this news group ?
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically doing power off Message-ID: <64585@mimsy.umd.edu> Date: 25 Feb 93 04:08:19 GMT References: <C2yux1.D9n@world.std.com> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <C2yux1.D9n@world.std.com> harryt@world.std.com (Harry D Tirrell) writes: > Is there any way to power off the NeXT programmaticly? how about this ? system ("/etc/halt -p"); you may need the binary to be setuid root to work. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: Re: Programmatically doing power off Message-ID: <C2zLH7.Arn@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <C2yux1.D9n@world.std.com> <64585@mimsy.umd.edu> Date: Thu, 25 Feb 1993 04:22:18 GMT In article <64585@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: >In article <C2yux1.D9n@world.std.com> harryt@world.std.com (Harry D Tirrell) writes: >> Is there any way to power off the NeXT programmaticly? > >how about this ? >system ("/etc/halt -p"); > >you may need the binary to be setuid root to work. system() gives me the willies. man 3 reboot is more like it, but you still need to be setuid root... la la la, -- :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com ::
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Public Key Encryption - NeXTs RSA In-Reply-To: jfreem@ecsvax.uncecs.edu's message of Wed, 24 Feb 1993 12:44:47 GMT To: jfreem@ecsvax.uncecs.edu (Joe Freeman) Message-ID: <CEDMAN.93Feb24083508@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1mdi7k$4ru@steffi.demon.co.uk> <1993Feb24.124447.11775@ecsvax.uncecs.edu> Date: Wed, 24 Feb 1993 12:35:08 GMT In article <1993Feb24.124447.11775@ecsvax.uncecs.edu> jfreem@ecsvax.uncecs.edu (Joe Freeman) writes: I don't know how many customers ever got a copy of the package that included workspace and mail encryption. I would think the number closely approximates 1. So Steve Jobs can spend the entire day sending encrypted messages to himself ? He must be having fun. :-) Carl Edman
Newsgroups: comp.sys.next.programmer From: kjh@oce.nl (Karen Hanse) Subject: helpless young maiden looking for C++ knight on white horse Message-ID: <1993Feb16.161432.16851@oce.nl> Originator: kjh@oce-rd2 Sender: news@oce.nl (USENET News System) Organization: OCE Nederland B.V. Date: Tue, 16 Feb 93 16:14:32 GMT Please, please help. When I try to compile a C++ program, I get: /bin/ld: Undefined symbols: _strcmp__FPCcT0 _atoi__FPCc _fprintf__FP6_iobufPCce _fread__FPvUlUlP6_iobuf _fwrite__FPCvUlUlP6_iobuf _printf__FPCce _exit__Fi _fopen__FPCcT0 _fclose__FP6_iobuf _free__FPv *** Exit 1 Stop. What is the problem? Electronic Kisses from Karen ########################################################### # This note does not necessarily represent the position # # of Oce-Nederland B.V. Therefore no liability or # # responsibility for whatever will be accepted. # ###########################################################
Newsgroups: comp.sys.next.programmer Subject: Use of links as in NeXThelp hypertext Message-ID: <1993Feb25.173703.766@otago.ac.nz> From: alastair@farli.otago.ac.nz (Alastair Thomson), University of Otago, Dunedin, New Zealand Date: 25 Feb 93 17:37:02 +1300 I want to use links in an rtf document in the same way as NeXThelp. It is in fact for a help system that requires slightly different functionality. What I would really like is an example of using the NXDataLink and NXDataLinkManager, along with some hints. RTFMing helps a bit, as does looking at the Draw source, but I really would like to save a bit of time and headache on this! Thanks Alastair -- ========================================================================== ===== | Alastair Thomson, | Phone +64-3-479-8347 University of Otago, | Fax +64-3-479-8529 Department of Computer Science, | e-mail alastair@farli.otago.ac.nz P.O. Box 56 | NeXTmail Welcome
From: jimc@tau-ceti.isc-br.com (Jim Cathey) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Help: Mounting floppy images. Keywords: filesystem, image, mount Message-ID: <3145@tau-ceti.isc-br.com> Date: 25 Feb 93 18:05:30 GMT Organization: Olivetti North America, Spokane, WA I have an 030 cube with no floppy drive. This makes it difficult these days to buy software (as you might imagine, although I do have a CD-ROM drive and a QIC tape drive). I have tried to circumvent this problem by grabbing an image of a 2.88 MB floppy via a PC at work that has such a drive. I dd'd this image file over a spare 40 MB SCSI hard disk, trying both /dev/rsd2a and /dev/rsd2h, but to no avail. This 'mutant' filesystem refuses to mount nor does it fsck correctly, but I don't see exactly why it won't. After all, ultimately a filesystem is just a sequence of disk blocks. There must be something with the partition headers that prevents this from working. A disk scan finds spare superblocks, and when I fsck with one of those it is able to get the right volume name of the floppy, but things go to hell soon after that. Oddly enough, I saved the filesystem that was originally on /dev/rsd2a (/NextLibrary/Literature) to QIC tape, and I was able to restore it after the experiment with no ill effects (though I think I should have used rsd2h instead, but I didn't know about this when I started). Obviously, something is going on here that I don't understand. If the NeXT OS were like our system 5.2-oid here at work I could mount a filesystem image file as a volume, but unfortunately our system only understands SysV & PC volume formats. The 5.4 systems here seem to be like the NeXT --- devices or NFS volumes only. Would this trick work to an OD? (I don't have a spare one, but I could probably move one of mine to tape temporarily.) Is there _any_ way I can extract what I need from this image file? -- +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ One Design to rule them all; one Design to find them. One Design to bring them all and in the darkness bind them. In the land of Mediocrity where the PC's lie.
Newsgroups: comp.sys.next.programmer From: mikhe@ida.liu.se (Mike Henry) Subject: Desparately Seeking NXSplitView Examples... Message-ID: <1993Feb25.133733.23451@ida.liu.se> Sender: news@ida.liu.se Organization: CIS Dept, Univ of Linkoping, Sweden Date: Thu, 25 Feb 1993 13:37:33 GMT I have a ScrollView subclass in whose docView I want to display two different Matrix objects horisontally (i.e. not on top of each other), preferably with a SplitView (a la ProjectBuilder Builder window, the gray one). I've been scrounging around everywhere trying to find some examples of any SplitView code that I could use but to no avail. If you know of a way to make this work please share with me. Any and all comments appreciated! -Mike -- Mike Henry INET : mikhe@ida.liu.se /// August Wahlstromsv. 4 /// S-182 31 Danderyd \\\/// SWEDEN TEL : +46 8 755-8687 \XX/
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Keyboards in NS/Intel Message-ID: <1993Feb25.014226.7481@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Thu, 25 Feb 93 01:42:26 GMT I just had a horrible thought: Is NS/Intel going to use a separate key set for each manufacturer's keyboard? Will there be any uniform way to access the function keys of an intel keyboard? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: barger@york.cs.wisc.edu (Victor Barger) Subject: getting an app's context number Message-ID: <1993Feb25.191040.5992@cs.wisc.edu> Sender: news@cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. Date: Thu, 25 Feb 1993 19:10:40 GMT Does anyone know how I can get an application's context number given its name and path? I can get it by sending the app an unhide message and then monitoring the value of [NXApp activeApp], but I've found this to be unreliable. Ultimately I need the application's context number so that I can send arbitrary events to it with PSposteventbycontext(...). If anyone knows of a way to send events to an application without knowing the application's context number that would also work. Any help is much appreciated! Please send e-mail to barger@cs.wisc.edu. Victor Barger
From: tacchi@ccu.umanitoba.ca (Mark G. Tacchi) Newsgroups: comp.sys.next.programmer Subject: Re: -mouseMoved; How to accept responder? Message-ID: <C30Kws.L8z@ccu.umanitoba.ca> Date: 25 Feb 93 17:07:39 GMT References: <C2z5nB.Jv8@ccu.umanitoba.ca> Sender: news@ccu.umanitoba.ca Organization: University of Manitoba, Winnipeg, Canada In <C2z5nB.Jv8@ccu.umanitoba.ca> tacchi@ccu.umanitoba.ca (Mark G. Tacchi) writes: >I have this problem with getting mouseMoved events to my special subclass of View. I realize that I must make this subclass a First Responder, but I am having trouble doing so. I had an email from Andreas Haleger, that suggested that I use: [window addToEventMask:NX_MOUSEMOVEDMASK]; I put it in my appDidInit method, in my GameView and it works fine. Thanks to all that responded! -Mark -- Mark G. Tacchi tacchi@next01.cc.umanitoba.ca Unix Support Group (NeXT Mail Welcome) University of Manitoba Computer Services "My opinions are my own, and do not necessarily reflect those of my employer."
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: edmtl@taxus.uib.no (Thor Legvold) Subject: AcChen BUG(s) ?!? Message-ID: <1993Feb25.200456.4635@alf.uib.no> Sender: edmtl@alf.uib.no (Thor Legvold) Organization: University of Bergen, Norway Date: Thu, 25 Feb 93 20:04:56 GMT Two important ;C) AcChen questions: One: Are there any levels above 13? The program simply reports "Game Over" after completing level 13. Two: It dies. Often. It didn't before (before what, I don't know, just 'before' ;-) How? I start the program, click on 'click here to start', and get the first level on the screen. I click on one tile, and as soon as I click on a legal match, the program and animation hangs, the disk thrashes like mad, and after a while the program dies and disappears. I know next to nothing about programming, but tried to run it under gdb just for fun, and got the following, which matches what I got in the Console... Anyone tell me what it means? I imagine it is trying to send some info to DPS to show on the display, and something is fouled up along the way, but that's just a guess. How to fix it is beyond me. GDB: [20:44] sushi% gdb /clients/mnt/Games/AcChen.app/AcChen Reading symbol data from /clients/mnt/Games/AcChen.app/AcChen... (no debugging symbols found)...done. Reading symbol data from /usr/shlib/libNeXT_s.C.shlib...done. Reading symbol data from /usr/shlib/libsys_s.B.shlib...done. (gdb) run Starting program: /clients/mnt/Games/AcChen.app/AcChen DPS client library error: Error while writing to connection, DPSContext 70224, data -102 Exiting due to Window Server death Program exited with code 0377. (gdb) q [20:47] sushi% Console: HEY - YOU CHEATED! Feb 25 20:41:08 sushi AcChen[514]: DPS client library error: Error while writing to connection, DPSContext 70224, data -102 Feb 25 20:41:09 sushi AcChen[514]: Exiting due to Window Server death Note that the Window Server DOES NOT die, despite AcChen reporting that it does. Logging out and restarting the Window Server fixes the problem temporarily, after a day or so it begins acting up again. I know I shouldn't be posting such trivial stuff to a so serious ;-) newsgroup, but I figure a bug is a bug, and may affect more than just this one game... -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer From: mheubi@itr.ch (Heubi Matthias) Subject: Re: IB question: How to drag _from_ a Text inside a ScrollView? Message-ID: <1993Feb25.195140.14324@itr.ch> Sender: usenet@itr.ch Organization: Interkantonales Technikum Rapperswil (ITR) Switzerland References: <1me59bINNhg4@mailgzrz.TU-Berlin.DE> Date: Thu, 25 Feb 1993 19:51:40 GMT Carsten Schultz writes > > Hi, > > I've got a stupid little problem. I have dragged a ScrollView from the > text palatte, and I can drag a connection to the Text object inside, but I > can't drag a connection from the Text object (i. e. from its textDelegate > outlet) to another object (i. e. a DBModule). Am I missing something? > > Thanxinadvance, > > Carsten I think this is a bug not a feature. I run across this problem after "grouping in scrollview" one of my own custom views. Whenever I wanted to connect an outlet of the custom view I had first to ungroup it. -- Matthias Heubi mheubi@itr.ch (NeXT-Mail welcome!)
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically triggering power on. Message-ID: <64606@mimsy.umd.edu> Date: 25 Feb 93 20:33:41 GMT References: <C2ysyu.4L2@unixhub.SLAC.Stanford.EDU> <1993Feb24.201154.2739@leland.Stanford.EDU> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: >> Is there a way to programatically have the NeXT wake up? > I'd like to write, say, an auto-backup procedure to run at > a user-specified time, which may have to wake up the computer. This may be a stupid question, but if the computer is off, how is your program running? Perhaps you great minds at Stanford have invented virtual cpus? :) If its running on another computer on the net, how could it send messages to some daemon to powerup its local host if that host is powered off? -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Programmatically triggering power on. Message-ID: <1993Feb25.210627.13720@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <64606@mimsy.umd.edu> Date: Thu, 25 Feb 93 21:06:27 GMT In article <64606@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: > shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > >> Is there a way to programatically have the NeXT wake up? > This may be a stupid question, but > if the computer is off, how is your program running? > > Perhaps you great minds at Stanford have invented virtual cpus? :) > > If its running on another computer on the net, how could it > send messages to some daemon to powerup its local host if > that host is powered off? OK, I'm taking my gloves off now. If you look in the Preferences panel, under the Power category, there is an interface to automatically turn on the computer at some date and time. If NeXT can do it, so can I :-) BTW, the responses I have gotten all point to the Defaults database: >I think that if you log in as root and do a dread from the shell to look >at all the defaults, you will find one that is used to set the time for >power on. The preferences panel allows you to do this, so there must be >some way of achieving it yourself. Take a look at the Preferences >application and see where the targets go. If you had to you could use >otool or something like it to remove the object file that had the method >that does this and then call it from your code (link it into your app). Thanks, Chris Taynor. Virtual CPUs? Come to NeXTworld Expo. -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: pchung@shearson.com (Paulo Chung) Subject: FAQ Message-ID: <1993Feb25.124836.2238@shearson.com> Keywords: NeXT FAQ Sender: news@shearson.com (News) Organization: Lehman Brothers, Inc. References: <1993Feb23.225348.16021@ads.com> Date: Thu, 25 Feb 1993 12:48:36 GMT How can I obtain FAQ for NeXT ?
From: fasano@scarolina.cerfnet.com (Christopher G. Fasano) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: rarp under NS Version 1.0, or 2.0 Date: 25 Feb 1993 22:32:55 GMT Organization: CERFnet Message-ID: <1mjhenINN8ui@news.cerf.net> Keywords: rarp, nrarp Hello, I am still looking for rarp for the NeXT. This seems to be a serious problem and the omission of rarp looks like a bug. I have reported it to the NeXT Techs, and they say rarp was out there as perhaps nrarp in an early version of NeXTSTEP. So, is there anyone out there still at 1.0, or 2.0. Could you look for rarp, or nrarpd for me. Please let me know if you find it, and if possible, send me a copy... Still desperate, Chris Fasano fasano@scarolina.cerfnet.com NeXT MAIL is just fine.
From: yanik%planon@CAM.ORG (Yanik Crepeau) Newsgroups: comp.sys.next.programmer Subject: Re: Using app: powerOffIn: method Keywords: delegate parse sender Message-ID: <1993Feb25.220528.2782@CAM.ORG!planon> Date: 25 Feb 93 22:05:28 GMT References: <1993Feb22.214658.9740@news.columbia.edu> Sender: yanik@CAM.ORG!planon In article <1993Feb22.214658.9740@news.columbia.edu> das15@cunixa.cc.columbia.edu (Douglas A Scott) writes: > I have an App that needs to do some housecleaning before it quits as a > result of the user logging out (in the cases where the App is running at that > time). The main customized class in the nib functions as a delegate to the > "File's Owner". > > According to the documentation, the delegate can redefine a method called > app:powerOffIn: which will be invoked in the event that the user logs out > while the app is running. > > I have two questions/problems: > > 1) I am unable to get this method to show up in the list of actions for my > custom class when I re-parse the .h file. I do not run the parse procedure > anymore because of the amount of code I have already added. All other newly > added actions and outlets show up very nicely when the header file is > re-parsed. The declaration of this particular action is as follows in my .h: > > @interface XDel:Object > { > ... > } > > /* redefined delegate actions */ > > - appDidInit:sender; > - powerOff:(NXEvent *)event; > - app:sender powerOffIn:(int)ms andSave:(int)flag; <- this one > - appWillTerminate:sender; > > ... > > The other actions shown here all parse, show up, and work properly. > > 2) When I compile this program (including the declaration and definition of > this method) and run it, everthing works perfectly except that this method is > not called when the user logs out. Apparently, non of the delegate actions > listed above are called at logout time. > > I am fairly new to building Apps, so forgive my lack of clarity. My main > question is just how to allow my program to clean up when the user logs out? > > Thanks for any help! > > ----------------------------------------------------------------- > Douglas Scott Center for Computer Music Research and Composition > Internet: <doug@foxtrot.ccmrc.ucsb.edu> 1) If I remenber my theory, the only things that apprears in the class Attribute Inspector of Interface builder are instance variables of type ID (one per line) and action: with one parameter named sender. If you have: { id one; // this shows in IB class Attribute Inspector id two, three; // this does not, 2 variable on one line int four; // this does not, no type id } - firstMethod:sender // this shows in IB class Attribute Inspector - secondMethod:(int)sender // this does not, sender must be id - thirdMethod:sender with:a // this does not, method has 2 parameters - forthMethod:something // this does not, parameter is not named sender + fifthMethod:sender // this does not, class method not supported However, this is not important. The method you mentioned does not have to appear in the class Attribute Inspector to be called. You need it (in IB) only if you want to connect a button (or a menu item) to the method. If you want to call it (for debugging reason) create the following method: - dummy: sender { return [self app:NXApp powerOffIn:5000 andSave:YES]; } and connect it with a button in IB. 2) The method you have mentioned is called only if the objet where you have implemented it is the Application's delegate. Be sure that your object is the Application's delegate. -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated Fax: 514-449-6484 -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated
Newsgroups: comp.sys.next.programmer Subject: need a little help with forking and interprocess communication Message-ID: <1993Feb25.221808.14149@urz.unibas.ch> From: frank@ifi.unibas.ch (Robert Frank) Date: Thu, 25 Feb 1993 22:18:08 GMT Sender: news@urz.unibas.ch (USENET News System) Organization: Institut fuer Informatik Keywords: fork, select, pipe I hope it's not a FAQ; I was too lasy to get the newest FAQ. (Have only a very old one here.) I'm trying to set up an interprocess communication between a calling and it's child process. I have no problems with 'normal' c when starting from a shell. I first set up the pipes (with pipe()), then fork the child and reset (dup2()) the std... channels, then execl the other process. This works. But if I do the same from withing an application (craeted by PB/IB), it fails and causes the application to hang. I CAN, however, set up the pipes, fork and execl a new process as long as only stdout is used. As soon as I pipe stderr, the process hangs. I cannot send any data from the caller to the child. I also noticed that the execl'd process does not get its name set properly in the process table. With the 'normal' version started from a shell, this is properly set. I must be doing something wrong, but what? Any help would be greatly appreciated. -Robert -- Robert Frank tel. + (061) 321 99 67 Institut fuer Informatik fax + (061) 321 99 15 University of Basel, Switzerland Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT mail accepted) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch ( if all fails try frank@urz.unibas.ch )
From: yanik%planon@CAM.ORG (Yanik Crepeau) Newsgroups: comp.sys.next.programmer Subject: Re: getenv in NeXT Message-ID: <1993Feb25.221556.2852@CAM.ORG!planon> Date: 25 Feb 93 22:15:56 GMT References: <1993Feb22.235153.1701@wuecl.wustl.edu> Sender: yanik@CAM.ORG!planon In article <1993Feb22.235153.1701@wuecl.wustl.edu> zqx@wucs1.wustl.edu (Zeqing Xia) writes: > > Does anyone know how to get environment values in NeXT? I tried getenv() > which only works when you launch the program from a terminal. If you > launch the application from Workspace, the .cshrc is not executed and > the settings of environment variables are not possible. > > Thanks in advance. > > Zeqing Xia Declare: extern char **environ; This is a null terminated array of strings like HOME=/Net/Users/yanik That works BUT... It is very hard to set up the environment variables when you launch a program using WorkSpace Manager (double-click an icon). The task the double-click launches does not inherit the environment variables of you (defined by .login, .profile or .cshrc of your home directory) but it inherit from the Workspace's environment which is hardcoded defined. I STRONGLY suggest you to use the default database mechanism to set up your internal environment. -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated Fax: 514-449-6484 -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: strobel!till (Tillmann Strobel) Subject: Printersoftware for CLC10/CJ10 Message-ID: <1993Feb24.160810.812@strobel.cube.de> Sender: till@strobel.cube.de Organization: Tillmann Strobel,D-7064 Remshalden 333 Date: Wed, 24 Feb 1993 16:08:10 GMT hi folks, i am looking for a good printersoftware for my nextdimension to connect the canon color copier clc10/cj10 to it. is there a possiblity to get such a software? is anybody developing such a software... thank you very much for your help till please mail your answer to till@strobel.cube.de
Newsgroups: comp.sys.next.programmer From: dahla@mksol.dseg.ti.com (alexander dahl) Subject: For Sale: NeXSTEP Programming, Step One: OO Applications Message-ID: <1993Feb26.053639.3383@mksol.dseg.ti.com> Organization: Texas Instruments, Inc Date: Fri, 26 Feb 1993 05:36:39 GMT Well since I sold my NeXT just after receiving this book I no longer have hardware to program. Please make offers to get your hands on the best programming cook book out there. -- Alex Dahl dahla@lobby.ti.com or dahla@mksol.dseg.ti.com Remember: My expressions are unknown to my employer nor do they care.
Newsgroups: comp.sys.next.programmer From: prich@netcom.com (Paul Richardson) Subject: Help with one of the examples in Mahoney/Garfinkel Message-ID: <1993Feb25.222548.23436@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) Distribution: usa Date: Thu, 25 Feb 1993 22:25:48 GMT I need some help, I am grinding my way through the Garfinkel/Mahoney book. I have attempted some modifications to one of the applications (MathPaper, for those of you curious).This application, in order to run forks, a process and runs a program in this new child process.The code as it is written in the book, expects the program it will run to live in the Apps directory of my home area.I used PB to add the program to the project, and then added some code to use the NXBundle class to find the directory within the bundle that this program uses.It then passes this information along to the rest of the app for subsequent later use.The problem is that the application, upon firing it up, starts normally and displays one "MathPaper" window.If you try to create additional windows the app complains as follows "Assertion failed: loadNIBSection: could not find data" Below, find the method in question... - setUp { NXBundle *myBundle; char *argv[2] = {0,0}; /* Lets find out the bundle we are in */ myBundle = [NXBundle bundleForClass:[self class]]; argv[0] = malloc(MAXPATHLEN + 1); (const char *)argv[0] = [myBundle directory]; strcat(argv[0], EVALUATOR_FILENAME); proc = [[Process alloc] initFromCommand:argv]; if (!proc) { NXRunAlertPanel(0,"Cannot create calculator: %s",0,0,0, strerror(errno)); [window performClose:self]; return nil; } [proc dpsWatchFD:printer data:self priority:NX_BASETHRESHOLD]; return self; } Here is the line of code which tries the load of the nib section if ([NXApp loadNibSection:"paperwindow.nib" owner: self] == nil){ return nil; } During the first time through, the following line of code " if ([newCalc setUp]){ " is run, this is where the bundle is actually queried my guess is that the first time through the world is fine, but something about querying the bundle clobbers the information which the app uses to to load up the nib section a second time.Anywayz I may have not explained what is going on too well so if you can help or need additional info send mail to me direct at prich%monk.uucp@netcom.com thanx prich%monk.uucp@netcom.com
Newsgroups: comp.sys.next.programmer From: jfreem@ecsvax.uncecs.edu (Joe Freeman) Subject: Re: Programmatically triggering power on. Message-ID: <1993Feb26.000939.7295@ecsvax.uncecs.edu> Organization: UNC Educational Computing Service References: <64606@mimsy.umd.edu> <1993Feb25.210627.13720@leland.Stanford.EDU> Distribution: usa Date: Fri, 26 Feb 1993 00:09:39 GMT In article <1993Feb25.210627.13720@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: >In article <64606@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: >> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: >> >> Is there a way to programatically have the NeXT wake up? > >> This may be a stupid question, but >> if the computer is off, how is your program running? >> >> Perhaps you great minds at Stanford have invented virtual cpus? :) >> >> If its running on another computer on the net, how could it >> send messages to some daemon to powerup its local host if >> that host is powered off? > >OK, I'm taking my gloves off now. > >If you look in the Preferences panel, under the Power category, >there is an interface to automatically turn on the computer at >some date and time. If NeXT can do it, so can I :-) This works because preferences programs a clock chip on the motherboard. When the time out is reached, the clock chip pulls the same line that the keyboard does, more or less. It is not running a program and the machine is powered off until the clock chip signals the power supply. -- Joe Freeman jfreem@uncecs.edu The opinions espressed here are my own and are not shared by my former employer, future employer, anyone in my family or anyone else I know of.
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: IB question: How to drag _from_ a Text inside a ScrollView? Message-ID: <1993Feb25.140353.7984@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1me59bINNhg4@mailgzrz.TU-Berlin.DE> Date: Thu, 25 Feb 93 14:03:53 GMT In article <1me59bINNhg4@mailgzrz.TU-Berlin.DE> carsten@pizza.fb10.tu-berlin.de (Carsten Schultz) writes: > > Hi, > > I've got a stupid little problem. I have dragged a ScrollView from the > text palatte, and I can drag a connection to the Text object inside, but I > can't drag a connection from the Text object (i. e. from its textDelegate > outlet) to another object (i. e. a DBModule). Am I missing something? > > Thanxinadvance, > > Carsten Unfortunately you can not do this in 3.0. Hopefully this will be fixed in 3.1. For now ungroup from the scroll view, connect, then group in scroll view. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: Programmatically triggering power on. Message-ID: <C31st1.Gww@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <1993Feb25.210627.13720@leland.Stanford.EDU> Date: Fri, 26 Feb 1993 08:55:48 GMT In article <1993Feb25.210627.13720@leland.Stanford.EDU>, shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > > If you look in the Preferences panel, under the Power category, > there is an interface to automatically turn on the computer at > some date and time. If NeXT can do it, so can I :-) I've discovered some useful information about the power on feature present on some NeXT machines. As previously mentioned, this functionality is provided courtesy some hardware chip gizmo (which I know ~nil about). It's unfortunate that not all machines have this chip. The undocumented /usr/lib/Preferences/clock_chip command provides us with a pseudo API. Here's a C function that would accomplish your purpose: /* Assumes NeXTSTEP 3.0 */ #include <sys/types.h> #include <stdio.h> #define CLOCK_CHIP_UTIL "/usr/lib/Preferences/clock_chip" void power_on_at(time_t when) { char cmd[256]; sprintf(cmd, "%s -A 1; %s -T %d", CLOCK_CHIP_UTIL, CLOCK_CHIP_UTIL, when); system(cmd); /* Check for error if you care */ } If you're particularly ambitiuous about what clock_chip does, "use the source, luke" with otool. It apears to be mucking with /dev/vid0. Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Irritating DBQualifier Trait Message-ID: <1993Feb25.140244.7930@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1me3ajINNjs0@access.digex.com> Distribution: usa Date: Thu, 25 Feb 93 14:02:44 GMT In article <1me3ajINNjs0@access.digex.com> jimb@access.digex.com (Jim Brooking) writes: > > > I just stumbled onto a strange thing regarding DBQualifiers... > > The ..andDescription and addDescription enclose %s parameters in > apostrophes ('). > > So this: [aQual addDescription:"doc like '%%%s%%'","FISH"]; > produces: doc like '%'FISH'%' > > Which, when you think about it, makes it difficult to get a qualifier > to do wildcard searches in a database... >8^| > > I got around the problem by doing this: > > sprintf (where,"%%%s%%",[doc stringValue]); > [aQual addDescription:"doc like %s",where]; > > The sprintf takes care of the percents, while the addDescription > takes care of the apostrophes ('). > > Is there a way (short of subclassing) to make DBQualifier NOT act > that way? > > BTW, a pet peeve of mine is when people call an apostrophe a quote. 8^) > -- > jimb@access.digex.com | (Cage) 1991 323se (MD ZCP-710) | Comus Road > Merry Land (MD) U.S.A. | (Bike) "Gotta have" the new CBR1000f | ClarksBURG > -----------------------+-------------------------------------------+----------- > Mail is forwarded to NeXT "Happy Happy Joy Joy!" -Stimpy I had the same confusion when reading the docs. The %s is meant to be string literals in the qualifier. I use a real sprintf to construct the description when the text is dynamic. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: chris%milo@wpa.com (Chris Cleeland) Subject: How do you reflect an object's data into a panel? Message-ID: <1993Feb26.060722.4021@milo.UUCP> Keywords: panel dazed confused Sender: chris@milo.UUCP Organization: Milo Designs Distribution: na Date: Fri, 26 Feb 1993 06:07:22 GMT Okay. So I've got this object -- let's call him Controller. Controller has a data member called "currentEntry", which is a reference to an object of class Entry. Now, currentEntry has data in its data members (good place, right?) Some of the data needs to be displayed to the user for purposes of perusal/modification. So...there is this pretty panel concocted with the aid of Interface Builder. Has lots of neato looking objects like TextFields, an NXBrowser, popup menus, etc. It is intended to be the User's interface to the data in currentEntry. right?) Some of the data needs to be displayed to the user for purposes of perusal/modification. So...there is this pretty panel concocted with the aid of Interface Builder. Has lots of neato looking objects like TextFields, an NXBrowser, popup menus, etc. It is intended to be the User's interface to the data in currentEntry. The million dollar question is.... How do I (from Interface Builder, preferably) connect objects so that I can get thats tucked inside currentEntry reflected in the objects painted in the panel, and vice-versa? I think I'm going crazy! Note: I have the Garfinkel-Mahoney book, so references to that are Good. References to other books are happily accepted also, I probably just don't have them :-) Thanks in advance for your wisdom! -- ------------------------------------------------------------- Chris Cleeland | Internet: chris%milo@wpa.com Consultant/NeXT Advocate | UUCP: wupost!nimno!milo!chris Milo Designs | BellNet: (314) 771-3860
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: cross development with 040/486 Organization: MIND LINK! - British Columbia, Canada Date: Fri, 26 Feb 1993 17:02:01 GMT Message-ID: <21468@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet) We are looking into doing a joint project. Some of us will have slabs, and some of us will be running NS 486. I understand that their will be a cross compiler for the binaries on the 040 machines for the 486. And I heard that it wont be some time for the other way around? I'm not so concerned about that, so long as the source-code recompiles just fine on either machines. But when is NeXTstep 3.1 going to be available for the 040 slabs? NS 486 apparently uses NeXTstep 3.1.. Would there be any problems with some of us developing with the 040 slab using 3.0, and some of us running 3.1? Or will we just have to wait and see what kind of incompatabilities we will run into? Does anyone suggest that for now, we should look into all standardizing on one machine, or would it really matter? Or is NS 3.1 for slabs due out the same date as NS 486? Could someone fill us in here, and give us some suggestions? Thanks.. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca BBS: (604) 852-1866, or FidoNet :-) 1:153/513 CANADA eh? -----------------------------------------------------------------------------
From: matthews@oberon.umd.edu (Mike Matthews) Newsgroups: comp.sys.next.programmer Subject: pfind() anyone? Keywords: kernel proctable argh Message-ID: <18695@umd5.umd.edu> Date: 26 Feb 93 18:11:22 GMT Sender: news@umd5.umd.edu Organization: University of Maryland, College Park, MD I've got a question I'd like to blast to the community. I'm trying to determine a process ID, given a process name. I don't want to use something like popen() to fire off a ps axc | grep <name> type deal. I've looked in the online docs, I've looked in the header files, but quite frankly, I'm not too sure I know what I'm looking for. This kernel stuff is a bit over my head yet, although it sure looks like fun. I envisioned being able to get a pointer to the process table (by seeking to to somewhere in /dev/kmem and reading into some pre-defined struct) and searching that. I can't find the definition of any process entry though. Nor can I find out how to find where that is in /dev/kmem. I did, however, stumble across a pfind() system call without an associated man page. Does this mean process find? I *think* so because it's right next to a pidhash function in the kernel (obtained by gdb'ing /mach and displaying the assembly code to pfind). I also *think* that this mysterious pfind call takes two pointers (well, 8 bytes) as arguments. I have no idea what it returns. Anything that would help me figure this out would be greatly appreciated. A header file, a function, heck, a code snippet.. anything. Thanks. ------ Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted) ------ I'm very good at integral and differential calculus, I know the scientific names of beings animalculous; In short, in matters vegetable, animal, and mineral, I am the very model of a modern Major-General.
Newsgroups: comp.os.mach,comp.sys.next.programmer From: njacobs@itmnxj.corp.mot.com (Norm Jacobs) Subject: use of "table()" Organization: MOTOROLA Date: Fri, 26 Feb 1993 17:23:51 GMT Message-ID: <1993Feb26.172351.2254@schbbs.mot.com> Keywords: table, documentation Sender: news@schbbs.mot.com (Net News) I am working on a system running NeXTStep 3.0. It implements a a function called "table()". This function is part of the original Mach distribution that NeXTStep is based on, and has some features that I would like to use. the only problem is that I can't find any documentation for it. If someone happens to have a man page, source code for it, or documentation on it, could they please send me it. Thanks, -Norm -- ------------------------------------------------------------------------ Norm Jacobs Domain: jacobs@mot.com Senior Staff Engineer Motorola X.400: ANJ001 Information Technology Management Voice: (708) 576-5403 Motorola, Inc. Fax: (708) 576-6388
From: dave@prim.demon.co.uk (Dave Griffiths) Newsgroups: comp.sys.next.programmer Subject: Problem with bycopy Message-ID: <1993Feb26.201400.2017@prim> Date: 26 Feb 93 20:14:00 GMT Sender: usenet@demon.co.uk Organization: Primitive Software Ltd. I can't seem to get bycopy to work. I want the server to return a copy of a List object to the client. Here is the server method: - (bycopy inout id)childList:(bycopy inout id *)outList { *outList = childList; return childList; } (I'm trying two different ways of returning it because the obvious way didn't work either). The List is a FullCopyList as defined in the Examples. The List's encodeRemotelyFor method gets called, but isBycopy is always NO. The only examples NeXT give are of copying inward. Actually, another odd thing is that if you put the line: - (bycopy inout id)childList:(bycopy inout id *)outList; (or any similar variation) into the header file, it won't compile. I have to remove the bycopy from the header file and leave it in the .m file. Maybe this is related to the fact that I'm not using protocols? Dave Griffiths
Newsgroups: comp.sys.next.programmer From: ljmassa@seurat.berkeley.edu (Lauren Massa-Lochridge) Subject: Palette conversion, 2.X to 3.0: loading palette/hashing error Message-ID: <1993Feb27.011411.24199@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, Berkeley Date: Sat, 27 Feb 1993 01:14:11 GMT I've recently started working on a NeXt cluster - I'm not very familiar with the environment yet. I'm trying to convert a bunch of palettes created under 2.X to the 3.0 environment. I am an experienced programmer (mostly Sun/Vaxen/ Unix) but new to the NeXTs, if you have an "gotcha's" you can warn me about, please do! My current problem: When attempting to load a palette that was converted 2.x to a 3.0, from IB I get: Unable to load palette:/usr/users/ljmassa/Apps/tmpLib/current.knobs/KnobPalette.palette. The error msg I get in the console corresponding to this error is: *** HashTable: count differs after rehashing; probably indicates a broken invariant: there are x and y such as isEqual(x, y) is TRUE but hash(x) != hash (y) I can open the .nib successfully - I just can't seem to load the palette ... Any ideas at all on what this might be will be appreciated. I'll summarize if the problem turns out to be worthy of one. thanks in advance, Lauren >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Lauren Massa-Lochridge ljmassa@radon.berkeley.edu CIM Group EECS/ERL ljmassa@delft.berkeley.edu Systems Integration Lab IEOR University of California at Berkeley <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Problems using gcc 2.3.3 Message-ID: <1993Feb24.132547.596@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <1993Feb23.001051.6437@prim> Date: Wed, 24 Feb 1993 13:25:47 GMT In article <1993Feb23.001051.6437@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > >NXPoin, NXSize etc., etc. were not implemented as objects? In C++ it would have > >been easy (both to program, use, and subclass), and if would have been > >EFFICIENT! > > Aren't they easy to program and use and also efficient _without_ being > objects then? You'll be wanting your ints to be objects next! > Well, that's the way it's done in SmallTalk :-) -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de Mein liebster Grabspruch: Hier ruhen meine Beine, ich wollt, es waeren Deine! ------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: nfield@wilshire.math.ucla.edu (Norman Field) Subject: Problem with g++ under Nextstep 3.0 Message-ID: <1993Feb26.230913.28080@math.ucla.edu> Sender: news@math.ucla.edu Organization: UCLA Mathematics Department Date: Fri, 26 Feb 93 23:09:13 GMT I have been trying to get the c++ compiler to work on my Nextstation runnning Nextstep 3.0. I downloaded libg++-1.39.0 from the gnu archive site to get the header files. I'm assuming the C++ Technote is correct that I do not need to compile libg++.a. I have successfully compiled and linked c++ code which includes constructers and destructors. However, when I try a simple cout<<"hello world" program the linker fails. Does anyone know what the problem is? The following is a script of the session where I tried to compile the program hello.cc: --------------------------- localhost:1# cat hello.cc #include <stream.h> main() { cout<<"hello world \n"; } localhost:2# cc++ -I/me/C++/libg++-1.39.0/g++-include -v hello.cc Reading specs from /lib/m68k/specs gcc version 1.93 (68k, MIT syntax) /lib/m68k/cpp -lang-c++ -v -I/me/C++/libg++-1.39.0/g++-include -D__GNU__ -undef -D__OBJC__ -D__GNUC__=2 -D__GNUG__ -D__cplusplus -Dmc68000 -Dm68k -DNeXT -Dunix -D__MACH__ -D__BIG_ENDIAN__ -D__ARCHITECTURE__="m68k" -D__mc68000__ -D__m68k__ -D__NeXT__ -D__unix__ -D__MACH__ -D__BIG_ENDIAN__ -D__ARCHITECTURE__="m68k" hello.cc /usr/tmp/cc000381.cpp GNU CPP version 1.93 (68k, MIT syntax) /lib/m68k/cc1plus /usr/tmp/cc000381.cpp -quiet -dumpbase hello.cc -version -lang-objc -o /usr/tmp/cc000381.s GNU C++ version 1.39.1 (based on GCC 1.39) (68k, MIT syntax) compiled by GNU C version NeXT devkit-based CPP 3.0. default target switches: -m68020 -mc68020 -m68881 -mbitfield /bin/as -o hello.o /usr/tmp/cc000381.s /bin/ld -lcrt0.o hello.o -lsys_s /bin/ld: Undefined symbols: _cout _op$alshift__7ostreamPCc localhost:3# ---------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy,comp.sys.next.misc From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Open Protocols for NeXTstep Message-ID: <1993Feb27.035340.2502@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Sat, 27 Feb 93 03:53:40 GMT Information Letter #0 February 26, 1993. Hello, I have talked to several developers previously about the project we have embarked upon here at The Research Libraries Group. We are building a sophisticated workflow development environment for NeXTstep, undergirded by an object database (ala Lotus Notes). One of the components we would like to place in our system is a calendar/scheduler to fire off processes on certain dates, provide a user interface to track the progress of tasks, and to schedule activities. Rather than write our own scheduler, we have entered into a dialogue with the NeXTstep development community to define a standard calendaring protocol our application could count upon, one that several products could implement. Rather than writing or buying a calendar object and linking it into our application, we envision a distributed model, where our engine would pass messages to a remote, protocol-conforming calendar server. This approach would not only speed the development of our application; it would also reduce program size, free our customers to choose their favorite calendaring applications, allow engines and servers to be upgraded separately, and free us from creating interfaces to the outlying servers we depend on, since those will be provided by the independent vendors. This attempt to decouple the components of our workflow environment from each other, however, could also form part of a broader effort to establish several application-specific protocols to facilitate inter-application communication. While NeXTstep provides a rich set of underlying technologies for these interactions, without standards we will see the benefits of this fully object-oriented operating system rot in the vine. It is true that customers buy applications, not technologies. Yet the software which has emerged for NeXTstep over the past few years has followed the monolithic model of the DOS world to an alarming degree; while they are BUILT with objects, they are not SHIPPED as such. "Services" does not provide the level of interaction necessary. Few applications provide APIs for others to use, and these are often incompatible with each other. Please refer to the sad commercial story of the dozen Unixes to predict the future if this direction is left unchecked. NeXT itself has taken responsibility for defining general-purpose protocols, like NXDecoding and NXReference, but lacks the resources to establish others, like standard links to math engines, documents, spreadsheets, compression engines, programming tools, calendars, mail engines, etc. The exception is, of course, the vital DBKit. Other vendors are ahead in this regard. But in case you are getting complacent with the lead NeXTstep enjoys over Pink and Cairo, however, take a look at the work being done today with AppleScript/AppleEvents and Microsoft's OLE servers. While these environments are not fully object-oriented, those developer communities are beginning to form the necessary organizational infrastructures for the new age of computing. Unfortunately for Windows, though, its software shops are engaged in a rabid war over the establishment of APIs: VIM vs. MAPI, StacCompressionAPI vs. Microsoft's, IDAPI vs. ODBC, the list goes on an on. We can avoid this. I propose we form an organization to coordinate the formation of these open, standard protocols. The development of these application-level protocols can lead to tremendous growth within our object marketplace, a success which could spill over into the larger software arena when other object-oriented operating systems come on line; as Cairo and Pink grope for maturity, we will be ready with OO standards, thus giving present NeXTstep developers a marked lead in the next generation of the computer industry. I propose to name the organization OPN (pronounced 'open') as in Object Protocols for NeXTstep. NO-OP (NeXTstep Object Oriented Protocols) also comes to mind, but let's not be defeatist here. We need the input from as many vendors, developers, and customers as possible. If people clamor for it, I'll set up an alias so that we can communicate better and determine a direction for the group, if we decide to organize it. Of course, we will seek to coordinate OPN's activities with NeXT's, such that our protocols mesh with NeXTstep's future features. If NeXTstep is going to play major-league ball, we'll have to do this. -Marcos J. Polanco -Programmer/Analyst -The Research Libraries Group -shiva@vega.stanford.edu (NeXTmail) -415-691-2255 (voice) -415-964-0943 (fax) -1200 Villa Street, Mountain View, CA 94041-1100 (USMail)
Newsgroups: comp.sys.next.advocacy,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Open Protocols for NeXTstep Message-ID: <1993Feb27.035813.2727@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Sat, 27 Feb 93 03:58:13 GMT Please direct followups to c.s.n.advocacy. Thank you. -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: RangeSlider - new Control available for beta testing Message-ID: <1993Feb23.180349.796@afs.com> Sender: greg@afs.com Date: Tue, 23 Feb 1993 18:03:49 GMT We've just finished writing a new type of Slider that you don't even realize is missing from the appkit until you hear about it, and then you say to yourself, "Why didn't NeXT think of that before?" The new object is a RangeSlider. Its chief benefit over standard Sliders is that you can set both ends of a data range inside one control. It looks sort of like this (pardon the ASCII, but my mailbox scorches easily from RTF flames): ------------------------------------------------------------ |xxxxxx|-------\******************xxxxxxxxxxxxxxxxxxxxxxxxx| |xxxxxx|-------/******************xxxxxxxxxxxxxxxxxxxxxxxxx| 0.00 |xxxxxxxxxx***********************xxxxxxxxxxxxxxxxxxxxxxxxx| 1.00 |xxxxxxxxxx******************/-------|xxxxxxxxxxxxxxxxxxxxx| |xxxxxxxxxx******************\-------|xxxxxxxxxxxxxxxxxxxxx| ------------------------------------------------------------ where 'x' is the standard 50% background fill, '*' is dark gray to indicate the selected range, and the arrows look like miniature Slider knobs with a point to indicate the direction of the fill. Contrary to my exaggerated scaling above, the actual RangeSlider is only 2 points wider (18) than a standard Slider (16). Key features: 1) Both horizontal and vertical RangeSliders are supported. 2) All normal Slider click and drag operations are supported. If the initial mouseDown occurs in the top (or in a vertical RangeSlider, left) half of the tracking area, the greaterThan knob is focused. If the initial mouseDown occurs in the bottom (or right) half, the lessThan knob is focused. If the Alt key was down at the time of the initial mouseDown, the range itself is locked, and both knobs move simultaneously to preserve the size of the range. 3) Ranges can be inclusive (AND) or exclusive (OR). The exclusive case occurs when the arrows are reversed, and looks like this: ------------------------------------------------------------ |******/-------|xxxxxxxxxxxxxxxxxx*************************| |******\-------|xxxxxxxxxxxxxxxxxx*************************| 0.00 |**********xxxxxxxxxxxxxxxxxxxxxxx*************************| 1.00 |**********xxxxxxxxxxxxxxxxxx|-------\*********************| |**********xxxxxxxxxxxxxxxxxx|-------/*********************| ------------------------------------------------------------ For data sets where the OR condition has no meaning, exclusive ranges can be disabled (on the IB inspector or programmatically). In that case, the buttons are not allowed to 'cross'. 4) Both initial range values (greater than/less than) can be set on the IB inspector. 5) TextFields can be hooked up to the minValue and maxValue, and are echoed automatically when the endpoints change. 6) TextFields, or a Matrix of TextFieldCells, can be hooked up to dynamically display and supply the greaterThanValue and lessThanValue. (The target/sendAction method is extended to propogate both values.) 7) A Matrix of RangeSliderCells can be connected to a Matrix of TextFieldCells for the same interactions described in items 5 and 6. If you are interested in beta testing this object, or if you have ideas for additional features, please send email to greg@afs.com. I will send back a palette and a sample nib showing how it can be hooked up. BE SURE TO INDICATE WHETHER YOU NEED A 2.X OR 3.0 VERSION. Caveat emptor: this object is NOT shareware. In final release, it will be sold as part of our AfsControlKit, which also includes enhanced TextFields, RadioButtons and Checkboxes. That's the stick, but here comes the carrot: Beta testers will be able to purchase at a substantial discount. Details will be provided with the beta copy. Thanks for your assistance in improving the universe of ObjectWare. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: Can a script close it's own console window? Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Sat, 27 Feb 1993 08:44:06 GMT Message-ID: <16B822676.UC512052@mizzou1.missouri.edu> Hello fellow users, I have put in my preferences database .NeXTdefaults.L: Workspace LaunchPaths ${HOME}/.loginhook which does an excellent job starting some miscellaneous processes. As usual, good is never quite good enough. I would like the WorkSpace console window which opens up for this script to close when the process exits. I have tried killing the grepped output from ps, but this does not work. My only other idea is to somehow determine the window number and message pft, but my skills in this area are lacking, and Librarian was not much help. I would appreciate email replies on this topic, with the customary summary to the net if I get workable answers. Regards, David K. Drum uc512052@mizzou1.missouri.edu
From: da0g+@andrew.cmu.edu (David Apfelbaum) Newsgroups: comp.sys.next.programmer Subject: Re: dbKit question on tableViews and ordering Message-ID: <YfX3Nfe00WA7RexJ5c@andrew.cmu.edu> Date: 24 Feb 93 17:00:59 GMT Article-I.D.: andrew.YfX3Nfe00WA7RexJ5c Distribution: world Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA In-Reply-To: <1mesbgINNn2s@mailgzrz.TU-Berlin.DE> Excerpts from netnews.comp.sys.next.programmer: 24-Feb-93 dbKit question on tableView.. by Carsten Schultz@pizza.fb >I want to order the lines of a tableView according to the present >arrangement of the columns, but haven't found a nice way to get the >property belonging to a given column. I now use the column title for a >table lookup, i. e. > >int cc = [tableView columnCount]; >int i; > >for (i=0; i<cc; i++) > [dbRecordList addRetrieveOrder:DB_AscendingOrder > for:[self propForTitle:[[tableView columnAt:i] title]]]; > >plus a hardcoded method for propForTitle:, but of course, this is not >satisfactory. Who can help? See the OrderByTest MiniExample. Basically: (1) make your object a the fetchgroup delegate. (ie: [[dbModule rootFetchGroup] setDelegate:self]) (2) Access the properties through the dbTableView's column's identifier. - fetchGroupWillFetch:fetchGroup { int i; for(i=0; i<[dbTableView columnCount]; i++) [[fetchGroup recordList] addRetrieveOrder:DB_AscendingOrder for:[[dbTableView columnAt:i] identifier]]; return self; } DBTableView's columnAt message returns an object that responds to the DBTableVectors protocol, which includes the identifier message to return the DBProperty that column displays data for... -David.
From: mrothste@keiko.acs.calpoly.edu (Rothstein) Newsgroups: comp.sys.next.programmer Subject: NXVideo Message-ID: <1993Feb27.191249.125277@zeus.calpoly.edu> Date: 27 Feb 93 19:12:49 GMT Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo I am working on a project where we want to output to a laserdisk recorder. I was wondering if any one has some example code of outputing a video image through the dimension. I don't need to do anything fancy like adjust colors I just need to send it out. Any help would be greatly appreciated. -- -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Is there a report writer for NeXTstep? Message-ID: <1993Feb27.201946.18224@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Sat, 27 Feb 93 20:19:46 GMT I am looking for a NeXTstep report writer or database (DBKit?) publisher. -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan) Subject: matrix of FormCells Message-ID: <C34KCL.907@helios.physics.utoronto.ca> Sender: news@helios.physics.utoronto.ca (News Administrator) Organization: University of Toronto Physics/Astronomy/CITA Date: Sat, 27 Feb 1993 20:45:57 GMT If I wish to make a horizontal line (row) Form, I can't do it in IB. Is there some way to make a matrix of FormCells in IB (Perhaps dropping a prototype FormCell into what looks like a prototype well in the Matrix Inspector???) I need the utility of the Control to read cell values, etc. I know I can do this programmatically, but it seems odd that I can't do this in IB?!? This has bugged me for quite a while.... Thanks in advance
From: aking@BBN.COM (Allen King) Newsgroups: comp.sys.next.programmer Subject: displayIfNeeded with transparent views Message-ID: <lp08qfINN1me@news.bbn.com> Date: 28 Feb 93 02:28:31 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA Can you get transparent (non-opaque) views to display from their opaque ancestors using view's displayIfNeeded facility? Opaque views seem to work just fine with displayIfNeeded, and transparent views work with vanilla display, but both don't seem to work together. I setOpaque:NO to the transparent view, but that doesn't help. DisplayIfNeeded is crucial for performance of my music editing app, which has hundreds of transparent views on the screen. Displaying all views, or even tagging all views up to the opaque ancestor as needsDisplay, destroys the interactive feel of the program. I even tried [superview displayFromOpaqueAncestor ...] inside the transparent view's drawSelf routine out of desparation. But it causes other side effects What have I missed? What would you do if you had to fix this one? Allen
From: eht+@cmu.edu Newsgroups: comp.sys.next.programmer Subject: Re: Thread safety Message-ID: <eht.93Feb24224442@moo> Date: 25 Feb 93 03:44:42 GMT References: <1993Feb23.000331.6376@prim> Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon Content-Type: text/plain Mime-Version: 1.0 One way to get multiple threads to interface with AppKit objects is to register a Mach port with DPS (see DPSAddPort() and msg_receive() and msg_send() in The Manual). In this way, threads can pass information back to an interested object via messages over an agreed upon port. I'll grant that this somewhat contorted, but it has kept me sane working with multiple threaded applications. If you aren't careful, you get all kinds of wild and weird application behavior. Registering a port (or file descriptor) with DPS seems to be the clearest way to communicate. Without the source to the AppKit, I have no idea what you can do safely. Be aware also that libc (ahem, libsys_s) is not thread safe either. I've had some "interesting" behavior because of doing printf()'s within threads. I've abstracted some of the DPS mechanism sketched above into an object. It's called SafeEvent. Here's the interface: ----------------------------------------------------------------------------- #import <objc/Object.h> #import <mach/mach.h> #import <mach/cthreads.h> #import "trigger_fn.h" @interface SafeEvent : Object { port_t eport; id target; } - setTarget:anObj; - (trigger_fn)setEventAction:(SEL)s; ----------------------------------------------------------------------------------- You'd use it like: - someEventMethod:(char *)userArg { printf("Some thread called me with %s\n", userArg); return self; } void someThreadProc(void (*triggerEvent)(char *arg)) { . . . triggerEvent("Pass this back to the method registered with SafeEvent"); . . . } - someMethod { id safeEvent = [[SafeEvent alloc] init]; void (*triggerFun)(char *arg); /* same kind of idea as Control */ [safeEvent setTarget:self]; /* calls to triggerFun("some Arg") are translated into method calls to someEventMethod: */ triggerFun = [safeEvent setEventAction:@selector(someEventMethod:)]; cthread_fork(someThreadProc, triggerFun); return self; } Hope this helps. If anyone wants to see the hair inside of the implementation of SafeEvent, let me know and I'll post the complete object. ..eric
From: alabbe@pioneer.willamette.edu (Andre Labbe) Newsgroups: comp.sys.next.programmer Subject: activateSelf: Message-ID: <C36EIx.7tA@willamette.edu> Date: 28 Feb 93 20:35:20 GMT Article-I.D.: willamet.C36EIx.7tA Sender: usenet@willamette.edu Distribution: usa Organization: Willamette University, Salem OR I need some help in figuring out how to use 'activateSelf:'. I keep getting an error at compile time. "warning '<name>' does not respond to `activateSelf:'" the line of code is " [self activateSelf:YES]; " Basically I don't know how to use activateSelf: an example would be grate. Thank you for your help.! Andre' Labbe' N7XIZ
From: wiml@stein2.u.washington.edu (William Lewis) Newsgroups: comp.lang.postscript,comp.sys.next.programmer Subject: Re: Reducing line length of PS file SUMMARY Date: 28 Feb 1993 23:39:03 GMT Organization: University of Washington Message-ID: <1mrienINN3tb@shelley.u.washington.edu> References: <1m1ed0INN354@shelley.u.washington.edu> <C2pELG.qw@mentor.cc.purdue.edu> A little while ago I posted about a problem I was having printing PostScript through a print spooler that had a line length limit. (The system generating the long-lined PS is a NeXT; the annoying print spooler is an old VMS box.) I received several code snippets and pointers, the most useful of which was a pointer to the file PSlinewrap.shar on the adobe file server, which does exactly what I was looking for. Thanks to everyone who responded (especially those people whose mail messages I stupidly deleted from my inbox --- including whoever it was who pointed me to PSlinewrap! Oops!) A couple of people also pointed out that the problem gets pretty difficult if you want a solution that works on *all* inputs, because a program can read parts of the input stream as data if it wants. However, the simple algorithm used by PSlinewrap works on all the real-world postscript I've thrown at it, and that's good enough for me. :-) -- Wim Lewis
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Help with NXBrowserCell subclassing? Message-ID: <1993Feb27.123550.639@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Feb24.173515.24913@oracle.us.oracle.com> Date: Sat, 27 Feb 93 12:35:50 GMT In article <1993Feb24.173515.24913@oracle.us.oracle.com> speters@us.oracle.com (Stephen Peters) writes: > Hi. I'm a beginning NeXT programmer having a problem that I can't figure > out from the documentation: > > I'm trying to create a browser that uses a subclass of NXBrowserCell, called > BookCell. In order to use it, I've put > > [listBrowser setCellClass:[BookCell class] ]; > > into my Controller's awakeFromNib method. However, when the Browser calls > the delegate's browser:loadCell:row:col method, it is passing an instance of > NXBrowserCell, not of my subclass! > > So, what am I doing wrong? I've thought that I may have to run setCellClass > earlier, but unless I subclass the NXBrowser itself, I can't get much earlier > than awakeFromNib, can I? > > Note also that the documentation says not to use the Control class's > setCellClass: class method, implying that using the instance method as I did > above is correct. Am I wrong? > > Note also that I've tried using setCellPrototype: instead, with similar > results. > > Any help will be appreciated. E-mail to speters@us.oracle.com. > > Stephen Peters > speters@us.oracle.com > I don't speak for Oracle. Who would speak for an oracle? The following combination is my standard for browsers. I have not used the load method you mention however. - awakeFromNib { /* ** Initialize the browser. */ [browser getTitleFromPreviousColumn: YES]; [browser setCellClass: [DatabaseBrowserCell class]]; [browser setMinColumnWidth: 100]; /* ** Load entities. */ [browser loadColumnZero]; return self; } - (int)browser:sender fillMatrix:matrix inColumn:(int)column { int limit=0, i; id aCell; id entityList, ent; const char *entry; const char **modelList; id temp, dest; if (column == 0) { /* ** Fill in list of databases. */ db = nil; modelList = [DBDatabase databaseNamesForAdaptor: NULL]; for (i=0;modelList[i]!=0 && *(modelList[i])!=0;i++,limit++) { entry = modelList[i]; /* ** Add entry to matrix. */ [matrix addRow]; aCell = [matrix cellAt: [matrix cellCount]-1 :0]; [aCell setLeaf: NO]; [aCell setObject: [DBDatabase findDatabaseNamed: entry connect: NO]]; [aCell setLoaded: YES]; [aCell setBezeled: YES]; [aCell setStringValue: entry]; }; } else if (column == 1) { /* ** Stuff deleted. */ }; /* ** Update display of browser matrix. */ [matrix display]; return limit; } -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: zeke@znext.cts.com (james dehnert) Subject: Re: Public Key Encryption Message-ID: <1993Feb28.232443.9439@znext.cts.com> Sender: zeke@znext.cts.com (james dehnert) Organization: pnet Date: Sun, 28 Feb 1993 23:24:43 GMT First of all, just why is it that PGP is illegal, as I have seen stated here and elsewhere. I got the source from the listed usa archive sight, USA: pencil.cs.missouri.edu (128.206.100.207) Directory: /pub/crypt/ I'd like to know exactly why it is illegal, including references to the relevant laws ( I don't mean to be a jerk, I just what to check some things out for myself ) Secondly, in light of Linus Upson's sucess with the Mole object, I was wondering if PGP could be installed as the encryption method, with source available and all .. Thanks, Zeke -- +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+\|/+= Eschew Obfuscation Next Mail Welcome =+\|/+= +=/|\=+ James "Zeke" Dehnert zeke@znext.cts.com +=/|\=+
Newsgroups: comp.sys.next.programmer From: msanford@pencom.com Subject: DBTableView Sorting by column (was ???????) Message-ID: <1993Feb26.144952.4236@paramus2.uucp> Sender: usenet@paramus2.uucp Organization: United Parcel Service, Inc. Date: Fri, 26 Feb 1993 14:49:52 GMT In article <1mesbgINNn2s@mailgzrz.TU-Berlin.DE> carsten@pizza.fb10.tu-berlin.de (Carsten Schultz) writes: > > Hi, > > I want to order the lines of a tableView according to the present > arrangement of the columns, but haven't found a nice way to get the > property belonging to a given column. I now use the column title for a > table lookup, i. e. > > int cc = [tableView columnCount]; > int i; > > for (i=0; i<cc; i++) > [dbRecordList addRetrieveOrder:DB_AscendingOrder > for:[self propForTitle:[[tableView columnAt:i] title]]]; > > plus a hardcoded method for propForTitle:, but of course, this is not > satisfactory. Who can help? > > Carsten Close, but you are trying to hard. This may be what you are looking for. for (i=0; i<cc; i++) [dbRecordList addRetrieveOrder:DB_AscendingOrder for:[[tableView columnAt:i] identifier]]; BTW, I don't know how you are implementing this, but it looks like you will be doing a fetch to the database everytime the user moves the columns in the tableview. I would advise against this and do the sort yourself. Good luck, - mike
Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: subbarao@concorde.fc.hp.com (Kartik Subbarao) Subject: Using NeXT optical disks with HP drives? Message-ID: <1993Feb28.224551.20578@Princeton.EDU> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: putchar('I'); for (i = 0; i < 3; i++) putchar('E'); Date: Sun, 28 Feb 1993 22:45:51 GMT Is it possible to do the above? Is their some magic disktab entry or something that can coax the HP drive into reading the NeXT floptical, or are the filesystems just totally radically different? PLEASE respond by email, I will post any successful response I get. -Kartik
Newsgroups: comp.infosystems.gopher,comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Strange client troubles using NeXT 3.0 Message-ID: <1993Mar1.140633.19148@news.csuohio.edu> Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University Date: Mon, 1 Mar 1993 14:06:33 GMT I have a gopher server and client on my NeXTStation Turbo. I have 32 Megs of RAM, so I figure this problem, which is troubling more than just myself, must be correctable. At least, that is what I am hoping to find out here. When I run the Unix gopher client 1.12 (latest, not beta) and connect to any gopher server, after a few commands, or upon exiting the gopher client application, I receive this error: memory allocation error: attempt to free or realloc space not in heap bad zone IOT trap This is beginning to bother me, I know it is bothering my users. Can anyone help, please? Send anything via email to me please, so if i get a usable fix I will definitely post to the net with the fix. I would really like to solve this probelm asap! Thanks in advance, Joe -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library joer@inca.law.csuohio.edu | "Could a trained MoNKey learn how to use a NeXT?"
Newsgroups: comp.sys.next.programmer From: manzara@flipflop.cpsc.ucalgary.ca (Leonard Manzara) Subject: NeXTSTEP Audio Standard mailing list Message-ID: <C36n2C.7tD@cpsc.ucalgary.ca> Sender: news@cpsc.ucalgary.ca (News Manager) Organization: University of Calgary Computer Science Date: Sun, 28 Feb 1993 23:39:48 GMT Dear Colleagues, A new mailing list has been started which is devoted to developing the NeXTSTEP Audio Standard. Since the demise of NeXT hardware, software developers, end users, researchers and academics have expressed concern that there is now no standard hardware under NeXTSTEP to support sound and music. There is a real danger that manufacturers will develop proprietary hardware which will be incompatible with hardware from other vendors, with the result that several versions of the software must be produced by audio and music application developers. This also means that the end user will be faced with a bewildering choice of hardware solutions with inconsistent sets of features. With these problems in mind, a number of members of the network community agreed to form a working committee to develop a sound and music standard for computers operating under NeXTSTEP. We feel it is important for the community as a whole to create a solution to this problem, and not have it imposed upon us by any one company. If you have an interest in helping to shape an open standard which will govern the support of audio under NeXTSTEP, please subscribe to the mailing list. To subscribe, send an email message to: nas@flip.cpsc.UCalgary.CA Please put "subscribe" in the subject field. Note that your email address will be taken from the "From:" field of your message. If the address of this field is incorrect (possible when mailing from somewhere other than your own account), then use subscribe: <address> in the subject line, where <address> is the email address you wish to have NAS mail sent to. Leonard Manzara manzara@cpsc.UCalgary.CA Research Associate Dept. of Computer Science University of Calgary
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Tool for building class docu out of header file Message-ID: <1993Mar1.165605.1693@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna Date: Mon, 1 Mar 1993 16:56:05 GMT Is there something out there? Somebody posted a similiar question a long time ago, but I never saw a followup. I am sure NeXT has such a thing (they just couldn't write tons of documentation in the way I do it). Maybe they could share the tool with the community? Has anybody seen such a tool on an ftp-site? -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted. Path: informatik.uni-muenchen.de!lrz-muenchen.de!informatik.tu-muenchen.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!gumby!wupost!crcnis1.unl.edu!crcnis1.unl.edu!manager From: me@ienext.unl.edu (Dan Scott) Newsgroups: comp.sys.next.programmer Subject: TextFieldCell Question Date: 1 Mar 1993 16:56:51 GMT Organization: University of Nebraska--Lincoln Lines: 32 Message-ID: <1mtf8jINN9k3@crcnis1.unl.edu> Reply-To: me@ienext.unl.edu NNTP-Posting-Host: ienext.unl.edu I spent the weekend programming and things were going pretty well, but I ran into something that seems like it must be easy---but not for me, I guess. I had set up a Matrix of TextFieldCells which the user is allowed to edit. The heart of the problem is this: if the user types a number into one or more of the cells but does not hit Return or Tab for his last entry, then apparently the TextFieldCell holding this last entry does not know that there is anything in it. That is, it is *displaying* a number but the TextFieldCell doesn't yet seem to know anything about this number. Presumably, when a Return or a Tab are pressed or a MOUSEDOWN event occurs in another TextFieldCell the TextFieldCell you were just in is told about the text that was typed into it. The reason this is a problem is that I want (among other things) to be able to resize the matrix and in the process clear all the cell displays. But it seems that when I send the offending TextFieldCell a message to set its stringValue to "" nothing happens to the number being *displayed*. What do I do? By the way, I thought it was really cool the way the windowWillResize: toSize: method could be used to make the window size change in discrete increments---the way a browser does when you try to stretch it out horizontally. ---------------------------------------------------------------- Dan Scott me@ienext.unl.edu NeXT mail welcome ----------------------------------------------------------------
From: Richard.Kirchner@f32.n282.z1.tdkt.kksys.com (Richard Kirchner) Sender: FredGate@tdkt.kksys.com Newsgroups: comp.sys.next.programmer Subject: HELP Message-ID: <730914825.AA04544@tdkt.kksys.com> Date: Mon, 01 Mar 1993 08:36:00 -0600 TO ANYONE CRONICALLY BORED. I AM A YOUNG, ASPIRING, SOMEWHAT ILLITERATE COMPUTER USER WHO IS INTERESTED IN LEARNING HOW TO USE "AUTO CAD". I AM AN UNDER GRAD. FOR MECHANICAL ENG. / ELECTRICAL ENG.(UNDECIDED). MY PLACE OF EMPLOYMENT USES THIS PROGRAM, BUT I DON'T GET TO USE IT MUCH. IF ANY ONE IS INTERESTED IN GIVING A HAND, FEEL FREE TO LEAVE A MESSAGE. THIS SERVICE WOULDN'T GO UNCOMPENSATED. HAVE A NICE DAY. RICHARD KIRCHNERC H F
Newsgroups: comp.sys.next.programmer From: v_white@ece.wisc.edu (Victor White) Subject: Need pointer to screen refresh clock Organization: University of Wisconsin-Madison Date: 1 Mar 93 12:56:17 CST Message-ID: <1993Mar1.125617.6622@doug.cae.wisc.edu> Friends, I've been experimenting with speeding up animations and getting smoother undithered colors, and I need some low-level info. I've been doing this with direct writes to the video ram, and would like to sychronize in with the screen refresh clock. I don't care if I swamp the machine when its running. Anyone know the right IOCTL(?) call to get this guy. I've scanned alot of header files, and can't find it. thanks, Victor White v_white@janus.ece.wisc.edu
Newsgroups: comp.sys.next.programmer From: mbfeld@unix.amherst.edu (A waste of bandwidth originating) Subject: Sorry to intrude in this newsgroup... Message-ID: <C389nw.69p@unix.amherst.edu> Sender: news@unix.amherst.edu (No News is Good News) Organization: an unknown point Date: Mon, 1 Mar 1993 20:45:31 GMT Are you listening, kibo?
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: Does DPS discriminate? Message-ID: <C389I7.5M8@dutiws.twi.tudelft.nl> Keywords: DPS scale Organization: Delft University of Technology Date: Mon, 1 Mar 1993 20:42:06 GMT Hi, NeXTers, A rather long question: In my project, I'm using a version of Garfinkel&Mahoney's GraphView and Segment classes. For those who don't have the book: the GraphView has a display list where it places Segment instances. Each Segment represents a line segment which draws itself in linewidth 1.0. In order to achieve a 'real' linewidth of 1.0, Segment scales its coordinate system just before PSsetlinewidth()ing and PSstroke()ing, and scales it back afterwards. So far so good. Everything works perfectly. All graphs draw very smoothly and rather fast. I've also implemented a copy-paste mechanism (including dragging). When I copy/paste a graph, everything looks fine, except when I copy a graph with many (say 1000) segments. Then, the EPS copy seems to be vertically stretched beyond recognition (actually, I do recognize it, but it's ugly :). Hypothesis: when PSscale()ing back and forth, DPS introduces rounding errors, which propagate through the plotting process because each time the coordinate system gets a slightly new scale. But when drawing in the View everything is ok. Does anybody have a clue, a workaround or a flame saying that I'm just plain stupid and don't understand how it works? Thanks in advance, Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,de.comp.sys.next From: sherwood@space.ualberta.ca (System Administrator) Subject: Re: talk, rwho, printer questions Message-ID: <1993Mar1.231105.15881@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <1m3aom$he7@news.cs.tu-berlin.de> Date: Mon, 1 Mar 1993 23:11:05 GMT S. F. Ruehauf (gonzo@cs.tu-berlin.de) wrote: : : : Hello admins : : I've got a few questions : : 1 - how do you know how many copies your NeXT laser printer printed? : when is the toner gone? : the good old 'pagecount' PS variable doesn't work. this is always : NIL. Any hint? Start NetInfoManager open up printers in netinfo open up Local_Printer add new property af add value for af /etc/Local_Printer.log save and close. touch /etc/Local_Printer.log This file will accumulate entires in the form 4.00 pluto:beth 3.00 pluto:root 1.00 arafel:root which is page host:user See man page for pac for totaling pages. or the following one liner will also: /usr/local/bin/gawk '{sum+=$1; next} END {print sum}' < /etc/Local_Printer.log The log file can be called anything, but it must already exist. Lpd won't create it. : : 2- 'rusers' is a sytemV routine. rwho is bsd. : Why doesn't NeXT, right out of the box, support rwho? : : sfr@dasburo 73 (~) > rwho : /usr/spool/rwho: No such file or directory : rwho is fine on a small network. But the rwho traffic can get fierce on a large network. Most places don't have it running. : 3- why is it impossible to 'talk'? : how do I set up talk (hostname in /etc/hosts, setuid for ../Terminal) : what else? : If you are running terminal, the executable must be setuid root. If you are running Stuart, earlier than 2.4 ditto If you are running Stuart >= 2.4, check initialization of slog. : thanx in advance : : Stephan : : : : : : : -- : Stephan Fruhauf gonzo@opal.cs.tu-berlin.de : what is X400? s=gonzo ou=opal p=tu-berlin a=dbp c=de -- => Sherwood Botsford sherwood@space.ualberta.ca <= => University of Alberta Lab Manager, Space Physics Group <= => tel:403 492-3713 fax: 403 492-4256 <=
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: sherwood@space.ualberta.ca (System Administrator) Subject: Re: Please help: SCSI timeout Message-ID: <1993Mar2.013653.21154@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <C2tpp2.16I@news.cis.umn.edu> Date: Tue, 2 Mar 1993 01:36:53 GMT Kenneth Nelson (knelson@milli.cs.umn.edu) wrote: : Netters, : : I am trying to backup a NeXT Dimension running NeXTSTEP 2.1 to a SCSI : DAT Archive Python Model 4230 using /usr/etc/dump. Approximately 1/2 : through the backup, dump crapped out with a tape write error. Further : examination of the console revealed: : : reselect timeout - target 5 : st: cmd = 0xa sr_io_status = 5H : 5 is illegal request. Check your manual. It may be that the Python doesn't support disconnect/reconnect, or that a jumper has to be set. : : 2. Is it reasonable for a SCSI peripheral to be unable to keep up? : Yup. If it's buffer is full, or if it's doing something like moveing the tape, it won't respond. Next's tape drivers are a tad flakey. My backup script (written in perl) goes to unreal lengths to try to work around all the various ways things can go wrong. It could also be that the python is expecting fixed block of 512, while the next defaults to variable block. Then if the Next does a disconnect at some odd point, the python may get confused. (Guessing) -- => Sherwood Botsford sherwood@space.ualberta.ca <= => University of Alberta Lab Manager, Space Physics Group <= => tel:403 492-3713 fax: 403 492-4256 <=
Newsgroups: comp.sys.next.programmer Subject: Help with Object Links Message-ID: <1993Mar2.152902.785@otago.ac.nz> From: alastair@farli.otago.ac.nz (Alastair Thomson), University of Otago, Dunedin, New Zealand Date: 2 Mar 93 15:29:01 +1300 Hello netters, I need some help with using button links generated using Edit.app, and loaded into a custom Text view. I seem to be missing something here. In the examples in Draw things are fine, you are saving the info about the location of buttons yourself, but when you load in an rtfd with the buttons in it, how do you know where the buttons are??? I'm really confused by this, the docs and examples are somewhat unclear about dealing with link buttons as opposed to full links. Thanks Alastair -- ========================================================================== ===== | Alastair Thomson, | Phone +64-3-479-8347 University of Otago, | Fax +64-3-479-8529 Department of Computer Science, | e-mail alastair@farli.otago.ac.nz P.O. Box 56 | NeXTmail Welcome
Newsgroups: comp.sys.next.programmer From: mark@xexos.com (Mark Chamberlain) Subject: Icon making programs Message-ID: <1993Mar1.172523.25347@xexos.com> Sender: news@xexos.com Organization: Xexos, Ltd (London) Date: Mon, 1 Mar 1993 17:25:23 GMT We have a whole bunch of TIFFs, large and small of all kinds/types etc. I want a quick and easy way of turning them into an Icon sized TIFF file. Is there a program somewhere designed to do this, or do we have to mess around with Icon? -- Mark Chamberlain +44 71 237 4535 Xexos Ltd fax +44 71 231 0844 London mark@xexos.com
From: andrew@cubetech.com (Andrew Loewenstern) Newsgroups: comp.sys.next.programmer Subject: Re: Public Key Encryption Date: 1 Mar 1993 17:58:47 -0600 Organization: Cube Technologies, Inc Message-ID: <1mu7vn$50s@imladris.cubetech.com> References: <1993Feb28.232443.9439@znext.cts.com> In article <1993Feb28.232443.9439@znext.cts.com> zeke@znext.cts.com writes: >First of all, just why is it that PGP is illegal, as I have seen stated >here and elsewhere. I got the source from the listed usa archive sight, >I'd like to know exactly why it is illegal, including references to the >relevant laws ( I don't mean to be a jerk, I just what to check some >things out for myself ) It's not illegal. It is only illegal to export it as encryption technologies are considered munitions and there is a ban on exporting encryption technologies that employ keys larger than 40-bits (PGP uses IDEA (128-bit keys) and RSA (300-someodd up to 1024-bit keys)). However, it implements the RSA public key encryption algorithm but is not licensed by Public Key Partners, who holds the exclusive right to license the patent on RSA. Public Key Partners has stated that PGP is a violation of their patent and they have a legal right to sue you if you use it. Of course, they aren't going to go after individuals... > Secondly, in light of Linus Upson's sucess with the Mole object, I was >wondering if PGP could be installed as the encryption method, with source >available and all .. I've been hacking on it, and I'm pretty close. Instead of mucking with PGP, I'm going to install RSAREF and IDEA. RSA has licensed their public key cryptosystem for free "non-commercial use"... andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: mjv7e@hagar13.acc.virginia.edu (Mark Joseph Vanni) Subject: Help with messaging between classes Message-ID: <1993Mar2.041501.24612@murdoch.acc.Virginia.EDU> Keywords: help Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Date: Tue, 2 Mar 1993 04:15:01 GMT Could someone please mail me some tips on how to solve the following problem: I am writing a NeXSTEP app using NS 3.0 on a TurboColor slab. The application has three classes- MyArchive.m ImageView.m MyView.m and two nibs- Archive.nib ImageView.nib What I am trying to do is to have user select tiff files from a list, and then have the selected file displayed in its own window. MyArchive is the main class which works with the Archive.nib. It loads in copies of ImageView.nib (a window with MyView) as the user selects more files to be displayed. ImageView.m is used to handle the multiple ImageView windows, and MyView.m is used to initialize MyView with the tiff file. I've got the windows coming up fine, and I'm using initFromSection to display a tiff image in the view. The problem is I can't get the filename passed to MyView.m from MyArcive.m in order to vary the file displayed. Thanks, Mark Code follows for those interested: ----------------------------------------------------- #import "MyArchive.h" #import "ImageView.h" @implementation MyArchive - appDidInit:sender { [self newImageView:self]; return self; } - newImageView:sender { id myBox; id win; if ([NXApp loadNibSection: "ImageView.nib" owner: self] == nil) { return nil; } if ([newImageView setUp]) { myBox = [newImageView box]; win = [newImageView window]; if (win) { NXRect frame; char buf[256]; [win getFrame: &frame]; NX_X(&frame) += offset; NX_Y(&frame) -=offset; if ((offset += 24.0)>100,0) { offset=0.0; } sprintf(buf,[win title],[fileName stringValue]); [win setTitle: buf]; [win placeWindowAndDisplay: &frame]; [win makeKeyAndOrderFront: nil]; return newImageView; } } return nil; } ------------------------------------------------------- #import "ImageView.h" @implementation ImageView - box { return box; } /*This is where i tried to set up a process */ /*inorder to pass the filename. Is this necessary */ /*or is there an easier way??? */ - setUp:(char *)fileName { char *argv[2] = {0,0}; argv[0] = malloc(strlen(NXHomeDirectory())+32); strcpy(argv[0], NXHomeDirectory()); strcat(argv[0], fileName); proc = [[Process alloc] initFromCommand:argv]; if (!proc) { NXRunAlertPanel(0,"Cannot Open Image File: %s",0,0,0,strerror(errno)); [window performClose:self]; return nil; } [proc dpsWatchFD:printer data:self priority:NX_BASETHRESHOLD]; return self; } - window { return window; } - windowWillClose:sender { [sender setDelegate: nil]; [self free]; return self; /* Window will free itself on close */ } @end ------------------------------------------------------------ #import "MyView.h" #import "MyArchive.h"; @class MyArchive; @implementation MyView - initFrame:(NXRect *)frameRect; { [super initFrame:frameRect]; [self setImage:/* I need the filename in here??? */]; return self; } - free; { [image free]; return [super free]; } - setImage:(const char *)imageName; { if (image) [image free]; image = [[NXBitmapImageRep alloc] initFromSection:imageName]; [self display]; return self; } - drawSelf:(NXRect *)rects :(int)rectCount; { NXEraseRect(&bounds); [image drawIn:&bounds]; return self; } @end
From: wjabi@libra.arch.umich.edu (Wassim M. Jabi) Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware Subject: Can the computer turn on/off a SCSI disk by itself? Date: 2 Mar 1993 06:24:38 GMT Organization: University of Michigan Engineering, Ann Arbor Distribution: usa Message-ID: <1muuj6INN5cc@srvr1.engin.umich.edu> I've been having this weird problem with my ext. Fujitsu M2624FA 520 MB (1024). At random, the drive would spin down and the console would come up with "Target not ready error" Then if I try to save an open file for example, the disk would spin up again and start rebooting wich causes the system to crash and reboot again. Do you think I'm having a software error, wrong jumpers, bad power supply, or...? I tried the following: 1) Replaced the drive mechanism (under warranty) 2) connected to a different electric circuit w/ & w/out a surge suppressor. 3) Connected hard disk to a different NeXTstation. 4) Changed SCSI cable The only thing that remained constant is the case (power supply). I did order a new, different mfr. case. All these did not change the occasional crash. I am suspecting a faulty power supply that occasionally decides to shut the power off. My other theory is that somehow the disk is deciding it should not spin anymore (idle??!) and then spins up upon request causing the machine to crash. I guess you can tell I'm not an expert on these things. I'm an architecture student, I know how to design buildings not computer hardware :-) Here are the messages (from /usr/adm/messages): Feb 27 14:05:45 libra mach: Target 2: HARDWARE ERROR; block 0H retry 1 Feb 27 14:05:45 libra mach: Target 2: NOT READY; retry 1 Feb 27 14:05:45 libra mach: Target 2: NOT READY; retry 2 Feb 27 14:05:45 libra mach: Target 2: NOT READY; retry 3 Feb 27 14:05:45 libra mach: Target 2: NOT READY; retry 19 Feb 27 14:05:45 libra mach: sd1 (2,0): sense key:0x2 additional sense code:0x4 Feb 27 14:05:45 libra mach: SCSI Block in error = 0 (front porch) Feb 27 14:05:52 libra mach: Target 2: NOT READY; retry 1 Feb 27 14:05:52 libra mach: Target 2: NOT READY; retry 2 etc. Any suggestions?? Please e-mail. -- Wassim M. Jabi (313) 936-0229 Doctoral Program in Architecture, University of Michigan 2000 Bonisteel Boulevard Ann Arbor Michigan 48105-2313 wjabi@libra.arch.umich.edu NeXTMail-friendly
Newsgroups: comp.sys.next.programmer From: stefan@megatel.de (Stefan Runge) Subject: DBExpression setEntity:andDescription: Message-ID: <1993Mar1.162919.1535@megatel.de> Sender: stefan@megatel.de Organization: megatel GmbH, Bremen, Germany Date: Mon, 1 Mar 93 16:29:19 GMT Hi there, I want to change the DBExpression used to retrieve a DBTableVector. As I understand, I can get the DBExpression via [tableVector identifier]. The vector is connected in IB to a specific property, let's say NAME. Then I want to change the expression to retrieve the property ADDRESSE programmatically, depending on the selection of a PopUpList. I do this so: expr = [tableVector identifier]; [expr setEntity:[expr entity] andDescription:"%@", [[expr entity] getPropertyNamed:"ADRESSE"]]; As I understand the manual, this is all to do. But when the FetchGroup will fetch the data, I get an bus error. Why this???? Must I inform some other objects, that there was a change of the DBExpression??? The other way I tried is creating a new DBExpression as follows: entity = [[tableVector identifier] entity]; expr = [[DBExpression alloc] initForEntity:entity fromDescription:"%@", [entity getPropertyNamed:"ADDRESSE"]]; [tableVector setIdentifier: expr]; This will fetch some records, but at the end I get an error-message like (as I remember): ...property has no method named setStringValue.... or so. The same thing appeared when I want to change the expression of a DBAssociation of an TextField (or some other UI-object). Can anybody help me?????? Thanks, stefan. NeXTMail: stefan@megatel.de ---
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: How do you reflect an object's data into a panel? Message-ID: <1993Mar1.132924.4574@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Feb26.060722.4021@milo.UUCP> Distribution: na Date: Mon, 1 Mar 93 13:29:24 GMT In article <1993Feb26.060722.4021@milo.UUCP> chris%milo@wpa.com (Chris Cleeland) writes: > Okay. So I've got this object -- let's call him Controller. > Controller has a data member called "currentEntry", which is > a reference to an object of class Entry. > > Now, currentEntry has data in its data members (good place, > right?) Some of the data needs to be displayed to the user > for purposes of perusal/modification. > > So...there is this pretty panel concocted with the aid of > Interface Builder. Has lots of neato looking objects like > TextFields, an NXBrowser, popup menus, etc. It is intended > to be the User's interface to the data in currentEntry. > right?) Some of the data needs to be displayed to the user > for purposes of perusal/modification. > > So...there is this pretty panel concocted with the aid of > Interface Builder. Has lots of neato looking objects like > TextFields, an NXBrowser, popup menus, etc. It is intended > to be the User's interface to the data in currentEntry. > > The million dollar question is.... > How do I (from Interface Builder, preferably) connect objects > so that I can get thats tucked inside currentEntry reflected > in the objects painted in the panel, and vice-versa? > > I think I'm going crazy! > > Note: I have the Garfinkel-Mahoney book, so references to > that are Good. References to other books are happily > accepted also, I probably just don't have them :-) > > Thanks in advance for your wisdom! The technique that seems to work best is to place your window in a separate nib file and load the nib file with the object at currentEntry as the file owner. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Public Key Encryption Date: 2 Mar 1993 13:41:25 GMT Organization: The University of Maryland, College Park Message-ID: <1mvo65INNrfh@ni.umd.edu> References: <1993Feb28.232443.9439@znext.cts.com> <1mu7vn$50s@imladris.cubetech.com> In article <1mu7vn$50s@imladris.cubetech.com> andrew@cubetech.com (Andrew Loewenstern) writes: >I've been hacking on it, and I'm pretty close. Instead of mucking >with PGP, I'm going to install RSAREF and IDEA. RSA has licensed >their public key cryptosystem for free "non-commercial use"... Why don't you install RIPEM (RSAREF, DES and other stuff) and make it compatible with NeXTMAIL? You've decided to avoid PGP because of its unlicensed implementaion of RSA, but you're going to use IDEA, which is also patented and unlicensed in the US. The advantage of using RIPEM is that you'd have an existing "legitimate" user base that you can communicate with. Louis Mamakos
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Re: Please help: SCSI timeout Date: 2 Mar 1993 13:54:27 GMT Organization: The University of Maryland, College Park Message-ID: <1mvoujINNrld@ni.umd.edu> References: <C2tpp2.16I@news.cis.umn.edu> <1993Mar2.013653.21154@kakwa.ucs.ualberta.ca> In article <1993Mar2.013653.21154@kakwa.ucs.ualberta.ca> sherwood@space.ualberta.ca (System Administrator) writes: >5 is illegal request. Check your manual. It may be that the Python >doesn't support disconnect/reconnect, or that a jumper has to be set. The Archive Python does support disconnect/reconnect. If it did, it would just hang on to the bus and not cause an illegal request error. >: >: 2. Is it reasonable for a SCSI peripheral to be unable to keep up? >: >Yup. If it's buffer is full, or if it's doing something like moveing >the tape, it won't respond. Next's tape drivers are a tad flakey. My >backup script (written in perl) goes to unreal lengths to try to work >around all the various ways things can go wrong. This isn't strictly true. There are two cases to consider: the first is when the transfer rate of the I/O device is slower than the rate at which the data is produced or consumed. In that case, the drive will disconnect until the I/O has completed. The SCSI tape driver on the next will have marked the device as "busy" with a pending command, and not issue any further commands until the pending one completes or it times out the command. The other case is when the device is busy doing *something*, but the operating system doesn't know about it. In that case, the SCSI device, will return a BUSY status indicating a command or whatever in progress. This really shouldn't be the case on the NeXT, since all the I/O goes through the SCSI driver and it would have known if the device is busy or not. ON exception to this that I've seen is when a disk drive is beginning to get flakey, and it decides to do a SCSI block replacement or recovery; it will return BUSY to the host while doing this. >It could also be that the python is expecting fixed block of 512, while >the next defaults to variable block. Then if the Next does a disconnect >at some odd point, the python may get confused. (Guessing) The Archive Python driver, of of the box, supports variable length blocks (as you'd expect and prefer), while the NeXT st tape driver defaults to fixed 512 byte blocks. If you were using dump or tar with a larger block size, you'd be more likely to get residual data error or something when reading a block larger than 512 bytes. The NeXT never performs the disconnect operation; it is up to the SCSI target device (disk, tape, etc) to disconnect when it knows it can't perform an operation "quickly". As far as your problem goes; I'd check to make sure that the SCSI devices are correctly terminated and that you don't have a problem with cables or connectors. I have an Archive Python and an external Fujutsu 660 MB disk in addition to the internal 100 MB disk on my NeXTStation, and its worked very reliably with dump/restore, tar (all of these requireing an external program to set the tape driver into variable length block mode), and SafeyNet (which sets the driver itself). Now I can't comment on other types of tape drivers (QIC, etc) and how well they work, but the DAT drive has worked very well for me. Louis Mamakos
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: pfind() anyone? Message-ID: <1993Mar2.130748.8802@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <18695@umd5.umd.edu> Date: Tue, 2 Mar 1993 13:07:48 GMT In article <18695@umd5.umd.edu> matthews@oberon.umd.edu (Mike Matthews) writes: >I'm trying to determine a process ID, given a process name. I don't want to >use something like popen() to fire off a ps axc | grep <name> type deal. Uh-huh. >I envisioned being able to get a pointer to the process table (by seeking to >to somewhere in /dev/kmem and reading into some pre-defined struct) and >searching that. I can't find the definition of any process entry though. >Nor can I find out how to find where that is in /dev/kmem. Nor should you. You're trying to hit a moving target, and begging to miss. There are some things sniffing around in /dev/kmem is appropriate for, but I don't think this is one of them. NeXT provides a safe, more-or-less well-behaved system call for obtaining all sorts of useful information normally only accessible to the kernel. It's called table(). It's not well- documented (the only description I know of appeared in NeXTanswers), and in a purely vindictive gesture, NeXT removed the header file describing its machine-independent functionality from the 3.0 Release (curiously enough, the machine-dependent file is still there). The call still works, of course, but you'll need <sys/table.h> from a 2.x system in order to use it. (Sample program attached.) >I did, however, stumble across a pfind() system call without an associated >man page. Does this mean process find? I *think* so because it's right next >to a pidhash function in the kernel (obtained by gdb'ing /mach and displaying >the assembly code to pfind). I also *think* that this mysterious pfind call >takes two pointers (well, 8 bytes) as arguments. I have no idea what it >returns. pfind() is a kernel function only--it is not accessible in user mode. It takes as its single argument a process id number and returns the associated struct proc * (or NULL if the process doesn't exist). It's typically used in Loadable Kernel Servers as a prelude to psignal(). -=EPS=- ------- /* minips.c: a more informative version of /usr/lib/fastps */ /* N.B. this compiles under NeXT Software Releases 2.0/2.1/2.2/2.2a ONLY */ /* * cc -o minips -s -object -O minips.c * chown root.wheel minips * chmod 4755 minips */ #include <stdio.h> #include <mach.h> #include <sys/table.h> main() { register host_priv_t hpriv; register unsigned int hidx, tidx; processor_set_name_array_t hlist; unsigned int hcount; processor_set_t ppriv; task_array_t tlist; unsigned int tcount; int pid; struct tbl_procinfo pi; if (!(hpriv=host_priv_self())) { /* must run as root! */ (void)fputs("couldn't get host privileged port\n", stderr); exit(1); } if (host_processor_sets(hpriv, &hlist, &hcount)!=KERN_SUCCESS) (void)fputs("couldn't get processor sets\n", stderr); else { (void)fputs(" UID PID PPID PGRP COMMAND\n", stdout); for (hidx=0;hidx<hcount;hidx++) { if (host_processor_set_priv(hpriv, hlist[hidx], &ppriv)!= KERN_SUCCESS) ppriv=hlist[hidx]; if (processor_set_tasks(ppriv, &tlist, &tcount)==KERN_SUCCESS) { for (tidx=0;tidx<tcount;tidx++) { if (unix_pid(tlist[tidx], &pid)==KERN_SUCCESS) { if (table(TBL_PROCINFO, pid, (char *)&pi, 1, sizeof pi)==1&&pi.pi_status==PI_ACTIVE) { (void)printf("%5d %5d %5d %5d %.*s\n", pi.pi_uid, pid, pi.pi_ppid, pi.pi_pgrp, PI_COMLEN, pi.pi_comm); } } (void)port_deallocate(task_self(), tlist[tidx]); } (void)vm_deallocate(task_self(), (vm_address_t)tlist, tcount*sizeof (port_t)); } else (void)fprintf(stderr, "couldn't get tasks for processor set %d\n", hidx); (void)port_deallocate(task_self(), ppriv); if (hlist[hidx]!=ppriv) (void)port_deallocate(task_self(), hlist[hidx]); } (void)vm_deallocate(task_self(), (vm_address_t)hlist, hcount*sizeof (processor_set_name_t)); } (void)port_deallocate(task_self(), hpriv); exit(0); }
Newsgroups: comp.sys.next.programmer From: byer@adobe.com (Scott Byer) Subject: Re: Does DPS discriminate? Message-ID: <1993Mar2.174556.29474@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <C389I7.5M8@dutiws.twi.tudelft.nl> Date: Tue, 2 Mar 1993 17:45:56 GMT Dimitri Tischenko writes > In my project, I'm using a version of Garfinkel&Mahoney's GraphView > and Segment classes. For those who don't have the book: the GraphView > has a display list where it places Segment instances. Each Segment > represents a line segment which draws itself in linewidth 1.0. In > order to achieve a 'real' linewidth of 1.0, Segment scales its > coordinate system just before PSsetlinewidth()ing and PSstroke()ing, > and scales it back afterwards. This isn't the best way to achieve this. The PostScript sequence should be: <draw path> gsave <X> <Y> scale stroke grestore Or, alternatively, to avoid the gsave/grestore: <draw path> matrix currentmatrix <X> <Y> scale stroke setmatrix While it is possible that doing/undoing a scale will eventually introduce noticible rounding error, it should take a fairly large number of such sequences to see this. Or, any pathological case which scales to a very nearly singular matrix could also introduce rounding error fairly quickly. Avoiding such scaling and unscaling is good numerical methedology. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: wei@wucs1.wustl.edu (Wei Chen) Subject: NXGraphicCell (Text object) Message-ID: <1993Mar2.184024.21215@wuecl.wustl.edu> Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO Date: Tue, 2 Mar 1993 18:40:24 GMT Can anybody or NeXT explain why the NXGraphicCell class is not published? It is heavily used in the Text object to display an image. It seems to me that it is a very reusable and very light weighted class. Btw, in the documentation, the info field in the NXRun structure is said to be available to subclasses. But when performing a copy, the message isKindOf:[NXGraphicCell class], which I believe is invoked from the internal method -[Text(RunUtil) selectionContainsType:], is sent several times to info, even if the graphic bit of rFlags is not set. This really restricts a subclass from using info, eg, to pass an int value. What is the reason behind this? Or is it just a bug?
Newsgroups: comp.infosystems.gopher,comp.sys.next.programmer From: lindner@mudhoney.micro.umn.edu (Paul Lindner) Subject: Re: Strange client troubles using NeXT 3.0 Message-ID: <C39xvs.4HJ@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota, Minneapolis References: <1993Mar1.140633.19148@news.csuohio.edu> Date: Tue, 2 Mar 1993 18:26:14 GMT cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: >I have a gopher server and client on my NeXTStation Turbo. I have 32 Megs of RAM, so I >figure this problem, which is troubling more than just myself, must be correctable. At least, >that is what I am hoping to find out here. >When I run the Unix gopher client 1.12 (latest, not beta) and connect to any gopher server, >after a few commands, or upon exiting the gopher client application, I receive this error: >memory allocation error: attempt to free or realloc space not in heap >bad zone >IOT trap >This is beginning to bother me, I know it is bothering my users. >Can anyone help, please? Send anything via email to me please, so if i get a usable fix I will >definitely post to the net with the fix. I would really like to solve this probelm asap! Substitute this compatible.c for your current one: Note the changes around tempnam() /******************************************************************** * $Author: lindner $ * $Revision: 3.2 $ * $Date: 1993/02/19 21:33:27 $ * $Source: /home/mudhoney/GopherSrc/CVS/gopher+/object/compatible.c,v $ * $State: Exp $ * * Paul Lindner, University of Minnesota CIS. * * Copyright 1991, 1992 by the Regents of the University of Minnesota * see the file "Copyright" in the distribution for conditions of use. ********************************************************************* * MODULE: compatible.c * Compatibility routines ********************************************************************* * Revision History: * $Log: compatible.c,v $ * Revision 3.2 1993/02/19 21:33:27 lindner * Gopher1.2b2 release * * Revision 3.1.1.1 1993/02/11 18:03:05 lindner * Gopher+1.2beta release * * Revision 1.4 1993/01/17 03:46:12 lindner * Fixed tempnam for VMS * * Revision 1.3 1993/01/08 23:13:55 lindner * Added more VMS mods from jqj * * *********************************************************************/ /* * Some functions that aren't implemented on every machine on the net * * definitions should be in the form "NO_FNNAME" * compatible.h looks at preprocessor symbols and automatically defines * many of the NO_FNNAME options * */ #include <string.h> #include <stdio.h> #include "Malloc.h" /*** For NULL ***/ #include "compatible.h" /*** For machines that don't have strstr ***/ #if defined(NOSTRSTR) char * strstr(host_name, cp) char *host_name; char *cp; { int i, j; for (i = 0; i < strlen(host_name); i++) { j = strncmp(host_name+i, cp, strlen(cp)); if (j == 0) return(host_name+i); } return(NULL); } #endif #if defined(sequent) #include <varargs.h> vsprintf(va_alist) va_dcl { ; } vfprintf(va_alist) va_dcl { ; } #endif #if defined(NO_TEMPNAM) /* A tip of the hat to the developers of elm 2.4pl17, from whence the non-VMS portion of this routine comes. */ /* and a tempnam for temporary files */ static int cnt = 0; char *tempnam(dir, pfx) char *dir; char *pfx; { #ifndef VMS char space[512]; char *newspace; if (dir == NULL) { dir = "/usr/tmp"; } else if (*dir == '\0') { dir = "/usr/tmp"; } if (pfx == NULL) { pfx = ""; } sprintf(space, "%s/%s%d.%d", dir, pfx, getpid(), cnt); cnt++; newspace = (char *)malloc(strlen(space) + 1); if (newspace != NULL) { strcpy(newspace, space); } return newspace; #else char *tmpname; register int len; char tmpfilename[L_tmpnam]; (void) tmpnam(tmpfilename); len = strlen(tmpfilename)+13; tmpname = (char *) malloc(sizeof(char)*len+1); sprintf(tmpname,"sys$scratch:%s.",tmpfilename); return(tmpname); #endif } #endif #if defined(NO_STRDUP) char *strdup(str) char *str; { int len; char *temp; if (str == NULL) return(NULL); len = strlen(str); temp = (char *) malloc(sizeof(char) * len + 1); strcpy(temp, str); return(temp); } #endif #if defined(NO_TZSET) void tzset() { ; } #endif #if defined(NO_STRCASECMP) /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * Modified for use on VMS by Earl Fogel, University of Saskatchewan * Computing Services, January 1992 */ typedef unsigned char u_char; /* * This array is designed for mapping upper and lower case letter * together for a case independent comparison. The mappings are * based upon ascii character sequences. */ static const u_char charmap[] = { '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007', '\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017', '\020', '\021', '\022', '\023', '\024', '\025', '\026', '\027', '\030', '\031', '\032', '\033', '\034', '\035', '\036', '\037', '\040', '\041', '\042', '\043', '\044', '\045', '\046', '\047', '\050', '\051', '\052', '\053', '\054', '\055', '\056', '\057', '\060', '\061', '\062', '\063', '\064', '\065', '\066', '\067', '\070', '\071', '\072', '\073', '\074', '\075', '\076', '\077', '\100', '\141', '\142', '\143', '\144', '\145', '\146', '\147', '\150', '\151', '\152', '\153', '\154', '\155', '\156', '\157', '\160', '\161', '\162', '\163', '\164', '\165', '\166', '\167', '\170', '\171', '\172', '\133', '\134', '\135', '\136', '\137', '\140', '\141', '\142', '\143', '\144', '\145', '\146', '\147', '\150', '\151', '\152', '\153', '\154', '\155', '\156', '\157', '\160', '\161', '\162', '\163', '\164', '\165', '\166', '\167', '\170', '\171', '\172', '\173', '\174', '\175', '\176', '\177', '\200', '\201', '\202', '\203', '\204', '\205', '\206', '\207', '\210', '\211', '\212', '\213', '\214', '\215', '\216', '\217', '\220', '\221', '\222', '\223', '\224', '\225', '\226', '\227', '\230', '\231', '\232', '\233', '\234', '\235', '\236', '\237', '\240', '\241', '\242', '\243', '\244', '\245', '\246', '\247', '\250', '\251', '\252', '\253', '\254', '\255', '\256', '\257', '\260', '\261', '\262', '\263', '\264', '\265', '\266', '\267', '\270', '\271', '\272', '\273', '\274', '\275', '\276', '\277', '\300', '\301', '\302', '\303', '\304', '\305', '\306', '\307', '\310', '\311', '\312', '\313', '\314', '\315', '\316', '\317', '\320', '\321', '\322', '\323', '\324', '\325', '\326', '\327', '\330', '\331', '\332', '\333', '\334', '\335', '\336', '\337', '\340', '\341', '\342', '\343', '\344', '\345', '\346', '\347', '\350', '\351', '\352', '\353', '\354', '\355', '\356', '\357', '\360', '\361', '\362', '\363', '\364', '\365', '\366', '\367', '\370', '\371', '\372', '\373', '\374', '\375', '\376', '\377', }; int strcasecmp(s1, s2) const char *s1, *s2; { register const u_char *cm = charmap, *us1 = (const u_char *)s1, *us2 = (const u_char *)s2; while (cm[*us1] == cm[*us2++]) if (*us1++ == '\0') return (0); return (cm[*us1] - cm[*--us2]); } int strncasecmp(s1, s2, n) const char *s1, *s2; register size_t n; { if (n != 0) { register const u_char *cm = charmap, *us1 = (const u_char *)s1, *us2 = (const u_char *)s2; do { if (cm[*us1] != cm[*us2++]) return (cm[*us1] - cm[*--us2]); if (*us1++ == '\0') break; } while (--n != 0); } return (0); } #endif #if defined(VMS) /* In all versions of VMS, fopen() and open() are needlessly inefficient. * Define jacket routines to do file opens with more sensible parameters * than the VAXCRTL default. * [Should we really be doing this for EVERY fopen() and open()?] */ #ifdef fopen #undef fopen #endif #ifdef open #undef open #endif FILE *fopen_VMSopt ( name, mode ) char *name, *mode; { return fopen ( name, mode, "mbc=32" ); } int open_VMSopt ( name, flags, mode ) char *name; int flags; unsigned int mode; { return open ( name, flags, mode, "mbc=32"); } #endif -- | Paul Lindner | lindner@boombox.micro.umn.edu | Slipping into madness | | Computer & Information Services | is good for the sake | Gophermaster | University of Minnesota | of comparison. ///// / / / /////// / / / / / / / / //// / / / / / / / /
Newsgroups: comp.sys.next.programmer From: mshaler@tdocad.sps.mot.com (Michael Shaler) Subject: "Memory access exception" (HUH?) Date: Tue, 2 Mar 1993 17:42:19 GMT Organization: Nippon Motorola Ltd., Tokyo, Japan Sender: news@tkymail.sps.mot.com Message-ID: <1993Mar2.174219.17236@tkymail.sps.mot.com> Amateur hour question. I'm using DBKit in tandem with IXKit and can't get around a huge glitch in my application. What does the following message from gdb mean? Program generated(1): Memory access exception on address 0x0 (protection failure). 0xb00751e in -[DBBinderMapping takeValueFrom:] () (gdb) Program generated(1): Memory access exception on address 0x0 (protection failure). Any recommendations from the virtual world? Thanks in advance. --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 voice +813 3440 0033 fax mshaler@tdocad.sps.mot.com [NeXTmail]
From: fasano@scarolina.cerfnet.com (Christopher G. Fasano) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Loadable Kernel Server Keywords: Kernel Message-ID: <1n0u18INNdgv@news.cerf.net> Date: 3 Mar 93 00:27:19 GMT Organization: CERFnet Hello, Has anyone out there actually written a loadable kernel server (for network applications like a protocol handler, or a packet sniffer. If you have-- HELP! Please contact me at fasano@scarolina.cerfnet.com Thanks in advance! Chris Fasano
From: fasano@scarolina.cerfnet.com (Christopher G. Fasano) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Loadable Kernel Server Keywords: Kernel Message-ID: <1n0u25INNdh1@news.cerf.net> Date: 3 Mar 93 00:27:49 GMT Organization: CERFnet Hello, Has anyone out there actually written a loadable kernel server (for network applications like a protocol handler, or a packet sniffer. If you have-- HELP! Please contact me at fasano@scarolina.cerfnet.com Thanks in advance! Chris Fasano
From: fasano@scarolina.cerfnet.com (Christopher G. Fasano) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Loadable Kernel Server Keywords: Kernel Message-ID: <1n0u2nINNdh4@news.cerf.net> Date: 3 Mar 93 00:28:07 GMT Organization: CERFnet Hello, Has anyone out there actually written a loadable kernel server (for network applications like a protocol handler, or a packet sniffer. If you have-- HELP! Please contact me at fasano@scarolina.cerfnet.com Thanks in advance! Chris Fasano
From: tjhendry@queen.mcs.drexel.edu (Jonathan Hendry) Newsgroups: comp.sys.next.programmer Subject: Undefined Symbol Message-ID: <1993Mar3.005840.1404@netnews.noc.drexel.edu> Date: 3 Mar 93 00:58:40 GMT Sender: news@netnews.noc.drexel.edu Organization: Drexel University, Dept. of Math. and Comp. Sci. I'm munging Garfinkel & Mahoney's Tiny.app so that it will display a rib file in the view. (I said in c.s.mac.something that a rendering app in NeXTSTEP would be shorter than a "hello world" app on the Mac. So far it's 39 lines for the Mac, 46 for the NeXT) I am #importing: #import <math.h> #import <appkit/appkit.h> #import <3Dkit/3Dkit.h> When I tried to compile it: cc -o TinyRender TinyRender.m -lNeXT_s -lsys_s -lMedia_s -ldpsops it gave me: /bin/ld: Undefined symbols: _PSusertime What libraries or headers am I missing? Anyone know? -- Jonathan W. Hendry Drexel University College Of Info. Studies tjhendry@queen.mcs.drexel.edu "The experience of programming Windows vs. the experience of programming NeXTStep is like going to the dentist and having a root canal without anaesthetic vs. going to the dentist and having your gums cleaned w/some nitrous-oxide thrown in for the entertainment side of things." bbum@stone.co
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Problem with bycopy - solved Organization: Primitive Software Ltd. References: <1993Feb26.201400.2017@prim> Date: Tue, 2 Mar 1993 10:11:38 +0000 Message-ID: <1993Mar2.101138.1556@prim> Sender: usenet@demon.co.uk In article <1993Feb26.201400.2017@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >I can't seem to get bycopy to work. I want the server to return a copy of a >List object to the client. Here is the server method: > [...] > >Maybe this is related to the fact that I'm not using protocols? > Thanks to Paul Marcos and Ted Slupesky for helping me out. It works fine if you use protocols. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: TextFieldCell editing problem Message-ID: <1993Mar3.055014.6307@netcom.com> Sender: yikes@netcom.com (Jenny Doll) Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Wed, 3 Mar 1993 05:50:14 GMT I have a matrix of custom cells (containing a graphic and a TextFieldCell). When the user clicks on the text portion of the cell, my matrix calls the following method of the custom cell: - editTextCell:(NXEvent *)theEvent inView:aView { id theEditor = [[aView window] getFieldEditor:YES for:self]; [self endEditing:theEditor]; [theEditor setEditable:YES]; [theEditor setDelegate:self]; // Note that rect is an instance var that contains editing rect [textCell edit:&rect inView:aView editor:theEditor delegate:self event:theEvent ]; return self; } What I was hoping was when I called this method, I'd be able to edit the text... what is happening, however, is when I click on the cell, the cell frame hilights (like it's supposed to), but I don't go into editing mode. When I type , I just get beeped at like there's no first responder. I'm sure it's something simple (like I'm missing a chromosome), anyone care to enlighten me? Thanks, ...Michael Brill (yikes@netcom.com) BTW, I checked theEvent, aView, rect and self... they're all OK. -- ----
From: bbum@stone.com Newsgroups: comp.sys.next.programmer Subject: CDAudio objects Message-ID: <1993Mar3.050217.225@stone.com> Date: 3 Mar 93 05:02:17 GMT Article-I.D.: stone.1993Mar3.050217.225 Sender: bbum@stone.com Organization: Stone Design Corp I while ago, I offered to write an OO interface to the CDRom drive in audio mode... that offer still stands (it would be released either as freeware or bundleware. It would AT LEAST have a full API so that no functionality is lost to the developer) if someone will give me a pointer to a piece of information. Basically, how does one manage mounting/unmounting of the audio disc-- the workspace's calling of CDPlayer.app seems pretty hardwired in both the workspace (messages to cdaudio.fs) and the kernel driver (which seems to have a non-overridable hard coded path to /NextDeveloper/Apps/CDPlayer.app). If anyone can give me that piece of information, the rest of the objects are easy to write.... b.bum -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: jeffh@victoria.umhc.umn.edu (Jeff Hallgren) Subject: ProjectBuilder remote Host: over SLIP Message-ID: <C3AoyC.J5J@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Wed, 3 Mar 1993 04:10:59 GMT I've been trying to use the remote host option of ProjectBuilder. The project is located in a file system that I'm mounting over a SLIP link. I'm able to open the project, edit files... but when I try to build on the remote host ProjectBuilder hangs. I get this message on the console: Mar 2 21:22:22 victoria netmsgserver[60]: netname_main.msg_send fails, kr = -102. I have used the remote host option reliably at work where its all ethernet, so I suspect my problem has something to do with ProjectBuilders function over SLIP. In the mean time I'll go back to ftping compressed directories around, but if someone has had experience doing this please let me know... Thanks Jeff Jeff Hallgren University of Minnesota Hospital and Clinic Email: jhall@tahiti.umhc.umn.edu [NeXTMail is: welcome];
Newsgroups: comp.sys.next.programmer From: reich@winx06.informatik.uni-wuerzburg.de (Stefan Reich) Subject: Interfacing the ProjectBuilder Message-ID: <1993Mar3.120641.7145@informatik.uni-wuerzburg.de> Sender: news@informatik.uni-wuerzburg.de (USENET News account) Organization: University of Wuerzburg, Germany Date: Wed, 3 Mar 1993 12:06:41 GMT Hi! I'm trying to write a controller program for the Absoft Fortran Compiler. It should integrate the compiler as good as the Next C-compiler. I tried to rearrange the error reports so that they conform with the ones the C compiler gives, but without success. Does the C compiler send messages to ProjectBuilder? If it does, which ones? Has anyone written this kind of thing before? Thanks... Stefan Reich@winx06.informatik.uni-wuerzburg.de (This is a dumb AIX Terminal: please no NeXT-Mail)
From: raghu@ifib1.ifib.uni-karlsruhe.de Newsgroups: comp.sys.next.programmer Subject: Scaling Text Date: 3 Mar 1993 13:55:16 GMT Organization: University of Karlsruhe, Germany Message-ID: <1n2dc4$kjo@nz12.rz.uni-karlsruhe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Keywords: scaling, text I need some help om scaling text. I would like the text to scale when I zoom into a drawing. The way I am doing it is by modifying the draw method in TextGraphic class take the textObject --> copy the contents into a NXImage --> resize the image according to current zoom --> composite it back i have tried some other ways such as writing PS code for the text object into a stream --> creating a NXImage with initFromStream etc Is there some really obvious way I am missing? Would appreciate any pointers. Thanks Raghu R Bhat -- ************************************************************************** **** Raghu R Bhat INTERNET bhat@ifib1.ifib.uni-karlsruhe.de IFIB, 7 EnglerStr, Uni-Karlsruhe, 7500 Karlsruhe 1 GERMANY (49) 721-608 2168 ************************************************************************** ****
From: jack@richsun.cpg.trs.reuter.com (Jack Gidding) Newsgroups: comp.fonts,comp.sys.next.programmer,comp.sys.next.misc Subject: Help needed creating Type 1 Fonts Message-ID: <4037@richsun.cpg.trs.reuter.com> Date: 3 Mar 93 14:58:59 GMT Sender: news@richsun.cpg.trs.reuter.com Followup-To: comp.fonts Hello all, I have a specific problem. I have several fonts which are used in trading room applications in Sun's *.vft format. Supposedly, the utility convertfont will convert these to *.afm files. However, I cannot get it do do this. I need to create these fonts for use on the NeXT. My other question is, is there a tool that will graphically allow me to specify the Postscript fonts needed for NeXT? Thanks, --- Jack Gidding Sr. Development Engineer Reuters 1400 Kensington Road Oak Brook,IL 60521 jack@richsun.cpg.trs.reuter.com NeXT mail welcome! ----------------------------------------------------------- "Credit is a euphemism for debt." - Billy McKenzie
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: Re: Does DPS discriminate? (SOLVED) (sort of) Message-ID: <C3BMBB.II@dutiws.twi.tudelft.nl> Organization: Delft University of Technology References: <C389I7.5M8@dutiws.twi.tudelft.nl> <1993Mar2.174556.29474@adobe.com> Date: Wed, 3 Mar 1993 16:11:34 GMT In article <1993Mar2.174556.29474@adobe.com> byer@adobe.com (Scott Byer) writes: >Dimitri Tischenko writes > >> In my project, I'm using a version of Garfinkel&Mahoney's GraphView >> and Segment classes. For those who don't have the book: the GraphView >> has a display list where it places Segment instances. Each Segment >> represents a line segment which draws itself in linewidth 1.0. In >> order to achieve a 'real' linewidth of 1.0, Segment scales its >> coordinate system just before PSsetlinewidth()ing and PSstroke()ing, >> and scales it back afterwards. > Thanks to Marcel Waldvogel, Scott Byer and Matt Brandt for a quick response. And Scott Byer gave the solution: ... >Or, alternatively, to avoid the gsave/grestore: > ><draw path> >matrix currentmatrix > <X> <Y> scale stroke >setmatrix > >While it is possible that doing/undoing a scale will eventually >introduce noticible rounding error, it should take a fairly large >number of such sequences to see this. Or, any pathological case >which scales to a very nearly singular matrix could also introduce >rounding error fairly quickly. Avoiding such scaling and unscaling >is good numerical methedology. Yes, that's clear except one point: why don't the same rounding errors show up while drawing in the View??? In my case, rounding errors showed up at +- 500 scales, but only in the EPS, not in the View! > >-- >Scott Byer NeXTMail: byer@mv.us.adobe.com >Adobe Systems Incorporated These are *my* opinions, and >1585 Charleston Road, P.O. Box 7900 do not necessarily reflect >Mountain View, CA 94039-7900 the opinions of my employer. >--------------------------------------------------------------------- Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: Custom inspector for a Window subclass Message-ID: <C3BMLq.pI@dutiws.twi.tudelft.nl> Keywords: IB palette inspector Organization: Delft University of Technology Date: Wed, 3 Mar 1993 16:17:50 GMT Hi all, Problems keep coming ;-) Has anybody succesfully produced a working custom IB Attributes inspector for a Window subclass? I'm trying right now, and my - getInspectorClassName method doesn't get called at all! If I make the custom palette object a subclass of Object it works, but not if it's a subclass of Window or Panel. Any clues? Thanks in advance, Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
From: andrew@cubetech.com (Andrew Loewenstern) Newsgroups: comp.sys.next.programmer Subject: Re: Public Key Encryption Date: 2 Mar 1993 17:18:32 -0600 Organization: Cube Technologies, Inc Message-ID: <1n0q08$79o@imladris.cubetech.com> References: <1993Feb28.232443.9439@znext.cts.com> <1mu7vn$50s@imladris.cubetech.com> <1mvo65INNrfh@ni.umd.edu> In article <1mvo65INNrfh@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >You've decided to avoid PGP because of its >unlicensed implementaion of RSA, but you're going to use IDEA, which >is also patented and unlicensed in the US. The advantage of using >RIPEM is that you'd have an existing "legitimate" user base that you >can communicate with. RSAREF is free for non-commercial usage. As is IDEA. Both controlling companies (PKP for RSA and Ascom-Tech AG for IDEA) will grant licenses for commercial usage. andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
Newsgroups: comp.sys.next.programmer From: frank@glocke.robin.de (Frank Thomas) Subject: Re: I can create Help.store Message-ID: <1993Mar1.064242.361@glocke.robin.de> Sender: frank@glocke.robin.de References: <1993Feb23.120512.260@glocke.hotb.sub.org> Date: Mon, 1 Mar 1993 06:42:42 GMT Hello all, Looks like many people are interested! I got many mails due to my last posting. I'm going to upload the compressHelp sources to sonata.cc.purdue.edu today. If this should not be possible I'm going to upload it to cs.orst.edu. File: /pub/next/submissions/compressHelp.tar.Z Frank PS: Please not new mail address. (Sorry my news system used the old one!) NeXTMail ok.
From: olav@emerson.physics.ubc.ca Newsgroups: comp.sys.next.programmer Subject: Volume control keyboard disconnect? Date: 3 Mar 1993 19:41:08 GMT Organization: The University of British Columbia Distribution: world Message-ID: <1n31kkINN1qq@iskut.ucs.ubc.ca> Hi all, Is there a way to disconnect the volume buttons on the keyboard through a dwrite? ________________________________________________________ B.Olav Anderson Autodidact e-mail olav@emerson.physics.ubc.ca "I know of no more encouraging fact than the unquestionable ability of man to elevate his life by a conscious endeavour." H.D.Thoreau
From: eht+@cmu.edu Newsgroups: comp.sys.next.programmer Subject: SafeEvent.m (get events from threads to main thread) Message-ID: <eht.93Mar184144@moo> Date: 1 Mar 93 13:41:44 GMT Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon Content-Type: text/plain Mime-Version: 1.0 There was some interest in this so here it is. This stuff has probably been superceded by distributed objects, but at the time, it solved the problem. Here's the interface: ********************************************************************************************* #import <objc/Object.h> #import <mach/mach.h> #import <mach/cthreads.h> #import "trigger_fn.h" @interface SafeEvent : Object { port_t eport; id target; } - init; - setTarget:anObj; - (trigger_fn)setEventAction:(SEL)s; @end ********************************************************************************************* Here's the implementation ********************************************************************************************* /* * SafeEvent.m * ---------------------------------------------------------------- * Description: * Maps C callbacks to Objective-C '[target method:str]' in a thread-safe way * ---------------------------------------------------------------- * Version control information: * $Author: eht $ * $Date: 93/01/14 15:32:58 $ * $Locker: eht $ * $Source: /private/Net/moo/baz/DARPADemos/src/libdemokit/RCS/SafeEvent.m,v $ * $State: Exp $ * $Revision: 1.3 $ * ---------------------------------------------------------------- * $Log: SafeEvent.m,v $ * Revision 1.3 93/01/14 15:32:58 eht * propagate the connection id to the target object via * a setActiveConn: method call * * Revision 1.2 1992/11/05 19:44:55 eht * added RCS keywords for version control info * */ #import <string.h> #import <dpsclient/dpsclient.h> #import <appkit/Application.h> #import "event_msg.h" #import <mach/mach_error.h> #import <demokit/SafeEvent.h> @implementation SafeEvent void eport_handler(msg_header_t *msg, void *userData) { id target = (id)userData; simpleMsg *eventMsg = (simpleMsg *)msg; void *arg; int cid; SEL method; arg = eventMsg->arg; cid = eventMsg->cid; method = eventMsg->method; if ([target respondsTo:@selector(setActiveConn:)]) [target setActiveConn:cid]; [target perform:method with:arg]; /* if desired, you can put your 'arg' deallocation code here */ } - init { int k_err; [super init]; k_err = port_allocate(task_self(), &eport); if (k_err != KERN_SUCCESS) { mach_error("Error while allocating event port", k_err); exit(1); } return self; } - setTarget:anObj { target = anObj; DPSAddPort(eport, eport_handler, sizeof(simpleMsg), (void *)target, NX_MODALRESPTHRESHOLD); return self; } - (trigger_fn)setEventAction:(SEL)s { return trigger_next(eport, s); } @end ********************************************************************************************** Here's where trigger_next() is defined referenced: ********************************************************************************************* /* * triggers.m * ---------------------------------------------------------------- * Description: * callbacks given to C subsystems by SafeEvent.m * ---------------------------------------------------------------- * Version control information: * $Author: eht $ * $Date: 1993/01/25 18:48:07 $ * $Locker: $ * $Source: /baz/DARPADemos_1/src/libdemokit/RCS/triggers.m,v $ * $State: Exp $ * $Revision: 1.4 $ * ---------------------------------------------------------------- * $Log: triggers.m,v $ * Revision 1.4 1993/01/25 18:48:07 eht * New 3.0 path to include files * * Revision 1.3 1993/01/14 15:36:31 eht * send connection id's and an optional short text notice * with each message * * Revision 1.2 92/11/05 19:57:27 eht * added RCS keywords for version control info * */ #import <stdio.h> #import <mach/mach.h> #import <mach/mach_error.h> #import <demokit/trigger_fn.h> #import "event_msg.h" #import <string.h> #define MAX_TRIGGERS 13 simpleMsg trigger_msgs[MAX_TRIGGERS]; static int cid; void setCid(int anID) { cid = anID; } #include "mktrig/triggers" static int cur_trigger_idx = 0; static trigger_fn triggers[] = { trigger_0, trigger_1, trigger_2, trigger_3, trigger_4, trigger_5, trigger_6, trigger_7, trigger_8, trigger_9, trigger_10, trigger_11, trigger_12, }; trigger_fn trigger_next(port_t port, SEL method) { simpleMsg *eventMsg; if (cur_trigger_idx == MAX_TRIGGERS) return NULL; eventMsg = &trigger_msgs[cur_trigger_idx]; eventMsg->h.msg_simple = TRUE; eventMsg->h.msg_size = sizeof (simpleMsg); eventMsg->h.msg_local_port = PORT_NULL; eventMsg->h.msg_remote_port = port; eventMsg->h.msg_type = MSG_TYPE_NORMAL; eventMsg->t.msg_type_name = MSG_TYPE_BYTE; eventMsg->t.msg_type_size = 8; eventMsg->t.msg_type_number = sizeof(void *) + sizeof(int) + sizeof(SEL); eventMsg->t.msg_type_inline = TRUE; eventMsg->t.msg_type_longform = FALSE; eventMsg->t.msg_type_deallocate = FALSE; eventMsg->method = method; return triggers[cur_trigger_idx++]; } ********************************************************************************************* A trigger is ********************************************************************************************* void trigger_**INDEX**(char *arg) { int k_err; trigger_msgs[**INDEX**].arg = (void *)arg; trigger_msgs[**INDEX**].cid = cid; trigger_msgs[**INDEX**].msg = "trigger_**INDEX**"; k_err = msg_send((msg_header_t *)&trigger_msgs[**INDEX**], MSG_OPTION_NONE, 0); if (k_err != KERN_SUCCESS) { mach_error("Error sending trigger_**INDEX** msg", k_err); } } ********************************************************************************************* with **INDEX** replaced with some integer.
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Two methods for encoding objects? Organization: Primitive Software Ltd. Date: Wed, 3 Mar 1993 20:09:23 +0000 Message-ID: <1993Mar3.200923.3801@prim> Sender: usenet@demon.co.uk When an object is "passed on the wire", it has to implement encodeUsing: and decodeUsing: to encode and decode the object. When it is archived it has to implement routines called read: and write: to do a very similar thing. I wonder why there are two parallel ways of doing much the same thing? You'd think that archiving could have been enhanced to unarchive an object across the wire. Dave Griffiths
From: mrothste@keiko.acs.calpoly.edu (Rothstein) Newsgroups: comp.sys.next.programmer Subject: Re: Public Key Encryption Message-ID: <1993Mar03.211544.144106@zeus.calpoly.edu> Date: 3 Mar 93 21:15:44 GMT References: <1n0q08$79o@imladris.cubetech.com> Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo In article <1n0q08$79o@imladris.cubetech.com> andrew@cubetech.com (Andrew Loewenstern) writes: > In article <1mvo65INNrfh@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: > >You've decided to avoid PGP because of its > >unlicensed implementaion of RSA, but you're going to use IDEA, which > >is also patented and unlicensed in the US. The advantage of using > >RIPEM is that you'd have an existing "legitimate" user base that you > >can communicate with. > > RSAREF is free for non-commercial usage. As is IDEA. Both > controlling companies (PKP for RSA and Ascom-Tech AG for IDEA) will > grant licenses for commercial usage. > > > andrew > -- > andrew@cubetech.com | "We cannot dwell in the time that is to come, > Andrew Loewenstern | lest we lose our now for a phantom of our > Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: > 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5 I wonder, with the comming North American Free Trade Agreement could the NSA be pursuade that it is just too much trouble to try and stop exportation of encryption softawre? -- -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer From: bbum@stone.com Subject: Re: Two methods for encoding objects? Message-ID: <1993Mar4.001448.2195@stone.com> Sender: bbum@stone.com Organization: Stone Design Corp References: <1993Mar3.200923.3801@prim> Date: Thu, 4 Mar 1993 00:14:48 GMT In article <1993Mar3.200923.3801@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > > When an object is "passed on the wire", it has to implement encodeUsing: and > decodeUsing: to encode and decode the object. When it is archived it has to > implement routines called read: and write: to do a very similar thing. > > I wonder why there are two parallel ways of doing much the same thing? You'd > think that archiving could have been enhanced to unarchive an object across the > wire. Actually, passing an object on the wire and passing an archived image of an object are two very different concepts. The simple case; archival: The basic purpose of object archival is to archive all of the information needed by an object such that it can be unarchived into the same state that it was archived with (or, a copy of the object can be made w/the copy having the exact same state as the original). There is no concept of "data layers"-- archival, by definition, usuaully archives +everything+ needed to restore the state. The more complex case; passing objects on the wire: First, one doesn't need to implement encodeUsing:/decodeUsing: to pass an object on the wire. The distributed objects kit will automatically pass a proxy object if your object doesn't implement the encode/decode protocol. Secondly, when passing objects across the wire, one must devise an architecture of inter-application resource sharing that minimizes the number of network hits to keep everything up to date. For some objects (those that may represent some static piece of data), this will mean doing exactly what archival does-- make archived image of the object's state and blast that across for unarchival on the other side. BUT, for quite a number of other objects, one is only going to want to pass part of the object across the wire. For example, one would not a bunch of objects that represents delegates or UI entities to be passed across the wire as anything other than a proxy. In a number of cases, there will be certain pieces of data that the object might contain that won't need to be passed at all-- say an id iVar that represents a textfield that the object uses to display its results. In the case of sending an object across the wire that has a delegate, one will often either want to re-assign the delegate on the other end or simply leave the delegate as nil. All of these cases (outside of image archival) require special behavior within the methods defined by the various DO protocols that would be inappropriate when doing straight up read:/write: archival... b.bum > Dave Griffiths -- <bbum@stone.com> | "I ride tandem with the random... Stone Design Corp | ...things don't run the way I planned them." p.gabriel
Newsgroups: comp.sys.next.programmer From: karl@ensuing.com (Karl Kraft) Subject: Re: Two methods for encoding objects? Message-ID: <9303040156.AA08553@ensuing.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: Ensuing Technologies Inc. References: <1993Mar3.200923.3801@prim> Distribution: usa Date: Thu, 4 Mar 1993 01:56:06 GMT In article <1993Mar3.200923.3801@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > >When an object is "passed on the wire", it has to implement encodeUsing: >and No, it does not HAVE to implement this method. Object already implements it to return an NXProxy. >decodeUsing: to encode and decode the object. When it is archived it has >to implement routines called read: and write: to do a very similar thing. >I wonder why there are two parallel ways of doing much the same thing? >You'd think that archiving could have been enhanced to unarchive >an object across the wire. Becasue is you just read: and write: the object, you end up with a DIFFERENT object. By sending an NXProxy, the SAME object can recieve message from two seperate programs. (on two seperate machines, on two seperate planets if it be so!) The reason these methods exsist, is so that you can overide them to return something other that an NXProxy, so that you can avoid the overhead of distributed methods back and forth. For example, if you had an object that returned random numbers, and each copy can exsist indepenetly, you could just encode: and decode: to produce a seperate Random object, instead of an NXProxy. -- __________ Karl Kraft karl@ensuing.com (NeXT mail)
From: Lyle_Seaman@transarc.com Newsgroups: comp.sys.next.hardware,comp.sys.next.programmer Subject: Re: Can the computer turn on/off a SCSI disk by itself? Message-ID: <AfYsyOH0BwxI4K1XFV@transarc.com> Date: 2 Mar 93 16:47:22 GMT References: <1muuj6INN5cc@srvr1.engin.umich.edu> Distribution: usa Organization: Carnegie Mellon, Pittsburgh, PA In-Reply-To: <1muuj6INN5cc@srvr1.engin.umich.edu> Yes, the computer can turn a SCSI disk off by itself. Also, some disks have inactivity timers built into them, and will spin down independently, and then spin up when they are told to by the host. In every disk I've seen (which supports this feature), this behavior can be controlled by a jumper on the disk drive. Check out the data sheet.
From: monty@its.com (Montgomery Zukowski) Newsgroups: comp.sys.next.programmer Subject: exception handling and distributed objects problem Message-ID: <9303032113.AA04538@its.com> Date: 3 Mar 93 21:12:36 GMT Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University ****Please respond directly to monty@its.com since I have no news feed***** I'm trying to use -runWithTimeout to poll my NXConnection for messages. Basically I loop forever doing certain things, one of which is [serverConn runWithTimeout:1]. This is not an AppKit program so I can't take advantadge of -runFromAppkit. I'm assuming that the NXConnection sets up the ports and then actually polls them when runWithTimeout is called. Mach messages to ports queue until recieved. I'm having a problem catching an exception raised in -runWithTimeout:. I call [serverConn runWithTimeout:1] within an exception handling domain, but it seems to go uncaught and prints out "uncaught exception 11013". The exception, by the way, is the NX_receiveTimedOut exception, which tells me that no messages were recieved. Right after that just to test things I NX_RAISE() the same exception and my handler catches it. When I run this code: fprintf(stderr,"before the handler\n"); NX_DURING fprintf(stderr,"in the handling domain\n"); [serverConn runWithTimeout:1];//raises uncaught exception fprintf(stderr,"after the runWithTimeout\n"); NX_RAISE(NX_receiveTimedOut,NULL,NULL); NX_HANDLER switch(NXLocalHandler.code) { case NX_receiveTimedOut: //ignore fprintf(stderr,"caught the exception\n"); break; default: fprintf(stderr,"reraising!\n"); NX_RERAISE(); break; } fprintf(stderr,"In exception handler\n"); NX_ENDHANDLER I get this output: before the handler in the handling domain uncaught exception : 11013 //from -runWithTimeout after the runWithTimeout caught the exception //from my own NX_RAISE call In exception handler //ditto I am using a polling strategy to avoid having a multithreaded object, even though it wouldn't be too hard to do, this is simpler and should work. The exception, by the way, is the NX_receiveTimedOut exception, which tells me that no messages were recieved. To me that is acceptable and shouldn't be an exception that gets passed up the stack. The only reason I could think of for this behavior is that -runWithTimeout launches a thread to do its thing and the exception is raised in that thread which is why I don't get it. I tried using NXSetUnchaughtExceptionHandler(), and even my registered function did not recieve the exception. This implies that the exception is raised in a totally separated context, a separate thread. I have not seen a discussion of multithreaded exceptioins anywhere regarding NX_HANDLERS. Any ideas? Please email me because I have no news feed. Thanks, Monty
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: ptrace(2) Message-ID: <CEDMAN.93Mar3075035@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University Date: Wed, 3 Mar 1993 11:50:35 GMT The ptrace(2) system call is necessary to run one process under the control of (and possible modification by) another process. It is available on most UN*X versions I'm aware of, but the NeXT man page claims that it does not exist here. Fortunately the ptrace.h header file, the code of the NeXT version of Gdb and a kernel listing all belie that statement. Unfortunately that still means that there is no documentation for NeXT ptrace. And while all ptraces support certain standard requests, most also implement useful UN*X version dependent extensions, so the documentation of other ptraces probably doesn't tell the whole story about NeXT ptrace. So my question is, does anybody have documentation (a real man page would be nice), or do I have slug my way through the kernel code ? Thanks for any help ! Carl Edman
Newsgroups: comp.sys.next.programmer From: gmecchia@phoenix.Princeton.EDU (Giuseppina Mecchia) Subject: problem in placing large images in a rtfd file Message-ID: <1993Mar3.222008.27312@Princeton.EDU> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University Date: Wed, 3 Mar 1993 22:20:08 GMT Hi, I am writing some documentation and I came with the following problem: I wanted to use Edit to produce Rich Text Format files with pictures (.rtfd). I initially started grabbing pictures using grab, and saved as .tiff files. The problem came after I dragged the .tiff file in my .rtfd document, in which the picture did not resize itself so that the entire image would be visible in the 8x11" printout of the document (I am using Portrait as page format). I then eventually saved the pictures as .ps files, which cannot be dragged into a .rtfd file (at least I couldn't). But .eps files can, so I renamed the .ps files to .eps files. This time, however, the pictures were drawn in my .rtfd document as rotated by 90 degrees. One of my collegues eventually used Create to rotate the image by 90, but I would like to avoid using to. My goal is to print on a 8x11 sheet a document where images that are larger than than on the screen, don't have portions truncated off. Any hints would be greatly appreciated. Alexis Rzewski rzewski@northstar.com
Newsgroups: comp.sys.next.programmer From: mshaler@tdocad.sps.mot.com (Michael Shaler) Subject: In search of working PS-to-ASCII filter or script Date: Thu, 4 Mar 1993 09:47:56 GMT Organization: Nippon Motorola Ltd., Tokyo, Japan Sender: news@tkymail.sps.mot.com Message-ID: <1993Mar4.094756.29125@tkymail.sps.mot.com> Title says it all. I need to turn mostly standard PS documents into purely ASCII text--any suggestions? Thanks in advance... Michaelto
Newsgroups: comp.sys.next.programmer From: fell@binah.cc.brandeis.edu Subject: compiling c++ under 3.0 Message-ID: <1993Mar4.114155.3157@news.cs.brandeis.edu> Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University Date: Thu, 4 Mar 1993 11:41:55 GMT I am having trouble compiling c++ programs using 3.0. In particular, I am not including the header files correctly,i.e., #include <iostream.h> do not work. I am guessing as to what I should import. The c++ command seems to work, but the compiler does not recognize functions such as cout. Can some kindly soul help me out? Thanks.
Newsgroups: comp.sys.next.programmer From: planon_4!laurent (Laurent Daudelin) Subject: Re: activateSelf: Message-ID: <1993Mar3.144651.3705@CAM.ORG!planon> Sender: laurent@CAM.ORG!planon References: <C36EIx.7tA@willamette.edu> Date: Wed, 3 Mar 1993 14:46:51 GMT In article <C36EIx.7tA@willamette.edu> alabbe@pioneer.willamette.edu (Andre Labbe) writes: | | I need some help in figuring out how to use 'activateSelf:'. | I keep getting an error at compile time. | "warning '<name>' does not respond to `activateSelf:'" | | the line of code is " [self activateSelf:YES]; " | | Basically I don't know how to use activateSelf: an example would be | grate. | | Thank you for your help.! | | Andre' Labbe' | N7XIZ That's because self is acting as the delegate of your app. The delegate can't perform application's method. You should make your call this way: [NXApp activateSelf:self]; , where NXApp is the global that represents your application object. Note, however, that you rarely have to call this method. As stated in the documentation "You should rarely have a need to invoke this method. Under most circumstances the Application Kit takes care of proper activation." Hope this helps! Laurent Daudelin, Planon Telexpertise Boucherville, Quebec
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Russian dolls Organization: Primitive Software Ltd. Date: Thu, 4 Mar 1993 13:35:49 +0000 Message-ID: <1993Mar4.133549.4784@prim> Sender: usenet@demon.co.uk [Note: I know this group is mainly a question and answer forum, but this article is not a request for help, just an attempt to bounce some ideas around] I seem to have three types of design issue that could be solved very nicely if only Objective-C was implemented differently. (They can all be solved anyway by using separate objects, but not as cleanly). Suppose subclasses were implemented like russian dolls, so that "super" was actually a separate object. The subclasses could still be made to have direct access to the superclasses instance variables. Here are the cases where I would find this useful: 1) Promoting an object to it's superclass. A lot of objects in my application lie "dormant" for much of the time, until they are selected. Many of these objects will never be selected. To save space, it would be nice to have them initiated as a lightweight superclass and then if they are actually selected, promote them to a heavyweight subclass. If subclasses were implemented as separate objects, this would be possible. Yes, I could put this extra functionality into a separate object anyway, but then you lose the clarity of inheritance. It's mainly a conceptual thing, I don't like too many classes cluttering the place up. 2) Towns, Streets and Houses. I posted an article about this to comp.lang.objective-c a while ago. If you imagine an application that has town, street and house objects, it would be nice to have the street objects within the scope of their containing town object and the same for houses within streets, such that a house object (of which there would be many) would look like a subclass of Town:Street and would have access to their instance variables. If subclasses were separate objects, you could have multiple subclasses of the same object. In the appkit, Cells could be subclasses of View without the overhead of each Cell containing all the View stuff. 3) A halfway house between proxies and copies. In using distributed objects, I seem to need a mixture of proxy and "across the wire" copy. I don't want a copy because, if you imagine the town, street and house example, it would mean copying far too much to the client which would then end up doing the servers job itself. I don't want a proxy because of the overhead of accessing the server objects instance variables across the wire. (10ms per call, quite low but they soon add up!). What I seem to want is something like this. A "House" class that both the server and client know about. This contains the instance variables that the client is interested in. Then the server will use a "ServerHouse" class and the client will use a "ClientHouse" class and both will be subclasses of "House". The "House" class will be copied across the wire to the client, which would then use it as the basis of creating the ClientHouse object. This sort of scheme is difficult to implement at present. I am cheating at the moment by having a House class on the server that is different from the House class on the client. The server version encodes the instance variables that the client needs (including a proxy of the real server House object). One problem here is that it's difficult for the server to choose what class will be used to instantiate on the client side. Your server encodeRemotelyFor: method can actually return a different object, so it could for instance return an object of the "ClientHouse" class, and then have a dummy ClientHouse class on the server side that exists purely to cause the correct class to be instantiated on the client side. Now this is all fine and dandy, but supposing I decide to incorporate both client AND server code in the same program, as an option for efficiency purposes? You've then got two classes with the same name. It would be good if the server encoding methods could override the class name to be instantiated on the client. OK, that's all. Just wondered if there were any Obj-C experts out there who could comment on the feasability of such a scheme. Dave Griffiths PS: the application is a newsreader, so you can substitute "groups, threads and articles" for "towns, streets and houses".
From: low00001@bullnext.mc.duke.edu (Richard Low) Newsgroups: comp.sys.next.programmer Subject: Displaying date/time in visual clock format Keywords: clock date Message-ID: <10929@news.duke.edu> Date: 4 Mar 93 15:58:01 GMT Sender: news@news.duke.edu Does anybody know of an example that shows how to display a date an time in a clock format like the one shown in the Preferences.app icon on the dock? Alternately, if there was a View object that did it automagically that would be great! Thanks for any help. ============================================================ Richard Low | low00001@bullnext.mc.duke.edu Duke University Medical Center | Voice: 919-286-6362 Box 3900, Durham, NC 27710 | Fax: 919-286-6369 U.S.A. | NeXT Mail Welcome ============================================================ -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.UQF,5QF M<W=I<W,@2&5L=F5T:6-A.WT*7&UA<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT M>#$S-#1<='@R-C@X7'1X-#`S,EQT>#4S-S9<='@V-S(P7'1X.#`V-%QT>#DT M,#A<='@Q,#<U,EQT>#$R,#DV7'1X,3,T-#!<9C!<8C!<:3!<=6QN;VYE7&9S M,CA<9F,P7&-F,"!$;V5S(&%N>6)O9'D@:VYO=R!O9B!A;B!E>&%M<&QE('1H M870@<VAO=W,@:&]W('1O(&1I<W!L87D@82!D871E(&%N('1I;64@:6X@82!C M;&]C:R!F;W)M870@;&EK92!T:&4@;VYE('-H;W=N(&EN('1H92!0<F5F97)E M;F-E<RYA<'`@:6-O;B!O;B!T:&4@9&]C:S\@($%L=&5R;F%T96QY+"!I9B!T M:&5R92!W87,@82!6:65W(&]B:F5C="!T:&%T(&1I9"!I="!A=71O;6%G:6-A M;&QY('1H870@=V]U;&0@8F4@9W)E870A7`I<"E1H86YK<R!F;W(@86YY(&AE M;'`N7`I<"@I<<&%R9%QT>#8R,%QT>#$R-#!<='@Q.#8P7'1X,C0X,%QT>#,Q M,#!<='@S-S(P7'1X-#,T,%QT>#0Y.#!<='@U-C`P7'1X-C(R,%QF,5QF8S!< M8V8P(#T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/5P*(%)I8VAA<F0@3&]W"0D)"0D)"7P);&]W M,#`P,#%`8G5L;&YE>'0N;6,N9'5K92YE9'5<"B!$=6ME(%5N:79E<G-I='D@ M365D:6-A;"!#96YT97()"0E\"59O:6-E.B`Y,3DM,C@V+38S-C)<"B!";W@@ M,SDP,"P@1'5R:&%M+"!.0R`R-S<Q,`D)"7P)1F%X.B`@(#DQ.2TR.#8M-C,V M.5P*(%4N4RY!+@D)"0D)"0D)?`E.95A4($UA:6P@5V5L8V]M95P*/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] /3T]/3T]/3T]7`H*?0H] `
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: russ@psych.toronto.edu (Russell Sutherland) Subject: printcap files and ppd files Message-ID: <1993Mar4.161326.3780@psych.toronto.edu> Organization: Department of Psychology, University of Toronto Date: Thu, 4 Mar 1993 16:07:47 GMT Does anyone have a printcap template entry that uses a ppd file and prints to a remote printer. I have not been able to enable the ppd stuff. Here is the printcap entry that does not work: ps6: \ :rm=utas:rp=ps6:lp=:ty=HP LaserJet IIID Postscript Cartridge: \ :_writers=*:note=Remote Printer:sd=/usr/spool/NeXT/ps6: \ :nxformat=3.0: \ :lo=/usr/spool/NeXT/ps6/lock: It seems that only the local printers setup with the Print Manager application seem to show the ppd options in the print dialogue box. E-mail responses would be appreciated. -- Russell Sutherland Bell: (416)-978-5140 Office of the Dean Uucp: ...{utzoo,utgpu}!utas!russ Faculty of Arts and Science Internet: russ@artsci.utoronto.ca
From: yanik%planon@CAM.ORG (Yanik Crepeau) Newsgroups: comp.sys.next.programmer Subject: Re: Public Key Encryption Message-ID: <1993Mar4.152034.2347@CAM.ORG!planon> Date: 4 Mar 93 15:20:34 GMT References: <1mu7vn$50s@imladris.cubetech.com> Sender: yanik@CAM.ORG!planon > In article <1993Feb28.232443.9439@znext.cts.com> zeke@znext.cts.com writes: >First of all, just why is it that PGP is illegal, as I have seen stated >here and elsewhere. I got the source from the listed usa archive sight, >I'd like to know exactly why it is illegal, including references to the >relevant laws ( I don't mean to be a jerk, I just what to check some >things out for myself ) Encryption technology can not be exported but printed documentation (books, magazine etc.) about it could be. What would be US reaction if a non-US citizen, resident outside the USA would begin to export encryption technology from his own country around the world? With the collapse of USSR many ex-KGB agents look for opportunities to make money. Some try to sell atomic technology to third world dictators like Saddam but other could try to sell some encryption technology to the Western world. I have seen some messages on the net coming from Russia. If someone in the USA could ftp strategic information, anyone around the world, including Saddam and Castro, could do the same. In conclusion, I'd like to remind you that Ethel and Julius Rosenberg have been executed by US autorities during 50's for high-treason. They was accused to have sold the "secret" of the atomic bomb to USSR. The "secret" was a jaggued cisor-cut Jello box. Don't type >> in your terminal, you could be accused to have sold atomic secret to Saddam. -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated Fax: 514-449-6484 -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Two methods for encoding objects? Organization: Primitive Software Ltd. References: <1993Mar3.200923.3801@prim> <1993Mar4.001448.2195@stone.com> Date: Thu, 4 Mar 1993 19:17:05 +0000 Message-ID: <1993Mar4.191705.7669@prim> Sender: usenet@demon.co.uk In article <1993Mar4.001448.2195@stone.com> bbum@stone.com writes: >In article <1993Mar3.200923.3801@prim> dave@prim.demon.co.uk (Dave Griffiths) >writes: >> >> When an object is "passed on the wire", it has to implement encodeUsing: >and >> decodeUsing: to encode and decode the object. When it is archived it has to >> implement routines called read: and write: to do a very similar thing. >> >> I wonder why there are two parallel ways of doing much the same thing? >You'd >> think that archiving could have been enhanced to unarchive an object across >the >> wire. > >Actually, passing an object on the wire and passing an archived image of an >object are two very different concepts. > No they're not, they're conceptually very similar! (But maybe concepts are in the brain of the beholder :-) They've been _implemented_ in two very different ways though. >The simple case; archival: > >The basic purpose of object archival is to archive all of the information >needed by an object such that it can be unarchived into the same state that >it was archived with (or, a copy of the object can be made w/the copy having >the exact same state as the original). There is no concept of "data >layers"-- archival, by definition, usuaully archives +everything+ needed to >restore the state. > >The more complex case; passing objects on the wire: > >First, one doesn't need to implement encodeUsing:/decodeUsing: to pass an >object on the wire. The distributed objects kit will automatically pass a >proxy object if your object doesn't implement the encode/decode protocol. > Nitpick: in this case, you are not passing the object on the wire, you are passing the proxy instead. >Secondly, when passing objects across the wire, one must devise an >architecture of inter-application resource sharing that minimizes the number >of network hits to keep everything up to date. > Agreed. (And no way can you treat distributed objects just like local objects if you want to maintain efficiency!). >For some objects (those that may represent some static piece of data), this >will mean doing exactly what archival does-- make archived image of the >object's state and blast that across for unarchival on the other side. > >BUT, for quite a number of other objects, one is only going to want to pass >part of the object across the wire. For example, one would not a bunch of >objects that represents delegates or UI entities to be passed across the wire >as anything other than a proxy. In a number of cases, there will be certain >pieces of data that the object might contain that won't need to be passed at >all-- say an id iVar that represents a textfield that the object uses to >display its results. > >In the case of sending an object across the wire that has a delegate, one >will often either want to re-assign the delegate on the other end or simply >leave the delegate as nil. > >All of these cases (outside of image archival) require special behavior >within the methods defined by the various DO protocols that would be >inappropriate when doing straight up read:/write: archival... > I agree that you will want to take different steps when encoding/decoding objects across the wire as opposed to archival. But what I meant was why not simply use an enhanced version of archival on typed streams to accomplish this instead of inventing a completely new mechanism? (You can easily run typed streams on Mach ports). For instance, you could add two methods to Object called encode: and decode: that took a typed stream as an argument. They could call write: and read: by default, thus allowing you to only implement code in one place to archive or encode, or you could override the encode/decode methods to address the concerns you raise above. The point I was making was, why not use typed streams to implement encode/decode? Dave Griffiths
From: mcglk@cpac.washington.edu (Ken McGlothlen) Newsgroups: comp.sys.next.programmer Subject: NeXT's RTF style: What's \fc? Message-ID: <MCGLK.93Mar4131234@yang.cpac.washington.edu> Date: 4 Mar 93 21:12:34 GMT Article-I.D.: yang.MCGLK.93Mar4131234 Distribution: usa Organization: Dubious. In the documentations files (for example, in /NextLibrary/Documentation/ NextDev/GeneralRef/02_ApplicationKit/Classes/TextFieldCell.rtf), I occasionally see something like {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\ftech Symbol;\f2\fswiss Helvetica;\f3\fmodern Ohlfs;} \paperw16220 \paperh12580 \margl120 \margr0 \f0\b0\i0\ulnone\ql\fs24\fi0\li0\gray0\fc0\cf0\up0\dn0 Release 3.0 Copyright \f1 c \f0 1992 by NeXT Computer, Inc. All Rights Reserved.\ \ All is well and good, except that I have no idea what \fc0 is. In fact, \fc0 and \fc1 appear 62 times in this document, and I would really like to know what it means. . . . I've looked at the online Microsoft RTF document, but it didn't have \fc in it, either. Any help would be appreciated. . . . ---Ken McGlothlen mcglk@cpac.washington.edu mcglk@cpac.bitnet
From: roy@watserv.ucr.edu (Roy Brown) Newsgroups: comp.sys.next.programmer Subject: Communicating with a telnet session Message-ID: <27020@galaxy.ucr.edu> Date: 4 Mar 93 21:07:09 GMT Sender: news@galaxy.ucr.edu Distribution: usa Anyone have any quick 'n easy programs that communicate with a telnet session. Thanks Roy Brown
From: tpugh@oce.orst.edu (Tim Pugh) Newsgroups: comp.sys.next.programmer Subject: 3rd Party Compilers for NS/Intel and Fat Binaries Keywords: compiler, language, fat binaries, nextstep, intel Message-ID: <1n5vhgINNref@gaia.ucs.orst.edu> Date: 4 Mar 93 22:23:44 GMT Article-I.D.: gaia.1n5vhgINNref Organization: University Computing Services - Oregon State University Question: Is NeXT going to share fat binary technology with 3rd party compiler developers? and how do 3rd party developers integrate this technology into there compilers? Is there a neutral assembly language which can be translated for a target machine or must the compiler generate each assembly language of each target machine. I'm using Absoft FORTRAN but Absoft is not sure if it will port the compiler to NS/Intel. I can not use an Intel machine for development unless I have the appropriate compilers available. Every time NeXT introduces a new machine architecture, I am going to be begging compiler vendors to port to the new machine? I would like to generate one executable file with every architecture included. Is this only possible with NeXT compiler technology, and not available from 3rd parties? Is NeXT going to share fat binaries with other compiler vendors? -- Tim Pugh College of Oceanic and Atmospheric Sciences Oregon State University tpugh@oce.orst.edu NeXTmail ok!
From: cew6@po.CWRU.Edu (Carlin E. Wiegner) Newsgroups: comp.sys.next.programmer Subject: NeXTSTEP programmers.... Date: 5 Mar 1993 01:15:56 GMT Organization: Case Western Reserve University, Cleveland, OH (USA) Message-ID: <1n69kcINN2bh@usenet.INS.CWRU.Edu> Any programmers interested in working on communications based projects. (i.e. multi-media based software, BBS, voice communications via internet) please contact me at cew6@po.cwru.edu. We have several different positions available. Full-time paid, part-time paid, individual contracts (for portions of a project) and anyone else interested in working on a project. CW P.S. For those who prefer working on shareware projects we have projects for you too! :) email for more info.....
From: burchard@horizon.math.utah.edu (Paul Burchard) Newsgroups: comp.sys.next.programmer Subject: Re: Two methods for encoding objects? Message-ID: <C3E471.E66@news.cis.umn.edu> Date: 5 Mar 93 00:32:39 GMT Article-I.D.: news.C3E471.E66 References: <1993Mar4.191705.7669@prim> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota In article <1993Mar4.191705.7669@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > The point I was making was, why not use typed streams to implement > encode/decode? Actually, the real point is that there needs to be a unified protocol for transport and peristence of objects. The benefit of this would be bidirectional: not only could objects fulfill one protocol to meet all their transport needs, but such a protocol would also allow new object transport/storage backends to be written that will immediately work with existing objects. The two protocols that exist now aren't the end of the story, either. When OODB persistence stuff gets put in NeXTSTEP, yet another protocol will have to be defined. I sure hope that NeXT takes the opportunity to make this third protocol a unified one. -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' -------------------------------------------------------------------- xisting objects. The two protocols that exist now aren't theB
From: kdj@groebner.me.washington.edu (Kimberley Johnson) Newsgroups: comp.sys.next.programmer Subject: test Message-ID: <1n66idINN73t@shelley.u.washington.edu> Date: 5 Mar 93 00:23:41 GMT Article-I.D.: shelley.1n66idINN73t Organization: University of Washington This is just a test - Please ignore
From: kdj@groebner.me.washington.edu (Kimberley Johnson) Newsgroups: comp.sys.next.programmer Subject: argv and argc arguments Keywords: argv, argc Message-ID: <1n69udINNcdo@shelley.u.washington.edu> Date: 5 Mar 93 01:21:17 GMT Article-I.D.: shelley.1n69udINNcdo Organization: University of Washington I am trying to create a mathlink between Mathematica and the Interface Builder. In one of my methods, I need to have access to the arguements of the main (argc and argv) which are maintained by the interface builder. I can write the C code (which includes the calls to set up the mathlink) and it works. It has a main of int main(argc,argv) where: int argc; char *argv[]; MLINK lp; and the call to open the link is: lp = MLOpen(argc,argv); (Don't worry about the MLINK and MLOpen - they are specific to Mathematica.) This all works fine when I compile straight C code. But, when I try to put it into the Interface Builder it won't work. The problem is that for the MLOpen command I need to access the argc and argv arguments. But, these are contained in the Main of the interface builder. So I guess that the questions is: Is there a way to access these arguments from within Objective C? Any help would be greatly appreciated. Thanks, Kim kdj@groebner.me.washingtin.edu NeXT Mail Welcome
Newsgroups: comp.sys.next.programmer From: monty@its.com (Montgomery Zukowski) Subject: VersionMonster and VersionDaemon RFC Message-ID: <9303042303.AA05888@its.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Thu, 4 Mar 1993 23:01:53 GMT I'm interested in comments and suggestions about these ideas. I want to have automatic rcs versioning of everything I save. I want to be able to retrieve a file or whole project by date/time. I want to be able to program in rtf (I know this can already be done with a modified cpp). And I want to be able to collapse and expand #ifdef KEY ... #endif blocks by specifying KEYs to collapse. Doing it manually in edit is a real drag for large chunks of code. My proposed solution is to have two programs, VersionMonster and VersionDaemon. VersionMonster is for checking files or projects out of RCS and keeping track of which directories VersionDaemon monitors. VersionMonster will let you browse through all revisions of a project or file and check them out sorted by date/time. It will also keep track of MonsterVersions, or versions which apply to a whole project. It associates them with a date/time. Associating versions with whole projects instead of individual files makes more sense to me and is how I want to be able to retrieve things. VersionMonster will also offer a service to collapse #ifdef KEY ... #endif blocks into a comment like //VersionMonster #ifdef KEY 326. It stores a table for being able to expand things back into their original form. It may even modify the Makefile.preamble to define the KEYs which are still active. VersionDaemon will have a list of directories to watch. Whenever a file is modified it will check in the new file with rcs. That way every change is archived and could be recovered if necessary, and I don't have to manually check things in. It will also change the file from rtf to ASCII and replace the #ifdef blocks. And it will uuencode and archive .nib files and other binary files so they are consistent with the project also. So if you have any ideas on how to do this better let me know via email since I don't have access to a newsfeed. Monty
From: lebay@mercury.cl.msu.edu (Jim LeBay) Newsgroups: comp.sys.next.programmer Subject: Re: argv and argc arguments Date: 5 Mar 1993 03:30:40 GMT Organization: Michigan State University Message-ID: <1n6hh0$jn5@msuinfo.cl.msu.edu> References: <1n69udINNcdo@shelley.u.washington.edu> Kimberley Johnson writes > > I am trying to create a mathlink between Mathematica and the Interface > Builder. In one of my methods, I need to have access to the arguements > of the main (argc and argv) which are maintained by the interface > builder. > > This all works fine when I compile straight C code. But, when I try to > put it into the Interface Builder it won't work. The problem is that for > the MLOpen command I need to access the argc and argv arguments. But, > these are contained in the Main of the interface builder. So I guess > that the questions is: Is there a way to access these arguments from > within Objective C? Any help would be greatly appreciated. Try NXArgc and NXArgv. They are global variables, defined in appkit/defaults.h, which preserve the original values. -- Jim LeBay (517) 353-1800 Computer Information Center lebay@msu.edu Michigan State University lebay@mercury.cl.msu.edu (NeXTmail) *=*=* I feel better than James Brown! *=*=*
Newsgroups: comp.sys.next.programmer From: Monty Solomon <monty%roscom@think.com> Subject: Predefined macros Message-ID: <1993Mar5.021336.16418@proponent.com> Sender: monty@proponent.com (Monty Solomon) Organization: Proponent Date: Fri, 5 Mar 1993 02:13:36 GMT I want my source code to compile on either Release 2 or Release 3. What predefined macros are available for use in #ifdef's to control compilation? Thanks. -- # Monty Solomon / PO Box 2486 / Framingham, MA 01701-0405 # monty%roscom@think.com
Newsgroups: comp.sys.next.programmer From: Monty Solomon <monty%roscom@think.com> Subject: Re: What is a CD session ? Message-ID: <1993Mar5.022144.16529@proponent.com> Sender: monty@proponent.com (Monty Solomon) Organization: Proponent References: <1993Mar1.190018.13482@infotec.ch> Date: Fri, 5 Mar 1993 02:21:44 GMT In article <1993Mar1.190018.13482@infotec.ch> guy@infotec.ch (Guy Roberts) writes: > Somebody in this group mentioned the word "session" > in this context. What does that mean ? Would I be > able to see the files that were added second time > around with a CD player other than the SUN one > which I am using ? Excerpts from the alt.cd-rom FAQ ========================= FAQ alt.cd-rom =================================== FAQ for the alt.cd-rom usenet newsgroup. This list is posted to alt.cd-rom every month. The latest version is available via anonymous ftp from cdrom.com (192.153.46.254): /pub/faq. This file is freely redistributable. ========================================================================== 44. What is a multisession CD drive? A CD has an "index" area which contains track details; this is what is read when you first stick an audio CD into a player. Photo-CDs have a separate index area each time they are written (because it is impossible to "update" the index area). A multisession drive is one that knows to look for multiple index areas. The full details are contained in the Philips/Sony/Kodak "Orange Book" standard for writable CDs. ========================================================================== 30. Is a short technical introduction to these standards available? The file ftp.apple.com(130.43.2.3): /pub/cd-rom/cd-rom.summary gives a short techie introduction to compact disc technology. ---- There is a good short general article on CD-Rom and its's many variations (CD-XA, CD-I, CDTV, PhotoCD) called MULTIMEDIA IN A MUDDLE by Barry Fox in the New Scientist (London, ISSN# 0262-4079) vol. 131 no. 1787 (Sep 21, 1991) pp.35-38 ---- There is a very good article by Bill and Lynne Jolitz "Inside the ISO-9660 Filesystem Format" in the December 1992 Dr. Dobbs Journal. Detailed source code examples are provided. They are planning followup articles covering Rock Ridge, CDI and CDROM-XA. ---- The SAMS book "Principles of Digital Audio" by Ken C. Pohlmann (ISBN 0-672-22634-0) deals primarily with audio CDs but there are sections dealing with CD-ROM, CD-I, DVI, CD-V, CD-WO, Erasable CD, CD + G and CD + MIDI. ---- There is a good brief explaination of all these standards in the paper "Compact Disc Terminology" Nancy Klocko Disc Manufacturing Inc. 1409 Foulk Road, Suite 202 Wilmington, DE 19803 1-800-433-DISC Here is some information from the paper: Standards: Red Book == CD-Audio Yellow Book == CD-ROM Mode-1 is for computer data Mode-2 is for compressed audio data and video/picture data CD-ROM/XA == an EXTENSION to Yellow Book and defines a new type of track. CD-ROM Mode 2, XA Format, is used for computer data, compressed audio data, and video/picture data. A CD-ROM / XA track may interleave Mode 2 compressed audio and Mode 2 data sectors. Additional hardware is needed to separate these when playing the disc. The hardware is programmed to separate the audio from the data, decompress the audio and play it out through the audio jacks. At the same time, the hardware passes the data to the computer. NOTE: Additional hardware is needed to play a CD-ROM / XA disc. Several vendors offer an XA interface board that will allow an existing CD-ROM drive to play CD-ROM / XA discs. Green Book == Compact Disc Interactive (CD-I) Orange Book == Recordable Compact disc Standard Part I - CD-MO (Magneto Optical) Consists of optional Pre-Mastered (READ-ONLY) area and a Recordable (re-writable) user area. Part II - CD-WO (Write Once) Orange Book Part II also defines a second type of CD-WO disk called a "Hybrid Disc". This disc consists of a Pre-recorded Area and a Recordable Area. The Pre-recorded area is a READ ONLY area where the information is manufactured into the disc. (This area is written per the Red, Yellow, and Green Book specifications, and can be played on any CD-Player.) The Recordable areas are where additional recordings can be made in one or more sessions. Only the first session on the disc is readable by todays CD-Players; additional software will be needed to read the additional sessions. A TOC (Table of Contents) is written during each recording session. Disc will have multiple TOCs, one for each recording session. Photo-CD is an example of a "Hybrid Disc". CD-Bridge Disc The CD-Bridge Disc defines a way to add additional information in a CD-ROM / XA track in order to allow the track to be played on a CD-I player. the result is a disc that can be played on both a CD-I player connected to a TV set and on a CD-ROM / XA player connected to a computer. An example of a CD-Bridge Disc is the new Photo-CD disc. The Photo-CD disc will be playable in CD-I players, Kodak's Photo CD players and in computers using CD-ROM/XA drives. Photo-CD The Photo CDs will be Mode 2 Form 1 sectors per the CD-ROM / XA specifications. The disc will be written per the Orange Book Part II "Hybrid Disc" specifications. This will allow photographs to be written to the disc in several different sessions. Additionally, the disc will use the CD-Bridge disc format to allow the disc to be readable by both CD-I and CD-ROM / XA players. The photographs written to the disc in the first session will use the ISO 9660 format. These photographs will be readable with the existing CD-ROM / XA players connected to a computer running new software written for the Photo CD picture structure. Additionally, the photographs will be displayable on CD-I Players and Photo CD Players connected to a TV set. Photographs written to disc after the first session will be displayable on CD-I Players and Photo CD players. New software and/or firmware will be needed to read these additional photographs with existing CD-ROM/XA players. ========================================================================== -- # Monty Solomon / PO Box 2486 / Framingham, MA 01701-0405 # monty%roscom@think.com
From: BrianW@SoundS.WA.com (Brian Willoughby) Newsgroups: comp.sys.next.programmer Subject: Re: Registering file types with Workspace Message-ID: <C3EEyG.Dvz@sounds.wa.com> Date: 5 Mar 93 04:25:28 GMT References: <C2s2oL.JsE@ccu.umanitoba.ca> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA Mark G. Tacchi writes | There are three things that you can try. If you place the application in | your doc, it should recognize it immediately. Putting it in your ~/Apps will | take effect after you log out and back in. The same holds true for | /LocalApps, but you'll need root access. (this is addressed to anyone...) But why can't Adobe_Illustrator_3.0.1 successfully provide an image for *.ai files? I have it in ~/Apps/Adobe_Illustrator_3.0.1.app/Adobe_Illustrator_3.0.1, but *.ai files have the standard Edit icon for text files. Adobe_Illustrator_3.0.1 had this in the __header section of the __ICON segment (along with the appropriately-named tiff sections): F Adobe_Illustrator Adobe_Illustrator app F Adobe_Illustrator_3.0.1.app Adobe_Illustrator app S ai Adobe_Illustrator ai S ai88 Adobe_Illustrator ai88 S ai11 Adobe_Illustrator ai11 I read through Chapter 6 of Pre3.0 Concepts, ProgStructure, to find that the 3rd field should be the name that the Application object's appName method returns, so I attach'd gdb to Adobe_Illustrator_3.0.1 and found that "p (char *)[NXApp appName]" actually returned "Adobe_Illustrator_3.0.1", NOT "Adobe_Illustrator". So, armed with new knowledge, I modified the __ICON__header as follows: F Adobe_Illustrator_3.0.1 Adobe_Illustrator_3.0.1 app F Adobe_Illustrator_3.0.1.app Adobe_Illustrator_3.0.1 app S ai Adobe_Illustrator_3.0.1 ai S ai88 Adobe_Illustrator_3.0.1 ai88 S ai11 Adobe_Illustrator_3.0.1 ai11 With no luck. What gives? Is this an Illustrator bug that I haven't heard of? Is there a limit on how many apps can reside in ~/Apps? I've heard that the 3.0 buildafmdir executable is broken such that it cannot handle more than about 256 fonts in a directory, but I have not heard of a similar bug affecting the number of .app files in a directory (besides, I only have app with icons, services, or filters in my ~/Apps directory, and there aren't that many). -- Brian Willoughby Software Design Engineer, BSEE NCSU BrianW@SoundS.WA.com Sound Consulting: Software Design and Development NeXTmail welcome
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: ptrace(2) Message-ID: <1993Mar5.084400.27130@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <CEDMAN.93Mar3075035@capitalist.princeton.edu> Date: Fri, 5 Mar 1993 08:44:00 GMT In article <CEDMAN.93Mar3075035@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes: >The ptrace(2) system call is necessary to run one process under the >control of (and possible modification by) another process. It is >available on most UN*X versions I'm aware of, but the NeXT man page >claims that it does not exist here. Why don't you believe the man page? ptrace() doesn't work for the same reason sbrk() doesn't: it depends on naive assumptions that don't hold in the Mach environment. Start by reading the documentation for task_by_unix_pid()... -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Loadable Kernel Server Message-ID: <1993Mar5.092400.28643@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1n0u18INNdgv@news.cerf.net> Date: Fri, 5 Mar 1993 09:24:00 GMT In article <1n0u18INNdgv@news.cerf.net> fasano@scarolina.cerfnet.com (Christopher G. Fasano) writes: >Has anyone out there actually written a loadable >kernel server (for network applications like a >protocol handler, or a packet sniffer. If you have-- >HELP! I have. A _very_ complete UNIX-style pseudo-device driver for both 2.x and 3.0. It's even unloadable! [I've also adapted some other-vendors'-UNIX-compatible software to use it; I can't mention its name yet, but you may have seen it discussed in another newsgroup--comp.protocols.appletalk, to be precise. I hope to have an official announcement out RSN.] What's it worth to you? :-) -=EPS=-
From: richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) Newsgroups: comp.sys.next.programmer Subject: Updating a ScrollView ??? Date: 5 Mar 1993 13:41:00 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1n7l9cINNrts@nic.BelWue.DE> Hi there outside, I have a ScrollView and inside a Form. Via a Button I add a row to the end of this Form. I want to make the last added row visible, that means to update the scroller and to scroll to the newest row, but I get lost and confused in my books. How can I handle this ?? Has there anybody a idea ?? Thanks a lot in advance for helping Richard University Heidelberg richi@next1.rz.fh-heilbronn.de NeXTMail welcome !
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: DBExpression setEntity:andDescription: Message-ID: <1993Mar4.120341.179@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Mar1.162919.1535@megatel.de> Date: Thu, 4 Mar 93 12:03:41 GMT In article <1993Mar1.162919.1535@megatel.de> stefan@megatel.de (Stefan Runge) writes: > Hi there, > > I want to change the DBExpression used to retrieve a DBTableVector. > As I understand, I can get the DBExpression via [tableVector identifier]. The > vector is connected in IB to a specific property, let's say NAME. Then I want > to change the expression to retrieve the property ADDRESSE programmatically, > depending on the selection of a PopUpList. I do this so: > > expr = [tableVector identifier]; > [expr setEntity:[expr entity] andDescription:"%@", [[expr entity] > getPropertyNamed:"ADRESSE"]]; > > As I understand the manual, this is all to do. But when the FetchGroup will > fetch the data, I get an bus error. Why this???? Must I inform some other > objects, that there was a change of the DBExpression??? > The other way I tried is creating a new DBExpression as follows: > > entity = [[tableVector identifier] entity]; > expr = [[DBExpression alloc] initForEntity:entity fromDescription:"%@", [entity > getPropertyNamed:"ADDRESSE"]]; > [tableVector setIdentifier: expr]; > > This will fetch some records, but at the end I get an error-message like (as I > remember): > ...property has no method named setStringValue.... or so. > > The same thing appeared when I want to change the expression of a DBAssociation > of an TextField (or some other UI-object). > > Can anybody help me?????? > One thing to keep in mind is that the DBModule rebuilds the property list for each fetch. You need to make sure and change the DBModule's idea of what property is being fetched. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: IB And Images Message-ID: <1993Mar4.162737.12606@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Thu, 4 Mar 93 16:27:37 GMT I have attempted everything I can think of to update an image in a nib file. I can not delete or rename an existing image and when I attempt to drag the updated image into the images area IB just complains that it already has one. Am I expected to keep creating differently named images for each change in an image file? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: jimb@access.digex.com (Jim Brooking) Newsgroups: comp.sys.next.programmer Subject: Outlining image with mouse Date: 5 Mar 1993 15:29:13 -0500 Organization: Object oriented Distribution: usa Message-ID: <1n8d6pINNlvf@access.digex.com> Does anyone have any example code for outlining an image in a view with a mouse? In other words, I have a picture on the screen, and now I want to outline a portion of it with a simple box. I have no problems recognizing mousedown/dragged events, but I can't seem to get the box to follow the mouse without destroying the image. thanks! -- jimb@access.digex.com | (Cage) 1991 323se (MD ZCP-710) | Comus Road Merry Land (MD) U.S.A. | (Bike) "Gotta have" the new CBR1000f | ClarksBURG -----------------------+-------------------------------------------+----------- Mail is forwarded to NeXT "Happy Happy Joy Joy!" -Stimpy
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: borrel@dhhalden.no (Borre Ludvigsen) Subject: IRC Message-ID: <1993Mar5.201604.16811@dhhalden.no> Sender: news@dhhalden.no (Network News User) Organization: Ostfold College Date: Fri, 5 Mar 1993 20:16:04 GMT Does anyone have irc (Internet Relay Chat) compiled for 3.0? - Barre ----------------------------------------------------------------- Barre Ludvigsen borrel@dhhalden.no Associate Professor, Architect borrel@sigallah.dhhalden.no Ostfold Regional College (NeXTMail OK) Department of Computer Science bludvigs@ulrik.uio.no Os Alle 9 73277.3443@Compuserve.com N-1750 HALDEN, Norway borrel@well.sf.ca.us ----------------------------------------------------------------- phone479185400/fax479185485/home479341922/direct479185577ext219 ----------------------------------------------------------------- Finger: borrel@sigallah.dhhalden.no or borrel@fenris.dhhalden.no -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: VersionMonster and VersionDaemon RFC Organization: Primitive Software Ltd. References: <9303042303.AA05888@its.com> Date: Fri, 5 Mar 1993 19:47:12 +0000 Message-ID: <1993Mar5.194712.272@prim> Sender: usenet@demon.co.uk In article <9303042303.AA05888@its.com> monty@its.com writes: >I'm interested in comments and suggestions about these ideas. > I want to have automatic rcs versioning of everything I save. I want >to be able to retrieve a file or whole project by date/time. I want to be >able to program in rtf (I know this can already be done with a modified cpp). >And I want to be able to collapse and expand #ifdef KEY ... #endif blocks by >specifying KEYs to collapse. Doing it manually in edit is a real drag for >large chunks of code. Hmmm... I was thinking of proposing an event logging protocol to be adopted by ANDI/NO-OP which would inform any interested programs (once NeXT have given us registerRoot:withName:ofType: :-) that an event has occurred such as open file, save file etc (which would also realize my dream of a PostIt app that lets you attach PostIt notes to certain files). Gosh, years of hacking Unix sources make me crave for a collapsible #ifdef editor. Here's a thought - when we finally get an object orientated file system, you could implement both ifdef's and version control by subclassing. So each time you modify a file, you could make it a subclass of the previous version and only store the changes in the subclass... Oops, oh no you can't - keep getting confused with my onion layer/russian dolls image of how objective-c should be. (~: Dave Griffiths
Newsgroups: comp.sys.next.programmer From: chris%milo@wpa.com (Chris Cleeland) Subject: PopUp Lists Message-ID: <1993Mar5.070115.8428@milo.UUCP> Keywords: popup list Sender: chris@milo.UUCP Organization: Milo Designs Distribution: na Date: Fri, 5 Mar 1993 07:01:15 GMT Idiot question of the day: I have a popup list in a panel set up in Interface Builder. Using IB, I establish a connection between an object instance in the .nib and the Button associated with this popup list. How do I get hold of the popup list (which is really a menu according to docs) and all of its requisite parts? I have found a function to attach a button to a programmatically-created popup list, but I have found absolutely no clues regarding finding out which object one is when all you have is the other. Hrrmph! Thanks much for help! -cj -- ------------------------------------------------------------- Chris Cleeland | Internet: chris%milo@wpa.com Consultant/NeXT Advocate | UUCP: wupost!nimno!milo!chris Milo Designs | BellNet: (314) 771-3860
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: 1993 NeXTWORLD Expo Registration and Information Bulletin Message-ID: <6950@rosie.NeXT.COM> Date: 5 Mar 93 23:07:33 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy 1993 NeXTWORLD EXPO REGISTRATION AND INFORMATION BULLETIN On May 25, NeXT Completes the Most Remarkable Transformation in Recent Years in the Industry What: NeXTWORLD Expo When: May 25 - 27, 1993 Where: Moscone Convention Center, San Francisco, California Events: Developer and User Conference and User Group Program Keynotes by Steve Jobs, NeXT & Andy Groves, Intel ..From Black Computers to White - NeXTSTEP for Intel Processors ...Completed and Unveiled _____________________________________________________________________ TABLE OF CONTENTS => NeXTWORLD EXPO INTRODUCTION => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS => NeXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES => NeXT USER GROUP PROGRAM AGENDA => TUTORIALS AND BOF MEETINGS => REGISTRATION, HOTEL AND TRAVEL INFORMATION _____________________________________________________________________ => NeXTWORLD EXPO INTRODUCTION The second annual NeXTWORLD EXPO combines a worldwide Developer Conference, User Conference, User Group Program and Product Exposition spanning three days. This year's NeXTWORLD Expo marks the culmination of the most significant event in NeXT's history. At the Expo, NeXT will deliver the completed, shrinkwrapped release of NeXTSTEP for Intel processors. The product that Byte magazine has called, "...the most respected piece of software on the planet..." -- now available on industry-standard computers. When you see NeXTSTEP, we think you'll agree. NeXT's decision to concentrate on object-oriented software, move away from signature black hardware, and devote all company resources to running NeXTSTEP on white hardware--is more than the transformation of a company. It is, in all likelihood, the transformation of an entire industry. We look forward to seeing you at the Expo. As a special offer, all registered NeXTWORLD EXPO attendees will receive an aggressive discount on NeXT's software products available at the Expo. For $695: receive admission to all Developer Conference and User Conference Sessions, attendance to the User Group Program, and admission to the Product Showcase. SPECIAL BONUS...For $995 (a $3,500 value), receive admission to all of the above PLUS a copy of NeXTSTEP for Intel processors User Environment and Development Tools! (See registration form below). _____________________________________________________________________ => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS NeXTWORLD EXPO DEVELOPER CONFERENCE The NeXTWORLD EXPO '93 Developer Conference offers a broad curriculum to the developer community, focusing on creating both shrinkwrapped applications and client/server custom applications. Because the ability to run NeXTSTEP applications on Intel-based computers is now a reality, both the general session and the conference tracks provide valuable information about porting and distribution. Four separate Conference Tracks focus on the business and technical aspects of NeXTSTEP application development. Each track provides a different perspective on understanding and working with NeXTSTEP. To benefit most from the breadth of topics offered at the conference, we encourage you to review and attend sessions from several tracks. A specially priced developer bundle is available which includes registration and a copy of NeXTSTEP for Intel Processors (see registration form below for details). NeXTWORLD EXPO USER CONFERENCE The NeXTWORLD EXPO '93 User Conference offers in-depth information about the use of NeXTSTEP in corporate information systems and on individual desktops. Designed for experienced NeXTSTEP end users, system managers, and IS strategists, the four-track program focuses on the issues of deploying NeXTSTEP in enterprise-wide systems, using NeXTSTEP for maximum benefits, case studies of NeXTSTEP usage in the real world, and comparative looks at the most innovative third-party products in the NeXT market. One session is dedicated to providing a quick start for users who are new to NeXTSTEP, so that they can participate fully in the remainder of the program. Key sessions in each track are repeated so that attendees can participate in as many different sessions as possible. NeXT USER GROUP PROGRAM NoIR (NeXT Organizations InteRnational) is sponsoring a worldwide User Group Program. This year's program theme is "486--An Explosion of New Users Under NeXT's Big Tent." Sessions focus on two tracks: user group leadership and member services. If you want ideas to take back to your group, this program is for you. Last year over 100 groups from around the world were represented and this year we expect many more. With the explosion of new NeXTSTEP users coming this year and next, this program helps you prepare your NeXT User Group for growth and success in 1993 and 1994. In addition to the formal events listed here, several special social events will be held. All user group members attending either the exposition or the conferences are invited to register for the user group program free of charge. KEYNOTE SPEAKERS Steve Jobs - Chairman and CEO of NeXT, Inc. Andy Grove - Chairman and CEO of Intel Corporation Steve Jobs discusses the future of object-oriented, client/server computing. Andy Grove discusses Intel's 486 and Pentium processors, and NeXTSTEP's place in their future. DEVELOPER CONFERENCE GENERAL SESSION Your NeXTSTEP Application and their Hardware Paul Hegarty, NeXT's Director of NeXTSTEP for Intel processors software, explains how to port your application to the Intel platform and leaves ample time to answer your porting questions. USER CONFERENCE GENERAL SESSION 10 Most Wanted NeXTWORLD Editor-in-Chief Dan Ruby leads a panel of NeXTSTEP customers, developers, and user group leaders in reviewing NeXT's accomplishments during the last year and setting the agenda for the year ahead. GENERAL SESSIONS OPEN TO ALL ATTENDEES Bob Metcalfe, Publisher and CEO of InfoWorld Publishing Co., hosts a panel of industry pundits and NeXT customers as they discuss the alternatives among advanced operating systems in the coming battle for the corporate desktop. USER GROUP AUCTION Attend this fun event. A range of products and services from the NeXT community will go to the highest bidder. Proceeds go toward the User Group Program at the Expo. NeXTWORLD MAGAZINE AWARDS NeXTWORLD honors the best and most innovative products in the NeXT market in its first annual award ceremony. Cheer on your favorites as a lineup of NeXT community luminaries announce the winners in each product category. NeXTSTEP PRODUCT EXHIBITION Tuesday, May 25, 11:00 a.m. - 6:00 p.m. Wednesday, May 26, 9:00 a.m. - 6:00 p.m. Thursday, May 27, 9:00 a.m. - 12:00 p.m. Be sure to see over 100 product exhibits and find out why so many companies have embraced NeXTSTEP technology. See the latest in NeXTSTEP hardware and software, and meet with users, resellers, and partners. The Expo also features an ObjectWare Pavillion dedicated to the growing number of NeXTSTEP ObjectWare vendors. _____________________________________________________________________ => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS MAY 25-27, 1993 ** TRACK ONE ** THEME: NeXTSTEP MEANS BUSINESS This track addresses topics of broad, general interest to the third-party and corporate developer community, including how to evaluate development environments, profiles of NeXTSTEP's markets and customers, how to protect your intellectual property, and 486 distribution issues. A variety of experts, including Peter van Cuylenburg, NeXT's president and chief operating officer, discuss issues geared to business professionals. Technical professionals will benefit from opportunities to hear engineers explain how to succeed in object-oriented development, and to meet key NeXT engineers for a lively Q&A session. No direct NeXTSTEP experience is required for the sessions in this track, but a technical background is sometimes useful. TRACK ONE SESSIONS: ** DISTRIBUTED NeXTSTEP APPLICATIONS ** Erna Arnesen, Director of Channel Sales, NeXT This comprehensive discussion answers question about NeXT's software distribution channels. Distribution partners are identified and ways to ensure successful interaction with developers are explained. Plans for distribution of NeXTSTEP for Intel processors are also presented. ** A DEVELOPER'S GUIDE TO ENTERPRISE-WIDE DEPLOYMENT ** Anita Sansguiri, Project Manager, ADAMATION ADAMATION's project manager describes how they successfully deployed their application at multiple offices of a real estate company. Deployment issues ranging from application development, networking, and database management, to augmenting NeXTSTEP tools are described. ** NeXT's MARKETS AND THEIR DEVELOPMENT OPPORTUNITIES ** Ron Weissman, Director, Strategic Marketing, NeXT David Grady, Developer Advocates, NeXT This is a chance to hear from NeXT about targeted markets, the specific products that customers are requesting, and solutions that would match market requirements. Opportunities for developers and consultants are discussed. ** NeXTSTEP MEANS BUSINESS ** Peter van Cuylenburg, President and COO, NeXT Hear NeXT's president and chief operating officer make the compelling business case for choosing NeXTSTEP. This session outlines where we are headed and how developers can align with NeXT for success. ** PROTECTING YOUR TECHNOLOGY ** Christopher Seline, Esq., Formosa Transnational Attorneys-at-Law Maximizing profit and protecting intellectual property are vital concerns for every developer. This session introduces fundamental legal issues such as copyright, patent, trademark, and trade secret laws and how they relate to computer software. Our speaker has considerable NeXTSTEP and UNIX experience. ** NOTHING's EASIER THAN NeXTSTEP DEVELOPMENT ** Tracy Powell, Senior Developer, WordPerfect Corporation A developer of large commercial applications in both Windows and NeXTSTEP discusses his experiences in cross-platform development. Our speaker ported WordPerfect to NeXTSTEP for Intel processors in a matter of hours and this session describes his experiences. Helpful hints and productivity techniques will be presented. ** SUCCEEDING WITH OBJECT-ORIENTED DEVELOPMENT ** Bruce Webster, Chief Technical Officer, Pages Software Jayson Adams, CEO and Chief Scientist, Millennium Software Labs Accompanying the power that object-oriented technology (OOT) brings to application development are some specific challenges and requirements. In this session, two NeXTSTEP developers describe the insights they gained and the lessons they learned while producing major commercial productivity applications. * "DR. STRANGEAPP, OR HOW I LEARNED TO STOP WORRYING & LOVE ISV'S" * Rob Wilen, Director of Technical Architecture, Swiss Bank Corporation One of NeXT's largest commercial customers explains the techniques and business practices of establishing a productive working relationship with large corporations. ** STRATEGIES FOR DYNAMIC PERSONALIZED SYSTEMS ** Pascal Chernais, Research Specialist, Massachusetts Inst. of Tech. Successful personalization of applications will require an understanding of a users' dynamic needs. The MIT Media Laboratory has been exploring these issues, using new tools such as user modeling, knowledge representation and distributed servers. ** DEVELOPER SUCCESS STORIES ** Panel: NeXTSTEP Developers Based on their real-world experiences, a panel of NeXTSTEP developers describe their paths to success in the NeXTSTEP marketplace. Creative marketing techniques, how to leverage the sales force, and product focus are debated and discussed. ** MEET THE SOFTWARE ENGINEERS ** Panel: NeXT Software Engineers Several software engineers who were integral in creating NeXTSTEP Release 3 join together in this forum to answer your questions. This was a popular session last year, so come early if you want a seat! ** TRACK TWO ** THEME: NeXTSTEP AND THE ENTERPRISE NeXTSTEP and the Enterprise presents issues specific to using NeXTSTEP in large organizations, such as working with large and mixed networks, portability, interoperability, connectivity, distributed computing, and integration of shrinkwrapped applications into custom solutions. Most sessions in this track require a technical background but assume that attendees have no experience working with NeXTSTEP. TRACK TWO SESSIONS: ** INTEGRATING SHRINKWRAPPED APPLICATIONS IN A CUSTOM SOLUTION ** Moderator: David Lavallee, Software Engineer, NeXT Panel: NeXTSTEP Developers It's not always possible to find a shrinkwrapped or custom solution that solves a given problem completely. But applications can be easily integrated. Customers and third-party developers discuss why they would integrate shrinkwrapped software into client/server custom solutions, and the value that results from this merger. ** DEVELOPING OBJ-C APPLICATIONS FOR NeXTSTEP & MICROSOFT WINDOWS ** Christopher Lozinski, Berkeley Productivity Group Walter C. Daugherity, Texas A&M University NeXTSTEP developers have traditionally been faced with a dilemma: Should they develop in Objective-C on NeXTSTEP, or C++ for Microsoft Windows. Now it's possible to develop for both platforms in Objective-C and C++. Developers can use Objective-C with the Borland compiler on the PC, and the GNU compiler on NeXTSTEP. The discussion reports that develop applications for both platforms, describes this experience, and the techniques that work. There will also be a discussion of Smalltalk for NeXTSTEP. ** WORKFLOW TOOLS IN CUSTOM APPLICATION ** Randy Marchessault, Software Engineer, Integrity Solutions Workflow, a popular, but commonly misunderstood buzzword is examined through applying concepts and objects to real-world problems. Discussion centers on representing tasks and task dependencies, implementing group scheduling, resource management, document and information routing, user notification, and recursive schedule divisibility. ** OBJECT-ORIENTED CLIENT/SERVER APPLICATION DESIGN ** Patricia Monk, Director-NeXT Business Unit, Data General Corporation This session explains the key issues of object-oriented client/server application design and layout, including programming tools and techniques to assist in this type of application development. It also discusses how the UI (or lack of it) for server requester objects and server provider objects affects the efficiency of an application. ** NeXTSTEP and OBJECT-ORIENTED DATABASE INTEGRATION ** Moderator: Rick Jackson, Product Manager, NeXT Panel: NeXTSTEP Developers This session emphasizes why OODB technology may be of interest to you, and how it fits with the NeXTSTEP development methodology. Developers discuss their NeXTSTEP projects which involve both ObjectStore and Versant OODB technology. ** ADVANTAGES INHERENT IN ELECTRONIC DOCUMENTATION ** Carla Kay Barlow, Product Documentation, Stone Design Jim Clark, Advanced Technology Group, WilTel A persuasive argument in favor of all-electronic software documentation, this session spans the interests of users and developers from the viewpoint of third party and corporate development efforts. Topics range from the use of NeXTSTEP's on-line help standard to how to develop class specification documentation that facilitates consistent coding style, code reuse and rapid prototyping. ** A NeXTSTEP SHARED DEVELOPMENT ENVIRONMENT ** Moderator: Rick Jackson, Software Product Marketing, NeXT Panel: NeXTSTEP Developers Development teams of more than a few people have special synchronization and code management problems that can delay or prevent system. NeXTSTEP developers discuss current and future solutions for group development. Corporate and third party developers discuss tools they built to solve today. ** SKETCHING OUT A BETTER USER INTERFACE ** Ray Ryan, User Interface Designer, Lighthouse Design Creating excellent user interfaces is frequently more the result of art than science. This session provides some insight into the aesthetics of UI design. The user interface designer of Diagram! 2 discusses techniques for building good user interfaces starting at day one. He will include before and after examples from Diagram! and Diagram! 2 to emphasize how sound UI design techniques help create more usable interfaces. ** TRACK THREE ** THEME: DEVELOPING NeXTSTEP APPLICATIONS This track examines the tools and techniques central to developing your NeXTSTEP applications, such as debugging, Interface Builder, performance tuning, user interface issues, localization, and application validation. Speakers include both third-party and corporate developers who share their knowledge gained "in the trenches", developing popular and productive applications. These sessions are targeted for attendees who have intermediate or advanced NeXTSTEP programming proficiency. TRACK THREE SESSIONS: ** THE ZEN OF DEBUGGING ** Julie Zelenski, Lecturer, Stanford Univ. and Support Engineer, NeXT Need a new bag of tricks for debugging in the NeXTSTEP development environment? Or maybe you're just looking to fill out your current repertoire? In either case, you can learn something new in this challenging and informative session. ** VALIDATING NeXTSTEP APPLICATIONS AND OBJECTS ** Jim Walsh, Software Quality Manager, NeXT Kris Oosting, Manager, Objective Partners It's been said "you can't control what you can't measure", and this holds true for object-oriented development. This session explores the theories of testing your NeXTSTEP applications and objects. ** GETTING MORE SPEED OUT OF YOUR APPLICATION ** Brian Pinkerton, Software Engineer, NeXT Trey Matteson, Manager, Application Kit Group, NeXT Reprising one of last year's most popular sessions, NeXT's engineers take a reasonably slow application and make it faster, before your very eyes. You'll see the steps you need to take to speed your applications' performance. ** INTRODUCTION TO NeXTSTEP PROGRAMMING ** Randy Nelson, Lead Developer Trainer, NeXT If you're just encountering the world of object-oriented programming, this overview of NeXTSTEP features and object technology is extremely useful for understanding context and vocabulary. This session is a must for technical evaluators of the platform. ** UI PERFORMANCE ** Bill Bumgarner, Software Artist, Stone Design Glenn Reid, President, RightBrain Software Enhancing the performance of your application's UI can be crucial to users' success with the application. NeXTSTEP developers describe methods for increasing perceived performance and methods for decreasing actual drawing time. ** BUILDING BETTER NeXTSTEP APPLICATIONS ** Randy Nelson, Lead Developer Trainer, NeXT Proper use of NeXTSTEP significantly increases the power of your application; correspondingly, improper or partial use of NeXTSTEP can decrease your application's usability. An overview of specific topics--user interface, portability, localization, and important kit features--shows you how to build flexibility into your application. References to documentation and other resources are included. ** WRITING DYNAMIC APPLICATIONS ** Tom Affinito, Training Manager, Trirex This lecture explores techniques that add run-time flexibility to your application, including Interface Builder files, NXBundles, distributed objects and embedded languages. ** CREATING INTERFACE BUILDER PALETTES ** Scott Ritchie, Developer Trainer, NeXT Using Interface Builder Palettes can add custom functionality to your interfaces, save development time, and generate valuable re-useable tools. One of NeXT's trainers explains how to build palettes that provide advanced functionality for many different sorts of objects. ** BUILDING REUSABLE OBJECTS ** Eric Bergeson, Objective Technologies Well-rounded classes donUt just happen: they require careful planning and design to become flexible and robust. This session reviews some of the issues that you should consider before writing your first line of code. The discussion includes licensing issues for objects. ** TRACK FOUR ** THEME: UNDER THE HOOD - OBJECTS AND NeXTSTEP FEATURES This track explores the detail level of object technology and specific NeXTSTEP features and kits. Topics include DataBase Kit, Indexing Kit, Driver Kit, Object Links, Help, and filter services. Familiarity with NeXTSTEP programming is recommended for attendees of the sessions. TRACK FOUR SESSIONS: ** GETTING STARTED WITH DATABASE KIT ** Scott Weiner, Developer Trainer, NeXT Learn the basics of NeXTSTEP's newest kit with one of NeXT's trainers. Step through the decisions involved with building a simple DataBase Kit application and see how DataBase Kit can help reduce time and effort in developing a client/server custom application. Time is provided for Q&A at the end of this session. ** REAL-WORLD DATABASE KIT APPLICATIONS ** Moderator: Jerry Goode, Systems Engineer, NeXT Panel: NeXTSTEP Developers A panel of corporate developers and system integrators explain and discuss their real-world development experiences and describe how the DataBase Kit helped them resolve client/server computing issues. ** ADVANCED DATABASE KIT ISSUES ** Moderator: Felix Lin, Product Manager, NeXT Panel: NeXTSTEP Developers Developers of NeXTSTEP Release 3 DataBase Kit applications share their experiences and exchange comments with NeXT's DataBase Kit engineers on some of the technical issues that confront advanced development work. Time is provided for Q&A at the end of this session. ** USING NeXTSTEP RELEASE 3 FEATURES ** Ali Ozer, Software Engineer, NeXT This session reviews several NeXTSTEP Release 3 features, including dragging, Help, filter services, and using color. Use of the and can add considerably to the power and flexibility of your application (and the popularity with your users.) ** OBJECT LINKS IN DETAIL ** Trey Matteson, Manager, Application Kit Group, NeXT Take advantage of the power of object linking...the powerful mechanism that enables documents to share data dynamically. This session explains why and how you should incorporate Object Links into your application. ** PROGRAMMING WITH DISTRIBUTED OBJECTS ** Stephen Asbury, Developer Trainer, NeXT This presentation details the steps you need to take to build a client/server application using distributed objects, one of NeXTSTEP's most powerful tools. Discussion includes invalidation notification, threaded servers, and peer-to-peer architectures. ** WORKING WITH THE INDEXING KIT ** Kris Younger, System Engineer, NeXT The Indexing Kit is a major feature of NeXTSTEP Release 3. The kit provides a framework for storing and managing data, analogous to the framework for user interaction provided by the Application Kit. This session describes the salient features of the Indexing Kit, including transaction-protected storage, building dictionaries and indexes with BTrees, and building flat-file databases that store Objective-C objects. ** DRIVERKIT FOR NeXTSTEP FOR INTEL PROCESSORS ** Phillip Dibner, Developer Support, NeXT A detailed presentation of the differences between traditional UNIX drivers and those written for NeXTSTEP applications on Intel-based computers. A developer support engineer examines a working example and answers your questions about drivers. _____________________________________________________________________ => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS May 25 - 27, 1993 ** TRACK ONE ** THEME: ENTERPRISE COMPUTING The first stage of desktop computing in corporations was all about enhancing individual and departmental productivity. NeXTSTEP takes corporations to the second stage by advancing the mission of the enterprise. This conference track explores the issues in enterprise computing such as client/server architecture, rightsizing, operational productivity, custom application development, and heterogeneous networking. In every area, NeXTSTEP offers great opportunity for the next stage of corporate computing. TRACK ONE SESSIONS: ** END OF THE PARADOX: OPERATIONAL PRODUCTIVITY ** NeXTSTEP solves the enduring paradox of the information age: Organizations' investment in technology has not resulted in measurable productivity gains. NeXTSTEP changes the equation by focusing on operational productivity. ** WHY OBJECT-ORIENTED PROGRAMMING and NeXTSTEP ** NeXTSTEP achieves its full power when applied in enterprise-wide systems for client/server functions. Discover how object-oriented programming techniques and client/server computing can bring immediate tangible benefits to organizations. ** RIGHTSIZING WITH NeXTSTEP ** As businesses downsize monolithic mainframe applications to distributed client/server systems, they need object-oriented development tools that play in a standard networking environment. NeXTSTEP is an important piece of the rightsizing puzzle for corporate re-engineers. ** ENGINEERING CLIENT/SERVER SYSTEMS ** Talk of rightsizing is cheap. NeXTSTEP gets you started today. This panel of customers, integrators, and system engineers explores the nitty-gritty technical issues of using NeXTSTEP in a client/server architecture. ** DEVELOPING AND DEPLOYING CLIENT/SERVER CUSTOM APPLICATIONS ** NeXTSTEP's object-oriented development environment lets you bring new systems on-line in a fraction of the time needed with competitive products. That calls for a new approach to planning and implementing client/server custom applications. ** ACCESSING CORPORATE DATABASES ** Distributed applications are only as meaningful as the data that is accessed. NeXTSTEP's DataBase Kit and third-party tools let you link into live financial and operational databases residing on mainframes and servers. ** HOW NeXTSTEP FITS INTO YOUR HETEROGENEOUS CORPORATE NETWORK ** Virtually every enterprise today maintains a mixed environment of computer platforms and networks. NeXTSTEP's support of multiple networking standards allows users to easily mix and match computers with their existing information systems. ** CONNECTING THE ENTERPRISE: WANs, LANs. and ISDN ** As business goes global, it isn't enough to interoperate in local networks at individual user sites. Here's how NeXTSTEP systems communicate with other computers in a world-wide distributed computing environment. ** MANAGING APPLICATION DEVELOPMENT PROJECTS ** As NeXTSTEP speeds up the application development cycle, managers face new challenges in strategic and tactical planning. Here's what to expect in budgeting, staffing, managing, and phasing in your custom application projects. ** ISSUES IN SYSTEM ADMINISTRATION ** As NeXTSTEP proliferates in enterprise-wide information systems, the issues of network management and security become increasingly critical. System administrators explore the tools and techniques available for maintaining and securing corporate networks. ** TRACK TWO ** THEME: USING NEXTSTEP NeXTSTEP provides a user environment unlike any other operating system. To get maximum benefit from their systems, users need to know the intricacies of NeXTSTEP and third-party products. This track begins with critical information about running NeXTSTEP for Intel processors, and examines hot topics like portable computing, NeXTSTEP publishing, database management, and collaborative applications. Users can get hands-on help by attending sessions on NeXTSTEP tips and tricks, configuring systems for maximum power, and sources of training and support. TRACK TWO SESSIONS: ** INTRODUCTION TO NeXTSTEP for INTEL PROCESSORS ** NeXT's software guru's take you on a tour of the leading object-oriented operating system for mainstream business computers. ** INTRODUCTION FOR INTEL PROCESSORS: Q&A ** NeXT and NeXTSTEP hardware partners answer questions on software deliverables. ** INTEGRATING INTEL AND MOTOROLA-BASED HARDWARE This session discusses the concerns and addresses the solutions for integrating your existing 68040 hardware with your Intel-based hardware--all running NeXTSTEP. ** READ ALL ABOUT IT: PUBLISHING WITH NeXTSTEP ** NeXTSTEP's unified imaging model, powerful software tools, and workgroup connectivity are ideally suited for graphic design and electronic publishing. Experts explore the available tools for NeXTSTEP publishing, while early adopters describe their experiences. ** MANAGING YOUR DATA ** Database management isn't a task only for programmers and system designers. Here's everything you need to know as a user for specifying and designing database front ends, as well as for managing your individual records. ** NeXTSTEP TIPS and TRICKS ** NeXTSTEP is so rich in capabilities that many users only scratch its surface. To get maximum benefit from NeXTSTEP, you need to know the shortcuts and hidden features available in the system. Power users show you how. ** CONNECTING TO THE WORLD ** There is a wealth of information, free software, and just plain camaraderie available to NeXTSTEP users through the Internet and other information services. This session tells you how and where to plug in to the wonderful world of NeXTSTEP online. ** OBJECT TECHNOLOGY AND YOU ** Besides its benefits for programmers, the rapid development of object technology for NeXTSTEP promises great rewards for the individual NeXTSTEP user. Here is an over-the-horizon look at three of the most important developments in object technology and how they will likely affect the life of the user. ** WORKING TOGETHER WITH COLLABORATIVE SOFTWARE ** Groupware is a computer-industry buzzword that is much discussed and little practiced. In the NeXTSTEP environment, users are taking advantage of applications designed for collaborative work. This panel reviews the available products and illustrates the power of workgroup computing. ** OPTIONS FOR PORTABILITY ** Customers are interested in NeXTSTEP portable computing. But 486 notebooks are not the only option for users who need to take their data on the road. This session looks at strategies for extending your desktop environment to wherever you happen to be. ** TRACK THREE ** THEME: IN THE TRENCHES Customers in business, education, and government have taken great strides in applying NeXTSTEP to solving problems in their fundamental advantages for unifying the desktop, collaborative computing, document management, decision support, and application development. In this track, speakers representing customers in NeXT's key markets share their experiences. TRACK THREE SESSIONS: ** UNIFYING THE DESKTOP ** The goal is no longer to have a computer on every desk, but to have only one computer on every desk. Users in financial services, law enforcement, and hospital administration describe how NeXTSTEP replaced diverse systems in a single workstation. ** ROLLUPS AND DRILLDOWNS: EXECUTIVE INFORMATION SYSTEMS ** NeXTSTEP is ideal for application that deliver live summary data and graphics to executives for decision support. Corporate and government users show how they did it. ** WHY NeXTSTEP -- CUSTOMER PERSPECTIVES ** Choosing NeXTSTEP was once risky. This panel of NeXTSTEP customers in business, government, and education discuss their choice of NeXTSTEP systems and the payoff. ** MANAGING DOCUMENTS ** Whatever happened to the paperless office? It's alive and well in law firms and medical organization employing NeXTSTEP software for document storage and retrieval. ** SERVING YOUR CUSTOMERS ** The greatest challenge in business today is providing timely and accurate service to customers. NeXTSTEP systems provide the informational framework for world-class customer service. Users from health care, financial services, and transportation show how they did it. ** ENTERPRISE TRANSFORMATION ** Technological change does not occur in a vacuum. Sometimes, the technology used can lead to structural and cultural changes in an organization. Panelists from law enforcement, telecommunications, and the energy business explore the positive effects of NeXTSTEP technology on organizational hierarchies, decision making, and customer relations. ** TRAINING FOR SUCCESS ** Training alternatives are critical to meeting the diverse needs of NeXTSTEP developers, users, and systems administrators. This panel includes representatives from NeXT's training consortium, NeXT instructors, and customers whose successes with NeXTSTEP have been accelerated by choosing the right training curriculum. ** WORKFLOW MANAGEMENT ** Most business processes involve contributions and approvals from a variety of individuals. NeXTSTEP is a natural environment for working simultaneously and in series with a group of colleagues. Customers in electronic publishing, a corporate legal department, and university curriculum development describe their collaborative processes under NeXTSTEP. ** COMPREHENSIVE SERVICES AND SUPPORT ** Leading strategies for customer support put the power in customers' hands. Enterprise-wide computing and custom application development depend on timely, accurate support. NeXT delivers this with a professional staff and innovative systems. Learn NeXT's strategy to put the power in your hands. ** TRACK FOUR ** THEME: HOT PRODUCTS The sizzle in the NeXTSTEP market is the varied software solutions offered in hotly contested application categories. In this track, developers demonstrate the best and newest tools for document creation, presentation, financial modeling, database management, business graphics, and software emulation. With this background, users will be better able to examine the strengths and weaknesses of the products shown on the exhibit floor. TRACK FOUR SESSIONS: ** DOCUMENT CREATION ** The leading applications for creating business documents square off. Their different approaches to page layout and design provide good choices for every kind of NeXTSTEP user. This session provides an excellent opportunity to view, evaluate, and discuss the wide array of page layout applications available for NeXTSTEP. ** PRODUCTIVITY, NeXTSTEP STYLE ** In this session, developers discuss the feature and benefits of today's NeXTSTEP productivity applications and how they can be used most effectively. NeXTSTEP is home to innovative software products in virtually every productivity category. What's truly amazing is the way they all work together in an integrated user environment. ** INFORMATION MANAGERS ** The last year has seen an explosion of products for managing personal and group information. These tools have allowed NeXTSTEP users to move even closer towards the goal of a true paperless office. Learn about the calendar, address books, and free-form databases that are on the vanguard of workgroup computing on NeXTSTEP. ** BETTER PRESENTATIONS ** Making presentations is among the most frequent tasks in business. Creating presentations using NeXTSTEP and available third-party applications has proven to be both easy and impactful. Here we look at the options for improving your delivery with visually appealing slides and interactive media. ** EMULATION AND CONNECTIVITY ** NeXTSTEP is great, but sometimes you have concessions to the rest of the world. Whether you want to make your NeXTSTEP system behave like Windows, Macintosh, X, or a mainframe terminal, there is a third-party product for you. Developers in this session will review those products available in the future. ** GRAPHICS FOR BUSINESS ** Illustration tools are not just for artists. NeXTSTEP offers some of the best applications on any platform for creating business charts, diagrams, and drawings. Whether you're looking for applications in the area of free-hand drawing, product planning and flowcharts, or presentation enhancement, this session is for you. ** MULTIMEDIA AND 3D ** NeXTSTEP has always been a leader in the area of multimedia. Learn how NeXTSTEP's inclusion of RenderMan technology, strong multimedia authoring systems and tools for sound and music have set the stage for an explosion of software for 3D rendering, animation, and multimedia. ** DOCUMENT MANAGEMENT ** NeXTSTEP's combination of strengths for scanning character recognition, imaging, and collaborative computing make it an ideal platform for document storage and retrieval. Developers demonstrate their solutions for the potentially huge but largely underutilized workstation application. ** SPREADSHEET AND MODELERS ** NeXTSTEP abounds in diverse solutions for financial modeling. Whether you need a traditional spreadsheet, multi-dimensional tool or sophisticated enterprise financial modeler, NeXTSTEP serves your needs with strong third-party products. Come see for yourself. ____________________________________________________________________ => NeXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES May 25 - 27, 1993 Participating Companies: ADAMATION Alembic Systems International Ltd. Altsys Corporation Anderson Financial Systems ANDI Appsoft, Inc. Athena Design Axsys Bacchus, Inc. BenaTong Blacksmith Booz-Allen & Hamilton Canon Ciusa Conextions Cub'X Systems Data General Corp. Dell Computer Epson Firstsoft, Inc. / DBSA. Inc. Goldleaf Publishing, Inc. Harvard Tool Works Hewlett-Packard Company Highland Digital HSD Microcomputer Hypersight, Inc. i-link, GmbH Imagine Multimedia, Inc. INSIGHT Software Insignia Solutions, Inc. Intel Corporation Jana Publishing Lighthouse Design, Ltd. Logicon Ultasystems Inc. LogicStream Lotus Development Corp. Marble Software Products Memory International, Inc. Millennium Software Labs, Inc. MRJ, Inc. NEC Technologies Inc. NeXT, Inc. NeXTWORLD Magazine Northstar nPoint Objective Technologies, Inc. ONyX Systems, Inc. Pages Software, Inc. Pangea Corporation PARABASE Pencom Perennial Software Pinnacle Research, Inc. Professional Software, Inc. RDR, Inc. Ridgeback Solutions RightBrain Software, Inc. Sarrus Software, Inc. Schema Research Corp. Second Glance Software SiRiUS Solutions, Inc. Skylee Press SofDesign Software Ventures Stone Design System House Inc. Systemix Software, Inc. Tecor, Inc. Telos / Springer-Verlag Trident Data Systems Trirex Systems Vertex Software WordPerfect Corporation Yrrid Incorporated ..and more ____________________________________________________________________ => NeXT USER GROUP PROGRAM AGENDA User Group Keynote Thursday, May 27 9:00 a.m. - 11:00 a.m. Steve Jobs: 486--An Explosion of Users Under NeXT's Big Tent Steve Jobs headlines this exciting kickoff to today's activities. The number of NeXTSTEP users in the world doubled last year. With the advent of NeXTSTEP for Intel processors, we anticipate a tremendous explosion of new users and user group members using both black and white hardware. How do we serve this dynamic new population and tap into their talents? Ideas for 1993 and beyond will be discussed. Also during this session, NeXT will present its "Golden Nugget Awards" for special contributions by user groups during the past year. ** USER GROUP PROGRAM: LEADERSHIP TRACK ** Thursday, May 27 11:00am - 4:00pm -Leadership and Organizing Ideas -Working with NeXT, 3rd Party Vendors, and Resellers -Attracting and Keeping Volunteers and Officers -Fundraising ** USER GROUP PROGRAM: MEMBERSHIP SERVICES TRACK ** Thursday, May 27 11:00am - 4:00pm -Getting your members on the worldwide net -Planning and conducting a successful meeting -Newsletters -Training ____________________________________________________________________ => TUTORIALS AND BOF MEETINGS Hands-On NeXTSTEP Tutorials If you're new to NeXTSTEP, this is your chance to learn the basics...and if you're a seasoned developer, you can sign-up to spend some time with an expert on the subject of your choice. Extending from the show floor, the NeXTSTEP hands-on tutorial area sponsored by Dell Computer, provides User Tutorials are scheduled throughout the three days of the Expo to introduce new users to NeXTSTEP and to provide guidance on navigating the workspace, working with applications, and using NeXTSTEP features. Developer Tutorials provide two learning opportunities: hands-on instruction in "boot camp" issues as well as one-on-one time with a NeXT expert on specific development topics. Birds-of-a-Feather Meetings Developers can conduct a limited number of Birds-of-a-Feather get-togethers on Wednesday evening, May 26, 6:00 p.m. - 8:00 p.m. Room reservations are available on a first-come, first-served basis. Email BOF@NeXT.com to reserve a room for your special interest group. Please include your coordinator's name, an email address, and an abstract of the session. ____________________________________________________________________ => REGISTRATION, HOTEL AND TRAVEL INFORMATION TO REGISTER FOR NeXTWORLD EXPO Mail completed form to: NeXTWORLD EXPO DCI 204 Andover Street Andover, MA 01810 -OR- Fax to: 508/470-0526 (24 hours a day) -OR- Call Toll-Free: 800/767-2336 (US only: 8:30a.m.- 6:00p.m. EST) -OR- International Registration: 508/470-3880 Please check all that apply: Developer Conference (#3032) ____ $695 ____ $745 (on-site) User Conference (#3033) ____ $195 ____ $245 (on-site) Exhibits Only (#3034) ____ $25 ____ $40 (on-site) User Group Program ____ FREE (Open to all attendees who register) SPECIAL PRICE FOR ALL CONFERENCES: Developer Conference Package (#3032N): Includes all conferences registration and a copy of NeXTSTEP for Intel processors User Environment and Development Tools for your 486 computer ____ $995 ____ $1095 (on-site) ____________________________________________________________________ REGISTRANT INFORMATION: Name: ______________________________ Company: __________________ Title: ______________________________ Division: __________________ Name: ______________________________ Street: ____________________ Title: ______________________________ City: ______________________ Name: ______________________________ State/ZIP: _________________ Title: ______________________________ Phone: _____________________ Fax: ______________________ Authorized Signature/Date: _________________________________________ Method of Payment _______ Check enclosed payable to NeXTWORLD EXPO _______ Visa _______ MasterCard Card number: ____________________________ Expiration date: ________________________ Cardholder Name: ________________________ _______ Bill my firm. Attention of: ________________________________ Conference cancellation policy: Substitutions may be made at any time. Cancellations made by May 11, 1993 will be accepted, subject to a cancellation service charge of $100. Confirmed registrants who do not attend the conference or cancel after May 11, 1993 are liable for the entire registration fee. All cancellations must be made in writing. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Hotel and Travel Information NeXTWORLD EXPO is pleased to offer you special discounted hotel overnight rooms and airfares. To receive discounted reservations or information on these special services, please call Conference and Travel Services (CATS) at 800/767-2755 or 508/470-3933 or fax your request to 508/470-0526. _____ San Francisco Hilton (Single or Double: $150) _____ The Donatello (Single or Double: $115) _____ Holiday Inn Union Square _____ Single: $115 _____ Double: $135 _____ Monticello Inn (Single or Double: $120) _____ ANA Hotel _____ Single: $130 _____ Double: $150 _____ Savoy Hotel (Single only: $109) _____ Campton Place _____ Single: $160 _____ Double: $185 _____ Cartwright Hotel _____ Single: $109 _____ Double: $119 Please indicate your first three hotel choices. We will notify you, in writing, of your confirmed hotel assignment. A credit card is needed to Guarantee Your Hotel Reservation _____ VISA _____ MasterCard _____ Am. Express _____ Diners Club _____ Discover _____ Personal Card _____ Corporate Card Cardholder Name: ____________________ Arrival/Departure ___________ Company Name: _____________________ Signature: __________________ Card Number: ________________________ Business Phone: _____________ Expiration Date: ____________________ Home phone: _________________ Fax Number: _________________________ -end-
From: us310885@mmm.serc.3m.com (William A. Rozzi) Newsgroups: comp.sys.next.programmer Subject: Seeking documentation for RiMakeTexture() Message-ID: <1993Mar5.225507.25989@mmm.serc.3m.com> Date: 5 Mar 93 22:55:07 GMT Article-I.D.: mmm.1993Mar5.225507.25989 Organization: 3M - St. Paul, MN 55144-1000 US Greetings, I'm trying to make use of NeXT's PhotoRealistic RenderMan, /usr/prman/prman. In particular, I want to programatically create textures from TIFF images and apply these textures to 3D objects. I believe I need to make use of the RiMakeTexture() function. The RenderMan Companion declares it as: RiMakeTexture(char *imagefile, char *texturefile, RtToken swrap, RtToken twrap, RtFloat swidth, RtFloat twidth, parameterlist); and states, of imagefile and texturefile: "Neither file format is dictated by RenderMan, but should be specified in any implementation." Okaaay, so I looked through the NeXT documentation and NeXTAnswers (up to Winter93) and came up with nothing. The header file <ri/ri.h> wasn't much help, either: RtToken RiMakeTexture(RtToken image, char *map, RtToken sWrap, RtToken tWrap, RtFloatFunc filterFunction, RtFloat sWidth, RtFloat tWidth, ...); I called NeXT to ask what the data formats are in their implementation but they wanted to charge me $225 for developer support. I don't think so, Tim. Here are my questions: (1) Is any info (something like a man page) available for NeXT's implementation of this function? What are the data formats for image and map? Have I overlooked any documentation delivered with NS3.0? (2) What constraints, if any, are placed on the image data? For instance, Stone Design's 3DReality forces the width and height of an image being converted into a texture to be a power of 2. Are they passing along NeXT's constraint (my guess), or imposing one of their own? (3) What is file format for ".tx" texture files (like those produced by 3DReality)? Is it Stone's own definition or are they a standard for NeXTSTEP? Any info is appreciated. I'll summarize any replies. - Bill Rozzi warozzi@3M.com
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Can a script close it's own console window? Message-ID: <6952@rosie.NeXT.COM> Date: 6 Mar 93 00:18:38 GMT References: <16B822676.UC512052@mizzou1.missouri.edu> Sender: news@NeXT.COM UC512052@mizzou1.missouri.edu (David K. Drum) writes: > As usual, good is never quite good enough. I would like the > WorkSpace console window which opens up for this script to close > when the process exits. Perhaps try renaming the script "foo" to "foo.daemon" Then it won't open a shell window. -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
Newsgroups: comp.sys.next.programmer From: garyc@eecs.nwu.edu (Gary I. Chang) Subject: Help with [NXImage dissolve] problem..... Message-ID: <1993Mar6.020057.24230@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Sat, 6 Mar 1993 02:00:57 GMT Can anyone tell me why each time I try to dissolve an NXImage with alpha to a view, the transprant area of the image always gets projected as BLACK on the view? How can I set the background of that image such that the transparent area would be displayed as "NX_COLORLTGRAY" to match the background color? Thanks P.S. I try [aImage setBackground:NX_COLORLTGRAY] but didn't work either. -- +----------------+ | Gary I. Chang | +----------------+ Northwestern Univ. E-Mail: garyc@eecs.nwu.edu
From: vonhaus@brunette.AITC.REST.TASC.COM (Dave vonHausen) Newsgroups: comp.sys.next.programmer Subject: help monitoring lauching of all applications Date: 5 Mar 1993 14:55:13 GMT Organization: TASC Message-ID: <1n7pkhINN1a2@sun.rest.tasc.com> I can't get "app:sender applicationWillLaunch:(const char *)appName" method to execute. I made my "controller" the delegate of Application using IB and place "app:sender applicationWillLaunch:(const char *)appName" in my controller class, and tried launching my "Writenow" application from the dock, --- and nothing happens. Control never reaches my method. Why? I can't figure it out.
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: NeXT's RTF style: What's \fc? Message-ID: <1993Mar5.151656.18407@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <MCGLK.93Mar4131234@yang.cpac.washington.edu> Distribution: usa Date: Fri, 5 Mar 93 15:16:56 GMT In article <MCGLK.93Mar4131234@yang.cpac.washington.edu> mcglk@cpac.washington.edu (Ken McGlothlen) writes: > In the documentations files (for example, in /NextLibrary/Documentation/ > NextDev/GeneralRef/02_ApplicationKit/Classes/TextFieldCell.rtf), I occasionally > see something like > > {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\ftech Symbol;\f2\fswiss > Helvetica;\f3\fmodern Ohlfs;} > \paperw16220 > \paperh12580 > \margl120 > \margr0 > \f0\b0\i0\ulnone\ql\fs24\fi0\li0\gray0\fc0\cf0\up0\dn0 Release 3.0 > Copyright > \f1 c > \f0 1992 by NeXT Computer, Inc. All Rights Reserved.\ > \ > > All is well and good, except that I have no idea what \fc0 is. In fact, \fc0 > and \fc1 appear 62 times in this document, and I would really like to know what > it means. . . . > > I've looked at the online Microsoft RTF document, but it didn't have \fc in it, > either. > > Any help would be appreciated. . . . > > ---Ken McGlothlen > mcglk@cpac.washington.edu > mcglk@cpac.bitnet Foreground Color 0. The color table starts at index 1, so index 0 is black. Here's an example RTF file that uses a color table. -------------------------------- Cut here ---------------------------------- {\rtf0\ansi{\fonttbl\f0\fmodern Courier;} \paperw12840 \paperh9240 \margl120 \margr120 {\colortbl;\red255\green0\blue0;\red0\green255\blue0;\red0\green0\blue255;} \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f 0\b0\i0\ulnone\fs24\gray614\fc1\cf1 Now \gray0\fc0\cf0 \gray177\fc2\cf2 is the time for \gray0\fc0\cf0 \gray187\fc3\cf3 all good men...(you get the picture). \gray0\fc0\cf0 \ } -------------------------------- Cut here ---------------------------------- -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: aking@BBN.COM (Allen King) Newsgroups: comp.sys.next.programmer Subject: Audio from NeXT CD Message-ID: <lpg6nnINNf41@news.bbn.com> Date: 6 Mar 93 03:31:03 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA I too would like to be able to access the music data on a CD from my NeXT CD drive for analysis with the 040. The following are the possibilities I am considering, in order of preference: 1. Is there some ROM upgrade possible for the NeXT CD drive to make it read audio CD's. Inside the drive is a 256K ROM (NMC27C256BQ) with Version S-2.6a of some software -- but software for what? What processor does it run on? What control does it have over the sector format read? Also inside the drive are the following chips. Does anybody know what they are / what each does, or which might be important for some hardware hack? Sony CXK5864BM Sony CXD1180AQ Sony CX1184Q Sanyo LC8951 Sony '89 C1.5A M37450M8 - 331FP 2. Is there a serial output which could be tapped (perhaps into the DSP or something)? There seemed to be no DATA/CLOCK/FRAME signals that I could see on the blank board. 3. What is the specification for the microphone input to a Color Station (non- turbo)? From that, a resistor divider can be made to drive it from the CD's audio output. I'm leary of trying to experimentally determine the divider, but I might have to. Does anybody have any helpful information about these strategies, or other possibilities Allen
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: federico@heinz.in-berlin.de (Federico Heinz) Subject: Will NS'486 break current licensign strategies? Message-ID: <1993Mar6.111604.25792@heinz.in-berlin.de> Keywords: Intel NeXTSTEP 486 hostid Sender: federico@heinz.in-berlin.de Organization: Federico Heinz Consulting Date: Sat, 6 Mar 1993 11:16:04 GMT I can't help but wonder... There are a number of applications out there that base their license-enforcing scheme (call it copy-protection if you want) on looking at the computer's host-id. I understand that the host-id on the NeXT machines is burned somewhere in ROM, where it cannot be easily changed. Now maybe I'm behind of the times in PC hardware, but the last time I looked there was no such burned-in host-id on PC motherboards. Does anyone know how (or at least just whether) NS'486 computes a unique, non-varying host-id for each motherboard it runs on? This could break a lot of the current licensing schemes... Federico Heinz
From: Bob_Vadnais@pdh.com (Bob Vadnais) Newsgroups: comp.sys.next.programmer Subject: Re: Two methods for encoding objects? Message-ID: <C3G6Mo.4qp@pdh.com> Date: 6 Mar 93 03:20:47 GMT References: <9303040156.AA08553@ensuing.com> Sender: news@pdh.com (USENET News Account) Followup-To: comp.sys.next.programmer Organization: PDH, Inc. In article <9303040156.AA08553@ensuing.com> karl@ensuing.com (Karl Kraft) writes: > >> When an object is "passed on the wire", it has to implement >> encodeUsing: and decodeUsing: > > No, it does not HAVE to implement this method. Object > already implements it to return an NXProxy. Bzzzt, wrong. If you want to "pass an object on the wire", the object you pass MUST adopt the NXTransport protocol (at least the encodeUsing: and decodeUsing: methods). I defer to the 3.0 Distributed Object release notes: "Passing objects on the wire" The default behavior for passing objects from one program to another is to establish an NXProxy object on the client; when the proxy is used locally on the client the Objective-C message is encoded into a MACH message and sent to the server, which decodes and dispatches to the real object. There will be many times when this policy is not desirable, such as when the object is small and won't change over time, when a complete copy of an object is desired for manipulation, or when a container object is passed. In these cases, one wants to pass the implementation of an object in some manner and instantiate a copy on the client side. We describe this latter process as an Object passing itself across the wire (but don't take us too literally!). Objects that do wish to pass themselves across in this manner should implement the following Transport protocol (from <remote/transport.h>):" Cheers, Bob (The protocol is actually NXTransport. The release notes' reference to Transport is incorrect.) -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: SUMMARY: Registering file types with Workspace Message-ID: <C3H940.2zw@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA References: <C3EEyG.Dvz@sounds.wa.com> Date: Sat, 6 Mar 1993 17:12:00 GMT The correct answer came from Linus Upson <lupson@geom.umn.edu>, Paul Kim <pkim@cory.Berkeley.EDU>, and Raf Schietekat <RfSchtkt@maze.ruca.ac.be> (so far). As Raf pointed out the Release Notes mention the problem. See Workspace.rtf: Application file packages (files ending in ".app") should not contain '.' in their name (except for ".app"). I renamed the directory and executable from Adobe_Illustrator_3.0.1.app to just Adobe_Illustrator and edited the __ICON segment's _header section to match. Regarding Mark's comment on logging out and back in to recache ~/Apps: this is not necessary if you use the Workspace Manager to add the application to ~/Apps. If you are modifying an application that is already in ~/Apps, a trick I use it to move (cursor turns into a green arrow for "mv") it to another directory like ~/Utilities and move it right back into ~/Apps. Workspace notices the changes as soon as it adds the program to ~/Apps and updates the app cache. Now it just works - I can launch Illustrator by double-clicking one of its documents! Brian Willoughby writes | Mark G. Tacchi writes | | There are three things that you can try. If you place the application in | | your doc, it should recognize it immediately. Putting it in your ~/Apps | | will take effect after you log out and back in. The same holds true for | | /LocalApps, but you'll need root access. | | (this is addressed to anyone...) | | But why can't Adobe_Illustrator_3.0.1 successfully provide an image for *.ai | files? I have it in | ~/Apps/Adobe_Illustrator_3.0.1.app/Adobe_Illustrator_3.0.1, but *.ai files | have the standard Edit icon for text files. | | Adobe_Illustrator_3.0.1 had this in the __header section of the __ICON | segment (along with the appropriately-named tiff sections): | | F Adobe_Illustrator Adobe_Illustrator app | F Adobe_Illustrator_3.0.1.app Adobe_Illustrator app | S ai Adobe_Illustrator ai | S ai88 Adobe_Illustrator ai88 | S ai11 Adobe_Illustrator ai11 | | [...] -- Brian Willoughby Software Design Engineer, BSEE NCSU BrianW@SoundS.WA.com Sound Consulting: Software Design and Development NeXTmail welcome
Newsgroups: comp.sys.next.programmer From: spagiola@frinext.stanford.edu (Stefano Pagiola) Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <1993Mar6.170358.21773@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Mar6.111604.25792@heinz.in-berlin.de> Date: Sat, 6 Mar 93 17:03:58 GMT Federico Heinz writes > I can't help but wonder... > > There are a number of applications out there that base their > license-enforcing scheme (call it copy-protection if you want) > on looking at the computer's host-id. I understand that the > host-id on the NeXT machines is burned somewhere in ROM, where > it cannot be easily changed. > > Now maybe I'm behind of the times in PC hardware, but the > last time I looked there was no such burned-in host-id on > PC motherboards. Does anyone know how (or at least just > whether) NS'486 computes a unique, non-varying host-id for > each motherboard it runs on? > > This could break a lot of the current licensing schemes... And a good thing too. I recently had to change my motherboard because of a hardware problem, and had the pleasure of having to call a very large number of software suppliers to obtain new passwords; it was over a week before I had everything runnning again. Host-id based licensing schemes are licensing schemes from hell. -- - Stefano Pagiola Food Research Institute, Stanford University spagiola@frinext.stanford.edu (NeXTMail encouraged) spagiola@FRI-nxt-Pagiola.stanford.edu (NeXTMail encouraged)
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: ptrace(2) In-Reply-To: eps@futon.SFSU.EDU's message of Fri, 5 Mar 1993 08:44:00 GMT To: eps@futon.SFSU.EDU (Eric P. Scott) Message-ID: <CEDMAN.93Mar5091513@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <CEDMAN.93Mar3075035@capitalist.princeton.edu> <1993Mar5.084400.27130@csus.edu> Date: Fri, 5 Mar 1993 13:15:13 GMT In article <1993Mar5.084400.27130@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: In article <CEDMAN.93Mar3075035@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes: >The ptrace(2) system call is necessary to run one process under the >control of (and possible modification by) another process. It is >available on most UN*X versions I'm aware of, but the NeXT man page >claims that it does not exist here. Why don't you believe the man page? ptrace() doesn't work for the same reason sbrk() doesn't: it depends on naive assumptions that don't hold in the Mach environment. Start by reading the documentation for task_by_unix_pid()... There are many reasons not to believe man pages. One of the better ones in this case is that the gdb as built by _NeXT_ and _shipped_ with 3.0, calls ptrace when e.g. setting breakpoints and it seems to work. If you don't believe me, go debug gdb. BTW, thanks for pointing out task_by_unix_pid(). Carl Edman
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: philip@utstat.toronto.edu (Rob Tibshirani) Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <C3Hpns.29E@utstat.toronto.edu> Keywords: Intel NeXTSTEP 486 hostid Organization: University of Toronto, Dept. of Statistics References: <1993Mar6.111604.25792@heinz.in-berlin.de> Date: Sat, 6 Mar 1993 23:09:27 GMT In article <1993Mar6.111604.25792@heinz.in-berlin.de> federico@heinz.in-berlin.de (Federico Heinz) writes: >I can't help but wonder... > >There are a number of applications out there that base their >license-enforcing scheme (call it copy-protection if you want) on looking at >the computer's host-id. I understand that the host-id on the NeXT machines is >burned somewhere in ROM, where it cannot be easily changed. > >Now maybe I'm behind of the times in PC hardware, but the last time I looked >there was no such burned-in host-id on PC motherboards. Does anyone know how >(or at least just whether) NS'486 computes a unique, non-varying host-id for >each motherboard it runs on? Good question...Now would you please tell me how I can get Dots or whether it still exists for the NeXT, etc...Sorry to take this to the world, but I've been trying for a month to contact the people who sell it. The nice thing about NS on the PC is that the copy protection schemes won't work well. [ ] -- Philip McDunnough University of Toronto philip@utstat.toronto.edu [Where sheep may safely graze...]
Newsgroups: comp.sys.next.programmer From: cfleming@reis27.alleg.edu (Chuck Fleming) Subject: IBEditor questions Message-ID: <1993Mar6.232522.8463@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Sat, 6 Mar 1993 23:25:22 GMT I have an IBEditor (FooEditor) for an non-view object Foo. If FooEditor's window is on-screen (an instance of Foo in IB's File Window having been double-clicked at some point), but is no longer the key window, how does one highlight Foo in the File Window when FooEditor's window becomes key again? Can someone explain how to use IBEditor's resetObject:, makeSelectionVisible: and selectObjects: methods? Thanks, Chuck ########################################### Chuck Fleming (cfleming@alleg.edu) Educational Computing Services Allegheny College NeXTMail welcome ###########################################
From: pauls@css.itd.umich.edu (Paul Southworth) Newsgroups: comp.sys.next.programmer Subject: Missing include: unistd.h Date: 7 Mar 1993 00:12:51 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1nbem3INN1qr@stimpy.css.itd.umich.edu> Is there a substitute for unistd.h on a NeXT? That include exists in SunOS and Ultrix but I can't find it or an equivalent on the NeXT. Please email. ta paul w southworth | computer systems consultant | university of michigan 313 763 0452 | pauls@umich.edu | 3113 school of ed | ann arbor, mi 48109-1259 archivist | red.css.itd.umich.edu | anonymous ftp | politics & zines
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Re: Will NS'486 break current licensign strategies? Date: 7 Mar 1993 01:42:15 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Message-ID: <1nbjtnINN64p@uwm.edu> References: <1993Mar6.111604.25792@heinz.in-berlin.de> <C3Hpns.29E@utstat.toronto.edu> Keywords: Intel NeXTSTEP 486 hostid In article <C3Hpns.29E@utstat.toronto.edu> philip@utstat.toronto.edu (Rob Tibshirani) writes: >The nice thing about NS on the PC is that the copy protection schemes won't >work well. I think that it just means that they have to rethink there schemes. -- -Scott Violet (xepo@csd4.csd.uwm.edu)
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <C3HtAF.9wA@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <1993Mar6.111604.25792@heinz.in-berlin.de> Date: Sun, 7 Mar 1993 00:27:50 GMT In article <1993Mar6.111604.25792@heinz.in-berlin.de> federico@heinz.in-berlin.de (Federico Heinz) writes: > There are a number of applications out there that base > their license-enforcing scheme (call it copy-protection > if you want) on looking at the computer's host-id. I > understand that the host-id on the NeXT machines is > burned somewhere in ROM, where it cannot be easily > changed. Well, sort of. From the man page for gethostid(2): "The hostid is a four byte number with the first byte being the CPU version (only version 1 exists today) and the last three bytes are the last three bytes in the ethernet address (which are guaranteed to be unique)." Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
From: trung@cs.bu.edu (Trung Dung) Newsgroups: comp.sys.next.programmer Subject: Help: sound object Message-ID: <111458@bu.edu> Date: 7 Mar 93 04:36:05 GMT References: <1n7l9cINNrts@nic.BelWue.DE> Sender: news@bu.edu Organization: Computer Science Department, Boston University, Boston, MA, USA hi all, Does any one know if a sound object actually sends the message "didPlay:" to its delegate? I have something like this: @implementation myDelegate: Object { int dp; /* did play */ } -init { dp = 1; return self;] -dp { return dp;} -didPlay:sender { dp = 0; return self; } id mydel = [[myDelegate new] init]; id snd = [Sound findSoundFor:"Rooster"]; [snd setDelegate:mydel]; [snd play]; while ([mydel dp]) sleep(1); The program never call didPlay!!!! I'd appreciate any pointers. (am I missing something really stupid?) Thanks! Trung
Newsgroups: comp.sys.next.programmer From: chris%milo@wpa.com (Chris Cleeland) Subject: Re: PopUp Lists Message-ID: <1993Mar6.183843.10874@milo.UUCP> Keywords: thanks summary popup list Sender: chris@milo.UUCP Organization: Milo Designs References: <1993Mar5.070115.8428@milo.UUCP> Distribution: na Date: Sat, 6 Mar 1993 18:38:43 GMT Thanks to all who responded to my idiot question of the day! The basic consensus (for anybody else out there who might want to know) is, given the button attached to a PopUpList, you can get the actual PopUpList menu by sending a -target message to the button,e.g.: thePopupList = [popupButton target]; thePopupList is a menu, and by sending it an -itemList message, one can retrieve its associated Matrix. From there, I assume one could manipulate it to change the cell selections, etc. Hearty "Thanks!" to the following people who reponded: Don Yacktman Robert Davis Stephen Peters Subrata Sircar If you're name isn't on this list (and you responded :-), I probably didn't receive your mail yet. Thanks though! The Net is a beautiful thing... -cj -- ------------------------------------------------------------- Chris Cleeland | Internet: chris%milo@wpa.com Consultant/NeXT Advocate | UUCP: wupost!nimno!milo!chris Milo Designs | BellNet: (314) 771-3860
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Will NS'486 break current licensign strategies? Date: 7 Mar 1993 15:32:41 GMT Organization: The University of Maryland, College Park Message-ID: <1nd4ipINN89e@ni.umd.edu> References: <1993Mar6.111604.25792@heinz.in-berlin.de> <C3HtAF.9wA@pdh.com> In article <C3HtAF.9wA@pdh.com> Bob_Vadnais@pdh.com writes: >In article <1993Mar6.111604.25792@heinz.in-berlin.de> >federico@heinz.in-berlin.de (Federico Heinz) writes: > >> There are a number of applications out there that base >> their license-enforcing scheme (call it copy-protection >> if you want) on looking at the computer's host-id. I >> understand that the host-id on the NeXT machines is >> burned somewhere in ROM, where it cannot be easily >> changed. > >Well, sort of. > >From the man page for gethostid(2): > > "The hostid is a four byte number with the first byte > being the CPU version (only version 1 exists today) and the > last three bytes are the last three bytes in the ethernet > address (which are guaranteed to be unique)." Except that the last 3 bytes of the hostid are used to determine the ethernet address, not the other way around. It is in fact in a ROM or PAL somewhere on the board. It would be nice if it was in a socketed device, so when your hardware was being "repaired" by being replaced, you could carry along the hostid with the new hardware. I guess there's no point expecting this change to happen :-) As far as I know, there is no documented way to obtain the actual ethernet address being used. And before someone suggests that I use ether_hostton(): don't. That just looks in a file or netinfo to get the information which may or may not be there. louie
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: NeXT Loyal Customer Sale from RightBrain! (RTF) Organization: Primitive Software Ltd. References: <1118@rtbrain.rightbrain.com> <1993Mar6.103902.6939@metrosoft.com> Date: Mon, 8 Mar 1993 00:49:27 +0000 Message-ID: <1993Mar8.004927.5898@prim> Sender: usenet@demon.co.uk In article <1993Mar6.103902.6939@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: >In article <1118@rtbrain.rightbrain.com> info@rightbrain.com >(RightBrain Software) writes: >> >> [A seriously-cross-posted window-depth-promoting RTF post] >> >Sheesh - cross-posting an RTF post that promotes window-depth sure is >fun! I've had to re-start NewsGrazer *three* times now to get drawing >speed back! (And now I'll have to do it again since I did a follow-up >to the thing). > Is it possible to programmatically un-promote (relegate?) the window-depth? Dave Griffiths
From: pjoe@cubenet.sub.org (Peter Eybert) Newsgroups: comp.sys.next.programmer Subject: Renderman Bug ? Message-ID: <8857@salyko.cubenet.sub.org> Date: 7 Mar 93 22:40:01 GMT Sender: root@cubenet.sub.org Distribution: comp A question concerning the photoreal Renderman: Has anybody managed to write a transformation shader that works ? If you check a transformation shader with [aShader shaderType] you get UNKNOWN as a result and the shader does nothing. Also, if you call such a shader via RiDeformation (although I think that this shouldn't be necessary), there are no results. As I've tested them, all the other shader types work properly. Any suggestions are welcome. Peter. -- Peter Eybert (joe), pjoe@cubenet.sub.org, voice 089-7593734
Newsgroups: comp.sys.next.programmer From: ijeff@hank.carleton.ca (Ian Jefferson) Subject: Re: Audio from NeXT CD Message-ID: <ijeff.731530539@cunews> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University References: <lpg6nnINNf41@news.bbn.com> Date: Sun, 7 Mar 1993 18:55:39 GMT Just to add my two cents. I've seen this discussion brought up here a couple of times, but it was never resolved whether this was possible or not. I recently read a couple of posts on one of the SGI groups about this and if you have an SGI, and their Toshiba model xxxx( I forget the number) cdrom drive you can read audio data directly from audio CD's. SGI has an API for this and after checking the documentation it seems pretty straight forward to read audio data across the scsi bus directly into memory. What I don't know is if this is an SGI modified drive or just a regular Toshiba drive. I have one of these drives but I have been unable to make it work *at all* on a NeXT. (didn't try hard though). I would love to read sound directly. What fun! -- --------------------------------------------------------------------------- Ian Jefferson ijeff@ccs.carleton.ca No NeXT mail please! ijeff@computeractive.on.ca NeXT mail please!
Newsgroups: comp.sys.next.programmer From: root@gbo.cern.ch (System Manager) Subject: Re: "Memory access exception" (HUH?) Message-ID: <1993Mar7.204458.24069@dxcern.cern.ch> Sender: news@dxcern.cern.ch (USENET News System) Organization: CERN European Lab for Particle Physics References: <1993Mar2.174219.17236@tkymail.sps.mot.com> Date: Sun, 7 Mar 1993 20:44:58 GMT In article <1993Mar2.174219.17236@tkymail.sps.mot.com> mshaler@tdocad.sps.mot.com (Michael Shaler) writes: > Amateur hour question. I'm using DBKit in tandem with IXKit and can't get > > around a huge glitch in my application. What does the following message from gdb mean? > > Program generated(1): Memory access exception on address 0x0 > (protection failure). > 0xb00751e in -[DBBinderMapping takeValueFrom:] () > (gdb) Program generated(1): Memory access exception on address 0x0 (protection failure). It means that the instruction at address 0xb00751e has made a reference to the memory location 0, which is outside the address space of your program. To see the offending instruction, type the gdb command "x/i $pc" when the exception is generated. Just to give a possible example of how it can arise, consider the following instruction: moveb a1@+,a0@+, which is often used in a loop to transfer a character string from a memory block to another. It's a responsibility of the program to handle registers a0 and a1 correctly. If for any reason at least one of the registers contains 0 when the loop is entered, the exception is immediately generated because memory location 0 is indirectly referenced. --- Gian Franco NON NeXT Mail: gfranc@dxcern.cern.ch
From: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz) Newsgroups: comp.sys.next.programmer Subject: lazy DBTable? Date: 7 Mar 1993 21:21:25 GMT Organization: TUBerlin/ZRZ Distribution: world Message-ID: <1ndp0lINNsjo@mailgzrz.TU-Berlin.DE> Hi, can I get DBTable to fetch the data lazyly from the database server? Carsten P.S.: This has been in c.s.n.software by accident. Sorry for that!
Newsgroups: comp.sys.next.programmer From: anthonjw@craft.camp.clarkson.edu (Jason W. Anthony) Subject: ParcPlace's VisualWorks Questions... Message-ID: <anthonjw.731540358@craft.camp.clarkson.edu> Sender: news@news.clarkson.edu Organization: Clarkson University Date: Sun, 7 Mar 1993 21:39:18 GMT I'm interested in possibly using this SmallTalk system available (now) for the NeXT. I would appreciate any opinions anyone has on it from using it under other OS's. I specifically am wondering: 1. Can you create quality, stand-alone apps, feasible for selling as "shrink-wrapped" software? 2. How relatively big and/or slow are apps developed with it? What are the minimum configurations needed on other hardware (Mac, Windows, etc.)? 3. According to ParcPlace, you can "instantly" port an app from one VisualWorks platform to another (i.e. NeXTSTEP to Mac). Is this true? If so, how well does the GUI translate? (Does it have the look-and-feel of an app created directly for the particular GUI?) 4. How does development time/ease compare to NeXTSTEP's Obj-C/Interface Builder combo? 5. How extensive/robust is the included class libraries (say compared to the AppKit)? 6. Can you interface with Obj-C/C++ code? If so, how difficult is it? Thanks for any insight... --Jay-- --- Jason Anthony anthonjw@craft.camp.clarkson.edu (NeXTmail very welcome)
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: help monitoring lauching of all applications Message-ID: <1993Mar7.185339.2820@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1n7pkhINN1a2@sun.rest.tasc.com> Date: Sun, 7 Mar 1993 18:53:39 GMT In article <1n7pkhINN1a2@sun.rest.tasc.com> vonhaus@brunette.AITC.REST.TASC.COM (Dave vonHausen) writes: > I can't get "app:sender applicationWillLaunch:(const > char *)appName" method to execute. I made my > "controller" the delegate of Application using IB and > place "app:sender applicationWillLaunch:(const char > *)appName" in my controller class, and tried launching > my "Writenow" application from the dock, --- and nothing > happens. Control never reaches my method. Why? I can't > figure it out. > You have to tell the Workspace that you're interested in such things by performing: [[Application workspace] beginListeningForApplicationStatusChanges]; Because of a bug in NeXTSTEP 3.0, doing that without first doing something like: // do this to avoid bogus NeXTSTEP 3.0 bug [[Application workspace] getInfoForFileSystemAt:"/" isRemovable:&removableFlag isWritable:&writableFlag isUnmountable:&mountableFlag description:&fileSystemDesc type:&fileSystemType]; in your appDidInit method, you can cause NeXTSTEP to stop ejecting floppy disks from the Workspace (no kidding!). You should probably also do a: [[Application workspace] endListeningForApplicationStatusChanges]; when your program terminates sa well. Gordon -- ---------------------------------------------------------------- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] ----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: Registering file types with Workspace Message-ID: <1993Mar7.185852.2930@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <C3EEyG.Dvz@sounds.wa.com> Date: Sun, 7 Mar 1993 18:58:52 GMT In article <C3EEyG.Dvz@sounds.wa.com> BrianW@SoundS.WA.com (Brian Willoughby) writes: > But why can't Adobe_Illustrator_3.0.1 successfully > provide an image for *.ai files? I have it in > ~/Apps/Adobe_Illustrator_3.0.1.app/Adobe_Illustrator_3.0.1, > but *.ai files have the standard Edit icon for text files. > > [...munch...] > > What gives? Is this an Illustrator bug that I haven't > heard of? > This is a problem with 3.0.1 and NeXTSTEP 3.0. The response I got from Adobe tech support (you CAN call and e-mail these guys ya know! :-) is to rename the app wrapper and the executable inside it, removing the "_3.0.1" from each. Gordon -- ---------------------------------------------------------------- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] ----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Fix to print from DBTableView Message-ID: <1993Mar6.135229.2370@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Mar5.171640.387@ccsi.com> Date: Sat, 6 Mar 93 13:52:29 GMT In article <1993Mar5.171640.387@ccsi.com> sapphire!shill (Sean L. Hill) writes: > > I remember seeing that someone had come up with a fix for the fo > > nt problem (via a category?) for printing a DBTableView. I can't find that now. Does anyone have the fix? > > Thanks- > shill@ccsi.com If the DBTableView is editable it prints (sans headers!). I have not seen a solution for non-editable tables. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: PopUp Lists Message-ID: <1993Mar6.135532.2424@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Mar5.070115.8428@milo.UUCP> Distribution: na Date: Sat, 6 Mar 93 13:55:32 GMT In article <1993Mar5.070115.8428@milo.UUCP> chris%milo@wpa.com (Chris Cleeland) writes: > Idiot question of the day: > > I have a popup list in a panel set up in Interface Builder. Using > IB, I establish a connection between an object instance in the .nib > and the Button associated with this popup list. How do I get hold of > the popup list (which is really a menu according to docs) and all of > its requisite parts? I have found a function to attach a button to a > programmatically-created popup list, but I have found absolutely no > clues regarding finding out which object one is when all you have is > the other. > > Hrrmph! > > Thanks much for help! > -cj The "target" of the button is the pop up list. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: yann@dagobah.fdn.org (Yann Lechelle) Subject: IB palette question Message-ID: <1993Mar7.125009.577@dagobah.fdn.org> Sender: yann@dagobah.fdn.org Organization: Individual Date: Sun, 7 Mar 1993 12:50:09 GMT WHo would know how to put graphical objects (i.e Text or Box) in a palette panel so that they are not draggable once the palette is in IB ? example: let's say I create a special view palette, but I want to write a title and a little comment besides it in the palette.... but I don't want these do be draggable, only the view should be draggable. Thanks -- / ================================================= \ \ Yann Lechelle (Paris, FRANCE) / / yann@dagobah.fdn.org Email/NeXTmail \ \ "grep me no patterns and I'll tell you no lines." /
From: andrew@cubetech.com (Andrew Loewenstern) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Re: NeXT Loyal Customer Sale from RightBrain! (RTF) Date: 8 Mar 1993 06:05:34 -0600 Organization: Cube Technologies, Inc Message-ID: <1nfcqe$e02@imladris.cubetech.com> References: <1118@rtbrain.rightbrain.com> <1993Mar6.103902.6939@metrosoft.com> <1993Mar8.004927.5898@prim> In article <1993Mar8.004927.5898@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >In article <1993Mar6.103902.6939@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: >>Sheesh - cross-posting an RTF post that promotes window-depth sure is >>fun! I've had to re-start NewsGrazer *three* times now to get drawing >>speed back! (And now I'll have to do it again since I did a follow-up >>to the thing). >Is it possible to programmatically un-promote (relegate?) the window-depth? If you dwrite NXWindowDepthLimit TwoBitGray for that app, the windows won't promote. andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
From: huhr@uni-paderborn.de (Holger Uhr) Newsgroups: comp.sys.next.programmer Subject: Indent and Objective C Date: 8 Mar 1993 15:32:22 GMT Organization: Universitaet Paderborn, Germany Message-ID: <1nfou6$g20@news.uni-paderborn.de> It says in the manpages that 'indent' is a "Objective C Formatter" (except of the bug with the //-comments). But it gets totally confused by the '[receiver message]' construct, it indents them wrong or splits them. I also can't get 'indent' to indent "while" or "do" compound statements, though it indents "if" statements. I looked through the man-pages over and over and tried all the options in .indent.pro, but nothing worked. Do I really have to pipe the output of 'indent' through 'cb' to get something usable? Does anybody have a shellscript that serves as a workaround? Thanks for any help. -- | Holger Uhr *** Engernweg 32 *** W-4790 Paderborn *** Germany | | E-Mail: huhr@uni-paderborn.de Phone: 05251-58950 | |How to become immortal: Read this signature tomorrow and follow its advice.
From: mcglk@cpac.washington.edu (Ken McGlothlen) Newsgroups: comp.sys.next.programmer Subject: Garfinkel/Mahoney's Process object just not *quite* enough. Date: 8 Mar 93 12:22:55 Organization: Dubious. Distribution: usa Message-ID: <MCGLK.93Mar8122255@yang.cpac.washington.edu> Let me start out by saying that "NeXTSTEP Programming / Step One: Object-Oriented Applications" is a godsend; it cleared up a good number of my mental blocks as far as Interface Builder goes. However, I'm having a slight argument with the Process class described beginning on page 287. Caveat: I'm not using it with the MathPaper example at the moment; I'm now trying to run a TeX subprocess. It works well for the *most* part. I can create a process, get it running (sort of), and receive output from it. But bits of it seem a bit touchy; it doesn't let me kill the process with the free: method, for example, and I'm not sure how I *can* kill it. Currently, when I try, everything locks up. What I'd *like* to be able to do is something along the lines of the following: * Have an initWithCommand:(char *)commandLine method which takes a command line and starts up the subprocess; * sendInput:(char *)s, which sends arbitrary characters to the process' stdin; * killProcess:(int)sig, which allows me to send a signal to the process; * procHasOutput:, a method which is implemented by a delegate, called whenever the process has output pending; * procHasError:, another delegate method, called whenever the process has output on stderr pending; * procHasDied:, a delegate method to be called when the process dies (which should call the Process object's free method). Does anyone have something like that? This seems a lot neater to me than G/M's current method of using a printer() function and using it as a pseudo-delegate method in their Process' dpsWatchFD method. Also of interest is an object like this which works even if the command is expecting to use a terminal; I don't have high hopes for that one, though. :) Help? Anyone? ---Ken McGlothlen mcglk@cpac.washington.edu mcglk@cpac.bitnet
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Who was doing an ftpObject? Message-ID: <1993Mar8.212251.6391@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Mon, 8 Mar 93 21:22:51 GMT I had heard someone mention an ftpObject they were developing. Who could it be? -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: tammy@dgp.toronto.edu (S. Tammy teWinkel) Subject: adding page numbering to the text object Message-ID: <1993Mar8.170250.11482@jarvis.csri.toronto.edu> Keywords: Text Object, pagination, display Postscript Organization: CSRI, University of Toronto Date: 8 Mar 93 22:02:50 GMT I am trying to add page numbering to a subclass of the text view class. Has anyone done this? Is there an example available somewhere that I can refer to? The Documentation is fairly sketchy on the use of the - drawPageBorder and - drawSheetBorder methods but they sound like a reasonable place to start... suggestions?
From: jamie@vax.ftp.com (Jamie O'Keefe) Newsgroups: comp.sys.next.programmer Subject: Is the source code for molecule.app available? Keywords: Molecule.app Message-ID: <930308170507@pericles.ftp.com> Date: 8 Mar 93 22:05:07 GMT Sender: root@vaxeline.ftp.com (vaxeline.ftp.com root account) Organization: FTP Software, Inc., North Andover, Massachusetts Nntp-Software: PC/TCP NNTP Hi! I am looking for the source code for the demo molecule.app. Does anyone know if it is freely available? thanks, jamie -- Jamie O'Keefe FTP Software, Inc. Technical Support Phone: 01-508-685-3600 Fax: 01-508-794-4484 Email: jamie@ftp.com "Everything is interconnected. Do one thing and watch its effect on something different. Then watch its effect reflected back on you."
From: hicksjl@nextwork.rose-hulman.edu (James L. Hicks) Newsgroups: comp.sys.next.programmer Subject: Reading/writing video memory Date: 8 Mar 1993 23:23:08 GMT Organization: Computer Science Department at Rose-Hulman Message-ID: <1ngkgsINNha0@master.cs.rose-hulman.edu> How does one directly access video memory under NS 3.0? The ScreenMunger package no longer wants to compile, complaining about a missing header file. I found the header file, but it uses the symbol "dma_chip" for which I cannot find a definition anywhere. Any help would be appreciated! -- James Hicks hicksjl@nextwork.rose-hulman.edu Rose-Hulman Institute of Tech. Phone: 812-877-8728 NeXTmail welcome. Visualize whirled peas.
From: dave@hyla.biosci.missouri.edu (Dave Zaloz) Newsgroups: comp.sys.next.programmer Subject: Help: debugging. Message-ID: <1993Mar8.151211.3766@mac.cc.macalstr.edu> Date: 8 Mar 93 09:12:11 GMT Article-I.D.: mac.1993Mar8.151211.3766 Aloha. I have a simple program which insists on giving me an error which resembles: >Program generated(1): Memory access exception on address 0xfff798 >(invalid address). >0x502ec0e in -[Object perform:with:] () I'm of the opinion that somewhere I am clobbering my code. So, I am using gdb to step through the program. It goes fine, then gdb does something while stepping. The lines below are a copy of the gdb operation: (gdb) step 0x4738 (gdb) Gdb gives some 0x???? number after I make a step in the program. In this case the number was "0x4738". This number has me confused. I have no idea what it is. I do know that my program crashes after gdb does it. Does anybody out there know what is causing this? I am totally clueless. Incidentally, after the number appears gdb goes to a different line in my code while I'm debugging. I've got to the point where I have removed all my methods into one long method so that I don't have to call other methods. It still crashes. Help Dave
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <ofaztEy00WA7MTTclM@andrew.cmu.edu> Date: Mon, 8 Mar 1993 21:17:52 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: MACH docs. WAS:Re: ptrace(2) In-Reply-To: <1993Mar5.084400.27130@csus.edu> Excerpts from netnews.comp.sys.next.programmer: 5-Mar-93 Re: ptrace(2) by Eric P. Scott@futon.SFSU >Start by reading the documentation for task_by_unix_pid()... Try ftp'ing to mach.cs.cmu.edu (anonymously) and digging around... They have some wonderful papers on Tasks/Threads... Which might help you find an alternative solution to ptrace... Just be aware that those papers are based on MACH 3.0 -- and the NeXT only runs MACH 2.?? (I've heard 2.0 with some of the MACH 2.5'isms thrown in...) Still, the knowledge is quite worthwhile... -David.
Newsgroups: comp.sys.next.programmer From: jturner@liberty.uc.wlu.edu (James M. Turner III) Subject: [NXImage lockFocus] problems! Message-ID: <1993Mar9.035216.679@liberty.uc.wlu.edu> Date: Tue, 9 Mar 1993 03:52:16 GMT Organization: Washington & Lee University I am trying to write a graph to a buffer just like it is done in the busy box application. These are the steps I follow: id cacheImage if (!cacheImage) { cacheImage = [[Window allocFromZone:[self zone]] initContent:&bounds style:NX_PLAINSTYLE backing:NX_RETAINED buttonMask:0 defer:NO]; } if ([[cacheImage contentView] lockFocus]) { /** code to draw image which does work when in the drawSelf method **/ [[cacheImage contentView] unlockFocus]; } and finally I tell it to... if (cacheImage) PScomposite(0.0, 0.0, bounds.size.width, bounds.size.height, [cacheImage gState], 0.0, 0.0, NX_COPY); in the -drawSelf:(NXRect*)rects:(int)rectCount method But nothing comes out of the buffer :-( It just draws an empty, clear place on the screen. The code given in the lockFocus is never executed because it returns NO when I ask it to lockFocus. Any ideas would be appreciated!!!!
Newsgroups: comp.sys.next.programmer From: msanford@pencom.com Subject: Re: PopUp Lists Message-ID: <1993Mar8.151144.18078@paramus2.uucp> Sender: usenet@paramus2.uucp Organization: United Parcel Service, Inc. References: <1993Mar6.135532.2424@uunet!cbmvax!xmws!kripalu> Date: Mon, 8 Mar 1993 15:11:44 GMT In article <1993Mar6.135532.2424@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: > In article <1993Mar5.070115.8428@milo.UUCP> chris%milo@wpa.com (Chris Cleeland) > writes: > > Idiot question of the day: > > > > I have a popup list in a panel set up in Interface Builder. Using > > IB, I establish a connection between an object instance in the .nib > > and the Button associated with this popup list. How do I get hold of > > the popup list (which is really a menu according to docs) and all of > > its requisite parts? I have found a function to attach a button to a > > programmatically-created popup list, but I have found absolutely no > > clues regarding finding out which object one is when all you have is > > the other. > > > > Hrrmph! > > > > Thanks much for help! > > -cj > > The "target" of the button is the pop up list. > -- Also, in Interface Builder, double-click on the popup list so the all the items are visible. Drag the connection just above the first item in the popup list so that there is a black box around the entire list. - mike
From: Hartmut Benz <benz@nestor.uni-koblenz.de> Newsgroups: comp.sys.next.programmer Subject: problem with gdb and watchpoints Date: 9 Mar 1993 09:05:32 GMT Organization: CC/CS Uni-Koblenz Message-ID: <1nhmksINNkd0@uniko.uni-koblenz.de> Hi folks! After the command "watch <expression>" gdb isn't behaving as I would have expected it to do. The manual says: watch exp Single-step the program until exp is true. This method is slow, but ^^^^^^^^^^^ accurate. For a similar method that's faster but less accurate, see the section on data breakpoints. Gdb itself says: (gdb) help watch Set a watchpoint for an expression. A watchpoint stops execution of your program whenever the value of an expression changes. ^^^^^^^ Actually happening is neither of theses. If I set a watchpoint to an expression (that will become TRUE/change value eventually) gdb will _not_ "continue" normally. As I understand its output gdb interrupts the program after _every_ asm-instruction. I am unable to see any connection between the watch expression (which stays TRUE/FALSE whichever you like) and these interrupts: (gdb) set watch <something> ... (gdb) cont Program received signal 5, Trace/BPT trap 0x18290 in -[Auswahl doAbstractions] (self=0x2ce7bc, _cmd=0x42e57) at Auswahl.m:122 (gdb) cont Continuing. Program received signal 5, Trace/BPT trap 0x18296 in -[Auswahl doAbstractions] (self=0x2ce7bc, _cmd=0x42e57) at Auswahl.m:122 (gdb) ...to be continuable ad infinitum (well, sort of...) Could someone please give me a pointer to what I am doing/understanding wrong? Thanx Hartmut ,,, (o @) --------------------------oOO--(_)--OOo-------------------------------- Hartmut Benz | benz@infko.uni-koblenz.de D-5400 Koblenz, Germany | (NeXTmail ok)
Newsgroups: comp.sys.next.programmer From: BJANZEN@lexmark.com Subject: Memory mapped tty (it worked, but are there nasties waiting) Message-ID: <16B8B1038A.BJANZEN@lexmark.com> Sender: usenet@lexmark.com (News Dude) Organization: Lexmark International, Lexington, KY Date: Mon, 8 Mar 1993 23:27:22 GMT I was reluctant to try memory mapping my /dev/ttya. I've read in Stevens' UNIX text that memory mapped I/O can't be used BETWEEN terminal or network devices. Figuring on Mach, not UNIX, and my mmap was not between terminals but rather ttya and my program, I tried it and everything appears ok (so far). I can't find anything in NeXT or Mach documentation that discourages this - is it accepted for apps which require a lot of serial I/O? Barry Janzen bjanzen@lexmark.com
Newsgroups: comp.sys.next.programmer From: fl1ger@rrz.de (Ralf Weber) Subject: Re: [NXImage lockFocus] problems! Message-ID: <1993Mar9.124334.263@rrz.de> Sender: fl1ger@rrz.de Organization: Rhein-Rechenzentrum GmbH, Koblenz, Germany References: <1993Mar9.035216.679@liberty.uc.wlu.edu> Date: Tue, 9 Mar 93 12:43:34 GMT James M. Turner III writes > I am trying to write a graph to a buffer just like it is done in the > busy box application. These are the steps I follow: > > id cacheImage > > if (!cacheImage) > { > cacheImage = [[Window allocFromZone:[self zone]] > initContent:&bounds > style:NX_PLAINSTYLE > backing:NX_RETAINED > buttonMask:0 > defer:NO]; > } Good so far if bounds has a valid value exspecially size > 0, otherwise the following can't work. Problem may be that when you do this in initFrame: that bounds may be uninitzialised. Better put the whole code in drawSelf::, and check if contentValues are valid. That solved the problem for me. > if ([[cacheImage contentView] lockFocus]) > { > /** code to draw image which does work when in the drawSelf method **/ > [[cacheImage contentView] unlockFocus]; > } > > and finally I tell it to... > > if (cacheImage) > PScomposite(0.0, 0.0, bounds.size.width, bounds.size.height, > [cacheImage gState], 0.0, 0.0, NX_COPY); > > in the -drawSelf:(NXRect*)rects:(int)rectCount method > > But nothing comes out of the buffer :-( > > It just draws an empty, clear place on the screen. The code given in > the lockFocus is never executed because it returns NO when I ask it > to lockFocus. lockFocus doesn't work on a view with size.width or size.height <= 0. See above -- Ralf Weber E-Mail: fl1ger@rrz.de Rhein-Rechenzentrum GmbH (NeXTMail preferred) August-Horch-Strasse 28 CompuServe: 100024,1253 Postfach 1540 Voice: +49 261 892-519 D-W5400 Koblenz, Germany Fax: +49 261 892-525
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: NeXT Loyal Customer Sale from RightBrain! (RTF) Organization: Primitive Software Ltd. References: <1993Mar6.103902.6939@metrosoft.com> <1993Mar8.004927.5898@prim> <1nfcqe$e02@imladris.cubetech.com> Date: Tue, 9 Mar 1993 09:50:14 +0000 Message-ID: <1993Mar9.095014.3445@prim> Sender: usenet@demon.co.uk In article <1nfcqe$e02@imladris.cubetech.com> andrew@cubetech.com (Andrew Loewenstern) writes: >In article <1993Mar8.004927.5898@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >>In article <1993Mar6.103902.6939@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: >>>Sheesh - cross-posting an RTF post that promotes window-depth sure is >>>fun! I've had to re-start NewsGrazer *three* times now to get drawing >>>speed back! (And now I'll have to do it again since I did a follow-up >>>to the thing). > >>Is it possible to programmatically demote (thanks Bob :-) the window-depth? > > >If you dwrite NXWindowDepthLimit TwoBitGray for that app, the windows >won't promote. > But then we don't get to see those RightBrain ads in their true glory. No, I was wondering if a newsreader could say "ok, the last article was RTF and may have promoted the window-depth, _this_ article is just plain ascii, so let's reset the window-depth before displaying it". Even if it's a dirty trick like switching windows and freeing a temporary rtf window, it has to be better than re-starting the program. Dave Griffiths
From: nbrosnah@us.oracle.com (Nick Brosnahan) Newsgroups: comp.sys.next.programmer Subject: lint? Message-ID: <1993Mar9.020024.27224@oracle.us.oracle.com> Date: 9 Mar 93 02:00:24 GMT Sender: usenet@oracle.us.oracle.com (Oracle News Poster) Organization: Oracle Corp., Redwood Shores CA at Oracle Corporation. The opinions expressed are those of the user and not necessarily those of Oracle. I would like to get lint (or the source for it) for NS 3.0 but haven't had any luck with the standard ftp sites. Could someone please mail it to me or tell me where to find it? Thanks
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <gfbBKvW00WB=NFO4Yx@andrew.cmu.edu> Date: Tue, 9 Mar 1993 12:36:59 -0500 From: "Mike A. Hayward" <mh67+@andrew.cmu.edu> Subject: Broken C++ Compiler ? Is it just me, or does the C++ option for the NeXT compiler fail to work for automatic scope function pointer declarations? main() { int (*fp)( int ); } This will compile fine under C, but with the C++ option it fails... (19) localhost /tmp > cc test.cc test.cc: In function int main (): test.cc:4: `fp' undeclared (first use this function) test.cc:4: (Each undeclared identifier is reported only once test.cc:4: for each function it appears in.) test.cc:4: parse error before `)' (20) localhost /tmp > Any ideas? What to do about my crappy C++ compiler? If you post a reply, please email me as well. :) ----------------------------------------------------------- Mike A. Hayward 412 422-8128 CMU Box #103 412 421-9095 4825 Frew Street Pittsburgh, PA 15213-3890
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Anyone using PPP? Message-ID: <34218@optima.cs.arizona.edu> Date: 9 Mar 93 20:13:31 GMT Sender: news@cs.arizona.edu Followup-To: comp.sys.next.sysadmin I'm trying to decide whether to use PPP or slip. Yes, the classic problem. Next at home, sun at work. It looks like it will be very easy to set up PPP on the sun, simply get an IP number, make the program suid and away I go. I've got the pd PPP for the next, version 0.2. Anyone using that on 3.0? I read on the PPP faq that there was a rumor that PPP didn't work on 3.0. Any comments? It seems that the morning star version of PPP is pretty expensive (>$200 even for edu). Anyone have any comments on this? thanks, nick kline@cs.arizona.edu
Newsgroups: comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer From: borrel@dhhalden.no (Borre Ludvigsen) Subject: Conferencing software Message-ID: <1993Mar9.224349.6657@dhhalden.no> Sender: news@dhhalden.no (Network News User) Organization: Ostfold College Date: Tue, 9 Mar 1993 22:43:49 GMT Anyone know of any conferencing software that will run on a NeXT? Two-way sound over the net, with or without video? - Barre
Newsgroups: comp.sys.next.programmer From: bruce@ictv.com (Bruce Nilo) Subject: Bootstrap server questions Message-ID: <1993Mar9.233428.10384@ictv.com> Keywords: bootstrap server Sender: usenet@ictv.com Organization: ICTV, Santa Clara, CA (408) 562-9200 Date: Tue, 9 Mar 1993 23:34:28 GMT I have some questions regarding the bootstrap server that I do not have time to fully explore. (I know about distributed objects, have used them, but unfortunately it is not appropriate for this application.) I have checked all the relevant documentation as well as NeXT Answers. The main problem is that I cannot get the function bootstrap_create_service() to do anything useful. I wanted to create the service on the fly in the first client off a bootstrap subset, fork and exec the server, and have the server do a bootstrap_check_in(). However the latter always gets a BOOTSTRAP_NOT_PRIVILEGED error. Why is this? A second question has to do with restricting access to a server. Is it possible to have the bootstrap server return send rights to only one client? A related question. Can one unregister a service? Is the idea just to do a boostrap_register() with PORT_NULL as an argument? Can a server return its receive rights (uncheckin) to the bootstrap server? Below are some snippets of code demonstrating what I was trying to do. It does not work. My work around to my main problem is somewhat ungainly. (I basically fork and exec the server from the client, put the client to sleep for a couple of seconds, do a bootstrap_register in the server, and complete the rendez-vous in the client with a bootstrap_lookup.) (These code fragment are in methods, free references are ivs.) CLIENT: kern_return_t r ; port_t bootstrap ; r = task_get_bootstrap_port(task_self(), &bootstrap); if( checkForError("task_get_bootstrap_port",r) == -1) exit(1) ; r = bootstrap_subset(bootstrap, task_self(), &subset_port); if( checkForError("bootstrap_subset",r) == -1) exit(1) ; r = task_set_bootstrap_port(task_self(), subset_port); if( checkForError("task_set_bootstrap_port",r) == -1) exit(1) ; // This is a global that the bootstrap routines rely on. bootstrap_port = subset_port ; // Create the service i.e. register it with bootstrap subset // This call should give the client send rights in server_port. r = bootstrap_create_service(bootstrap_port,"Server",&server_port); if( checkForError("bootstrap_create_service",r) == -1) exit(1) ; if((serverid = forkApplication(SERVER_PATH)) < 0) { fprintf(stderr,"Unable to fork and/or exec ImageServer.\n") ; exit(1) ; } SERVER: kern_return_t r ; port_t bootstrap ; r = task_get_bootstrap_port(task_self(), &bootstrap); if( checkForError("task_get_bootstrap_port",r) == -1) exit(1) ; r = bootstrap_check_in(bootstrap,"Server",&server_port) ; This call results in an error with r = BOOTSTRAP_NOT_PRIVILEGED. Thanks for any pointers. Bruce D. Nilo ICTV
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <cfbH34a00WA7Enohdw@andrew.cmu.edu> Date: Tue, 9 Mar 1993 19:05:24 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: Query on IBInspectors? Under NextStep 3.0 it is quite easy to subclass another object (such as a Button), build a IBPalette for it, and still make use of the existing superclass IBInspectors. However, it would be nice if I could make use of both the existing Application Inspector as well as another Application Inspector specifically designed for my subclass. (The alternative is to recreate the Application Inspector for the superclass in the Application Inspector for the subclass, which is not terribly efficient.....) Is there any good way to acomplish this? At the moment, I can do this through a button on my Application Inspector, which sets a flag in the (subclass) object which will cause it to use the superclass's Application Inspector the next time it is selected... (Sending my (subclass) object a getInspectorClassName message will cause it to either return it's Inspector Class Name or it's superclass's Inspector Class Name.) This is kludgy... Are there any better ways? -David.
From: dave@hyla.biosci.missouri.edu (Dave Zaloz) Newsgroups: comp.sys.next.programmer Subject: What's Next equivalent to fopen()? Message-ID: <1993Mar9.152001.3793@mac.cc.macalstr.edu> Date: 9 Mar 93 09:20:00 GMT Article-I.D.: mac.1993Mar9.152001.3793 Aloha. I'm making a program which parses information from text files. I'd like to use the fscanf () function to read in the file data. I've found a Next function, NXOpenFile, which opens files for low level I/O. I don't think I can use fscanf () on a file opened with NXOpenFile. So, does anybody know the Next equivalent function to fopen ()? Any suggestions are welcome. Thanx Dave
From: eburk@russian.sfsu.edu (Eli K. Burk) Newsgroups: comp.sys.next.programmer Subject: RTF questions Message-ID: <1993Mar9.164647.4408@nic.csu.net> Date: 10 Mar 93 00:46:46 GMT Question 1: Is there to view RTF doc's with formating in a terminal window? Question 2: Is there to view just the ascii text? email please -- #1 Anti-PC behavior: Belittling the 1st amendment. #2 PC behavior: Belittling the proponent of #1 eburk@futon.sfsu.edu -or- eburk@sutro.sfsu.edu -or- eburk@sfsuvax1.sfsu.edu
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (Me) Subject: Extracting an icon from a binary Message-ID: <16B8C11EEC.UC512052@mizzou1.missouri.edu> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Wed, 10 Mar 1993 02:24:12 GMT Hello, I remember this topic being discussed recently, but going through old news turned up nothing. Could someone rehash a semi-reliable method of extracting an icon out of a binary (executable) file? Email pls. Regards, David K. Drum uc512052@mizzou1.missouri.edu
From: wick@stone.com Newsgroups: comp.sys.next.programmer Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <1993Mar10.005348.238@stone.com> Date: 10 Mar 93 00:53:48 GMT Article-I.D.: stone.1993Mar10.005348.238 References: <C3Hpns.29E@utstat.toronto.edu> Sender: wick@stone.com Organization: Stone Design Corp In article <C3Hpns.29E@utstat.toronto.edu> philip@utstat.toronto.edu (Rob Tibshirani) writes: > The nice thing about NS on the PC is that the copy protection schemes won't > work well. What's so nice about that? Is it because it is so much easier to break them, and thereby circumvent having to pay for it? I hope I am missreading what you have posted, otherwise that's a pretty disturbing statement. wick > > [ ] > -- > Philip McDunnough > University of Toronto > philip@utstat.toronto.edu > [Where sheep may safely graze...] -- Peter Wickersham | "whatever you do Stone Design | take care of wick@stone.com | your shoes" phish
From: yanik%planon@CAM.ORG (Yanik Crepeau) Newsgroups: comp.sys.next.programmer Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <1993Mar9.165150.2123@CAM.ORG!planon> Date: 9 Mar 93 16:51:50 GMT References: <1993Mar6.111604.25792@heinz.in-berlin.de> Sender: yanik@CAM.ORG!planon In article <1993Mar6.111604.25792@heinz.in-berlin.de> federico@heinz.in-berlin.de (Federico Heinz) writes: > I can't help but wonder... > > There are a number of applications out there that base their > license-enforcing scheme (call it copy-protection if you want) on looking at > the computer's host-id. I understand that the host-id on the NeXT machines is > burned somewhere in ROM, where it cannot be easily changed. > > Now maybe I'm behind of the times in PC hardware, but the last time I looked > there was no such burned-in host-id on PC motherboards. Does anyone know how > (or at least just whether) NS'486 computes a unique, non-varying host-id for > each motherboard it runs on? > > This could break a lot of the current licensing schemes... > > Federico Heinz The unique ID of the host is derived from the unique ID of your Ethernet Interface. As long as you have an Ethernet card installed in your Intel machine such information will be available and if the port form NeXT to Intel is made the good way, you should have access to the unique id feature. Unique ID of Ethernet interface is inherent to the 802.5 standard which regulate Ethernet. Such unique ID is not the IP ID we see every days. It is a more cryptic number available only when you open the "HostManager.app". It seems to be a 48 bits number. -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated Fax: 514-449-6484 - -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik%planon@CAM.ORG NeXTMail appreciated
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: Monty Solomon <monty%roscom@think.com> Subject: Memory fault Message-ID: <1993Mar10.035702.8003@proponent.com> Followup-To: comp.sys.next.programmer Sender: monty@proponent.com (Monty Solomon) Organization: Proponent Date: Wed, 10 Mar 1993 03:57:02 GMT How can I track down the cause of a Memory fault when trying to do a build on a Turbo running 3.0? Is this a hardware problem? Here is some sample output. 103% make debug sh: 154 Memory fault *** Exit 139 Stop. 104% Thanks. -- # Monty Solomon / PO Box 2486 / Framingham, MA 01701-0405 # monty%roscom@think.com
From: rpatil@nmsu.edu (Raj Patil) Newsgroups: comp.sys.next.programmer Subject: DSP 56001 tutorial..Next Message-ID: <RPATIL.93Mar10010952@pylos.nmsu.edu> Date: 10 Mar 93 01:09:52 GMT Organization: Computing Research Lab I found following article on the archives. From: izumi@mindseye.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.archives Subject: [comp.sys.next.programmer] Great tutorial for DSP 56001 programming Date: 13 Jan 92 09:29:21 GMT Archive-name: auto/comp.sys.next.programmer/Great-tutorial-for-DSP-56001-programming I wish I knew this a long time ago. If you are learning programming the DSP chip (56001) on NeXT, you should take a look at example codes and very nice documentation by Jean Laroche. There are about 10 examples, all with nearly step-by-step explanations of statements. Even the DSP assembly language code is given detailed descriptions. The NeXT Tech Docs on Sound, Music, and Signal Processing doesn't deal with this subject much. The examples in /NextDeveloper/Examples/DSP/SoundDSPDriver offer minimal explanations, and do not deal with SSI port. Thank you Jean for producing this great tutorial. I haven't seen this publicized, and it should be. Highly recommended! Get file: JeanLaroche.tar.Z from ccrma.stanford.edu via anon FTP. ----- Izumi Ohzawa [ $BBg_78^=;(B ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@violet.berkeley.edu NeXTmail: izumi@pinoko.berkeley.edu ---------------------------- I tried anon ftp but I am getting connection refused. Does anyone have this tutorial file and willing ti mail it to me. Thanks in advance Raj Patil
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: DSP 56001 tutorial..Next Date: 10 Mar 1993 09:16:40 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1nkblo$rvn@agate.berkeley.edu> References: <RPATIL.93Mar10010952@pylos.nmsu.edu> In article <RPATIL.93Mar10010952@pylos.nmsu.edu> rpatil@nmsu.edu (Raj Patil) writes: > >I found following article on the archives. > >>From: izumi@mindseye.berkeley.edu (Izumi Ohzawa) >>Newsgroups: comp.archives >>Subject: [comp.sys.next.programmer] Great tutorial for DSP 56001 programming >>Date: 13 Jan 92 09:29:21 GMT >>Archive-name: auto/comp.sys.next.programmer/Great-tutorial-for-DSP-56001-programming >> >>I wish I knew this a long time ago. >>If you are learning programming the DSP chip (56001) on >>NeXT, you should take a look at example codes and very >>nice documentation by Jean Laroche. There are about 10 >> > >I tried anon ftp but I am getting connection refused. Does anyone have this >tutorial file and willing ti mail it to me. Sorry about that. The correct FTP site is ccrma-ftp.stanford.edu, and the directory is /pub/DSP. But you know about the fact that there won't be any built-in DSP support in NeXTSTEP for Intel, and many of the examples in that file will not work for NS/Intel. Which means that you have to take care of 486<->DSP interface yourself and use a 3-rd party DSP board. Still, the current NeXT hardware is the best 56001 development system around. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: yann@dagobah.fdn.org (Yann Lechelle) Subject: NXReadPixel() is really slow ! Alternative ? Message-ID: <1993Mar9.225552.422@dagobah.fdn.org> Sender: yann@dagobah.fdn.org Organization: Individual Date: Tue, 9 Mar 1993 22:55:52 GMT I'm trying to read a Tiff image pixel by pixel to extract the bitmap... a simple double loop takes forever though !!! I assume that it is due to NXReadPixel() function (I haven't tested with timer). Is there an alternative ? (If your method involves 'Peek' and 'Poke' type of functions... please abstain ! I'm looking for a relatively easy solution !) Thanks. Yann -- / ================================================= \ \ Yann Lechelle (Paris, FRANCE) / / yann@dagobah.fdn.org Email/NeXTmail \ \ "grep me no patterns and I'll tell you no lines." /
From: andrew@cubetech.com (Andrew Loewenstern) Newsgroups: comp.sys.next.programmer Subject: Re: What's Next equivalent to fopen()? Date: 10 Mar 1993 00:02:09 -0600 Organization: Cube Technologies, Inc Message-ID: <1nk091$fs5@imladris.cubetech.com> References: <1993Mar9.152001.3793@mac.cc.macalstr.edu> In article <1993Mar9.152001.3793@mac.cc.macalstr.edu> dave@hyla.biosci.missouri.edu (Dave Zaloz) writes: >I'm making a program which parses information from text files. I'd like >to use the fscanf () function to read in the file data. I've found a Next >function, NXOpenFile, which opens files for low level I/O. I don't think >I can use fscanf () on a file opened with NXOpenFile. NXOpenFile opens an NXStream * on an already open file descriptor. There really isn't anything stopping you from using fopen() and fscanf() (and the rest of stdio), but I would open an NXStream * on the file with NXMapFile() and use NXScanf(). NXStream is your friend. :-) Unless you want portability between non-NeXTSTEP platforms... then NXStream is not your friend. :-) andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
From: dave@hyla.biosci.missouri.edu (Dave Zaloz) Newsgroups: comp.sys.next.programmer Subject: Newsgrazer: browser view problem Date: 10 Mar 1993 14:23:21 GMT Organization: University of Michigan Engineering, Ann Arbor Distribution: world Message-ID: <1nktkpINNf12@srvr1.engin.umich.edu> Aloha. My browser view in newsgrazer is messed up, the bar separating articles from newsgroups is off the screen to t he left. Thus, I can't see the newsgroups, can't change newsgroups, can't grab the bar to move it. Does anybody know how to get that bar back on the screen? Please post to me at: dave@hyla.biosci.missouri.edu Thanx Dave
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: Custom inspector for a Window subclass: impossible :-( Message-ID: <C3oGBz.7vy@dutiws.twi.tudelft.nl> Summary: impossible Keywords: IB palette inspector Organization: Delft University of Technology References: <C3BMLq.pI@dutiws.twi.tudelft.nl> Date: Wed, 10 Mar 1993 14:31:10 GMT In article <C3BMLq.pI@dutiws.twi.tudelft.nl> dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) writes: >Hi all, > >Problems keep coming ;-) > >Has anybody succesfully produced a working custom IB Attributes >inspector for a Window subclass? I'm trying right now, and >my - getInspectorClassName method doesn't get called at all! If I >make the custom palette object a subclass of Object it works, but not >if it's a subclass of Window or Panel. Any clues? > >Thanks in advance, > >Dimitri As Thomas Burkholder (Thomas_Burkholder@NeXT.COM) pointed out, it's currently not possible. It's sad. Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: Query on IBInspectors? Message-ID: <1993Mar10.152311.2080@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <cfbH34a00WA7Enohdw@andrew.cmu.edu> Date: Wed, 10 Mar 1993 15:23:11 GMT In article <cfbH34a00WA7Enohdw@andrew.cmu.edu> da0g+@andrew.cmu.edu (David Apfelbaum) writes: >> >>Under NextStep 3.0 it is quite easy to subclass another object (such as >>a Button), build a IBPalette for it, and still make use of the existing >>superclass IBInspectors. However, it would be nice if I could make use >>of both the existing Application Inspector as well as another >>Application Inspector specifically designed for my subclass. (The >>alternative is to recreate the Application Inspector for the superclass >>in the Application Inspector for the subclass, which is not terribly >>efficient.....) >> >>Is there any good way to acomplish this? >> Yes, there's an excellent way. I forget who posted this, but he got most most effusive thank you e-mail in years... Anyway, the trick is to ask NXApp for the current event and check for something (I used the fact that alt is being held down). If it is, return the super class inspector, if not, return that class's inspector: - (const char *)getInspectorClassName { NXEvent *event = [NXApp currentEvent]; if (event->flags & NX_ALTERNATEMASK) { return [super getInspectorClassName]; } return "PlannerIBInspector"; } -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
From: tyler@bullnext.mc.duke.edu (Tyler Gingrich) Newsgroups: comp.sys.next.programmer Subject: Re: Query on IBInspectors? Message-ID: <11249@news.duke.edu> Date: 10 Mar 93 13:02:40 GMT References: <cfbH34a00WA7Enohdw@andrew.cmu.edu> Sender: news@news.duke.edu In article <cfbH34a00WA7Enohdw@andrew.cmu.edu> da0g+@andrew.cmu.edu (David Apfelbaum) writes: > > Under NextStep 3.0 it is quite easy to subclass another object (such as > a Button), build a IBPalette for it, and still make use of the existing > superclass IBInspectors. However, it would be nice if I could make use > of both the existing Application Inspector as well as another > Application Inspector specifically designed for my subclass. (The > alternative is to recreate the Application Inspector for the superclass > in the Application Inspector for the subclass, which is not terribly > efficient.....) > > Is there any good way to acomplish this? > [some stuff deleted...] > > Are there any better ways? > I don't know if this is a 'better' way, but I use the following trick (Thanks to Tom Burkholder @ NeXT for teaching me this one): - (const char *)getInspectorClassName { NXEvent *ev = [NXApp currentEvent]; if (ev->flags & NX_ALTERNATEMASK) return [super getInspectorClassName]; else return "myClassInspector"; } This allows you to click on an IB object to use your inspector it & Alt-Click on it to use the super-class inspector. This particular snippet/technique fails if you have more than 2 inspectors, but it works REALLY well for subclasses of Control objects. Tyler Gingrich Software Clearing House
From: tyler@bullnext.mc.duke.edu (Tyler Gingrich) Newsgroups: comp.sys.next.programmer Subject: Re: DBExpression setEntity:andDescription: Message-ID: <11253@news.duke.edu> Date: 10 Mar 93 13:31:56 GMT References: <1993Mar4.120341.179@uunet!cbmvax!xmws!kripalu> Sender: news@news.duke.edu In article <1993Mar4.120341.179@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: [earlier post from Stephan Runge deleted] > > One thing to keep in mind is that the DBModule rebuilds the property > list for each fetch. You need to make sure and change the DBModule's > idea of what property is being fetched. > My best guess on what is really happening here is that the Binder gets a reset message which causes it to loose all of it's marbles -- forcing a rebuild of the property list and misc. other things like the sorting information. If you have code which is adding to the property list or using the addRetrieveOrder:for: message, the best place to put it (currently) is in the FetchGroupWillFetch delegate method. This happens after the binder reset, but before the fetch. Tyler Gingrich Software Clearing House
From: dockd@storm.CS.ORST.EDU (Dion Dock) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: could someone e-mail me a Sybase man page? Message-ID: <1nk8n5INNbvo@flop.ENGR.ORST.EDU> Date: 10 Mar 93 08:26:13 GMT Article-I.D.: flop.1nk8n5INNbvo Distribution: usa Organization: Computer Science Department, Oregon State University I've been trying to do some work with Sybase at school. I was trying to read the on-line man page for for Sybase on my machine but it is garbled. Can someone e-mail me the file /NextLibrary/Documentation/Sybase/SQLUG/sql07.nr much thanks. Dion -- Dion Dock __ __ NeXT mail? working on it / ) / ) / dockd@storm.cs.orst.edu / / o ______ / / _____. /_ /__/_<_(_) / <_ /__/_(_) (__/ <_
Newsgroups: comp.sys.next.programmer From: spagiola@frinext.stanford.edu (Stefano Pagiola) Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <1993Mar10.174358.11789@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Mar10.005348.238@stone.com> Date: Wed, 10 Mar 93 17:43:58 GMT wick@stone.com writes > > The nice thing about NS on the PC is that the copy > > protection schemes won't schemes won't work well. > > What's so nice about that? Is it because it is so much easier > to break them, and thereby circumvent having to pay for it? > I hope I am missreading what you have posted, otherwise > that's a pretty disturbing statement. > I believe Philip was talking about host-id specific schemes rather than copy protection in general. What's nice about host-id specific shcemes not working (assuming its true, which it may not be) is that when you move on to a new system or have to do something like replacing the motherboard you don't have to go chasing around all your software suppliers to get everything working again. All that `productivity' software on my HD made my waste a week of my time getting back access to it when I had to change my motherboard recently. On the other hand, licensing schemes like DataPhile's, which are not host-id specific kept working just fine. -- - Stefano Pagiola Food Research Institute, Stanford University spagiola@frinext.stanford.edu (NeXTMail encouraged) spagiola@FRI-nxt-Pagiola.stanford.edu (NeXTMail encouraged)
Newsgroups: comp.sys.next.programmer From: rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu Subject: Re: problem with gdb and watchpoints Message-ID: <9303101823.AA20055@flexus> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Wed, 10 Mar 1993 18:23:11 GMT All, Apparently Hartmut Benz hasn't fetched and consulted the latest version of sonata.cc.purdue.edu:next/lore/knownbugsin3.0vX.rtf.Z, or he would have known the nature of, or even been able to consult someone about, this problem (a message to some list was caught by a ``watch''ful eye and forwarded to the administrator of the compilation). X currently stands for 7.0, and should change to 7.1 any day now (depends on the administrator of sonata/nova). For all your problems, a source to check: sonata.cc.purdue.edu:next/lore/knownbugsin3.0vX.rtf.Z Raf Schietekat, RfSchtkt@maze.ruca.ac.be (Flanders, Belgium) (my From:'s still state banruc60.bitnet, which is the same site) (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at''
From: shanega@athena.mit.edu (Shane G. Artis) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: How do I get a demo versin of Virtuoso? Date: 10 Mar 1993 16:08:17 GMT Organization: Massachusetts Institute of Technology Sender: shanega@athena.mit.edu Distribution: usa Message-ID: <1nl3phINNkjb@senator-bedfellow.MIT.EDU> Subject says it all...Is there a publically available demo version of Virtuoso? If there is not, does anyone know who I contact to get one (preferably via e-mail)? Shane
Newsgroups: comp.sys.next.programmer From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Subject: subcells? Message-ID: <1993Mar10.201201.18159@cc.umontreal.ca> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Date: Wed, 10 Mar 1993 20:12:01 GMT Bonjour a tous, I have made a palette (soon in a theater near you): it's Slider subclass (yet another) inside of which I add temporarily subviews that completely mask it. It works well, but being my first NeXTSTEP project, at its beginning I wasn't aware of IB matrices and build some functionality in the Control... so my CubicSlider doesn't "matricize" correctly. It's sad because the Graph exemple application that gave me this subclass idea uses a SliderCell matrix 8^( . I tried in vain to move the mechanism into the cell: how can one create some kind of a "subcell" that temporarily substitutes itself to the "supercell" by covering the same area? I overrode drawInside:inView and drawSelf:inView: , deviate them to the "subcell" and obtain the desired image; but that inelegant approach doesn't work with events and the associated method trackMouse:inRect:ofView: like here in MySliderCell.m -() trackMouse:()theEvent inRect:()cellFrame ofView: controlView { return [ aButtonCell trackMouse: ()theEvent inRect:()cellFrame ofView: controlView] } The button is drawn but doesn't click.... Can somebody point me in some direction? Those calcCellSize, getDrawRect and drawSelf:inView are somewhat confusing! Someone told it before 8^) : > >Then there's the whole Cell vs. Control mess, and how you wanted to do >something but you couldn't because you could only do that something to one and >what you had was really the other. > >In article <MS-C.729326715.377401575.mrc@Tomobiki-Cho.CAC.Washington.EDU> >mrc@Tomobiki-Cho.CAC.Washington.EDU (Mark Crispin) thanks for your responds, RL departemnent de physique, etat solide, 2e cycle, Raymond Lutz ND_cube_NeXT_newbe_wannabe lutzray@ERE.UMontreal.CA (ascii only)
Newsgroups: comp.sys.next.programmer From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Subject: subcells ? Message-ID: <1993Mar10.204230.18801@cc.umontreal.ca> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Date: Wed, 10 Mar 1993 20:42:30 GMT Bonjour a tous, I have made a palette (soon in a theater near you): it's Slider subclass (yet another) inside of which I add temporarily subviews that completely mask it. It works well, but being my first NeXTSTEP project, at its beginning I wasn't aware of IB matrices and build some functionality in the Control... so my CubicSlider doesn't "matricize" correctly. It's sad because the Graph exemple application that gave me this subclass idea uses a SliderCell matrix 8^( . I tried in vain to move the mechanism into the cell: how can one create some kind of a "subcell" that temporarily substitutes itself to the "supercell" by covering the same area? I overrode drawInside:inView and drawSelf:inView: , deviate them to the "subcell" and obtain the desired image; but that inelegant approach doesn't work with events and the associated method trackMouse:inRect:ofView: like here in MySliderCell.m -() trackMouse:()theEvent inRect:()cellFrame ofView: controlView { return [ aButtonCell trackMouse: ()theEvent inRect:()cellFrame ofView: controlView] } The button is drawn but doesn't click.... Can somebody point me in some direction? Those calcCellSize, getDrawRect and drawSelf:inView are somewhat confusing! Someone told it before 8^) : > >Then there's the whole Cell vs. Control mess, and how you wanted to do >something but you couldn't because you could only do that something to one and >what you had was really the other. > >In article <MS-C.729326715.377401575.mrc@Tomobiki-Cho.CAC.Washington.EDU> >mrc@Tomobiki-Cho.CAC.Washington.EDU (Mark Crispin) thanks for your responds, RL departemnent de physique, etat solide, 2e cycle, Raymond Lutz ND_cube_NeXT_newbe_wannabe lutzray@ERE.UMontreal.CA (ascii only)
Newsgroups: comp.sys.next.programmer From: henry@trilithon.mpk.ca.us (Henry McGilton) Subject: Re: Mac sound --> NeXT format?? Message-ID: <1993Mar10.215932.5938@trilithon.mpk.ca.us> Sender: henry@trilithon.mpk.ca.us Organization: Trilithon Software References: <1993Feb24.152636.5798@rockyd.rockefeller.edu.rockefeller.edu> Date: Wed, 10 Mar 1993 21:59:32 GMT In article <1993Feb24.152636.5798@rockyd.rockefeller.edu.rockefeller.edu> marc@popcbr.rockefeller.edu ( Marc Johnson) writes: * Does anyone know of software (either sources or binaries) * to convert Mac sound format files to NeXT format? I have * a ton of sounds on my Mac and would like to be able to play * them on the NeXT. Please e-mail, or post if you think * other folks might be interested. MetroTools from MetroSoft has a sound converter module to do just what you need. Contact them at MetroSoft 712 Vanitie Court San Diego Califrnia 92109 (800) 851-8665 (619) 488-9411 ........ Henry
From: dls7627@tamuts.tamu.edu (David Slotnick) Newsgroups: comp.sys.next.programmer Subject: Indexing Kit examples? Date: 11 Mar 1993 06:02:37 GMT Organization: Texas A&M University, College Station Distribution: world Message-ID: <1nmkltINNnev@tamsun.tamu.edu> Has anyone seen any good (and simple) examples using the Indexing Kit? All I want to do is write a symbol table which contains generic objects acessible by a string tag. I've tried using an IXStoreDirectory to handle the object/name associations automatically, but have become extremely confused. If you've seen any good examples on an ftp site, please let me know. Better yet, if you've done any work with the Indexing Kit, maybe you could send me some simple code that you've written... *********************************************************************** David Slotnick Texas A&M University dls7627@tamsun.tamu.edu (NeXTMail accepted and encouraged) ***********************************************************************
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.programmer Subject: Release All DRIVER Sources for NS/Intel Date: 11 Mar 1993 08:41:52 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1nmu0g$gjd@agate.berkeley.edu> This is a plea from a mere academic user/developer. NeXT should release all the DEVICE DRIVER sources they develop in the Developer version of NS/Intel, in /NextDeveloper/Drivers directory. Not just a few token examples, but driver sources for ALL of the supported devices. The more, the better. DriverKit may make it easy to write one from scratch, but that's not enough. Examples that are pretty close would be invaluable and will make a huge difference in how fast drivers are written. This way, users and developers can take the one that is closest to an incompatible device and make it work. This will foster an environment where users and developers take up the job of writing drivers for devices that happen to be inconpatible with the standard release. NeXT needs to do this, because: [1] NeXT does not have resources to write drivers for all the devices that are available for the PC platform. Yet they will certainly get complaints asking why certain disk drives and controllers don't work with the standard release. [See ANDI annoucement that the HP's SCSI controller is not supported.] [2] When a piece of hardware is incompatible with DOS/Windows, it's the hardware manufacturer's fault. When a piece of hardware is incompatible with NeXTSTEP/Intel, it's the NeXT's fault. Releasing driver sources does not erode any of NeXTSTEP's competitive advantages. NeXT and users have everything to gain, if NeXT does this. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Memory fault Message-ID: <1993Mar11.115100.28382@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Mar10.035702.8003@proponent.com> Date: Thu, 11 Mar 1993 11:51:00 GMT In article <1993Mar10.035702.8003@proponent.com> Monty Solomon <monty%roscom@think.com> writes: >Is this a hardware problem? > >Here is some sample output. > >103% make debug >sh: 154 Memory fault You have a process dying with a SIGSEGV; this generally stems from code following a bum pointer into never-never land, or going outside the bounds of an array. If you had a hardware problem, you'd probably be staring at a panic/nmi window right now. It's unhappy software, nothing more. -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: lint? Message-ID: <1993Mar11.120032.28654@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Mar9.020024.27224@oracle.us.oracle.com> Date: Thu, 11 Mar 1993 12:00:32 GMT In article <1993Mar9.020024.27224@oracle.us.oracle.com> nbrosnah@us.oracle.com (Nick Brosnahan) writes: >I would like to get lint (or the source for it) for NS 3.0 but haven't >had any luck with the standard ftp sites. Could someone please mail it >to me or tell me where to find it? You're never going to find it on an FTP site (it's AT&T-derived licensed software). Have you tried the compiler's -Wall option? -=EPS=-
From: Hartmut Benz <benz@nestor.uni-koblenz.de> Newsgroups: comp.sys.next.programmer Subject: Re: problem with gdb and watchpoints Date: 11 Mar 1993 09:05:44 GMT Organization: CC/CS Uni-Koblenz Message-ID: <1nmvd8INN947@uniko.uni-koblenz.de> References: <9303101823.AA20055@flexus> > Apparently Hartmut Benz hasn't fetched and consulted the latest > version of sonata.cc.purdue.edu:next/lore/knownbugsin3.0vX.rtf.Z, or Ooops! You are absolutely correct. I'll go and find me someone how can get it for me. Im sorry for wasting your time an bandwidth. Hartmut \|/ (@ @) --------------------------oOO--(_)--OOo-------------------------------- Hartmut Benz | benz@infko.uni-koblenz.de D-5400 Koblenz, Germany | (NeXTmail ok)
Newsgroups: comp.sys.next.programmer From: ijeff@hank.carleton.ca (Ian Jefferson) Subject: Smalltalk, Great Bargain, Developers Beware! Message-ID: <ijeff.731855412@cunews> Summary: Smalltalk run-times are expensive Keywords: Smalltalk runtime license Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University Date: Thu, 11 Mar 1993 13:10:12 GMT I forwarded the latest smalltalk announcement to someone who is an active smalltalk developer. He sent me back this message: >1993 any NeXT developer can purchase VisualWorks for $2,995.00 US$. >Great Bargain! But developers beware! However, the developer must also >pay $10,000 to ParcPlace for each runtime unit that is shipped. In >other words, ParcPlace considers every copy of a program with a GUI >built with VisualWorks to be a developer! > >Please put this on this net. ParcPlace might change this policy. If we >ship runtime versions of our VisualWorks GUI we will have to pay >ParcPlace $10,000 for each copy installed. I have letters from >ParcPlace that state they have no reduced rates for runtime versions. > > I can't verify the truth of this but thought I ought to post it in any case! Any comment from ParcPlace? -- --------------------------------------------------------------------------- Ian Jefferson ijeff@ccs.carleton.ca No NeXT mail please! ijeff@computeractive.on.ca NeXT mail please!
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: SQL on NeXT server Message-ID: <1993Mar10.162539.4767@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Wed, 10 Mar 93 16:25:39 GMT I am looking for an SQL server that runs on a NeXTstep machine (intel) and would interface with DBKit. I am looking for low cost, and low royalties for distribution of an application. I remember seeing a post about a new relational database that meets these that was in beta. Can anyone point me in their direction or recomend I look at others? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: scott@nic.gac.edu (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Question about non-priviledged service registration. Date: 11 Mar 93 09:25:55 Organization: Is a sign of weakness Distribution: world Message-ID: <SCOTT.93Mar11092555@nic.gac.edu> I would like to provide a dynamic network server for a couple programs I am working on _without_ requiring the programs to be run as standard daemons. [The problem with daemons being that not only do you have to install your program, you also have to install the damn daemon - which installation most of your customers are not going to understand the "Why?" of.] Initially, I thought I could get by with registering a Mach port on a known host and using the normal machinery from there (NXPortFromName). Unfortunately, this doesn't seem to be possible, because you cannot register a port with any but the local host! I also cannot think of a decent means of starting up a daemon as needed on the remote host short of either having it started from rc.local or from inetd.conf. *** Diatribe on *** For some odd reason, though NeXT feels this need to fix "problems" with Unix even when there really isn't a problem, they've not bothered at all to fix _this_ very important problem. There is no reasonable means of providing a Mach-based network service which autostarts daemons - something on the order of the inetd super-server, but using Mach messaging/RPC. This is _very_ unfortunate, because all of the necessary parts are there. All that would be necessary would be a NetInfo directory for the information, and a daemon to accept the initial connections and run the server if needed. Even better, the super-server could provide backup ports for the ports running servers provide, so that if the server quits the super-server automagically continues to receive future messages. As a poor man's alternative, I'd at least like to be able to specify inetd.conf using NetInfo, rather than being forced to programmatically edit system files, a job made even tougher when you aren't on the machine which contains the files you need to edit. With NetInfo, I could modify things remotely, from the sysadmin's console (which is usually not the server's console). *** Diatribe off *** Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer From: wei@wucs1.wustl.edu (Wei Chen) Subject: Custom Inspector for Pull Down List Re: Custom inspector for a Window subclass: impossible :-( Message-ID: <1993Mar11.155244.27154@wuecl.wustl.edu> Keywords: IB palette inspector Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO References: <C3BMLq.pI@dutiws.twi.tudelft.nl> <C3oGBz.7vy@dutiws.twi.tudelft.nl> Date: Thu, 11 Mar 1993 15:52:44 GMT Is it possible to have a custom pallete for pull down list, then ?
Newsgroups: comp.sys.next.programmer From: nwc (Nick Christopher) Subject: Re: Mac sound --> NeXT format?? Message-ID: <C3qGB3.91y@ny.shl.com> Sender: usenet@ny.shl.com (Net News) Organization: SHL Systemhouse Inc. References: <1993Mar10.215932.5938@trilithon.mpk.ca.us> Date: Thu, 11 Mar 1993 16:25:51 GMT > MetroTools from MetroSoft has a sound converter module to do > just what you need. Contact them at > Garbage In Sound Out (GISO) on the purdue archive will do almost any known format to any other. GISO is free :-) Disclaimer: I wrote GISO
Newsgroups: comp.sys.next.programmer From: dave@hyla.biosci.missouri.edu Subject: AT&T Message-ID: <1993Mar11.192400.28309@udel.edu> Sender: usenet@udel.edu (USENET News Service) Organization: University of Delaware Date: Thu, 11 Mar 1993 19:24:00 GMT I have an interview for an engineering position (Computer and Electrical) with AT&T in the near future and am interested in hearing from others who have interviewed with AT&T or are familiar with AT&T's interviewing process. I've heard that the process is quite arduous and would like to get more info. Please send all replies to dave@hyla.biosci.missouri.edu. Thanx Davein the near future and am interested in hearing from others who have interviewed with AT&T or are familiar with AT&T's interviewing process. I've heard that the process is quite arduous and would like to get more info. Please send all replies to dave@hyla.biosci.missouri.edu.
Newsgroups: comp.sys.next.programmer From: jturner@liberty.uc.wlu.edu (James M. Turner III) Subject: [NXImage lockFocus] problems! Message-ID: <1993Mar11.194735.13701@liberty.uc.wlu.edu> Date: Thu, 11 Mar 1993 19:47:35 GMT Organization: Washington & Lee University Turns out it was all a mess up w/ the allocation and initilization. I wound up using: id cacheImage = [[NXImage alloc] initSize: &bounds.size]; Thanks for all the help!
From: hickman@cse.unl.edu (Hubert B. Hickman) Newsgroups: comp.sys.next.programmer Subject: Database questions Date: 11 Mar 1993 21:24:26 GMT Organization: University of Nebraska--Lincoln Distribution: world Message-ID: <1noamaINNg6r@crcnis1.unl.edu> I have an application which uses DBKit. I am currently using the Sybase limited server and have some questions: 1. I have two database servers set up - one named SYBASE and one named LOTS (the database of interest resides in the LOTS server). My application takes up two login slots of the five available: sp_who go spid status loginame hostname blk dbname cmd ------ ---------- ------------ ---------- --- ---------- ---------------- 1 sleeping hubert jdclampett 0 lot AWAITING COMMAND ^^^^^^ #1 2 sleeping sa 0 master NETWORK HANDLER 3 sleeping sa 0 master MIRROR HANDLER 4 sleeping sa 0 master CHECKPOINT SLEEP 5 sleeping hubert jdclampett 0 lot AWAITING COMMAND ^^^^^^ #2 8 runnable sa jdclampett 0 lot SELECT My question is - why? I have tried to set the DBBinders that I use to have sharedContext set to YES, but it still seems I get this behavior. Thus my 5-user user version of Sybase can only support 2 copies of my application. What is going on here? 2. What sort of experiences do people have in recommend Sybase vs. Oracle (or some other database which has an adaptor for DBKit)? Does anyone know if Sybase or Oracle will be ported to NS/Intel? If not, what sort of experiences with other servers have people have good success with. I am not talking about a big database - probably half a dozen users with < 100 Megs of data. Thanks, Hubert Hickman hickman@cse.unl.edu
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: ptrace(2) Message-ID: <1993Mar8.163659.874@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <CEDMAN.93Mar5091513@capitalist.princeton.edu> Date: Mon, 8 Mar 1993 16:36:59 GMT In article <CEDMAN.93Mar5091513@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes: > > There are many reasons not to believe man pages. One of the better > ones in this case is that the gdb as built by _NeXT_ and _shipped_ > with 3.0, calls ptrace when e.g. setting breakpoints and it seems to > work. If you don't believe me, go debug gdb. > Or better look at the include-Files: =================================================== /* * Mach Operating System * Copyright (c) 1987 Carnegie-Mellon University * All rights reserved. The CMU software License Agreement specifies * the terms and conditions for use and redistribution. */ /* * Copyright (c) 1980, 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)ptrace.h 7.1 (Berkeley) 6/4/86 */ #ifndef _PTRACE_ #define _PTRACE_ #define PT_TRACE_ME 0 /* child declares it's being traced */ ........ #endif _PTRACE_ The corresponding MAN-Page: =================================================== PTRACE(2) UNIX Programmer's Manual PTRACE(2) NAME ptrace - process trace The UNIX system call ptrace is not supported on the NeXT computer. =================================================== Probably just laziness by a tired NeXT-Employee ? I found it interesting that PTRACE is supported by MACH - thus no GDB-specific hack ! -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de Mein liebster Grabspruch: Hier ruhen meine Beine, ich wollt, es waeren Deine! ------------------------------------------------------------------
From: pan@athena.mit.edu (Howard Wei-Hao Pan) Newsgroups: comp.sys.next.programmer Subject: Background--Newer Version Date: 11 Mar 1993 22:02:23 GMT Organization: Massachusetts Institute of Technology Message-ID: <1noctfINNgq5@senator-bedfellow.MIT.EDU> Hi, I just uploaded a new version of Background to sonata. Basically, I added the capability of Background to use filters under 3.0, to resize the image so that it's an integer factor of the size of your screen, and several small things. This new version will allow you to display jpeg, iff, gif or whatever file formats you want as long as you have the filter service for it. I think there are a couple of pretty comprehensive filters on the archives right now. (I can't remember their names off the top of my head). However, I'm releasing thisversion earlier than I would like to since several features of the original program were taken out and not replaced. For example, the program does not save the resizing information between sessions. I believe this can be implemented rather easily. I am going to sell my NeXT computer because I can't afford to keep it anymore so hopefully by placing the unfinished source code onthe archives someone will come along and finish it up. The file's name is Background.tar.z (compressed with gzip). =Howard Pan= pan@athena.mit.edu
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: X Window question Organization: MIND LINK! - British Columbia, Canada Date: Thu, 11 Mar 1993 22:17:31 GMT Message-ID: <21920@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) Sorry if this is a FAQ. I'm relatively new to NeXTstep, UNIX, and X-windows, but I have a fairly simple question... If I create an application on NeXTstep, can I just make it "serve" X-Window clients such as OS/2, or Quarterdeck's Desqview/X, or do I have to rewrite the application to be a X-Window server only.. If that's what I have to do, can the NeXT deveopment tools accelerate this aspect of the development, or what.. If it doesn't.. What tools would I need, and how would I go about doing this? What if I wanted the same application to run on NeXTstep, not using X-Window client software, and then port the same app to be a X-Server.. How does all of this fit togeher? I'm a little confused about all of this.. could someone fill me in? Thanks.. Ian. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca BBS: (604) 852-1866, or FidoNet :-) 1:153/513 CANADA eh? -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer From: sherwood@space.ualberta.ca (System Administrator) Subject: Re: Conferencing software Message-ID: <1993Mar11.230933.4697@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <1993Mar9.224349.6657@dhhalden.no> Date: Thu, 11 Mar 1993 23:09:33 GMT For the audio part, get Talk. For a NS type equivalence to write, get Chat For multiperson drawing (roughly Draw) get Greyboard Borre Ludvigsen (borrel@dhhalden.no) wrote: : Anyone know of any conferencing software that will run on a NeXT? Two-way sound over : the net, with or without video? : : - Barre : -- => Sherwood Botsford sherwood@space.ualberta.ca <= => University of Alberta Lab Manager, Space Physics Group <= => tel:403 492-3713 fax: 403 492-4256 <=
Newsgroups: comp.sys.next.programmer From: tgr@trans.csuohio.edu (Wayne Hogue II) Subject: wais-8-b5.1 on NeXT Message-ID: <1993Mar11.235025.10309@news.csuohio.edu> Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University Date: Thu, 11 Mar 1993 23:50:25 GMT [ Article crossposted from comp.infosystems.wais ] [ Author was Wayne Hogue II ] [ Posted on Thu, 11 Mar 1993 23:48:57 GMT ] Has anyone successfully built wais-8-b5.1 on a NeXT. When I build, it bombs out with errors too numerous to list. I would appreciate hearing from anyone that has been successful. -Wayne
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Does DPS discriminate? Message-ID: <1137@rtbrain.rightbrain.com> Date: 10 Mar 93 05:21:25 GMT References: <1993Mar2.174556.29474@adobe.com> Sender: glenn@rightbrain.com [ many good suggestions ] > Or, alternatively, to avoid the gsave/grestore: > > <draw path> > matrix currentmatrix > <X> <Y> scale stroke > setmatrix This will consume lots of memory, especially if you do it a lot, which it seems the original poster was doing. The reason is that the "matrix" PostScript operator allocates a new matrix (array of 6 floats). It's better to allocate this once, and use it as much as you like. If you choose this method, do it like this: % in the prologue somewhere: /scratch_matrix matrix def % in the body of your code: scratch_matrix currentmatrix <X> <Y> scale stroke setmatrix Otherwise I agree with what Scott said :-) -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Will NS'486 break current licensign strategies? Message-ID: <1138@rtbrain.rightbrain.com> Date: 10 Mar 93 05:30:06 GMT References: <1993Mar6.111604.25792@heinz.in-berlin.de> Sender: glenn@rightbrain.com Federico Heinz writes > There are a number of applications out there that base their > license-enforcing scheme (call it copy-protection if you want) on looking at > the computer's host-id. I understand that the host-id on the NeXT machines is > burned somewhere in ROM, where it cannot be easily changed. Just for the record, RightBrain Software uses a licensing mechanism that is not in any way based on hardware. The license is tied to a user's login account and is stored in the Preferences database. This allows a user to use the software from any machine on a network as long as the login id is the same, although simultaneous use on more than one machine is not allowed. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software From: lorinr@altsys.com (Lorin Rivers III) Subject: Re: How do I get a demo versin of Virtuoso? Message-ID: <1993Mar11.162907.23363@altsys.com> Organization: Altsys Corporation, Richardson, TX References: <1nl3phINNkjb@senator-bedfellow.MIT.EDU> Distribution: usa Date: Thu, 11 Mar 1993 16:29:07 GMT In article <1nl3phINNkjb@senator-bedfellow.MIT.EDU> shanega@athena.mit.edu (Shane G. Artis) writes: >Subject says it all...Is there a publically available demo version of >Virtuoso? If there is not, does anyone know who I contact to get one >(preferably via e-mail)? > >Shane > I tried posting the Demo version of Virtuoso to sonata, so look there. I will look to see if it's there. I do not have FTP so need to use a sonata-like service to post the Demo. Any suggestions and hints for a place to put a Demo? (I am something of a Net-Neophyte) I also have some minor updaters and tech notes I'd like to distribute... The Demo is a crippled copy that won't save or export or print or supply a clipboard with data. We're working on a fully functional, date-bombed version as well. If you'd like a demo in the short term and don't mind snail-mail send e-mail to me or virtuoso-info@altsys.com. We try to avoid e-mailing this rascal as it's almost 2 MB. Thanks All -- Lorin Rivers Lorin_Rivers@altsys.com Altsys Technical Support 214.680.2518 269 W. Renner Parkway NeXT Mail Encouraged Richardson, Texas 75080 I said it, not my boss
Newsgroups: comp.sys.next.programmer From: Zacharias J. Beckman <zac@dolphin.com> Subject: Can't Open DSP??? Help! Message-ID: <1993Mar11.214044.2094@dolphin.com> Sender: zac@dolphin.com Organization: Dolphin Software Distribution: usa Date: Thu, 11 Mar 1993 21:40:44 GMT Has anyone an explanation why, fairly recently, our server lost its ability to use 'playscore'? This is what happens when I try: /Users/zac/Apps/hours% playscore ./chimes/five playscore reading ./chimes/five... ...done Can't open DSP. /Users/zac/Apps/hours% ll /dev/dsp crw-rw-rw- 1 root wheel 3, 3 Jul 30 1992 /dev/dsp /Users/zac/Apps/hours% On another machine it plays the score, rather than saying "Can't open DSP." We haven't done anything recently that made a large-scale change to the machine (such as upgrading to 3.0; it already is a 3.0 machine). Any help would be appreciated! -- Zacharias J. Beckman - Dolphin Software Inc. - zac@dolphin.com - use NeXTMAIL! To be "matter of fact" about the world is to blunder into fantasy.... and dull fantasy at that, as the real world is strange and wonderful. --- R. A. Heinlen Those opinions I express herein are my own, I'm fairly sure. --- Z. J. Beckman
Newsgroups: comp.sys.next.programmer From: death@kira.net.netcom.com (David John Burrowes) Subject: Re: Programmatically doing power off Message-ID: <1993Mar11.021959.380@kira.net.netcom.com> Sender: death@kira.net.netcom.com Organization: No organization at this time. References: <64585@mimsy.umd.edu> Date: Thu, 11 Mar 1993 02:19:59 GMT In article <64585@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: > In article <C2yux1.D9n@world.std.com> harryt@world.std.com (Harry D Tirrell) writes: > > Is there any way to power off the NeXT programmaticly? > > how about this ? > system ("/etc/halt -p"); > > you may need the binary to be setuid root to work. Maybe the original poster didn't mean this, but I've had interest, on occasion, in being able to power off a NeXT programatically, but doing it 'politely' (so that NeXTSTEP apps are properly warned so they can gracefully shutdown if they like). Doing a halt -p doesn't do this. Any way to accomplish this? \david john burrowes
From: armitage@milton.u.washington.edu (Armitage) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically doing power off Date: 12 Mar 93 06:49:20 GMT Organization: University of Washington Message-ID: <armitage.731918960@milton> References: <64585@mimsy.umd.edu> <1993Mar11.021959.380@kira.net.netcom.com> How about: system("/etc/shutdown now"); ;) death@kira.net.netcom.com (David John Burrowes) writes: >In article <64585@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: >> In article <C2yux1.D9n@world.std.com> harryt@world.std.com (Harry D >Tirrell) writes: >> > Is there any way to power off the NeXT programmaticly? >> >> how about this ? >> system ("/etc/halt -p"); >> >> you may need the binary to be setuid root to work. >Maybe the original poster didn't mean this, but I've had interest, on >occasion, in being able to power off a NeXT programatically, but doing it >'politely' (so that NeXTSTEP apps are properly warned so they can >gracefully shutdown if they like). Doing a halt -p doesn't do this. >Any way to accomplish this? >\david john burrowes -- [gcc] [g++] /*-------------------------- // --------------------------- Peter (Z-man) Zatloukal // Peter (Z-man) Zatloukal
Newsgroups: comp.sys.next.hardware,comp.sys.next.programmer From: Zacharias J. Beckman <zac@dolphin.com> Subject: Problems Using WorldBlazer & Flow Control UUCP Message-ID: <1993Mar12.085123.6772@dolphin.com> Sender: zac@dolphin.com Organization: Dolphin Software Distribution: usa Date: Fri, 12 Mar 1993 08:51:23 GMT We have a remote site (houston) which is having trouble using a WorldBlazer with flow control. Our server (dolphin) uses Taylor 1.04, recently having upgraded from 1.03. None of the problems experienced by houston have EVER been seen on dolphin, and they are not apparently related to the use of Taylor (which, in general, fixes all the UUCP problems you inherit with a generic NeXT and its ten-year-old UUCP). The problem seems to be that using flow control with the WorldBlazer modem results in problems connecting to remote sites. This happens both via UUCP (using uucico to be exact) and by manually attempting to connect to a remote site with tip. If the /dev/cua is used, all goes well. If /dev/cufa is used, the resultant connection is completely faulty. While the modem seems to believe it has a connection, it in fact does not. Further, the characters received on the line are garbage, much like you would expect from a baud rate mismatch. The system houston is using a slightly older revision of the WorldBlazer ROM (v. 5.0 if I recall correctly). A standard issue, black NeXT (flow control) modem cable is being used. NeXTSTEP 3.0 has been installed. Any help would be greatly appreciated! Also, if you are interested in receiving Taylor UUCP 1.04, send email; I'll either NeXTMAIL it to you, or you can FTP it from any number of sites (such as Purdue or UUNET). -- Zacharias J. Beckman - Dolphin Software Inc. - zac@dolphin.com - use NeXTMAIL! To be "matter of fact" about the world is to blunder into fantasy.... and dull fantasy at that, as the real world is strange and wonderful. --- R. A. Heinlen Those opinions I express herein are my own, I'm fairly sure. --- Z. J. Beckman
Newsgroups: comp.sys.next.programmer From: chr@bio128.uni-bielefeld.de (Christian Bartling) Subject: definefont problem Sender: news@hermes.hrz.uni-bielefeld.de (News Administrator) Message-ID: <C3rz0D.IEp@hermes.hrz.uni-bielefeld.de> Date: Fri, 12 Mar 1993 12:07:25 GMT Organization: Universitaet Bielefeld, Rechenzentrum I want to define a new font under PostScript, but every time I want to use this font the definefont operator causes a dictfull error. What ist the reason ? How can I expand the FontDirectory ?? I am working on a NeXT under NeXTStepp 2.1. --- Christian Bartling chr@bio128.uni-bielefeld.de
From: andrew@cubetech.com (Andrew Loewenstern) Newsgroups: comp.sys.next.programmer Subject: Re: NXReadPixel() is really slow ! Alternative ? Date: 11 Mar 1993 14:59:20 -0600 Organization: Cube Technologies, Inc Message-ID: <1no978$i31@imladris.cubetech.com> References: <1993Mar9.225552.422@dagobah.fdn.org> In article <1993Mar9.225552.422@dagobah.fdn.org> yann@dagobah.fdn.org (Yann Lechelle) writes: >I'm trying to read a Tiff image pixel by pixel to extract the bitmap... a >simple double loop takes forever though !!! I assume that it is due to >NXReadPixel() function (I haven't tested with timer). >Is there an alternative ? (If your method involves 'Peek' and 'Poke' type >of functions... please abstain ! I'm looking for a relatively easy >solution !) NXReadPixel() is very slow and is realy designed for things like the magnifying glass where you only use it once or twice. Assuming the data is in a NXBitmapImageRep (you did say a TIFF image...), you can simply send - data which returns a pointer to the raw bitmap. If the bitmap is planar (not likely), you'll want to use getDataPlanes: andrew -- andrew@cubetech.com | "We cannot dwell in the time that is to come, Andrew Loewenstern | lest we lose our now for a phantom of our Cube Technologies, Inc. | own design." - Erendis FYEO Public Key: 0000000701B61D1ADF0DFC9C16185CEA055200000007EB4A9FEB1922065D471A89E905B5
From: huhr@uni-paderborn.de (Holger Uhr) Newsgroups: comp.sys.next.programmer Subject: Re: Indent and Objective C Date: 12 Mar 1993 14:15:13 GMT Organization: Universitaet Paderborn, Germany Message-ID: <1nq5th$5b2@news.uni-paderborn.de> References: <1nfou6$g20@news.uni-paderborn.de> Holger Uhr (huhr@uni-paderborn.de) wrote: : It says in the manpages that 'indent' is a "Objective C Formatter" : (except of the bug with the //-comments). : But it gets totally confused by the '[receiver message]' construct, : it indents them wrong or splits them. : I also can't get 'indent' to indent "while" or "do" compound statements, : though it indents "if" statements. : I looked through the man-pages over and over and tried all the options : in .indent.pro, but nothing worked. Many thanks to Steven M. Boker and Bill Tschumy, who sent me the list of indent-options they use, it really helped me with my problem. (My main mistake was that the tab-width was set differently in the option for indent and in the Edit preferences.) But there still seems to be a bug: Indent seems to assume that the first line of a function is always a declaration of a variable and gets confused if it is just a statement. This bug appears only in functions, not in ObjC-methods. Any hints? -- | Holger Uhr *** Engernweg 32 *** W-4790 Paderborn *** Germany | |E-Mail: huhr@uni-paderborn.de Phone: 05251-58950| |How to become immortal: Read this signature tomorrow and follow its advice.
From: richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) Newsgroups: comp.sys.next.programmer Subject: Archiving Objects Problem !!! Date: 12 Mar 1993 14:42:52 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1nq7hcINNfsn@nic.BelWue.DE> One more idiot question of the day: I have an object (subclass of Object) with the following instance variables : const char *Nachname; const char *Vorname; const char *Gebdatum; const char *Gebort; const char *Wohnort; const char *Strasse; const char *Telefon; NXImage *image; (should be a Icon) Text *Initialplan; (should be a text from a Text Object) I want to write and read the contents of them to and from an ordinary file. I am able to save the first 7 variables through the write method of my object, but not the last two. I get lost and confused in all the documentations about this thing and have absolutely no idea how to archive and unarchive an object like mine with different types of variables. I would be happy if anybody had a idea how to solve this very little problem. Thanks a lot in advance for answering Richard richi@next1.rz.fh-heilbronn.de NeXTMail welcome !
Newsgroups: comp.sys.next.programmer From: benjamin@nex002 (Hans Benjamins) Subject: A PILE OF CODE FOR THE PHONE KIT Message-ID: <1993Mar12.141115.17007@spider.research.ptt.nl> Sender: usenet@spider.research.ptt.nl (USEnet News) Organization: PTT Research, The Netherlands Date: Fri, 12 Mar 1993 14:11:15 GMT Hello grazers, A few months ago there was a message from a person who said that he had a pile of code for the phone kit. My problem is that I need code for Tone detection with the phone kit on a POTS line (I already have the Hayes ISDN Extender with a working message center application). Please will that person respond to me with an email ??? Hans email: H.Benjamins@research.ptt.nl
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: Database questions Message-ID: <1993Mar12.160258.10210@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <1noamaINNg6r@crcnis1.unl.edu> Date: Fri, 12 Mar 1993 16:02:58 GMT In article <1noamaINNg6r@crcnis1.unl.edu> hickman@cse.unl.edu (Hubert B. Hickman) writes: > 1. I have two database servers set up - one named SYBASE and one named > LOTS (the database of interest resides in the LOTS server). My application > takes up two login slots of the five available: > My question is - why? I have tried to set the DBBinders that I use > to have sharedContext set to YES, but it still seems I get this > behavior. Thus my 5-user user version of Sybase can only support 2 > copies of my application. What is going on here? Isn't that annoying? I don't think it has anything to do with the shared context: I think every DBDatabase object establishes one connection for reading and one for writing, so I guess you could write updates even as you were stepping through the results of a search. But I wish you could tell your DBDatabase that you only needed read capacity and have it only open one connection. I haven't been able to get it to do that though. Anyone had any success with this? Colin
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Fattening up them binaries Message-ID: <1993Mar12.173811.3256@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Fri, 12 Mar 1993 17:38:11 GMT So what are the cc command-line options for creating fat binaries? Any other advice in this department welcome. Thanks, Colin colin@delphi.bsd.uchicago.edu (NeXTMail)
Newsgroups: comp.sys.next.programmer From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Subject: Re: Archiving Objects Problem !!! Message-ID: <1993Mar12.191833.29891@sifon.cc.mcgill.ca> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1nq7hcINNfsn@nic.BelWue.DE> Date: Fri, 12 Mar 1993 19:18:33 GMT In article <1nq7hcINNfsn@nic.BelWue.DE> richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) writes: > >One more idiot question of the day: > >I have an object (subclass of Object) with the following instance >variables : > > const char *Nachname; > const char *Vorname; > const char *Gebdatum; > const char *Gebort; > const char *Wohnort; > const char *Strasse; > const char *Telefon; > NXImage *image; (should be a Icon) > Text *Initialplan; (should be a text from a Text Object) Boys and girls, please do NOT capitalize your instance variables. Caps are for function calls and class names (as well as type names, and enumerated types) in Objective C. (Well, NeXT-style). - darcy
Newsgroups: comp.sys.next.programmer From: gbrown@raven.ctr.columbia.edu (Glenn Brown. NeXTmail welcome) Subject: Re: Archiving Objects Problem !!! Message-ID: <1993Mar12.201022.4916@sol.ctr.columbia.edu> Sender: nobody@ctr.columbia.edu Organization: J. Random Misconfigured Site References: <1993Mar12.191833.29891@sifon.cc.mcgill.ca> Date: Fri, 12 Mar 1993 20:10:22 GMT > Boys and girls, please do NOT capitalize your instance variables. > Caps are for function calls and class names (as well as type names, > and enumerated types) in Objective C. (Well, NeXT-style). Bulls**t. All the function calls in ANSI C are lowercase. Choose your own standard, not mine. =->
Newsgroups: comp.sys.next.programmer From: gdh@world.std.com (George Hampton) Subject: Full Justification of Text Message-ID: <C3sMpB.B2v@world.std.com> Organization: The World Public Access UNIX, Brookline, MA Distribution: na Date: Fri, 12 Mar 1993 20:39:10 GMT I need to coerce the Text object into using custom character placement to implement full justification. I see that hooks are provided for changing the default behavior (setScanFunc: and setDrawFunc:) but I can't find any documentation explaining what is required of these routines. Could anyone point me in the direction of documentation or code that shows me the way? (No need to proselytize, I'm anxiously awaiting the second coming (May 25)). -- =================================================================== george hampton "A foolish consistency is the hobgoblin gdh@world.std.com of little minds" - Ralph Waldo Emmerson
Newsgroups: comp.sys.next.programmer From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Subject: palette uploaded on sonata Message-ID: <1993Mar12.204316.29070@cc.umontreal.ca> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Date: Fri, 12 Mar 1993 20:43:16 GMT briefly: CubicSliderPalette is another slider subclass. You'll want it [1] because it features precise control of the value: 1 part in 100 000 (after 3 or 4 mouseDrags with a 100 pixels wide slider: it uses a cubic polynomial transfer function dynamically redefined on each mouseUp. Yup). [2] and because it allows user editing of the extrema values by hiding the slider behind a form (where you can type in a new min or max value, enlarging the slider range) and a button (which function is to put the current knob value as the new min/max value, thus narrowing the slider range). This mechanism is commanded by double clicking on the slider. [3] and because it's free, sources included (small demo program, palette, inspector etc... NS2.1 nibs). Download it, connect it, test it, and (hopefully) use it ! ( on sonata.cc.purdue.edu : /pub/next/submissions/CubicSlider1.0.tar.Z /pub/next/submissions/CubicSlider1.0.README ) ______________________________________________________________________ OK folks, rejoice! Why? Because I've submitted my Slider subclass palette (NS2.1) to the archive... There have been: - G.H. Anderson's RangeSlider (soon to be realised by AFS ) - Don Yacktman's RotationSlider -1993- - CircularSlider (sorry, I don't remember) - Andrew Stone's DualActingSlider -1990- - NeXT's MySlider and MySliderCell (Ensemble, extended dev.version 2.1), and now... for something completely different: the CubicSlider THIS one is THE definite Slider subclass!... Oops, the definite HORIZONTAL, FLAT Slider subclass... 8^) Plain Slider drawback #1: - high "granulosite" (i.e the finest mouse movement create a large value variation). Plain Slider drawback #2: - minValue and maxValue settings aren't accessible to the User. There are different existing solutions (ALT drag, popping panels, etc...), none completely satisfied me... Here's how I address the low resolution problem: Create a non-linear transfer function, (for which input is the knob position, and output, the slider value) with a very low slope region around the current knob position, thus giving a high precision (large knob moves give small value variations). On mouseUp, redefine the transfer function so its flattest zone still surrounds the new value. The function used is simply the cubic polynomial (without any extrema) y=x^3, adequately scaled and x y-translated for a) the point ( minValue, minValue) to be on the curve, b) the point ( maxValue, maxValue) to be on the curve too, c) the null slope point to be at y = "value previously selected". One inevitable consequence of the dynamical redefinition of the fct is the repositioning of the knob (on mouseUp) at a new position in the slider: new function, same y -> new x... It takes a little time to get used to, but the advantage is considerable: on a 100 pixels wide slider one can reach (in three or four trials) a desired value within a precision of 1 in 100 000... (a trial being a mouseDown, mouseDragging and mouseUp sequence). What about min and maxValues User access? Just dbl-clicking the slider ... "It just works, virtually." TM 8^) A NOTE FOR YOU BEGINNERS OUT THERE: ( I know: I'm one...) Subclassing Appkit objects is IMHO a good starting point to learn NeXStep programming... It gives occasions to meet overall concepts of NeXStep: views, delegation, events & responders, Cells VS Controls ( *#@!... haven't clearly understood that one yet 8^), etc... all this in a well contained small PERSONAL project (uhh? graph paper? Na. I want something of my own 8^). What's more, you can palettize it (IB custom palette) and make all of us benefice from your first NeXTsteps! Palettes are fun. passez une bonne journee, RL departemnent de physique, etat solide, 2e cycle, Raymond Lutz ND_cube_NeXT_newbe_wannabe lutzray@ERE.UMontreal.CA (ascii only)
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: NXDecoding suggestion Organization: Primitive Software Ltd. Date: Fri, 12 Mar 1993 11:52:32 +0000 Message-ID: <1993Mar12.115232.806@prim> Sender: usenet@demon.co.uk Just in case any NeXT people are reading this... do you think you could "officially" add "connection" to the NXDecoding protocol? It's sometimes useful when you're decoding an object to identify which client/server pair it's associated with. I can do this as follows: - decodeUsing:(id <NXDecoding>)stream { ... client = [[stream connection] delegate]; ... } but this uses an unpublished method. Also, why don't you make NXPortPortal public and allow, say, a subclass of it to be used when opening connections? That would make it easier to fix the problem with encodeObjectBycopy: producing multiple copies. Dave Griffiths PS: Is there a standard email address at NeXT to mail these comments to?
From: fischedj@NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: Re: Archiving Objects Problem !!! Date: 12 Mar 1993 21:25:23 GMT Organization: Computer Science Department at Rose-Hulman Message-ID: <1nqv43INNb9v@master.cs.rose-hulman.edu> References: <1nq7hcINNfsn@nic.BelWue.DE> In article <1nq7hcINNfsn@nic.BelWue.DE> richi@next1.rz.fh-heilbronn.de (Richard Fraunberger) writes: > > One more idiot question of the day: > > I have an object (subclass of Object) with the following instance > variables : > > const char *Nachname; > const char *Vorname; > const char *Gebdatum; > const char *Gebort; > const char *Wohnort; > const char *Strasse; > const char *Telefon; > NXImage *image; (should be a Icon) > Text *Initialplan; (should be a text from a Text Object) > > I want to write and read the contents of them to and from an ordinary > file. I am able to save the first 7 variables through the write method of > my object, but not the last two. I get lost and confused in all the > documentations about this thing and have absolutely no idea how to archive > and unarchive an object like mine with different types of variables. > > I would be happy if anybody had a idea how to solve this very little > problem. > Thanks a lot in advance for answering > > Richard > richi@next1.rz.fh-heilbronn.de > NeXTMail welcome ! Here is what I think you should do. Let me now say that I am speaking theoretically; I have not tried this yet. But hey! This is NeXTStep so its gotta work, right? Write the first seven instance variables as you have been. Then use the [*image write:myStream]; method to have the NXImage archive itself to your stream. Then do [*InitialPlan write:myStream]; to archive the text object. Aha! I just learned that is not the correct procedure. The proper approach is to use the NXWriteObject() and NXReadObject() functions for archival of other objects. So, after writing your first seven variables, make the function calls NXWriteObject(myStream, *image); and NXWriteObject(myStream, *InitialPlan); Note that I dereferenced the object pointers; I'm not sure if that is correct. The functions call for id, not id*, so I presume that it is necessary to dereference the pointers. All this information (and more) cound be found in /NextLibrary/Documentation/NextDev/GeneralRef/03_Common/Functions (on NS 3.0). -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "Don't ever put your brain on a runaway train 'cause it won't be coming back!" - Mad At The World.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc Subject: Win Free Trip To NeXTWORLD Expo with Stone Art '93 Message-ID: <7025@rosie.NeXT.COM> Date: 12 Mar 93 21:48:03 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy News For Immediate Release For more information, contact: Carla Kay Barlow 2425 Teodoro NW Albuquerque NM 87107 Phone: 505-345-4800 Fax: 505 345 3424 Email: info@stone.com Stone Design Announces StoneArt '93 Contest ALBUQUERQUE, NM, March 12, 1993 - Stone Design has launched the StoneArt '93 art and database-design contest, promising the winner a round-trip ticket to NeXTWORLD Expo. "Send us your best artwork, and we'll send you to the Expo," said Andrew Stone, CEO of Stone Design. "Whether you're a Create master or a 3D guru, or have designed a killer database, this is your chance to show your stuff." Stone Design is accepting submissions of Create artwork, 3DReality artwork and DataPhile database templates, beginning immediately and ending April 25. The company will review the submissions and announce a winner by April 30, and will award the winner his or her choice of round-trip plane or train tickets from anywhere in the continental United States to San Francisco for NeXTWORLD Expo, May 25-27, 1993. In addition to the winning submission, exceptional work will be displayed in Stone Design's booth at the Expo. "We've got a great setup planned this year, with machines dedicated to demonstrate our products, users' submissions and the work of other third-party companies," Andrew Stone said. "Our booth will also have ample space to double as a gallery of printed submissions." Stone Design's exhibit at the Expo will include separate areas for the company's three top programs: DataPhile, Create and 3DReality and a fourth area called the Developer's Lounge. Users and small developers are encouraged to make "guest appearances" in the Stone booth, both to help demonstrate Stone's user-friendly wares and to demo their own software. "We want to give young third parties a shot at some free booth time; it's a small but meaningful way to foster the developer base of the NeXTSTEP market," explained Andrew Stone. Users interested in submitting work to StoneArt '93 should send to info@stone.com: * for Create submissions, the original .create file * for 3DReality, the original .3DReality file AND a single rendered image (.tiff only, please) * for DataPhile, a data-less .dp file (clone/template) including View Browser notes per view. Submitted .create, .3DReality and image files become the property of Stone Design. Should a database template win the contest, Stone reserves the right to distribute the template with DataPhile; in the case of non-winning but exceptional database designs, Stone will create screenshots for booth-display purposes and will not own the work. Users and developers who would like to participate in product demonstrations during the Expo should write to info@stone.com and note the times during which they will be available for booth appearances; developers should also describe, and if possible send, the software they would like to demonstrate. Users who do not have access to electronic mail should contact Stone Design by regular mail. Stone Design Corporation of Albuquerque, New Mexico, founded in 1984, develops a variety of business productivity applications for NeXTSTEP computers. # # # DataPhile, Create and 3DReality are trademarks of Stone Design Corporation. NeXTSTEP is a trademark of NeXT Computer, Inc. All other brand names mentioned are trademarks or registered trademarks of their respective owners.
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: gelato@netcom.com (Joe Burfoot) Subject: Sending messages to super's super...is it possible? Message-ID: <1993Mar12.223144.28732@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Fri, 12 Mar 1993 22:31:44 GMT Let's say class A defines a method 'foo'. Let's say B is a subclass of A that defines a bunch of extensions to class A, and also overrides 'foo' from A. A and B are in a library and I don't have access to source code. Now say I want to define C as a subclass of B (I want the extensions that B provides), but I want A's version of 'foo'. Is there any way to do this? Something like the following? - foo // in C { return [[super super] foo]; // kinda what I need to do... } Thanks for any suggestions....
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Determining sender of message Message-ID: <1993Mar12.182601.610@afs.com> Sender: Michael_Pizolato@afs.com Date: Fri, 12 Mar 1993 18:26:01 GMT Based on my RTFM investigations, it appears that there is no way to determine the id of the sender of a message unless the id is an argument to the message. Is this so? I have a need to determine the sender even though the sender is not passed to my method. I'm overriding a superclass method that doesn't have a sender argument, and I have no control over the superclass because it's a NeXT class, therefore I am stuck with this situation. Any help will be greatly appreciated. Please e-mail and I will summarize. Thanx, Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Removing a Cell from a matrix with its ID known Date: 12 Mar 1993 16:53:51 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1nqf6v$4gr@steffi.demon.co.uk> Cc: next-prog@cpac.washington.edu I am hacking up something like the "Windows" submenu at runtime in my program. I wish to be able to add and delete menu items to the submenu. How do you remove a menu item from the menus itemList when you only know its cell id? I wish to avoid traversing the matrix looking for the cell I want and I have set my menu items cell tag to [self hash] so that I can retrieve the cell quickly with findCellWithTag. So having got the Cell's reference how do I remove it from the matrix without having to cycle thru the cells? Im currently trying something like the following. menuCell = [menuMatrix selectCellWithTag:[self hash]]; fprintf(stderr,"%x %x",[cellList objectAt:0], menuCell); i = [cellList indexOf:menuCell]; [menu disableFlushWindow]; if (i != NX_NOT_IN_LIST) { [menuMatrix removeRowAt:i andFree:YES]; } [menu sizeToFit]; [[menu reenableFlushWindow] flushWindowIfNeeded]; I thought playing with the matrixes cellList was a no no?
From: vonhaus@SUN.AITC.REST.TASC.COM (Dave vonHausen) Newsgroups: comp.sys.next.programmer Subject: Monitoring other applications Date: 12 Mar 1993 23:55:24 GMT Organization: TASC Message-ID: <1nr7tcINNbh0@sun.rest.tasc.com> I know there is demo software written by NeXT (or someone else) that is capable of accessing objects (menus,windows, etc.) in other running applications (AppInspector for one can do this). I heard of another demo app (maybe be a minidemo) that allows you to look inside another running app to get it's main menu so you can perform clicks on the menu from within your app, but I don't know it's name! I want to do almost exactly this, but I can't find the source anywhere. Does anyone know of any source that shows you how to look at another app's class/object structure from within your running app (like AppInspector)? Or do you know how to hookup to another App's object from within your running app? After spending all this time looking, any help or direction will be greatly appreciated.
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: Fattening up them binaries Message-ID: <1993Mar12.205808.3247@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1993Mar12.173811.3256@midway.uchicago.edu> Date: Fri, 12 Mar 1993 20:58:08 GMT In article <1993Mar12.173811.3256@midway.uchicago.edu> colin@agincourt.bsd.uchicago.edu (& Garrett) writes: > So what are the cc command-line options for creating fat binaries? -arch xxxx Works starting with 3.1 (including beta). M Carling President, Bay Area NeXT Group
Newsgroups: comp.sys.next.programmer From: mmoss@ic.sunysb.edu (Matthew D Moss) Subject: Re: Can't Open DSP??? Help! Message-ID: <C3u2Bx.E@max.physics.sunysb.edu> Sender: news@max.physics.sunysb.edu (News Administration) Organization: State University of New York at Stony Brook References: <1993Mar11.214044.2094@dolphin.com> Distribution: usa Date: Sat, 13 Mar 1993 15:14:21 GMT In article <1993Mar11.214044.2094@dolphin.com> zac@dolphin.com writes: >Has anyone an explanation why, fairly recently, our server lost its ability >to use 'playscore'? This is what happens when I try: > >/Users/zac/Apps/hours% playscore ./chimes/five >playscore reading ./chimes/five... >...done >Can't open DSP. Ditto. Please someone help!!!!! -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Matthew David Moss | Blessed are the pure in heart, for they | | INTERNET: mmoss@ic.sunysb.edu | will see God. | | BITNET : mmoss@sbccmail | Matthew 5:8 |
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: krab@iesd.auc.dk (Kresten Krab Thorup) Subject: Re: Sending messages to super's super...is it possible? In-Reply-To: gelato@netcom.com's message of Fri, 12 Mar 1993 22:31:44 GMT Message-ID: <KRAB.93Mar13164256@xiv.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1993Mar12.223144.28732@netcom.com> Date: 13 Mar 1993 15:42:56 GMT >>>>> On Fri, 12 Mar 1993 22:31:44 GMT, gelato@netcom.com (Joe Burfoot) said: Joe> Now say I want to define C as a subclass of B (I want the extensions Joe> that B provides), but I want A's version of 'foo'. Is there any way Joe> to do this? Something like the following? Joe> - foo // in C Joe> { Joe> return [[super super] foo]; // kinda what I need to do... Joe> } You cannot do this directly, but a little hack can if you dont care... - foo { IMP mth = [[[self superClass] superClass] methodFor: @selector(foo)]; return (*mth)(self, @selector(foo)); } It may be that `superClass' and `methodFor:' has a slightly different name on your implementation. These apply for the GNU Objective C. /Kresten
From: pkron@corona.com (Peter Kron) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: Sending messages to super's super...is it possible? Message-ID: <44.UUL1.3#16216@corona.com> Date: Sat, 13 Mar 93 10:41:34 PDT References: <KRAB.93Mar13164256@xiv.iesd.auc.dk> Organization: Corona Design, Inc., Seattle, WA > From: krab@iesd.auc.dk (Kresten Krab Thorup) > Message-ID: <KRAB.93Mar13164256@xiv.iesd.auc.dk> > > >>>>> On Fri, 12 Mar 1993 22:31:44 GMT, gelato@netcom.com (Joe Burfoot) said: > > Joe> Now say I want to define C as a subclass of B (I want the extensions > Joe> that B provides), but I want A's version of 'foo'. Is there any way > Joe> to do this? Something like the following? > > Joe> - foo // in C > Joe> { > Joe> return [[super super] foo]; // kinda what I need to do... > Joe> } > > You cannot do this directly, but a little hack can if you dont care... > > - foo > { > IMP mth = [[[self superClass] superClass] methodFor: @selector(foo)]; > return (*mth)(self, @selector(foo)); > } > > It may be that `superClass' and `methodFor:' has a slightly different > name on your implementation. These apply for the GNU Objective C. > > /Kresten This should be used with caution however. Depending on the semantics of foo, subclassing B and then bypassing its implementation of foo may result in an inconsistent state. For example, suppose foo coordinates some private variable with another method "bar". If you bypass foo but continue to use B's implementation of bar, you could get into a big mess. Not that Kresten's suggestion won't work or is a Bad Thing...but it is important to understand the rules before you bend them. --------------- Peter Kron P.O. Box 51022 Corona Design, Inc. Seattle, WA 98115-1022 Peter_Kron@corona.com
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: XRef for Objective-C? Date: 13 Mar 1993 13:23:34 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1nsn8m$do@steffi.demon.co.uk> Does anybody know if there is anything like Xref for Objective-C? Basically I would like to know which objects are calling which objects from a code Level. Basically something like GOOD in the Eiffel environment. Anybody have either a graphical or text based implementation that can show the relationships between my objects?
Newsgroups: comp.sys.next.programmer From: ivor@cs.mcgill.ca (Ivo ROTHSCHILD) Subject: Using WorkspaceRequestProtocol Message-ID: <C3v7Hz.F61@cs.mcgill.ca> Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS - Mcgill University, Montreal, Canada Date: Sun, 14 Mar 1993 06:03:34 GMT Has anyone had any luck using the WorkspaceRequestProtocol with the operation WSM_COPY_OPERATION? I have no trouble using the WSM_RECYCLE_OPERATION operation but when I try to use WSM_COPY_OPERATION my app goes into a spin wait for about 1-2 minutes. After that, the workspace apparently times out and part of the file (maybe sometimes the whole file) gets copied. No messages appear except if the file already exists - then a warning panel pops up. I tried breaking in the spinwait - here's the calling stack: #0 0x50088d2 in msg_receive_trap () #1 0x50138ae in msg_receive () #2 0x604a508 in _NXSafeReceive () #3 0x6039212 in -[Speaker selectorRPC:paramTypes:] () #4 0x60f4194 in -[NXWorkspaceRequestProxy performFileOperation:source:destination:files:options:] () Does anyone know what is wrong or has anyone else had similar problems? P.S. Does the options parameter do anything useful? -ivo ivor@cs.mcgill.ca
From: rock@pangea.com (Roger Rosner) Newsgroups: comp.lang.smalltalk,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: ParcPlace's VisualWorks Questions... Message-ID: <1993Mar12.044900.14336@pangea.com> Date: 12 Mar 93 04:49:00 GMT References: <anthonjw.731546134@craft.camp.clarkson.edu> Sender: rock@pangea.com Followup-To: comp.sys.next.programmer, comp.lang.smalltalk Organization: Pangea Corporation In article <anthonjw.731539183@craft.camp.clarkson.edu> anthonjw@craft.camp.clarkson.edu (Jason W. Anthony) writes: > 1. Can you create quality, stand-alone apps, feasible > for selling as "shrink-wrapped" software? The "quality" is questionable because the GUI is an *emulation* of the host's. Some folks don't mind it. I think it's substandard. You can make stand-alone apps by stripping unused objects out of the image. There's a class that will do most of the work for you. > 2. How relatively big and/or slow are apps developed with > it? What are the minimum configurations needed on other > hardware (Mac, Windows, etc.)? Depends on what you're trying to do, of course. If you have a fast machine and don't do anything compute intensive, it performs reasonably. Running Smalltalk on an HP Snake makes the UI run almost as smoothly as my Mac Plus did in 1986 :-) I have no idea about size. I'd guess big. > 3. According to ParcPlace, you can "instantly" port an > app from one VisualWorks platform to another (i.e. > NeXTSTEP to Mac). Is this true? If so, how well does > the GUI translate? (Does it have the look-and-feel of an > app created directly for the particular GUI?) Yup. This is probably the best thing about it. The GUI translates as well (or awfully) as it ever does, because it's just another emulation. > 4. How does development time/ease compare to NeXTSTEP's > Obj-C/Interface Builder combo? If you're hacking data structures and stick to the standard VisualWorks UI parts, it's amazingly fast. However, if you have to do much GUI hacking (like creating new views and controls), things are not so sweet. IMHO, Smalltalk is the most efficient programming environment around for building object systems. And NeXTSTEP is the most efficient programming environment around for building fully-featured commercial apps with elegant GUIs. > 5. How extensive/robust is the included class libraries > (say compared to the AppKit)? Smalltalk is quite different from the AppKit. There are *hundreds* of classes. Nonetheless, Smalltalk lacks a lot of things you get with NeXTSTEP: a real imaging model (and thus easy PostScript printing), remote objects, OS-level multi-threading and multi-tasking, DBKit, IXKit, sound, etc. If your app doesn't need any of the above, however, it doesn't much matter. > 6. Can you interface with Obj-C/C++ code? If so, how > difficult is it? I've heard tell of a product that will let you message between Objective C and Smalltalk (Berkeley Productivity Group, 510-795-6086). And ParcPlace sells a C interface. Don't know about C++. I suggest you consider the specific pros and cons of Smalltalk and NeXTSTEP for your particular app before making a decision. [I've directed followups to comp.sys.next.programmer and comp.lang.smalltalk.] Roger
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Help with [NXImage dissolve] problem..... Message-ID: <7030@rosie.NeXT.COM> Date: 14 Mar 93 20:57:04 GMT References: <1993Mar6.020057.24230@news.acns.nwu.edu> Sender: news@NeXT.COM garyc@eecs.nwu.edu (Gary I. Chang) writes: > Can anyone tell me why each time I try to dissolve an NXImage with alpha > to a view, the transprant area of the image always gets projected as BLACK > on the view? How can I set the background of that image such that the > transparent area would be displayed as "NX_COLORLTGRAY" to match the > background color? This is one of my peeves... Dissolve acts like a copy, not a sover, so it copies the alpha to the destination window, promoting the window to store alpha in the process which costs some performance. This alpha then displays as black on a color system. One possible solution would be to sover the image onto a window filled with gray, then dissolve from that first destination window that doesn't have alpha. -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
Newsgroups: comp.sys.next.programmer From: stark@superc.che.udel.edu (Scott M. Stark) Subject: cthread_abort() and select() Message-ID: <1993Mar14.213214.12355@udel.edu> Keywords: threads, cthread_abort, select Sender: usenet@udel.edu (USENET News Service) Organization: University of Delaware Date: Sun, 14 Mar 1993 21:32:14 GMT I am having some trouble with cthread_abort() and the select() calls in my application. If select() is waiting for a read ready on a UDP socket with a nonzero timeout, I can issue a cthread_abort() call which sucessfully interrupts the select() call. I can resume the thread and select() returns -1 with errno set to EINTR. If I then start a second thread, cthread_abort() has no affect on select(), select() only returns after the call has timed out. Any ideas about why this is? Another problem I have is that if I abort a cthread while the thread is in select(), and then send the thread to another function, any subsequent system calls made by the thread are stopped by a TRACE (5) signal. I assume this has something to do with an unclean exit or oustanding timer from select(). Is there anyway to disable this signal. I can't issue a signal(SIGTRACE, SIGIGN) in the thread because this is interrupted by the TRACE signal. Thanks, Scott stark@superc.che.udel.edu (NeXT mail accepted) -- Scott Stark University of Delaware Department of Chemical Engineering 123 Colburn Lab Newark, DE 19716-3119 (302) 831-6713
Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <Efcz=4K00VI=M5uZty@andrew.cmu.edu> Date: Sun, 14 Mar 1993 22:06:44 -0500 From: David Apfelbaum <da0g+@andrew.cmu.edu> Subject: Re: Sending messages to super's super...is it possible? In-Reply-To: <1993Mar12.223144.28732@netcom.com> Excerpts from netnews.comp.sys.next.programmer: 12-Mar-93 Sending messages to super's.. by Joe Burfoot@netcom.com > Let's say class A defines a method 'foo'. > > Let's say B is a subclass of A that defines a bunch of extensions to > class A, and also overrides 'foo' from A. > > A and B are in a library and I don't have access to source code. > > Now say I want to define C as a subclass of B (I want the extensions > that B provides), but I want A's version of 'foo'. Is there any way > to do this? Something like the following? > > - foo // in C > { > return [[super super] foo]; // kinda what I need to do... > } > > Thanks for any suggestions.... Why don't you create a catagory for the 'B' class that defines a super_foo method, and then call this method from 'C'. ie: #import "B.h" @interface B ( Category ) - super_foo { return [super foo]; } @end Compile/Link it into your program, and call 'super_foo' from 'C'. -David.
Newsgroups: comp.protocols.appletalk,comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: BETA TEST: EtherTalk Phase I "packet filter" for NeXT Message-ID: <1993Mar15.040718.25344@csus.edu> Followup-To: comp.protocols.appletalk Sender: news@csus.edu Organization: San Francisco State University Date: Mon, 15 Mar 1993 04:07:18 GMT I am seeking up to 25 beta testers for a new Loadable Kernel Server that provides access to EtherTalk Phase I and AARP datagrams. This software has been demonstrated with ARNS, which allows distant Macintoshes connected to the Internet (possibly with SLIP/CSLIP/PPP) or via asynchronous serial lines to remotely access AppleTalk networks. (No ARA license fees! No dedicated servers!) To be considered for participation, I expect you to meet all of the following requirements: Have one or more NeXT computers, running NeXT Software Release 2.0, 2.1, 2.2, 2.2a, or 3.0. You will need the complete development environment (the so-called "Extended" Release). You will need root access. This beta software may have bugs, and may crash your machine, so don't plan on running it on mission- critical servers. 3.0 sites using NeXT's AppleTalk package will need to disable that through NetInfo (it is not necessary to completely deinstall the AppleTalk package) and reboot before loading the LKS. You will (temporarily) lose use of NeXT's AppleShare client and AppleTalk printer access. You have an existing EtherTalk Phase I+TCP/IP network. Strictly Phase II sites DO NOT QUALIFY--don't even ask. You have unrestricted FTP access, preferably with at least 56Kbps Internet connectivity. You agree not to redistribute this software to anyone not participating in the beta test. If you are selected, you will be provided with FTP access information to obtain full source code and documentation, and you will be added to a mailing list. (Note that ARNS itself is not part of this software, and is currently available separately.) You will need Larry Wall's "patch" utility to compile ARNS for the NeXT. You will need Macintoshes running 6.0.5 or later (or any version of System 7). Pre-7.1 machines should be updated to at least AppleTalk 57.0.4 using Apple's Network Software Installer 1.2.3 or later, or a comparable third-party installer (e.g. Asante' 5.0.1). Running ARNS over the Internet requires MacTCP 1.1 or later. SFSU is not licensed to redistribute MacTCP. You will need an Ethernet card (or Quadra/Centris builtin Ethernet) or a SLIP/ CSLIP/PPP LAP for MacTCP. Sites using MacIP (LocalTalk to EtherTalk via a FastPath, GatorBox, or similar device) don't qualify. I expect you to know what to do with .hqx, .sit, and .image files. (And .tar.Z files, for that matter.) Users with previous experience in UNIX kernel hacking, writing device drivers, network protocol implementations, etc. are especially encouraged to apply. At the conclusion of the test period, this software will be made generally available under terms substantially similar to the "freed" BSD sources. I hope it can serve as a useful model for other device drivers and network protocol handlers. (I'm targeting late March/early April for official release.) ==> If I haven't scared you off yet, send mail (plain text only-- ==> no NeXTMail) to eps@toaster.SFSU.EDU describing the ==> facilities you would use, and your particular areas of ==> interest. I reserve the right to limit the number of participants, to alter the limit, to determine qualifications for eligibility, to change those qualifications at any time without prior notice, and to terminate or extend the test period. "This product includes software developed by the University of California, Berkeley and its contributors." -=EPS=- -- If you'd like me to speak at NeXTWORLD Expo about my experiences writing kernel code for NeXTs, tell the organizers to invite me!
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Sending messages to super's super...is it possible? Message-ID: <1993Mar14.140509.177@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <44.UUL1.3#16216@corona.com> Date: Sun, 14 Mar 93 14:05:09 GMT In article <44.UUL1.3#16216@corona.com> pkron@corona.com (Peter Kron) writes: > > From: krab@iesd.auc.dk (Kresten Krab Thorup) > > Message-ID: <KRAB.93Mar13164256@xiv.iesd.auc.dk> > > > > >>>>> On Fri, 12 Mar 1993 22:31:44 GMT, gelato@netcom.com (Joe Burfoot) said: > > > > Joe> Now say I want to define C as a subclass of B (I want the extensions > > Joe> that B provides), but I want A's version of 'foo'. Is there any way > > Joe> to do this? Something like the following? > > > > Joe> - foo // in C > > Joe> { > > Joe> return [[super super] foo]; // kinda what I need to do... > > Joe> } > > > > You cannot do this directly, but a little hack can if you dont care... > > > > - foo > > { > > IMP mth = [[[self superClass] superClass] methodFor: @selector(foo)]; > > return (*mth)(self, @selector(foo)); > > } > > > > It may be that `superClass' and `methodFor:' has a slightly different > > name on your implementation. These apply for the GNU Objective C. > > > > /Kresten > > This should be used with caution however. Depending on the semantics of > foo, subclassing B and then bypassing its implementation of foo may > result in an inconsistent state. For example, suppose foo coordinates > some private variable with another method "bar". If you bypass foo but > continue to use B's implementation of bar, you could get into a big mess. > > Not that Kresten's suggestion won't work or is a Bad Thing...but it is > important to understand the rules before you bend them. An alternative implementation that does not rely on the runtime system definitions is to add a category to B that has a bypass method: - foo2 { return [super foo] } This can be invoked by foo in C to get at A's foo. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: marc@ecu.unice.fr (Marc Monticelli) Newsgroups: comp.sys.next.programmer Subject: Subprocess and tip Date: 15 Mar 1993 10:30:04 GMT Organization: University of Nice Sophia-Antipolis Message-ID: <1o1lrcINNfsq@taloa.unice.fr> Does anyone know how to use "tip" command with Subprocess Object? I haven't communication between the Subprocess Object and serial port (modem). Thanks -- | Monticelli Marc marc@ecu.unice.fr | | Institut Non Lineaire de Nice | | Universite de Nice - Sophia Antipolis | | Parc Valrose, 06034 Nice Cedex, France | | Tel (33)93.52.98.36, Fax 93.52.98.48 |
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: NXBrowserCell subclass : PSshow? Date: 15 Mar 1993 08:54:34 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1o1g8a$51s@steffi.demon.co.uk> cc: next-prog@cpac.washington.edu glenn@rightbrain.com People, I have an NXBrowserCell subclass that I will be using to display several fields on the one line. I don't understand why this simple implementation doesn't work. Most of it is ripped out of the CustomCell.m in ScrollDoodScroll What happens, is for some reason the text gets overwritten by the highlight bar instead of the other way round. ie. highlight then draw the text on top. I suspect it has something to do with not setting a font before PSshow but why does it draw the text correctly once and then overwrite it? Does the default font get change or something? - drawInside:(const NXRect *)cellFrame inView:controlView { NXRect rectArray[2]; /* erase the cell */ PSsetgray((cFlags1.state || cFlags1.highlighted) ? NX_WHITE : NX_LTGRAY); NXRectFill(cellFrame); PSsetgray(NX_BLACK); PSmoveto(NX_X(cellFrame) + FIRST_COLUMN_START, NX_Y(cellFrame)); PSshow(aMessage.msgNumber); /* no kanji necessary */ PSsetgray(NX_DKGRAY); /* draw the two dark gray lines above and below the cell */ if (cFlags1.state || cFlags1.highlighted) { /* * draw 1-pixel tall rectangles instead of lines (this is faster than * PSmoveto(); PSlineto()). */ NXSetRect(&(rectArray[0]), NX_X(cellFrame), NX_Y(cellFrame), NX_WIDTH(cellFrame), 1.0); NXSetRect(&(rectArray[1]), NX_X(cellFrame), NX_MAXY(cellFrame) - 1.0, NX_WIDTH(cellFrame), 1.0); /* using NXRectFillList is faster than separate calls to NXRectFill */ NXRectFillList(rectArray, 2); } return self; } - highlight:(const NXRect *)r inView:controlView lit:(BOOL)flag { if (cFlags1.highlighted != flag) { cFlags1.highlighted = flag; [self drawInside:r inView:controlView]; } return self; }
Newsgroups: comp.sys.next.programmer From: bwild@fzi.de Subject: Experiences with VERSANT OODBS? Message-ID: <1993Mar15.112626.11297@fzi.de> Sender: news@fzi.de (FZI-news) Organization: FZI Forschungszentrum Informatik, Karlsruhe, Germany Date: Mon, 15 Mar 1993 11:26:26 GMT Is there anybody who has some experiences in using the VERSANT OODBS on NeXT? Especially interesting are the tools for managing the database and the adaptation of their language interface to Objective-C. Thanks, Bernd Wild =============================================== Bernd Wild Forschungszentrum Informatik FZI Dept. Technical Expert Systems and Robotics Haid-und-Neu-Strasse 10-14 D-7500 Karlsruhe GERMANY Tel: +49-721-9654-310 Fax: +49-721-9654-309 email: bwild@fzi.de ===============================================
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowserCell subclass : PSshow? Date: 15 Mar 1993 10:17:41 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1o1l45$5np@steffi.demon.co.uk> References: <1o1g8a$51s@steffi.demon.co.uk> The raw postscript when I highlight a cell looks like this. This is with the NXRectFillList calls removed. 16 execuserobject setgstate 1 setgray 0 0 464 15 rectfill 17 execuserobject setfont 0 setgray 7 0 moveto (12) show flushgraphics flushgraphics 1 setgray 0 0 464 15 rectfill 17 execuserobject setfont 0 setgray 7 0 moveto (12) show /* Wierd I never see this ??????? */ flushgraphics 192286 13 execuserobject /setEventMask winexec flushgraphics Basically what I see is this when I click on a cell. draws the text highlights the cell never redraws the text over the highlighted cell???????? You could get away with PS operators in 2.1 since thats how their customCell was made and I know of the kanji argument for using text,or a textfieldcell but why does this not work under 3.0? Apoligies if im missing something stupid. But the above postscript indicates that the text should be redrawn on top of the highlighted cell and I never see this.
From: rognant@dollar.unice.fr (Rognant Loic) Newsgroups: comp.sys.next.programmer Subject: Coordinates in renderman Date: 15 Mar 1993 13:42:17 GMT Organization: University of Nice Sophia-Antipolis Message-ID: <1o213pINN2ok@taloa.unice.fr> I am looking for the way to change the left handed coordinates system of the worldspace of a N3D camera to a right handed one. Please tell me how and where can i use the RiOrientation method . I want to change the coordinates from the beginning of my soft to the end of it.
From: froud@SunLab42.sx.ac.uk (Froud D D M) Newsgroups: comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Conferencing software Message-ID: <FROUD.93Mar15140823@SunLab42.sx.ac.uk> Date: 15 Mar 93 14:08:23 GMT References: <1993Mar9.224349.6657@dhhalden.no> <1993Mar11.230933.4697@kakwa.ucs.ualberta.ca> Sender: news@sersun1.essex.ac.uk Organization: n/a In article <1993Mar11.230933.4697@kakwa.ucs.ualberta.ca> sherwood@space.ualberta.ca (System Administrator) writes: > For the audio part, get Talk. What about an audio link Sun SPARC and a NeXT? The SPARC half is no problem...the NetFone programs seem ok, but what is there to link to on a NeXT? I've heard of 'cb' and 'vat' but I don't know where to get them or how they work so I can't patch NetFone to talk to them... Any help? Dominic Froud -- *+- Dominic - the ultimate in "cute 'n' cuddly" wabbit appeal -+* Yes folks, this brand new model of wabbit comes with 5 year warranty (for arrest) and a no-fuss guarantee against accidental spillage, breakage or death. Yours for only $4.95...get it now!
Newsgroups: comp.sys.next.programmer From: trunz@inf.ethz.ch (Paul Martin Trunz) Subject: Re: Archiving Objects Problem !!! Message-ID: <1993Mar15.141305.2673@neptune.inf.ethz.ch> Sender: news@neptune.inf.ethz.ch (Mr News) Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH References: <1nq7hcINNfsn@nic.BelWue.DE> <1nqv43INNb9v@master.cs.rose-hulman.edu> Date: Mon, 15 Mar 1993 14:13:05 GMT In article <1nqv43INNb9v@master.cs.rose-hulman.edu> fischedj@NeXTwork.Rose-Hulman.Edu (David J. Fischer) writes: >NXWriteObject(myStream, *image); >and >NXWriteObject(myStream, *InitialPlan); > Note that I dereferenced the object pointers; I'm not sure if that is >correct. The functions call for id, not id*, so I presume that it is necessary >to dereference the pointers. I did *not* dereference the pointers and it worked. As far as I know, an id is an Object*, not an Object (so to speak). Remember that you have to alloc-init an object to be useful, so it is a pointer. Apart form this the compiler complains when you declare a "raw" NXImage, Text or such. The rest of your explanations are correct. Greetings Patru -- ____ _ ______ ____ _ _ trunz@inf.ethz.ch \ \ | \ | | |__/ /_ | | |_ / | | or | \ | \_ \_ |
Newsgroups: comp.sys.next.programmer From: ztech@well.sf.ca.us (Zippytech) Subject: Re: Communicating with a telnet session Message-ID: <C3xq83.JEp@well.sf.ca.us> Sender: news@well.sf.ca.us Organization: Whole Earth 'Lectronic Link References: <27020@galaxy.ucr.edu> Distribution: usa Date: Mon, 15 Mar 1993 14:43:15 GMT In article <27020@galaxy.ucr.edu> roy@watserv.ucr.edu (Roy Brown) writes: >Anyone have any quick 'n easy programs that communicate with a >telnet session. My company sells a Telnet object, among other things. It should be ready for beta test in a few weeks and shipping by May 25 (the magic day :-). -- Zippytech <ztech@well.sf.ca.us> Zippytech sells network protocol objects. "The most important lesson of networking is that we can accomplish more in life by occasionally dropping things on the floor."
Newsgroups: comp.sys.next.programmer Subject: could someone e-mail me a absoft fortran man page Message-ID: <1993Mar15.155322.77048@embl-heidelberg.de> From: tuparev@monk.NMR.EMBL-Heidelberg.DE (Georg Tuparev) Date: 15 Mar 93 15:53:21 +0100 I've been trying to do some work with fortran at lab. I was trying to read the on-line man page for f77 on my machine but it is garbled. Can someone e-mail me the compiler options georg ----------- Georg Tuparev tuparev@embl-heidelberg.de EMBL / Protein Design georg@nextpoint.de (NeXT mail) Meyerhofstr. 1 D-6900 Heidelberg Germany
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Manuel Alberto Ricart) Subject: Managing TIFF files Message-ID: <1993Mar15.155333.706@parsec.mixcom.com> Sender: alberto@parsec.mixcom.com Organization: SmartSoft, Inc. Date: Mon, 15 Mar 1993 15:53:33 GMT I have noticed that many programs including some provided by NeXT (Mail.app) have a large tiff file that contains all the icons used for some part of the interface. I was wondering what this management technique is. I am currently working on a small project that has many tiffs, and my project directory is getting WAY too cluttered with tiffs, and the combining of all the tiffs into one file seems like a viable solution (that is if they can all be extracted by name or something like that). Any info greatly appreciated. -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Manuel Alberto Ricart) Subject: Copy protection schemes Message-ID: <1993Mar15.155637.814@parsec.mixcom.com> Sender: alberto@parsec.mixcom.com Organization: SmartSoft, Inc. Date: Mon, 15 Mar 1993 15:56:37 GMT I was wondering what sort of mechanism is used to detect software running on other machines in a network. We want to protect our little app, but don't want to brand it to a machine hostid. We figure that a runtime license enforcing scheme would be best for everyone. Any comments on how to do this would be greatly appreciated. -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: NXBrowserCell problem: solved sort of. Date: 15 Mar 1993 14:28:19 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1o23q3$96g@steffi.demon.co.uk> cc: next-prog@cpac.washington.edu Well I have abandoned the Ps operators and am now using the windows field editor as a shared text object to display my fields in the cell and it works well. Cheers.
Newsgroups: comp.sys.next.programmer From: orion@proxima.cc.colorado.edu (Orion Edward Poplawski) Subject: Bizaare errors inside AppKit objects Message-ID: <C3y81A.1wB@csn.org> Sender: news@csn.org (news) Organization: Colorado SuperNet, Inc. Date: Mon, 15 Mar 1993 21:07:57 GMT Hi all, I have a fairly complex program that I have been working on that performs real time equalization of sound files using the DSP. For the most part, it has worked fine. Recently though, I am getting some strange and somewhat unpredictable errors. They have all the trappings of memory problems, but I'm not sure where from. However, they don't seem related to the DSP at all, but rather to the appkit. The outline of the program is like this: I have a control window with sliders for all of the bands of the EQ, some forms that print out some values, and a play button. After picking a soundfile, I play it. When the stream to the DSP is completed, I get some data back from it and tell my controller object that it is done playing. The controller object then gets the information from another object and displays it in the forms. The error occurs when I'm updating the forms. Sample stack frame from gdb: #0 0x6005a6a in styleEqual () #1 0x50091a2 in NXHashGet () #2 0x6006822 in -[Text(RTF) getUniqueStyle:] () #3 0x6006bce in -[Text(Layout) addDefaultStyle] () #4 0x600b194 in -[Text(Layout) setAlignment:] () #5 0x6010c10 in _NXDrawTextCell () #6 0x6012bbe in -[Cell drawInside:inView:] () #7 0x60515b8 in -[FormCell drawSelf:inView:] () #8 0x604c8a0 in -[Matrix _drawCellAt::insideOnly:] () #9 0x6051f5e in -[Matrix drawCellInside:] () #10 0x60496fc in -[Control updateCellInside:] () #11 0x600f344 in -[ActionCell setStringValueNoCopy:shouldFree:] () #12 0x60a489c in -[Cell setDoubleValue:] () #13 0x60df4ec in -[Form setDoubleValue:at:] () #14 0x4790 in -[EqController equalizationCompleted:] (self=0xd5088, _cmd=0x8a9d, sender=0xd55d0) at EqController.m:66 #15 0x44f4 in -[DSPEqualizer streamCompleted::] (self=0xd55d0, _cmd=0x8955, sender=0xd5180, stream=2) at DSPEqualizer.m:130 #16 0x3332 in DSPStreamCompleted (arg=0xd5180, tag=2) at DSPController.m:66 #17 0x502145c in sndreply_completed () #18 0x502e09a in snddriver_reply_server () #19 0x502e046 in snddriver_reply_handler () #20 0x34a6 in HandleDSPMessage (msg=0x3ffda54, userData=0x600c) at DSPController.m:141 #20-#16 is the DSP stream handling #15-#14 are my objects getting the data #13-#0 is inside the appkit. The error I get is: Program generated(1): Memory access exception on address 0x80000000 (invalid address). 0x6005a6a in styleEqual () Any ideas? Please email, will post summary. - Orion -- Orion Poplawski Physics Dept. Paraprofessional The Colorado College orion@proxima.cc.colorado.edu (NeXT mail OK) (719)389-6750
From: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz) Newsgroups: comp.sys.next.programmer Subject: to DB gurus Date: 15 Mar 1993 22:06:14 GMT Organization: TUBerlin/ZRZ Distribution: world Message-ID: <1o2ukmINNke9@mailgzrz.TU-Berlin.DE> Hi, I've posted 'lazy DBtable?' some time ago, but did not receive many answers. Thanks to David, however. So here, I will split this into several questions. I should note, that all of my knowledge is from 'A Guide to THE SQL STANDARD' by C. J. Date with Hugh Darwen. This seems to be a very valuable book, which describes SQL2. I do not have any SQL programming experience. GOAL: I want a DBtable to fetch the rows lazyly from the DB server, i. e. only when those who are really visible. 1. The number of rows should be fetched first. This should be easy. 2. The following can be done with cursor operations, i. e. DECLARE my_cursor SCROLL CURSOR FOR SELECT ... FROM ... ORDER BY ...; OPEN my_cursor; and for row n: FETCH ABSOLUTE n FROM my_cursor INTO .... 3. Which SQL products implement this (or something similar)? 4. Do the adapters know of cursor operations? 5. Does DBtable know of these commands? 6. Would performance be ok? Carsten
From: goldly@u.washington.edu (Lloyd P. Goldwasser) Newsgroups: comp.sys.next.programmer Subject: strange behavior with pswrap functions, defineuserobject Message-ID: <1o33r0INNqkc@shelley.u.washington.edu> Date: 15 Mar 93 23:34:56 GMT Article-I.D.: shelley.1o33r0INNqkc Organization: University of Washington I am trying to define some Postscript user objects that I can subsequently refer to and manipulate, but something about them is beyond the current state of my ignorance. The scraps I have put together from the Red Book give some very funky behavior. The idea is to make an object that is a blob or set of blobs whose boundaries are defined by a bunch of x,y coordinates. I first give an id number and then the coordinates of the first point. Then I sequentially add segments to the path, and, finally, close the (sub)path. After optionally adding more such blobs to the object, I define and number the whole thing as a user object. If the foregoing works, I can then execute the object and draw or otherwise manipulate it -- but something is wrong in how I do the foregoing. In my *.psw file I have the following functions: defineps startpath(int id) id newpath endps defineps startblob(float x, y) x y moveto endps defineps addcoord(float x, y) x y lineto endps defineps endblob() closepath endps defineps endpath() false upath cvlit defineuserobject endps and in my program I have the following: #import <appkit/View.h> #import <dpsclient/psops.h> startpath(unique_id); startblob(pt[1].x, pt[1].y); for(p=2; p<=pts; p++) { addcoord(pt[p].x, pt[p].y); } endblob(); /* Some other loops for additional subpaths will go here, * but the problem exists even in their absence. * They will look like: * for ( ) { * startblob(some x, some y); * for( ) { * addcoord( ); * } * endblob(); * } * which is why I have split up the postscript functions into as many * pieces as I have. */ endpath(); Commenting out the upath line doesn't affect the behavior, and throughout all of the above the stack looks pretty reasonable. Nonetheless, the run-time errors are pretty bizarre. They include DPS client library error: PostScript program error, DPSContext c8214 %%[ Error: typecheck; OffendingCommand: setfont ]%% which is strange because, although I have a function that uses setfont in my *.psw file, I *never* call it (yet) in my program. And once things have gone wrong, simply clicking on a window gives this or similar error messages (including objections to currentwindowdict, setgstate, and composite, none of which I myself use). Even weirder, if I call up the OpenPanel it appears but doesn't go away upon double clicking a file, it can't be cancelled, and it doesn't find my home directory. Things "go wrong" after I draw a batch of maybe a dozen moderately complicated blobs, sometimes the first time around and sometimes only on subsequent times. Defining a half dozen simple blobs doesn't seem to set things wrong: I can even draw them them, and they look OK, which verifies that I'm not simply doing something *really* dumb (maybe). It's conceivable that my paths are exceeding some implementation limits (I might have two dozen, each with a few hundred points), but I would expect to be getting limiterrors rather than typecheck errors if that were the problem. Also, commenting out the addcoord() line above doesn't fix the problem. Can I even *do* what I'm trying to do? Any insights that you have would be greatly appreciated! Thanks in advance, Lloyd Goldwasser goldly@u.washington.edu (non-NeXTmail) goldwalp@zoology.washington.edu (NeXTmail)
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: real-time sound mixing example put on sonata Message-ID: <1993Mar15.233617.18900@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory Date: Mon, 15 Mar 1993 23:36:17 GMT Hi folks. Well, ever since 3.0 came out, I heard from various people about how the new sound driver supported realtime mixing of sounds. Now, I'm a graphics guy, not a sound guy, but I try to use sound in my work, so I was intrigued. I'd already written a little networked sound server that could play samples, but realtime mixing... That would mean I'd be able to have a soundtrack playing while my characters were talking! Cool! Anyway, nobody could point me at a simple example (or any examples, for that matter...), so finally I broke down and figured it out. As with many things on the NeXT, it was trivial once I took the time to take a look. Anyway, the code is on sonata.cc.purdue.edu, currently residing in pub/next/submissions, and the filename is simpleSoundMixingExample.compressed (which is really 3.0-ese for simpleSoundMixingExample.tar.Z). It's only about 11K compressed. Use any two .snd files on your system. Oh, if you want to learn more about this stuff, check out Ch. 16 of the Developer doc. I tend to use the paper ones these days, which are more up to date than the online ones, so I'm not sure if the on-line ones have all the pertinent info, but the paper ones are relatively explicit about how to do this stuff. You just have to look. anyway, enjoy. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu --> NeXT Mail accepted at wave@nordine.media.mit.edu
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: strange behavior with pswrap functions, defineuserobject Message-ID: <1993Mar16.014528.18522@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1o33r0INNqkc@shelley.u.washington.edu> Date: Tue, 16 Mar 1993 01:45:28 GMT Lloyd P. Goldwasser writes > defineps endpath() > false upath > cvlit defineuserobject > endps Naughty, naughty! From General Refernce, Chapter 5 (Display PostScript), Client Lib Functions: > DESCRIPTION DPSDefineUserObject() associates index with the > PostScript object that's on the top of the operand stack, thereby > creating a user object (as defined by the PostScript language). > If index is 0, the object is assigned the next available index > number. The function returns the new index, which can then be > passed to a pswrap-generated function that takes a user object. > Warning: To avoid coming into conflict with user objects defined > by the Client Library or Application Kit, use DPSDefineUserObject() > rather than the PostScript operator defineuserobject or the > single-operator functions DPSdefineuserobject() and > PSdefineuserobject(). Your use of defineuserobject in a wrap is confusing the AppKit, which is expecting some of it's own things to be at indices you are probably smashing. Thus, the obscure behaviour. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: NXBrowserCell subclass : PSshow? Message-ID: <1993Mar15.210954.483@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1o1g8a$51s@steffi.demon.co.uk> Date: Mon, 15 Mar 93 21:09:54 GMT In article <1o1g8a$51s@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: > People, > > I have an NXBrowserCell subclass that I will be using to display > several fields on the one line. > > I don't understand why this simple implementation doesn't work. Most > of it is ripped out of the CustomCell.m in ScrollDoodScroll > > What happens, is for some reason the text gets overwritten by the > highlight bar instead of the other way round. ie. highlight then > draw the text on top. > > I suspect it has something to do with not setting a font before PSshow > but why does it draw the text correctly once and then overwrite it? > Does the default font get change or something? > > - drawInside:(const NXRect *)cellFrame inView:controlView > { > NXRect rectArray[2]; > > /* erase the cell */ > PSsetgray((cFlags1.state || cFlags1.highlighted) ? NX_WHITE : > NX_LTGRAY); > NXRectFill(cellFrame); > > PSsetgray(NX_BLACK); > PSmoveto(NX_X(cellFrame) + FIRST_COLUMN_START, > NX_Y(cellFrame)); > PSshow(aMessage.msgNumber); /* no kanji necessary */ > > PSsetgray(NX_DKGRAY); > > /* draw the two dark gray lines above and below the cell */ > if (cFlags1.state || cFlags1.highlighted) { > /* > * draw 1-pixel tall rectangles instead of lines (this is faster > than > * PSmoveto(); PSlineto()). > */ > NXSetRect(&(rectArray[0]), NX_X(cellFrame), NX_Y(cellFrame), > NX_WIDTH(cellFrame), 1.0); > NXSetRect(&(rectArray[1]), NX_X(cellFrame), NX_MAXY(cellFrame) > - 1.0, > NX_WIDTH(cellFrame), 1.0); > > /* using NXRectFillList is faster than separate calls to > NXRectFill */ > NXRectFillList(rectArray, 2); > } > > return self; > } > > - highlight:(const NXRect *)r inView:controlView lit:(BOOL)flag > { > if (cFlags1.highlighted != flag) { > cFlags1.highlighted = flag; > [self drawInside:r inView:controlView]; > } > return self; > } Your problem should go away if you set the font from the cell's font before the show method. For text cells this is in the variable "support". The other posibility is that you are not using a font with the proper flipped/regular coordinates. I start browser cells with the following: /* ** Set the font according to our drawing status */ if (NXDrawingStatus != NX_DRAWING) { [support set]; } else { [[support screenFont] set]; }; /* ** Erase the cell */ if (cFlags1.highlighted || cFlags1.state) { NXSetColor( NX_COLORWHITE ); NXRectFill(cellFrame); } else { NXSetColor( NX_COLORLTGRAY ); NXRectFill(cellFrame); }; -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer,comp.lang.postscript From: exit.Princeton.EDU!edlau (Edward Siu Kueng Lau) Subject: PostScript transform operator Message-ID: <1993Mar15.233139.21207@Princeton.EDU> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University Date: Mon, 15 Mar 1993 23:31:39 GMT According to the Red Book, transform pops 2 user space coordinates off the stack (x, y) and pushes back the corresponding device space coordinates (x', y'). For some odd reason, transform is giving me the same coordinates even though my user space != device space. Strangely enough, transform works fine in interactive mode (using pft on the NeXT). Any ideas as to what I'm missing? I appreciate any info. E-mail, please. --Ed Lau edlau@phoenix.princeton.edu
From: friedric@spock.uni-passau.de (Carsten Friedrich) Newsgroups: comp.sys.next.programmer Subject: how to write a printer-driver? Date: 16 Mar 1993 15:42:24 GMT Organization: Universitaet Passau Sender: friedric@spock (Carsten Friedrich) Distribution: world Message-ID: <1o4sh0INNb0f@tom.rz.uni-passau.de> Hi, I have the following problem: I want to connect a printer to my next that isn't supported by next. so i decided to write a driver my own. my questions are: - what files do i have to write ? (driver, ppd, etc ...) - where do i have to put them? - how do i register my driver to the system? thanx for your help, carsten --
Carsten Friedrich Unschuldiger, friedric@kirk.fmi.uni-passau.de (non-NeXT) suche die Vollkommenheit der Seele friedric@jerry.rz.uni-passau.de (NeXT) nicht die Seele der Vollkommenheit ############################################################################### #################################################################### Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: Determining sender of message (SUMMARY - LONG) Message-ID: <1993Mar16.163354.376@afs.com> Sender: Michael_Pizolato@afs.com References: <1993Mar12.182601.610@afs.com> Date: Tue, 16 Mar 1993 16:33:54 GMT In article <1993Mar12.182601.610@afs.com> Michael_Pizolato@afs.com writes: > Based on my RTFM investigations, it appears that there is no way to > determine the id of the sender of a message unless the id is an argument > to the message. Is this so? I have a need to determine the sender even > though the sender is not passed to my method. I'm overriding a > superclass method that doesn't have a sender argument, and I have no > control over the superclass because it's a NeXT class, therefore I am > stuck with this situation. > > Any help will be greatly appreciated. Please e-mail and I will > summarize. Most of the suggested solutions involved "raping" (violent image, but accurate :-) the stack. While this is perhaps possible, and I'm confident enough in my abilities to handle it, it's not a great solution. Some suggested using a subclass or category and poseAs: to get around my lack of control over the superclass, but I'd have to poseAs: every class, or maybe Object itself, or rewrite objc_msgSend() to get what I really need. Many said it depends on the particular situation, and more details were needed. What I'm doing is this - I have an object that wants to sneak in as the delegate of a window, even if the window already has a delegate. It has to intervene at just the right moments to maintain information about the window. However, I want the existence of this object to be transparent to the window, i.e. if the window asks its delegate things, or even asks about its delegate, I want it to appear as if the delegate is still the original object. What I had hoped to do was to have one of my objects act as a delegate to many windows, passing messages through to the original delegate as necessary. It's more complicated than that, however, because a window's delegate is placed by the window in the responder chain (see note 1, below). If my object becomes the delegate, and the app is depending on the original delegate to implements some action messages in the responder chain, I'm SOL. This is also true if the window uses the delegate for purposes other than delegation. A possible solution was to override respondsTo: in my class, returning YES if either my class or the original delegate responds to a method. Window overrides tryToPerform:with: from Responder to place its delegate in the responder chain, and as far as I could determine uses respondsTo: to decide if the delegate should take the action message. But, if my object is a delegate to many windows, and each window has a different delegate, my respondsTo: would have to determine which window was the sender in order to pass on respondsTo: to the correct original delegate. Hence my original question. The solution was entirely different. I created a new class, Surrogate, subclass of Object, whose entire purpose is to stand in for another object and pass all messages through to the original. From the perspective of a window and its delegate, the Surrogate object does not even exist - the class and superclass methods return values from the original object, even the self method returns the id of the original object. Now, I can have one Surrogate for each window, standing in transparently as the delegate. A controller object now manages the many surrogates, rather than the many windows. Except for a few cases that the user of a Surrogate must be aware of (e.g. init, free/freeSurrogate), all messages to a Surrogate get passed through to the original object. In the case of my window delegation, a subclass of Surrogate can implement the methods I need, even if the original delegate does not, and the right things happen no matter what the message sent to the delegate. Note that messages sent directly to the original object still work. Thanks to all who responded. If any of what I said seems wrong to you, or if you have other suggestions, please let me know. Note 1: In Garfinkel/Mahoney, p. 234, appears to claim that in the responder chain a Window object gets a chance to respond to an action message before the window's delegate. I wrote a small test application (NS3.0) where both a window and its delegate implemented an action method, and a button attached to the FirstResponder invoked the method. The delegate was the one that responded, not the window. Unless I misunderstood, the book is incorrect. Michael P.S. For those who asked, ~18 kyu is my approximate rank in the game of Go, and Q16 is a standard opening move. If you're not familiar with Go, learn it - it's the greatest game there is. --- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: DBKit login string Message-ID: <1993Mar16.162748.24934@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Tue, 16 Mar 1993 16:27:48 GMT Where does the password go in the login string when connecting to a database using DBKIT? The form of the login string as I know it is user@server/database. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: seungwoo@peca.cs.umn.edu (Seung-Woo Kim) Subject: Re: palette uploaded on sonata Message-ID: <seungwoo.732306287@peca> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <1993Mar12.204316.29070@cc.umontreal.ca> Date: Tue, 16 Mar 1993 18:24:47 GMT In <1993Mar12.204316.29070@cc.umontreal.ca> lutzray@ERE.UMontreal.CA (Lutz Raymond) writes: >( on sonata.cc.purdue.edu : > /pub/next/submissions/CubicSlider1.0.tar.Z > /pub/next/submissions/CubicSlider1.0.README ) >I've submitted my Slider subclass palette (NS2.1) to the >archive... There have been: > - G.H. Anderson's RangeSlider (soon to be realised by AFS ) > - Don Yacktman's RotationSlider -1993- > - CircularSlider (sorry, I don't remember) > - Andrew Stone's DualActingSlider -1990- > - NeXT's MySlider and MySliderCell (Ensemble, extended dev.version 2.1), > and now... for something completely different: > the CubicSlider I check them out, and found that RotationSlider is for NS3.0, I wonder if there are similar palettes for NS2.2 Seung-Woo Kim
Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <wfdXioy00iMFM14EBg@andrew.cmu.edu> Date: Tue, 16 Mar 1993 15:42:28 -0500 From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Subject: Dynamically Creating TextField Objects I have an application that would require creating TextFields in a window dynamically (I cannot predict how many will be necessary). The Interface Builder is good for static interfaces, but how is it done (in Objective C) to create more textfields and place them in a window while the program is running? Just some sample ObjC code of creating a window and filling it with a row of TextFields w/o using IB would be helpful to get me started! Thanks in Advance! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | Free | This message represents| | or jm7e+@andrew.cmu.edu | Software | my opinions, alone. | |FAST Laboratory, CMU-GSIA |------------| Ya Gotta Love It. | | B.S. Mech Eng. CMU,1992|Certificate Mixology,1992|'83 Yamaha 650 Twin| ---------------------------------------------------------------------- This year marks 200 years of the Bill Of Rights.
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: DBKit login string Message-ID: <1993Mar16.193140.10863@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Mar16.162748.24934@glv.uucp> Date: Tue, 16 Mar 1993 19:31:40 GMT I am using Sybase and I need to be able to write a back end server for some database migration tools that I am coming up with. The problem is that I can't find anywhere how to log into Sybase using DBKit without using IB. Does anyone know how to do it or where there are examples of it. It basically boils down to the fact that I can't get the password when I am trying to connect. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: DBKit login string Message-ID: <1993Mar16.200745.14852@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Mar16.193140.10863@glv.uucp> Date: Tue, 16 Mar 1993 20:07:45 GMT In article <1993Mar16.193140.10863@glv.uucp> andersen@reality.glv.com (Robert Andersen) writes: >[help on dbkit ...] Never mind I figured it out. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: frisinv@alleg.edu (Vincent Frisina) Subject: NX_Image question Message-ID: <1993Mar16.210242.3513@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Tue, 16 Mar 1993 21:02:42 GMT I am not that proficient at using images, so could some one offer me a little help with this? I have five tiff images which I need to move around in a View for my application. The problem is that I can not even declare the images without getting a compiler error. If someone could send me an email message on how to use them and composite them to various points, it would be appreciated. -- Vincent Frisina Email: frisinv@alleg.edu
Newsgroups: comp.sys.next.programmer From: monty@its.com (Montgomery Zukowski) Subject: Using NXLocks for multithreaded apps Message-ID: <9303161953.AA03051@its.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Tue, 16 Mar 1993 19:52:52 GMT I've been doing some multithreaded programming here and want to share some insights. I now have a shallow understanding of multithreaded programming so please feel free to add on to my comments. My need for a multithreaded app came because of a deficiency of distributed objects detailed in a previous message. Basically I have a non-Appkit program that just loops waiting for things to do, including responding to remote messages. Because a call to [connection runWithTimeout:1] will raise an exception that I can't catch (I think the exception is raised in a separate thread and not passed back to the main thread), I have implemented a two threaded program. One thread responds to remote messages and one thread does everything else. The problems with multiple threads is that most of the functions and objects out there are not thread safe. For instance List is not thread safe, so if you try to add objects from separate threads simultaneously it may stop in the middle of doing something to change something else and screw up variables it uses in the add routine. The mach way to get around this is to use mutex variables to lock access to another variable. NXLock is an encapsulation of a mutex variable. So if I want to modify a list that can be accessed from multiple threads I do this: [listLock lock]; [list addObject:it]; [listLock unlock]; What happens is that [listLock lock] won't return until the lock is available. If somebody else had previously called [listLock lock], when we call [listLock lock] it won't return until whoever has the lock calls [listLock unlock]. Even then it may not return if multiple threads are vying for the lock. Only one thread gets the lock at one time. If you try to lock a lock twice you will achieve deadlock: [listLock lock]; [listLock lock];//will block forever because this thread now can't unlock it FYI: there is an NXRecursiveLock which will allow multiple locking calls without deadlock. Locks only work if you respect them everywhere. If you access the list somewhere else in the program without locking then you could be interrupting some other thread. It is unclear from the mach documentation and even less clear from the NeXT documentation exactly how mutexes and NXLocks really work. Using an NXLock in the following situation: -run //doesn't return until -terminate is called remotely { while (running) { [loopLock lock]; ... //do boring stuff here [loopLock unlock]; } } -(void) terminate { [loopLock lock]; running=NO; ... //stuff that I needed the lock for here [loopLock unlock]; return; } I found by adding some debugging statements (surrounding printf with its own lock) that the terminate message was recieved almost immediately when I sent it from a remote object but it could take up to 20 seconds for the method to gain the lock! The run loop would keep gaining the lock instead of the terminate function. I think it was because it is sort of random as to when an NXLock or mutex tries again to get a lock (I think it polls). So if it was blocking and didn't try to get the lock during the micromoment between the end of -run's while loop and the beginning, it wouldn't succeed. That is where condition variables and NXConditionLocks come in. Conditions can be signalled and waited for. The NXConditionLock hides some of the details of using condition variables and has the following methods: lock lockWhen:(int)cond unlock unlockWith:(int)cond It can be used as a normal lock using lock and unlock. The other methods are for using conditions. -lockWhen: will wait for the given condition to be signalled and when it is true it will return. -unlockWith: will signal a given condition which will wake up one of the sleeping threads that is waiting for the condition. I changed my code to use the NXConditionLock as follows: -run .... [loopLock unlockWith:1];//signals condition 1 -terminate [loopLock lockWhen:1]; ..... This changed the scheduling so that -terminate would get awoken right after the condition was signalled. Note that any combination of the 4 lock and unlock methods will work and make sense. -lock will lock under any condition and -unlock will not set a condition (This has the effect of signaling the previous condition.) I really didn't need a special condition to signal, I just needed the signalling for its scheduling properties. As a matter of fact, I haven't tried not even using the condition part. . . it should work just as well. That leaves the NXSpinLock which I don't understand how it works. It busy-waits until the lock is available and then does it's thing. I don't know how the other locks wait and why it is so different, but it is suggested for quick response and locking of short but possibly resource intensive pieces of code. I'd be very interested to know more details on how locks and conditions work. The docs aren't very illuminating. Also note that setting the objc runtime to be thread safe incurs 3 times the overhead per message over the non-thread safe runtime. Monty
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: DBKit login string Message-ID: <1993Mar16.233701.15306@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Mar16.200745.14852@glv.uucp> Date: Tue, 16 Mar 1993 23:37:01 GMT This might be of interest to some people out there. Dan Flye responded to my earlier post with this: >Unfortunately, you can't pass the password in directly, you have to sneak up >on it by using a dwrite to the SybaseAdaptor. This snippet of code is what I >use to avoid bringing up the login panel if I don't want the user to have any >say to where the app is connecting: > > i_oAxysDatabase = [[DBDatabase alloc] init]; > NXSetDefault("SybaseAdaptor", "SybasePassword", "axys"); > [i_oAxysDatabase connectUsingAdaptor:"SybaseAdaptor" > andString:[self sFindServerName]]; where sFindServerName returns the a string like "user@server/database" The NXSetDefault sets the default value for the running copy of the app only, it doesn't write it out to your defaults db or leave the password anywhere other than in memory. So as long as your app knows what password to use, you can avoid the Sybase login panel. Dan after I had posted that message and peeked/poked around some docs I found out that you could enter the password to the defaults database using dwrite and it worked. Your implementation is actually better if you have to do it that way. However, I did find two other ways to accomplish this, actually both use the same format in two different places. The actual format of the login string is: user/password@server/database. So you can either put this into your db.strings file in your DB model or you can use it as your log in string in your apps. Thanks for the help though Dan, hope this will be helpful to you. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: NeXTSTEP GUI Question Organization: MIND LINK! - British Columbia, Canada Date: Wed, 17 Mar 1993 00:51:30 GMT Message-ID: <22087@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) Under the Windows GUI, this is impossible: (as far as I know.. if someone knows otherwise, prove me wrong) The ability to have several different kinds of GUI objects, and drag them between different applications. ie. being able to create a GUI object application framework, so that you could do something like drag a "user" object from one application, and drop it on your word processor, and the user's name gets inserted in the document, for example.. Under Windows, <file> drag and drop is supported between different applications, but as far as I know, thats about the extent of things. How possible would this be under the NeXTSTEP GUI? Does anyone know of OS/2's SOM will allow this? Ian. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca BBS: (604) 852-1866, or FidoNet :-) 1:153/513 CANADA eh? -----------------------------------------------------------------------------
From: fischedj@NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: 3.x --> 2.x nib conversion Date: 17 Mar 1993 00:49:56 GMT Organization: Computer Science Department at Rose-Hulman Distribution: world Message-ID: <1o5sjkINN5n9@master.cs.rose-hulman.edu> Keywords: nib, conversion, compatibility What I want: I am looking for a way to convert .nib files created by ProjectBuilder under NS3.x to .nib files that can be loaded by InterfaceBuilder under NS2.x. Why I want it: I am a part-time developer at Rose-Hulman Institute of Technology working on Fluid Science simulations. We have a few hundred NeXT machines running NS2.1 (or maybe 2.2, I'm not sure) and five running 3.0. By this summer, the school's NeXT network will hopefully be ungraded to 3.0 (or maybe even 3.1). This is good for us as it will let us use the newest and neatest 3.0 toys/tools/tricks. However, we are out of luck if we want to distribute our code to other universities that still use 2.x. While the code should remain compatible to 2.x (and what problems there are, can be fixed), the .nib files generated by ProjectBuilder are not readable by InterfaceBuilder on 2.x. (This leads to a Catch 22: If I could load the nib files under 2.x, I could fix them them to work under 2.x. But if I could load them I would be running 3.0 and wouldn't need to fix them.) I am hoping there is a means to convert 3.0 nib files to 2.x format allowing other sites to utilize our code and freeing us from the "shackles" of 2.x. If there is such a process please tell me, show me, push me in the right direction. Thanks: Thank you for you help and consideration. -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "Don't ever put your brain on a runaway train 'cause it won't be coming back!" - Mad At The World.
From: sam_s@NeXT.com (Sam Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT Loyal Customer Sale from RightBrain! (RTF) Message-ID: <7063@rosie.NeXT.COM> Date: 17 Mar 93 00:51:46 GMT References: <1993Mar9.095014.3445@prim> Sender: news@NeXT.COM dave@prim.demon.co.uk (Dave Griffiths) writes: > was wondering if a newsreader could say "ok, the last article was RTF and may > have promoted the window-depth, _this_ article is just plain ascii, so let's > reset the window-depth before displaying it". Even if it's a dirty trick like > switching windows and freeing a temporary rtf window, it has to be better > than re-starting the program. Yes and no. Windows (the bitmap devices) promote to store whatever data they are asked to store (be it color or alpha) and there's no method to tell them to throw away data. But in my apps I tend to make windows one-shot. This means the backing store is thrown away when the window isn't visible. (Normally it's kept, so to redisplay the window you just zap up the extant bits). When a one-shot window comes back into existence, it starts with a minimal buffer (2 bits, no alpha) and is redrawn using the standard Appkit methods. If the redraw causes promotion (by redrawing color) so be it, otherwise the window will come back at 2 bits. In answer to your specific NG-related question, it might work to go into Interface Builder and change the window to one-shot. Then switching to an innocuous article and hiding and unhiding the app ought to do the trick. -sam -- Opinions expressed herein are not those of my employer. They're not even mine. They're probably wrong besides. How did they get in here, anyway?
Newsgroups: comp.sys.next.programmer From: burchard@geom.umn.edu (Paul Burchard) Subject: Re: Using NXLocks for multithreaded apps Message-ID: <C40Mx0.3v@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <9303161953.AA03051@its.com> Date: Wed, 17 Mar 1993 04:24:32 GMT A few clarifications.... In article <9303161953.AA03051@its.com> monty@its.com (Montgomery Zukowski) writes: > The problems with multiple threads is that most of the functions and > objects out there are not thread safe. For instance List is n ot thread safe, > so if you try to add objects from separate threads simultaneously it may stop > in the middle of doing something to change something else and screw up > variables it uses in the add routine. This is not the meaning of "thread-safe". The only operations which are "safe" in the sense described above are the "atomic" operations---those guaranteed by the system not to be interruptable by task-switching. Even simple structure assignment (e.g., NXColor assignment) would likely not qualify as "safe" in your sense. In other words, essentially all multithreaded access to data must be mutex locked---it is does not imply any special deficiency. Instead, "thread-safe" means that, with *sufficient* mutex locking by the user, it is *possible* to obtain safe multithreaded access to a piece of software. The point, as you note, is this: > Locks only work if you respect them everywhere. If you access the > list somewhere else in the program without locking then you could be > interrupting some other thread. The reason that some software is not thread-safe, is that "everywhere" may include places inside the software, where you can't get. If such code can be triggered independently of calls you make, you are hosed. No amount of mutex locking on your part can protect you. Such is the case with the AppKit. -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' -------------------------------------------------------------------- not qualify as "safe" in your sense. In other words, essentially all multithreaded access to data must be mutex locked---it is does not imply any special deficiency. Instead, "thread-safe" means that, with *sufficient* mutex locking by the user, it is *possible* to obtain safe multithreaded access to a piece of software. The point, as you note, is this: > Locks only work if you respect them everywhere. If you access the > list somewhere else in the program without locking then you could be > interrupting some other thread. The reason that some software is not thread-
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Using C++ commands in OBjC Message-ID: <1993Mar17.024400.761@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Wed, 17 Mar 1993 02:44:00 GMT I have been reading a C++ book and I really like the way it handles some of the output I need. (mainly cout and fout) Can I incorporate these into my Objective-C code? How? Do I need some libs? Where do I get them? Where do I put them? Thanks -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | CIS 71101,1260 Always looking for new SW to market | Net Ian_Stewart@pyrian.com NeXT,Mac,PC & Sun | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit questions Message-ID: <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Tue, 16 Mar 93 21:10:38 GMT We have 2 problems I would like comment upon: 1 When one of our triggers does a ROLLBACK the adapter gets very confused and error messages result. It does not seem to know that we aborted the transaction. 2 When we delete all records in a DBModule's fetch group the DBModule method fetchAllRecords: stops working or generating SQL. Does anyone know the status of DBKit in 3.1? Did they fix most of the bugs? All of the bugs? Has anyone heard if they intend to add to DBKit functionality to make it more robust and support more SQL features like aggregates, expressions in the property list of a record list, group by and having, more complex joins? Any hope of a visual DBModeler? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: Mac sound --> NeXT format?? Message-ID: <1993Mar12.092443.5476@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <C3qGB3.91y@ny.shl.com> Date: Fri, 12 Mar 1993 09:24:43 GMT In article <C3qGB3.91y@ny.shl.com> nwc (Nick Christopher) writes: > > MetroTools from MetroSoft has a sound converter module to do > > just what you need. Contact them at > > > > Garbage In Sound Out (GISO) on the purdue archive will do > almost any known format to any other. GISO is free :-) Try popping a Mac disk into a NeXT and using GISO to: 1. Extract Mac sounds in the 'snd' format (which is becoming pretty common) 2. Convert Mac sounds that have MacRecorder-type resource headers containing sampling rate, etc. GISO supports a lot of formats that MetroTools doesn't, but nearly all of the thousands of commonly available Mac sound files are in one of the two above formats. GISO doesn't support the first and ignores the header of the second. MetroTools also auto-detects the sound file format (including a number of variations of the MacBinary file format), so all the user need do is drag the sounds into MetroTools and let it sort the details out. Gordon -- ---------------------------------------------------------------- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] ----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy From: erickson@oak.mcs.gvsu.edu (Carl Erickson) Subject: least bad alternatives to NeXTSTEP? Message-ID: <1993Mar17.145711.10276@mcs.gvsu.edu> Sender: erickson@mcs.gvsu.edu (Carl Erickson) Organization: Grand Valley State University Date: Wed, 17 Mar 1993 14:57:11 GMT Due to circumstances unfortunately beyond my control I'd like the net's wisdom on the following question: If you were developing a set of applications which are interface intensive, and you refuse to work in a non-OO environment, and you are coerced into using something other than NeXTSTEP, what are the least bad alternatives? I'm starting this project from scratch (hardware and software) so I'm open to all alternatives. Carl -- Carl Erickson, Asst Professor | Computer Science Dept Grand Valley State University | Allendale MI 49401 erickson@oak.mcs.gvsu.edu | (616) 895-2309
From: jurgen@amg.de (Juergen Moellenhoff) Newsgroups: comp.sys.next.programmer Subject: Q: Subclass of ScrollView Date: 16 Mar 1993 16:32:35 GMT Organization: AMG Industrie Consulting GmbH Message-ID: <1o4vf3INN4ts@hagen.amg.de> Hello! How can I subclass a ScrollView, so that it works like a ScrollView from the Interface Builder palette? bt Juergen Moellenhoff
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: DBKit questions Message-ID: <1993Mar17.160928.6847@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> Date: Wed, 17 Mar 1993 16:09:28 GMT In article <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: > We have 2 problems I would like comment upon: > > 1 When one of our triggers does a ROLLBACK the adapter gets very > confused and error messages result. It does not seem to know > that we aborted the transaction. This isn't surprising; the only way your DBDatabase and adaptor know anything is through returned data and calls to error handling routines. I think you'd have the same problem if you were writing your own dblibrary code (if you're using Sybase) and a trigger rolled back a transaction. Another problem is that right now DBKit doesn't support nested transactions. > Does anyone know the status of DBKit in 3.1? Did they fix most of > the bugs? All of the bugs? Has anyone heard if they intend to add > to DBKit functionality to make it more robust and support more SQL > features like aggregates, expressions in the property list of a > record list, group by and having, more complex joins? Any hope of > a visual DBModeler? I know in the move from 3.0 to 3.1 DBKit is getting a lot of attention, more than many other pieces of NS. At DBKit class last fall we were told that among other new functionality models would support multi-column joins. I'm not as sure about the other features you ask about.
Newsgroups: comp.sys.next.programmer From: cs4gp6aa@maccs.mcmaster.ca (Appavoo J) Subject: Xview Message-ID: <1993Mar17.161610.7645@mcshub.dcss.mcmaster.ca> Sender: usenet@mcshub.dcss.mcmaster.ca Organization: Department of Computer Science, McMaster University Date: Wed, 17 Mar 1993 16:16:10 GMT Hi, Is there anybody who has xview compiled and would let me get a copy of the compiled binaries. I am using mouseX on a non-turbo mono nextstation running 3.0 and I have not been able to compile xview and need it badly. Please reply by mail. Thanks very much for any help.
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: DBKit questions Message-ID: <1993Mar17.175757.16423@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Mar17.160928.6847@midway.uchicago.edu> Date: Wed, 17 Mar 1993 17:57:57 GMT In article <1993Mar17.160928.6847@midway.uchicago.edu> colin@agincourt.bsd.uchicago.edu (& Garrett) writes: > In article <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> > harit@kripalu.com writes: > > > > 1 When one of our triggers does a ROLLBACK the adapter gets very > > confused and error messages result. It does not seem to know > > that we aborted the transaction. > > This isn't surprising; the only way your DBDatabase and adaptor know > anything is through returned data and calls to error handling routines. I > think you'd have the same problem if you were writing your own dblibrary > code (if you're using Sybase) and a trigger rolled back a transaction. > Another problem is that right now DBKit doesn't support nested > transactions. Its kind of hard to have nested transactions in the DBKit when products like Sybase do not support nested transactions. Yes you can have multiple begin transactions in Sybase but only the outer one is actually used. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: monty@its.com (Montgomery Zukowski) Subject: Anyone know details about map_fd()? Message-ID: <9303171949.AA04627@its.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Wed, 17 Mar 1993 19:48:10 GMT My main question is how smart is it? If I map in a file and then read parts of it which causes pages to be mapped in, does it the virtual memory manager know not to swap those pages to disk? As long as I have not written to this memory the pages are mirrored on disk and wouldn't need to be swapped out to disk, but I don't know how hard it would be to tell which pages have been written to and which haven't been. The manual is no help on this matter and I would assume that it was up to whoever wrote the mach virtual memory handler. Anybody...Anybody? Even pointers to technical articles would help greatly. I've already looked through the online documentation at mach and haven't found anything. Monty
From: bfriedma@bfriedman-ss2.cisco.com (Barry Friedman) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTSTEP GUI Question Date: 17 Mar 1993 16:53:19 GMT Organization: cisco Systems, Menlo Park, California, USA Message-ID: <1o7l1vINNol6@cronkite.cisco.com> References: <22087@mindlink.bc.ca> In article <22087@mindlink.bc.ca> Ian_Upright@mindlink.bc.ca (Ian Upright) writes: >Under the Windows GUI, this is impossible: >(as far as I know.. if someone knows otherwise, prove me wrong) > >The ability to have several different kinds of GUI objects, and drag them >between different applications. ie. being able to create a GUI object >application framework, so that you could do something like drag a "user" >object from one application, and drop it on your word processor, and the >user's name gets inserted in the document, for example.. > >Under Windows, <file> drag and drop is supported between different >applications, but as far as I know, thats about the extent of things. It's not even that good. Unless you're willing to do some serious hacking the only application that can be the source of a file drag is the Windows file viewer. OLE2.0 will have the support you're looking for. > >How possible would this be under the NeXTSTEP GUI? The NeXTSTEP 3.0 dragging API supports what you are suggesting. For your example above, the application that supports "user" objects would register the data formats that it is willing to supply (eg. native, ascii, rtf, object link, etc). When dropped on a word processor application, the word processor would select the ascii or rtf format, and the text would be fetched from the drag pasteboard (or from the source application if its doing lazy evaluation) and inserted in the word processor. With this model we can have drag and drop fonts, colors, rulers, data dictionary information, etc. We just have to wait for the app developers to implement it. BTW, if you're an app writer, PLEEEASE include support for drag and drop fonts! I have a cool little font manager application that really needs this support for it to work well. Flames and arrows to NeXT for not supporting this in their text object. What's so special about color??? >Does anyone know of OS/2's SOM will allow this? Dunno. Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Barry Friedman | bfriedman@cisco.com Software Engineer | From Infoworld, Feb 10, 1992: "MS-DOS 5.0 has resecured Cisco System Inc. | Microsoft's place as the reigning OS developer" HAHAHA...
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: Re: NeXTSTEP GUI Question Message-ID: <C41y9r.2In@dutiws.twi.tudelft.nl> Summary: YES is the answer Organization: Delft University of Technology References: <22087@mindlink.bc.ca> Date: Wed, 17 Mar 1993 21:27:27 GMT In article <22087@mindlink.bc.ca> Ian_Upright@mindlink.bc.ca (Ian Upright) writes: >Under the Windows GUI, this is impossible: >(as far as I know.. if someone knows otherwise, prove me wrong) > >The ability to have several different kinds of GUI objects, and drag them >between different applications. ie. being able to create a GUI object >application framework, so that you could do something like drag a "user" >object from one application, and drop it on your word processor, and the >user's name gets inserted in the document, for example.. > >Under Windows, <file> drag and drop is supported between different >applications, but as far as I know, thats about the extent of things. > >How possible would this be under the NeXTSTEP GUI? > Very possible. As a matter of fact, I've just implemented something like this. It's a Sender and a Receiver object. In Interface Builder, you connect a Sender (looking to the user like an arrow, or whatever you want) to an object you want to be able to drag and when you start dragging, an image of the connected object moves with the mouse cursor. When you drop it above the Receiver, the default action is taken, which in my case is copying the object and inserting it into the Receier. By subclassing Receiver you can implement more specific behaviour, such as inserting a property of the dragged object into a text or whatever you like. The Appkit Pasteboard object plays an important role in NeXTSTEP drag- and drop mechanism. You can easily declare your own types for the Pasteboard. Note that it's also possible to drag the GUI objects themselves instead of a Sender connected to one. In that case, however, you have to - make your own "draggable" versions of the Appkit objects, - introduce two modes: 1. Normal use (button click, text insert) 2. Dragging while a Sender is a very generic object. It can send invisible (non-UI) objects as well as visible ones. Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Likes and Dislikes of NeXTSTEP -- your opinions? Message-ID: <1993Mar17.215343.4301@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Wed, 17 Mar 93 21:53:43 GMT You might be interested in a post I made to comp.sys.next.advocacy under the same subject heading. -Eskandar
From: jfosback@darmok.uoregon.edu (Jason Fosback) Newsgroups: comp.sys.next.programmer Subject: How to "performClick:" with a TextField? Date: 17 Mar 1993 23:32:41 GMT Organization: University of Oregon Network Services Message-ID: <1o8cep$j9k@pith.uoregon.edu> I am trying to figure out how to focus a TextField within a window so that when I make the window key and front, it's ready to accept keystrokes in the TextField. Normally, I would use a Form for this, but I need the ability to change the text color. My ultimate goal is to have a password panel pop up; naturally, I don't want the password to be visible, so I need to use the TextField so I can change text color. Most importantly, I don't want to have to click on the panel every time it pops up. Does anyone have a snippet of code on how to do this? I either want: 1) How to focus a TextField for key events, or 2) How to make the text of a Form invisible. Thanks. -jason ______________________________________________________________________ Jason Fosback, Student Programmer/Consultant| No sir, I didn't like it ---- University of Oregon ---- | -R&S Internet: jfosback@oregon.uoregon.edu | Star Trek: NeXT mail: jfosback@darmok.uoregon.edu | The NeXT Generation...
Newsgroups: comp.sys.next.programmer From: jhalchin@reis6 (Judy Halchin) Subject: Anyone installed beta NeXTSTEP for Intel on an Intel GX? Message-ID: <1993Mar17.231316.8883@pellns.alleg.edu> Sender: news@pellns.alleg.edu Organization: Allegheny College Date: Wed, 17 Mar 1993 23:13:16 GMT We're having some trouble installing the beta software and are looking for assistance. If you have tried, successfully or unsuccessfully, to install the beta release on an Intel GX/Professional, would you drop me a line? Thanks, Judy Halchin jhalchin@alleg.edu
From: lebay@mercury.cl.msu.edu (Jim LeBay) Newsgroups: comp.sys.next.programmer Subject: Re: DBKit questions Date: 18 Mar 1993 01:51:26 GMT Organization: Michigan State University Message-ID: <1o8kiu$et9@msuinfo.cl.msu.edu> References: <1993Mar17.160928.6847@midway.uchicago.edu> colin@agincourt.bsd.uchicago.edu (& Garrett) writes: > In article <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> > harit@kripalu.com writes: > > Does anyone know the status of DBKit in 3.1? Did they fix most of > > the bugs? All of the bugs? Has anyone heard if they intend to add > > to DBKit functionality to make it more robust and support more SQL > > features like aggregates, expressions in the property list of a > > record list, group by and having, more complex joins? Any hope of > > a visual DBModeler? > > I know in the move from 3.0 to 3.1 DBKit is getting a lot of attention, > more than many other pieces of NS. At DBKit class last fall we were told > that among other new functionality models would support multi-column > joins. I'm not as sure about the other features you ask about. At DBKit class last month we were told that *all* known bugs in DBKit had been fixed for NS3.1. They are working on an improved [re-]design ("DBKit-2"), with added features and functionality which will be included in a later release of NeXTSTEP (3.2 or 4.0 ??). ----- Jim LeBay (517) 353-1800 353-5364 (FAX) Computer Information Center lebay@msu.edu lebay@msu.bitnet Michigan State University lebay@mercury.cl.msu.edu (NeXTmail) *=*=* I feel better than James Brown! *=*=*
Newsgroups: comp.sys.next.programmer From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: Re: SQL on NeXT server (QuickBase) Message-ID: <2634mrb@rpi.edu> References: <1993Mar10.162539.4767@uunet!cbmvax!xmws!kripalu> Date: Wed, 17 Mar 1993 23:28:19 GMT harit@kripalu.com writes: > I am looking for an SQL server that runs on a NeXTstep machine > (intel) and would interface with DBKit. I am looking for low cost, > and low royalties for distribution of an application. > > I remember seeing a post about a new relational database that meets > these that was in beta. > > Can anyone point me in their direction or recommend I look at others? There's a database engine product called QuickBase which is from SofDesign Solutions. The new version of QuickBase is in the beta stage right now, and should be available sometime soon (before the Expo!). The current version is only SQL-based (you send SQL commands to some objects in Objective-C), but the new version will include a DBkit adaptor. The new version includes a lot of neat things, actually, it's a bit much to describe in a message. There's a "developer version" of QuickBase which will be under $1000 (they aren't quite set on a price yet, something like $700 is likely). You'd need that to write applications that use QuickBase. You can then buy runtime versions of QuickBase for distributing your product. The runtime version is around $40 per copy. There's also some higher-end Database-creating tools that you could buy, but I haven't had the chance to look at those yet. Let's see, what else should I say? Hmm. The new version is being beta-tested on 68040 hardware right now, but the goal is to have a NS-Intel-based version ready by the time of the Expo. Personally I'm not sure if they'll make that, although I am pretty confident the 68K version will be ready. Once the new version is ready, it should be possible for people to get demo copies for evaluation purposes. I forget how the demo option will work, but I remembered thinking it sounded pretty good when I heard what it was. I think SofDesign will also be at the Expo to show their products off. Disclaimers: I don't work for SofDesign, and I'd make no money off of them, but I do know the guy who started the company (he's an alumni of RPI). My interest in QuickBase is for some databases I am writing for myself, I think it's a pretty attractive product for doing database work. Since I know the guy, I get to beta test it, which is why I can ramble on like this even though the new version isn't officially available yet. -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: Re: Mac sound --> NeXT format?? Message-ID: <8534vna@rpi.edu> References: <1993Mar12.092443.5476@metrosoft.com> Date: Wed, 17 Mar 1993 22:56:24 GMT gvh@metrosoft.com (Gordon Van Huizen) writes: > In article <C3qGB3.91y@ny.shl.com> nwc (Nick Christopher) writes: > > > MetroTools from MetroSoft has a sound converter module to do > > > just what you need. Contact them at > > > > Garbage In Sound Out (GISO) on the purdue archive will do > > almost any known format to any other. GISO is free :-) For what it's worth, I have MetroTools and it has worked pretty well for the things I use it for (converting sounds, converting fonts, and as an application launcher). Disclaimer: None really, I just bought the program and it seems to work. -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: weiner@pts.mot.com (Bob Weiner) Subject: Anyone have a tree display class that can read a tree from a text file? Message-ID: <WEINER.93Mar17184101@info.pts.mot.com> Sender: usenet@pts.mot.com Organization: Motorola Paging and Wireless Data Group Date: Wed, 17 Mar 1993 23:41:01 GMT I have an X-based program that I'd like to convert to NeXTStep. It displays a tree of buttons by reading input from a text file. The input file's format is a simple indented hierarchy of button label names, e.g. Root Level1#1 Level2#1 Level2#2 Level1#2 etc. Each button is then displayed as a tree node, with branches spreading either horizontally or vertically (horizontally preferred). A button press then generates a command which is send to the standard output stream. I'm kind of surprised NeXT doesn't ship a tree display class as a standard part of the toolkit. Does anyone know of one that I could use in a freeware program? Please e-mail replies in addition to posting to the newsgroup. Thanks, Bob Weiner -- Bob Weiner, Motorola, 1500 NW 22nd Ave, MS-71, Boynton Beach, FL 33426-8753 Work: 407-364-2091 Fax: 407-364-3329 INTERNET: <bob_weiner@pts.mot.com> Mot X.400: <EBW002@email.corp.mot.com>
From: zazula@soliton.physics.arizona.edu (Ralph Zazula) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically doing power off Message-ID: <1993Mar16.091024.22275@galileo.physics.arizona.edu> Date: 16 Mar 93 09:10:24 GMT References: <64585@mimsy.umd.edu> <1993Mar11.021959.380@kira.net.netcom.com> Sender: z@pri.com Organization: Pinnacle Research, Inc. Hi - > >Maybe the original poster didn't mean this, but I've had interest, on >occasion, in being able to power off a NeXT programatically, but doing it >'politely' (so that NeXTSTEP apps are properly warned so they can >gracefully shutdown if they like). Doing a halt -p doesn't do this. > >Any way to accomplish this? > >\david john burrowes One way to do this is to give the user a chance to log out before you shut down. We have an application called "VWall" that is designed for this task. You can send messages to selected users on the network in a window that floats above all other windows (you can send a sound along too) and warn them of an impending system shutdown. Then, you select the machines of interest and reboot them or power them down with the press of a button. No need for Public Window Server and the system is password protected to keep evil away... For more info, e-mail "vwall@pri.com" or call (602)529-1135. Ralph --- Ralph Zazula Pinnacle Research, Inc. z@pri.com (NeXT Mail) (602)529-1135
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: Object File System Survey.. Organization: MIND LINK! - British Columbia, Canada Date: Thu, 18 Mar 1993 08:18:29 GMT Message-ID: <22157@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) I'm doing some pretty interesting research on a GUI based communication enviroment, (pretty much up in the air right now), but I want you as object oriented developers, to give your opinions on something. Suppose a set of communcation applications were created, that allowed the simple and easy use of creating huge global networks via any communcation medium, especially modems, and modem/internet/sattelite connections. In order to achieve all of this cleanly, a new object-oriented file system must be used, to support many new features and capabilties of these applications, and things that you have only dreamed of. In order to do that, databases of information will have to be created to "index" all of this information. Lets just suppose that the concepts of directories/folders as it exists today is too limited, so information would also have to be organized differently. Would it be best to: A: Encapsulate every file with a refrence to this neat peice of information, allowing you to use your file system like you always have. Thus being slightly confusing, because the information is located on your hard drive in a certain directory, but is actually organized on a global basis differently. A inexperianced user may find this confusing, to say the least. Finding information, and sending it somewhere else would also be more difficult. All existing applications would be supported. B: Scrap the existing idea of the "file system", and cleanly create a whole new application framework and file system interface. Only applications created under this framework would be able to access those "objects" directly. Applications could be created to easily export/import "files", but it would still be a new file system. Lets also assume that the organization of the information on your hard drive is *much* easier, *much* cleaner, and overall a whole lot nicer. Existing applications would not be able to access this information. Applications created under this framework, would interact with objects of many different kinds, extremly cleanly, simply, and easily. Lets also assume that existing applications could be relatively easily modified to support the new system. I would like to hear pros and cons of both. Email me your opinions, or discuss it on the net. Ian. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca BBS: (604) 852-1866, or FidoNet :-) 1:153/513 CANADA eh? -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: DBKit questions Message-ID: <1993Mar17.215425.15578@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> Date: Wed, 17 Mar 1993 21:54:25 GMT In article <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: > We have 2 problems I would like comment upon: > > 1 When one of our triggers does a ROLLBACK the adapter gets very > confused and error messages result. It does not seem to know > that we aborted the transaction. This is a bug in the Sybase Adapter that has been fixed in 3.1 beta. In 3.0, when a trigger initiates a rollback, the adapter doesn't get informed. > 2 When we delete all records in a DBModule's fetch group the > DBModule method fetchAllRecords: stops working or generating SQL. I don't know. > Does anyone know the status of DBKit in 3.1? Did they fix most of > the bugs? All of the bugs? Has anyone heard if they intend to add > to DBKit functionality to make it more robust and support more SQL > features like aggregates, expressions in the property list of a > record list, group by and having, more complex joins? Any hope of > a visual DBModeler? NeXT has fixed some bugs. I don't think it's appropriate for me to divulge the number. NeXT is doing some great things with DBkit, and you should be able to find out all about it at EXPO. M Carling President, Bay Area NeXT Group
Newsgroups: comp.sys.next.programmer From: msanford@pencom.com Subject: Re: DBKit login string Message-ID: <1993Mar17.144628.17386@paramus2.uucp> Sender: usenet@paramus2.uucp Organization: United Parcel Service, Inc. References: <1993Mar16.162748.24934@glv.uucp> Date: Wed, 17 Mar 1993 14:46:28 GMT In article <1993Mar16.162748.24934@glv.uucp> andersen@reality.glv.com (Robert Andersen) writes: > Where does the password go in the login string when connecting to a database > using DBKIT? The form of the login string as I know it is > user@server/database. I don't know if this helps, but you can open the .dbmodel as a folder and then open the db.strings in Edit. The format of the login is like this: user/password@server/database. - mike
Newsgroups: comp.sys.next.programmer From: monty@its.com (Montgomery Zukowski) Subject: Summary: Anyone know details about map_fd()? Message-ID: <9303181501.AA05520@its.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Thu, 18 Mar 1993 15:00:47 GMT Thanks to Marcel Waldvogel and Paul Bennett. Marcel wrote: It does the same thing that is done when executing a program: map that file into memory. As long as pages aren't modified, they will simply be discarded and not written to the swapfile when they are 'paged out'. It even does more: Multiple programs mapping the same file will share a single memory page as long as it is unmodified (as is done with shared libraries, the same thing here). Paul wrote: Well, I don't know exact details of mach, but I do know about VM systems in general. Its almost a given that page table entries have a dirty bit, supported by the hardware, for just the purpose you mention - so the VM manager can know when it needs to save the page. The '040 MMU has such a bit in its page table entries, so unless MAch is severely braindead, it's almost certain to use it. Thanks for the info! Monty
From: rring@willamette.edu (Robert Ring) Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer Subject: Floating-point processor questions Summary: Please help!!! Message-ID: <C43EEn.63H@willamette.edu> Date: 18 Mar 93 16:13:34 GMT Article-I.D.: willamet.C43EEn.63H Followup-To: poster Organization: Willamette University, Salem OR Hello everyone. I'm not sure where to post these questions; apologies in advance for any wasted bandwidth. Floating-point processor questions: 1. What type of floating-point processor is in this NeXTstation Turbo on which I am writing this? The Workspace Manager says I'm running "System Release 2.2, Workspace Version 218.4, PostScript Version 2.2.56.6, Processor 33 MHz 68040, Memory 8.00MB, Disk 239MB" 2. How does one control the rounding direction of the floating-point processor? Can one control it at all? (I'm hoping one can, based on the fact that "man 3m math" and "man ieee" both refer to IEEE Standard 754 which requires that the rounding direction be specifiable. In fact, in "man 3m math" I find the following: IEEE STANDARD 754 Floating-Point Arithmetic: This standard is on its way to becoming more widely adopted than any other design for computer arithmetic. VLSI chips that conform to some version of that standard have been pro- duced by a host of manufacturers, among them ... Intel i8087, i80287 National Semiconductor 32081 Motorola 68881 Weitek WTL-1032, ... , -1165 Zilog Z8070 Western Electric (AT&T) WE32106. Also, I understand that the NeXTCubes used the Motorola 68882 chip for a floating-point processor.) Your assistance in this matter is *greatly* appreciated. Please give me your full name and organization affiliation when you reply so I can properly acknowledge your assistance in the documentation for this project. Replies via e-mail are preferred. Thanks again. Robert.
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc From: herbert@ai.univie.ac.at (Herbert Wiklicky) Subject: Looking for Gnu BFD description of Mach-O file format Message-ID: <1993Mar18.163225.27843@ai.univie.ac.at> Sender: news@ai.univie.ac.at Organization: Dept.Medical Cybernetics&Artificial Intelligence,Univ.Vienna,Austria,Europe Date: Thu, 18 Mar 1993 16:32:25 GMT Does anybody know about a BFD version (back end) for the NeXT Mach-O object file format. It would be nice to have something like this for compiling the GNU binutils-2.x, gdb-4.8, gas-2.0 etc.
From: tyler@bullnext.mc.duke.edu (Tyler Gingrich) Newsgroups: comp.sys.next.programmer Subject: WSM's appIcon Message-ID: <11756@news.duke.edu> Date: 18 Mar 93 16:47:48 GMT Sender: news@news.duke.edu Has anybody figured out how to get the contentView of the workspace manager's appIcon?? I would like to temporarily replace it (like grab's snapshot/camera picture). Reply to tyler@bullnext.mc.duke.edu Thanks Tyler Gingrich Software Clearing House
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: DBKit questions Message-ID: <1993Mar18.202225.12778@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Thu, 18 Mar 1993 20:22:25 GMT In article <1993Mar17.175757.16423@glv.uucp> andersen@reality.glv.com (Robert Andersen) writes: > In article <1993Mar17.160928.6847@midway.uchicago.edu> > colin@agincourt.bsd.uchicago.edu (& Garrett) writes: > > In article <1993Mar16.211038.374@uunet!cbmvax!xmws!kripalu> > > harit@kripalu.com writes: > > > > > > 1 When one of our triggers does a ROLLBACK the adapter gets very > > > confused and error messages result. It does not seem to know > > > that we aborted the transaction. > > > > This isn't surprising; the only way your DBDatabase and adaptor know > > anything is through returned data and calls to error handling routines. I > > think you'd have the same problem if you were writing your own dblibrary > > code (if you're using Sybase) and a trigger rolled back a transaction. > > Another problem is that right now DBKit doesn't support nested > > transactions. > > Its kind of hard to have nested transactions in the DBKit when products like > Sybase do not support nested transactions. Yes you can have multiple begin > transactions in Sybase but only the outer one is actually used. Sure they do...at least it works fine on our Suns. There is a bug (I think it's cross-platform, not just on Suns) such that it doesn't handle interleaved transactions correctly, e.g: begin transaction woof begin transaction moo rollback transaction woof rollback transaction moo But normal nested transactions work just fine (begin woof, begin moo, rollback moo, commit woof or whatever). Your DBDatabase doesn't complain when you send a second -beginTransaction, but a second transaction isn't started, and if you message -rollbackTransaction everything back to the first begin will be rolled back. colin
Newsgroups: comp.sys.next.programmer From: Gregory W. Gee <gee@gaul.csd.uwo.ca> Subject: Xnext problem? Cc: comp.sys.next.programmer@newshost.uwo.ca, gee@gaul.csd.uwo.ca Organization: Relayed-by-Sendmail Date: Fri, 19 Mar 1993 02:58:04 GMT Message-ID: <9303190258.AA24704@gaul.csd.uwo.ca> To: comp.sys.next.software@newshost.uwo.ca Sender: daemon@julian.uwo.ca (Julian System Daemon Account) I seem to be having a little problem with the screen output of Xnext. I got this X server from an ftp site and it uses Xnext. The front end that it is using is called Xmouse. Anyway, the problem that I am having is is that the display comes out really skewed. It looks as if the display has been twisted. Is this a problem with the program or is it that I am running it on NS3.0 on a turbo station. By the way, I am running the monochrome X which seems right for a mono screen. Would it work if I ran the Xnext colour. Oh ya, the program seems to work though, because I can faintly see the xterms and clock appear and the mouse move. Any help would be greatly appreciated and please respond by mail if possible. Thanks. **************************************************************************** Greg Gee gee@gaul.csd.uwo.ca NeXT Mail accepted Honours Computer Science, University of Western Ontario >>> Developing in the NeXT generation <<< ****************************************************************************
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: DBKit questions Message-ID: <1993Mar19.144625.19047@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Mar18.202225.12778@midway.uchicago.edu> Date: Fri, 19 Mar 1993 14:46:25 GMT & Garrett writes > In article <1993Mar17.175757.16423@glv.uucp> andersen@reality.glv.com > (Robert Andersen) writes: >[stuff deleted] > > Its kind of hard to have nested transactions in the DBKit when > products like > > Sybase do not support nested transactions. Yes you can have multiple > begin > > transactions in Sybase but only the outer one is actually used. > > Sure they do...at least it works fine on our Suns. There is a bug (I > think it's cross-platform, not just on Suns) such that it doesn't handle > interleaved transactions correctly, e.g: > begin transaction woof > begin transaction moo > rollback transaction woof > rollback transaction moo > > But normal nested transactions work just fine (begin woof, begin moo, > rollback moo, commit woof or whatever). > Your DBDatabase doesn't complain when you send a second -beginTransaction, > but a second transaction isn't started, and if you message > -rollbackTransaction everything back to the first begin will be rolled > back. > > colin Colin, Let me rephrase that. Yes Sybase supports the ability to make nested transaction calls, multiple begin/{commit|rollback} transactions, however only the outer one is actually used. Which basically says they support the syntax of nested transactions but not the functionality. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.advocacy Subject: Pencom Software Seeks 8 NeXT Engineers (North America) Message-ID: <7087@rosie.NeXT.COM> Date: 19 Mar 93 17:36:48 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.programmer Pencom Software Seeks 8 NeXT Engineers Location: North America (Northeast, Midwest, Texas) AUSTIN, TEXAS - March 18, 1993 - Pencom Software's team of NeXT engineers are specifically dedicated to serving both developers and end user organizations equipped with workstations and software from NeXT Computer, Incorporated. Already a NeXT-authorized systems integrator as well as a registered NeXT software developer, Pencom is expanding the service to capitalize on the resent announcements made by NeXT Computers. Pencom continues to be the leader for NeXT software development and consulting services, and has never been more dedicated to the NeXT environment than now. Pencom Software is a division of Pencom Systems Incorporated, a New York-based firm providing software engineering and manpower resources to Fortune 500 companies and leading computer firms since 1973. Currently the largest recruiting firm specializing in the UNIX/Open Systems market, Pencom employs over 500 people and maintains a large heterogeneous network of workstations including more than 70 NeXT machines. For more information, contact: Clint Tomlinson - Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512-346-6444 E-Mail: clint@pencom.com The following positions are available nationwide (US): Texas 1 - Object Oriented Programmer * 2+ years Object Oriented Programming (C++/Objective C) * 2+ years database design and database applications * 5 years UNIX/C application development * 2+ years RDBMS (SYBASE preferred) * 1+ years NeXTSTEP applications development * AIX/RS6000 programming * AppKit, DBKit, NeXTSTEP 3.0, OOD * GUI and Porting experience 1 - Software Support/Programmer * Xwn/Xserver programming * UNIX/C/Objective C/Postscript * X/NeXTSTEP, co-Xist * Good oral and written skills * Technical support a plus * Marketing experience a plus Northeast 1 - Database Specialist * 3+ years database design and database applications development (ORACLE/SYBASE preferred) * 3 years UNIX/C application development * 3 years RDBMS experience using an SQL-based RDBMS * 1+ year NeXTSTEP applications a plus * AppKit, DBKit, NeXTSTEP 3.0, OOD, Objective C a plus Mid-West 2 - Senior Applications Development Engineer * 5-7 years UNIX/C applications development * Financial trading applications * 1+ years NeXT/NeXTSTEP/AppKit/ DBKit/Objective C * Sun, SYBASE/C++ a plus 3 - Software Engineers * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder, DBKit * High level design, rapid prototyping in NeXT * Strong Objective C or C++ * 3 to 5 years experience Sorry, these positions require Permanent Residence and 2+ years industry experience..Thank you for your understanding... More positions available soon!!
From: rring@willamette.edu (Robert Ring) Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer Subject: Floating-point processor questions -- Thank you!!! Message-ID: <C45E3H.J8J@willamette.edu> Date: 19 Mar 93 18:02:04 GMT Article-I.D.: willamet.C45E3H.J8J Followup-To: poster Organization: Willamette University, Salem OR Hello again. I just wanted to thank everybody who answered my questions about the NeXT's floating-point processor and let those of you who may be in the process of answering my questions that I have received the information I needed. --Robert.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.misc,comp.sys.hp,comp.sys.next.programmer,comp.sys.next.sysadmin Subject: NeXT Public Statement on the Uniforum/UNIX Unification Announcements Message-ID: <7097@rosie.NeXT.COM> Date: 19 Mar 93 18:47:31 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.misc NeXT Public Statement on the Uniforum/UNIX Unification Announcements UNIX LEADERS ANNOUNCE COMMON OPEN SOFTWARE ENVIRONMENT (COSE) "SAN FRANCISCO (MARCH 17) BUSINESS WIRE - Worldwide UNIX system leaders Hewlett-Packard Co., IBM Corp., The Santa Cruz Operation Inc., Sun Microsystems Inc., Univel and UNIX System Laboratories Inc. Wednesday announced their intent to deliver a common open software environment across their UNIX system platforms...." NeXT applauds efforts driven by HP and IBM to begin to unify core elements of the Unix operating system. NeXT has been and will continue to follow these developments closely. We actively endorse these efforts, particularly the goal of creating a common, portable API layer. We have an engineering team evaluating how a future version of NeXTSTEP could support this layer, and how NeXTSTEP's leadership in object-oriented systems might add value to emerging Unix API standards. "Besides challenging Microsoft, the new Unix alliance deals a serious blow to the already reeling NeXT Inc., led by Steven P. Jobs. Mr. Jobs, who last month abandoned his computer business in favor of pushing NeXT's operating program, has been scrambling to win the support of Sun, H-P, Novell and others.... "Edward Zander, chief of Sun's software unit, said the alliance decided to reject Mr. Jobs' software and embrace a set of specifications, called an interface, that will make applications written for any variant of Unix look and work the same to a customer. "We never considered NeXT ...because their software never developed a big enough following," Mr. Zander said. Sun's comments about NeXT and NeXTSTEP are completely inaccurate. Indeed, beyond defining how NeXTSTEP can add value to these emerging standards, NeXT is also working closely with individual members of the new Unix coalition.
Newsgroups: comp.sys.next.programmer From: parod@baris.acns.nwu.edu (Bill Parod) Subject: RTF/Text Right Justify? Message-ID: <1993Mar19.224333.9450@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Fri, 19 Mar 1993 22:43:33 GMT I'm trying to figure out how to right justify text within a tab delimited field, on an RTF stream. Because of kerning, right justification in the %s format description doesn't do it, and the only right justify I've seen in RTF is to the right margin. Is it possible to place a string up against (to the left of) a following tab stop? Thanks, -- Bill Parod 627 Dartmouth Place, Evanston, IL 60208 Northwestern University bill-parod@nwu.edu (NeXTmail ok) Academic Computing & Network Services phone: (708) 491-5368 Advanced Technology Group fax: (708) 467-1786
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: How to "performClick:" with a TextField? Message-ID: <1993Mar19.120953.1997@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1o8cep$j9k@pith.uoregon.edu> Date: Fri, 19 Mar 93 12:09:53 GMT In article <1o8cep$j9k@pith.uoregon.edu> jfosback@darmok.uoregon.edu (Jason Fosback) writes: > I am trying to figure out how to focus a TextField within a window so > that when I make the window key and front, it's ready to accept > keystrokes in the TextField. > > Normally, I would use a Form for this, but I need the ability to change > the text color. My ultimate goal is to have a password panel pop up; > naturally, I don't want the password to be visible, so I need to use the > TextField so I can change text color. Most importantly, I don't want to > have to click on the panel every time it pops up. > > Does anyone have a snippet of code on how to do this? I either want: > > 1) How to focus a TextField for key events, or > 2) How to make the text of a Form invisible. > > Thanks. > > -jason If you tell the window to make the text field the first responder, then tell the text field to select all the text it will accept input without a mouse click. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: root@azetsys.uucp (Operator) Subject: HELP, need MIDI 2.x docs. Message-ID: <1993Mar20.015109.1163@azetsys.uucp> Organization: NONE Date: Sat, 20 Mar 1993 01:51:09 GMT .............GREETINGS........... This is my first post, hope it goes, since I need someone's help, trying to compile Barry Vercoe's latest Csound source under NeXTStep 3.0, alas the Csound source still uses the NS 2.x MIDI- format, which has been considerably been changed with NS 3.0. If someone who still has the NS 2.x MIDI-docs handy, kindly please e-mail it to me, your help will be most appreciated. Thank you in advance, Geza.. Ps: would prefer non-NeXT mail this time yet. -- Geza Fekete azetsys!root@uunet.UU.NET
From: vonhaus@SUN.AITC.REST.TASC.COM (Dave vonHausen) Newsgroups: comp.sys.next.programmer Subject: MenuGrabber, has anyone ever heard of it? Date: 19 Mar 1993 22:33:07 GMT Organization: TASC Message-ID: <1odhn3INNj2k@sun.rest.tasc.com> There is a demo app that shows you how to grab another running apps menu and performs clicks on it within your own running app. I'm told its called "MenuGrabber". Has anyone ever heard about it. I'm interested in the source code for it. Please let me know if you have any info.
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: License Servers for NS/FIP Message-ID: <1993Mar19.234813.11133@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft Date: Fri, 19 Mar 1993 23:48:13 GMT Anybody know of and can recommend any license servers for NeXSTEP/Intel? Of course it'd have to be available in fat-binary form. We've been using LockOut from LiveWare on our multi-user site licenses, but I'm *guessing* we won't see a new version of it any time soon. :-/ It's performance was pretty sluggish, so we wouldn't mind switching all that much anyway. Thanks in advance, Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: Re: SQL on NeXT server (QuickBase) Message-ID: <b_649d+@rpi.edu> References: <2634mrb@rpi.edu> Date: Sat, 20 Mar 1993 03:40:47 GMT gad@eclipse.its.rpi.edu (Garance A. Drosehn) writes: > harit@kripalu.com writes: > > I am looking for an SQL server that runs on a NeXTstep machine > > (intel) and would interface with DBKit. > > There's a database engine product called QuickBase which is from > SofDesign Solutions. The new version of QuickBase is in the beta > stage right now, and should be available sometime soon (before > the Expo!). I guess I should have included the following, to save me from getting lots of email messages asking for the info: Here's details on how to contact them. regular mail: SofDesign Solutions 47 Arch Street Greenwich, CT 06830 email: (they just set up an email address, but it isn't really working yet. They can send mail to me, but they won't get mail I send to them...) I just talked to them, and they intend to have a demo version ready sometime in the next week or two. Whenever it's ready, they'll probably email me an announcement which I could put in usenet. -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Subject: palette uploaded on sonata (bis) Message-ID: <1993Mar20.044743.6344@cc.umontreal.ca> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Date: Sat, 20 Mar 1993 04:47:43 GMT New version of CubicSider (was 1.0) Summary: CubicSlider1.1 is another slider subclass. You'll recompile all your apps just to use it ! [1] because it features direct precise control (without ALT) of the value: you can cram the precision of a 2000 pixel wide slider in a 100 one ! It uses a cubic polynomial transfer function dynamically redefined on each mouseUp. Yup. [2] and because it allows user editing of the extrema values by hiding the slider behind a form (where you can type in a new min or max value, enlarging the slider range) and a button (which function is to put the current knob value as the new min/max value, thus narrowing the slider range). This mechanism is commanded by double clicking on the slider. ** and one button more in v1.1 ! ** [3] and because it's free, sources included (small demo program, palette, inspector etc... NS2.1 nibs). NOTA: this version now matricizes correctly (flaw acknowledged in CubicSlider1.0 README) Download it, connect it, test it, and (hopefully) use it ! on sonata.cc.purdue.edu : /pub/next/submissions/CubicSlider1.1.tar.Z /pub/next/submissions/CubicSlider1.1.README PS: Sorry for this double uploading ______________________________________________________________________ OK folks, rejoice! Why? Because I've submitted my Slider subclass palette (NS2.1) to the archive... There have been: - G.H. Anderson's RangeSlider (soon to be released by AFS ) - Don Yacktman's RotationSlider 1993 - CircularSlider (Vince Demarco 1991) - Andrew Stone's DualActingSlider 1990 - NeXT's MySlider and MySliderCell (Ensemble, ext. dev.version 2.1), - CubicSlider1.0 (me, 12 mars 1993) and now... for something a little different: ** the CubicSlider1.1 ** THIS one is THE definite Slider subclass!... Oops, the definite HORIZONTAL, FLAT Slider subclass... 8^) Plain Slider drawback #1: - high "granulosite" (i.e the finest mouse movement create a large value variation). Plain Slider drawback #2: - minValue and maxValue settings aren't accessible to the User. There are different existing solutions (ALT drag, popping panels, etc...), none completely satisfied me... Here's how I address the low resolution problem: Create a non-linear transfer function, (for which input is the knob position, and output, the slider value) with a very low slope region around the current knob position, thus giving a high precision (large knob moves give small value variations). On mouseUp, redefine the transfer function so its flattest zone still surrounds the new value. The function used is simply the cubic polynomial (without any extrema) y=x^3, adequately scaled and x y-translated for a) the point ( minValue, minValue) to be on the curve, b) the point ( maxValue, maxValue) to be on the curve too, c) the null slope point to be at y = "value previously selected". One inevitable consequence of the dynamical redefinition of the fct is the repositioning of the knob (on mouseUp) at a new position in the slider: new function, same y -> new x... It takes a little time to get used to, but the advantage is considerable: on a 100 pixels wide slider one can reach (in three or four trials) a desired value within a precision of 1 in 100 000... (a trial being a mouseDown, mouseDragging and mouseUp sequence). What about min and maxValues User access? Just dbl-clicking the slider ... "It just works, virtually." TM 8^) A NOTE FOR YOU BEGINNERS OUT THERE: ( I know: I'm one...) Subclassing Appkit objects is IMHO a good starting point to learn NeXStep programming... It gives occasions to meet overall concepts of NeXStep: views, delegation, events & responders, Cells VS Controls , etc... all this in a well contained small PERSONAL project (uhh? graph paper? Na. I want something of my own 8^). What's more, you can palettize it (IB custom palette) and make all of us benefice from your first NeXTsteps! Palettes are fun. passez une bonne journee, RL departement de physique, etat solide, 2e cycle, Raymond Lutz ND_cube_NeXT_newbe_wannabe lutzray@ERE.UMontreal.CA (ascii only)
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc From: anarch@media.mit.edu (Anne Wright) Subject: Re: Looking for Gnu BFD description of Mach-O file format Message-ID: <1993Mar20.045730.17379@news.media.mit.edu> Summary: Trying to use NeXT to compile for 68332 Sender: anarch@ai.mit.edu Organization: MIT Artificial Intelligence Laboratory References: <1993Mar18.163225.27843@ai.univie.ac.at> Date: Sat, 20 Mar 1993 04:57:30 GMT I am a student and spend most of my time working at the MIT AI Lab interfacing Motorola 68332 microcontrollers for robotics applications. A 68332 is basically a 68020 CPU with lots of nifty hardware interfacing support built in. So far, I have been compiling code for the 332 by using gcc on a Sun3 (also 68020 -- very convenient that way), linking only to my custom 332 libraries, producing non-relocatable code, and downloading the resulting binary to the 68332. However, Sun3s are a dying breed around the lab and it is inconvenient to use them exclusively. I recently bought a 68040 NeXTStation knowing that it runs gcc and thinking it would be easy to compile for the 332 using it -- just use gcc just the same as on the Sun3 and use the -m68020 option. However, my downloader only works with a.out format and cannot handle the Mach-O the NeXT insists on producing. Since binary formats are not something I am at all familiar with, I am finding this a challenging problem. I pulled over the source for gcc from prep.ai.mit.edu and tried to compile it as a cross-compiler from NeXT to Sun3. This worked just fine and it will happily compile my code as far as assembler, but it complains that it needs ld, and I have neither a clue how to make a cross-linker for the NeXT, or how the linker and assembler interact during a gcc compile. (ie, would gas help? but what about the libraries? Augh!!) So all the ways I can think of of being able to produce 68332 -digestible code on my NeXT have holes: 1) native NeXT gcc -> Mach-O -> a.out -> Downloader Can't do that because I have no Mach-O->a.out conversion... 2) native NeXT gcc -> Mach-O -> Downloader Can't do that because my Downloader can't deal w/Mach-O 3) gcc cross compiler -> linker/assembler -> a.out -> Downloader Can't do that because I have no idea how to make ld and/or as cross... The downloader is custom, but I didn't write it and binary formats are not something I much understand, so option 2 would be real difficult. I have no real feel for the relative difficulty of the other options. If anyone out there can help me with this I would be eternally grateful. This trivial-looking lack has already delayed some of my work by months. anarch@ai.mit.edu PS: Anybody know way to get decent Meta-key behavior out of emacs on the NeXT? "Command" does funky NeXT things and "alt" just prints funny characters. ESC-x works instead of M-x, but it just isn't the same for repetitive stuff and keyboard rebinding doesn't seem to be able to manage it... Sorry, I'm becoming a real Emacs nerd and not being able to figure this out either is a pain. I have no need for all this word processor flamage since I can't use anything but emacs anymore without spewing useless control characters, but it's not as much fun without Meta... --
Newsgroups: comp.sys.next.programmer From: matt@drefla.mese.com (Matt Brandt) Subject: Memory map of the slab and cube Message-ID: <1993Mar20.020643.248@drefla.mese.com> Sender: matt@drefla.mese.com Organization: Applied Engineering Date: Sat, 20 Mar 1993 02:06:43 GMT Can anyone point me to a physical memory map of the NeXTStation and NeXTCube? What I need to know is where the various I/O devices, memory, and unused spaces are. Thanks. matt
Newsgroups: comp.sys.next.programmer From: death@kira.net.netcom.com (David John Burrowes) Subject: Re: Programmatically doing power off Message-ID: <1993Mar19.041456.935@kira.net.netcom.com> Sender: death@kira.net.netcom.com Organization: No organization at this time. References: <armitage.731918960@milton> Date: Fri, 19 Mar 1993 04:14:56 GMT In article <armitage.731918960@milton> armitage@milton.u.washington.edu (Armitage) writes: > How about: > > system("/etc/shutdown now"); > > ;) Well, it ends up about the same as /etc/halt -p, in that it also doesn't give NeXTSTEP apps a chance to do proper clean up (if I have, for instance, an unsaved document in Edit, and I type either command, that doecument gets discarded without my being prompted to confirm whether to save it before the system goes down). Any other suggestions? \david john burrowes death@kira.net.netcom.com > death@kira.net.netcom.com (David John Burrowes) writes: > > >In article <64585@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: > >> In article <C2yux1.D9n@world.std.com> harryt@world.std.com (Harry D > >Tirrell) writes: > >> > Is there any way to power off the NeXT programmaticly? > >> > >> how about this ? > >> system ("/etc/halt -p"); > >> > >> you may need the binary to be setuid root to work. > > > >Maybe the original poster didn't mean this, but I've had interest, on > >occasion, in being able to power off a NeXT programatically, but doing it > >'politely' (so that NeXTSTEP apps are properly warned so they can > >gracefully shutdown if they like). Doing a halt -p doesn't do this. > > >Any way to accomplish this? > > >\david john burrowes > -- > > [gcc] [g++] > /*-------------------------- // --------------------------- > Peter (Z-man) Zatloukal // Peter (Z-man) Zatloukal
From: tjhendry@queen.mcs.drexel.edu (Jonathan Hendry) Newsgroups: comp.sys.next.programmer Subject: postgres adaptor Message-ID: <1993Mar20.024227.21923@netnews.noc.drexel.edu> Date: 20 Mar 93 02:42:27 GMT Sender: news@netnews.noc.drexel.edu Organization: Drexel University, Dept. of Math. and Comp. Sci. Has anyone a) Ported postgres to the NeXT b) written (or tried to write) a postgres adaptor? It seems to me that since postgres is public domain, it would be great for developers who want to try dbkit but can't afford to shell out for a database. Of course, it is pretty huge. -- Jonathan W. Hendry Drexel University College Of Info. Studies tjhendry@queen.mcs.drexel.edu "The experience of programming Windows vs. the experience of programming NeXTStep is like going to the dentist and having a root canal without anaesthetic vs. going to the dentist and having your gums cleaned w/some nitrous-oxide thrown in for the entertainment side of things." bbum@stone.co
From: root@azetsys.uucp (Operator) Newsgroups: comp.sys.next.programmer Subject: help Message-ID: <1993Mar20.151625.354@azetsys.uucp> Date: 20 Mar 93 15:16:25 GMT Organization: NONE Greetings! Up until now I have been only a news-reader, dreading setting up Cnews to post, but the need for information forced me to try it, let's hope it works. I am trying to compile Csound on NS 3.0, however the MIDI-related C-source (midirecv.c) still refers to the NS 2.x MIDI implementation, which is different from NS.3. I would like to ask someone who still running NS 2.x to kindly please mail me the documentations on MIDI, with that I will be able to figure out just what is what, and go my merry way. Thank you in advance, Geza Fekete -- Geza Fekete azetsys!root@uunet.UU.NET
From: root@azetsys.uucp (Operator) Newsgroups: comp.sys.next.programmer Subject: help Message-ID: <1993Mar20.152547.416@azetsys.uucp> Date: 20 Mar 93 15:25:47 GMT Organization: NONE Greetings! Up until now I have been only a news-reader, dreading setting up Cnews to post, but the need for information forced me to try it, let's hope it works. I am trying to compile Csound on NS 3.0, however the MIDI-related C-source (midirecv.c) still refers to the NS 2.x MIDI implementation, which is different from NS.3. I would like to ask someone who still running NS 2.x to kindly please mail me the documentations on MIDI, with that I will be able to figure out just what is what, and go my merry way. Thank you in advance, Geza Fekete -- Geza Fekete azetsys!root@uunet.UU.NET
Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA Newsgroups: comp.sys.next.programmer Message-ID: <Ufepfw200WB91IUhUc@andrew.cmu.edu> Date: Sat, 20 Mar 1993 12:57:16 -0500 From: Charles William Swiger <infidel+@CMU.EDU> Subject: Re: Looking for Gnu BFD description of Mach-O file format In-Reply-To: <1993Mar20.045730.17379@news.media.mit.edu> Excerpts from netnews.comp.sys.next.misc: 20-Mar-93 Re: Looking for Gnu BFD des.. by Anne Wright@media.mit.ed > I pulled over the source for gcc from prep.ai.mit.edu and tried to compile > it as a cross-compiler from NeXT to Sun3. This worked just fine and it > will happily compile my code as far as assembler, but it complains that it > needs ld, and I have neither a clue how to make a cross-linker for the > NeXT, or how the linker and assembler interact during a gcc compile. > (ie, would gas help? but what about the libraries? Augh!!) It sounds to me like you didn't get (or didn't install) the developer's version of NeXTstep. > So all the ways I can think of of being able to produce 68332 > -digestible code on my NeXT have holes: > 1) native NeXT gcc -> Mach-O -> a.out -> Downloader > Can't do that because I have no Mach-O->a.out conversion... > 2) native NeXT gcc -> Mach-O -> Downloader > Can't do that because my Downloader can't deal w/Mach-O > 3) gcc cross compiler -> linker/assembler -> a.out -> Downloader > Can't do that because I have no idea how to make ld and/or as cross... I'd try option 3. Get the binutils and get gas from prep.ai.mit.edu. Configure them for cross-compilation to the BSD a.out output format. The settings to cross-compile to a sun3 are likely to be very close to what you'll need. Take a look at the DESCRIPTIONS: binutils-1.9.tar.z The binutils comprise several small programs that are useful when dealing with compiled programs. They include `ar', `ld' (the linker), `nm', `size', `strip', and `gprof'. The programs support BSD (Berkeley) format binary files, as well as COFF-encapsulation (BSD format with a wrapper to allow you to run the binaries on COFF systems). Read the file "README" for instructions on compiling these programs. binutils-2.1.tar.z [...munch...] This release contains the following programs: `ar', `demangle', `ld' (the linker), `nm', `objdump', `ranlib', `size', `strip', and `gprof'. BFD (the Binary File Descripter) library is in the subdirectory `bfd' and is built along with GDB (which uses bfd). See the "README" file for further instructions on where to look for building the various utilities. gas-2.0.tar.z GAS is the GNU assembler. Version 2 has many changes over previous GAS releases. Most notable among the changes are the separation of host system, target CPU, and target file format (i.e. cross-assembling is much easier). Many CPU types and object file formats are now supported. Read the file "gas-2.0/gas/README" for instructions on building and using GAS. There are fairly extensive instructions on how to set up all of these programs to perform cross-compilation. > [munch] > PS: Anybody know way to get decent Meta-key behavior out of emacs on the > NeXT? "Command" does funky NeXT things and "alt" just prints funny > characters. ESC-x works instead of M-x, but it just isn't the same for > repetitive stuff and keyboard rebinding doesn't seem to be able to > manage it... Sorry, I'm becoming a real Emacs nerd and not being > able to figure this out either is a pain. I have no need for all this word > processor flamage since I can't use anything but emacs anymore without > spewing useless control characters, but it's not as much fun without > Meta... If you're running emacs in a Terminal window under NeXTstep 3.0, try selecting Info->Preferences->VT100 Emulation, and check "Alternate key generates Escape sequences" Then Alt will work properly as a Meta key. You can also get Emacs.app (3.0), which is a truly awesome emacs front end. If you're running NeXTstep 2.x, I believe that there's a similar preferences item, but I don't know the exact sequence. I'd *strongly* recommend getting the appropriate version of Emacs.app for whatever version of NeXTstep you have.... -Chuck Charles William Swiger -- CMU...*crunch*! | "Foosh. Aaughh!!" ------------------------------------------+ "Foosh. Aauuggghh!!" AMS & normal mail: infidel@cmu.edu | "Cold spray deodorant...." Failing that: cs4w+@andrew.cmu.edu | NeXTmail: chuck@mon.slip.andrew.cmu.edu | -- Opus, Bloom County [RIP]
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: postgres adaptor Message-ID: <1993Mar20.153238.6070@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1993Mar20.024227.21923@netnews.noc.drexel.edu> Date: Sat, 20 Mar 1993 15:32:38 GMT In article <1993Mar20.024227.21923@netnews.noc.drexel.edu> tjhendry@queen.mcs.drexel.edu (Jonathan Hendry) writes: > Has anyone > a) Ported postgres to the NeXT > b) written (or tried to write) a postgres adaptor? > > It seems to me that since postgres is public domain, it would > be great for developers who want to try dbkit but can't afford to > shell out for a database. > > Of course, it is pretty huge. R&A (that is us) is currently porting postgres to the NeXT computer running NeXTSTEP. This means that the backend will run on NeXT computers under NeXTSTEP. Expect the result in a couple of weeks. We are currently investigating the possibility of making a dbkit adaptor for postgres. The frontend already compiles easily on a NeXT. Which means you can use postgres on a NeXT already, provided the backend runs on another machine, like a Sun or a Decstation. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: ivor@cs.mcgill.ca (Ivo ROTHSCHILD) Subject: Graphics in Text (Object) Message-ID: <C47F24.8r6@cs.mcgill.ca> Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS - Mcgill University, Montreal, Canada Date: Sat, 20 Mar 1993 20:18:04 GMT Has anyone had any luck including graphics in a text object using replaceSelWithCell:. We have. :-) But there's a problem :-( When we do a copy on the text and graphic, and paste it into Edit (for example) there are marker characters inserted where the graphics should be even though we implement writeRichText:inView: to do nothing as we don't want the graphics to be copied. Does anyone know how to get the graphic cells to be omitted from the RTF stream? How about the ascii rep? We don't even get to write to the stream for that one. -ivo ivor@cs.mcgill.ca
Newsgroups: comp.sys.next.programmer From: zenon@resonex.com (Zenon Fortuna) Subject: Locking memory under NS3.x Message-ID: <1993Mar20.133447.12263@resonex.com> Organization: Resonex Inc., Fremont CA Date: Sat, 20 Mar 1993 13:34:47 GMT How to lock a part of the RAM memory and prevent it from swapping ? I have 64MB of RAM and want to run a fast "movie" switching between 100-150 windows (each about 300kB). I would like to lock in the memory at least the data for the drawn images, or may be the whole NXZone from which I allocate the objects for the movie session. Other operating systems (e.g. HPUX) provide means to lock in the memory the data or text of programs (utility plock() or function datalock()). I could not find anything similar under NeXTSTEP/Mach. Thank you for reading this ... -Z.
Newsgroups: comp.sys.next.programmer From: seungwoo@peca.cs.umn.edu (Seung-Woo Kim) Subject: Help: invoking programs from the workspace manager Message-ID: <seungwoo.732694829@peca> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Sun, 21 Mar 1993 06:20:29 GMT The subject line looks pretty dumb, but really I am having a trouble calling my program from the File Viewer. My program, which works just fine when called from the terminal, simply doesn't want to show up at all when called from the dock or by using "open" command from the terminal. Did anybody have similar problems, or have any ideas where I might have screwed up? The nature of my program is graphic intensive and uses a lot of auxiliary data files. Even though I am quite familiar with programming in C, I am rather new at NS(2.2). Any help will be appreciated. Thanks in advance. Seung-Woo Kim
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: RTF documentation, again... (A place to get it) Message-ID: <1993Mar21.112342.7700@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <C47o8B.99M@world.std.com> Date: Sun, 21 Mar 1993 11:23:42 GMT In article <C47o8B.99M@world.std.com> lloyd@world.std.com (Chris Lloyd) writes: > as usual I need answers that's have been posted a million times, but didn't > need at the time... > > Can someone point me to RTF format documentation, isn't there somewhere > on the net with this? > > Thanks a bunch, > Chris It's available as sun4nl.nluug.nl:pub/comp/NeXT/RichTextSpef.rtf (Hmm, I'll probably tell the sysadmin to compress the thing). -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: What version of the GNU C compiler runs on NS486beta? Message-ID: <1993Mar21.112810.7772@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Sun, 21 Mar 1993 11:28:10 GMT Since we discovered a bug in the 1.93 compiler that is used on NS 3.0, and we know that this bug is not there in gcc 2.3, we would like to know what version of gcc is the NS486 compiler. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: What are the quirks (if any) if you want to use gcc 2.3 under NS3.0? Message-ID: <1993Mar21.112851.7835@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Sun, 21 Mar 1993 11:28:51 GMT See subject. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: ugubser@avalon.physik.unizh.ch (gubser urs) Subject: Problem with system call sen Message-ID: <1993Mar21.142048.7824@ifi.unizh.ch> Sender: news@ifi.unizh.ch (USENET News Admin) Organization: University of Zurich, Department of Computer Science Date: Sun, 21 Mar 1993 14:20:48 GMT I am posting this for a friend, so please don't reply to me ------------------------------------------------------------ I think I'm encountering the following problem with the UNIX system call send() in the following circumstances: consider a sender & receiver connected via a local socket, stream mode, non-blocking. the receiver dies while or just before the sender calls send(). send() then raises a Mach exception EXC_SOFTWARE which I can see in gdb. When the sendirmally, it just disappears. No message, no core: great; this will make our dealers happy. In other words, when the receiver dies at the wrong time, the sender's send() call does nasty things to me, because I operate at a UNIX level. In my humble opinion, this is a bug with the NeXT-Mach version of the send(2) system call. Incidentally I'm runing below kernel: Mach kernel version: NeXT Mach 3.0: Wed Jul 29 19:43:28 PDT 1992; root(rcbuilder):mk-127.15/ BUILD/RELEASE_M68K Is there an easy way around this? (aside figuring out Mach exceptions...) Is this a known bug? will it still exist with NeXTStep/intel? Any answers would be appreciated. Either post to comp.sys.next.programmer, or send mail (preferred!) to bsz@ubszh.net.ch Thanks oh friends on the Net. Carl ------------- Carl Binding LHIS/LHDD-BSZ Union Bank of Switzerland Flurstrasse 68 CH-8048 Zurich Switzerland phone: +41 1 236 81 45 fax: +41 1 236 77 26 RFC822: bsz@ubszh.net.ch X.400: carl.binding@zh001.ubs.ubs.arcom.ch -- * Urs Gubser | Email: ugubser@amiga.physik.unizh.ch (NeXT - mail) * * Bergheimstrasse 7 | ugubser@avalon.physik.unizh.ch (NeXT - mail) * * Zuerich | * * Switzerland | Bix: urs *
From: matthews@oberon.umd.edu (Mike Matthews) Newsgroups: comp.sys.next.programmer Subject: DBKit Q's: Joining two on-screen table views Date: 21 Mar 1993 14:53:47 GMT Organization: University of Maryland, College Park, MD Distribution: world Message-ID: <1ohvhr$rip@umd5.umd.edu> I just received Simpla, and am trying to whip up a simple little database to kep track of my CD collection. The general gist of what I'm trying to do is have one table contain CD information (name of CD, artist, etc.) and another table contain song information (name of CD, name of song). I've got the CD stuff working fairly well; it loads up and displays peachylike. However, I'm trying to join the two tables on CD name so that when I select a CD in the CD table, the associated songs appear in the song table. I used DBModeler to create a link from CDs to Songs, joining on the names in a one to many relationship, outer join (tried equijoin too, didn't work either). Here's my datadictionary for what I'm using: CD number integer key # number of CD. No chrono. ordering. name # name of CD artist index # artist who made CD code size=3 # AAD, ADD, DDD length size=5 # length of CD mm:ss present size=1 # Y or N, whether or not it's here SongList SongList use=CD CD index # CD this song is on name # name of song length size=5 # length of song, mm:ss and DBModeler has a 'to many, outer' join from CD.name to SongList.CD. When I select a CD from the CD table, it tries to do something, and gives: Mar 21 09:38:34 lewhoosh InterfaceBuilder[22008]: Unknown error code 9002 in NXReportError For all I know, this could simply mean it can't find the SongList database. But it's there and in the correct format. My main question, is: Is this possible without writing any code? Also, I assume I'm going to have to write some controller object if I want to have buttons for Next Record/Previous Record/Save/etc. for both tables, as control-dragging to the DBModule object does not seem to take into account having more than one table up there. I unfortunately don't know too terribly much about databases (took a class in college, but, um, didn't do too well in it), but this seems like such a simple project. [One that can grow into such a beast where you stick a CD into the CD ROM, it'll recognize which one you put it and select it, then let you select which song(s) you want to hear... hey, I can dream just like anyone else.] Thanks for any help you can give me. ------ Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted) ------ To YOU I'm an atheist; to God, I'm the Loyal Opposition. -- Woody Allen
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Can you use gcc 2.3.3 on NS 3.0? Message-ID: <1993Mar21.161805.9338@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Sun, 21 Mar 1993 16:18:05 GMT Since they changed all kind of things with the preprocessor stuff and the place of the header files, are there special things you should do when installing gcc 2.3.3 on NS 3.0? Or is the gcc-2.3.3 distribution prepared for NS 3.0? 2nd Q: Can I just replace cc1obj, cc1plus from the /lib/m68k directory by the things I get when I compile gcc 2.3.3? Thanks, -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Re: What are the quirks (if any) if you want to use gcc 2.3 under NS3.0? Message-ID: <1993Mar21.170120.6291@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Mar21.112851.7835@rna.indiv.nluug.nl> Date: Sun, 21 Mar 93 17:01:20 GMT In article <1993Mar21.112851.7835@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > See subject. > > -- > Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 > "If you don't know where you are going, any road will > take you there." From the Talmud(?), rephrased in > Lewis Carroll, "Alice in Wonderland". Well, a couple of people have asked this and related questions lately so I thought I'd post my experiences. I use C++ and since the combination gcc-2.3.3 / libg++-2.3 has significant advantages over cc++ (= gcc-1.93) / libg++-1.39.0 (which is the latest version that will compile under cc++), I have been forced to get both. Anyway, both these packages are available from prep.ai.mit.edu (use archie to check for a more local site), and they compile without any problems on a fresh 3.0 system. Building gcc in particular is a joy: the GNU people deserve individual MacArthur's! The installation instructions in the packages are easy to follow and they work. You can use "./configure --target=m68k-next-mach", and that is the extent of the hacking you need. I have built gcc on our other machines (Sparc and Dec) as well, and "it just works..." ;-) It is mentioned in the installation instructions for gcc that you need to have "bison" installed. This is true. What is not mentioned is that you need GNU's "make" on a NeXT. Both of these programs are available from the same source as gcc, and are easy to build. In summary then, the only disadvantage I see to getting the new versions of gcc/libg++ is that they take a bit of disk space. Gcc seems to take up approximately 9-10 MB and libg++ takes another 3 MB. You also need to have around 40 MB free to build gcc. This may be a problem for some people. Disclaimer 1: I have not built the latest versions of bison and make, but see no reason why they should be harder now. Disclaimer 2: Although I built gcc to have Objective-C capabilities, I have not tested them myself. I keep cc around to build NeXT stuff from archives. Hope this helps, -Magnus -- Magnus Nordborg Department of Biological Sciences Stanford University magnus@fisher.stanford.edu (NeXT mail preferred) P.S. I will *not* post the these programs to sonata.cc.purdue.edu as that seems unnecessary duplication of archives. I feel that in general, if any NeXT specific hacks are necessary, they should be reported to the original source so that they can be incorporated in the distribution. In my limited experience, much of the GNU software now has configuration options for NeXT, and so no hacking is necessary.
Newsgroups: comp.sys.next.programmer From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Subject: Re: What version of the GNU C compiler runs on NS486beta? Message-ID: <1993Mar21.183401.8914@sifon.cc.mcgill.ca> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1993Mar21.112810.7772@rna.indiv.nluug.nl> Date: Sun, 21 Mar 1993 18:34:01 GMT In article <1993Mar21.112810.7772@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: >Since we discovered a bug in the 1.93 compiler that is used on NS 3.0, and we >know that this bug is not there in gcc 2.3, we would like to know what version >of gcc is the NS486 compiler. > Last I heard it was gcc 2.2.2, though I suppose they'll use gcc 2.2.3, as it fixed a few bugs in gcc 2.2.2 - db >-- >Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 > "If you don't know where you are going, any road will > take you there." From the Talmud(?), rephrased in > Lewis Carroll, "Alice in Wonderland".
From: matthews@oberon.umd.edu (Mike Matthews) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1ohvhr$rip@umd5.umd.edu> Control: cancel <1ohvhr$rip@umd5.umd.edu> Date: 21 Mar 1993 18:29:17 GMT Organization: Los Alamos National Laboratory, NM Distribution: world Message-ID: <1oic5t$jg@umd5.umd.edu> References: <1ohvhr$rip@umd5.umd.edu> This message was cancelled from within rn.
From: clp@home.HarvardSq.COM (Charles L. Perkins) Newsgroups: comp.sys.next.programmer Subject: Re: License Servers for NS/FIP Message-ID: <1993Mar21.213254.14537@das.harvard.edu> Date: 21 Mar 93 21:32:54 GMT Article-I.D.: das.1993Mar21.213254.14537 References: <1993Mar19.234813.11133@metrosoft.com> Sender: usenet@das.harvard.edu (Network News) Organization: Division of Applied Sciences, Harvard University In article <1993Mar19.234813.11133@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: > Anybody know of and can recommend any license servers for > NeXSTEP/Intel? Of course it'd have to be available in fat-binary form. Paul Murphy (murphy@gun.com) is working on a general LicenseKit that provides a general architecture for arbitrary Network Licensing Schemes. I bet he's going to make an Intel version of it as well. E-mail him and ask (plus encourage him if you like the idea!). Charles
From: tjhendry@queen.mcs.drexel.edu (Jonathan Hendry) Newsgroups: comp.sys.next.programmer Subject: Services & workspace Message-ID: <1993Mar21.232941.2779@netnews.noc.drexel.edu> Date: 21 Mar 93 23:29:41 GMT Sender: news@netnews.noc.drexel.edu Organization: Drexel University, Dept. of Math. and Comp. Sci. Okay. I'm trying to add a service to my app. I want to be able to get a selected file's filename from the Workspace. Right now, I'm receiving NXAsciiPboardType, and I can only get the file name if the user clicks on the filename and makes it editable. Do I need to accept NXFilenamePboardType? Will that do what I need? Thanks, -- Jonathan W. Hendry Drexel University College Of Info. Studies tjhendry@queen.mcs.drexel.edu "The experience of programming Windows vs. the experience of programming NeXTStep is like going to the dentist and having a root canal without anaesthetic vs. going to the dentist and having your gums cleaned w/some nitrous-oxide thrown in for the entertainment side of things." bbum@stone.co
From: ramesh@mishna.esys.cwru.edu (Ramesh Doddamani) Newsgroups: comp.sys.next.programmer Subject: Unable to load Interface Builder - Help! Date: 22 Mar 1993 05:30:53 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1ojiudINN4d6@usenet.INS.CWRU.Edu> Hello When I try to load IB, it pops up a panel with the message: Runtime error: NXReadOnlyString: does not recognize selector - replaceWith: In the Console window, I see the following message: Mar 22 00:08:40 mishna InterfaceBuilder[260]: An uncaught exception was raised Mar 22 00:08:40 mishna InterfaceBuilder[260]: Unknown error code 314159 in NXReportError Could somebody tell me what's happenning here? Thanks Ramesh -- ******************************************************************** Ramesh Dodamani <<REPLY TO rxd20@po.cwru.edu>> Case Western Reserve University Cleveland OHIO ********************************************************************
From: Anne.Wright@f236.n104.z1.FIDONET.ORG (Anne Wright) Newsgroups: comp.sys.next.programmer Subject: Re: LOOKING FOR GNU BFD DESCRIPTION OF MACH-O Message-ID: <913.2BACF0AC@paranet.FIDONET.ORG> Date: 20 Mar 93 21:39:00 GMT Sender: ufgate@paranet.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:104/236 - MacCircles, Genesee CO -- Anne Wright - via ParaNet node 1:104/422 UUCP: !scicom!paranet!User_Name INTERNET: Anne.Wright@f236.n104.z1.FIDONET.ORG
From: ramesh@mishna.esys.cwru.edu (Ramesh Doddamani) Newsgroups: comp.sys.next.programmer Subject: Re: Unable to load Interface Builder - Help! - SOLVED Date: 22 Mar 1993 08:32:34 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1ojtj2INNdvi@usenet.INS.CWRU.Edu> References: <1ojiudINN4d6@usenet.INS.CWRU.Edu> In article <1ojiudINN4d6@usenet.INS.CWRU.Edu> ramesh@mishna.esys.cwru.edu (Ramesh Doddamani) writes: > > Hello > > When I try to load IB, it pops up a panel with the message: > > Runtime error: NXReadOnlyString: does not recognize selector > - replaceWith: > > In the Console window, I see the following message: > > Mar 22 00:08:40 mishna InterfaceBuilder[260]: An uncaught exception was > raised > Mar 22 00:08:40 mishna InterfaceBuilder[260]: Unknown error code 314159 in > NXReportError > I was going through the 3.0 IB Release Notes, and as per what was stated there removed the ~/.Next/defaults.nibd file. IB is now OK. Ramesh
From: mshaler@tdocad.sps.mot.com (Michael Shaler) Newsgroups: comp.sys.next.programmer Subject: Re: Unable to load Interface Builder - Help! Message-ID: <1993Mar22.075904.29945@tkymail.sps.mot.com> Date: 22 Mar 93 07:59:04 GMT References: <1ojiudINN4d6@usenet.INS.CWRU.Edu> Sender: news@tkymail.sps.mot.com Organization: Nippon Motorola Ltd., Tokyo, Japan Ramesh Doddamani writes Runtime error: NXReadOnlyString: does not recognize selector - replaceWith: When I've encountered this problem in the past, it was because I was trying to auto-load a corrupted pallette at IB's startup. The simple workaround is to delete the following hidden file in your directory: ~/.NeXT/defaults.nibd If this doesn't fix the problem, then you're in trouble deeper than I know what to do with... Hope this helps. --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 voice +813 3440 0033 fax mshaler@tdocad.sps.mot.com [NeXTmail]
From: ruppert@next1.rz.fh-heilbronn.de (Michael Ruppert) Newsgroups: comp.sys.next.programmer Subject: looking for 3.0 proof palettes Date: 22 Mar 1993 14:17:27 GMT Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: <1okhpn$r35@nic.BelWue.DE> [1] If anybody knows something about the nxyPalette and if there is a NS 3.0 version of it. I would like to know where I can get it. [2] Is there a list with all PD palettes available. [3] Does anybody know a good text or book about (programming) developing palettes. I just read the Mahoney book. But there are no tips how to work out the possibilities of palettes. I m still at the beginning, but I think IB is a very powerfull tool and all I might need for now are some more palettes. Thanks Michael Ruppert ruppert@next1.rz.fh-heilbronn.de NeXT Mail very welcome.
Newsgroups: comp.sys.next.programmer From: jfreem@ecsvax.uncecs.edu (Joe Freeman) Subject: writing into a segment of an executable Message-ID: <1993Mar22.155839.29189@ecsvax.uncecs.edu> Organization: UNC Educational Computing Service Distribution: usa Date: Mon, 22 Mar 1993 15:58:39 GMT I'm trying to figure out a way to write into a segment of an application file, programaticly. Basicly, I want to write a serial number into a segment of the application as part of the packager installation process. Or, I'd like the info panel to write to a segment of the executable (that would be best actually). I know I can use segedit from a shell. But, that makes an extra copy of the file, and I really don't want to do that if I don't have to. -- Joe Freeman jfreeman@FreemanSoft.com (919).783.7033 The opinions espressed here are my own and are not shared by my former employer.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Hot Technologies Introduces Distributed Serial Port Kit Message-ID: <7111@rosie.NeXT.COM> Date: 22 Mar 93 17:55:53 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.programmer News: For further information, contact: Robert La Ferla Hot Technologies 75 Cambridge Parkway, Suite E-504 Cambridge, Massachusetts 02142-1238 USA Phone: (617) 252 0088 or + 1 617 252 0088 Email: info@hot.com FOR IMMEDIATE RELEASE HOT TECHNOLOGIES INTRODUCES DISTRIBUTED SERIAL PORT KIT An Innovative Client-Server Paradigm for Serial Communications March 22, 1993 BOSTON - Hot Technologies today introduced a comprehensive object library and palette for client - server control of serial peripherals in custom NeXTSTEP(R) applications. The SerialPortKit(TM) is designed to help organizations and developers control a variety of serial devices such as modems, printers, terminals, audio/video equipment, bar code readers, magnetic stripe card readers, controllers and data acquisition devices. The advanced distributed architecture of the SerialPortKit allows a client application to remotely access serial devices anywhere on a network. An organization can use the SerialPortKit to share dial-out modems in a department whether the modems are located in the same building or halfway across the world. Organizations can easily incorporate the SerialPortKit into their custom applications due to its professionally designed and truly object-oriented programming interface. The included Interface Builder(TM) palette, source code examples and on-line reference manuals further removes the tedious task of traditional serial port programming. Reliability and robustness add to the sophistication of the SerialPortKit. The serial port server technology utilizes multiple threads of execution and tri-state buffering for optimal speed and efficiency in a network environment. Other features include asynchronous and synchronous communications including automatic data forwarding, automatic port locking which allows other software to share the serial ports, and built-in network data security. SerialPortKit joins Hot Technologies' BarCodeKit, a comprehensive object library for generating bar codes. By combining the power of object-orientation and PostScript into a comprehensive library of international standard bar code symbologies, BarCodeKit represents the state of the art in bar coding technology. Availability and Pricing Both the SerialPortKit and BarCodeKit are available now for NeXTSTEP 3.0 directly from Hot Technologies. Customers who purchase either kit before July 1, 1993 are eligible for a free upgrade to the NeXTSTEP for Intel(R) Processors version. In addition, developers who have purchased other serial communication objects prior to March 1, 1993 can upgrade to the SerialPortKit for $49.95 plus proof of purchase. Hot Technologies develops, markets and supports component software and hardware that allows organizations to construct automated solutions for increased productivity. Hot Technologies is headquartered at 75 Cambridge Parkway, Suite E-504, Cambridge, Massachusetts 02142-1238 USA. Call Hot Technologies at + 1 617 252 0088 for further information or for a copy of the company's brochures. Hot Technologies, SerialPortKit, and BarCodeKit are trademarks of Hot Technologies. NeXTSTEP and Interface Builder are trademarks of NeXT Inc. Intel is a registered trademark of Intel Corporation.
From: rog@ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: are 16 bit characters possible in a Text object ? Message-ID: <1993Mar22.152846.18505@ohm.york.ac.uk> Date: 22 Mar 93 15:28:46 GMT Organization: Electronics Department, University of York, UK Is it possible to change the underlying representation of the text in a Text object ? I have an application in which the underlying characters are 16 bit, and in which the text is 'read-on-demand' (I want to provide the text dynamically, rather than letting the Text object cache all of it) Are either of these things possible without a) rewriting the whole thing from scratch or b) overriding so many methods that you're effectively doing that anyway ? thanks for any help, rog. roger peppe -- rog@ohm.york.ac.uk adaptive systems engineering, university of york, england
Newsgroups: comp.sys.next.programmer From: jeske@ux4.cso.uiuc.edu (David Jeske) Subject: NeXT TIFF Selection Date: Mon, 22 Mar 1993 20:17:48 GMT Message-ID: <C4B4Do.B6x@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana I seem to remember something about how multiple tiffs (of different types primarily color and b&w) can be put into application and the right one for the display will automatically be chosen. I seem to remember it being based on naming conventions. I need information about this, and do not currently have a NeXT (and thus the online documentation) readily available. Please send help via email... Thanks! David Jeske / University of Illinois at Champaign Urbana jeske@ux4.cso.uiuc.edu jeske@atlantis.eid.anl.gov -- David Jeske(N9LCA)/CompEng Student at Univ of Ill at Cham-Urbana/NeXT Programmer CoCreator of the GinsuTalk Chat Software System - online at (708)998-0008 Mail: jeske@ux4.cso.uiuc.edu NeXTMail: jeske@sumter.cso.uiuc.edu jeske@atlantis.eid.anl.gov Talk: jeske@armageddon.slip.uiuc.edu
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: What are the quirks (if any) if you want to use gcc 2.3 under NS3.0? Message-ID: <1993Mar22.201046.14302@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1993Mar21.170120.6291@leland.Stanford.EDU> Date: Mon, 22 Mar 1993 20:10:46 GMT In article <1993Mar21.170120.6291@leland.Stanford.EDU> magnus@fisher.Stanford.EDU (Magnus Nordborg) writes: > In article <1993Mar21.112851.7835@rna.indiv.nluug.nl> > gerben@rna.indiv.nluug.nl writes: > > See subject. > > > It is mentioned in the installation instructions for gcc that > you need to have "bison" installed. This is true. What is not > mentioned is that you need GNU's "make" on a NeXT. Both of these > programs are available from the same source as gcc, and are easy to > build. You can do without both. I got it working with /bin/make and without bison. Bison is probably only needed if some of the .c files are older than .y files, but the gcc-2.3.3 package I got has all of them available. > > In summary then, the only disadvantage I see to getting the > new versions of gcc/libg++ is that they take a bit of disk space. Gcc > seems to take up approximately 9-10 MB and libg++ takes another 3 MB. > You also need to have around 40 MB free to build gcc. This may be a > problem for some people. You need 60MB if you want to make the stage2 compiler also and make the final version with it.. Also /usr/local/lib/gcc-lib indeed takes up 9MB after make install. And don't forget the archive itself is another 5MB. > > Disclaimer 1: I have not built the latest versions of bison and > make, but see no reason why they should be harder now. See above.. > Hope this helps, One thing I ran across: running make as root failed on a move-if-change statement. I thought it had to do with not having '.' in my path, but the Makefile.in only mentions ./move-if-change. I don't know what went wrong. As ordinary user all everything compiled OK. Oh yeah, gcc does not recognize // style comments outside c++ source. Too bad. As I hear, some of NeXT's c headers have // comments. And everything seems to work even if NeXT header files are in completely other directories than other systems! Wow! Last remark. You need the new GNU gzip utility to uncompress the current gcc-2.3.3.tar.z archive (that's right, a lower 'z'). It's on the FSF archives too. Anyway, the thing compiled and installed OK. The only thing left is to use it... -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: NeXT won't give upgrades of compiler to NS3.0 owners. Message-ID: <1993Mar22.201407.14365@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Mon, 22 Mar 1993 20:14:07 GMT [I asked NeXT:] Hello people, will there be an upgrade shortly for people with "obsolete" hardware that will upgrade their compiler stuff? I'm asking because as a developer, I want to be able to make fat binaries of the stuff that will be released and second because of the fact that the gcc 1.93 compiler set has some bugs (that I reported already). [This is the answer I got:] At this time NeXT does not have and upgrade plan in the works. If a plan does arise in the future we will notify you. Thank you for contacting NeXT Customer Support. [no comment] -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
From: herring@iesd.auc.dk (B. Erickson Herring) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT won't give upgrades of compiler to NS3.0 owners. Message-ID: <HERRING.93Mar23001307@freja.iesd.auc.dk> Date: 22 Mar 93 23:13:07 GMT References: <1993Mar22.201407.14365@rna.indiv.nluug.nl> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University In-Reply-To: gerben@rna.indiv.nluug.nl's message of Mon, 22 Mar 1993 20:14:07 GMT Gerben is: Gerben Wierda <gerben@rna.indiv.nluug.nl> Gerben> [I asked NeXT:] Gerben> Gerben> Hello people, Gerben> will there be an upgrade shortly for people with "obsolete" Gerben> hardware that will upgrade their compiler stuff? I'm asking Gerben> because as a developer, I want to be able to make fat binaries Gerben> of the stuff that will be released and second because of the Gerben> fact that the gcc 1.93 compiler set has some bugs (that I Gerben> reported already). Gerben> Gerben> [This is the answer I got:] Gerben> Gerben> At this time NeXT does not have and upgrade plan in the works. Gerben> If a plan does arise in the future we will notify you. Thank Gerben> you for contacting NeXT Customer Support. Gerben> Gerben> [no comment] NeXT has announced both publicly and in internal communications to its resellers (of which I am one) that NeXTSTEP 3.1, which certainly qualifies as an upgrade in the sense that you describe, will be released very shortly after May 25th. The new compiler will be based on version 2.2.x of the GNU C Compiler, and I am certain that the source will be made available asap. If this is not what you meant, maybe I have some other information that I can relate to you in email. Feel free to write. Erick -- ----- Erick Herring | Computation is the art of carefully throwing NeXT Salg og Teknik | away information [and] Life is the art of Polyteknisk Data, | carefully throwing away opportunities, an Lyngby, Danmark | interesting coincidental parallel. herring@pd.dth.dk | - Guy L. Steele Jr.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.advocacy Subject: Hypercard Compatibility for NeXTSTEP Users from Thoughtful Software Message-ID: <7135@rosie.NeXT.COM> Date: 22 Mar 93 23:26:12 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.programmer News FOR IMMEDIATE RELEASE Contact: Mishelle McClure Baun Thoughtful Software 616 East Locust St. Fort Collins, CO 80524 Phone: (303) 221-4596 Fax: (303) 221-0841 email: info@thoughtful.com THOUGHTFUL SOFTWARE SHIPS PRE-RELEASE VERSION OF HYPERSENSE Breakthrough product offers Hypercard Compatibility to NeXTSTEP users FORT COLLINS, Colorado, March 15, 1993 - Thoughtful Software announced today that HyperSense (tm), the advanced hypermedia authoring software for the NeXTSTEP operating system, has begun shipping in a pre-release version. HyperSense is a powerful HyperCard (rtm)-compatible authoring system which enables users to create their own multimedia documents and applications. "When we set out to create HyperSense, our goal was not simply to duplicate the functionality of HyperCard, but to create a much richer environment, giving users even greater flexibility and ease of use, while still maintaining backward compatibility with HyperCard Stacks," states Douglas Simons, product manager and founder of Thoughtful Software. "I think we've succeeded admirably on both counts." With HyperSense, a user can quickly and easily create a wide variety of documents, including simple brochures, personal databases, interactive tutorials, and business presentations. "NeXTSTEP users have been waiting for software which would allow an average user to develop multimedia documents, complete with built-in scripts for navigating through the document," said Mr. Simons. HyperSense not only allows a user to store and organize many types of information, but also to infuse that information with additional meaning. The ability to add simple scripts to any object in a document enables the user to bring that document to life, manipulate the information it contains in virtually any way imaginable, and establish connections to information in other documents. HyperSense provides the ability to construct these "interactive documents" without complex programming, and with complete freedom to modify the structure of a document at any time. "What is unique about HyperSense software is that it brings the flexibility of Interface Builder together with a truly accessible scripting language," continues Simons. The English-like scripting language, SenseTalk, allows users almost unlimited flexibility in what they create, without requiring a large initial investment of time. The SenseTalk language itself can be extended with External Modules containing new SenseTalk commands, written in Objective-C. The NeXTSTEP user community is excited about the introduction of HyperSense. As Eric Celeste, longtime NeXT enthusiast and former editor of the Boston Computer Society's NeXT newsletter put it, "HyperSense is great. It is so nice to be able to create helpful applications so quickly again. I am very excited to have this tool in my NeXT bag of tricks." Key Features of HyperSense include: - SenseTalk Scripting Language, compatible with HyperTalk - Object Oriented Drawing, with multiple layers on a page - Word Processing, including multiple fonts, embedded graphics, and spell-checking - Data Base Creation, with both fixed formats and customization of individual pages - Importing of HyperCard Stacks - Powerful Tools for Browsing, Inspecting, and Modifying Documents - Digital Audio Recording & Editing - Button and Field Creation and Inspection Tools - Import and Export of TIFF and EPS Graphics - Custom Tool Palettes, with pre-scripted objects ready to drag into any document - XModule Developers Kit to facilitate custom extensions to the SenseTalk language The pre-release version of HyperSense is available for $299 from Thoughtful Software ($99 for students). This price includes a free upgrade to HyperSense 1.0, which is scheduled to debut to 10,000 people on May 25th at the NeXTWorld Expo in San Francisco. After May 31st, the retail price of HyperSense will be $499. HyperSense will be available later this summer in a version for Intel-based computers which are running NeXTSTEP for Intel processors. Thoughtful Software, established in 1988, creates software solutions for the NeXTSTEP environment. The company's goal is to enable every user of NeXTSTEP to access the full power of the computer for their own needs. NeXT Computer, Inc. develops and markets the industry-acclaimed NeXTSTEP object-oriented software for industry-standard computer architectures such as the Intel486 and Pentium. NeXTSTEP is used by corporate customers to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. HyperSense and SenseTalk are trademarks of Thoughtful Software. HyperCard and HyperTalk are registered trademarks of Apple Computer, Inc. NeXT and NeXTSTEP are trademarks of NeXT Computer, Inc. -30-
From: buzy@quads.uchicago.edu (Len Buzyna) Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster Subject: DidYouKnow... Message-ID: <1993Mar22.230023.18303@midway.uchicago.edu> Date: 22 Mar 93 23:00:23 GMT Sender: news@uchinews.uchicago.edu (News System) Distribution: usa Organization: University of Chicago Computing Organizations Today Japan owns the 7/11 store chain, Dunlop, Universal Pictures, Columbia Pictures, Loews Theaters, MCA Home Entertainment, Tri-Star Pictures, CBS Records, Columbia Records, Spencers stores, Ciniplex Odeon (a big part), Firestone Tires and many many more very large US companies while Americans are prevented from owning any important Japanese concerns. To find out more about this (and get a more complete list of the above), read (JAPANYES) "Does America Say Yes To Japan?";Louis Leclerc 1992,93 which is available free on INTERNET. (most recent edition is v031993). This thoughtfully written and important article has been circulating widely in many of America's biggest corporations & universities like IBM & Harvard. When you read it (it takes about 30 minutes), you'll see why. The essay provides a frightening yet fascinating detailed, referenced overview of the Japanese industrial machine at work and how Japan practices 'business is war' strategies to target and take over strategic critical U.S. industries like high technology, popular media and heavy industry as well as influence the decisions of the US government in favor of Japan. It is a very moving piece and is filled with many verifiable and disturbing examples. You can get JAPANYES 1 of 3 ways: 1)FTP to monu6.cc.monash.edu.au it's in directory: pub/nihongo as: JAPANYES 2)The article has been posted in its entirety (in three sections however) in the misc.test & soc.culture.usa & sci.econ newsgroups. Search on the author 'buzy' or the title 'article' to find the posts. 3)Email a request for JAPANYES to ar12@midway.uchicago.edu He will email you a copy.
From: jgreen@next.com (Jack Greenfield) Newsgroups: comp.sys.next.programmer Subject: Re: Indexing Kit examples? Message-ID: <7136@rosie.NeXT.COM> Date: 22 Mar 93 23:32:32 GMT References: <1nmkltINNnev@tamsun.tamu.edu> Sender: news@NeXT.COM In article <1nmkltINNnev@tamsun.tamu.edu> dls7627@tamuts.tamu.edu (David Slotnick) writes: > > Has anyone seen any good (and simple) examples using the > Indexing Kit? All I want to do is write a symbol table which > contains generic objects acessible by a string tag. I've > tried using an IXStoreDirectory to handle the object/name > associations automatically, but have become extremely > confused. If you've seen any good examples on an ftp site, > please let me know. Better yet, if you've done any > work with the Indexing Kit, maybe you could send me some > simple code that you've written... > > *********************************************************************** > David Slotnick > Texas A&M University > dls7627@tamsun.tamu.edu (NeXTMail accepted and encouraged) > *********************************************************************** Try this: unsigned myBlock; unsigned *myPointer; IXStore *myStore; IXBTree *myBTree; IXBTreeCursor *myCursor; // open a named BTree in a file myBTree = [[IXBTree alloc] initFromName:"MyBTree" inFile:filename forWriting:YES]; if (myBTree == nil) { // it wasn't there, so create it myBTree = [[IXBTree alloc] initWithName:"MyBTree" inFile:filename]; } // now find the BTree's store and get a cursor myStore = [myBTree getBlock:&theBlock andStore:&theStore]; myCursor = [[IXBTreeCursor alloc] initWithBTree:myBTree]; // look for an object by name; string is the default key type if ([myCursor setKey:"MyObject" andLength:1 + strlen("MyObject")]) { // found the named object; read it's handle myPointer = &myBlock; [myCursor readValue:(void **) &myPointer]; NXSwapBigLongToHost(myBlock); // for those using NS/I // now read the object from the store myObject = IXReadObjectFromStore(myStore, myBlock, NXDefaultMallocZone()); } else { // create the named object myObject = [[MyClass alloc] init]; // put it in the store myBlock = IXWriteRootObjectToStore(myStore, 0, myObject); NXSwapHostLongToBig(myBlock); // for those using NS/I // and associate the current key with it in the BTree [myCursor writeValue:&myBlock andLength:sizeof(unsigned)]; } Under 3.1, this is all done for you by IXStoreDirectory. Under 3.0, IXStoreDirectory only stores named objects that conform to the IXBlockAndStoreAccess protocol, but under 3.1, it stores any object that can be effectively initialized with init. Here's an example that demonstrates the explicit creation of the root store directory. You can also name this store directory as we did the BTree in the example above; just skip down to the last few lines of this example, in that case. unsigned myBlock; IXStore *myStore; IXStoreDirectory *myStoreDirectory; // open a named store file myStore = [[IXStoreFile alloc] initFromFile:filename forWriting:YES] if (myStore == nil) { // file does not exist, so create it myStore = [[IXStoreFile alloc] initWithFile:filename]; } // open the root StoreDirectory in the file // by convention, this is always at block 1. // opening by name hides the root store directory. myStoreDirectory = [[IXStoreDirectory alloc] initFromBlock:1 inStore:myStore]; if (myStoreDirectory == nil) { // it wasn't there, so create it myStoreDirectory = [[IXStoreDirectory alloc] initInStore:myStore]; [myStoreDirectory getBlock:&myBlock andStore:&myStore]; if (myBlock != 1) { // the store has already been used // and configured in an unconventional manner // the convention cannot be followed, // since block 1 is already used for something // blow off the store directory and return [myStoreDirectory freeFromStore]; return nil; } } // now look for the entry // if we named the directory, this is where we join this example myObject = [myStoreDirectory openEntryNamed:"MyObject"]; if (myObject == nil) { // it wasn't there, so create it [[myObject alloc] init]; // put it into the store directory [myStoreDirectory addEntryNamed:"MyObject" forObject:myObject]; } Hope this helps. Jack Greenfield Software Engineer NeXT Computer, Inc.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc Subject: Update: NeXTSTEP for Intel Processor - Developer Pre-Release CDROM Message-ID: <7137@rosie.NeXT.COM> Date: 23 Mar 93 00:22:51 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy Hello, The NeXTSTEP Developer Pre-Release CD-ROM went out in the mail today to all supported NeXTSTEP for Intel Processor beta release sites. Conrad Geiger Manager, International NeXT User Groups <Computer professionals using Object-oriented technology today>
Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster From: bradley@adx.adelphi.edu (Rob Bradley) Subject: Re: DidYouKnow... Message-ID: <1993Mar23.005343.3903@adx.adelphi.edu> Organization: Adelphi University References: <1993Mar22.230023.18303@midway.uchicago.edu> Distribution: usa Date: Tue, 23 Mar 1993 00:53:43 GMT This guy Len posts an article telling us about a "frightening" aticle concerning Japanese "war" practices. My questions: * what has this got to do with alt.beer? * why is the distribution 'usa'? Don't want the rest of the world to see your xenophobia? ObBeer: Brooklyn Brown is a very satisfying dark ale, and a decent price for a micro. Don't you think it's way to dark for the style, though? -- Rob Bradley --> bradley@adx.adelphi.edu <-- "For a quart of ale Dept of Math & Computer Science (516)877-4496 is a dish for a king." Adelphi University, Garden City, NY 11530 William Shakespeare
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBModules and check boxes Message-ID: <1993Mar22.132931.4099@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Mon, 22 Mar 93 13:29:31 GMT Has anyone gotten a DBModule to connect a bit field to a check box? We have a number of fields that are either 0 or 1 and would like to use check boxes for the interface but when we tried connecting the field in the DBModule to the check boxes the results were erratic. Sliders 0 to 1 worked a little better but is not the desired interface nor was it fully reliable. Are we missing something or is this a bug in 3.0? If so will it be fixed in 3.1? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: dls7627@tamuts.tamu.edu (David Slotnick) Newsgroups: comp.sys.next.programmer Subject: Alternative to indent? Date: 23 Mar 1993 02:01:08 GMT Organization: Texas A&M University, College Station Distribution: usa Message-ID: <1olr14INNjb@tamsun.tamu.edu> The "indent" program, although useful, is limited in many ways. Does anyone have a better alternative? *********************************************************************** David Slotnick Texas A&M University dls7627@tamsun.tamu.edu (NeXTMail accepted and encouraged) ***********************************************************************
Newsgroups: comp.sys.next.programmer From: kunal@passion.pilot.dmg.ml.com (Kunal Singh) Subject: DBKit Message-ID: <1993Mar22.150057.23935@pilot.dmg.ml.com> Keywords: I've seen this problem posted before, but I don't remember the solution. Sender: kunal@passion (Kunal Singh) Organization: Merrill Lynch Debt Markets Group Date: Mon, 22 Mar 1993 15:00:57 GMT In the DBKit, using a Sybase adaptor, inserts tend to result in syntax errors. Does anyone out there know what causes this problem ? Please post responses to news group as my return path may not be correct. Thanks.
Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster,alt.flame From: tweek@netcom.com (Michael D. Maxfield) Subject: Re: DidYouKnow... Message-ID: <tweekC4BK5o.22M@netcom.com> Followup-To: alt.flame Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1993Mar22.230023.18303@midway.uchicago.edu> <1993Mar23.005343.3903@adx.adelphi.edu> Distribution: usa Date: Tue, 23 Mar 1993 01:58:36 GMT In article <1993Mar23.005343.3903@adx.adelphi.edu> bradley@adx.adelphi.edu (Rob Bradley) writes: >This guy Len posts an article telling us about a "frightening" aticle >concerning Japanese "war" practices. My questions: > > * what has this got to do with alt.beer? Maybe he drank to much of that rice beer;-) > * why is the distribution 'usa'? Don't want the rest of > the world to see your xenophobia? > Sorry, I didn't narrow down the crossposting.... but this guy has posted several different crossposts that don't even come close to being related.. ... The best one I saw so far was rec.hockey and Knitting combined.
From: pauls@css.itd.umich.edu (Paul Southworth) Newsgroups: comp.sys.next.programmer,comp.unix.programmer,comp.lang.perl Subject: Compiling Perl on a *&#$! NeXT Date: 23 Mar 1993 02:33:10 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1olst6INNrjd@stimpy.css.itd.umich.edu> I would very much appreciate receiving email from someone who has successfully compiled Perl on a NeXT. I have tried 4.019, 4.033, and 4.036 on NeXT 040's (both cubes and slabs) running NeXT Step 2.1 and 3.0 and it's being a lot more difficult than I think it should be. tanx. pauls@umich.edu
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: fosdal@phenxm.physics.wisc.edu Subject: ni.h Message-ID: <1993Mar23.025215.3567@cs.wisc.edu> Followup-To: fosdal@phenxa.physics.wisc.edu Sender: news@cs.wisc.edu (The News) Organization: U of Wisconsin Madison - Computer Sciences Date: Tue, 23 Mar 1993 02:52:15 GMT Has anyone ever used the calls defined in "/NextDeveloper/Headers /netinfo/ni.h"? I have been trying to figure out how to retrieve information from netinfo through a c program but have not yet figured out a way to call these routines. Are there any examples that do it? Steven R. Fosdal UW-Madison Physics Dept. NeXT System 1150 University Ave, Madison WI 53706 Management Phone: (608)262-8947 Fax: (608)262-8628 fosdal@phenxm.physics.wisc.edu (NeXT mail o.k.) --------------------------------------------------------------------------
Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster From: deane@binah.cc.brandeis.edu (David Matthew Deane) Subject: Re: DidYouKnow... Message-ID: <1993Mar23.030939.24717@news.cs.brandeis.edu> Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University References: <1993Mar22.230023.18303@midway.uchicago.edu> Distribution: usa Date: Tue, 23 Mar 1993 03:09:39 GMT In article <1993Mar22.230023.18303@midway.uchicago.edu>, buzy@quads.uchicago.edu (Len Buzyna) writes: >Today Japan owns the 7/11 store chain, Dunlop, Universal Pictures, Columbia (lotsa stuff deleted) Yikes! I can vaguely see why this might be posted here, on alt.revolution.counter, but alt.beer? (are the Japanese buying up our beer?) Rollercoasters? (hmmm....maybe there is a coaster named "the counter-revolution" perhaps?) Also posted to a lot of other newsgroups that a humble computer illiterate person like myself has never heard of. Tis passing strange...surely there are plenty of other newsgroups which discuss these issues where this could have been posted as well. Why pick on us here at a.r.c.? ============================================================================ David Matthew Deane (deane@binah.cc.brandeis.edu) When the words fold open, it means the death of doors; even casement windows sense the danger. (Amon Liner)
Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster From: deane@binah.cc.brandeis.edu (David Matthew Deane) Subject: Re: DidYouKnow... Message-ID: <1993Mar23.032509.25095@news.cs.brandeis.edu> Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University References: <1993Mar22.230023.18303@midway.uchicago.edu>,<1993Mar23.005343.3903@adx.adelphi.edu> Distribution: usa Date: Tue, 23 Mar 1993 03:25:09 GMT In article <1993Mar23.005343.3903@adx.adelphi.edu>, bradley@adx.adelphi.edu (Rob Bradley) writes: >This guy Len posts an article telling us about a "frightening" aticle >concerning Japanese "war" practices. My questions: > > * what has this got to do with alt.beer? > * why is the distribution 'usa'? Don't want the rest of > the world to see your xenophobia? Hmmm....if xenophobia is the object here, why not tell the Japanese straight out, so they will know to take their money and invest it elsewhere? Funny though; beer itself has been a casualty of the "global market" and the corporate mentality (corporate Japan being a prime example of such). Ask the folks at CAMRA. Keg Lager anyone? > >ObBeer: Brooklyn Brown is a very satisfying dark ale, and a decent price >for a micro. Don't you think it's way to dark for the style, though? >-- >Rob Bradley --> bradley@adx.adelphi.edu <-- "For a quart of ale >Dept of Math & Computer Science (516)877-4496 is a dish for a king." >Adelphi University, Garden City, NY 11530 William Shakespeare Fellow lurkers and posters of alt.revolution.counter! We have been invaded by xenophobes and beerdrinkers! Is anything safe? Where will it all end? Will we be invaded next by hordes of inebriated rollercoaster fans? Perish the thought! Resist! To the barricades! (brandishes virtual Molatov cocktail) You're a dull lot indeed if you can't play off of that last line! :-) ============================================================================ David Matthew Deane (deane@binah.cc.brandeis.edu) When the words fold open, it means the death of doors; even casement windows sense the danger. (Amon Liner)
Newsgroups: comp.sys.next.programmer From: garyc@eecs.nwu.edu (Gary I. Chang) Subject: TerminalSpeaker class???? Message-ID: <1993Mar23.052910.22924@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Tue, 23 Mar 1993 05:29:10 GMT Hi, Does anyone know the Terminal.msg for the NeXTApp Terminal such that I can generate the TerminalSpeaker[.hm] with it? Thanks, -- +----------------+ | Gary I. Chang | +----------------+ Northwestern Univ. E-Mail: garyc@eecs.nwu.edu
Newsgroups: comp.sys.next.programmer From: frosty@lanky (Jeff Frossard) Subject: How to use help links in a scroll view (text object)??? Message-ID: <1993Mar22.180808.20235@media.com> Keywords: help link Sender: usenet@media.com Organization: Multimedia Learning, Inc. Date: Mon, 22 Mar 1993 18:08:08 GMT From the NXHelpPanel documentation: "The Text class provides the functionality for help links and markers, so this feature is available outside the Help panel." Please help me out on this. I am try to implement a glossary type system in a scroll view. It should perform very much like a NXHelpPanel except that the locations for the "help" files are user definable, and the information displayed must be in the scroll view.
Newsgroups: comp.sys.next.programmer From: frosty@lanky (Jeff Frossard) Subject: How to use help links in a scroll view (text object)??? Message-ID: <1993Mar22.181133.20335@media.com> Keywords: help link Sender: usenet@media.com Organization: Multimedia Learning, Inc. Date: Mon, 22 Mar 1993 18:11:33 GMT From the NXHelpPanel documentation: "The Text class provides the functionality for help links and markers, so this feature is available outside the Help panel." Please help me out on this. I am try to implement a glossary type system in a scroll view. It should perform very much like a NXHelpPanel except that the locations for the "help" files are user definable, and the information displayed must be in the scroll view.
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: NeXT won't give upgrades of compiler to NS3.0 owners. Message-ID: <1993Mar23.045826.4865@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1993Mar22.201407.14365@rna.indiv.nluug.nl> Date: Tue, 23 Mar 1993 04:58:26 GMT In article <1993Mar22.201407.14365@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > [I asked NeXT:] > > Hello people, > > will there be an upgrade shortly for people with "obsolete" hardware > that will upgrade their compiler stuff? I'm asking because as a developer, I > want to be able to make fat binaries of the stuff that will be released and > second because of the fact that the gcc 1.93 compiler set has some bugs (that I > reported already). > > [This is the answer I got:] > > At this time NeXT does not have and upgrade plan in the works. If a plan does > arise in the future we will notify you. Thank you for contacting NeXT Customer > Support. BANG's CD-ROM, "Sex, Lies, & CD-ROM" (free with membership) contains the sources AS MODIFIED BY NeXT to the compiler as it shipped in NS3.0. Perhaps one could make the same mods to the current gcc compiler. M Carling President, Bay Area NeXT Group
From: Robert Nicholson <robert@steffi.demon.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,mlist.next-prog Subject: Compiling libg++ under NS3.0 (libg++1.39.0) Date: Tue, 23 Mar 93 11:36:32 GMT Message-ID: <199303230955.AA11193@steffi.demon.co.uk> Distribution: world Organization: me organized? That's a joke! Has anybody come up with a good way to resolve the include file problems when compiling libg++1.39.0 in NeXTStep 3.0? The problems are caused by the c++ includes using directives like #include "//usr/include/sys/stat.h" Which plays havoc because of the new /usr/include tree. For the moment I am editing each include file ie. #include "/usr/include/bsd/sys/stat.h" I guess the proper way would be to change this to #include <sys/stat.h> and let the compiler find the header file? Can somebody tell me why they use two // in the #include?
Newsgroups: comp.unix.questions,comp.unix.misc,comp.sys.next.misc,comp.sys.next.programmer From: acus02@email.mot.com (David McAnally) Subject: Boyer-Moore algorithm (bm)? Organization: MOTOROLA Date: Tue, 23 Mar 1993 09:28:41 GMT Message-ID: <1993Mar23.092841.17925@schbbs.mot.com> Keywords: grep bm Sender: news@schbbs.mot.com (Net News) I just discovered a command called "bm" on my NeXT. The manpage says... Bm searches for lines that contain one of the (newline- separated) strings, using the Boyer-Moore algorithm. It is far superior in terms of speed to the grep (egrep, fgrep) family of pattern matchers for fixed-pattern searching, and its speed increases with pattern length. Does anyone know where I can get the source to this program so I can have it on my other UNIX hosts too? The manpage also refers to... AUTHOR Peter Bain (pdbain@bnr-vpa), with modifications suggested by John Gilmore and Amir Plivatsky but I can tell what domain bnr-vpa is located in. Replies by mail are prefered. Thanks! -- +-------------------------------------------------------------------------+ | David McAnally |Internet: acus02@email.mot.com | | Motorola Corp. Computer Services | Next: acus02@ems13.corp.mot.com | | CS / Application Engineering | IINMAIL: USMOTWTT | | M/D AZ49 R3148 | AT&T Easylink ELN: 62867057 | +-------------------------------------------------------------------------+
From: Robert Nicholson <robert@steffi.demon.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,mlist.next-prog Subject: Re: Compiling libg++ under NS3.0 (libg++1.39.0) Date: Tue, 23 Mar 93 14:38:31 GMT Message-ID: <199303231151.AA01770@steffi.demon.co.uk> References: <1ommpj$ati@steffi.demon.co.uk> Distribution: world Organization: me organized? That's a joke! Further to my libg++-1.39.0 under NeXTStep enquires make tests produces a diff with the following checkdiffs has this ie. only failed one test 460c460 < < -2.22045e-16 : 36 --- > < -1.0842e-19 : 36 Has anybody else encountered this?
From: tim@apple.com (Tim Olson) Newsgroups: comp.sys.next.programmer Subject: Re: Sending messages to super's super...is it possible? Message-ID: <tim-230393094007@129.38.222.43> Date: 23 Mar 93 15:39:16 GMT References: <1993Mar12.223144.28732@netcom.com> Sender: usenet@Apple.COM Followup-To: comp.sys.next.programmer,comp.lang.objective-c Organization: Apple Computer Inc. / Somerset In article <1993Mar12.223144.28732@netcom.com>, gelato@netcom.com (Joe Burfoot) wrote: > > Let's say class A defines a method 'foo'. > > Let's say B is a subclass of A that defines a bunch of extensions to > class A, and also overrides 'foo' from A. > > A and B are in a library and I don't have access to source code. > > Now say I want to define C as a subclass of B (I want the extensions > that B provides), but I want A's version of 'foo'. Is there any way > to do this? Something like the following? > > - foo // in C > { > return [[super super] foo]; // kinda what I need to do... > } > > Thanks for any suggestions.... I can think of 2 ways of doing this: 1) Add a category method to B that provides access to A's foo routine: @implementation B (AMethods) - aFoo { return [super foo]; } @end @ implementation C: B . . - foo { return [super aFoo]; } @end 2) Use the factory (class) method "instanceMethodFor: (SEL)" to get a method handle for A's "foo" method: @implementation C { id aFooAddress; . . - foo { if (!aFooAddress) { aFooAddress = [A instanceMethodFor: @selector(foo)]; } (*aFooAddress)(self, @selector(foo)); } { -- Tim Olson Apple Computer Inc. / Somerset (tim@apple.com)
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: DidYouKnow... Message-ID: <1993Mar23.152231.24446@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Mar23.032509.25095@news.cs.brandeis.edu> Distribution: usa Date: Tue, 23 Mar 1993 15:22:31 GMT David, Michael, and Rob, Even though he shouldn't have posted it here it still is an interesting article. Try using that lump of grey matter for something other than a beer sponge. Respond to grey.matter.beer.sponge or grey.matter.darkbeer.sponge, the dark seems to soak better. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: DBModules and check boxes Message-ID: <1993Mar23.161649.3683@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <1993Mar22.132931.4099@uunet!cbmvax!xmws!kripalu> Date: Tue, 23 Mar 1993 16:16:49 GMT In article <1993Mar22.132931.4099@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: > Has anyone gotten a DBModule to connect a bit field to a check box? > We have a number of fields that are either 0 or 1 and would like to > use check boxes for the interface but when we tried connecting the > field in the DBModule to the check boxes the results were erratic. DBKit uses DBAssociation objects to map data elements to GUI objects. There are private subclasses of DBAssociation that know how to talk to string Cells, Sliders, DBTableViews, Browsers, and Popups, so you can drag your fields to these objects in IB and It Just Works. If you want to hook up fields to other GUI objects (say, a check box), you can do one of two things: - Implement the DBCustomAssociation protocol via a category of the new type of object, or - Write your own DBAssociation subclass and hook it up manually in your code, which is more of a pain. It just so happens that I did the former for check boxes, so I've included the code below. In addition to the docs on DBAssociation and DBCustomAssociation, you should also check out the DBKit miniexample RadioAssociation. Colin SwitchAssociation.h ------------8<--------------8<---------------- #import <dbkit/dbkit.h> #import <appkit/appkit.h> @interface Button(SwitchAssociation) - association:association setValue:(DBValue *)value; - association:association getValue:(DBValue *)value; @end ------------8<--------------8<---------------- SwitchAssocion.m ------------8<--------------8<---------------- #import "SwitchAssociation.h" @implementation Button(SwitchAssociation) - association:association setValue:(DBValue *)value; { [[association destination] setIntValue:[value intValue]]; return self; } - association:association getValue:(DBValue *)value; { [value setIntValue:[[association destination] intValue]]; return self; } @end ------------8<--------------8<----------------
From: sib@cs.umd.edu (Scott Ian Blanksteen) Newsgroups: comp.sys.next.programmer Subject: How to tell if user is shift-clicking? (not in a text field) Message-ID: <65361@mimsy.umd.edu> Date: 23 Mar 93 16:53:49 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 I'm wondering what is the easiest way to determine if the Thanks, Scott
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Manuel Alberto Ricart) Subject: RE: Managing TIFF files Message-ID: <1993Mar23.135203.426@parsec.mixcom.com> Keywords: Solution & Warnings Sender: alberto@parsec.mixcom.com (Alberto Ricart) Organization: SmartSoft, Inc. Date: Tue, 23 Mar 1993 13:52:03 GMT This is the most comprehensive answer I received as to how wheather this was a good idea or not. For our project we load ALL 114 and growing of our images at startup. So we think that grouping related images together is a much better solution for us. For others that may have wondered about how this is done and wheather it is a good idea, here's Ali Ozer: That "management" technique was one we used back in 1.0 days to reduce the window server memory usage of all those Mail tiffs. It's really not a very good technique, as it groups together all sorts of images (including some rarely used) in one giant window, which has to be loaded at startup time. In addition, unless the contents of the window is organized very carefully, or the window is one thin, tall window, accessing images usually causes unnecessary memory to be touched. If you leave your TIFFs separate, they get loaded one at a time, whenever needed, and NXImage's own window management (which places the images of similar width in thin tall windows) ends up being good enough. Given all this, why do we still have that big Mail window? Well, under 3.1 we don't; it's been replaced the individual TIFFs. Feel free to post this info if you'd like. Ali, Ali_Ozer@NeXT.com For those still wondering how it is done see : - initFromImage:(NXImage *)image rect:(const NXRect *)rect on your nearest Digital Librarian. --- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome> + In article <1993Mar15.155333.706@parsec.mixcom.com> you wrote: + >I have noticed that many programs including some + >provided by NeXT (Mail.app) have a large tiff file that + >contains all the icons used for some part of the + >interface. + > + >I was wondering what this management technique is. I am + >currently working on a small project that has many tiffs, + >and my project directory is getting WAY too cluttered + >with tiffs, and the combining of all the tiffs into one + >file seems like a viable solution (that is if they can all + >be extracted by name or something like that). + + -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
From: sib@carmi.cs.umd.edu (Scott Blanksteen) Newsgroups: comp.sys.next.programmer Subject: How to tell if user is shift-clicking (again) Keywords: Boy, I hate Pnews Message-ID: <65365@mimsy.umd.edu> Date: 23 Mar 93 17:19:54 GMT Sender: news@mimsy.umd.edu Hello, again... Well, I'm wondering, what is the easiest way to detect if the user is shift-clicking, in general, not in a TextField. In particular, I have a collection of instances of a Button subclass, and I want the user to be able to select some subset of them for later action. Thanks in advance! Scott PS - Feel free to post rather than e-mailing me.
Newsgroups: comp.sys.next.programmer From: jclannom@mathlab.mtu.edu (Joe Lannom) Subject: Nextutils.h Message-ID: <1993Mar23.173223.7045@mtu.edu> Originator: jclannom@next1 Keywords: location include Sender: news@mtu.edu Organization: Michigan Technological University Date: Tue, 23 Mar 1993 17:32:23 GMT Hi. I'm working on attaching an application that is written to run in a terminal window to an icon so that it can be anchored in the dock. I'm using InterfaceBuilder. I originally used Subprocess, but had to make some alterations in the source code of the original program in order to get its output to display correctly (it echos the keystrokes, so all the input was coming out double). SubproccessPlus seems like it should solve my problems, but it needs a header file called nextutils.h. I can't locate it on my system, so I figured it was an add-on, but I can't find it at any ftp site either. Can someone give me a clue as to where to find Nextutils.h? If its a stupid question (i.e. covered in the FAQs, somewhere), lemme know that too. Thanks, joe --- Joe Lannom Mathematical Sciences Department Work: (906) 487-2068 General Computer Support jclannom@mathlab.mtu.edu Michigan Technological University -- Joe Lannom Mathematical Sciences Department Work: (906) 487-2068 General Computer Support jclannom@mathlab.mtu.edu Michigan Technological University
Newsgroups: comp.sys.next.programmer From: seungwoo@peca.cs.umn.edu (Seung-Woo Kim) Subject: I need a comprehensive manuals Message-ID: <seungwoo.732908479@peca> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Tue, 23 Mar 1993 17:41:19 GMT I am beginning to write programs on NS2.2, and I found that there are not many programming manuals detailed enough to answer my questions - I am through with IB-tutorials archived at sonata. Still there are many questions it doesn't answer , what is psw(in project panel), what is subproject and how does it work, etc. Those questions are not answered even in the Reference manuals. Is there any programming manuals that explains them all or should I go thru the exmple programs along with hackings and the Reference manual? Seung-Woo Kim
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Finding Cells in a Text object Message-ID: <yikesC4Cv4J.Bzx@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) Date: Tue, 23 Mar 1993 18:53:06 GMT I have a rich Text object that contains both text and cells (RTFD). I have need to rapidly find a cell within the Text object. Assuming I have a HashTable or List with Cell id's and tags that are in the Text object, how do I rapidly find a cell? Using -getLocation:ofCell:, I can find an NXPoint where the Cell is located in the Text object, but how do translate this into a NXSelPt? I desperately want to avoid brute-forcing a search as I may be looking for dozens of Cells at a time that are in no particular order. Any suggestions would be most appreciated. ...Michael Brill (yikes@netcom.com) -- ----
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer Subject: Update: 1993 NeXTWORLD Expo Registration and Information Bulletin Message-ID: <7148@rosie.NeXT.COM> Date: 23 Mar 93 19:36:27 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy 1993 NeXTWORLD EXPO REGISTRATION AND INFORMATION BULLETIN On May 25, NeXT Completes the Most Remarkable Transformation in Recent Years in the Industry What: NeXTWORLD Expo When: May 25 - 27, 1993 Where: Moscone Convention Center, San Francisco, California Events: Developer and User Conference and User Group Program Keynotes by Steve Jobs, NeXT & Andy Groves, Intel ..From Black Computers to White - NeXTSTEP for Intel Processors ...Completed and Unveiled _____________________________________________________________________ TABLE OF CONTENTS => NeXTWORLD EXPO INTRODUCTION => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS => NeXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES => NeXT USER GROUP PROGRAM AGENDA => TUTORIALS AND BOF MEETINGS => REGISTRATION, HOTEL AND TRAVEL INFORMATION _____________________________________________________________________ => NeXTWORLD EXPO INTRODUCTION The second annual NeXTWORLD EXPO combines a worldwide Developer Conference, User Conference, User Group Program and Product Exposition spanning three days. This year's NeXTWORLD Expo marks the culmination of the most significant event in NeXT's history. At the Expo, NeXT will deliver the completed, shrinkwrapped release of NeXTSTEP for Intel processors. The product that Byte magazine has called, "...the most respected piece of software on the planet..." -- now available on industry-standard computers. When you see NeXTSTEP, we think you'll agree. NeXT's decision to concentrate on object-oriented software, move away from signature black hardware, and devote all company resources to running NeXTSTEP on white hardware--is more than the transformation of a company. It is, in all likelihood, the transformation of an entire industry. We look forward to seeing you at the Expo. As a special offer, all registered NeXTWORLD EXPO attendees will receive an aggressive discount on NeXT's software products available at the Expo. For $695: receive admission to all Developer Conference and User Conference Sessions, attendance to the User Group Program, and admission to the Product Showcase. SPECIAL BONUS...For $995 (a $3,500 value), receive admission to all of the above PLUS a copy of NeXTSTEP for Intel processors User Environment and Development Tools! (See registration form below). _____________________________________________________________________ => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS NeXTWORLD EXPO DEVELOPER CONFERENCE The NeXTWORLD EXPO '93 Developer Conference offers a broad curriculum to the developer community, focusing on creating both shrinkwrapped applications and client/server custom applications. Because the ability to run NeXTSTEP applications on Intel-based computers is now a reality, both the general session and the conference tracks provide valuable information about porting and distribution. Four separate Conference Tracks focus on the business and technical aspects of NeXTSTEP application development. Each track provides a different perspective on understanding and working with NeXTSTEP. To benefit most from the breadth of topics offered at the conference, we encourage you to review and attend sessions from several tracks. A specially priced developer bundle is available which includes registration and a copy of NeXTSTEP for Intel Processors (see registration form below for details). NeXTWORLD EXPO USER CONFERENCE The NeXTWORLD EXPO '93 User Conference offers in-depth information about the use of NeXTSTEP in corporate information systems and on individual desktops. Designed for experienced NeXTSTEP end users, system managers, and IS strategists, the four-track program focuses on the issues of deploying NeXTSTEP in enterprise-wide systems, using NeXTSTEP for maximum benefits, case studies of NeXTSTEP usage in the real world, and comparative looks at the most innovative third-party products in the NeXT market. One session is dedicated to providing a quick start for users who are new to NeXTSTEP, so that they can participate fully in the remainder of the program. Key sessions in each track are repeated so that attendees can participate in as many different sessions as possible. NeXT USER GROUP PROGRAM NoIR (NeXT Organizations InteRnational) is sponsoring a worldwide User Group Program. This year's program theme is "486--An Explosion of New Users Under NeXT's Big Tent." Sessions focus on two tracks: user group leadership and member services. If you want ideas to take back to your group, this program is for you. Last year over 100 groups from around the world were represented and this year we expect many more. With the explosion of new NeXTSTEP users coming this year and next, this program helps you prepare your NeXT User Group for growth and success in 1993 and 1994. In addition to the formal events listed here, several special social events will be held. All user group members attending either the exposition or the conferences are invited to register for the user group program free of charge. KEYNOTE SPEAKERS Steve Jobs - Chairman and CEO of NeXT, Inc. Andy Grove - Chairman and CEO of Intel Corporation Steve Jobs discusses the future of object-oriented, client/server computing. Andy Grove discusses Intel's 486 and Pentium processors, and NeXTSTEP's place in their future. DEVELOPER CONFERENCE GENERAL SESSION Your NeXTSTEP Application and their Hardware Paul Hegarty, NeXT's Director of NeXTSTEP for Intel processors software, explains how to port your application to the Intel platform and leaves ample time to answer your porting questions. USER CONFERENCE GENERAL SESSION 10 Most Wanted NeXTWORLD Editor-in-Chief Dan Ruby leads a panel of NeXTSTEP customers, developers, and user group leaders in reviewing NeXT's accomplishments during the last year and setting the agenda for the year ahead. GENERAL SESSIONS OPEN TO ALL ATTENDEES Bob Metcalfe, Publisher and CEO of InfoWorld Publishing Co., hosts a panel of industry pundits and NeXT customers as they discuss the alternatives among advanced operating systems in the coming battle for the corporate desktop. USER GROUP AUCTION Attend this fun event. A range of products and services from the NeXT community will go to the highest bidder. Proceeds go toward the User Group Program at the Expo. NeXTWORLD MAGAZINE AWARDS NeXTWORLD honors the best and most innovative products in the NeXT market in its first annual award ceremony. Cheer on your favorites as a lineup of NeXT community luminaries announce the winners in each product category. NeXTSTEP PRODUCT EXHIBITION Tuesday, May 25, 11:00 a.m. - 6:00 p.m. Wednesday, May 26, 9:00 a.m. - 6:00 p.m. Thursday, May 27, 9:00 a.m. - 12:00 p.m. Be sure to see over 100 product exhibits and find out why so many companies have embraced NeXTSTEP technology. See the latest in NeXTSTEP hardware and software, and meet with users, resellers, and partners. The Expo also features an ObjectWare Pavillion dedicated to the growing number of NeXTSTEP ObjectWare vendors. _____________________________________________________________________ => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS MAY 25-27, 1993 ** TRACK ONE ** THEME: NeXTSTEP MEANS BUSINESS This track addresses topics of broad, general interest to the third-party and corporate developer community, including how to evaluate development environments, profiles of NeXTSTEP's markets and customers, how to protect your intellectual property, and 486 distribution issues. A variety of experts discuss issues geared to business professionals. Technical professionals will benefit from opportunities to hear engineers explain how to succeed in object-oriented development, and to meet key NeXT engineers for a lively Q&A session. No direct NeXTSTEP experience is required for the sessions in this track, but a technical background is sometimes useful. TRACK ONE SESSIONS: ** DISTRIBUTED NeXTSTEP APPLICATIONS ** Erna Arnesen, Director of Channel Sales, NeXT This comprehensive discussion answers question about NeXT's software distribution channels. Distribution partners are identified and ways to ensure successful interaction with developers are explained. Plans for distribution of NeXTSTEP for Intel processors are also presented. ** A DEVELOPER'S GUIDE TO ENTERPRISE-WIDE DEPLOYMENT ** Anita Sansguiri, Project Manager, ADAMATION ADAMATION's project manager describes how they successfully deployed their application at multiple offices of a real estate company. Deployment issues ranging from application development, networking, and database management, to augmenting NeXTSTEP tools are described. ** NeXT's MARKETS AND THEIR DEVELOPMENT OPPORTUNITIES ** Ron Weissman, Director, Strategic Marketing, NeXT David Grady, Developer Advocates, NeXT This is a chance to hear from NeXT about targeted markets, the specific products that customers are requesting, and solutions that would match market requirements. Opportunities for developers and consultants are discussed. ** PROTECTING YOUR TECHNOLOGY ** Christopher Seline, Esq., Formosa Transnational Attorneys-at-Law Maximizing profit and protecting intellectual property are vital concerns for every developer. This session introduces fundamental legal issues such as copyright, patent, trademark, and trade secret laws and how they relate to computer software. Our speaker has considerable NeXTSTEP and UNIX experience. ** NOTHING's EASIER THAN NeXTSTEP DEVELOPMENT ** Tracy Powell, Senior Developer, WordPerfect Corporation A developer of large commercial applications in both Windows and NeXTSTEP discusses his experiences in cross-platform development. Our speaker ported WordPerfect to NeXTSTEP for Intel processors in a matter of hours and this session describes his experiences. Helpful hints and productivity techniques will be presented. ** SUCCEEDING WITH OBJECT-ORIENTED DEVELOPMENT ** Bruce Webster, Chief Technical Officer, Pages Software Jayson Adams, CEO and Chief Scientist, Millennium Software Labs Accompanying the power that object-oriented technology (OOT) brings to application development are some specific challenges and requirements. In this session, two NeXTSTEP developers describe the insights they gained and the lessons they learned while producing major commercial productivity applications. * "DR. STRANGEAPP, OR HOW I LEARNED TO STOP WORRYING & LOVE ISV'S" * Rob Wilen, Director of Technical Architecture, Swiss Bank Corporation One of NeXT's largest commercial customers explains the techniques and business practices of establishing a productive working relationship with large corporations. ** STRATEGIES FOR DYNAMIC PERSONALIZED SYSTEMS ** Pascal Chernais, Research Specialist, Massachusetts Inst. of Tech. Successful personalization of applications will require an understanding of a users' dynamic needs. The MIT Media Laboratory has been exploring these issues, using new tools such as user modeling, knowledge representation and distributed servers. ** DEVELOPER SUCCESS STORIES ** Panel: NeXTSTEP Developers Based on their real-world experiences, a panel of NeXTSTEP developers describe their paths to success in the NeXTSTEP marketplace. Creative marketing techniques, how to leverage the sales force, and product focus are debated and discussed. ** MEET THE SOFTWARE ENGINEERS ** Panel: NeXT Software Engineers Several software engineers who were integral in creating NeXTSTEP Release 3 join together in this forum to answer your questions. This was a popular session last year, so come early if you want a seat! ** TRACK TWO ** THEME: NeXTSTEP AND THE ENTERPRISE NeXTSTEP and the Enterprise presents issues specific to using NeXTSTEP in large organizations, such as working with large and mixed networks, portability, interoperability, connectivity, distributed computing, and integration of shrinkwrapped applications into custom solutions. Most sessions in this track require a technical background but assume that attendees have no experience working with NeXTSTEP. TRACK TWO SESSIONS: ** INTEGRATING SHRINKWRAPPED APPLICATIONS IN A CUSTOM SOLUTION ** Moderator: David Lavallee, Software Engineer, NeXT Panel: NeXTSTEP Developers It's not always possible to find a shrinkwrapped or custom solution that solves a given problem completely. But applications can be easily integrated. Customers and third-party developers discuss why they would integrate shrinkwrapped software into client/server custom solutions, and the value that results from this merger. ** DEVELOPING OBJ-C APPLICATIONS FOR NeXTSTEP & MICROSOFT WINDOWS ** Christopher Lozinski, Berkeley Productivity Group Walter C. Daugherity, Texas A&M University NeXTSTEP developers have traditionally been faced with a dilemma: Should they develop in Objective-C on NeXTSTEP, or C++ for Microsoft Windows. Now it's possible to develop for both platforms in Objective-C and C++. Developers can use Objective-C with the Borland compiler on the PC, and the GNU compiler on NeXTSTEP. The discussion reports that develop applications for both platforms, describes this experience, and the techniques that work. There will also be a discussion of Smalltalk for NeXTSTEP. ** WORKFLOW TOOLS IN CUSTOM APPLICATION ** Randy Marchessault, Software Engineer, Integrity Solutions Workflow, a popular, but commonly misunderstood buzzword is examined through applying concepts and objects to real-world problems. Discussion centers on representing tasks and task dependencies, implementing group scheduling, resource management, document and information routing, user notification, and recursive schedule divisibility. ** OBJECT-ORIENTED CLIENT/SERVER APPLICATION DESIGN ** Patricia Monk, Director-NeXT Business Unit, Data General Corporation This session explains the key issues of object-oriented client/server application design and layout, including programming tools and techniques to assist in this type of application development. It also discusses how the UI (or lack of it) for server requester objects and server provider objects affects the efficiency of an application. ** NeXTSTEP and OBJECT-ORIENTED DATABASE INTEGRATION ** Moderator: Rick Jackson, Product Manager, NeXT Panel: NeXTSTEP Developers This session emphasizes why OODB technology may be of interest to you, and how it fits with the NeXTSTEP development methodology. Developers discuss their NeXTSTEP projects which involve both ObjectStore and Versant OODB technology. ** ADVANTAGES INHERENT IN ELECTRONIC DOCUMENTATION ** Carla Kay Barlow, Product Documentation, Stone Design Jim Clark, Advanced Technology Group, WilTel A persuasive argument in favor of all-electronic software documentation, this session spans the interests of users and developers from the viewpoint of third party and corporate development efforts. Topics range from the use of NeXTSTEP's on-line help standard to how to develop class specification documentation that facilitates consistent coding style, code reuse and rapid prototyping. ** A NeXTSTEP SHARED DEVELOPMENT ENVIRONMENT ** Moderator: Rick Jackson, Software Product Marketing, NeXT Panel: NeXTSTEP Developers Development teams of more than a few people have special synchronization and code management problems that can delay or prevent system. NeXTSTEP developers discuss current and future solutions for group development. Corporate and third party developers discuss tools they built to solve today. ** SKETCHING OUT A BETTER USER INTERFACE ** Ray Ryan, User Interface Designer, Lighthouse Design Creating excellent user interfaces is frequently more the result of art than science. This session provides some insight into the aesthetics of UI design. The user interface designer of Diagram! 2 discusses techniques for building good user interfaces starting at day one. He will include before and after examples from Diagram! and Diagram! 2 to emphasize how sound UI design techniques help create more usable interfaces. ** TRACK THREE ** THEME: DEVELOPING NeXTSTEP APPLICATIONS This track examines the tools and techniques central to developing your NeXTSTEP applications, such as debugging, Interface Builder, performance tuning, user interface issues, localization, and application validation. Speakers include both third-party and corporate developers who share their knowledge gained "in the trenches", developing popular and productive applications. These sessions are targeted for attendees who have intermediate or advanced NeXTSTEP programming proficiency. TRACK THREE SESSIONS: ** THE ZEN OF DEBUGGING ** Julie Zelenski, Lecturer, Stanford Univ. and Support Engineer, NeXT Need a new bag of tricks for debugging in the NeXTSTEP development environment? Or maybe you're just looking to fill out your current repertoire? In either case, you can learn something new in this challenging and informative session. ** VALIDATING NeXTSTEP APPLICATIONS AND OBJECTS ** Jim Walsh, Software Quality Manager, NeXT Kris Oosting, Manager, Objective Partners It's been said "you can't control what you can't measure", and this holds true for object-oriented development. This session explores the theories of testing your NeXTSTEP applications and objects. ** GETTING MORE SPEED OUT OF YOUR APPLICATION ** Brian Pinkerton, Software Engineer, NeXT Trey Matteson, Manager, Application Kit Group, NeXT Reprising one of last year's most popular sessions, NeXT's engineers take a reasonably slow application and make it faster, before your very eyes. You'll see the steps you need to take to speed your applications' performance. ** INTRODUCTION TO NeXTSTEP PROGRAMMING ** Randy Nelson, Lead Developer Trainer, NeXT If you're just encountering the world of object-oriented programming, this overview of NeXTSTEP features and object technology is extremely useful for understanding context and vocabulary. This session is a must for technical evaluators of the platform. ** UI PERFORMANCE ** Bill Bumgarner, Software Artist, Stone Design Glenn Reid, President, RightBrain Software Enhancing the performance of your application's UI can be crucial to users' success with the application. NeXTSTEP developers describe methods for increasing perceived performance and methods for decreasing actual drawing time. ** BUILDING BETTER NeXTSTEP APPLICATIONS ** Randy Nelson, Lead Developer Trainer, NeXT Proper use of NeXTSTEP significantly increases the power of your application; correspondingly, improper or partial use of NeXTSTEP can decrease your application's usability. An overview of specific topics--user interface, portability, localization, and important kit features--shows you how to build flexibility into your application. References to documentation and other resources are included. ** WRITING DYNAMIC APPLICATIONS ** Tom Affinito, Training Manager, Trirex This lecture explores techniques that add run-time flexibility to your application, including Interface Builder files, NXBundles, distributed objects and embedded languages. ** CREATING INTERFACE BUILDER PALETTES ** Scott Ritchie, Developer Trainer, NeXT Using Interface Builder Palettes can add custom functionality to your interfaces, save development time, and generate valuable re-useable tools. One of NeXT's trainers explains how to build palettes that provide advanced functionality for many different sorts of objects. ** BUILDING REUSABLE OBJECTS ** Eric Bergeson, Objective Technologies Well-rounded classes donUt just happen: they require careful planning and design to become flexible and robust. This session reviews some of the issues that you should consider before writing your first line of code. The discussion includes licensing issues for objects. ** TRACK FOUR ** THEME: UNDER THE HOOD - OBJECTS AND NeXTSTEP FEATURES This track explores the detail level of object technology and specific NeXTSTEP features and kits. Topics include DataBase Kit, Indexing Kit, Driver Kit, Object Links, Help, and filter services. Familiarity with NeXTSTEP programming is recommended for attendees of the sessions. TRACK FOUR SESSIONS: ** GETTING STARTED WITH DATABASE KIT ** Scott Weiner, Developer Trainer, NeXT Learn the basics of NeXTSTEP's newest kit with one of NeXT's trainers. Step through the decisions involved with building a simple DataBase Kit application and see how DataBase Kit can help reduce time and effort in developing a client/server custom application. Time is provided for Q&A at the end of this session. ** REAL-WORLD DATABASE KIT APPLICATIONS ** Moderator: Jerry Goode, Systems Engineer, NeXT Panel: NeXTSTEP Developers A panel of corporate developers and system integrators explain and discuss their real-world development experiences and describe how the DataBase Kit helped them resolve client/server computing issues. ** ADVANCED DATABASE KIT ISSUES ** Moderator: Felix Lin, Product Manager, NeXT Panel: NeXTSTEP Developers Developers of NeXTSTEP Release 3 DataBase Kit applications share their experiences and exchange comments with NeXT's DataBase Kit engineers on some of the technical issues that confront advanced development work. Time is provided for Q&A at the end of this session. ** USING NeXTSTEP RELEASE 3 FEATURES ** Ali Ozer, Software Engineer, NeXT This session reviews several NeXTSTEP Release 3 features, including dragging, Help, filter services, and using color. Use of the and can add considerably to the power and flexibility of your application (and the popularity with your users.) ** OBJECT LINKS IN DETAIL ** Trey Matteson, Manager, Application Kit Group, NeXT Take advantage of the power of object linking...the powerful mechanism that enables documents to share data dynamically. This session explains why and how you should incorporate Object Links into your application. ** PROGRAMMING WITH DISTRIBUTED OBJECTS ** Stephen Asbury, Developer Trainer, NeXT This presentation details the steps you need to take to build a client/server application using distributed objects, one of NeXTSTEP's most powerful tools. Discussion includes invalidation notification, threaded servers, and peer-to-peer architectures. ** WORKING WITH THE INDEXING KIT ** Kris Younger, System Engineer, NeXT The Indexing Kit is a major feature of NeXTSTEP Release 3. The kit provides a framework for storing and managing data, analogous to the framework for user interaction provided by the Application Kit. This session describes the salient features of the Indexing Kit, including transaction-protected storage, building dictionaries and indexes with BTrees, and building flat-file databases that store Objective-C objects. ** DRIVERKIT FOR NeXTSTEP FOR INTEL PROCESSORS ** Phillip Dibner, Developer Support, NeXT A detailed presentation of the differences between traditional UNIX drivers and those written for NeXTSTEP applications on Intel-based computers. A developer support engineer examines a working example and answers your questions about drivers. _____________________________________________________________________ => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS May 25 - 27, 1993 ** TRACK ONE ** THEME: ENTERPRISE COMPUTING The first stage of desktop computing in corporations was all about enhancing individual and departmental productivity. NeXTSTEP takes corporations to the second stage by advancing the mission of the enterprise. This conference track explores the issues in enterprise computing such as client/server architecture, rightsizing, operational productivity, custom application development, and heterogeneous networking. In every area, NeXTSTEP offers great opportunity for the next stage of corporate computing. TRACK ONE SESSIONS: ** END OF THE PARADOX: OPERATIONAL PRODUCTIVITY ** NeXTSTEP solves the enduring paradox of the information age: Organizations' investment in technology has not resulted in measurable productivity gains. NeXTSTEP changes the equation by focusing on operational productivity. ** WHY OBJECT-ORIENTED PROGRAMMING and NeXTSTEP ** NeXTSTEP achieves its full power when applied in enterprise-wide systems for client/server functions. Discover how object-oriented programming techniques and client/server computing can bring immediate tangible benefits to organizations. ** RIGHTSIZING WITH NeXTSTEP ** As businesses downsize monolithic mainframe applications to distributed client/server systems, they need object-oriented development tools that play in a standard networking environment. NeXTSTEP is an important piece of the rightsizing puzzle for corporate re-engineers. ** ENGINEERING CLIENT/SERVER SYSTEMS ** Talk of rightsizing is cheap. NeXTSTEP gets you started today. This panel of customers, integrators, and system engineers explores the nitty-gritty technical issues of using NeXTSTEP in a client/server architecture. ** DEVELOPING AND DEPLOYING CLIENT/SERVER CUSTOM APPLICATIONS ** NeXTSTEP's object-oriented development environment lets you bring new systems on-line in a fraction of the time needed with competitive products. That calls for a new approach to planning and implementing client/server custom applications. ** ACCESSING CORPORATE DATABASES ** Distributed applications are only as meaningful as the data that is accessed. NeXTSTEP's DataBase Kit and third-party tools let you link into live financial and operational databases residing on mainframes and servers. ** HOW NeXTSTEP FITS INTO YOUR HETEROGENEOUS CORPORATE NETWORK ** Virtually every enterprise today maintains a mixed environment of computer platforms and networks. NeXTSTEP's support of multiple networking standards allows users to easily mix and match computers with their existing information systems. ** CONNECTING THE ENTERPRISE: WANs, LANs. and ISDN ** As business goes global, it isn't enough to interoperate in local networks at individual user sites. Here's how NeXTSTEP systems communicate with other computers in a world-wide distributed computing environment. ** MANAGING APPLICATION DEVELOPMENT PROJECTS ** As NeXTSTEP speeds up the application development cycle, managers face new challenges in strategic and tactical planning. Here's what to expect in budgeting, staffing, managing, and phasing in your custom application projects. ** ISSUES IN SYSTEM ADMINISTRATION ** As NeXTSTEP proliferates in enterprise-wide information systems, the issues of network management and security become increasingly critical. System administrators explore the tools and techniques available for maintaining and securing corporate networks. ** TRACK TWO ** THEME: USING NEXTSTEP NeXTSTEP provides a user environment unlike any other operating system. To get maximum benefit from their systems, users need to know the intricacies of NeXTSTEP and third-party products. This track begins with critical information about running NeXTSTEP for Intel processors, and examines hot topics like portable computing, NeXTSTEP publishing, database management, and collaborative applications. Users can get hands-on help by attending sessions on NeXTSTEP tips and tricks, configuring systems for maximum power, and sources of training and support. TRACK TWO SESSIONS: ** INTRODUCTION TO NeXTSTEP for INTEL PROCESSORS ** NeXT's software guru's take you on a tour of the leading object-oriented operating system for mainstream business computers. ** INTRODUCTION FOR INTEL PROCESSORS: Q&A ** NeXT and NeXTSTEP hardware partners answer questions on software deliverables. ** INTEGRATING INTEL AND MOTOROLA-BASED HARDWARE This session discusses the concerns and addresses the solutions for integrating your existing 68040 hardware with your Intel-based hardware--all running NeXTSTEP. ** READ ALL ABOUT IT: PUBLISHING WITH NeXTSTEP ** NeXTSTEP's unified imaging model, powerful software tools, and workgroup connectivity are ideally suited for graphic design and electronic publishing. Experts explore the available tools for NeXTSTEP publishing, while early adopters describe their experiences. ** MANAGING YOUR DATA ** Database management isn't a task only for programmers and system designers. Here's everything you need to know as a user for specifying and designing database front ends, as well as for managing your individual records. ** NeXTSTEP TIPS and TRICKS ** NeXTSTEP is so rich in capabilities that many users only scratch its surface. To get maximum benefit from NeXTSTEP, you need to know the shortcuts and hidden features available in the system. Power users show you how. ** CONNECTING TO THE WORLD ** There is a wealth of information, free software, and just plain camaraderie available to NeXTSTEP users through the Internet and other information services. This session tells you how and where to plug in to the wonderful world of NeXTSTEP online. ** OBJECT TECHNOLOGY AND YOU ** Besides its benefits for programmers, the rapid development of object technology for NeXTSTEP promises great rewards for the individual NeXTSTEP user. Here is an over-the-horizon look at three of the most important developments in object technology and how they will likely affect the life of the user. ** WORKING TOGETHER WITH COLLABORATIVE SOFTWARE ** Groupware is a computer-industry buzzword that is much discussed and little practiced. In the NeXTSTEP environment, users are taking advantage of applications designed for collaborative work. This panel reviews the available products and illustrates the power of workgroup computing. ** OPTIONS FOR PORTABILITY ** Customers are interested in NeXTSTEP portable computing. But 486 notebooks are not the only option for users who need to take their data on the road. This session looks at strategies for extending your desktop environment to wherever you happen to be. ** TRACK THREE ** THEME: IN THE TRENCHES Customers in business, education, and government have taken great strides in applying NeXTSTEP to solving problems in their fundamental advantages for unifying the desktop, collaborative computing, document management, decision support, and application development. In this track, speakers representing customers in NeXT's key markets share their experiences. TRACK THREE SESSIONS: ** UNIFYING THE DESKTOP ** The goal is no longer to have a computer on every desk, but to have only one computer on every desk. Users in financial services, law enforcement, and hospital administration describe how NeXTSTEP replaced diverse systems in a single workstation. ** ROLLUPS AND DRILLDOWNS: EXECUTIVE INFORMATION SYSTEMS ** NeXTSTEP is ideal for application that deliver live summary data and graphics to executives for decision support. Corporate and government users show how they did it. ** WHY NeXTSTEP -- CUSTOMER PERSPECTIVES ** Choosing NeXTSTEP was once risky. This panel of NeXTSTEP customers in business, government, and education discuss their choice of NeXTSTEP systems and the payoff. ** MANAGING DOCUMENTS ** Whatever happened to the paperless office? It's alive and well in law firms and medical organization employing NeXTSTEP software for document storage and retrieval. ** SERVING YOUR CUSTOMERS ** The greatest challenge in business today is providing timely and accurate service to customers. NeXTSTEP systems provide the informational framework for world-class customer service. Users from health care, financial services, and transportation show how they did it. ** ENTERPRISE TRANSFORMATION ** Technological change does not occur in a vacuum. Sometimes, the technology used can lead to structural and cultural changes in an organization. Panelists from law enforcement, telecommunications, and the energy business explore the positive effects of NeXTSTEP technology on organizational hierarchies, decision making, and customer relations. ** TRAINING FOR SUCCESS ** Training alternatives are critical to meeting the diverse needs of NeXTSTEP developers, users, and systems administrators. This panel includes representatives from NeXT's training consortium, NeXT instructors, and customers whose successes with NeXTSTEP have been accelerated by choosing the right training curriculum. ** WORKFLOW MANAGEMENT ** Most business processes involve contributions and approvals from a variety of individuals. NeXTSTEP is a natural environment for working simultaneously and in series with a group of colleagues. Customers in electronic publishing, a corporate legal department, and university curriculum development describe their collaborative processes under NeXTSTEP. ** COMPREHENSIVE SERVICES AND SUPPORT ** Leading strategies for customer support put the power in customers' hands. Enterprise-wide computing and custom application development depend on timely, accurate support. NeXT delivers this with a professional staff and innovative systems. Learn NeXT's strategy to put the power in your hands. ** TRACK FOUR ** THEME: HOT PRODUCTS The sizzle in the NeXTSTEP market is the varied software solutions offered in hotly contested application categories. In this track, developers demonstrate the best and newest tools for document creation, presentation, financial modeling, database management, business graphics, and software emulation. With this background, users will be better able to examine the strengths and weaknesses of the products shown on the exhibit floor. TRACK FOUR SESSIONS: ** DOCUMENT CREATION ** The leading applications for creating business documents square off. Their different approaches to page layout and design provide good choices for every kind of NeXTSTEP user. This session provides an excellent opportunity to view, evaluate, and discuss the wide array of page layout applications available for NeXTSTEP. ** PRODUCTIVITY, NeXTSTEP STYLE ** In this session, developers discuss the feature and benefits of today's NeXTSTEP productivity applications and how they can be used most effectively. NeXTSTEP is home to innovative software products in virtually every productivity category. What's truly amazing is the way they all work together in an integrated user environment. ** INFORMATION MANAGERS ** The last year has seen an explosion of products for managing personal and group information. These tools have allowed NeXTSTEP users to move even closer towards the goal of a true paperless office. Learn about the calendar, address books, and free-form databases that are on the vanguard of workgroup computing on NeXTSTEP. ** BETTER PRESENTATIONS ** Making presentations is among the most frequent tasks in business. Creating presentations using NeXTSTEP and available third-party applications has proven to be both easy and impactful. Here we look at the options for improving your delivery with visually appealing slides and interactive media. ** EMULATION AND CONNECTIVITY ** NeXTSTEP is great, but sometimes you have concessions to the rest of the world. Whether you want to make your NeXTSTEP system behave like Windows, Macintosh, X, or a mainframe terminal, there is a third-party product for you. Developers in this session will review those products available in the future. ** GRAPHICS FOR BUSINESS ** Illustration tools are not just for artists. NeXTSTEP offers some of the best applications on any platform for creating business charts, diagrams, and drawings. Whether you're looking for applications in the area of free-hand drawing, product planning and flowcharts, or presentation enhancement, this session is for you. ** MULTIMEDIA AND 3D ** NeXTSTEP has always been a leader in the area of multimedia. Learn how NeXTSTEP's inclusion of RenderMan technology, strong multimedia authoring systems and tools for sound and music have set the stage for an explosion of software for 3D rendering, animation, and multimedia. ** DOCUMENT MANAGEMENT ** NeXTSTEP's combination of strengths for scanning character recognition, imaging, and collaborative computing make it an ideal platform for document storage and retrieval. Developers demonstrate their solutions for the potentially huge but largely underutilized workstation application. ** SPREADSHEET AND MODELERS ** NeXTSTEP abounds in diverse solutions for financial modeling. Whether you need a traditional spreadsheet, multi-dimensional tool or sophisticated enterprise financial modeler, NeXTSTEP serves your needs with strong third-party products. Come see for yourself. ____________________________________________________________________ => NeXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES May 25 - 27, 1993 Participating Companies: ADAMATION Alembic Systems International Ltd. Altsys Corporation Anderson Financial Systems ANDI Appsoft, Inc. Athena Design Axsys Bacchus, Inc. BenaTong Blacksmith Booz-Allen & Hamilton Canon Ciusa Conextions Cub'X Systems Data General Corp. Dell Computer Epson Firstsoft, Inc. / DBSA. Inc. Goldleaf Publishing, Inc. Harvard Tool Works Hewlett-Packard Company Highland Digital HSD Microcomputer Hypersight, Inc. i-link, GmbH Imagine Multimedia, Inc. INSIGHT Software Insignia Solutions, Inc. Intel Corporation Jana Publishing Lighthouse Design, Ltd. Logicon Ultasystems Inc. LogicStream Lotus Development Corp. Marble Software Products Memory International, Inc. Millennium Software Labs, Inc. MRJ, Inc. NEC Technologies Inc. NeXT, Inc. NeXTWORLD Magazine Northstar nPoint Objective Technologies, Inc. ONyX Systems, Inc. Pages Software, Inc. Pangea Corporation PARABASE Pencom Perennial Software Pinnacle Research, Inc. Professional Software, Inc. RDR, Inc. Ridgeback Solutions RightBrain Software, Inc. Sarrus Software, Inc. Schema Research Corp. Second Glance Software SiRiUS Solutions, Inc. Skylee Press SofDesign Software Ventures Stone Design System House Inc. Systemix Software, Inc. Tecor, Inc. Telos / Springer-Verlag Trident Data Systems Trirex Systems Vertex Software WordPerfect Corporation Yrrid Incorporated ..and more ____________________________________________________________________ => NeXT USER GROUP PROGRAM AGENDA User Group Keynote Thursday, May 27 9:00 a.m. - 11:00 a.m. Steve Jobs: 486--An Explosion of Users Under NeXT's Big Tent Steve Jobs headlines this exciting kickoff to today's activities. The number of NeXTSTEP users in the world doubled last year. With the advent of NeXTSTEP for Intel processors, we anticipate a tremendous explosion of new users and user group members using both black and white hardware. How do we serve this dynamic new population and tap into their talents? Ideas for 1993 and beyond will be discussed. Also during this session, NeXT will present its "Golden Nugget Awards" for special contributions by user groups during the past year. ** USER GROUP PROGRAM: LEADERSHIP TRACK ** Thursday, May 27 11:00am - 4:00pm -Leadership and Organizing Ideas -Working with NeXT, 3rd Party Vendors, and Resellers -Attracting and Keeping Volunteers and Officers -Fundraising ** USER GROUP PROGRAM: MEMBERSHIP SERVICES TRACK ** Thursday, May 27 11:00am - 4:00pm -Getting your members on the worldwide net -Planning and conducting a successful meeting -Newsletters -Training ____________________________________________________________________ => TUTORIALS AND BOF MEETINGS Hands-On NeXTSTEP Tutorials If you're new to NeXTSTEP, this is your chance to learn the basics...and if you're a seasoned developer, you can sign-up to spend some time with an expert on the subject of your choice. Extending from the show floor, the NeXTSTEP hands-on tutorial area sponsored by Dell Computer, provides User Tutorials are scheduled throughout the three days of the Expo to introduce new users to NeXTSTEP and to provide guidance on navigating the workspace, working with applications, and using NeXTSTEP features. Developer Tutorials provide two learning opportunities: hands-on instruction in "boot camp" issues as well as one-on-one time with a NeXT expert on specific development topics. Birds-of-a-Feather Meetings Developers can conduct a limited number of Birds-of-a-Feather get-togethers on Wednesday evening, May 26, 6:00 p.m. - 8:00 p.m. Room reservations are available on a first-come, first-served basis. Email BOF@NeXT.com to reserve a room for your special interest group. Please include your coordinator's name, an email address, and an abstract of the session. ____________________________________________________________________ => REGISTRATION, HOTEL AND TRAVEL INFORMATION TO REGISTER FOR NeXTWORLD EXPO Mail completed form to: NeXTWORLD EXPO DCI 204 Andover Street Andover, MA 01810 -OR- Fax to: 508/470-0526 (24 hours a day) -OR- Call Toll-Free: 800/767-2336 (US only: 8:30a.m.- 6:00p.m. EST) -OR- International Registration: 508/470-3880 Please check all that apply: Developer Conference (#3032) ____ $695 ____ $745 (on-site) User Conference (#3033) ____ $195 ____ $245 (on-site) Exhibits Only (#3034) ____ $25 ____ $40 (on-site) User Group Program ____ FREE (Open to all attendees who register) SPECIAL PRICE FOR ALL CONFERENCES: Developer Conference Package (#3032N): Includes all conferences registration and a copy of NeXTSTEP for Intel processors User Environment and Development Tools for your 486 computer ____ $995 ____ $1095 (on-site) ____________________________________________________________________ REGISTRANT INFORMATION: Name: ______________________________ Company: __________________ Title: ______________________________ Division: __________________ Name: ______________________________ Street: ____________________ Title: ______________________________ City: ______________________ Name: ______________________________ State/ZIP: _________________ Title: ______________________________ Phone: _____________________ Fax: ______________________ Authorized Signature/Date: _________________________________________ Method of Payment _______ Check enclosed payable to NeXTWORLD EXPO _______ Visa _______ MasterCard Card number: ____________________________ Expiration date: ________________________ Cardholder Name: ________________________ _______ Bill my firm. Attention of: ________________________________ Conference cancellation policy: Substitutions may be made at any time. Cancellations made by May 11, 1993 will be accepted, subject to a cancellation service charge of $100. Confirmed registrants who do not attend the conference or cancel after May 11, 1993 are liable for the entire registration fee. All cancellations must be made in writing. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Hotel and Travel Information NeXTWORLD EXPO is pleased to offer you special discounted hotel overnight rooms and airfares. To receive discounted reservations or information on these special services, please call Conference and Travel Services (CATS) at 800/767-2755 or 508/470-3933 or fax your request to 508/470-0526. _____ San Francisco Hilton (Single or Double: $150) _____ The Donatello (Single or Double: $115) _____ Holiday Inn Union Square _____ Single: $115 _____ Double: $135 _____ Monticello Inn (Single or Double: $120) _____ ANA Hotel _____ Single: $130 _____ Double: $150 _____ Savoy Hotel (Single only: $109) _____ Campton Place _____ Single: $160 _____ Double: $185 _____ Cartwright Hotel _____ Single: $109 _____ Double: $119 Please indicate your first three hotel choices. We will notify you, in writing, of your confirmed hotel assignment. A credit card is needed to Guarantee Your Hotel Reservation _____ VISA _____ MasterCard _____ Am. Express _____ Diners Club _____ Discover _____ Personal Card _____ Corporate Card Cardholder Name: ____________________ Arrival/Departure ___________ Company Name: _____________________ Signature: __________________ Card Number: ________________________ Business Phone: _____________ Expiration Date: ____________________ Home phone: _________________ Fax Number: _________________________ -end-
Newsgroups: comp.sys.next.programmer From: clw@cbnews.cb.att.com (cameron.l.wolff) Subject: ject: Programming Drag-n-Drop in NeXTStep 3.0 Organization: AT&T Distribution: usa Date: Tue, 23 Mar 1993 21:22:53 GMT Message-ID: <1993Mar23.212253.12179@cbnews.cb.att.com> Does anyone know of a programming example using the NeXTStep 3.0 NXDrag? I have read the documentation and I am looking for an example in either a book, the internet or if someone could post and example I would appreciate it very much. Thanks
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Making space bar end editing Message-ID: <1993Mar23.214741.20175@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Tue, 23 Mar 1993 21:47:41 GMT I have a matrix of textFieldCells (for a little typing game actually) and I want the space bar to end editing just as if the return key were pressed. Actually, I'd settle for knowing when a space was typed. I could reimplement -keyDown: in a subclass of Matrix and look for a space, but then I'm not sure how to pass the event back into the window's responder chain so it can be processed normally if it's not a space. Am I on the right track? Other ideas? Thanks in advance for any help, Colin colin@delphi.bsd.uchicago.edu (NeXTMail)
Newsgroups: comp.sys.next.programmer From: nshukla@zuni.ucs.indiana.edu Subject: Setting id instance variables of palette object though Interface Builder Message-ID: <C4D4FB.1wq@usenet.ucs.indiana.edu> Keywords: Interface Builder palette id instance variable Sender: news@usenet.ucs.indiana.edu (USENET News System) Organization: Indiana University Distribution: usa Date: Tue, 23 Mar 1993 22:13:58 GMT I have a view subclass which is part of a 3.0 Interface Builder palette. This object has several instance variables which need to be "connected" to sliders and text fields. (So, for example, when a slider is changed, the view can update the text field, or, when the text field is changed, the view can update the slider.) In the header file for the view, I have declared these 'id' instance variables, and I can make connections to other objects as normal, AS LONG AS I AM EDITING THE PALETTE'S .NIB FILE. When I drag the object from the palette, Interface Builder will not show the variables that I can connect other objects to. I also have the same problem getting these other objects to send messages to my view. When I try to drag a connection from another object (while working with a dragged-in copy of the palette object), no actions so up. I have seen other palettes which get these feature to work, but I don't see anything fundamentally different with their code. Is there something obvious that I am doing wrong? Is there some extra step that I need to do? My project requires the functionally of Interface Builder palettes, but these palette objects are useless unless I can get these things working. Thanks in advance.
From: hiebm@acf3.nyu.edu (Michael Hieb) Newsgroups: comp.sys.next.programmer Subject: Using Remote FileServer on the Next with an ATT machine Date: 23 Mar 1993 22:04:40 GMT Organization: New York University Message-ID: <1oo1ho$rlh@calvin.NYU.EDU> Summary: Anyone know of method to use remotefileserver with ATT machines Keywords: ATT remote file system Does anyone know of how to use remotefileserver over a LAN with ATT machines. As there exists the service listed in NetInfoServer, it suggests the possibility. Any info would be helpful. If necessary to compile ATT remotefileserver on the Next does anyone know of source location, experience of others? Many thanks for any info. Michael
Newsgroups: comp.unix.questions,comp.unix.misc,comp.sys.next.misc,comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Boyer-Moore algorithm (bm)? In-Reply-To: acus02@email.mot.com's message of Tue, 23 Mar 1993 09:28:41 GMT To: acus02@email.mot.com (David McAnally) Message-ID: <CEDMAN.93Mar23113418@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1993Mar23.092841.17925@schbbs.mot.com> Date: Tue, 23 Mar 1993 15:34:17 GMT In article <1993Mar23.092841.17925@schbbs.mot.com> acus02@email.mot.com (David McAnally) writes: I just discovered a command called "bm" on my NeXT. The manpage says... Bm searches for lines that contain one of the (newline- separated) strings, using the Boyer-Moore algorithm. It is far superior in terms of speed to the grep (egrep, fgrep) family of pattern matchers for fixed-pattern searching, and its speed increases with pattern length. Does anyone know where I can get the source to this program so I can have it on my other UNIX hosts too? The manpage also refers to... AUTHOR Peter Bain (pdbain@bnr-vpa), with modifications suggested by John Gilmore and Amir Plivatsky but I can tell what domain bnr-vpa is located in. Replies by mail are prefered. Thanks! Don't bother. % cd ~/Mailboxes/OldMail.mbox % ll mbox -rw-r--r-- 1 cedman other 6150400 Mar 23 10:11 mbox % time /bin/grep 'Carl Edman' mbox >/dev/null 17.017s real 8.649s user 5.411s system 82% % time /usr/bin/bm 'Carl Edman' mbox >/dev/null 4.459s real 1.233s user 3.032s system 95% % time /usr/local/bin/ggrep 'Carl Edman' mbox >/dev/null # This is GNU grep 3.384s real 0.874s user 2.391s system 96% Instead get GNU grep from prep.ai.mit.edu. It automatically uses Boyer-Moore as an optimization whenever possible. Carl Edman
From: klm@gozer.mv.com (Kevin L. McBride) Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster Subject: Re: DidYouKnow... Message-ID: <1993Mar23.231930.11689@gozer.mv.com> Date: 23 Mar 93 23:19:30 GMT Article-I.D.: gozer.1993Mar23.231930.11689 References: <1993Mar22.230023.18303@midway.uchicago.edu> <1993Mar23.030939.24717@news.cs.brandeis.edu> Followup-To: misc.test Distribution: usa Organization: GhostBuster Central - Southern NH Usenet Access, Nashua, NH deane@binah.cc.brandeis.edu (David Matthew Deane) writes: > In article <1993Mar22.230023.18303@midway.uchicago.edu>, buzy@quads.uchicago.edu (Len Buzyna) writes: > >Today Japan owns the 7/11 store chain, Dunlop, Universal Pictures, Columbia > (lotsa stuff deleted) Look folks, when you reply to this idiot's post you're just adding to the problem. Ignore the jerk, let us sysadmins complain to his sysadmins and get his account nuked (which has already happened, BTW.) When you see the rantings of an idiot like this, hit your 'n' key and ignore him. You people are wasting just as much, if not more, bandwidth as he did and it's costing _ME_ money. Followups set to misc.test. Have a nice day. -- Kevin
From: alvin@cse.ucsc.edu (Alvin Jee) Newsgroups: comp.sys.next.programmer Subject: PopUpLists ??!?!? Date: 24 Mar 1993 02:57:46 GMT Organization: University of California, Santa Cruz (CE/CIS Boards) Distribution: world Message-ID: <1ooinaINN25m@darkstar.UCSC.EDU> Hello netters! How does one create a PopUpList using just code and not using IB? I've tried making a Button and a PopUpList so the action of the Button calls popUp of the PopUpList, but nothing happens. I put two entries into the popuplist (verified by [popUpList count]) and I can even get the titles of the popup's cells, but I can't get it to actually display itself when I click on the button. Does anybody have a code snippet that demonstrates how to do this? I've already checked NextAnswers, Appkit docs, Examples, MiniExamples and the Garfinkel-Mahoney book. They all use IB, but I don't want to. Alvin Jee alvin@cse.ucsc.edu
Control: cancel <1993Mar22.230023.18303@midway.uchicago.edu> Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster From: news@wakinyan.uchicago.edu (Newsmistress) Subject: cmsg cancel <1993Mar22.230023.18303@midway.uchicago.edu> Message-ID: <1993Mar24.030306.6983@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <1993Mar22.230023.18303@midway.uchicago.edu> Distribution: usa Date: Wed, 24 Mar 1993 03:03:06 GMT <1993Mar22.230023.18303@midway.uchicago.edu> was cancelled from within trn.
From: pauls@css.itd.umich.edu (Paul Southworth) Newsgroups: comp.sys.next.programmer,comp.archives.admin,comp.unix.programmer Subject: Myers' ftpd on a NeXT Date: 24 Mar 1993 04:41:40 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1oooq4INNc2p@stimpy.css.itd.umich.edu> Thanks to everyone who responded to my requests for help making perl on a NeXT. It turned out to be a system configuration problem, since I compiled it successfully on a NeXT that was not served by our binary server. Next, however, I need to compile a full-featured ftpd for the NeXT. I have used Chris Myers' ftpd (wuarchive) on other machines and I like it a lot. It obviously does not like the NeXT, however, and I have only ever seen it working under SunOS, Ultrix, AIX, 386BSD, and Dynix. Has anyone been able to build it on a NeXT? Or perhaps another similar full-featured ftpd with directory messages and good statistics? pauls@umich.edu
Newsgroups: comp.sys.next.programmer From: (slugg jello) Subject: Distributed Object Servers Message-ID: <1993Mar24.002104.3638@mouthers.nwnexus.wa.com> Sender: slugg@mouthers.nwnexus.wa.com Organization: Mouthing Flowers Date: Wed, 24 Mar 1993 00:21:04 GMT Anybody know if there is a way to inspect an application to ascertain whether it functions as a Distributed Object server? Specifically, I'm wondering whether the Preview application is a server, and what Protocol it supports. Thanks. -- Doug Kent Mouthing Flowers, Inc. slugg@mouthers.wa.com
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Alberto Ricart) Subject: NIB files and ownership problems Message-ID: <1993Mar21.184614.1348@parsec.mixcom.com> Organization: SmartSoft, Inc. Date: Sun, 21 Mar 1993 18:46:14 GMT NetLand, We have found that we run into several ownership problems with regards to nib files. We have two programmers working on the same project, and while they both are members of the same group and have rwx permissions for the group NIB files refuse to cooperate when making (fastcp seems to bark at not being owner) and when saving in IB. IB seems to like changing the umask to something other than specified on the prefs panel and the other dot files in the home directories. I have resorted to making the actual owner of all project files root and then just having the group actually modifying the files. But this is still not enough. We still have to su and make clean prior to making the project (if another person wants to make it) Any advice as to what we are doing wrong or may actually be a known problem when managing multiple person projects would be GREATLY appreciated. Please email to me, I'll summarize a guide for all to have. Later, -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
From: (slugg jello) Newsgroups: comp.sys.next.programmer Subject: Can you programatically force Mail to take RTFD? Message-ID: <1993Mar24.080830.4725@mouthers.nwnexus.wa.com> Date: 24 Mar 93 08:08:30 GMT Sender: slugg@mouthers.nwnexus.wa.com Organization: Mouthing Flowers Anyone know whether its possible to send RTFD data from another app to a Mail compose window via the Speaker/Listener methods? I've only been successful in sending plain text. Thanks for any suggestions. -- Doug Kent Mouthing Flowers, Inc. slugg@mouthers.wa.com
From: don@devon.co.uk (Don Radvan) Newsgroups: comp.sys.next.programmer Subject: Re: How to tell if user is shift-clicking (again) Message-ID: <1993Mar24.093626.11278@devon.co.uk> Date: 24 Mar 93 09:36:26 GMT References: <65365@mimsy.umd.edu> Sender: usenet@devon.co.uk (Mr. USENET) Organization: Devon Systems International In article <65365@mimsy.umd.edu> sib@carmi.cs.umd.edu (Scott Blanksteen) writes: > Hello, again... > Well, I'm wondering, what is the easiest way to detect if the user > is shift-clicking, in general, not in a TextField. In particular, I have a > collection of instances of a Button subclass, and I want the user to be > able to select some subset of them for later action. > Thanks in advance! > Scott > PS - Feel free to post rather than e-mailing me. In chapter 5 of the General Reference, in Defined Types there is a list of all keyboard state flag masks, they are: Type Meaning NX_ALPHASHIFTMASK Shift lock NX_SHIFTMASK Shift key NX_CONTROLMASK Control key NX_ALTERNATEMASK Alt key NX_COMMANDMASK Command key NX_NUMERICPADMASK Number pad key NX_HELPMASK Help key NX_NEXTCTRLKEYMASK Control key NX_NEXTLSHIFTKEYMASK Left shift key NX_NEXTRSHIFTKEYMASK Right shift key NX_NEXTLCMDKEYMASK Left command key NX_NEXTRCMDKEYMASK Right command key NX_NEXTLALTKEYMASK Left alt key NX_NEXTRALTKEYMASK Right alt key You use these in the following way: NXEvent *event = [NXApp currentEvent]; if (event->flags & NX_SHIFTMASK) // you can test for as many // masks as you wish { <your most excellent code here> You could use the above method in the mouseDown method of your Button subclass. Enjoy. -- Don Radvan # Devon Systems International +44 071 499 8381 # 14 Old Park Lane don@devon.co.uk # London W1Y 3LH UK NeXTmail friendly # "Betwixt Hyde and Green"
From: root@imani.cam.org (Operator) Newsgroups: comp.sys.next.programmer Subject: Stupid DBKit question Message-ID: <1993Mar23.164246.2683@imani> Date: 23 Mar 93 16:42:46 GMT Sender: root@imani (Operator) Hi This is a stupid question, but how do I get IB to recognize a DBModule of my own? The on-line says to put it in ~/Library/Models, but that doesn't help: I still only get the SybaseDemo Module as my only choice. (N.B. I have not made changes/implemented the Module in the DB (Sybase) itself. Thanks Ciao Nicolas
Newsgroups: comp.sys.next.programmer From: mueller@n1 (Robert Mueller) Subject: Requiem on the NeXT Message-ID: <ZDWBBZFW@minnie.zdv.uni-mainz.de> Sender: usenet@minnie.zdv.uni-mainz.de (USENET News System) Organization: Johannes Gutenberg Universitaet Mainz Date: Wed, 24 Mar 1993 10:10:17 GMT Hi, has anybody yet managed to compile and run the relational Database REQUIEM on the NeXT? Your responses will be welcome ... Thanks in advance Robert Mueller University of Mainz Germany
Newsgroups: comp.sys.next.programmer From: wolfram@nummerzwei!wolfram(Wolfram Zeder) Subject: PS, EPS from NeXT==>MAC Message-ID: <1993Mar24.085930.2432@nummerzwei.in-berlin.de> Sender: wolfram@nummerzwei.in-berlin.de Organization: GeNESIS Date: Wed, 24 Mar 1993 08:59:30 GMT Hi, is there anyone with experience to export EPS or PS files from NeXT applications like Draw or Illustrator to a Mac? You might say: no problem ... , but there must be a specific Mac-(E)PS format for all the world to see it on the Mac screen. My problem is to give my clients the possibility, to see the grafics I have made on their screens, in color and add some values or the like. Thanks for any information helping to solve my problem. wolfram -- =============================================================== | Wolfram Zeder | ZeDER GRAFIK & DESIGN | | Im Eichengrund 36 | Phone: 0049 30 381 70 21 | | 1000 Berlin 13 | Fax : 0049 30 381 70 22 | | wolfram@nummerzwei.in-berlin.de | private : 0049 30 382 43 16 | =============================================================== -- =============================================================== | Wolfram Zeder | ZeDER GRAFIK & DESIGN | | Im Eichengrund 36 | Phone: 0049 30 381 70 21 | | 1000 Berlin 13 | Fax : 0049 30 381 70 22 |
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Re: PS, EPS from NeXT==>MAC Message-ID: <1993Mar24.153023.25662@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory References: <1993Mar24.085930.2432@nummerzwei.in-berlin.de> Date: Wed, 24 Mar 1993 15:30:23 GMT In article <1993Mar24.085930.2432@nummerzwei.in-berlin.de> wolfram@nummerzwei!wolfram(Wolfram Zeder) writes: > Hi, > > is there anyone with experience to export EPS or PS files from NeXT > applications like Draw or Illustrator to a Mac? > > You might say: no problem ... , but there must be a specific Mac-(E)PS > format for all the world to see it on the Mac screen. > > My problem is to give my clients the possibility, to see the grafics I > have made on their screens, in color and add some values or the like. > > Thanks for any information helping to solve my problem. > > Don't know if it solves your problem, but I downloaded ghostscript to my Mac and use it to view Postscript files from my NeXT. I also copied down some NCSA software for manipulating the images that result. I did this because I have an HP550C on the home mac and couldn't print Postscript directly. Now I ghostscript it then print it okay; - - - - - - - - - J. W. Wooten
From: wave@media.mit.edu (Michael B. Johnson) Newsgroups: comp.sys.next.programmer Subject: Re: Setting id instance variables of palette object though Interface Builder Message-ID: <1993Mar23.225811.24346@news.media.mit.edu> Date: 23 Mar 93 22:58:11 GMT References: <C4D4FB.1wq@usenet.ucs.indiana.edu> Sender: news@news.media.mit.edu (USENET News System) Distribution: usa Organization: MIT Media Laboratory nshukla@zuni.ucs.indiana.edu writes > I have a view subclass which is part of a 3.0 Interface Builder > palette. This object has several instance variables which need to be > "connected" to sliders and text fields. (So, for example, when a slider > is changed, the view can update the text field, or, when the text field is > changed, the view can update the slider.) > In the header file for the view, I have declared these 'id' > instance variables, and I can make connections to other objects as normal, > AS LONG AS I AM EDITING THE PALETTE'S .NIB FILE. When I drag the object > from the palette, Interface Builder will not show the variables that I can > connect other objects to. > I also have the same problem getting these other objects to send > messages to my view. When I try to drag a connection from another object > (while working with a dragged-in copy of the palette object), no actions > so up. I bet you haven't exported your new class. The way you do that is in your palette project, there is a file called palette.table. You need to put your class name of your new view subclass into the ExportClasses part. I forget to do this sometimes myself. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu --> NeXT Mail accepted at wave@nordine.media.mit.edu
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: palettized, matricized inspector question Message-ID: <1993Mar23.230703.24572@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory Date: Tue, 23 Mar 1993 23:07:03 GMT Hi folks. Well, I've written a lot of IB palettes, but most of them have been subclasses of Object, not View. Recently, I needed to subclass some of the standard NeXT controls (slider, color well, button, etc.) and put them on a palette. I was surprised when I alt-dragged my subclass of slider and "lost" my inspector. I realized that the problem stemmed from the incestuous relationship between Control and Cell, so I sorta fixed things but putting my interesting behavior in to my subclass of Cell (i.e. MySliderCell), and alerting my subclass of Control (i.e., MySlider) that it should use a different class for it's Cell. I then made MySliderCell have an IB inspector, so now I can matricize my stuff okay. So here's the problem: I drag MySlider off the palette, and do an alt-drag of it to make 3 of them. I double click on the first slider, moving from the Matrix Inspector to MySliderCell inspector. I frob some stuff on that Inspector and then click on the slider next to it (i.e. the next instance of MySliderCell in the Matrix). Oddly enough, the inspector (the MySliderCell inspector that I wrote) doesn't seem to change. If I change a value on this inspector and click on the first slider, it also doesn't seem to change. I think I must be missing something here (clearly), but I'm not sure what. Anybody know what I'm talking about? -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu --> NeXT Mail accepted at wave@nordine.media.mit.edu
From: ratlifc@ctron.com (Christian A. Ratliff) Newsgroups: comp.sys.next.programmer Subject: NetWare API Followup-To: comp.sys.next.programmer Date: 24 Mar 1993 14:36:34 GMT Organization: Cabletron Systems, Inc. Distribution: world Message-ID: <ratlifc-240393093536@134.141.4.94> Where are the NetWare api library and header files? I looked in /usr/lib/libwapni.a and no luck, and /NextDeveloper/Headers/netware and again no luck. Where are these files? Are they not in the 3.0 upgrade? Thanks, Christian -------- Christian Ratliff Cabletron Systems, Inc. ratlifc@ctron.com <NeXTmail Accepted> Rochester, NH 03867 "I'm a NeXTSTEP man, I'm an SGI guy." (603) 337-1209 These are my opinions, not those of my employer, family, or state.
Newsgroups: comp.sys.next.programmer From: monty@its.com (Montgomery Zukowski) Subject: More distributed objects tips Message-ID: <9303241613.AA03949@its.com> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Wed, 24 Mar 1993 16:13:44 GMT Philippe, I've recently been programming a multithreaded distributed objects program. Unfortunately the source is proprietary so I can't share it. I have posted two articles about this project, one about an exception handling bug with respect to runWithTimeout, and one about NXLocks. If you did not recieve those I can pass them along again. There are two things which really made me scratch my head. The first is the fact that for any object you recieve over the wire you must run its connection if you wish to use it after you leave the scope of the routine which requested the object. Even if you have your own connection running, for instance if you registered yourself with the netname server and then ran the connection, you still need to run the connection of the incoming object if you want to use it later. I never found an example that did that, and it's not in the release notes or distributed objects intro, however it is in the description of one of the NXConnection -run methods. The second trick was to be aware of re-entrancy with single threaded programs. For multithreaded apps you just need to use mutex locks as I described in an earlier article. For single threaded apps I do not know if there is a satisfactory solution if you are in the situation described below. I have not had this happen to me, but it was described to me by another programmer here at ITS. Consider the following example of a server object fielding any number of requests from outside programs: @protocol <ServerExample> -method1:sender -method2:sender @end In the server object: method1:sender { count=[aList count]; [aList addObject:[sender happyObject]]; [self welcome:[aList objectAt:count]]; return self; } method2:server { [aList removeObject:[sender sadObject]]; return self; } When someone calls [server method1:self] remotely it will callback with [sender happyObject]. Conceptually, to me at least, the NXConnection is waiting for the message to call back, but in reality it is waiting for ANY message! So if anybody calls while it is waiting for its callback, it will service the message. It will not necessarily service the callback message first. Note that this can happen in a SINGLETHREADED server! This is in fact where it is most dangerous because you were not expecting to have data changed from under you, and mutex locks don't help because you are single threaded. While waiting for [sender happyObject] to return, method2 could be called which would decrease [aList count] and when [sender happyObject] returned the [aList objectAt:count] would not point to any object in the list. The above example is contrived but I think you see the point. Also note that method1 could be called by someone else while waiting for the callback, which would change count from underneath the first invokation. Later, Monty
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: PS, EPS from NeXT==>MAC Message-ID: <1993Mar24.185836.16735@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1993Mar24.085930.2432@nummerzwei.in-berlin.de> Date: Wed, 24 Mar 1993 18:58:36 GMT Wolfram Zeder writes > You might say: no problem ... , but there must be a specific > Mac-(E)PS format for all the world to see it on the Mac screen. Well, kinda. EPS files can contain an optional preview bitmap. Since the Mac doesn't have Display PostScript built in, applications must use the preview for on-screen display. These files will print fine on a PostScript printer, however, even though they only show as a box on the screen. I would suspect that there should be a PD program on the NeXT to add the preview. If you have Adobe Illustrator for the NeXT, you can import your EPS into that and save it as EPS with a preview. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: acus02@email.mot.com (David McAnally) Subject: Re: Boyer-Moore algorithm (bm)? Organization: MOTOROLA Date: Wed, 24 Mar 1993 17:40:43 GMT Message-ID: <1993Mar24.174043.17779@schbbs.mot.com> References: <CEDMAN.93Mar23113418@capitalist.princeton.edu> Sender: news@schbbs.mot.com (Net News) Carl Edman writes > In article <1993Mar23.092841.17925@schbbs.mot.com> acus02@email.mot.com (David McAnally) writes: > I just discovered a command called "bm" on my NeXT. The manpage says... > > Bm searches for lines that contain one of the (newline- > separated) strings, using the Boyer-Moore algorithm. It is > far superior in terms of speed to the grep (egrep, fgrep) > family of pattern matchers for fixed-pattern searching, and > its speed increases with pattern length. > > Does anyone know where I can get the source to this program so I can have it on > my other UNIX hosts too? The manpage also refers to... > > AUTHOR > Peter Bain (pdbain@bnr-vpa), with modifications suggested by > John Gilmore and Amir Plivatsky > > but I can tell what domain bnr-vpa is located in. > > Replies by mail are prefered. Thanks! > > Don't bother. > > % cd ~/Mailboxes/OldMail.mbox > > % ll mbox > -rw-r--r-- 1 cedman other 6150400 Mar 23 10:11 mbox > > % time /bin/grep 'Carl Edman' mbox >/dev/null > 17.017s real 8.649s user 5.411s system 82% > > % time /usr/bin/bm 'Carl Edman' mbox >/dev/null > 4.459s real 1.233s user 3.032s system 95% > > % time /usr/local/bin/ggrep 'Carl Edman' mbox >/dev/null # This is GNU grep > 3.384s real 0.874s user 2.391s system 96% > > Instead get GNU grep from prep.ai.mit.edu. It automatically uses > Boyer-Moore as an optimization whenever possible. > > Carl Edman Thanks to all that responded. GNU grep is indeed the answer. Also, thanks to those that sent me references to the algorithm. -- +-------------------------------------------------------------------------+ | David McAnally |Internet: acus02@email.mot.com | | Motorola Corp. Computer Services | Next: acus02@ems13.corp.mot.com | | CS / Application Engineering | IINMAIL: USMOTWTT | | M/D AZ49 R3148 | AT&T Easylink ELN: 62867057 | +-------------------------------------------------------------------------+
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: useful slider palette posted to sonata Message-ID: <1993Mar24.091653.3287@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory Date: Wed, 24 Mar 1993 09:16:53 GMT Hi folks. I just posted a little palette I put together tonight that I think people might find useful. It's basically a labeled slider, with outlets for a min, max, and current value. I wrote something the other day that had this functionality as a small part, but broke it out tonight into a separate palette 'cause I thought folks might find it useful. When programming on NeXTs these days, I tend to try and leave IB as little as possible, and this sort of stuff makes it easier. This palette also shows the - awakeInNIB bug, and a semi-reasonable workaround that works for Controls. Anyway, take a look if you're interested. It's only 10K compressed, and was put in pub/next/submissions on sonata.cc.purdue.edu as WLabeledSliderPalette.compressed (remember, that's 3.0-ese for .tar.Z) enjoy. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
Newsgroups: comp.sys.next.programmer From: stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) Subject: Assembly langauge on the NeXT? Message-ID: <C4ErFK.AIx@ucdavis.edu> Sender: usenet@ucdavis.edu Organization: University of California, Davis Date: Wed, 24 Mar 1993 19:28:16 GMT I find myself in the odd position of needing to learn some assembly language (about which I know nothing) as a prerequisite for a class. I figure somewhere on my NeXT there has got to be an assembler and some documentation for it, but Digital Librarian has not turned anything up. What are my options? -- --------------------------------------------------------------------- Stuart Staniford-Chen : stuarts@jeeves.ucdavis.edu Department of Physics : NeXT-Mail cheerfully accepted. UC Davis, CA 95616, USA. : regular email is fine too.
Newsgroups: comp.sys.next.programmer From: ciardo@cs.wm.edu (Gianfranco Ciardo) Subject: Reference Message-ID: <1993Mar24.190718.23231@cs.wm.edu> Sender: news@cs.wm.edu (News System) Organization: The College of William and Mary Distribution: usa Date: Wed, 24 Mar 1993 19:07:18 GMT I am looking for a paper comparing C++ and Objective-C, with a title which is something like "Why I need Objective-C". Does anybody have a complete reference to it, so that I can go to the library and copy it? Thanks, -- Gianfranco Ciardo
From: Mark_Wagner@NeXT.COM (Mark Wagner) Newsgroups: comp.sys.next.programmer Subject: Re: What version of the GNU C compiler runs on NS486beta? Message-ID: <7157@rosie.NeXT.COM> Date: 24 Mar 93 19:59:49 GMT References: <1993Mar21.112810.7772@rna.indiv.nluug.nl> Sender: news@NeXT.COM In article <1993Mar21.112810.7772@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > Since we discovered a bug in the 1.93 compiler that is used on NS 3.0, and we > know that this bug is not there in gcc 2.3, we would like to know what version > of gcc is the NS486 compiler. The "NS486" compiler is essentially gcc 2.2.2 with modifications for o NeXT's Objective-C. o Fat binaries. o Better optimization for x86 code generation. o Bug fixes (both in-house patches and some patches taken from 2.3). -- Mark mwagner@next.com
Newsgroups: comp.sys.next.programmer From: fn@junior.mathtok.polymtl.ca (Francois Normant) Subject: beta program for NS486 ? Message-ID: <1993Mar24.192647.7522@vlsi.polymtl.ca> Sender: news@vlsi.polymtl.ca (USENET News System) Organization: Mathematiques Appliquees - Ecole Polytechnique - Montreal Date: Wed, 24 Mar 1993 19:26:47 GMT Hi, Is there a beta test program or a developper program (NeRD) for NS486 ? Could you please give me a phone/fax number reachable from Canada (a 1 800 # does not always work). Thanks in advance. -- Francois Normant | Internet: fn@mathappl.polymtl.ca Dept. de Mathematiques Appliquees | Bitnet: franco@polyteca Ecole Polytechnique | CompuServe: 75210,525 C.P. 6079 - succursale A | Tel. (514) 340-4097
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Su Authorization Panel Message-ID: <1993Mar24.065231.1025@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Wed, 24 Mar 1993 06:52:31 GMT How do you do this? ie If I launch UserManagaer from "me", how do I get the Panel requesting root password? Also, I do I guarantee an app will run as a specific user. If I want an app to run as Root or Sybase what is the best way to do that. Does this help (I need this explained a little also) rwsr-xr-x 1 root 77 Feb 18 01:00 someapp ^ | What exactly does that s do? Any help in the above areas is appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | CIS 71101,1260 Always looking for new SW to market | Net Ian_Stewart@pyrian.com NeXT,Mac,PC & Sun | Isn't LiFE more like RiSK?
From: mahoney@csulb.edu (Mike Mahoney) Newsgroups: comp.sys.next.programmer Subject: Re: Reference Message-ID: <C4EyDv.K8A@csulb.edu> Date: 24 Mar 93 21:58:42 GMT References: <1993Mar24.190718.23231@cs.wm.edu> Sender: news@csulb.edu (News Administration/Rumor Bureau) Distribution: usa Organization: Cal State Long Beach "Why I need Objective-C" in the Journal of Object-Oriented Programming (JOOP), September 1991. It's very good. -mm In article <1993Mar24.190718.23231@cs.wm.edu> ciardo@cs.wm.edu (Gianfranco Ciardo) writes: > > I am looking for a paper comparing C++ and Objective-C, with a > title which is something like "Why I need Objective-C". > > Does anybody have a complete reference to it, so that I can go to > the library and copy it? > > Thanks, > > -- Gianfranco Ciardo > - Mike Mahoney, SCaN President Professor and Chair Computer Engineering and Computer Science Dept California State University, Long Beach Long Beach, CA 90840-8302
Newsgroups: comp.sys.next.programmer From: whr@lanl.gov (William H. Reed) Subject: NeXTbus Device Driver "slot" Message-ID: <1993Mar24.225625.10328@newshost.lanl.gov> Sender: news@newshost.lanl.gov Organization: Los Alamos National Lab Date: Wed, 24 Mar 1993 22:56:25 GMT I am looking for a copy of the "slot" device driver for NeXTbus boards. This software supposedly was included in the NeXTbus Development Kit. I would be grateful if someone would mail me a copy. Bill Reed LANL whr@lanl.gov
Newsgroups: comp.sys.ti.explorer,comp.sys.next.programmer,comp.infosystems.gopher,comp.graphics.explorer,alt.revolution.counter,alt.beer,rec.roller-coaster From: gregleg@microsoft.com (Greg Legowski) Subject: Re: DidYouKnow... Message-ID: <1993Mar24.205429.21077@microsoft.com> Date: 24 Mar 93 20:54:29 GMT Organization: Microsoft Corporation References: <1993Mar22.230023.18303@midway.uchicago.edu> <1993Mar23.005343.3903@adx.adelphi.edu> <1993Mar23.032509.25095@news.cs.brandeis.edu> Distribution: usa In article <1993Mar23.032509.25095@news.cs.brandeis.edu> deane@binah.cc.brandeis.edu writes: >In article <1993Mar23.005343.3903@adx.adelphi.edu>, bradley@adx.adelphi.edu (Rob Bradley) writes: >>This guy Len posts an article telling us about a "frightening" aticle >>concerning Japanese "war" practices. My questions: >> >> * what has this got to do with alt.beer? The article has little to nothing to do with ANY of the newsgroups listed above or any of the other newsgroups he posted to. (I saw this damn article on groups from rec.rollercoaster to alt.games.video.classic...) And people -- PLEASE stop following up to this. It's pointless and every reply is going to every newsgroup listed above (including this reply, but hey...) > >Fellow lurkers and posters of alt.revolution.counter! We have been invaded by >xenophobes and beerdrinkers! Is anything safe? Where will it all end? Will we be >invaded next by hordes of inebriated rollercoaster fans? Perish the thought! Hic. whazzat? I couldn't hear you 'cause of the guy screaming in the seat next to mine. Watch out for that first drop, it's a doozy. *belch* :-) for the humor-impaired... --Greg gregleg@microsoft.com
Newsgroups: comp.sys.next.programmer From: mshaler@tdocad.sps.mot.com (Michael Shaler) Subject: Dumb DBKit question.... Date: Thu, 25 Mar 1993 02:02:41 GMT Organization: Nippon Motorola Ltd., Tokyo, Japan Sender: news@tkymail.sps.mot.com Message-ID: <1993Mar25.020241.16360@tkymail.sps.mot.com> This is a simple one, forgive my ignorance. In DBTable view, how would one copy the entire table (all columns, all rows) to the pasteboard that handles NXTabularTextPboardType? It just seems that some things should happen automagically... --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 voice +813 3440 0033 fax mshaler@tdocad.sps.mot.com [NeXTmail]eboard that handles NXTabularTextPboardType? It just seems that some things should happen automagically... --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 vcould close the deals that got these oh-so-neces
From: reuven@athena.mit.edu (Reuven M. Lerner) Newsgroups: comp.sys.next.programmer Subject: Have I found the Garfinkel/Mahoney book typo? Date: 25 Mar 1993 03:43:25 GMT Organization: Massachusetts Institute of Technology Distribution: world Message-ID: <REUVEN.93Mar24224324@carbonara.mit.edu> I'm (slowly but surely) making my way through the Garfinkel and Mahoney book on NeXTSTEP programming, and while this might very well be my mistake, I wonder whether the error I'm encountering is due to the book, and not my clumsy hands. Specifically, MathPaper (the version described in chapter 11) builds just fine, without any warnings from the compiler. Pressing <Return> in the Calculator window, however, kills the entire application. Again, it's quite possible that I have messed up here. But I seem to remember that people had similar problems back when the book first came out, and I would hate to spend lots of time looking for bugs that weren't there. (Of course, it's probably time that I played with gdb seriously, so this might not be all bad.) Aside from this, my only regret is that I'm taking so long to read the book. It's wonderful! Thanks for any help you can provide... Reuven
Newsgroups: comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: Re: Su Authorization Panel Message-ID: <1993Mar25.030648.16743@hot.com> Sender: robertl@hot.com Organization: Hot Technologies References: <1993Mar24.065231.1025@pyrian.com> Date: Thu, 25 Mar 1993 03:06:48 GMT The "s" stands for set user ID on execution (setuid). It means that the executable "someapp" will run as the owner of the file - which in your case is "root" Look at the man pages for "chmod" and "setuid" for more information. Robert La Ferla Hot Technologies In article <1993Mar24.065231.1025@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: > Also, I do I guarantee an app will run as a specific > user. If I want an app to run as Root or Sybase what is the > best way to do that. > > Does this help (I need this explained a little also) > > rwsr-xr-x 1 root 77 Feb 18 01:00 someapp > > ^ > | > > What exactly does that s do? > > Any help in the above areas is appreciated. > > -- > Ian H. Stewart | voice/fax 415-664-1170 > Pyrian Software Group | CIS 71101,1260 > Always looking for new SW to market | Net Ian_Stewart@pyrian.com > NeXT,Mac,PC & Sun | Isn't LiFE more like RiSK?
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Finding Cells in a Text object Message-ID: <1157@rtbrain.rightbrain.com> Date: 24 Mar 93 19:22:29 GMT References: <yikesC4Cv4J.Bzx@netcom.com> Sender: glenn@rightbrain.com Michael Brill writes > > I have a rich Text object that contains both text and cells (RTFD). > I have need to rapidly find a cell within the Text object. > Assuming I have a HashTable or List with Cell id's and tags that > are in the Text object, how do I rapidly find a cell? > > Using -getLocation:ofCell:, I can find an NXPoint where the Cell is > located in the Text object, but how do translate this into a > NXSelPt? I desperately want to avoid brute-forcing a search as I > may be looking for dozens of Cells at a time that are in no > particular order. Brute-force it. You'd be amazed how fast a loop can plow through a text object, and there's no other reasonable approach for searching through something that's inherently linear like a text object. Also, a linear search will be reliable, easy to code, easy to maintain, and will let you spend your time doing more interesting things. I don't work with Text objects much, but I'm assuming that there's some reasonable way to know that you've encountered a Cell as you go sequentially through the text. It might be worth maintaining a list of where you found them so you don't have to search for them every time you need to do the lookup, but you'll need a mechanism for marking your table as "dirty" so the search will get done if the text object changed. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: stephane@planon.qc.ca Newsgroups: comp.sys.next.programmer Subject: Re: Hypercard Compatibility for NeXTSTEP Users from Thoughtful Software Keywords: Apple, NeXT, HyperCard Message-ID: <1993Mar24.031058.1157@CAM.ORG!planon> Date: 24 Mar 93 03:10:58 GMT References: <7135@rosie.NeXT.COM> Sender: stephane@CAM.ORG!planon In article <7135@rosie.NeXT.COM> Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) writes: > News > > FOR IMMEDIATE RELEASE > Contact: > > Mishelle McClure Baun > Thoughtful Software > 616 East Locust St. > Fort Collins, CO 80524 > Phone: (303) 221-4596 > Fax: (303) 221-0841 > email: info@thoughtful.com > > THOUGHTFUL SOFTWARE SHIPS PRE-RELEASE VERSION OF HYPERSENSE > Breakthrough product offers Hypercard Compatibility to NeXTSTEP > users > > ... > Key Features of HyperSense include: > - SenseTalk Scripting Language, compatible with HyperTalk > - Object Oriented Drawing, with multiple layers on a page > - Word Processing, including multiple fonts, embedded > graphics, and spell-checking > - Data Base Creation, with both fixed formats and > customization of individual pages > - Importing of HyperCard Stacks > - Powerful Tools for Browsing, Inspecting, and Modifying > Documents > - Digital Audio Recording & Editing > - Button and Field Creation and Inspection Tools > - Import and Export of TIFF and EPS Graphics > - Custom Tool Palettes, with pre-scripted objects ready to > drag into any document > - XModule Developers Kit to facilitate custom extensions to > the SenseTalk language > Is it possible to export stack to HyperCard? Stephane Savard Director R&D Planon Telexpertise Inc. 1370 Joliot-Curie #708 Boucherville, Quebec Canada, J4B 7L9 Email: stephane@planon.qc.ca (NeXTmail accepted and appreciated!)
From: msanford@pencom.com Newsgroups: comp.sys.next.programmer Subject: Re: Stupid DBKit question Message-ID: <1993Mar24.174815.5823@paramus2.uucp> Date: 24 Mar 93 17:48:15 GMT References: <1993Mar23.164246.2683@imani> Sender: usenet@paramus2.uucp Organization: United Parcel Service, Inc. In article <1993Mar23.164246.2683@imani> root@imani.cam.org (Operator) writes: > Hi > > This is a stupid question, but how do I get IB to recognize a DBModule of > my own? The on-line says to put it in ~/Library/Models, but that doesn't > help: I still only get the SybaseDemo Module as my only choice. (N.B. I > have not made changes/implemented the Module in the DB (Sybase) itself. Try ~/Library/Databases - mike
From: seo@ccwf.cc.utexas.edu (seo) Newsgroups: comp.sys.next.programmer Subject: Latest gdb with gcc2.3.3? Date: 25 Mar 93 00:39:46 Organization: The University of Texas at Austin Distribution: comp Message-ID: <SEO.93Mar25003946@louie.cc.utexas.edu> I have installed gcc2.3.3 so that I can program for a C++ class. I now have a problem using my gdb3.94 with my projects. I've tried to install gdb4.8, but the configure installation reported that NeXT is not supported. The NeXT FAQs do not have any info about the latest gdb versions for NeXT, so the question is, "What version of gdb do I need to be able to work with gcc2.3.3? Is there a gdb version that I can use?" Please help! I'm tired of using cout statements for debugging. Email is preferred, but a post is also fine. Mike Seo seo@cyndy.ece.utexas.edu
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Alberto Ricart) Subject: IB is making me $#%^%&* CRAZY Message-ID: <1993Mar24.152351.803@parsec.mixcom.com> Organization: SmartSoft, Inc. Date: Wed, 24 Mar 1993 15:23:51 GMT We have 2 people working on a project and every time one person modifies a nib, it becomes impossible for the other to modify it without su' ing and making clean. Both people share a group membership with the correct privileges set. ANY IDEAS?? -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
From: ramesh@bodhi.esys.cwru.edu (Ramesh Dodamani) Newsgroups: comp.sys.next.programmer Subject: DBKit Questions Date: 25 Mar 1993 07:23:40 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1ormls$1q6@usenet.INS.CWRU.Edu> In the 93-Winter-NeXTAnswers it says: > Q: How do I connect a property of my table to a PopUpList > object? I've tried connecting an attribute of my table to > the PopUpList but nothing happens. The PopUpList still > shows item 1, item 2, etc. > A: PopUpList connections can > be made only to a field "x.y.z" where x is an entity, y is a > one-to-one relationship, and z is a leaf-node field that > is either a number or a string. For example, if you connect > the attribute "name" from your Employee table to the > PopUp, it will only show item1, item 2, etc. However, if > you connect "Employee.Department.name", it will show > all the names in the department. If I have a table with just 2 columns like: 1, name1 2, name2 ... what is the workaround to make the names appear in the popuplist? Thanks Ramesh
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Assembly langauge on the NeXT? Message-ID: <1993Mar25.084551.16991@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <C4ErFK.AIx@ucdavis.edu> Date: Thu, 25 Mar 1993 08:45:51 GMT In article <C4ErFK.AIx@ucdavis.edu> stuarts@jeeves.ucdavis.edu (Stuart Staniford-Chen) writes: >I find myself in the odd position of needing to learn some assembly >language (about which I know nothing) as a prerequisite for a class. I >figure somewhere on my NeXT there has got to be an assembler and some >documentation for it, but Digital Librarian has not turned anything up. Look in /NextLibrary/Documentation/NextDev/Assembler/ on a machine running NeXT Software Release 3.0. This describes how to use the assembler, assuming that you already know the assembly language. There are many books "out there" dealing with assembly language programming on the Motorola 68020-or-later. Find one you like. You may find it helpful to feed short C programs to cc -S and look at what it generates; this will show you what's needed for a "skeleton" program, how to call printf(), etc. -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: IB is making me $#%^%&* CRAZY Message-ID: <1993Mar25.085436.17488@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Mar24.152351.803@parsec.mixcom.com> Date: Thu, 25 Mar 1993 08:54:36 GMT In article <1993Mar24.152351.803@parsec.mixcom.com> alberto@parsec.mixcom.com (Alberto Ricart) writes: >We have 2 people working on a project and every time >one person modifies a nib, it becomes impossible for the >other to modify it without su' ing and making clean. What's your umask set to? (That's "File-Creation Mask" in Preferences' [UNIX] Expert Preferences, for you GUI-heads.) Does it permit write to group? (And yes, you do have a legitimate complaint if IB isn't respecting permissions on existing files.) -=EPS=-
From: hilgert@stl.informatik.uni-dortmund.de (Thomas Hilgert) Newsgroups: comp.sys.next.programmer Subject: Where is the termios.h Date: 25 Mar 1993 13:39:55 GMT Organization: CS Department, University of Dortmund, Germany Message-ID: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> Hi, i miss the termios.h ist BSD stuff. Is there an equalent on the NeXT ? hints are welcome ! thanks in advance -- *----------------------------------------------------------------------* | Thomas Hilgert | hilgert@stl.informatik.uni-dortmund.de | | | ___ | | Universitaet Dortmund | //// |
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy From: rca@cs.brown.edu (Ronald C. Antony) Subject: Re: least bad alternatives to NeXTSTEP? Message-ID: <1993Mar25.134538.16271@cs.brown.edu> Sender: news@cs.brown.edu Organization: Brown University Department of Computer Science References: <1993Mar17.145711.10276@mcs.gvsu.edu> Date: Thu, 25 Mar 1993 13:45:38 GMT In article <1993Mar17.145711.10276@mcs.gvsu.edu> erickson@oak.mcs.gvsu.edu (Carl Erickson) writes: >Due to circumstances unfortunately beyond my control I'd like >the net's wisdom on the following question: > If you were developing a set of applications > which are interface intensive, and > you refuse to work in a non-OO environment, and > you are coerced into using something other than NeXTSTEP, > what are the least bad alternatives? >I'm starting this project from scratch (hardware and software) so I'm >open to all alternatives. Get yourself a SGI Indigo2. They have very good hardware, a quite decent development environment that supports (as far as I know C++) OOPLS. Even better, try to get GNUs Objective-C runtime. (Is that already released in some form that is ready to be USED rather than DEBUGGED?) At least with an SGI you don't have to complain about hw speed and quality, and the software is at least up to par with other things out there... (except NeXTSTEP) -- ------------------------------------------------------------------------------ "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rca@cs.brown.edu or antony@browncog.bitnet
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Stupid DBKit question Message-ID: <1993Mar25.114820.5022@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Mar23.164246.2683@imani> Date: Thu, 25 Mar 93 11:48:20 GMT In article <1993Mar23.164246.2683@imani> root@imani.cam.org (Operator) writes: > Hi > > This is a stupid question, but how do I get IB to recognize a DBModule of > my own? The on-line says to put it in ~/Library/Models, but that doesn't > help: I still only get the SybaseDemo Module as my only choice. (N.B. I > have not made changes/implemented the Module in the DB (Sybase) itself. > > Thanks > > Ciao > > Nicolas Put it in /LocalLibrary/Databases or ~/Library/Databases -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: Matthias Imhof <gondwana@basalt.mit.edu> Newsgroups: comp.sys.next.programmer Subject: gdb and Edit: how to get it working Date: 25 Mar 1993 15:58:48 GMT Organization: Massachvsetts Institvte of Technology Message-ID: <1oskroINNpc1@senator-bedfellow.MIT.EDU> well, the subject says all: how can i get the gdb work with Edit 3.0? yes, i am in developper mode. after the view command gdb just waits for ever in the console log i find: runCommand: cd "/gondwana/tmp/CalculatorLab++" gdb SimpleCalc.app/SimpleCalc -x PB.gdbinit usingShell: inFolder: /gondwana/tmp/CalculatorLab++ windowTitle: gdb SimpleCalc.app/SimpleCalc closeOnExit: 0 or if i dont invoke it by projectbuilder: Mar 24 16:55:42 basalt Edit[3479]: Error loading /usr/lib/GdbClient.bundle/GdbClient Mar 24 16:55:42 basalt Edit[3479]: rld(): Undefined symbols: any ideas out there? matthias --- *************************************************************************** * Matthias G.Imhof phone: (617) 253 7835 * * MIT Earth Resource Lab E34/370 fax: (617) 253 6385 * * 42 Carlton St * * Cambridge MA 02142 email: mgi@erl.mit.edu * * There is no dark side of the moon really. Matter of fact it's all dark * ***************************************************************************
Newsgroups: comp.sys.next.programmer From: moose@aoa.utc.com (Bruce Trvalik) Subject: IB replacement Message-ID: <1993Mar25.165732.11374@aoa.aoa.utc.com> Sender: news@aoa.aoa.utc.com (USENET News System) Organization: Adaptive Optics Associates Date: Thu, 25 Mar 1993 16:57:32 GMT With the demise of NeXT hardware, some of our customers have asked us to port our software to Sun workstations. I am looking for a development environment the will run on the sun and is as rich as what comes with the NeXT. I realize that NS will soon be out for 486 + and *maybe* other workstation, however my customers don't like to cross their fingers. I am currently looking at some of the GUI tools for X, but any insight would be helpful. Thanks -- * Bruce Trvalik AOA-----------------* * (617)864-0201 check your mind at the door - The Band That Time Forgot * moose@aoa.utc.com * aoa!moose@bbn.com
Newsgroups: comp.sys.next.programmer From: frank@fnbc.com (Frank Mitchell) Subject: Re: IB is making me $#%^%&* CRAZY Message-ID: <1993Mar25.154322.21228@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Mar25.085436.17488@csus.edu> Date: Thu, 25 Mar 93 15:43:22 GMT In article <1993Mar25.085436.17488@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > (And yes, you do have a legitimate complaint if IB isn't > respecting permissions on existing files.) As far as we can tell, IB doesn't respect the umask. Currently we kludge it with a script that finds all the nibs in the project, and if the user running the script owns the nib, it chmods it to group-writable. (It's just a one-line call to "find" with a -exec flag; remember that nibs are directories now. I leave it as an exercise for the reader.) -- Frank Mitchell email(work): frank@fnbc.com (NeXTmail) (home): frank@gagme.chi.il.us "Y'know, there are times like this when I wish I had an act." -- David Letterman (in a monologue)
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Compiling libg++ under NS3.0 (libg++1.39.0) Date: 23 Mar 1993 09:54:59 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1ommpj$ati@steffi.demon.co.uk> cc: next-prog@cpac.washington.edu Has anybody come up with a good way to resolve the include file problems when compiling libg++1.39.0 in NeXTStep 3.0? The problems are caused by the c++ includes using directives like #include "//usr/include/sys/stat.h" Which plays havoc because of the new /usr/include tree. For the moment I am editing each include file ie. #include "/usr/include/bsd/sys/stat.h" I guess the proper way would be to change this to #include <sys/stat.h> and let the compiler find the header file? Can somebody tell me why they use two // in the #include?
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Compiling libg++ under NS3.0 (libg++1.39.0) Date: 23 Mar 1993 11:51:43 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1omtkf$1n5@steffi.demon.co.uk> References: <1ommpj$ati@steffi.demon.co.uk> cc: next-prog@cpac.washington.edu Further to my libg++-1.39.0 under NeXTStep enquires make tests produces a diff with the following checkdiffs has this ie. only failed one test 460c460 < < -2.22045e-16 : 36 --- > < -1.0842e-19 : 36 Has anybody else encountered this?
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.windows.x.interviews,comp.sys.next.programmer,comp.windows.x Subject: Interviews on NeXT? Date: 25 Mar 1993 18:51:15 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1osuv3$4om@steffi.demon.co.uk> Does Interviews run with any of the X server implementations on the NeXT?
From: dave@prim.demon.co.uk (Dave Griffiths) Newsgroups: comp.sys.next.programmer Subject: Re: Finding Cells in a Text object Message-ID: <1993Mar25.073226.5672@prim> Date: 25 Mar 93 07:32:26 GMT References: <yikesC4Cv4J.Bzx@netcom.com> <1157@rtbrain.rightbrain.com> Sender: usenet@demon.co.uk Organization: Primitive Software Ltd. In article <1157@rtbrain.rightbrain.com> glenn@rightbrain.com writes: > >I don't work with Text objects much, but I'm assuming that there's >some reasonable way to know that you've encountered a Cell as you go >sequentially through the text. > Well there may be a way, but it's certainly not reasonable. :-) Dave Griffiths
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Re: Finding Cells in a Text object Message-ID: <yikesC4Gq6s.1z6@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <yikesC4Cv4J.Bzx@netcom.com> <1157@rtbrain.rightbrain.com> Date: Thu, 25 Mar 1993 20:56:52 GMT glenn@rightbrain.com (Glenn Reid) writes: >Brute-force it. You'd be amazed how fast a loop can plow through a >text object, and there's no other reasonable approach for searching >through something that's inherently linear like a text object. Also, >a linear search will be reliable, easy to code, easy to maintain, and >will let you spend your time doing more interesting things. Yeah, I don't really mind brute-forcing the search, but since I'm repeatedly scanning through many pages of text/graphics for a single tag, it could get kind of slow. >I don't work with Text objects much, but I'm assuming that there's >some reasonable way to know that you've encountered a Cell as you go >sequentially through the text. I can't figure it out. Even though there is a method to get the x/y loc of a cell ID, I have no way of translating that x/y loc into a character position offset. It might be worth maintaining a list of where you found them so you don't have to search for them every time you need to do the lookup, but you'll need a mechanism for marking your table as "dirty" so the search will get done if the text object changed. There will be hundreds of embedded indextags (Cells) inside of many, many pages of text. Imagine updating a list with hundreds of elements each time the user pressed a keystroke. My guess is that I'm going to have to use the Text object's WriteRTFDTo: and pluck out the cell from the stream. It seems a nasty way to do it, but I can't figure another out. Thanks, ...Michael Brill (yikes@netcom.com) BTW: Removing the password in NetInfoManager worked fine :) -- ----
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Re: Finding Cells in a Text object Message-ID: <yikesC4GqG9.276@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <yikesC4Cv4J.Bzx@netcom.com> <1157@rtbrain.rightbrain.com> <1993Mar25.073226.5672@prim> Date: Thu, 25 Mar 1993 21:02:32 GMT dave@prim.demon.co.uk (Dave Griffiths) writes: >Well there may be a way, but it's certainly not reasonable. :-) I'm open to any suggestions - I'm desperate!!! Thanks, ...Michael Brill (yikes@netcom.com) -- ----
From: mbehrens@cs.utexas.edu (Mikael Behrens) Newsgroups: comp.sys.next.programmer Subject: problems with NXRectFillListWithGrays() Message-ID: <87195@ut-emx.uucp> Date: 25 Mar 93 19:22:39 GMT Sender: news@ut-emx.uucp Distribution: usa Hi, I'm trying to speed up the drawself:: method in a custom view with the NXRectFillListWithGrays() function, but every time the application gets to this funtion call I get the following errors: Mar 25 12:53:39 scout CApp[1633]: DPS client library error: PostScript program error, DPSContext e01e4 Mar 25 12:53:40 scout CApp[1633]: %%[ Error: undefined; OffendingCommand: ^B ]%% Mar 25 12:53:40 scout CApp[1633]: DPS client library error: PostScript program error, DPSContext e01e4 Mar 25 12:53:40 scout CApp[1633]: %%[ Error: undefined; OffendingCommand: Ap ]%% Mar 25 12:53:40 scout CApp[1633]: DPS client library error: PostScript program error, DPSContext e01e4 Mar 25 12:53:40 scout CApp[1633]: %%[ Error: undefined; OffendingCommand: ^B ]%% Mar 25 12:53:40 scout CApp[1633]: DPS client library error: PostScript program error, DPSContext e01e4 Mar 25 12:53:40 scout CApp[1633]: %%[ Error: undefined; OffendingCommand: B ]%% Mar 25 12:53:40 scout CApp[1633]: DPS client library error: PostScript program error, DPSContext e01e4 Mar 25 12:53:40 scout CApp[1633]: %%[ Error: syntaxerror; OffendingCommand: ^^ ]%% This is just a sample. They go on and on. What do they mean? I've inspected the lists I send the function in gdb and they seem to be okay. Any help would be greatly appreciated. Please respond via email, as my newshost is extremely unpredictable. Mikael -- Mikael Behrens mbehrens@cs.utexas.edu (NeXTMail OK) Computer Science student University of Texas at Austin "They had bigger firearms than we had." -- BATF spokesperson on the recent unpleasantness in Waco
From: sandell@chowning.CNMAT.Berkeley.EDU (Gregory J. Sandell) Newsgroups: comp.sys.next.programmer Subject: Need to run sndcompress on a non-NeXT machine Date: 25 Mar 1993 23:46:27 GMT Organization: University of California, Berkeley Message-ID: <1otg8j$4r9@agate.berkeley.edu> I need to compress some NeXT soundfiles, send them over the net (via ftp) to a non-NeXT machine, and then I need to uncompress them there and then convert them to Mac soundfiles. Is there a way to get sndcompress running on a non-NeXT machine? Is the software available or is the compression scheme a secret? Your help appreciated...this is urgent. Thanks -- Greg Sandell Research Fellow, Center for New Music and Audio Technologies (CNMAT) sandell@cnmat.cnmat.berkeley.edu -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I[7&-O;&]R=&)L7')E9#!<9W)E96XP7&)L=64P M.WT*7'!A<F1<='@Q,34R7'1X,C,P-%QT>#,T-39<='@T-C`X7'1X-3<V,%QT M>#8Y,3)<='@X,#8T7'1X.3(Q-EQT>#$P,S8X7'1X,3$U,C!<9C!<8C!<:3!< M=6PP7&9S,C1<9F,P(%P*22!N965D('1O(&-O;7!R97-S('-O;64@3F585"!S M;W5N9&9I;&5S+"!S96YD('1H96T@;W9E<B!T:&4@;F5T("AV:6$@9G1P*2!T M;R!A(&YO;BU.95A4(&UA8VAI;F4L(&%N9"!T:&5N($D@;F5E9"!T;R!U;F-O M;7!R97-S('1H96T@=&AE<F4@86YD('1H96X@8V]N=F5R="!T:&5M('1O($UA M8R!S;W5N9&9I;&5S+B`@7`I<"DES('1H97)E(&$@=V%Y('1O(&=E="!S;F1C M;VUP<F5S<R!R=6YN:6YG(&]N(&$@;F]N+4YE6%0@;6%C:&EN93\@($ES('1H M92!S;V9T=V%R92!A=F%I;&%B;&4@;W(@:7,@=&AE(&-O;7!R97-S:6]N('-C M:&5M92!A('-E8W)E=#]<"EP*66]U<B!H96QP(&%P<')E8VEA=&5D+BXN=&AI M<R!I<R!U<F=E;G0N7`I<"E1H86YK<UP*7`HM+5P*1W)E9R!386YD96QL7`I2 M97-E87)C:"!&96QL;W<L($-E;G1E<B!F;W(@3F5W($UU<VEC(&%N9"!!=61I M;R!496-H;F]L;V=I97,@*$-.34%4*5P*<V%N9&5L;$!C;FUA="YC;FUA="YB 097)K96QE>2YE9'5<"@I]"D-. `
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: Su Authorization Panel Message-ID: <1993Mar25.232714.25249@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1993Mar25.030648.16743@hot.com> Date: Thu, 25 Mar 1993 23:27:14 GMT In article <1993Mar25.030648.16743@hot.com> Robert_La_Ferla@hot.com writes: > > Does this help (I need this explained a little also) > > > > rwsr-xr-x 1 root 77 Feb 18 01:00 someapp > > An app this size is probably a shell script. Never make a shell script setuid, since it will give any user the opportunity to become that user. (Especially, never make setuid root shell scripts). -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.marketplace,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer From: sieu@cory.Berkeley.EDU ( TECKCHENG SIEU) Subject: SUBMISSION: DESKTOP 2.0 -- ICON & WINDOW MANAGER WITH VIRTUAL SCREENS Message-ID: <1993Mar26.090125.26624@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Fri, 26 Mar 1993 09:01:25 GMT I am glad to announce that a full demo copy of Desktop 2.0 is now available at cs.orst.edu in /pub/next/submissions, garbo.uwasa.fi in /next/demo (sonata.cc.purdue.edu is not working!). All the functions are enabled so that you can test and play with it. (If it is running in full-demo mode, you should see the message "All functions are enabled" when Desktop 2.0 is invoked). For those who have no access to the ftpsite, email me your address and I will send you a free demo copy. Please validate the demo copy by running "sum" >> >>localhost> sum Desktop2.0.tar.Z >> 31420 956 >> By the way, Desktop is not just another virtual screen manager. Putting aside the virtual screen related functions, Desktop allows you to operate on the three type of objects namely Windows, NeXTApp Icons and Desktop Icons. Window operations ================= A window can be moved from one virtual screen to another, fronted, backed, adjusted, floated, raised or lowered. Also available are front/adjust/lower all windows. NeXTApp Icons ============= NeXTApp Icons are those that gather at the lower left corner of your screen. They can be fronted (so that they appear before windows), backed, hidden, tidied (or ask Desktop to auto-tidy for you) or grouped by application. Desktop Icons ============= These icons function like those in the NeXTdock. You can double-click on them or make they autolaunch in any of the virtual screens! And further, they can be created from applications, documents or folders. They can be moved from screen to screen, floated or hidden. Of course, they can be stored for future work sessions. The advanced features that support the virtual screens are three window modes namely: autoScreen mode -- Desktop will switch to the screen that contains the needed window autoWindow mode -- the needed window will be moved to the active screen plain mode -- Nothing is done. In addition, when you drag a window to the screen boundary, Desktop will auto-flip to the next screen. This is called Auto-Flip feature which can be conveniently enabled/disabled so as to avoid unnecessary screen flipping. Version 2.0 comes with an object inspector, a palette and a Desktop Window so that you can enjoy a gentle learning curve. Other input methods are available for speedy actions. The user-interface is improved and polished. What is the price? $30 per copy. It supports NeXTstep 2.x and NeXTstep 3.0. "QuickStart" are enhanced and "Quick Guide for the Impatient" are included to let you easily pick up Desktop. All registered users are entitled to free upgrade to version 2.0. Lastly, thanks for sending me bug reports and suggestions. Though not all the suggestions are implemented, I assure you that your bug reports/suggestions are taken seriously. Johnson Sieu email:sieu@cory.berkeley.edu address:P.O. Box 367 Berkeley, CA 94701-0367
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit Bug? Message-ID: <1993Mar26.013116.6111@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Fri, 26 Mar 93 01:31:16 GMT Has anyone else noticed that when a popup list is connected to the same property as is displayed in a table view that changing the value in the popup list does not update the table view? If this is a known bug please confirm that to me. If this is not a bug please let me know that so I can look for the problem elsewhere. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: giorgio@itnsg1.cineca.it (Giorgio Ingrassia) Subject: 3D-kit and transparency Message-ID: <giorgio.733151821@itnsg1> Sender: news@itnnext4.cineca.it (Network news administrator) Organization: Dipartimento di Informatica e Studi Aziendali, Universita' di Trento Date: Fri, 26 Mar 1993 13:17:01 GMT I'd like to render a transparent surface, but the method setTransparency: seems not to work properly (better, not to work at all..) So far, I haven't found an adequate documentation, nor suitable examples. Has anyone got the right hint? Please contact me directly via E-mail at: giorgio@itncpl.cineca.it giorgio@itnsg1.cineca.it Thanks!
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Alberto Ricart) Subject: Re: IB is making me $#%^%&* CRAZY Message-ID: <1993Mar25.201906.866@parsec.mixcom.com> Organization: SmartSoft, Inc. References: <1993Mar24.152351.803@parsec.mixcom.com> <1993Mar25.085436.17488@csus.edu> Date: Thu, 25 Mar 1993 20:19:06 GMT In article <1993Mar25.085436.17488@csus.edu> eps@cs.sfsu.edu writes: >In article <1993Mar24.152351.803@parsec.mixcom.com> > alberto@parsec.mixcom.com (Alberto Ricart) writes: >>We have 2 people working on a project and every time >>one person modifies a nib, it becomes impossible for the >>other to modify it without su' ing and making clean. > >What's your umask set to? (That's "File-Creation Mask" in >Preferences' [UNIX] Expert Preferences, for you GUI-heads.) >Does it permit write to group? > >(And yes, you do have a legitimate complaint if IB isn't >respecting permissions on existing files.) > > -=EPS=- Well folks, It turns out that IB has a stupid bug that doesn't respect group ownership rights. (All umasks and group privileges are set to do the right thing.) It just occurred to me to setuid IB to some user and just operate under that... However, that may not take care of make - Make barks at the lack of privileges for nib copying/destroying -aka make clean, etc. From Andrew Stone's message, I guess that this problem has been fixed for 3.1 in the interim they all seem to -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
From: wsmith@cs.utexas.edu (Wesley C. Smith) Newsgroups: comp.sys.next.programmer Subject: Re: Finding Cells in a Text object Date: 26 Mar 1993 09:29:46 -0600 Organization: CS Dept, University of Texas at Austin Message-ID: <1ov7haINNolr@im4u.cs.utexas.edu> References: <1157@rtbrain.rightbrain.com> <1993Mar25.073226.5672@prim> <yikesC4GqG9.276@netcom.com> Here is some code that may do what you want. It is a hack but seems to work for me. Searching the runs is not too bad because there is only a new run for a font change or a graphic Cell NOT for every character. Does anyone know how to make a graphic Cell that will do drag and drop AND copy/paste, I can make a cell that can do either but not both. :-( Wes Smith wes@arissoft.com --------------------------- int run, chars; id cell chars = 0; for (run = 0; run < [textField nRuns]; run++) { if ([textField graphicRun:run]) { // run is for a graphicCell not a font // cell is a graphic cell at character position chars cell = [textField cellForRun:run]; } chars += [textField numCharsForRun:run]; } @interface Text(Private) - (int)nRuns; - (BOOL)graphicRun:(int)runNumber; - cellForRun:(int)runNumber; - (int)numCharsForRun:(int)runNumber; @end @implementation Text(Private) -(int)nRuns { return theRuns->chunk.used/sizeof(NXRun); } - (BOOL)graphicRun:(int)runNumber { return theRuns->runs[runNumber].rFlags.graphic; } - cellForRun:(int)runNumber { return theRuns->runs[runNumber].info; } - (int)numCharsForRun:(int)runNumber { return theRuns->runs[runNumber].chars; } @end
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.lang.c++ Subject: Gcc and libg++ (Which one?) Date: 26 Mar 1993 15:08:38 -0000 Organization: me organized? That's a joke! Distribution: world Message-ID: <1ov69m$6rq@steffi.demon.co.uk> cc: brendan@cygnus.com Earlier this week I installed libg++-1.39.0 to fit in with NeXT's gcc 1.39.1. Things work quite well with _simple_ c++ code. I am working my way thru some tutorials and I seem to be missing a lot of classes. Typically the streams package iostream.h fstream.h etc etc. I would like to know if I am able to attain complete c++ comptability (V3.0, V4.0?) with streams by resorting to using gcc2.3.3 with libg++2.3. Since gcc2.3.3 is about 7 MEG I thought Id ask first. I am aware that gcc1.39.0 doesn't support templates which I will probably need to investigate but in the meantime the streams package is my main concern. If I can solve both of these problems by upgrading and installing gcc2.3.3 then I will do so. I assume its necessary for NeXT development to maintain the original GCC that comes with NeXTStep thus having two compilers on my machine one for Objc and the other one for C and C++. Any clues?
Newsgroups: comp.sys.next.programmer From: jclannom@mathlab.mtu.edu (Joe Lannom) Subject: Someone help me out here! Message-ID: <1993Mar26.155619.4170@mtu.edu> Originator: jclannom@next1 Keywords: header files Sender: news@mtu.edu Organization: Michigan Technological University Date: Fri, 26 Mar 1993 15:56:19 GMT I need to find a copy of nextutils.h. Its referenced in SubprocessPlus.m but its nowhere to be seen... its not included in the tar file for it, so it must be standard. Is this a 3.0 only header file? If you have it, could you mail it? --- Joe Lannom Mathematical Sciences Department Work: (906) 487-2068 General Computer Support jclannom@mathlab.mtu.edu Michigan Technological University -- Joe Lannom Mathematical Sciences Department Work: (906) 487-2068 General Computer Support jclannom@mathlab.mtu.edu Michigan Technological University
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit IB Question Message-ID: <1993Mar26.131822.6372@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Fri, 26 Mar 93 13:18:22 GMT Does anyone know a reliable method of determining within IB the fetch groups that will be used by a DBModule at run time? I have a palette object that needs to know this. Also how do I determine which properties are being used by the DBModule for each fetch group it is managing while in IB? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: rlm7638@tamsun.tamu.edu (Jack McKinney) Newsgroups: comp.unix.questions,comp.unix.misc,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Boyer-Moore algorithm (bm)? Date: 26 Mar 1993 11:17:10 -0600 Organization: Mistress Barbara's Dungeon Palace Message-ID: <1ovdqmINNhoe@tamsun.tamu.edu> References: <1993Mar23.092841.17925@schbbs.mot.com> <CEDMAN.93Mar23113418@capitalist.princeton.edu> In a previous article, cedman@princeton.edu (Carl Edman) writes: > >Instead get GNU grep from prep.ai.mit.edu. It automatically uses >Boyer-Moore as an optimization whenever possible. > Wouldn't fgrep use Boyer-Moore since it operates with fixed-strings? I am currently writing a version of grep for my computer (in machine language). I am taking the input string, and having my program generate a machine-language program in its memory space that will check a given input line when called. If a part of the input string is a fixed expression (e.g., foo and bar in foo..bar), then the corresponding segment of the code gene- rated will use Boyer-Moore to find it. +---------------------------------------------+-------------------------+ | You can tell how far we have to go, when | Jack McKinney | | FORTRAN is the language of supercomputers. | jmckinney@tamu.edu | | -- Steven Feiner | | +---------------------------------------------+-------------------------+
Newsgroups: comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: Re: Su Authorization Panel Message-ID: <1993Mar26.160354.3116@hot.com> Sender: robertl@hot.com Organization: Hot Technologies References: <1993Mar25.232714.25249@rna.indiv.nluug.nl> Date: Fri, 26 Mar 1993 16:03:54 GMT I didn't write that. Be careful when you edit articles. Robert In article <1993Mar25.232714.25249@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > In article <1993Mar25.030648.16743@hot.com> Robert_La_Ferla@hot.com writes: > > > Does this help (I need this explained a little also) > > > > > > rwsr-xr-x 1 root 77 Feb 18 01:00 someapp > > > > > An app this size is probably a shell script. Never make a shell script setuid, > since it will give any user the opportunity to become that user. (Especially, > never make setuid root shell scripts). > > -- > Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 > "If you don't know where you are going, any road will > take you there." From the Talmud(?), rephrased in > Lewis Carroll, "Alice in Wonderland".
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Re: Latest gdb with gcc2.3.3? Message-ID: <8036@ucsbcsl.ucsb.edu> Date: 26 Mar 93 18:31:53 GMT References: <SEO.93Mar25003946@louie.cc.utexas.edu> Sender: root@ucsbcsl.ucsb.edu Distribution: comp In article <SEO.93Mar25003946@louie.cc.utexas.edu> seo@ccwf.cc.utexas.edu (seo) writes: ] ] I have installed gcc2.3.3 so that I can program for a C++ class. ] I now have a problem using my gdb3.94 with my projects. I've tried ] to install gdb4.8, but the configure installation reported that ] NeXT is not supported. The NeXT FAQs do not have any info about ] the latest gdb versions for NeXT, so the question is, "What version ] of gdb do I need to be able to work with gcc2.3.3? Is there a gdb ] version that I can use?" ] ] Please help! I'm tired of using cout statements for debugging. ] Email is preferred, but a post is also fine. ] Keep using cout's. :-) There is no newer version of gdb for the NeXT. The native NeXT 3.0 version of gdb will work a little bit with g++ 2.3.3 (works for examining core dumps). That is the best you can do for now. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: mtymp19@staff.tc.umn.edu (Tim Rowley) Subject: My kingdom for a NXBrowser example... Message-ID: <mtymp19.733178691@staff.tc.umn.edu> Summary: Example, anyone? Keywords: NXBrowser Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Fri, 26 Mar 1993 20:44:51 GMT I'm trying to find out how to fill a NXBrower with items. And yes, I have read the manual for the NXBrowser class. The only example I've found is the BusyBox demo help window. While I'm sure this has all I need in it (and more), I'd prefer a simple example to start with. Anyone know/have such an example? -- o Heroes are created by popular o Tim Rowley - U of M ACM Office Mgr o <-> demand, sometimes out of the <-> mtymp19@staff.tc.umn.edu <-> | | scantiest of materials. | | rowley@leghorn.cs.umn.edu (NeXT) | |
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy From: fischer@iesd.auc.dk (Lars Peter Fischer) Subject: Re: least bad alternatives to NeXTSTEP? In-Reply-To: rca@cs.brown.edu's message of Thu, 25 Mar 1993 13:45:38 GMT Message-ID: <FISCHER.93Mar26232443@fibonacci.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1993Mar17.145711.10276@mcs.gvsu.edu> <1993Mar25.134538.16271@cs.brown.edu> Date: 26 Mar 1993 22:24:43 GMT >>>>> "Ronald" == Ronald C. Antony (rca@cs.brown.edu) Ronald> Even better, try to get GNUs Objective-C runtime. (Is that already Ronald> released in some form that is ready to be USED rather than DEBUGGED?) No. It has recently been completely redesigned and rewritten and it now much better and faster than it was before. For best performance it needs a number of features (such as call forwarding) that will be available in an upcoming version of GCC. /Lars -- Lars Fischer, fischer@iesd.auc.dk | It takes an uncommon mind to think of CS Dept., Aalborg Univ., DENMARK. | these things. -- Calvin
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: iwelch@agsm.ucla.edu (Ivo Welch) Subject: NS2.1: Emacs and Gcc Wanted Message-ID: <1993Mar26.142704.4247@mic.ucla.edu> Organization: UCLA, Anderson Graduate School Of Management Date: 26 Mar 93 14:27:03 PST Could some kind soul please allow me to ftp the old *binary* version of NS 2.1 emacs and NS 2.1 gcc, please? I had to take a short step backwards, and my NS 3.0 emacs fails because it requires a 3.0 library. Help would be highly appreciated. /ivo welch
From: sieu@cory.Berkeley.EDU ( TECKCHENG SIEU) Newsgroups: comp.sys.next.marketplace,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer Subject: Desktop 2.0 vs VirtSpace 3.0 Message-ID: <1993Mar27.002223.22070@pasteur.Berkeley.EDU> Date: 27 Mar 93 00:22:23 GMT Sender: sieu@cory.berkeley.edu Organization: University of California, at Berkeley I was told by a registered user that Desktop version 1.1 was reviewed in the April issue of NeXTWorld. So, I happily grabbed the issue just to realise that the ancient Desktop version 1.0 was reviewed and compared unfavorably against the latest version of VirtSpace. Desktop has upgraded from version 1.0 -> 1.1 -> 1.5 -> 1.51 -> 2.0. A major facelift was given to version 1.5. It was further polished in 2.0 so that NeXT users will find Desktop easy to use. By the way, unlike Virtspace, even the ancient Desktop 1.0 is more than just a program that provides virtual screens(For a summary of Desktop's features, lease refer to the announcement of Desktop 2.0). Below are the remarks from two registered users: "This is the first money I've ever sent for shareware -- great program!" - Jay Hardesty "The April Issue of NeXTWORLD has a short review of Desktop and Virtspace. It's a shame that the editor (simson, I think) completely ignored the fact that Desktop has the Desktop Icon feature. After I bought 8 more meg of RAM, I am using your program everyday and cann't leave without it - I open File View, Webster, Digital Librarian, Project Builder, and Stuart at the same time and have 20 some icons placed on the dock. So what is your NeXT project?" - TanMing Lastly, I urge users to take a look at both Desktop 2.0 and VirtSpace 3.0 before making any decision. Johnson Sieu sieu@cory.berkeley.edu PS: A full demo copy, Desktop2.0.tar.Z, is available from ftp.informatik.uni-muenchen.de at /pub/next/Shareware cs.orst.edu at /pub/next/submissions
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Re: Interviews on NeXT? Message-ID: <8037@ucsbcsl.ucsb.edu> Date: 26 Mar 93 18:35:52 GMT References: <1osuv3$4om@steffi.demon.co.uk> Sender: root@ucsbcsl.ucsb.edu Distribution: usa In article <1osuv3$4om@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: ] Does Interviews run with any of the X server implementations on the ] NeXT? Yes. It will run under any NeXT X server. It is the process of getting InterViews compiled on the NeXT that is a bit tricky, but it can be done. Both IV 2.6 and IV 3.1 will build, but you need to install gcc/g++ 2.3.3 to do the latter. To get further information on building IV with g++, please go through recognized channels, such as the InterViews mailing list (interviews@interviews.stanford.edu). -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: ngervae@next.com (Nik Gervae) Newsgroups: comp.sys.next.programmer Subject: Re: How to tell if user is shift-clicking (again) Message-ID: <7190@rosie.NeXT.COM> Date: 27 Mar 93 02:02:21 GMT References: <65365@mimsy.umd.edu> Sender: news@NeXT.COM In article <65365@mimsy.umd.edu> sib@carmi.cs.umd.edu (Scott Blanksteen) writes: > Hello, again... > Well, I'm wondering, what is the easiest way to detect if the user > is shift-clicking, in general, not in a TextField. In particular, I have a > collection of instances of a Button subclass, and I want the user to be > able to select some subset of them for later action. In the mouseDown: method, simply test (theEvent->flags & NX_SHIFTMASK). -- Nik Gervae Software Publications ## S2/8bg+-l+y++-/:!z-n-++o-+/++:x-+:a++:u-+v+:j+-p(eR) NeXT Computer, Inc. ## B2(go-t & sburns)f-t+c-!g-(--)k--s---mr-p+ ngervae@next.com ## [[[[NXDisclaimer alloc] init] disclaim] free];
From: mike@stacken.kth.se (Mike Henry) Newsgroups: comp.sys.next.programmer Subject: Re: ni.h Message-ID: <1993Mar27.022250.18235@kth.se> Date: 27 Mar 93 02:22:50 GMT References: <1993Mar23.025215.3567@cs.wisc.edu> Sender: usenet@kth.se (Usenet) Organization: Stacken Computer Club, Stockholm, Sweden In article <1993Mar23.025215.3567@cs.wisc.edu> fosdal@phenxm.physics.wisc.edu writes: >Has anyone ever used the calls defined in "/NextDeveloper/Headers >/netinfo/ni.h"? I have been trying to figure out how to retrieve >information from netinfo through a c program but have not yet >figured out a way to call these routines. Are there any examples >that do it? Yeah, I tried to do some hacking in order to put in a LoginHook program that executes a .loginhook script in a users home dir as the user, using ni to get the uid and gid. I'd say that what I accomplished (if indeed anything at all B^) was an overly difficult way to do it (a shell script was easier for this problem). Anyway, I have saved it since it does serve as a good example of how to use the ni calls. As a matter of fact I was totally guessing as to how these calls were supposed to work whan I wrote this so if anybody has any comments please come forth. Here goes: /* * LogHook.c * Author: Mike Henry * Created: 1993-Feb-05 * * Copyright (C) Mike Henry, 1993. All Rights Reserved. */ #include <netinfo/ni.h> void *handle; extern int errno; main(argc, argv) int argc; char *argv[]; { ni_id dir; ni_status res; ni_namelist val; char path[256], *ch_argv[] = {".loginhook", 0}; if(argc != 2) { NXLogError("Usage: %s user\n", argv[0]); exit(0); } strcpy(path, "/users/"); strcat(path, argv[1]); if(res = ni_open(NULL, "/", &handle)) logError("ni_open", ni_error(res)); if(res = ni_root(handle, &dir)) logError("ni_root", ni_error(res)); if(res = ni_pathsearch(handle, &dir, path)) logError("ni_pathsearch", ni_error(res)); if(res = ni_lookupprop(handle, &dir, "home", &val)) logError("ni_lookupprop", ni_error(res)); if(chdir(val.ni_namelist_val[0])) logError("chdir", strerror(errno)); if(res = ni_lookupprop(handle, &dir, "gid", &val)) logError("ni_lookupprop", ni_error(res)); if(setgid(atoi(val.ni_namelist_val[0])) < 0) logError("setgid", strerror(errno)); if(res = ni_lookupprop(handle, &dir, "uid", &val)) logError("ni_lookupprop", ni_error(res)); if(setuid(atoi(val.ni_namelist_val[0])) < 0) logError("setuid", strerror(errno)); ni_free(handle); switch(fork()) { case 0: execv(ch_argv[0], ch_argv); break; case -1: logError("fork", strerror(errno)); default: break; } exit(0); } logError(f, s) register char *f, *s; { ni_free(handle); NXLogError("%s: %s\n", f, s); exit(0); } >Steven R. Fosdal UW-Madison Physics Dept. -Mike -- Mike Henry INET : mike@stacken.kth.se /// August Wahlstromsv. 4 /// S-182 31 Danderyd \\\/// SWEDEN TEL : +46 8 755-8687 \XX/
From: mike@stacken.kth.se (Mike Henry) Newsgroups: comp.sys.next.programmer Subject: Re: My kingdom for a NXBrowser example... Keywords: NXBrowser Message-ID: <1993Mar27.023737.18481@kth.se> Date: 27 Mar 93 02:37:37 GMT References: <mtymp19.733178691@staff.tc.umn.edu> Sender: usenet@kth.se (Usenet) Organization: Stacken Computer Club, Stockholm, Sweden In article <mtymp19.733178691@staff.tc.umn.edu> mtymp19@staff.tc.umn.edu (Tim Rowley) writes: >I'm trying to find out how to fill a NXBrower with items. And >yes, I have read the manual for the NXBrowser class. The only >example I've found is the BusyBox demo help window. While I'm >sure this has all I need in it (and more), I'd prefer a simple >example to start with. Anyone know/have such an example? I suggest you check out the NormalBrowser MiniExample. It is very simple and straightforward. Other MiniExamples can be had at your favorite ftp site. Also, thanks to those who initially told me about the MiniExamples. Can't live without them now... B^) > o Heroes are created by popular o Tim Rowley - U of M ACM Office Mgr o -Mike -- Mike Henry INET : mike@stacken.kth.se /// August Wahlstromsv. 4 /// S-182 31 Danderyd \\\/// SWEDEN TEL : +46 8 755-8687 \XX/
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Finding Cells in a Text object Organization: Primitive Software Ltd. References: <yikesC4Cv4J.Bzx@netcom.com> <1157@rtbrain.rightbrain.com> <yikesC4Gq6s.1z6@netcom.com> Date: Fri, 26 Mar 1993 10:17:32 +0000 Message-ID: <1993Mar26.101732.7658@prim> Sender: usenet@demon.co.uk In article <yikesC4Gq6s.1z6@netcom.com> yikes@netcom.com (Michael Brill) writes: >glenn@rightbrain.com (Glenn Reid) writes: > >>I don't work with Text objects much, but I'm assuming that there's >>some reasonable way to know that you've encountered a Cell as you go >>sequentially through the text. > >I can't figure it out. Even though there is a method to get the x/y loc of >a cell ID, I have no way of translating that x/y loc into a character position >offset. > There's a NeXT MiniExample called ConvertXYToChar that does this, but only using a really horrible hack - it fakes mouse down events at the required location and then reads the selection. Dave Griffiths PS: I wish NeXT would devote some time to fixing some of these shortcomings in the Text object instead of going off writing new kits. The reason Glenn "doesn't work with Text objects much" is that neither PasteUp or any of the other WP/DTP products _use_ the Text object! The Text object with it's useful RTF capabilities, should be absolutely central to the appkit, but instead we've got a ludicrous situation where half a dozen companies have had to re-invent all that RTF handling stuff.
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Where is the termios.h Message-ID: <1993Mar27.092603.16018@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> Date: Sat, 27 Mar 1993 09:26:03 GMT All NeXTSTEP releases to date use BSD 4.3 terminal semantics, as described on the man page tty(4). Other UNIX and UNIX-like systems may follow AT&T System III/V ("termio") or POSIX ("termios")--or some combination. If you want to write truly "portable" code, you will need to understand and support all three. Whether you do this with a bunch of #ifdefs or by segregating those parts into OS-dependent modules is up to you. I understand that NeXT is working on a POSIX compatibility package for those customers (primarily government and computer- illiterate corporate) that make it a so-called "checklist item." It's expected to be outrageously expensive (to recoup development costs, of course). -=EPS=-
From: Christian.A..Ratliff@f236.n104.z1.FIDONET.ORG (Christian A. Ratliff) Newsgroups: comp.sys.next.programmer Subject: NETWARE API Message-ID: <1036.2BB39AAB@paranet.FIDONET.ORG> Date: 25 Mar 93 21:48:00 GMT Sender: ufgate@paranet.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:104/236 - MacCircles, Genesee CO -- Christian A. Ratliff - via ParaNet node 1:104/422 UUCP: !scicom!paranet!User_Name INTERNET: Christian.A..Ratliff@f236.n104.z1.FIDONET.ORG
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Variable width columns in NXBrowser? Organization: Primitive Software Ltd. Date: Sat, 27 Mar 1993 10:54:00 +0000 Message-ID: <1993Mar27.105400.9513@prim> Sender: usenet@demon.co.uk Has anybody succeeded in making a subclass of NXBrowser with columns of varying width? I'm currently using three browsers inside a modified SideSplitView, but it would be much nicer to use just one. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: root@azetsys.uucp (Operator) Subject: need: NS 2.x midi-headers Message-ID: <1993Mar27.184917.621@azetsys.uucp> Organization: CleverLever Date: Sat, 27 Mar 1993 18:49:17 GMT Hi, Still trying to compile the newest Csound-beta on NS 3.0, but for reference I need the following headers from NS 2.x: /usr/include/midi/midi_server.h /usr/include/midi/midi_reply_handler.h /usr/include/midi/midi_timer.h /usr/include/midi/midi_timer_reply_handler.h /usr/include/midi/midi_error.h /usr/include/midi/midi_timer_error.h Kindly, please somenone, please e-mail it to: azetsys!root@uunet.UU.NET Thank you very much in advance, Geza Fekete -- Geza Fekete azetsys!aprop@uunet.UU.NET
From: dls7627@tamuts.tamu.edu (David Slotnick) Newsgroups: comp.sys.next.programmer Subject: C major mode Date: 27 Mar 1993 19:00:12 GMT Organization: Texas A&M University, College Station Distribution: world Message-ID: <1p287sINN25b@tamsun.tamu.edu> Does anyone know of a decent C mode for emacs? The mode included with the distribution has problems, as is not nearly as powerful as it could be. I'm looking for something with the power of the Objective C mode from cs.orst.edu in /pub/next/sources/programming, if you are familiar with it...
From: humphrie@ni.umd.edu (James B. Humphries) Newsgroups: gnu.g++.help,comp.sys.next.programmer Subject: NeXT's and g++ Date: 27 Mar 1993 17:08:55 -0500 Organization: University of Maryland College Park Sender: humphrie@ni.umd.edu Message-ID: <1p2j9nINNhd@ni.umd.edu> I'm trying to get c++ on a NeXTturbo running NS 3.1(b). The NeXT compiler is supposed to support g++, right? What do I need to do? I played around with compiling g++.1.31(?) but didn't setup the Makefile correctly or something. (Anyone have a makefile hacked for NeXT?). Any words of wisdom? I just need c++ I don't care what version. Also I can switch back to 3.0 but, I don't think that is the problem. Any help at all would be great! -- _______________________________________Jim_Humphries_________________________ |DISCLAIMER: All opinions expressed in this message are actually the reader's.| | He or she just may not know it. | |____humphrie@wam.umd.edu_________________NeXTmail: humphrie@nicube.umd.edu___|
Newsgroups: comp.sys.next.programmer From: burchard@horizon.math.utah.edu (Paul Burchard) Subject: Re: When calling fortran subroutines from objective C program, how should the makefile.preamble be written? Need help urgently Message-ID: <C4L4no.350@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <1p2q17$3sj@menudo.uh.edu> Date: Sun, 28 Mar 1993 05:59:45 GMT In article <1p2q17$3sj@menudo.uh.edu> pakala@sdl.egr.uh.edu (Rama R. Pakala) writes: [how do I use FORTRAN libraries in a NeXTSTEP project?] Assuming you have installed f2c, you can put the following rule into the Makefiles for the FORTRAN library: ----------------- f.o: f2c $*.f cc -c -O $*.c rm $*.c ----------------- This will cause the library to be compiled with f2c, easing eventual linking with C or Obj-C code. Second, the libraries that come with f2c must be entered into Project Builder in exactly the correct order. For example, here is the order that is necessary for linking with NETLIB's ODEPACK, as compiled by f2c: ----------------- .. odepack linpack cor I77 F77 Media_s NeXT_s ----------------- Finally, you must call the FORTRAN routines in your C or Obj-C code using the name and argument-passing conventions of FORTRAN (or more specifically f2c). These conventions are documented in the f2c manual, or you can just grep through the translated C source to find the actual declarations. -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' --------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Determining the icon displayed by the Workspace Message-ID: <1993Mar28.203652.163@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Sun, 28 Mar 93 20:36:52 GMT Hello. I would like to know what procedure the workspace uses to determine the icon to show for a file. You see, my files are actually dopplegangers, using the same .fake extension, but requiring that the icon which shows up be that for .snd or .rtf or .compressed. Is this problem even tractable? Thanks. -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Determining the IMP of the method you are currently executing. Message-ID: <1993Mar28.221516.11522@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Sun, 28 Mar 93 22:15:16 GMT I have a need to figure out the IMP of the method I am currently executing. The _cmd parameter is a selector. If I send a [self methodFor:_cmd], I will get the address of the method this object would execute. The problem is, what if I am in super's implementation of this same method? If I call [self methodFor: _cmd], I will get the IMP of the subclass' implementation, not super's. Thanks in advance. -Marcos J. Polanco -shiva@vega.stanford.edu
Organization: University of Illinois at Chicago, academic Computer Center Date: Sun, 28 Mar 1993 16:58:40 CST From: <U43013@uicvm.uic.edu> Message-ID: <93087.165840U43013@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: HELP!!!!! NXBitmapImageRep() "image graylevel values" I am trying to design an image analyzer for a school project. I have images of cells in a tiff format, and code to process the image written in C. I want to process the image using a matrix array, because that's how most of the algorithms are set up. I have no problem viewing the image. But here's where I'm STUCK. How do I obtain the gray level of each pixel in the tiff and save it in a matrix array?? Please I'm still very inexperienced in using the Next, if you know how to do this please, please, please, explain it in such a way that even a chimpanzee could sit down and type it in. At Your Mercy, Matthew Szymanski
Organization: University of Illinois at Chicago, academic Computer Center Date: Sun, 28 Mar 1993 17:14:22 CST From: <U37866@uicvm.uic.edu> Message-ID: <93087.171422U37866@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: DBKit adapters??? We are working on an image analyzing project on skin cancer lesions. We are try ing to form a database of patients who will have multiple tiff images. After re ading the on line help manuals and several NeXT reference books, it is apparent that SQL or other database packages can be implemented to solve our problem. T he question we would like answered is how to link these packages to our program so we can use them? Would it be easier to write our own adaptor and database? Our database is not very complicated....it consists of patient name, diagnosis, and image files. Nontechnical explanations would be greatly appreciated for we are not very familiar with the NeXT system. Thanks, Swatee Surve
From: bortfeu@NeXTwork.Rose-Hulman.Edu (Ulrich Bortfeld) Newsgroups: comp.sys.next.programmer Subject: Re: Determining the icon displayed by the Workspace Date: 28 Mar 1993 23:25:19 GMT Organization: Computer Science Department at Rose-Hulman Message-ID: <1p5c4vINNs22@master.cs.rose-hulman.edu> References: <1993Mar28.203652.163@leland.Stanford.EDU> In article <1993Mar28.203652.163@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > > Hello. > > I would like to know what procedure the workspace uses to determine the > icon to show for a file. You see, my files are actually dopplegangers, > using the same .fake extension, but requiring that the icon which shows up > be that for .snd or .rtf or .compressed. Is this problem even tractable? > > Thanks. > > -Marcos J. Polanco > -shiva@vega.stanford.edu when using the standart mechanism to associate document files with icons - by creating the appropriate segments in the application - , it is not possible to have different icons for one extension. to provide each file with an individual icon, you can use the link editor and create an ICON segment in each document file. you can load the content of your files into a separate segment. here is a short example file test.iconheader F xxx.fake xxx.fake app file makefile xxx.fake: xxx.iconheader xxx.tiff ld -o xxx -sectcreate __ICON __header xxx.iconheader -sectcreate __ICON app xxx.tiff ; chmod 0 xxx.fake after running make, workspace uses the xxx.tiff file to represent your file. the drawback is, that a copy of xxx.tiff has to be stored in each document file . ulrich
Newsgroups: comp.sys.next.programmer From: smb3u@kiptron.psyc.virginia.edu (Steven M. Boker) Subject: 2.1 .nib worked, 3.0 .nib doesn't Message-ID: <C4MJ7x.Mt0@murdoch.acc.Virginia.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia, Department of Psychology Date: Mon, 29 Mar 1993 00:11:56 GMT Let me describe a problem, and see if anyone here has run into this. A brief outline: 1. Had a project with multiple panels within a 2.1 .nib which were OK. 2. Converted 2.1 project to 3.0, and recompiled. 3. Multiple panels within a 2.1 .nib in 3.0 binary were still OK. 4. Loaded 2.1 .nib into IB and saved it (without making any changes), thereby creating a 3.0 style .nib directory. 5. Remake source. 6. Instance variables of panels are (apparently randomly) not being initialized correctly when .nib is loaded. 7. Copy old 2.1 .nib file back into .app directory and everything works again. This one has been driving me nuts. I have a .nib with two panels. the "Files owner" outlet is connected to two different panels via two instance variables. Really basic stuff. When I load the .nib file, I expect the instance variables to be initialized, right? With a 2.1 style .nib file they are. With a 3.0 style who knows. Sometimes both instance variables are initialized, sometimes one is initialized and one isn't, and sometimes they are both initialized to the same value! Run the same program from gdb several times in a row and see different results. Now that's encouraging. :-( I've tried a lot of things, including unconnecting and reconnecting the instance variables in the .nib file. Everything looks normal. The thing that has been driving me nuts is the intermittent behavior of this problem. Needless to say, this is wrecking havoc in a formerly well behaved program. I'm throwing myself on the mercy of you who are wiser than I, and asking: Has anyone seen this phenomenon? Does anyone know what has changed between 2.1 and 3.0 that would cause this to happen? -Stymied -- #====#====#====#====#====#====#====#====#====#====#====#====#====# # Steven M. Boker # "Two's bifurcation # # boker@virginia.edu # but three's chaotic" # #====#====#====#====#====#====#====#====#====#====#====#====#====#
From: daugher@cs.tamu.edu(Walter C. Daugherity) Newsgroups: comp.sys.next.programmer Subject: Need to read NeXT format floppy on LINUX and/or OS/2 Date: 29 Mar 1993 15:37:53 GMT Organization: Texas A&M University, College Station, TX Distribution: world Message-ID: <1p754hINNinn@tamsun.tamu.edu> Keywords: NeXT floppy format,LINUX,OS/2 A colleague has tons of 1.44MB NeXT-formatted floppies of graphics images which he needs to read on a PC with LINUX (PC UNIX) or OS/2. Has anyone solved this already? I can think of several approaches: 1. (best) A device driver for LINUX and/or OS/2. 2. A script (to run on a NeXT or LINUX or OS/2) for automatically converting a NeXT-format floppy to a DOS-format floppy . 3. A user-mode C program to manage the LINUX raw floppy drive. Please e-mail bakich@math.tamu.edu. Thanks! -- Walter C. Daugherity Internet, NeXTmail: daugher@cs.tamu.edu Texas A & M University uucp: uunet!cs.tamu.edu!daugher College Station, TX 77843-3112 BITNET: DAUGHER@TAMVENUS ---Not an official document of Texas A&M---
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: NeXTWORLD Magazine Announces First Awards for NeXTSTEP products Message-ID: <7202@rosie.NeXT.COM> Date: 29 Mar 93 19:21:11 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy FOR IMMEDIATE RELEASE Contact: Dan Ruby Editor, NeXTWORLD Magazine 415-978-3191 NeXTWORLD MAGAZINE ANNOUNCES FIRST AWARDS FOR BEST NEXTSTEP PRODUCTS Best of Breed Awards To Be Presented In 13 Product Categories San Francisco, March 22, 1993 -- NeXTWORLD Magazine today announced that it will honor outstanding accomplishment in NeXTSTEP product development when it presents the NeXTWORLD Best of Breed Awards, or BoBs, on Monday, May 24, 1993. The winners will be named at a gala awards ceremony featuring presentations by NeXT CEO Steve Jobs and other NeXT community luminaries. The award winners will meet the public at a general session during NeXTWORLD Expo, held here May 25-27, 1993. "Third party developers have taken advantage of NeXTSTEP's outstanding developer and user environment to produce a wealth of innovative products in every category of business software, development tools, and peripherals," said Daniel Ruby, editor-in-chief of NeXTWORLD Magazine. "With the BoB Awards, we recognize high achievement by individual third parties, but also put a spotlight on NeXTSTEP as the industry's premier object-oriented, client/server operating system." All NeXTSTEP products that are in wide-release beta testing by April 24 and shipping in shrinkwrap by May 24 are eligible for considersation. Software must operate under NeXTSTEP 3.0 or later and have announced plans for an Intel 80486 version. The judging panel will consist of the NeXTWORLD editorial staff and contributing editors. They will look for excellence in the following categories: - Document Creation - ObjectWare - Business Graphics - Financial Modeling - Graphic Arts - Utilities - Information Managers - Peripherals - Database Management - Content and Information - Communications and Emulation - Emerging Markets - Development and Authoring Tools Special achievement awards will also be given for exemplary service to the NeXT community, most innovative NeXTSTEP application, and outstanding use of NeXTSTEP use at a customer site. NeXTWORLD, a publication of the International Data Group, the world leader in information services on information technology, is based in San Francisco, where it publishes a bimonthly magazine and monthly newspaper for users of NeXTSTEP computers. -30-
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Determining the IMP of the method you are currently executing. SOLD! Message-ID: <1993Mar29.204123.4061@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Mar28.221516.11522@leland.Stanford.EDU> Date: Mon, 29 Mar 93 20:41:23 GMT In article <1993Mar28.221516.11522@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > I have a need to figure out the IMP of the method I am currently > executing. The _cmd parameter is a selector. If I send a [self > methodFor:_cmd], I will get the address of the method this object would > execute. The problem is, what if I am in super's implementation of this > same method? If I call [self methodFor: _cmd], I will get the IMP of the > subclass' implementation, not super's. Thanks for the responses. Apparently, the way to do it is to send a [aClass instanceMethodFor:_cmd], which whould be sent by super's implementation of the problem. Simple enough. -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.marketplace,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer From: sieu@cory.Berkeley.EDU ( TECKCHENG SIEU) Subject: DESKTOP2.0 -- VALID DEMO AT NEW FTPSITES/ASK FOR FREE DEMO FLOPPY Message-ID: <1993Mar29.212341.1027@pasteur.Berkeley.EDU> Sender: sieu@cory.berkeley.edu Organization: University of California, at Berkeley Date: Mon, 29 Mar 1993 21:23:41 GMT I am surprised that the demo Desktop2.0.tar.Z at cs.orst.edu and sonata.cc.purdue.edu are corrupted. (For those who don't know, Desktop is a powerful yet easy-to-use workspace extender which gives you virtual screens, new type of dock icons and more!.) Anyway, Desktop2.0.tar.Z is now available at the following ftpsites: ftp.informatik.uni-muenchen.de in /pub/next/Shareware garbo.uwasa.fi in /next/demo They are now write protected. Special thanks to Robert and Harri for their help. Nevertheless, it is advisable to validate that the checksum is correct and the length is 978739 bytes. >>ftp> get Desktop2.0.tar.Z >>200 PORT command successful. >>150 Opening BINARY mode data connection for Desktop2.0.tar.Z (978739 bytes). >>% sum Desktop2.0.tar.Z >>31420 956 To get product info on Desktop or a free full demo floppy via snail mail, please email me your name, address and telephone number or call me. Johnson Sieu sieu@cory.berkeley.edu P.O. Box 367 Berkeley, CA 94701-0367 tel: 510-848-5409
From: theharv@csld (Brian Harvey) Newsgroups: comp.sys.next.programmer Subject: Browser question.... Message-ID: <28169@galaxy.ucr.edu> Date: 29 Mar 93 22:01:43 GMT Sender: news@galaxy.ucr.edu Distribution: usa I have a program which updates a browser after a couple seconds. However, the program crashes with this error.....: Assertion failed: You removed a View from the View hierarchy that had been lockFocus'ed ...if I try to update the browser while the user has the mouse button down on one of the borwser items. I figured that I could avoid this error by simply not updating the browser while the mouse is down on one of the items in the browser. My question is: "How can I tell when the mouse is currently clicking on a browser item?" Any help would be greatly appreciated. Thanks! Please reply by e-mail. --- Brian Harvey * theharv@csld.ucr.edu University of California, Riverside * theharv@cs.ucr.edu UOB 221 Ext. 2842 * theharv@watserv.ucr.edu C.S.L.D. System Administrator -----------------------------------------------------------------
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.marketplace,comp.sys.next.programmer Subject: NeXTSTEP Software Design Engineer Wanted (San Jose, California) Message-ID: <7225@rosie.NeXT.COM> Date: 29 Mar 93 22:43:27 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.marketplace Position: NeXTSTEP Software Design Engineer When: April-June 1993 Location: San Jose, California Qualifications: Required: *** US CITIZENSHIP **** o BS in Computer Science or related field o Experience in the following: - Independent design and development - Database design and development - GUI design and development - - Object Oriented Methodology, OOD and OOP - UNIX - NeXTSTEP - Objective-C, C++ o Willingness to travel within USA Desired: o MS in computer related field o Familiarity with DBKit, Sybase, Oracle o Management of small development projects Duties: Software design engineers participate in all stages of the product life-cycle: proposal, design, implementation, testing, and documentation. Environment: PDH, Inc. is a small software development company specializing in systems solutions using NeXT computers. You will work on internal as well as contract work for customers. Current contracts involve systems engineering for a 3000+ workstation networked architecture, a document management system, and two programs to access relational data bases for tracking information. This is an excellent opportunity to impact the direction of a company. You will be able to work closely with customers as well as with the team on internal projects. PDH provides excellent vacation, health, 401K and disability benefits. Also an entrepreneurial work environment with a lot of fun in a casual work atmosphere. PDH, Inc. is an equal opportunity employer. Contact: Personnel Department Vox: (408) 428-9596 Fax: (408) 428-9599 E-mail: personnel@pdh.com (NeXT Mail welcome)
From: mcyr@weber.ucsd.edu (Maureen Cyr) Newsgroups: comp.sys.next.programmer Subject: How do I convert my Help folder into a Help.store file? Date: 29 Mar 1993 23:50:17 GMT Organization: University of California, San Diego Distribution: world Message-ID: <1p81vp$mdr@network.ucsd.edu> Does anyone know how to convert a Help directory (in my application's .app folder) into a Help.store file like those in the Mail.app and Edit.app? I know you can programatically create .store files using the Indexing Kit, but ideally I'd like a simple command that I can type in the shell. Many thanks... - Andy
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.programmer Subject: How do I find the address of an Objc method? Date: 29 Mar 1993 23:52:10 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1p823b$bsd@cs.ubc.ca> I want to be able to store an instance method's address and invoke it indirectly as a function. Before you rant about how this violates all principles of OOP, let me explain why I need to do it: I'm running numerical simulations where you do something like graphically connect up a network of objects that take inputs and produce outputs, and then click "Run" to start the simulation. Each object is typically described by a differential equation, so the network represents a set of coupled D.E.'s. Each object has a "runStep" method that is called once per time-step to evaluate the next time-step's outputs from the current inputs. I want to be able to "freeze" the connections at the beginning of the simulation run by storing all the method routine addresses in a table to bypass all the selector-method lookup overhead that objc_msgSend does, and then invoke the methods as indirect function invocations. I also want to run the simulation in a separate thread, so it has to be independent of the Objc runtime messaging system (which is 3 times slower than normal if you use the thread-safe version) The simulation is to be run in real time, so I need as much speed as I can get. The objects' runStep methods are quite simple and usually involve only a few elementary arithmetic operations, so there's a LOT to be gained by trimming down the dispatching code (which is all message-based right now). The GCC 2.2.? objc_msgSend appears to return the address of the method, but the NeXT GCC objc_msgSend seems to call the method directly, so I have no way of getting the method address. Is there an easy way to figure this out? Chris Roehrig University of British Columbia
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.programmer Subject: Re: How do I find the address of an Objc method? Date: 30 Mar 1993 01:59:27 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1p89hv$ckv@cs.ubc.ca> References: <1p823b$bsd@cs.ubc.ca> In another article <1993Mar29.204123.4061@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > Thanks for the responses. > Apparently, the way to do it is to send a [aClass instanceMethodFor:_cmd], > which whould be sent by super's implementation of the problem. Yow! This answers my question. Talk about a case of RTFM! Sorry for the netbandwidth-wastage! :-) Chris Roehrig University of British Columbia
Newsgroups: comp.sys.next.programmer From: smb3u@kiptron.psyc.virginia.edu (Steven M. Boker) Subject: Re: 2.1 .nib worked, 3.0 .nib doesn't Message-ID: <C4oMuI.88F@murdoch.acc.Virginia.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia, Department of Psychology References: <C4MJ7x.Mt0@murdoch.acc.Virginia.EDU> Date: Tue, 30 Mar 1993 03:25:29 GMT In article <C4MJ7x.Mt0@murdoch.acc.Virginia.EDU> smb3u@kiptron.psyc.virginia.edu (Steven M. Boker) writes: > >1. Had a project with multiple panels within a 2.1 .nib which > were OK. >4. Loaded 2.1 .nib into IB and saved it (without making any changes), > thereby creating a 3.0 style .nib directory. >6. Instance variables of panels are (apparently randomly) not being > initialized correctly when .nib is loaded. Brief pause while Steve wipes egg off of his face. Sometimes its so close to your face you can't see it. I had set an instance variable which was declared in the .nib with the return value from the call to [NXApp loadNibSection: owner:]. No wonder things got screwy. The only thing I can't figure is why it worked under 2.1. As Gilda used to say on SNL, "Never mind." Steve -- #====#====#====#====#====#====#====#====#====#====#====#====#====# # Steven M. Boker # "Two's bifurcation # # boker@virginia.edu # but three's chaotic" # #====#====#====#====#====#====#====#====#====#====#====#====#====#
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: DBTableView ? Message-ID: <1993Mar30.031517.3053@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Tue, 30 Mar 1993 03:15:17 GMT How do you have a DBTableView retrieve data from the database without an explicit DBTableVector connection? What I want to do is have a window that has a DBTableView in it and dynamically change which entity I select data from depending on a selection from the user. I can dynamically add/remove columns from the DBTableView and change the titles, but I can't retireve the data at all. Any done this before? -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
From: ramesh@mishna.esys.cwru.edu (Ramesh Doddamani) Newsgroups: comp.sys.next.programmer Subject: Re: DBKit Questions - SOLVED Date: 30 Mar 1993 07:42:34 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1p8tla$i34@usenet.INS.CWRU.Edu> References: <1ormls$1q6@usenet.INS.CWRU.Edu> Here is my original query: > > In the 93-Winter-NeXTAnswers it says: > > > Q: How do I connect a property of my table to a PopUpList > > object? I've tried connecting an attribute of my table to > > the PopUpList but nothing happens. The PopUpList still > > shows item 1, item 2, etc. > > A: PopUpList connections can > > be made only to a field "x.y.z" where x is an entity, y is a > > one-to-one relationship, and z is a leaf-node field that > > is either a number or a string. For example, if you connect > > the attribute "name" from your Employee table to the > > PopUp, it will only show item1, item 2, etc. However, if > > you connect "Employee.Department.name", it will show > > all the names in the department. > > If I have a table with just 2 columns like: > > 1, name1 > 2, name2 > .... > > what is the workaround to make the names appear in the popuplist? > Suppose the table above was named MyTable. I did a self-join of My-Table, by specifying a relationship in MyTable. The relationship was automatically named ToMyTable by DBModeller. The join in the DBModeller Inspector was one-to-one and specified as equijoin. The entities connected were the names. In the nib file I connected MyTable.ToMyTable.Name to the PopUpList, and that's it. Ramesh -- ******************************************************************** Ramesh Dodamani <<REPLY TO rxd20@po.cwru.edu>> Case Western Reserve University Cleveland OHIO ********************************************************************
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: 2.1 .nib worked, 3.0 .nib doesn't Message-ID: <1993Mar29.161845.7602@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <C4MJ7x.Mt0@murdoch.acc.Virginia.EDU> Date: Mon, 29 Mar 93 16:18:45 GMT In article <C4MJ7x.Mt0@murdoch.acc.Virginia.EDU> smb3u@kiptron.psyc.virginia.edu (Steven M. Boker) writes: > > > Let me describe a problem, and see if anyone here has run into this. > > A brief outline: > > 1. Had a project with multiple panels within a 2.1 .nib which > were OK. > 2. Converted 2.1 project to 3.0, and recompiled. > 3. Multiple panels within a 2.1 .nib in 3.0 binary were still OK. > 4. Loaded 2.1 .nib into IB and saved it (without making any changes), > thereby creating a 3.0 style .nib directory. > 5. Remake source. > 6. Instance variables of panels are (apparently randomly) not being > initialized correctly when .nib is loaded. > 7. Copy old 2.1 .nib file back into .app directory and everything > works again. > > This one has been driving me nuts. I have a .nib with two > panels. the "Files owner" outlet is connected to two > different panels via two instance variables. Really > basic stuff. When I load the .nib file, I expect the > instance variables to be initialized, right? With a 2.1 > style .nib file they are. With a 3.0 style who knows. > Sometimes both instance variables are initialized, > sometimes one is initialized and one isn't, and > sometimes they are both initialized to the same value! > Run the same program from gdb several times in a row and see > different results. Now that's encouraging. :-( > > I've tried a lot of things, including unconnecting and > reconnecting the instance variables in the .nib file. > Everything looks normal. The thing that has been driving > me nuts is the intermittent behavior of this problem. > > Needless to say, this is wrecking havoc in a formerly well > behaved program. > > I'm throwing myself on the mercy of you who are wiser than > I, and asking: Has anyone seen this phenomenon? Does > anyone know what has changed between 2.1 and 3.0 that > would cause this to happen? > > -Stymied This may not help but the symptoms are similar to one I ran accross. In 3.0 if there is a method setXxxx that matches the instance variable it is used rather than setting the instance directly. In my case this caused much greif as this method was not a set method for that instance it just matched the generated name IB looked for. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: Finding the "array index" of an object in a HashTable Message-ID: <abellC4p24x.Az4@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Tue, 30 Mar 1993 08:55:44 GMT Is there an efficient way to find the index number of an object in a HashTable as though it were an array?? Of course, I could iterate through the HashTable until I find the object I want, and count the iterations, but this is slow. I'm trying to use an NXBrowser with a HashTable. The problem arises in the implementation of browser:selectCell:inColumn. Am I missing something obvious? I've never used HashTables before. Thanks, Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: 3D-kit and transparency Message-ID: <1993Mar29.130718.7462@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <giorgio.733151821@itnsg1> Date: Mon, 29 Mar 93 13:07:18 GMT In article <giorgio.733151821@itnsg1> giorgio@itnsg1.cineca.it (Giorgio Ingrassia) writes: > I'd like to render a transparent surface, but the method > setTransparency: seems not to work properly (better, not to work at all..) > So far, I haven't found an adequate documentation, nor suitable examples. > > Has anyone got the right hint? > > Please contact me directly via E-mail at: > > giorgio@itncpl.cineca.it > giorgio@itnsg1.cineca.it > > Thanks! I have not done this myself but I do know that the rederer for the display part of 3Dkit uses a Zbuffer and does not support transpency. Only the photoreal renderer supports this. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Variable width columns in NXBrowser? Message-ID: <1993Mar29.132116.7518@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Mar27.105400.9513@prim> Date: Mon, 29 Mar 93 13:21:16 GMT In article <1993Mar27.105400.9513@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > Has anybody succeeded in making a subclass of NXBrowser with columns of > varying width? I'm currently using three browsers inside a modified > SideSplitView, but it would be much nicer to use just one. > > Dave Griffiths If the browsers are in synch just use a custom cell that will support multiple columns. If they are hierarchical you will have a problem using one browser -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: sapphire!shill (Sean L. Hill) Subject: Adding a new instance variable Message-ID: <1993Mar30.030655.350@ccsi.com> Sender: shill@ccsi.com Organization: Crystal Computer Systems, Inc. Date: Tue, 30 Mar 1993 03:06:55 GMT Is there a way (via the Obj-C runtime?) to add an instance variable to a class or subclass programmatically? Thanks- Seanance variable -- Sean L. Hill Ergo Science Incorporated CCSI Software Kansas City, Missouri E. Longmeadow, Mass.
Newsgroups: comp.sys.next.programmer From: koelman@cuby.stc.nl (Ton Koelman) Subject: Distributed Objects -- Intel to/from Motorola Message-ID: <1993Mar30.120526.5407@stc.nato.int> Sender: usenet@stc.nato.int (USENET messages) Organization: SHAPE Technical Centre, NL Date: Tue, 30 Mar 1993 12:05:26 GMT Has anyone experimented with this? Any snags? thanks -- Ton Koelman e-mail: koelman@stc.nato.int (NeXT Mail Welcome!) SHAPE Technical Centre, P.O. Box 174, 2501 CD The Hague The Netherlands (voice: 31-70-3142429, fax: 31-70-3142111)
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Re: Su Authorization Panel Message-ID: <1993Mar26.233539.504@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group References: <1993Mar25.232714.25249@rna.indiv.nluug.nl> Date: Fri, 26 Mar 1993 23:35:39 GMT I was simply using the example line as an example. It was the first line in a ls -l, I renamed the file and added the s. I appreciate all the help I got. In article <1993Mar25.232714.25249@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > In article <1993Mar25.030648.16743@hot.com> Robert_La_Ferla@hot.com writes: > > > Does this help (I need this explained a little also) > > > > > > rwsr-xr-x 1 root 77 Feb 18 01:00 someapp > > > > > An app this size is probably a shell script. Never make a shell script setuid, > since it will give any user the opportunity to become that user. (Especially, > never make setuid root shell scripts). > > -- > Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 > "If you don't know where you are going, any road will > take you there." From the Talmud(?), rephrased in > Lewis Carroll, "Alice in Wonderland". -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | CIS 71101,1260 Always looking for new SW to market | Net Ian_Stewart@pyrian.com NeXT,Mac,PC & Sun | Isn't LiFE more like RiSK?
From: pjm@SPEECH.CS.CMU.EDU (Pedro J. Moreno) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Playing and Recording sounds simultaneously. Message-ID: <C4pGtr.tx.2@cs.cmu.edu> Date: 30 Mar 93 14:13:02 GMT Article-I.D.: cs.C4pGtr.tx.2 Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon Sorry if this is a FAQ, I am sort of new to the NeXT programming world. Here is my problem: I just got a hardware box that performs some operations on analog signals. I want to study what operations this box performs. What I want to do is to send a database of speech files to the D/A converter and simultaneously record the analog signal coming from the box. At first I thought that a simple unix script calling sndplay and sndrecord would suffice, but now I realize I need sinchronyzation of the recording and playing operations. So, my question is if this is possible, and if someone could give me some small program I could use as a kernel to play and record a file simultaneously. My programming skills in the NeXT are low, so I figure perhaps the distributed knowledge in the net could help..... thanks Pedro. -- Pedro J. Moreno (NeXTMail OK) Ph.D. Student Electrical and Computer Engineering Speech Group pjm@stevens.speech.cs.cmu.edu Carnegie Mellon University Pittsburgh, PA.
Newsgroups: comp.sys.next.programmer From: bpja@codex.com.au (Brett Adam) Subject: DBKit adaptors WHAT IS AVAILABLE Message-ID: <1993Mar30.082507.578@codex.oz.au> Sender: bpja@codex.oz.au Organization: Codex Software Development Pty Ltd Date: Tue, 30 Mar 93 08:25:07 GMT Hi all, I'm surveying what's available or in the works for DBKit adaptors. We're getting more and more NeXT projects here in Australia, and it is important to know what we can and cannot (easily) do. Does anyone have a list of current/planned adaptors gained through close monitoring of the net? Or does someone have an official line on this? Is there an organisation out there that is _specialising_ in DBKit adaptors? Like, say I want a CICS or other nasty ... Right now, I'd like to find out about DB2, CICS and UniVers database adaptors. Ugly stuff, but 'real world' clients make use of these. Please mail me direct and I'll summarise for the Net at large. Thanks, ------------------------------------------------------------------- Brett Adam Xedoc Software Development Pty. Ltd. Melbourne, Australia Phone : +61 3 696 2490 Fax : +61 3 696 6757 Internet : (NeXTMail welcome) bpja@xedoc.com.au AppleLink: AUST0335 Street : 222 Park St, South Melbourne 3205, Victoria, Australia Postal : PO Box 293, Albert Park 3206, Victoria, Australia ------------------------------------------------------------------- -- ------------------------------------------------------------------- Brett Adam Xedoc Software Development Pty. Ltd. Melbourne, Australia Phone : +61 3 696 2490
Newsgroups: comp.sys.next.programmer From: imdat@tpki.toppoint.de (Imdat Solak) Subject: .bepf Organization: Toppoint Mailbox e.V. Date: Tue, 30 Mar 1993 12:32:41 GMT Message-ID: <1993Mar30.123241.29608@tpki.toppoint.de> Hello, does anyone have some information about the .bepf (Screen-Font) format of the NeXT. Please (if you have it) mail it directly to me. I'll send a summary afterwards. Thanks. imdat imdat@tpki.toppoint.de -- Imdat Solak imdat@tpki.toppoint.de 2251 Ostenfeld
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Matrix ? Message-ID: <1993Mar30.145739.3683@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Tue, 30 Mar 1993 14:57:39 GMT How do you get a Matrix to highlight all of the columns in a row. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack of. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Re: Distributed Objects -- Intel to/from Motorola Message-ID: <1993Mar30.154944.23369@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory References: <1993Mar30.120526.5407@stc.nato.int> Date: Tue, 30 Mar 1993 15:49:44 GMT In article <1993Mar30.120526.5407@stc.nato.int> koelman@cuby.stc.nl (Ton Koelman) writes: > > Has anyone experimented with this? > Any snags? > Yes, I've written several. The biggest snag I've seen is in using a distributed object that include a rtf or rtfd text field. It seems impossible to get the rtf or rtfd text information from the server to the client with everything intact. - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Re: Matrix ? Message-ID: <1993Mar30.155747.24011@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory References: <1993Mar30.145739.3683@glv.uucp> Date: Tue, 30 Mar 1993 15:57:47 GMT In article <1993Mar30.145739.3683@glv.uucp> andersen@reality.glv.com (Robert Andersen) writes: > How do you get a Matrix to highlight all of the columns in a row. > > -- I'd like to know this also. In addition, I've been trying to find out how to highlight more than 1 item in the matrix in general. My matrix is 0 0 0 0 0 Name1 0 0 0 0 0 Name2 0 0 0 0 0 Name3 0 0 0 0 0 Name4 I want to see: x 0 0 0 0 Name1 0 0 x 0 0 Name2 x 0 0 0 0 Name3 0 0 0 x 0 Name4 The x's come from each NameN selecting from a row 0 0 0 0 0 and setting it to 0 x 0 0 0 for instance. This shows me the selections made by the class. Now I want to be able to go through the matrix and add up how many were in the first column, how many in the second, etc. Ideas? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: #import'ed/#include'd files that are not headers Message-ID: <1993Mar30.160218.435@afs.com> Sender: Michael_Pizolato@afs.com Date: Tue, 30 Mar 1993 16:02:18 GMT We have at least one situation where we have no choice but to include a common file into two files so that they can share common code (due to the exact nature of what we're doing, it is impossible for us to use categories or any of the other usual means to do this, believe me we've tried). Something like this: #import <appkit/appkit.h> @implementation SomeClass #import "TheCommonFile" @end Two questions: 1. Is there an standard extension for this kind of file? They're not really headers, so ".h" seems wrong. Maybe ".n" or something? 2. Since they're not headers, where should they go in PB so I can access them and open them from the project window? The "Headers" suitcase seems to be the only place where they won't be compiled or copied when they shouldn't be. Small procedural questions, but hey, there it is. :-) Thanx, Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.windows.x,comp.windows.x.motif,comp.sys.next.programmer Subject: cmsg cancel <1pa2np$4dh@steffi.demon.co.uk> Control: cancel <1pa2np$4dh@steffi.demon.co.uk> Date: 30 Mar 1993 19:16:49 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1pa2qh$4el@steffi.demon.co.uk> References: <1pa2np$4dh@steffi.demon.co.uk> <1pa2np$4dh@steffi.demon.co.uk> was cancelled from within trn.
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics,comp.sys.next.programmer Subject: mxgdb1.1.4 under Co-Xist 3.0 in NeXtStep porting. Date: 30 Mar 1993 19:43:12 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1pa4c0$4ki@steffi.demon.co.uk> Cc: jtsillas@proteon.com I would like to hear from people who have mxgdb 1.1.[4-5] running on their machine. I am currently trying to port it to run with NeXT's gdb 3.95 which is a gdb 4 variant as far as mxgdb's #ifdef GDB3x is concerned. Now, currently no source code is being displayed in mxgdb's window when I break anywhere and its the GetPathname routine that causing the problems. Sample log from a gdb session indicates the following. Breakpoint 5, GetPathname (filename=0x28c3ec "/usr/tmp/try.c") at source.c:723 This says the the GetPathname is getting the correct filename for a session. OK. The code I cannot understand is the following from source.c /* Normalize the file name using normal_file to point to * the last element of a path. */ for (normal_file = filename + strlen(filename); normal_file != filename && *normal_file != '/'; normal_file--); if (*normal_file == '/') normal_file++; if (normal_file == NULL || !strcmp(normal_file, "")) return NULL; Me thinks an rindex would have done the job here. In any event I would still like to hear from anybody who has mxgdb running on their machines. Basically the first thing the code does is setup a list of the directories it should search in to load the files. However by the time it has gotten to GetPathname() this directory List is not set up. This indicates to me that somewhere in the debugging process a "show directories" has to happen in gdb so that the info_dir_handler in gdb_handler.c is invoked to set up this directory list. Is there anybody familiar with this code? -- LATE UPDATE!!!!! If when I run mxgdb the first thing I do is "show directories" then this sets up the dirList correctly and consequently loads the code in properly thank god!!!! My question is , did other versions of gdb somehow do a "show directories" or something like that as soon as they were run. I know I can put these commands in .gdbinit now and thats ok but I don't understand why I had to work it out this way :-) In fact, im now going to get mxgdb-1.1.5 going now. Thank you, if you have read this far. On an X11R4 v X11R5 note, the code for mxgdb is written for X11R4 so I had to cast a few things like (XtCallbackProc) in XtAddCallback. What I would like to know is if there is a document that explains the interface changes made b/w X11R4's and X11R5 Xt intrinsics libraries. If you would like a copy of mxgdb to run under Co-Xist 3.0 under NextStep then I can arrange to put it on an ftp site for you.
Newsgroups: comp.sys.next.programmer From: goli@plains (Venkata Nagarjuna Rao Goli) Subject: POSTGRES DBMS on NeXT Sender: usenet@ns1.nodak.edu (Usenet login) Message-ID: <C4pvF5.Bwx@ns1.nodak.edu> Date: Tue, 30 Mar 1993 19:28:16 GMT Organization: North Dakota Higher Education Computing Network Hello Friends, is there any body who installed POSTGRES database management system on NeXT machines? I tried to install it on my NeXT but came to know that POSTGRES needs shared memory and NeXT don't support that. Do you know how to fix this problem. I have Release 2.0 on my NeXT. Please email me. My problem is that I need to write the following lines, to support the shared memory for POSTGRES, in the /usr/sys/conf or kernel configuration file to install POSTGRES. What do you suggest me to do?? In the POSTGRES manual they suggested to add these lines for a sun sparc kernel configuration file. options IPCMESSAGE options IPCSEMAPHORE options IPCSHMEM options EMOREIPCS These are all for the System V IPC ... facility. What are the comatibles in NeXT??? Thanks in advance, (GOLI)
From: jmartin@flame.next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: Re: 3D-kit and transparency Message-ID: <7235@rosie.NeXT.COM> Date: 30 Mar 93 18:42:00 GMT References: <giorgio.733151821@itnsg1> Sender: news@NeXT.COM In article <giorgio.733151821@itnsg1> giorgio@itnsg1.cineca.it (Giorgio Ingrassia) writes: > I'd like to render a transparent surface, but the method > setTransparency: seems not to work properly (better, not to work at all..) > So far, I haven't found an adequate documentation, nor suitable examples. > Has anyone got the right hint? Giorgio, The quick renderman server does not currently render transparency, however, it will show up in the photoreal output.
Newsgroups: comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Error in compiling Bash-1.12 for NeXTSTEP 3.0 Message-ID: <1993Mar30.204927.4286@news.csuohio.edu> Keywords: bash Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University Date: Tue, 30 Mar 1993 20:49:27 GMT Ah well. I got the bash-1.12.tar.z distribution from prep.ai.mit, rand the compiling process, and it almost finished. When I reached near the end I received this error message (can anyone tell me what to do to compile it??) rm -f bash cc -g -L./lib/readline/ -L./lib/glob/ -o bash shell.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hash.o mailcheck.o test.o trap.o alias.o braces.o unwind_prot.o version.o bashline.o builtins/libbuiltins.a -lreadline -ltermcap -lglob /bin/ld: Undefined symbols: _ulimit *** Exit 1 Stop. *** Exit 1 Stop. Any assistance is appreciated. Thanks. Joe -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library cowboy@majeure.law.csuohio.edu
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Nextutils.h Message-ID: <1993Mar30.184827.15819@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Mar23.173223.7045@mtu.edu> Date: Tue, 30 Mar 93 18:48:27 GMT In article <1993Mar23.173223.7045@mtu.edu> jclannom@mathlab.mtu.edu (Joe Lannom) writes: > Hi. > > I'm working on attaching an application that is written to run in a terminal window > to an icon so that it can be anchored in the dock. I'm using InterfaceBuilder. > I originally used Subprocess, but had to make some alterations in the source code of > the original program in order to get its output to display correctly (it echos the > keystrokes, so all the input was coming out double). > > SubproccessPlus seems like it should solve my problems, but it needs a header > file called nextutils.h. I can't locate it on my system, so I figured it was an > add-on, but I can't find it at any ftp site either. Can someone give me a clue as > to where to find Nextutils.h? If its a stupid question (i.e. covered in the FAQs, > somewhere), lemme know that too. > > Thanks, > > joe > --- > Joe Lannom Mathematical Sciences Department > Work: (906) 487-2068 General Computer Support > jclannom@mathlab.mtu.edu Michigan Technological University Sorry about that. I have a later copy that doesn't have this problem, plus fixes some problems with the old version. Mail me if you want a copy. -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer From: kent@infoserv.com Subject: Re: Need to read NeXT format floppy on LINUX and/or OS/2 Message-ID: <C4orz5.pH@infoserv.com> Sender: kent@infoserv.com (Kent L. Shephard) Organization: K. L. Shephard Consulting References: <1p754hINNinn@tamsun.tamu.edu> Date: Tue, 30 Mar 1993 05:16:16 GMT In article <1p754hINNinn@tamsun.tamu.edu> daugher@cs.tamu.edu(Walter C. Daugherity) writes: > A colleague has tons of 1.44MB NeXT-formatted floppies of graphics images which > he needs to read on a PC with LINUX (PC UNIX) or OS/2. Has anyone solved this > already? I can think of several approaches: > > 1. (best) A device driver for LINUX and/or OS/2. > 2. A script (to run on a NeXT or LINUX or OS/2) for automatically converting a > NeXT-format floppy to a DOS-format floppy . > 3. A user-mode C program to manage the LINUX raw floppy drive. > > Please e-mail bakich@math.tamu.edu. Thanks! Please post, I need the information also. -- /* K.L. Shephard Consulting is my company. Infoserv only delivers my mail. */ /* Please direct mail to kent@infoserv.com other adresses may not work. */
Newsgroups: comp.sys.next.programmer From: Monty Solomon <monty%roscom@think.com> Subject: browsers and nib files in 3.x Message-ID: <1993Mar31.000314.5299@proponent.com> Sender: monty@proponent.com (Monty Solomon) Organization: Proponent Date: Wed, 31 Mar 1993 00:03:14 GMT If you have a browser in a .nib file and the window/panel which contains the browser is set to be visible at launch time, the browser:fillMatrix:inColumn: method will be invoked as soon as the loadNibSection:owner:withNames: method in invoked. This behavior is different from 2.x where browser:fillMatrix:inColumn: isn't invoked until loadColumnZero is invoked. I wasn't able to find any doc about this change. Anyone know why NeXT made this change? Can it be disabled other than making the window not visible at launch time? Thanks. Monty -- # Monty Solomon / PO Box 2486 / Framingham, MA 01701-0405 # monty%roscom@think.com
From: michael@wft.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: How do I convert my Help folder into a Help.store file? Message-ID: <1paa8g$nc@tricky.wft.stack.urc.tue.nl> Date: 30 Mar 93 20:23:44 GMT References: <1p81vp$mdr@network.ucsd.edu> Organization: Eindhoven University of Technology, the Netherlands In article <1p81vp$mdr@network.ucsd.edu> mcyr@weber.ucsd.edu (Maureen Cyr) writes: > Does anyone know how to convert a Help directory (in my application's .app > folder) into a Help.store file like those in the Mail.app and Edit.app? I > know you can programatically create .store files using the Indexing Kit, but > ideally I'd like a simple command that I can type in the shell. Get duplink-1.0.2.tar.z (compressed with GNU zip), which contains compressHelp, aprogram to create Help.store files from a Help dir, from an archive site near you. It's currently on orst.cs.edu and ftp.stack.urc.tue.nl. The package was written by Frank Thomas and Me. Michael
From: tim@apple.com (Tim Olson) Newsgroups: comp.sys.next.programmer Subject: Re: Requiem on the NeXT Message-ID: <80346@apple.apple.COM> Date: 31 Mar 93 04:30:29 GMT References: <ZDWBBZFW@minnie.zdv.uni-mainz.de> Sender: usenet@Apple.COM Robert Mueller writes | has anybody yet managed to compile and run the relational Database REQUIEM on | the NeXT? With a subject line like that, I thought for sure this was a continuation of the "NeXT is dead" thread... ;-) -- -- Tim Olson Apple Computer Inc. / Somerset
Newsgroups: comp.sys.next.programmer From: slade@alpine.lance.colostate.edu (Jeremy Slade) Subject: Registering AppIcon window as a drag destination Sender: news@yuma.ACNS.ColoState.EDU (News Account) Message-ID: <Mar31.045830.60684@yuma.ACNS.ColoState.EDU> Date: Wed, 31 Mar 1993 04:58:30 GMT Organization: Colorado State University, Fort Collins, CO 80523 Under 2.x, I created an app that registers the AppIcon window with the Speaker -registerWindow: (or whatever it was) methd, so I could drop files on it, a la Acceptor. I'm now trying to do the same thing under 3.0, but this time I'm actually registering a subview that is installed in the AppIcon window. Everything works great when I run through gdb or launch it from Terminal, but the AppIcon doesn't respond if launch from WM, whether it is on the dock or not. This is accompanied by a curious behavior: after quitting the first time I started it, and restarting, WM gives the erorr 'window xxx already registered'. My solution for the time being is to create another window that covers the appIcon and provides the necessary functionality, but this is really a kludge, and doing it through the AppIcon _should_ work. Any ideas? (Please, somebody respond. I posted almost the same question some time last week and have not heard anything. Somebody out there must have done something like this) Thanks in advance, Jeremy Slade
Newsgroups: comp.sys.next.programmer From: stelios@chios.dorm.Virginia.EDU (Stelios Makrinos) Subject: Mathematica Programming Message-ID: <C4qIyo.FGy@murdoch.acc.Virginia.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Date: Wed, 31 Mar 1993 03:56:47 GMT I'm having trouble with a Mathematica program I am writing. I need to have the user enter about 7 variables, and I want to do it within Mathematica. I tried using the Input["prompt"] command repeatedly, and this worked. The only problem is that each of the Input Kernal windows that it brings up uses the prompt of the first Input statement and doesn't change prompts depending on which Input statement it is on. Any clue how to fix this?? Any help would be appreciated, because I need to solve this problem by tomorrow. Thanks, Stelios Makrinos
From: tjhendry@queen.mcs.drexel.edu (Jonathan Hendry) Newsgroups: comp.sys.next.programmer Subject: unfsd Message-ID: <1993Mar31.051814.15320@netnews.noc.drexel.edu> Date: 31 Mar 93 05:18:14 GMT Sender: news@netnews.noc.drexel.edu Organization: Drexel University, Dept. of Math. and Comp. Sci. Has anyone tried using unfsd on the NeXT? I'm trying to use it because I am trying to implement a background compression/decompression scheme, which requires a hack of nfs. Anyway, if anyone has gotten it to work, please mail me some tips about it. I've got it almost working, but I get: Mar 31 10:08:34 magritte syslog: could not bind name to socket Thanks. -- Jonathan W. Hendry Drexel University College Of Info. Studies tjhendry@queen.mcs.drexel.edu "The experience of programming Windows vs. the experience of programming NeXTStep is like going to the dentist and having a root canal without anaesthetic vs. going to the dentist and having your gums cleaned w/some nitrous-oxide thrown in for the entertainment side of things." bbum@stone.co
Newsgroups: comp.sys.next.programmer From: sam@rabbit (sam) Subject: Wanted: Systemhouse seeks 20 NeXT Engineers Message-ID: <C4qBws.9E7@ny.shl.com> Sender: usenet@ny.shl.com (Net News) Organization: SHL Systemhouse Inc. Date: Wed, 31 Mar 1993 01:24:25 GMT Systemhouse, a $750 million Canadian firm, is recognized as the industry leader in client/server technology. Systemhouse employs over 4,000 people worldwide and maintains a large heterogeneous network of workstations including more than 100 NeXT machines. We are putting together a major effort to have the best NeXT expertise available. Since November we have hired a core group in New York and Boulder, by September we should be up to a staff of 100. We are executing the ideas that others are only talking about - Reusable Object Library - Standard Certification of Objects - Distributed Development - etc. Furthermore we are establishing an Object Technology Center(OTC) for applied Object Oriented methodologies and development techniques. The OTC in Boulder, Colorado, is a research and development facility exploring the cutting edge of the relatively new object technology. The charter of the Center is two-fold: to explore and understand all hardware and software related to the object-oriented development industry; and to establish itself as a focal point where companies in diverse verticals markets can join together to leverage OTC's research and experience. Leading the Center is Vince Jordan, recently of WilTel Advanced Technology Center and recognized in the NeXT community as a pacesetter in the object-oriented development revolution. With WilTel's blessing an participation in the Center, Vince, and a few WilTel engineers, form the core team in this new effort. We need bright, enthusiastic experienced people!!! The following 20 immediate opportunities exist in various U.S. locations: 8 - Object Oriented Programmers * 2+ years Object Oriented Programming (C++/Objective C) * 2+ years database design and database applications * 5 years UNIX/C application development * 2+ years RDBMS (SYBASE preferred) * 1+ years NeXTSTEP applications development * AppKit, DBKit, NeXTSTEP 3.0, OOD * GUI and Porting experience 5 - Senior Applications Development Engineers * 5-7 years UNIX/C applications development * Financial trading applications * 1+ years NeXT/NeXTSTEP/AppKit/DBKit/Objective C * Sun, SYBASE/C++ a plus 5 - Software Engineers * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder, DBKit * High level design, rapid prototyping in NeXT * Strong Objective C or C++ * 3 to 5 years experience 2 - Database Specialists * 3+ years database design and database applications development (ORACLE/SYBASE preferred) * 3 years UNIX/C application development * 3 years RDBMS experience using an SQL-based RDBMS * 1+ year NeXTSTEP applications a plus * AppKit, DBKit, NeXTSTEP 3.0, OOD, Objective C a plus For more information about these exciting opportunities, call or send your resume to: Sally Ann Martins - Manager, NeXT Recruiting Systemhouse Inc. 885 Third Avenue, 25th Floor New York, New York, U.S.A. 10022-4834 Telephone: 212-303-5500 Fax: 212-303-5595 E-Mail: sam@ny.shl.com More positions available soon!!
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: getcwd? Date: 31 Mar 1993 11:45:39 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1pbsoj$686@steffi.demon.co.uk> cc: next-prog@cpac.washington.edu No help from NextAnswers on this one. But what you do you do in C for a getcwd. Can I just to a getenv("$cwd") ?
Newsgroups: comp.sys.next.programmer From: Robert Nicholson <robert@steffi.demon.co.uk> Subject: getcwd? Date: Wed, 31 Mar 1993 11:45:44 +0100 Message-ID: <199303311045.AA06411@steffi.demon.co.uk> Organization: me organized? That's a joke! Sender: news@antares.mcs.anl.gov No help from NextAnswers on this one. But what you do you do in C for a getcwd. Can I just to a getenv("$cwd") ?
From: kho@hubble.fokus.gmd.de (Klaus Hofrichter) Newsgroups: comp.sys.next.programmer Subject: Re: getcwd? Message-ID: <1993Mar31.130511.21499@fokus.gmd.de> Date: 31 Mar 93 13:05:11 GMT References: <1pbsoj$686@steffi.demon.co.uk> Sender: news@fokus.gmd.de (News system) Organization: GMD-Fokus Robert, you want to use getwd(). Try "man 3 getwd". - Klaus Klaus Hofrichter Hardenbergplatz 2 D-1000 Berlin 12 / D-10623 Berlin (second entry valid from mid-93) Germany kho@fokus.gmd.de
Newsgroups: comp.sys.next.programmer From: mheubi@itr.ch (Heubi Matthias) Subject: MAXPATHLEN vs. MAXPATHLEN+1 Message-ID: <1993Mar31.124249.16349@itr.ch> Sender: usenet@itr.ch Organization: Interkantonales Technikum Rapperswil (ITR) Switzerland Date: Wed, 31 Mar 1993 12:42:49 GMT Hi, I've got a question for some of the more experienced *IX programmers out there. What is the *correct* declaration for full path names? char fullPath[MAXPATHLEN] or char fullPath[MAXPATHLEN+1] NeXT uses MAXPATHLEN+1 in most examples. Greping through the manual, however, intro.2 gives the following error code description: 63 ENAMETOOLONG File name too long A component of a path name exceeded 255 (MAXNAMELEN) characters, or an entire path name exceeded 1023 (MAXPATHLEN-1) characters. which would indicate that the maximum permissable length is 1023 *without* the trailing zero. Also the fact that MAXPATHLEN is defined as 1024 seems to indicate that it is understood as the *full* length *including* the trailing zero. Otherwise one would always allocate 1025 bytes of memory which would waste 1023 bytes. Anyone?? Matthias -- Matthias Heubi, Director Object Design mheubi@itr.ch (NeXT-Mail welcome!) Uptime Object Factory Inc info@uptime.ch fax:+41(1)3130755 voice:+41(1)3130607
Newsgroups: comp.sys.next.programmer From: marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) Subject: hideOtherApps Message-ID: <1993Mar31.152517.7588@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: NiCE - NeXT User Group, Zuerich Date: Wed, 31 Mar 1993 15:25:17 GMT Did anyone manage to successfully [[Application workspace] hideOtherApps]? It seems to do nothing on our 3.0 system. -Marcel
Control: cancel <1993Mar31.160821.9064@bernina.ethz.ch> Newsgroups: comp.sys.next.programmer From: marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) Subject: cmsg cancel <1993Mar31.160821.9064@bernina.ethz.ch> Message-ID: <1993Mar31.161847.9539@bernina.ethz.ch> Originator: marcel@nice Sender: news@bernina.ethz.ch (USENET News System) Organization: NiCE - NeXT User Group, Zuerich References: <1993Mar31.160821.9064@bernina.ethz.ch> Date: Wed, 31 Mar 1993 16:18:47 GMT <1993Mar31.160821.9064@bernina.ethz.ch> was cancelled from within trn.
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: browsers and nib files in 3.x Message-ID: <1993Mar31.153132.14487@afs.com> Sender: greg@afs.com References: <1993Mar31.000314.5299@proponent.com> Date: Wed, 31 Mar 1993 15:31:32 GMT In article <1993Mar31.000314.5299@proponent.com> Monty Solomon <monty%roscom@think.com> writes: > If you have a browser in a .nib file and the window/panel which > contains the browser is set to be visible at launch time, the > browser:fillMatrix:inColumn: method will be invoked as soon as the > loadNibSection:owner:withNames: method in invoked. > > This behavior is different from 2.x where browser:fillMatrix:inColumn: > isn't invoked until loadColumnZero is invoked. > > Can it be disabled other than making the window not visible at launch > time? We discovered this too, and sadly, the answer is no. For obvious reasons, windows that are visible at launch time send all of their objects a display method. If the browser is in the main nib, and its window is visible at launch time, that happens before appDidInit. This was actually a bug in 2.x, because the display method in NXBrowser did not send itself a loadColumnZero to fill the browser, it simply drew its (empty) frame. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: jgg@proforma.com (J. G. Gregory) Subject: errStream for rld_load()? Message-ID: <1993Mar31.153920.873@proforma.com> Keywords: rld Sender: jgg@proforma.com Organization: Pro Forma Date: Wed, 31 Mar 1993 15:39:20 GMT I am dynamically loading functions with the "incredibly cryptic" rld facilities. When rld_load() gets an error, it is supposed to print the error out to errStream. It doesn't. The following snippet shows how I am calling it: errStream = NXOpenFile(fileno(stderr), NX_WRITEONLY); assert(errStream != NULL); hdr = NULL; ofiles[0] = path; ofiles[1] = NULL; outfile = NULL; res = rld_load(errStream, &hdr, ofiles, outfile); assert(res == 1); When my program dies on the second assert (meaning rld_load() got an error), I expect to see something on stderr (gdb in a terminal window in this case). But nothing appears. Yet when I inspect the stream in gdb, it clearly has the error message in it. Something about buffering or flushing? Here is the gdb output: (gdb) p *errStream $1 = { magic_number = 3199009641, buf_base = 0x712000 "rld(): Undefined symbols:\n_radians\n", buf_ptr = 0x712023 "", buf_size = 16384, buf_left = 16349, offset = 0, flags = 162, eof = 0, functions = 0x50794ec, info = 0x6f6b64 } Any clues appreciated. --J Gregory
From: sib@carmi.cs.umd.edu (Scott Blanksteen) Newsgroups: comp.sys.next.programmer Subject: Converting a Project from 3.0 to 2.1 Message-ID: <65735@mimsy.umd.edu> Date: 31 Mar 93 17:04:19 GMT Sender: news@mimsy.umd.edu Hi all! Now that I've got my App working, how hard will it be to convert it to run under 2.1? I don't think I've used anything 3.0-specific in terms of the class hierarchy, but all of the .nib files were generated under 3.0. Am I in for a hard time, or is it mostly a recompile on the 2.1 system? Please post replies, as I imagine this is of interest (unless it's an RTFMer, but I couldn't find it.) Thanks, Scott
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: POSTGRES DBMS on NeXT Message-ID: <1993Mar31.171251.12078@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <C4pvF5.Bwx@ns1.nodak.edu> Date: Wed, 31 Mar 1993 17:12:51 GMT In article <C4pvF5.Bwx@ns1.nodak.edu> goli@plains (Venkata Nagarjuna Rao Goli) writes: [much] I answered this one in comp.sys.next.software (NG doesn't post to all groups when doing a followup). -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: pdifalco@fnma.com (Phil DiFalco) Subject: Re: getcwd? Message-ID: <1993Mar31.174856.587@almserv.uucp> Sender: usenet@almserv.uucp Organization: Fannie Mae References: <1pbsoj$686@steffi.demon.co.uk> Date: Wed, 31 Mar 1993 17:48:56 GMT In article <1pbsoj$686@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: > No help from NextAnswers on this one. But what you do you do in C for > a getcwd. Can I just to a getenv("$cwd") ? > How about: { char cwd[256]; sprintf(cwd, "%s", [[NXBundle mainBundle] directory]); : : } -- email: sxupjd@fnma.com (NeXT Mail Okay) Philip DiFalco, Senior Analyst, Advanced Technology FannieMae, 3900 Wisconsin Ave NW, Washington, DC 22016 (202)752-2812
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: hideOtherApps Message-ID: <1993Mar31.175954.3630@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Mar31.152517.7588@bernina.ethz.ch> Date: Wed, 31 Mar 1993 17:59:54 GMT In article <1993Mar31.152517.7588@bernina.ethz.ch> marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) writes: > Did anyone manage to successfully > [[Application workspace] hideOtherApps]? I sure as hell haven't. -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: derek@nosloc.com (Derek Collison) Subject: SUPRA keeps dialing......... Message-ID: <C4rpBJ.43v@nosloc.com> Sender: derek@nosloc.com (Derek Collison) Organization: Nosloc Software Technologies Date: Wed, 31 Mar 1993 19:11:43 GMT Hello, I have a SUPRA modem that I use for uucp and fax. It works great but has a certain behavior that I would like to get rid of. When someone is on the phone (same line for voice and data/fax) the modem still tries to dial out, and gives an abtrusive dial sequence in the middle of a conversation. I have tried several different configurations in L.sys, but so far none have worked. If possible, could someone who has solved this problem email me and clue me in, it is getting kinda old, if you know what I mean. Thanks, =derek -- Derek Collison <---> derek@nosloc.com Nosloc Software Technologies (NeXT Mail Accepted)
Newsgroups: comp.sys.next.programmer From: jeffs@nextnorth.acs.ohio-state.edu (Jeff Schluep) Subject: Forcing TextField to upper case Message-ID: <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> Sender: news@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Wed, 31 Mar 1993 21:08:20 GMT I would like to be able to force lower case characters typed into a textfield to appear as upper case. It looks like I can capture keydown events to do this but I am not sure what to do afterwards. Jeff
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Two longjmps() destroys environment Keywords: longjmp, setjmp, Smalltalk, Context, illegal instruction Message-ID: <1993Mar31.111012.6217@gleap.jupnix.com> Date: Wed, 31 Mar 1993 11:10:12 GMT Sender: clloyd@gleap.jupnix.com Organization: GiantLeap Software Hello, (rtf is a must in this post for readability) Anyone have experience using setjmp() and longjmp()? I am trying to use these macros in a little different manner than usual and am having some luck, but have one problem I cannot solve. Please read the following and, if you'd like to try my (relatively simple) test code, I can mail it to you. I am using longjmp() to jump into a section of code within another routine; this is working. However, I am also trying to use longjmp() to return back to the location from whence I came, but this is not working completely; I get "Illegal instruction"errors after the second longjmp() when I execute a return. Also after the second longjmp(), the gdb information is completely gone. Here's a distilled version to give you the gist. In this example, methodC calls methodB which calls methodA, which jumps back into methodB (to do some special processing) and then jumps back into A which returns to B which returns to C. //For convenience, assume these vars are global and known to all classes. jmp_buf envA, envB; id resultOfBlock; ///////////////////////////////////////////////////////////////////// /////////////////////// -methodC { return [aClassB methodB]; } ///////////////////////////////////////////////////////////////////// /////////////////// //This is a method of ClassB: -methodB { //This method is called first by methodC, then this calls methodA. While in methodA, this is jumped into from there. [statements not germane to this problem]; switch( setjmp(envB) ){ case 0: [aClassA methodA]; break; case 222: //This is where the longjmp(envB) goes to. [some statements which are useful to methodA given the context of this method] //this allow me to return some value back to methodA resultOfBlock = whatever; //this gets us back to methodA so it can complete. longjmp(envA, 111); break; } [more non-germane statements]; return self; } ///////////////////////////////////////////////////////////////////// /////////////////// //This is a method of ClassA: -methodA { //This method jumps back into a methodB in ClassB to do some of its work. [statements not germane to this problem]; switch( setjmp(envA) ){ case 0: longjmp(envB, 222); break; case 111: //This is where the longjmp(envA) goes to. [statements using resultOfBlock]; } [more non-germane statements]; //error happens here upon return return self; } [FYI, I am trying to simulate Smalltalk's Block Contexts and that's why this is so incredibly complex. If I can pull it off, it'll be worth it.] --- Charles Lloyd (713) 363-0887 | My right to swing my fist GiantLeap Software (713) 363-0936 (fax) | ends at your nose; Your right clloyd@GLeap.jpunix.com | to smoke ends at *my* nose. -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FYI;"!4:6UE<RU2;VUA;CM<9C%< M9FUO9&5R;B!#;W5R:65R.WT*7&UA<F=L,3(P"EQM87)G<C$R,`I[7&-O;&]R M=&)L.UQR960P7&=R965N,%QB;'5E,#M<<F5D-CE<9W)E96XV.5QB;'5E-CD[ M7')E9#8X7&=R965N-CA<8FQU938X.WT*7'!A<F1<='@U-C!<='@Q,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='@X,#8P7'1X.3(P,%QT>#$P,S8P M7'1X,3$U,C!<9F,P7&-F,"!<"BTM+5P*"EQP87)D7'1X-S(P7'1X,C@X,%QT M>#4V,#!<:3!<9FDM-S(P7&QI-S(P7&9C,5QC9C$@($-H87)L97,@3&QO>60) M*#<Q,RD@,S8S+3`X.#<)?"`@37D@<FEG:'0@=&\@<W=I;F<@;7D@9FES=%P* M(`I<:2!':6%N=$QE87`*7&DP("!3;V9T=V%R90DH-S$S*2`S-C,M,#DS-B`H M9F%X*0E\("!E;F1S(&%T('EO=7(@;F]S93L@66]U<B!R:6=H=%P*(&-L;&]Y M9$!'3&5A<"YJ<'5N:7@N8V]M"7P@('1O('-M;VME(&5N9',@870@*FUY*B!N ';W-E+@I]"BYJ ` -- Charles Lloyd (713) 363-0887 | My right to swing my fist GiantLeap Software (713) 363-0936 (fax) | ends at your nose; Your right clloyd@GLeap.jpunix.com | to smoke ends at *my* nose.
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Finding Cells in a Text object Message-ID: <1167@rtbrain.rightbrain.com> Date: 1 Apr 93 00:26:19 GMT References: <1993Mar26.101732.7658@prim> Sender: glenn@rightbrain.com Dave Griffiths writes > There's a NeXT MiniExample called ConvertXYToChar that does this, but only > using a really horrible hack - it fakes mouse down events at the required > location and then reads the selection. > > PS: I wish NeXT would devote some time to fixing some of these shortcomings > in the Text object instead of going off writing new kits. The reason Glenn > "doesn't work with Text objects much" is that neither PasteUp or any of the > other WP/DTP products _use_ the Text object! The Text object with it's useful > RTF capabilities, should be absolutely central to the appkit, but instead > we've got a ludicrous situation where half a dozen companies have had to > re-invent all that RTF handling stuff. I couldn't agree more. The Text object is totally useless for anything beyond putting titles on buttons. I've tried badgering NeXT, embarrassing NeXT (after all, the Text object isn't even as good as what Apple shipped in 1984 with the first version of QuickDraw!), pleading with NeXT, offering to do coding for NeXT, but no. It's ridiculous that we've all had to invent our own text objects and we can't even cut and paste between them except at the lowest levels. FrameMaker, Adobe Illustrator, Altsys Virtuoso, PasteUp, Adobe TouchType, WordPerfect, Pages by Pages, Archetype Designer, Appsoft Write, and WriteNow all have their own proprietary, unnecessarily different text engines. If we combined all our engineering efforts it would be many, many person-years of development time to work around the fact that NeXT hasn't improved their Text object. The Object is the Disadvantage(TM). As far as I can tell, NeXT doesn't spec out features for new releases, they just turn loose a bunch of bright people and whatever they finish by the deadline is what ships. There should be several Text objects, or at least several subclasses. The Text object as it stands is fine for the titles on buttons and in scrolling lists and menus, but totally inadequate for other purposes. They never even implemented the NX_JUSTIFIED tag (you can make a text block left-, center-, or right-justified, but not fully justified). Not to mention the lack of spacing (letter-, word-, or line-spacing) options, inability to hyphenate, no support for zoom, rotation, figuring out pagination or page breaks, or searching for cells that are embedded in a Text object :-) Double Sigh. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Forcing TextField to upper case Message-ID: <1168@rtbrain.rightbrain.com> Date: 1 Apr 93 00:32:09 GMT References: <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> Sender: glenn@rightbrain.com Jeff Schluep writes > > I would like to be able to force lower case characters typed into a > textfield to appear as upper case. It looks like I can capture keydown events > to do this but I am not sure what to do afterwards. Something like this (untested, without warranty, just typed in off the top of my head :-) int ch; NXEvent *event; event = [NXApp currentEvent]; ch = event->data.charCode; if ( isascii(ch) && isalpha(ch) && islower(ch) ) { ch = toupper(ch); } [myObject dealWith:ch]; There's probably an NXWay() to do this that supports the character sets better and takes other languages into account, but the above is a basic technique that should head you in the right direction. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: getcwd? Message-ID: <1169@rtbrain.rightbrain.com> Date: 1 Apr 93 00:33:18 GMT References: <199303311045.AA06411@steffi.demon.co.uk> Sender: glenn@rightbrain.com Robert Nicholson writes > No help from NextAnswers on this one. But what you do you do in C for > a getcwd. Can I just to a getenv("$cwd") ? GETWD(3) UNIX Programmer's Manual GETWD(3) NAME getwd - get current working directory pathname SYNOPSIS char *getwd(pathname) char *pathname; DESCRIPTION Getwd copies the absolute pathname of the current working directory to pathname and returns a pointer to the result. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: yanik@planon.qc.ca (Yanik Crepeau) Newsgroups: comp.sys.next.programmer Subject: Re: NIB files and ownership problems Message-ID: <1993Mar26.212115.968@CAM.ORG!planon> Date: 26 Mar 93 21:21:15 GMT References: <1993Mar21.184614.1348@parsec.mixcom.com> Sender: yanik@CAM.ORG!planon In article <1993Mar21.184614.1348@parsec.mixcom.com> alberto@parsec.mixcom.com (Alberto Ricart) writes: (...) | We have found that we run into several ownership problems | with regards to nib files. We have two programmers working | on the same project, and while they both are members of | the same group and have rwx permissions for the group | NIB files refuse to cooperate when making (fastcp seems | to bark at not being owner) and when saving in IB. (...) | -- | Manuel Alberto Ricart | alberto@parsec.mixcom.com <NeXTMail Welcome> We have the same problem here. A project managed by Project Builder is and must be the project of one and only one person. Collaborative programmation is not an easy task. "...Annnnnnd it's the first computer designed from scratch to be an interpersonal computer to extend personnal computing in the realm of improving group productivity and collaboration which we think is going to be the most exciting thing happening in desktop computing in the first half of nineties. So welcome to the NeXT world and let us know what you think of the new computer." - Steve Jobs, CEO, NeXT Inc. NeXT mail anotation message in every NeXT sold. The most exiting thing is NOT happening to NeXTSTEP programmers. Maybe with version 4 of NeXTSTEP. -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik@planon.qc.ca NeXTMail appreciated
From: gil@asterix.lbl.gov (Gil Rivlis) Newsgroups: comp.sys.next.programmer Subject: Re: getcwd? Date: 1 Apr 1993 01:05:16 GMT Organization: Lawrence Berkeley Laboratory, Berkeley CA Distribution: world Message-ID: <1pdf4c$1ep@overload.lbl.gov> References: <1169@rtbrain.rightbrain.com> glenn@rightbrain.com (Glenn Reid) replies to: > Robert Nicholson writes > > No help from NextAnswers on this one. But what you do you do in C for > > a getcwd. Can I just to a getenv("$cwd") ? [ chomp man page for getwd()] Here is an apportunity to ask my question. getwd() return the working directory which is your home directory if you started the app from the Workspace Manager. How do I get the directory in which the executable itself resides? (ie ~/Apps/MyApp.app/ or /LocalApps/TheApp.app/ or ...) Gil -- Gil Rivlis, Department of Physics, UC Berkeley gil@asterix.lbl.gov (NeXT Mail welcome)
Message-ID: <`|$@byu.edu> Date: Wed, 31 Mar 93 20:40:43 EST From: yackd@maine.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world References: <1169@rtbrain.rightbrain.com> <1pdf4c$1ep@overload.lbl.gov> Organization: Brigham Young University, Provo UT USA Subject: Re: getcwd? In article <1pdf4c$1ep@overload.lbl.gov>, gil@asterix.lbl.gov (Gil Rivlis) writes: >glenn@rightbrain.com (Glenn Reid) replies to: >> Robert Nicholson writes >> > No help from NextAnswers on this one. But what you do you do in C for >> > a getcwd. Can I just to a getenv("$cwd") ? > >[ chomp man page for getwd()] > >Here is an apportunity to ask my question. getwd() return the working >directory which is your home directory if you started the app from >the Workspace Manager. >How do I get the directory in which the executable itself resides? >(ie ~/Apps/MyApp.app/ or /LocalApps/TheApp.app/ or ...) > >Gil >-- >Gil Rivlis, Department of Physics, UC Berkeley >gil@asterix.lbl.gov (NeXT Mail welcome) Easy. It's in NXArgv[0]...the complete path to the app's executable. You can use rindex (with a '/') to strip off the executable's name and leave the directory behind. This is how you'd get it before 3.0. If you have 3.0, it's even easier. Read the docs about the NXBundle class. There is a global variable defined by the appkit for the "main" bundle, which just happens to be the app wrapper (.app directory). Ask the main bundle for it's directory, and you've got what you're looking for. Very, very easy. Send one message and get the string back. (I'd give a line of code, but I don't have the docs in front of me. Sorry.) If you don't have 3.0, you can get actual code to do this from the BusyBox developer's example in 2.x. (That code still works under 3.x, BTW, it's just unnecessary what with bundles and all... :-) ) Hope that helps. I figured a post might be better than e-mail, since this took me a while to figure out way back when, and someone else might care to know how... Later, Don_Yacktman@byu.edu
From: fischedj@NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: Re: Converting a Project from 3.0 to 2.1 Date: 1 Apr 1993 01:37:43 GMT Organization: Computer Science Department at Rose-Hulman Message-ID: <1pdh17INNetg@master.cs.rose-hulman.edu> References: <65735@mimsy.umd.edu> In article <65735@mimsy.umd.edu> sib@carmi.cs.umd.edu (Scott Blanksteen) writes: > Hi all! > Now that I've got my App working, how hard will it be to convert > it to run under 2.1? I don't think I've used anything 3.0-specific in > terms of the class hierarchy, but all of the .nib files were generated > under 3.0. Am I in for a hard time, or is it mostly a recompile on the 2.1 > system? > Please post replies, as I imagine this is of interest (unless it's > an RTFMer, but I couldn't find it.) > Thanks, > Scott I imagined this was of interest too, but I don't think it is. (I asked a similar question about a month ago a received a single response to it) Nonetheless, what I have found is: 3.0 nib files are incompatible with 2.x nibs. The project file must be remade from scratch using 2.x InterfaceBuilder. The one post I received on the matter stated that: "No way [can 3.0 nibs be used with 2.x]. The NXTypedStream format is completely different, the 3.0 nib is a directory without the class structure separated out, and the nib internal formats have always been completely private. You just need a 2.x palette for any custom objects, and you build it again from scratch." As far as code is concerned, it seems that stuff is pretty much the same. Some #import<> files need to be changed. The Makefile is different, but 2.x InterfaceBuilder should take care of that when you remake the nibs. Please, if you learn anything else via personal email, forward it to me; I would like to know if I am wrong about the nib conversion impossibility. -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "Don't ever put your brain on a runaway train 'cause it won't be coming back!" - Mad At The World.
Newsgroups: comp.sys.next.programmer From: mrb@earth.wustl.edu (Mike Bray) Subject: How to set text color in a DBTableView??? Message-ID: <1993Apr1.042650.13096@wuecl.wustl.edu> Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO Date: Thu, 1 Apr 1993 04:26:50 GMT I want to highlight rows in a DBTableView with different colors. How? Thanks, Mike Bray mrb@earth.wustl.edu 307-332-1279
From: michael@wft.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: Registering AppIcon window as a drag destination Message-ID: <1pdcbp$2rd@tricky.wft.stack.urc.tue.nl> Date: 1 Apr 93 00:18:01 GMT References: <Mar31.045830.60684@yuma.ACNS.ColoState.EDU> Organization: Eindhoven University of Technology, the Netherlands In article <Mar31.045830.60684@yuma.ACNS.ColoState.EDU> slade@alpine.lance.colostate.edu (Jeremy Slade) writes: Try pressing the command key (or alt if you're running NS/FI PR-1) and dragging a file over the icon of an application. The App will be launced and open the file. Since all NeXTSTEP programs that accept files can do this, there is no use in doing the same thing without command pressed. Michael
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Variable width columns in NXBrowser? Organization: Primitive Software Ltd. References: <1993Mar27.105400.9513@prim> <1993Mar29.132116.7518@uunet!cbmvax!xmws!kripalu> Date: Wed, 31 Mar 1993 09:13:26 +0000 Message-ID: <1993Mar31.091326.7841@prim> Sender: usenet@demon.co.uk In article <1993Mar29.132116.7518@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: >In article <1993Mar27.105400.9513@prim> dave@prim.demon.co.uk (Dave >Griffiths) writes: >> Has anybody succeeded in making a subclass of NXBrowser with >columns of >> varying width? I'm currently using three browsers inside a modified >> SideSplitView, but it would be much nicer to use just one. >> >> Dave Griffiths > >If the browsers are in synch just use a custom cell that will support >multiple columns. If they are hierarchical you will have a problem >using one browser Yes, they're hierarchical, and yes I've got a problem. :-) My current plan is to set the minimum column width according to the type of cell in the rightmost columm, but of course all the columns will then change width. Oh well. I stepped through the "tile" method in the debugger (when people talk about development being "five times faster" on the NeXT, do they count all these painful hours trying to figure out what the method you want to subclass really _does_? Come back Unix, all is forgiven... :-) in the hope that like a nice well behaved object orientated thing it would ask the columns how wide they each were... it didn't. Dave Griffiths
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: browsers and nib files in 3.x Date: 31 Mar 1993 20:14:27 +0100 Organization: me organized? That's a joke! Message-ID: <1pcqij$nv@steffi.demon.co.uk> References: <1993Mar31.000314.5299@proponent.com> <1993Mar31.153132.14487@afs.com> greg@afs.com wrote >In article <1993Mar31.000314.5299@proponent.com> Monty Solomon ><monty%roscom@think.com> writes: >> If you have a browser in a .nib file and the window/panel which >> contains the browser is set to be visible at launch time, the >> browser:fillMatrix:inColumn: method will be invoked as soon as the >> loadNibSection:owner:withNames: method in invoked. >> >> This behavior is different from 2.x where browser:fillMatrix:inColumn: >> isn't invoked until loadColumnZero is invoked. >> >> Can it be disabled other than making the window not visible at launch >> time? > >We discovered this too, and sadly, the answer is no. For obvious reasons, >windows that are visible at launch time send all of their objects a >display method. If the browser is in the main nib, and its window is >visible at launch time, that happens before appDidInit. This was actually >a bug in 2.x, because the display method in NXBrowser did not send itself >a loadColumnZero to fill the browser, it simply drew its (empty) frame. > >-- >Gregory H. Anderson | "History, despite its wrenching pain, >Commander-in-Chief | Cannot be unlived, but if faced >Anderson Financial Systems | With courage, need not be lived again." >greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning" You can ofcourse, choose when to load the browser with its stuff by bracketing the code in browser:FillMatrix:inColumn ie. - browser:fillMatrix:inColumn (blabalbal) { if (!not ready) return 0; /* normal loading code appears here */ } You then set "not ready" when its appropriate for you to load the browser.
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: getcwd? Date: 31 Mar 1993 20:15:23 +0100 Organization: me organized? That's a joke! Message-ID: <1pcqkb$oj@steffi.demon.co.uk> References: <1pbsoj$686@steffi.demon.co.uk> <1993Mar31.174856.587@almserv.uucp> pdifalco@fnma.com wrote >In article <1pbsoj$686@steffi.demon.co.uk> robert@steffi.demon.co.uk >(Robert Nicholson) writes: >> No help from NextAnswers on this one. But what you do you do in C for >> a getcwd. Can I just to a getenv("$cwd") ? >> > >How about: >{ char cwd[256]; > > sprintf(cwd, "%s", [[NXBundle mainBundle] directory]); > : > : >} > > >-- >email: sxupjd@fnma.com (NeXT Mail Okay) >Philip DiFalco, Senior Analyst, Advanced Technology >FannieMae, 3900 Wisconsin Ave NW, Washington, DC 22016 (202)752-2812 Doesn't help when its a C/Unix program ie. X - Windows. Solution was to write a getcwd wrapper using getwd
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Forcing TextField to upper case Message-ID: <1993Apr1.080521.11548@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> Date: Thu, 1 Apr 1993 08:05:21 GMT In article <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> jeffs@nextnorth.acs.ohio-state.edu (Jeff Schluep) writes: > I would like to be able to force lower case characters typed into a >textfield to appear as upper case. It looks like I can capture keydown events >to do this but I am not sure what to do afterwards. Yuck! Let's see if I can suggest a better approach, more in line with The NeXTSTEP Way. TextFields use Text objects to do their editing, so this is a natural opportunity to use a Filter Function. In this case, we want to install a Character Filter Function in place of the standard NXFieldFilter(). The trick is to intercept Cell's "Editing Text" methods by adding a new Category to TextFieldCell: // #imports needed for 2.x systems only; 3.0 use <appkit/appkit.h> #import <NXCType.h> #import <dpsclient/event.h> #import <appkit/Text.h> #import <appkit/TextField.h> #import <appkit/TextFieldCell.h> @interface TextFieldCell(UCOnlyFields) - edit:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject event:(NXEvent *)theEvent; - select:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject start:(int)selStart length:(int)selLength; - endEditing:textObj; @end @implementation TextFieldCell(UCOnlyFields) static unsigned short myfilter(unsigned short charCode, int flags, unsigned short charSet) { if ((flags&NX_COMMANDMASK)==0&&charSet==NX_ASCIISET) charCode=NXToUpper(charCode); return NXFieldFilter(charCode, flags, charSet); } - edit:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject event:(NXEvent *)theEvent { id i, textDelegate; i=[super edit:aRect inView:controlView editor:textObj delegate:anObject event:theEvent]; textDelegate=[[self controlView] textDelegate]; if ([textDelegate respondsTo:@selector(wantsUCOnly:)]&& [textDelegate perform:@selector(wantsUCOnly:) with:self]) [textObj setCharFilter:myfilter]; return i; } - select:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject start:(int)selStart length:(int)selLength; { id i, textDelegate; i=[super select:aRect inView:controlView editor:textObj delegate:anObject start:selStart length:selLength]; textDelegate=[[self controlView] textDelegate]; if ([textDelegate respondsTo:@selector(wantsUCOnly:)]&& [textDelegate perform:@selector(wantsUCOnly:) with:self]) [textObj setCharFilter:myfilter]; return i; } - endEditing:textObj { id textDelegate; textDelegate=[[self controlView] textDelegate]; if ([textDelegate respondsTo:@selector(wantsUCOnly:)]&& [textDelegate perform:@selector(wantsUCOnly:) with:self]) [textObj setCharFilter:NXFieldFilter]; return [super endEditing:textObj]; } @end Then, for each TextField you want to fold case, set its textDelegate to an object that implements a method like - (BOOL)wantsUCOnly:aTextFieldCell { return YES; } N.B.: filter functions only process keyboard input; users can still Paste lower case material into your TextField. According to NeXT, it's supposed to work that way--so be prepared to deal with it. -=EPS=-
Newsgroups: comp.sys.next.programmer From: mshaler@tdocad.sps.mot.com (Michael Shaler) Subject: Re: Finding Cells in a Text object References: <1167@rtbrain.rightbrain.com> Date: Thu, 1 Apr 1993 08:11:05 GMT Organization: Nippon Motorola Ltd., Tokyo, Japan Sender: news@tkymail.sps.mot.com Message-ID: <1993Apr1.081105.373@tkymail.sps.mot.com> Glenn Reid writes: [...with the eloquence of an epitaph to hubris] Damned well. I hope (wish) everybody in the home office is listening. --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 voice +813 3440 0033 fax mshaler@tdocad.sps.mot.com [NeXTmail]office is listening. --- Michael Shaler Tokyo Design Cent
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Two longjmps() destroys environment Message-ID: <1993Apr1.154208.15316@afs.com> Sender: greg@afs.com Date: Thu, 1 Apr 1993 15:42:08 GMT In comp.lang.objective-c article <1993Mar31.111311.6276@gleap.jupnix.com> you wrote: [stuff about setjmp()/longjmp() problems] In my experience, "Illegal Instruction" errors occur when you blow the top off the stack, usually because none of your recursive or reentrant functions ever return. If your longjmps() call back and forth to each other without ever letting the methods that started them run to the end, you will eventually run out of stack. By the way, that's why gdb has nothing interesting to report: the last stack frame is blown, so it can't work its way down. We discovered this when we overrode the NeXT TextField's selectText: method to support field-level security. In our Wall Street trading software, different users have different editing privileges. Our goal was to disable protected fields without rewiring the master sequence. But in its native form, a disabled or non-editable TextField dead-ends the field editing loop. We overrode that method to pass control to the next field in sequence if the receiver was disabled. But if ALL the TextFields in the loop are disabled, none is ever willing to use the message and execute to the end of the method. Instead, each field repeatedly passes the message around the ring, the method reenters for another object, and eventually you run out of stack. Usually setjmp()/longjmp() are used for error and signal handling. For the purpose you are defining, I've only seen them used successfully as part of a thread tasking loop that continuously defers execution to the next thread on a scheduled basis. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: IB Font Panel Problem Message-ID: <1993Apr1.181840.10591@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA CS Department, Los Angeles, CA Date: Thu, 1 Apr 93 18:18:40 GMT Hi, Maybe some of you (or all of you) know this by now, but for some reason, I just discovered it. Maybe I never used the Font Panel in IB since we got 3.0. In any case, why does IB crash when I try to bring up the Font Panel? Is this a strange thing or is it purely my problem? If it's a known bug, is there a patch or upgrade or some kind of work-around? E-MAIL PLEASE -- THANKS!!! Eskandar -- ------------------------------------------------------------------------- G o d l e s s f e e l i n g i n m e B o r n o f t h e i r l i e s . . . Danzig
Newsgroups: comp.sys.next.programmer,comp.os.mach From: saty@ntc.togliatti.su (Sergey A. TsYbanov) Subject: Strange U in OS MACH. Message-ID: <AE1BojhiiB@ntc.togliatti.su> Sender: news-server@ntc Organization: AutoVAZ Research & Development Centre Date: Mon, 29 Mar 1993 16:24:33 GMT Hi ! In file /usr/include/bsd/sys/user.h (OS MACH 3.0) kernel unix variable U defined as #ifndef u #define u ( current_thread()->u_address) #endif But U_ADDRESS field not defined. HELP !!!! I can not translate my own UNIX-style device driver. -- ******************* Is There Anybody Out There ? ********************** * SATY ( Sergey A. TsYbanov ). * * E-mail : saty@togliatti.su Phone : number +7 (8482) 378-17-53. * ***********************************************************************
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Finding the DO servers with NetNameServer Message-ID: <1993Apr1.200533.25800@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Thu, 1 Apr 93 20:05:33 GMT Hello. Is there a way of finding the names held by the NetNameServer? I am trying to get a list of all the distributed objects available for connection on a local machine. Thanks In Advance. -Marcos J. Polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: DPSDoUserPath inside a loop? Message-ID: <1993Apr1.201420.145@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Thu, 1 Apr 1993 20:14:20 GMT I have a code where I have placed DPSDoUserPath inside a loop over collections of data to be plotted. for (j=0;j<ntypes;j++) { myStorage = [dataList objectAt:j]; type = [myStorage dataType]; count = [myStorage howMany]; if (type & 0x1) { /* draw the line */ ops[1] = count/3 + 32 - 1; argv = [myStorage args]; displayed = [myStorage displayed]; DPSDoUserPath([vm as_DPSpath :count/3 :displayed[0] :displayed[1] :displayed[2] :path], 2*count/3, dps_float, ops, 3, boundingBox, dps_ustroke); } } It only seems to draw the last item. Any ideas why this would occur? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Forcing TextField to upper case Message-ID: <1993Apr1.161440.15377@afs.com> Sender: greg@afs.com References: <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> Date: Thu, 1 Apr 1993 16:14:40 GMT In article <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> jeffs@nextnorth.acs.ohio-state.edu (Jeff Schluep) writes: > > I would like to be able to force lower case characters typed into a > textfield to appear as upper case. It looks like I can capture keydown > events to do this but I am not sure what to do afterwards. Notwithstanding Glenn Reid's and Eric Scott's excellent technical advice, I would like to offer a usability suggestion: Don't convert the keystrokes until the user exits the field with a CR, Tab, or mouse click. AFS follows Greg's First Law of Usability, the famous "Law Of Least Surprise": If you convert to UPPERcase WHILE the uSEr is typING, the user will be surprised. In fact, they will keep loOKIng... doWn... at their kEYBoard... to see whether they accidentally set Shift-Lock mode. Especially if not all of the FIELDS do this conVERsion. We have a custom AfsStringField that performs full-upper and first-upper conversion, but (at the suggestion of many users) only after the user has signaled their intention to stop working with the field. This also solves the issue Eric raised about cut-and-paste, although you can catch that on the fly with the textDidGetKeys:isEmpty: delegate method. Now let me raise a situation where on-the-fly key-catching is reasonable. Suppose the user is editing a string with an arbitrary fixed length, perhaps because it is stored in a SQL column with a fixed width. In that case, you *should* check each keystroke and prevent the user from over- typing the field. (Again, you can do this in textDidGetKeys:isEmpty:.) By the Law of Least Surprise, if you wait until the user finishes editing, and then chop off the excess, they will be surprised when their work disappears. At a minimum, they will feel cheated about having been duped into typing more than the field was willing to accept. Rather than waste bandwidth with examples, email me if you'd like some. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
From: jfosback@darmok.uoregon.edu (Jason Fosback) Newsgroups: comp.sys.next.programmer Subject: HELP: DBKit not connecting to VAX Oracle server Date: 1 Apr 1993 20:58:49 GMT Organization: University of Oregon Network Services Message-ID: <1pfl29$bp1@pith.uoregon.edu> I have a NeXTstation running NeXTSTEP 3.0 connected to the University of Oregon's network. Our administrative Oracle database system resides on a VAX running VMS 5.5. Several of us here at the University have been trying to get DBModeler.app to connect to the example database. The database is active, because we can connect to it using several IBM PC's. I've tried to connect directly to port 1525 with the NeXT (it works), but don't know what to do from there. Has anyone had any luck using the DBKit to connect to Oracle on a VAX running VMS 5.5? I can't afford to wait until NeXTSTEP 3.1, nor can I wait for NeXTSTEP/Intel. Is there a fix available? Can it be done? Thank you in advance for any assistance. -jason _________________________________________________________________ Jason Fosback, User Support Analyst | No sir, I didn't like it ---- University of Oregon ---- | -R&S Internet: jfosback@oregon.uoregon.edu | Star Trek: NeXT mail: jfosback@darmok.uoregon.edu | The NeXT Generation...
Organization: University of Illinois at Chicago, academic Computer Center Date: Thu, 1 Apr 1993 15:13:06 CST From: <U54876@uicvm.uic.edu> Message-ID: <93091.151306U54876@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Spec's on .au sound format? Hello - If anyone has any information/specifications on the .au sound format I would greatly appreciate a reply. Thanks! Tom Nawara
From: pdifalco@fnma.com (Phil DiFalco) Newsgroups: comp.sys.next.programmer Subject: dwrite Message-ID: <1993Apr1.152803.8368@almserv.uucp> Date: 1 Apr 93 15:28:03 GMT Sender: usenet@almserv.uucp Organization: Fannie Mae what are the various dwrite variables for "loginwindow". In particular, I want to: * change my login panel to a different *.tiff; * make the login panel move around the screen; * make the login panel move around the screen after x amount of seconds; * make the login panel move fade in and out; * etc. -- email: sxupjd@fnma.com (NeXT Mail Okay) Philip DiFalco, Senior Analyst, Advanced Technology FannieMae, 3900 Wisconsin Ave NW, Washington, DC 22016 (202)752-2812
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Recipe For Dynamic DBTableView Message-ID: <1993Apr1.221516.7991@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Thu, 1 Apr 1993 22:15:16 GMT The other day I posted a message asking for help on how to have a window with a DBTableView in it that I could change the contents dynamically. I only had one response and he gave me a general idea on how to procede, thanks. Well here is the answer and I hope that this will help other people so they don't have to waste the time that I did. The problem I had was that the database I am connecting to has 100+ entities with about 50+ of them being reference tables and I needed to access those reference tables depending on selections made by the user. I did not want to have to create 50+ DBTableView associations, thats just plain crazy. So I tried, failed, cursed and finally came up with a workable solution. I am not promising that this will not crash in the future when you start doing more complicated things but for the simple examples I was using to get it working it did just fine. Recipe for dynamic DBTableView: 1.Slap a CustomView into a window 2.Change the attribute of the CustomView to a DBTableView 3.Get access to the entity you need entity = [dbDatabse entityNamed:"your entity"] 4.Create a DBFetchGroup for that entity dbFetchGroup = [[DBFetchGroup alloc] initEntity:entity] 5.Create the properties you need property1 = [entity propertyNamed:"property1"] propertyN = [entity propertyNamed:"propertyN"] 6.Make an association from a property to your DBTableView and get the dataSource that your DBTableView will use dataSource = [dbFetchGroup makeAssociationFrom:propertyX to:dbTableView] 7.Make associations for your other properties without accessing the return value, thought you could use it if you wanted to 8.Set your DBTableView's dataSource [dbTableView setDataSource:dataSource] 9.Add expressions to your fetch group [dbFetchGroup addExpression:property1] [dbFetchGroup addExpression:propertyN] 10.Add columns to connect your properties to your table view [dbTableView addColumn:property1 withTitle:"Property 1"] [dbTableView addColumn:propertyN withTitle:"Property N"] 11.Create a list to store your properties in list = [[List alloc] init] 12.Add your properties to this list [list addObject:property1] [list addObject:property2] 13.Set the properties in the fetch groups record list to your entity [[dbFetchGroup recordList] setProperties:list ofSource:entity] 14.Set your retrieve order for you fetch [[dbFetchGroup recordList] addRetrieveOrder:DB_AscendingOrder for:property1] [[dbFetchGroup recordList] addRetrieveOrder:DB_AscendingOrder for:propertyN] 15.Fetch the data [[dbFetchGroup recordList] fetchUsingQualifier:nil] 16.Redisplay everything [dbFetchGroup redisplayEverything] 17.Be anal and use [dbTableView display] Now you don't have to have steps 11-16 if you don't want to have your data sorted. Instead of those steps you can do the following: 11.Fetch the data [dbFetchGroup fetchContentsOf:nil usingQualifier:nil] 12.Be anal and use [dbTableView display] Now if I have forgotten something don't go off the deep end, I will post what I forgot or you can send me mail after you have tried to get it working and it doesn't. Best of luck to who ever needs this. And by the way, thanks Ramesh Doddamani for that tidbit of info you gave me on the DBAssociation route. When I first replied I thought I was going to have to create a class off of DBAssociation, but as it turns out when you use setDataSource you automatically get the private class DBTableAssociation. If you have any problems please mail me right away and I will jump on a solution for ya. One thing I haven't tried yet is to reuse the DBTableView with a different entity, but I will be trying that next and let who ever is interested on how it went. -- Robert John Andersen (919) 460-3285 (v,w) andersen@reality.glv.com - NeXT mail! "The only limit to impossibility is imagination or lack thereof. Nothing is impossible given knowledge and time. Impossibility is a relative term." - "Impossibilities? Impossible!"
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Forcing TextField to upper case Message-ID: <1172@rtbrain.rightbrain.com> Date: 1 Apr 93 23:23:04 GMT References: <1993Apr1.080521.11548@csus.edu> Sender: glenn@rightbrain.com Eric P. Scott writes > In article <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> > jeffs@nextnorth.acs.ohio-state.edu (Jeff Schluep) writes: > > I would like to be able to force lower case characters typed into a > >textfield to appear as upper case. It looks like I can capture keydown events > >to do this but I am not sure what to do afterwards. > > Yuck! Let's see if I can suggest a better approach, more in line > with The NeXTSTEP Way. Hmmmm. You say "Yuck!", but you supply 70 lines of code to do what should only require 5 or 10 lines of code. Furthermore, your code is tied to the Text object, which is undoubtedly (hopefully?) going to change in the next system release. Yes, it's the NeXTSTEP Way, but is it a better way? That seems unclear. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: CCC_HART@rzmain.rz.uni-ulm.de (Hardy) Subject: Help: error in write(2) ??? Message-ID: <1993Apr2.015050.2183@wega.rz.uni-ulm.de> Sender: news@wega.rz.uni-ulm.de (News Net) Organization: University of Ulm, Germany Date: Fri, 2 Apr 1993 01:50:50 GMT Hello NeXTler, I have a big problem: in a project which uses threads i got this error: (gdb) run [...] Program generated(5): Software exception. 0x50081e0 in write () (gdb) After this the program hangs (without debugger the programm terminates). The write(2) is used to put data to a network port. The error occurs only if the application uses two or more objects, which have each one data port, simultaneous an read/write alternately from these ports. Simultaneous read/write doesnt occur. The error could be reproduced. Has anyone any hints ? Thanx in advance, hardy --- please reply to: hardy@first_next.informatik.uni-ulm.de (Next mail) or: Christoph.Hartmann@ccc.uni-ulm.de (Standard mail)
Newsgroups: comp.sys.next.programmer From: tim@ursidae.demon.co.uk (Tim Bissell) Subject: Has anyone compiled GZIP on the NeXT Keywords: gzip, compile Organization: Retentive (analysts) Ltd. Date: Wed, 31 Mar 1993 22:04:48 +0000 Message-ID: <C4rxC1.FG@ursidae.demon.co.uk> Sender: usenet@demon.co.uk Subject line says it all really; does anyone know what combination of cc flags and/or source hacks allow gzip 1.07 from the FSF to be compiled on the NeXT? Thanks in advance, Tim -- Tim Bissell | tim@ursidae.demon.co.uk DoD # 174 Retentive Limited | "Number two in a field of one..." +44 480 451022 | Independent NeXT Developer/Consultant
Newsgroups: comp.sys.next.programmer From: "jana" <jana@canrem.com> Subject: 350 Meg of NeXT Software for about $9 bucks. Message-ID: <1993Apr1.4924.12665@dosgate> Organization: Canada Remote Systems Distribution: comp Date: 1 Apr 93 23:57:44 EST Hello, The MAR-APR issue of the CD-ROM NeWS for the NeXT computer will start shipping this weekend. This CD-ROM will contain about 340 MB of NeXT software. All the software are new, I sent the CD to press only about 14 days ago. Starting from this issue, all the CD's will ship during the middle of the issue month.(Eg: JAN-FEB CD will go out on FEB 1st and MAR-APR will go out on APR 1st. ). This is because of a contract I signed with a CD-ROM pressing house to get a lower price. If you placed an order for the CD-ROM during the last four weeks, your first issue will start with the MAR-APR issue, the good thing is MAR-APR disk contains everything that was on the JAN-FEB issue, so you are not missing anything. If you have NOT placed an order, but would like to see a sample, E-Mail me your address and I will ship you the MAR-APR issue, if you like it you can pay the one issue price or subscribe and keep the disk, if not send it back to me. Paul Marco (dcode@netcom.com ) will post a file list of the CD-ROM on c.s.n.misc today. Also thanks for the people who have sent their subscription payment, if you have not sent the payments yet, can you mail it please. I believe every NeXT user will benefit from subscribing to this CD, over 300 users have used it and they like it. If you are not planing to subscribe please give me a reason so I can change my approach to suit every one. Thanks a lot Jay jana@canrem.com (800) 363-2083 PS : If you have any questions please free feel to call me. Evening are best time to get me. What is CD-ROM NeWS for NeXT Computer? CD-ROM NeWS is a low cost bimonthly CD-ROM publication that was started so NeXT users without FTP access can get NeXT software. At present we have well over 300 subscribers. The costs of the CD's are: One CD=U$19.95 or U$24.95 for foreign One year subscription=U$59.95 or U$79.95 for foreign Two year subscription=U$99.95 or U$129.95 for foreign. If you would like to get a CD then please E-Mail me your address and I will mail you the MAR-APR disk and you can mail me a cheque for the correct amount. If you live outside of US and Canada then it's foreign and payments should be made in international money orders. -- Canada Remote Systems - Toronto, Ontario 416-629-7000/629-7044
Newsgroups: comp.sys.next.programmer Subject: Re: Forcing TextField to upper case Message-ID: <1993Apr1.195245.4688@nic.csu.net> From: eps@futon.SFSU.EDU (Eric P. Scott) Date: 1 Apr 93 19:52:44 PST References: <1993Apr1.080521.11548@csus.edu> <1172@rtbrain.rightbrain.com> Organization: San Francisco State University In article <1172@rtbrain.rightbrain.com> glenn@rightbrain.com (Glenn Reid) writes: >Hmmmm. You say "Yuck!", but you supply 70 lines of code to do what >should only require 5 or 10 lines of code. There are--in the filter function. The rest is just "glue." Pretty mindless, actually. >Furthermore, your code is tied to the Text object, which is undoubtedly >(hopefully?) going to change in the next system release. I'm only using documented API, my involvement with the Text class is minimal, and it's 2-byte-character "clean." I don't expect any problems in the future. >Yes, it's the NeXTSTEP Way, but is it a better way? That seems unclear. I minimized the example; had I provided a more sophisticated delegate it would have been more obvious just how powerful this approach is. In fact, my example is even more general than the problem statement required: it will work for anything using a TextFieldCell or subclass; that includes TextField, Matrix, Form, and their derivatives. Since the id of the TextFieldCell is available to the delegate, it has access to Cell tags, etc. About the only real criticism I'd offer is my "abuse" of perform:with: (Object); some would rather I declare my delgate method as an Object Category and message it "the normal way" so the types match. In any case, it turns on and off when it's isupposed to, it doesn't require involvement by the Application Object, and it doesn't have any particularly nasty side effects. Greg's comments are certainly apropos--my point is merely that NeXTSTEP is certainly capable of doing what was asked, and without too much grief. Whether it's _wise_ is another matter. For someone who's used Other Computing Environments (or is trying to "port" an interface from one), it might be appropriate behavior. The issue is really one of interface design; I think you can get away with just about anything if you present it in a clear and unambiguous manner. If I want to duplicate a paper form that wants "print uppercase letters one to a box" I'm not going to make a TextField with the standard bezel. More likely, I'm going to give it a transparent background and slip a static image below. And set its font to something like Courier. -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Forcing TextField to upper case Message-ID: <1993Apr2.061720.1128@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Apr1.080521.11548@csus.edu> <1172@rtbrain.rightbrain.com> <1993Apr1.195245.4688@nic.csu.net> Date: Fri, 2 Apr 1993 06:17:20 GMT In article <1993Apr1.195245.4688@nic.csu.net> I wrote: >TextFieldCell or subclass; that includes TextField, Matrix, Form, Oops! Forms are normally used with FormCell which does not inherit from TextFieldCell (although the same technique should work with a FormCell Category). Also, an alert reader reminded me of a NeXT MiniExample ("FilterFunctions") illustrating several other approaches. -=EPS=-
Newsgroups: comp.sys.next.programmer From: mib@bio128.uni-bielefeld.de (Michael Bruewer) Subject: Re: Spec's on .au sound format Sender: news@hermes.hrz.uni-bielefeld.de (News Administrator) Message-ID: <C4unw8.H8G@hermes.hrz.uni-bielefeld.de> Date: Fri, 2 Apr 1993 09:33:44 GMT References: <93091.151306U54876@uicvm.uic.edu> Organization: Universitaet Bielefeld, Rechenzentrum In article <93091.151306U54876@uicvm.uic.edu> <U54876@uicvm.uic.edu> writes: > Hello - > > If anyone has any information/specifications on the .au sound format I would > greatly appreciate a reply. > > Thanks! > > Tom Nawara au is the SUN sound format and is identical with the NeXT 8 bit mu-law format. Rename it into .snd and double click it.... If the header is missing create one with sndconvert -o file.snd -f 1 -s 8012.8210513 -c 1 -r file.au ******* ****** ** ** ** ** Michael Bruewer ******** ****** ** **** ** ** ** ** ** ** ** ** ** ** e-mail: mib@bio128. ** ** ** ** ** ** **** uni-bielefeld.de ******** ***** ** ** ** ** ******* ***** ** ******** ** Uni Bielefeld ** ** ** ** ******** **** Fak. Biologie/Abt.4 ** ** ** ** ** ** ** ** W-4800 Bielefeld 1 ** ** ****** ***** ** ** ** ** Germany ** ** ****** ***** ** ** ** **
From: dlisoski@bluff.galcit.caltech.edu (Derek L. Lisoski) Newsgroups: comp.sys.next.programmer Subject: Pathological Postscript (or DPS Bug?) Date: 2 Apr 1993 11:04:01 GMT Organization: California Institute of Technology, Pasadena Distribution: na Message-ID: <1ph6j1INNhgq@gap.caltech.edu> I am running a NeXTStation with NS3.0 and have a tiff file which I converted to eps using tiff2ps and then edited to scale and rotate the image. Using a ".5 5 scale" command the file previews and prints (on the NeXT LP) fine. Change that to ".1 .1 scale" and the image still previews as expected, but when I try to print it out it logs me out. Which wouldnt be all that bad, but it doesnt print, either. This happens on a different NS3.0 machine as well, but does NOT happen on a NS2.2 one. It happens even if WM is the only application running. The console messages protest the unexpected death of the window server for each app that was running, but dont contain much in the way of useful information. Help or advice would be greatly appreciated. Failing that, I guess this could be considered a bug report... Thanks derek dlisoski@cco.caltech.edu The offending postscript itself: (changing ".1 .1 scale" to ".5 .5 scale" will make the file printable) %!PS-Adobe-2.0 EPSF-2.0 %%Creator: tiff2ps %%Origin: 0 0 %%BoundingBox: 0 0 556 1279 %%EndComments gsave 10 dict begin /picstr 640 string def 556 1279 scale 90 rotate 0 -1 translate 1 .1 scale {-1 mul 1 add 0.2 sub 0.86 0.2 sub div} settransfer 1279 556 4 [1279 0 0 -556 0 556] {currentfile picstr readhexstring pop} image 11111111111111111112111111111111111111111111111111111111111111111112 ..and so on for another 10465 lines..until.. end grestore
From: dlisoski@bluff.galcit.caltech.edu (Derek L. Lisoski) Newsgroups: comp.sys.next.programmer Subject: Re: Pathological Postscript (or DPS Bug?) Date: 2 Apr 1993 11:19:48 GMT Organization: California Institute of Technology, Pasadena Distribution: na Message-ID: <1ph7gkINNhsp@gap.caltech.edu> References: <1ph6j1INNhgq@gap.caltech.edu> In article <1ph6j1INNhgq@gap.caltech.edu> dlisoski@bluff.galcit.caltech.edu (Derek L. Lisoski) writes: > The offending postscript itself: > (changing ".1 .1 scale" to ".5 .5 scale" will make the file printable) Gee, if you type the PS header incantation into NewsGrazer suddenly you get a icon thingy, instead of what I wanted to say: (EPS Header Goes Here) %%Creator: tiff2ps %%Origin: 0 0 %%BoundingBox: 0 0 556 1279 %%EndComments gsave 10 dict begin /picstr 640 string def 556 1279 scale 90 rotate 0 -1 translate 1 .1 scale {-1 mul 1 add 0.2 sub 0.86 0.2 sub div} settransfer 1279 556 4 [1279 0 0 -556 0 556] {currentfile picstr readhexstring pop} image 11111111111111111112111111111111111111111111111111111111111111111112 ..and so on for another 10465 lines..until.. end grestore
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Has anyone compiled GZIP on the NeXT In-Reply-To: tim@ursidae.demon.co.uk's message of Wed, 31 Mar 1993 22:04:48 +0000 To: tim@ursidae.demon.co.uk (Tim Bissell) Message-ID: <CEDMAN.93Apr2075101@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <C4rxC1.FG@ursidae.demon.co.uk> Date: Fri, 2 Apr 1993 11:51:01 GMT In article <C4rxC1.FG@ursidae.demon.co.uk> tim@ursidae.demon.co.uk (Tim Bissell) writes: Subject line says it all really; does anyone know what combination of cc flags and/or source hacks allow gzip 1.07 from the FSF to be compiled on the NeXT? This involves an arcance procedure which should never be undertaken without the assistance of Trained Computer Professionals. First one invokes "./configure". Then one carefully enters "make install". Then one is finished. A truly dedicated high-level hacker will also make the following changes to the Makefile generated by configure to achieve better performance but this is not necessary. Change CC to "cc -pipe -O2" Add "-s -object" to LDFLAGS Carl Edman
From: rlabelle@lamar.colostate.edu Newsgroups: comp.sys.next.programmer Subject: named pipes Keywords: fifo,named pipes,mknod Message-ID: <Apr02.141904.73332@yuma.ACNS.ColoState.EDU> Date: 2 Apr 93 14:19:04 GMT Sender: news@yuma.ACNS.ColoState.EDU (News Account) Organization: Colorado State University, Fort Collins, CO 80523 Hello all, Is there the equilvalent of "mknod -p", i.e. named pipes, available for mach/bsd unix ? I'm looking for something to use as a fifo file. Thanks for any clues ! Rob LaBelle rlabelle@lamar.colostate.edu
Newsgroups: comp.sys.next.programmer From: hwr@snert.ka.sub.org (Heiko W.Rupp) Subject: Re: Need to read NeXT format floppy on LINUX and/or OS/2 References: <1p754hINNinn@tamsun.tamu.edu> <C4orz5.pH@infoserv.com> Date: Fri, 2 Apr 1993 08:06:44 GMT Organization: The Home of the Pilhuhn Sender: news@pilhuhn.ka.sub.org (Das Newssystem auf pilhuhn) Message-ID: <hwr.733738004@snert.ka.sub.org> kent@infoserv.com writes: >In article <1p754hINNinn@tamsun.tamu.edu> daugher@cs.tamu.edu(Walter C. >Daugherity) writes: >> A colleague has tons of 1.44MB NeXT-formatted floppies of graphics images >which >> he needs to read on a PC with LINUX (PC UNIX) or OS/2. Has anyone solved >Please post, I need the information also. Hm, I don't know Linux, but at least for NeXT, 386bsd and Xenix, tar(1)ing on a HD floppy works well to transfer data between these boxes. -- Heiko W.Rupp Gerwigstr.5 7500 Kh'e 1 hwr@pilhuhn.ka.sub.org +49 721 693642 A nuclear war can ruin your whole day.
Newsgroups: comp.sys.next.programmer From: bruce@taos.ictv.com (Bruce Nilo) Subject: Re: Two longjmps() destroys environment Message-ID: <1993Apr2.151837.16341@ictv.com> Sender: usenet@ictv.com Organization: ICTV, Santa Clara, CA (408) 562-9200 References: <1993Mar31.111012.6217@gleap.jupnix.com> Date: Fri, 2 Apr 1993 15:18:37 GMT Charles C. Lloyd writes [Abridged recapitulation of Charles example.] >"Illegal instruction"errors after the second longjmp() when I execute a >return. Also after the second longjmp(), the gdb information is >completely gone. //For convenience, assume these vars are global and known to all classes. jmp_buf envA, envB; id resultOfBlock; >-methodC >{ > return [aClassB methodB]; >} //This is a method of ClassB: >-methodB >{ >//This method is called first by methodC, then this calls methodA. While >in methodA, this is jumped into from there. > switch( setjmp(envB) ){ > case 0: > [aClassA methodA]; > break; > case 222: > longjmp(envA, 111); > break; > } > ... >} >//This is a method of ClassA: >-methodA >{ >//This method jumps back into a methodB in ClassB to do some of its work. > [statements not germane to this problem]; > switch( setjmp(envA) ){ > case 0: > longjmp(envB, 222); > break; > case 111: > } > //error happens here upon return. > Because all stack references are incorrect > > return self; >} The reason for this is that your second longjmp is using a jmp_buf which has stored away an environment that has already been popped off the stack. Essentially your use of setjmp and longjmp in the second case is incorrect. The invocation of methodA sets up methodA's stack frame. In particular envA is setup with pointers into this stack frame. When the longjmp in methodA is executed this stack frame is popped but envB is still pointing into it. When the second longjmp is executed it may go to the correct instruction but your stack has been mangled. Longjmps can only be used to jump up the call stack. Hope this clarifies things. Sincerely, Bruce D. Nilo VP Software Systems ICTV bruce@ictv.com
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: hlp w/ rename procedure Message-ID: <1993Apr2.105512.1667@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Fri, 2 Apr 1993 10:55:12 GMT I am a novice....any help is appreciated. (they never showed me this at school!) Here is most of my problem. I need to check within appDidInit if a file exists in the user's homedirectory. The file can have two possible names, file1 or file2. if neither are there I need to create file2. I have been using the following to do this: chdir(NXHomeDirectory()); fd = open(fileName1, O_RDWR, 0665); fileName = file1; if (fd < 0) { fd = open(fileName2, O_RDWR|O_CREAT, 0665); fileName = 2; } if (fileName == "file1") [statusButton setIntValue: 1]; else [statusButton setIntValue: 0]; Now with a button in a simple window, I need to rename the file when the user clicks the button. Example - If the file found at startup was file2, the button (statusButton) on the simple window says file2. Now if the user clicks that button, I want to update the file name (rename the file to file1) in the users directory and then the button (statusButton) will display file1. I appreciate any help, comments and/or suggestions. Ian PS also, can I declare const in .h files? ie const char *someString = "Nice Name"; thanks -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Programming Novice..but lovin it | Isn't LiFE more like RiSK?
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Does 3.0 qsort work? Message-ID: <1993Apr2.110857.8994@gleap.jupnix.com> Date: Fri, 2 Apr 1993 11:08:57 GMT Sender: clloyd@gleap.jupnix.com Organization: GiantLeap Software Hi, Does NS3.0 qsort() work? I am having all sorts of problems (no pun intended). Charles. ps. please email responses--my news feed is loosing articles. -- Charles Lloyd (713) 363-0887 | My right to swing my fist GiantLeap Software (713) 363-0936 (fax) | ends at your nose; Your right clloyd@GLeap.jpunix.com | to smoke ends at *my* nose.
From: sanchezp@bigdog.engr.arizona.edu (Paul J. Sanchez) Newsgroups: comp.sys.next.programmer Subject: Re: Has anyone compiled GZIP on the NeXT Keywords: gzip, compile Message-ID: <1993Apr2.143348.27900@organpipe.uug.arizona.edu> Date: 2 Apr 93 14:33:48 GMT References: <C4rxC1.FG@ursidae.demon.co.uk> Sender: news@organpipe.uug.arizona.edu Organization: University of Arizona In article <C4rxC1.FG@ursidae.demon.co.uk> tim@ursidae.demon.co.uk (Tim Bissell) writes: > >Subject line says it all really; does anyone know >what combination of cc flags and/or source hacks allow >gzip 1.07 from the FSF to be compiled on the NeXT? > >Thanks in advance, > >Tim It worked for me with no twiddling. Just follow the directions supplied. Run configure, then make. You can run "make check" to verify. --paul
Newsgroups: comp.sys.next.programmer From: dlm40629@uxa.cso.uiuc.edu (Daniel L. Marks) Subject: NeXTStep course in Chicago area, Summer 1993 Date: Fri, 2 Apr 1993 17:48:05 GMT Message-ID: <C4vAs5.4rC@news.cso.uiuc.edu> Distribution: usa Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Keywords: NEXTSTEP NEXT SUMMER 1993 COURSE Organization: University of Illinois at Urbana A NeXTstep Course will be held in the Chicgo area, that will teach both the basics and more advanced techniques of NeXTstep programming with the Interface Builder,Project Builder, DB Kit, and the Application Kit. It is scheduled for mid-June, will be held in the early evening, and will last for six weeks. The topics that will be covered include: x Introduction to the NeXTstep graphical environment x Creating Applications with the Project Builder x Introduction to Object Oriented Programming x Construction of graphical interfaces with Interface Builder x Objective-C and a brief review of C programming x Digital Librarian and NextDeveloper on-line documentation x Many Application Kit Classes x Display Postscript and pswraps x Mouse and Keyboard Handling and Events x Distributed Objects x Introduction to Mach (Streams and Threads) x Introduction to DB Kit x Porting to NeXTstep-486 We want to know how much interest there is in this course, and if college credit is important for potential enrollees. If you are interested in this course, please respond to dlm40629@uxa.cso.uiuc.edu, and tell us if you are interested in taking the course for credit or not. NeXTstep programmers Daniel L. Marks (d-marks1@uiuc.edu) and David Jeske (jeske@ux4.cso.uiuc.edu), formerly with the Mathematics Visualization Project of Argonne National Laboratory, will be instructors for the course. This course has previously been taught for credit by the same instructors at the University of Illinois at Chicago campus. ----------------------------------------------------------------------- Dan Marks dlm40629@uxa.cso.uiuc.edu
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Finding the DO servers with NetNameServer Organization: Primitive Software Ltd. References: <1993Apr1.200533.25800@leland.Stanford.EDU> Date: Fri, 2 Apr 1993 09:00:09 +0000 Message-ID: <1993Apr2.090009.3180@prim> Sender: usenet@demon.co.uk In article <1993Apr1.200533.25800@leland.Stanford.EDU> shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: >Hello. > >Is there a way of finding the names held by the NetNameServer? >I am trying to get a list of all the distributed objects >available for connection on a local machine. > Don't know. But on the same subject: Does anyone know of a way to register a distributed object of a certain _type_? I would like my client application to start up and have a look around for all servers offering services of a particular type. It looks as though you can't easily do this though because registerRoot:withName: assumes only one server will have that name. I need something like registerRoot:withName:ofType: and then another call to return a list of all servers of that type. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: gcc 2.3.3 cpp problem with //-style comments. Message-ID: <1993Apr2.213729.15587@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Fri, 2 Apr 1993 21:37:29 GMT Look at this: gerben@mr_ed 61) cat test.c #include <stdarg.h> void main( void) { printf( "Hello world!\n"); } gerben@mr_ed 64) make CC=gcc test gcc test.c -o test gerben@mr_ed 65) test Hello world! And this: > Reading specs from /usr/local/lib/gcc-lib/next/2.3.3/specs > gcc version 2.3.3 > /usr/local/lib/gcc-lib/next/2.3.3/cpp -lang-c -v -undef > -D__GNUC__=2 -Dmc68000! GNU CPP version 2.3.3 (68k, > MIT syntax) > /usr/local/lib/gcc-lib/next/2.3.3/cc1 /usr/tmp/cc003077.i > -quiet -dumpbase tes! GNU C version 2.3.3 (68k, MIT > syntax) compiled by GNU C version 2.3.3. > as -o /usr/tmp/cc0030771.o /usr/tmp/cc003077.s > /usr/local/lib/gcc-lib/next/2.3.3/ld -o test -lcrt0.o > -L/usr/local/lib/gcc-lib! [Process gcc -v -o test > test.c: Done] All is fine. And now this: > In file included from > /NextDeveloper/Headers/ansi/machine/stdarg.h:11, from > /Nex tDeveloper/Headers/ansi/stdarg.h:7, from > /NextDeveloper/Headers/ansi/stdio.h:18, > from .././nodes/pg_lisp.h:24, from .././rules/prs2.h:22, > from ../access/common/ heaptuple.c:46: > /NextDeveloper/Headers/ansi/m68k/stdarg.h:4: unterminated > string or character co nstant > /NextDeveloper/Headers/ansi/m68k/stdarg.h:30: unbalanced > `#endif' *** Error code 1 (continuing) stdarg.h line 4 is an //-style comment. In the first case, it is accepted. In the second case it is not. Compiling with "-x objective-c" cures this problem, but what is happening here? Is //-style suddenly read as if it were /*-style? Any hints are welcome. --Gerben -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer Subject: putenv() on NeXT Message-ID: <1pghbn$lf2@stat1.cc.ukans.edu> From: local@stat1.cc.ukans.edu (Lou Montulli) Date: 1 Apr 1993 23:01:43 -0600 Organization: University of Kansas Keywords: putenv, getenv, help, program I am porting some software to the NeXT and there seems to be a lack of a putenv() call. putenv() is used to change or set an envirionment variable from inside a program. What duplicate functionality can I use to do this?? getenv() exists, of course, but the man pages don't seem to have too much in the way of a putenv() substitute. All help will be appreciated. Please send directly or carbon copy your reply directly to me because I check my mail more often than NeWS. :lou montulli@ukanaix.cc.ukans.edu
From: cahalan@clouds.gsfc.nasa.gov (Robert F. Cahalan) Newsgroups: comp.sys.next.programmer Subject: Re: HELP: DBKit not connecting to VAX Oracle server Message-ID: <C4vEL7.LrH@skates.gsfc.nasa.gov> Date: 2 Apr 93 19:10:17 GMT References: <1pfl29$bp1@pith.uoregon.edu> Sender: usenet@skates.gsfc.nasa.gov Organization: NASA Goddard Space Flight Center - Greenbelt, MD USA In article <1pfl29$bp1@pith.uoregon.edu> jfosback@darmok.uoregon.edu (Jason Fosback) writes: > I have a NeXTstation running NeXTSTEP 3.0 connected to the University of > Oregon's network. Our administrative Oracle database system resides on > a VAX running VMS 5.5. > > Several of us here at the University have been trying to get > DBModeler.app to connect to the example database. The database is > active, because we can connect to it using several IBM PC's. I've tried > to connect directly to port 1525 with the NeXT (it works), but don't > know what to do from there. > > Has anyone had any luck using the DBKit to connect to Oracle on a VAX > running VMS 5.5? I can't afford to wait until NeXTSTEP 3.1, nor can I > wait for NeXTSTEP/Intel. Is there a fix available? Can it be done? > > Thank you in advance for any assistance. > > -jason > _________________________________________________________________ > Jason Fosback, User Support Analyst | No sir, I didn't like it > ---- University of Oregon ---- | -R&S > Internet: jfosback@oregon.uoregon.edu | Star Trek: > NeXT mail: jfosback@darmok.uoregon.edu | The NeXT Generation... I'm no expert on DBKit, Jason, but I have successfully connected to an Oracle server on a VAX, so it definitely CAN be done. There are two things to keep in mind: (1) You have to activate the oracle daemon. First su to root, and then do the following: niload services . < orasrv 1525/tcp (2) You need to know who OWNS the tables that you want to look at. Then to get access to them, you do: dwrite OracleAdaptor OracleTableOwners "'yourusername','owner2'" where 'owner2' is the owner of the tables you want. Good luck! -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .Dr. Robert F. Cahalan (Bob)...#..Laboratory for Atmospheres...... .cahalan@clouds.gsfc.nasa.gov..#..NASA-Goddard Space Flight Center .*** NeXTMail accepted ***.....#..Greenbelt, MD 20771............. .FAX: (301) 286-1627...........#..voice: (301) 286-4276........... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Resetting NXStream Message-ID: <1993Apr3.015651.454@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Sat, 3 Apr 1993 01:56:51 GMT How do I reset an NXStream? I have a text object that gets a file put into it at appDidInit. I then allow the user to edit the text object and then I try to put the data back to the file (ie NXSeek(messageStream, 0, NX_FROMSTART); [messageScroll writeText: messageStream]; NXSaveToFile(messageStream, fileName); If the user edits the file and the new data is shorter than the original I get the end of the original file appended to the new file. I can correct this by: messageStream->buf_ptr = ""; messageStream->buf_bas = ""; Is there a better way? Ian -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Programming Novice..but lovin it | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer,comp.lang.c++ From: greg@serveme.chi.il.us (Gregory Gulik) Subject: Re: Gcc and libg++ (Which one?) Message-ID: <1993Apr3.040536.21936@serveme.chi.il.us> Organization: Gagme Public Access Unix, Chicago, Illinois References: <1ov69m$6rq@steffi.demon.co.uk> Date: Sat, 3 Apr 1993 04:05:36 GMT In article <1ov69m$6rq@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: >Earlier this week I installed libg++-1.39.0 to fit in with NeXT's gcc >1.39.1. Things work quite well with _simple_ c++ code. I am working my >way thru some tutorials and I seem to be missing a lot of classes. >Typically the streams package iostream.h fstream.h etc etc. I would >like to know if I am able to attain complete c++ comptability (V3.0, >V4.0?) with streams by resorting to using gcc2.3.3 with libg++2.3. >Since gcc2.3.3 is about 7 MEG I thought Id ask first. I am aware that >gcc1.39.0 doesn't support templates which I will probably need to investigate >but in the meantime the streams package is my main concern. If I can solve >both of these problems by upgrading and installing gcc2.3.3 then I will >do so. I assume its necessary for NeXT development to maintain the >original GCC that comes with NeXTStep thus having two compilers on my >machine one for Objc and the other one for C and C++. Do install gcc 2.3.3 and libg++ 2.3! The compiler and libraries are much more in tune with the "standard". They both build relatively easily on a NeXT. -greg -- Gregory A. Gulik Call Gagme, a public access greg@serveme.chi.il.us UNIX system at 312-282-8606 || gulik@rtsg.mot.com For information, drop a note to info@gagme.chi.il.us
Newsgroups: comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Has anyone compiled Promail 2.81 on NS 3.0? Message-ID: <1993Apr3.132235.7173@news.csuohio.edu> Keywords: procmail 3.0 compile Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University Date: Sat, 3 Apr 1993 13:22:35 GMT I guess the subject says it all: has anyone managed to compile procmail, preferably version 2.81, on a NeXT running OS 3.0? Whenever I try it, no matter which directory or directories I include in the USRINCLUDE line of the Makefile, it does not read the system include files. This is getting ridiculous. I can compile without incident on a @.x system, but 3.0 is like a broken machine. Oh, and NeXT, thanks for screwing the /usr/includes so bad on 3.0. I can tell how much you care about your customer satisfaction! Cowboy -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library cowboy@majeure.law.csuohio.edu
Newsgroups: comp.sys.next.programmer,anl.next.prog From: olson@locke.mcs.anl.gov (Bob Olson) Subject: Using defaultsChanged and public window server Message-ID: <7338650852203@locke.mcs.anl.gov> Followup-To: comp.sys.next.programmer Sender: usenet@mcs.anl.gov Organization: Argonne National Laboratory, Chicago, Illinois Date: Sat, 3 Apr 1993 19:24:45 GMT I am writing an app where I would like to be able to change the value of the Public Window Server preference. It is trivial to change the actual preference with NXWriteDefault("System", "PublicWindowServer", pwsValue ? "Yes" : "No"); but getting the Workspace to accept the change does not seem to work. I perform a [[Application workspace] defaultsChanged] According to the doc this is correct: defaultsChanged - (void)defaultsChanged Informs Workspace that the defaults database has changed. Workspace then reads all the defaults it is interested in and reconfigures itself appropriately. For example, this method is used by the Preferences application to notify Workspace whether the user prefers to see hidden files or not. However, after doing this Workspace does not recognize the change. Has anyone been able to do this? Thanks, --bob
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Using defaultsChanged and public window server Message-ID: <1993Apr3.203332.20520@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <7338650852203@locke.mcs.anl.gov> Date: Sat, 3 Apr 1993 20:33:32 GMT Under the current scheme it can't be done if the Workspace Manager has any child processes (and that includes your app!). That's why this is one of those "takes effect at next login" things. (It's not a problem with the Window Server; it's a problem with the design of the Workspace Manager.) There may be a workaround, depending on what you're really trying to accomplish. -=EPS=-
From: hafken@eniac.seas.upenn.edu (David Hafken) Newsgroups: comp.sys.next.programmer Subject: Help with text object Message-ID: <117890@netnews.upenn.edu> Date: 3 Apr 93 19:08:15 GMT Sender: news@netnews.upenn.edu Organization: University of Pennsylvania I'm trying to append a text string to the end of the text currently inside a text object. After looking in the library methods for the text object, I couldn't find anything to do this. Could someone let me know the best way to do this? Thanks, Dave
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Help with text object Date: 3 Apr 1993 22:32:37 +0100 Organization: me organized? That's a joke! Message-ID: <1pkvpl$2vc@steffi.demon.co.uk> References: <117890@netnews.upenn.edu> hafken@eniac.seas.upenn.edu (David Hafken) wrote >I'm trying to append a text string to the end of the text currently inside >a text object. After looking in the library methods for the text object, >I couldn't find anything to do this. Could someone let me know the best >way to do this? > >Thanks, > >Dave > Basically like this. @implementation Text(Text_Console) #define BUFFERSIZE 1024 - (int) printf:(const char *) format, ... { int result, length = [self textLength]; char buffer[BUFFERSIZE]; va_list ap; va_start(ap, format); result = vsprintf(buffer, format, ap); va_end(ap); // this is how one puts text into a Text object and goes to that selection. // put the cursor in the very last location and push the buffer in [[self setSel:length :length] replaceSel:buffer]; // scroll so that it is visible and redisplay [[self scrollSelToVisible] display]; return result; } @end Hope this helps -- "May I take your order now" "Yeah, sure I'll have one big mac, hold the onions" "You want fries with that?" "No thanks" (One computing honors grad to another)
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Where is the termios.h Date: 3 Apr 1993 23:06:14 GMT Organization: The University of Maryland, College Park Message-ID: <1pl596$9o4@ni.umd.edu> References: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> <1993Mar27.092603.16018@csus.edu> In article <1993Mar27.092603.16018@csus.edu> eps@cs.sfsu.edu writes: >I understand that NeXT is working on a POSIX compatibility >package for those customers (primarily government and computer- >illiterate corporate) that make it a so-called "checklist item." >It's expected to be outrageously expensive (to recoup development >costs, of course). This code is available "for free" from the Berkeley 4.3 BSD (reno) distribution. The modified tty driver concurrently supports the V7 TTY ioctl calls as well as the POSIX interface. So, assuming that NeXT didn't decide to reinvent this particular wheel, there shouldn't be significant development costs that need to be recovered. Louis Mamakos
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy From: dgeary@sierra.com (David Geary) Subject: Re: least bad alternatives to NeXTSTEP? Message-ID: <1993Apr1.220603.11100@sierra.com> Sender: news@sierra.com Organization: Sierra Geophysics, Kirkland WA References: <1993Mar17.145711.10276@mcs.gvsu.edu> Date: Thu, 1 Apr 1993 22:06:03 GMT In article <1993Mar17.145711.10276@mcs.gvsu.edu> erickson@oak.mcs.gvsu.edu (Carl Erickson) writes: > >Due to circumstances unfortunately beyond my control I'd like >the net's wisdom on the following question: > > If you were developing a set of applications > which are interface intensive, and > you refuse to work in a non-OO environment, and > you are coerced into using something other than NeXTSTEP, > what are the least bad alternatives? > >I'm starting this project from scratch (hardware and software) so I'm >open to all alternatives. > >Carl >-- > Carl Erickson, Asst Professor | Computer Science Dept > Grand Valley State University | Allendale MI 49401 > erickson@oak.mcs.gvsu.edu | (616) 895-2309 > Digitalk's Smalltalk V/Windows, along with Cooper&Peter's WindowBuilder is, I dare say, the best development environment I have ever seen, period. David -- -- David Geary | Seattle - America's most attractive city ... -- -- Sierra Geophysics | -- -- dgeary@sierra.com | to the jetstream ;-( --
From: seo@ccwf.cc.utexas.edu (seo) Newsgroups: comp.sys.next.programmer Subject: Rd: gcc and libg++ (Which one?) ===> no debugger for gcc2.3.3! Date: 3 Apr 93 18:55:26 Organization: The University of Texas at Austin Distribution: comp Message-ID: <SEO.93Apr3185526@louie.cc.utexas.edu> Gcc2.3.3 is the latest version for C++ from GNU, but gdb4.8 cannot be installed on the NeXT so that we (NeXT owners) do not have a debugger! Of course, I am assuming that gdb4.8 is needed for gcc2.3.3. If my assumption is wrong, please post. If there is a lesser version of gdb that can work with gcc2.3.3 and can be configured on NS3.0, definitely post! I hope I'm wrong about my information! Mike Seo seo@cyndy.ece.utexas.edu
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Re: Rd: gcc and libg++ (Which one?) ===> no debugger for gcc2.3.3! Message-ID: <1993Apr4.020159.10230@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <SEO.93Apr3185526@louie.cc.utexas.edu> Distribution: comp Date: Sun, 4 Apr 93 02:01:59 GMT In article <SEO.93Apr3185526@louie.cc.utexas.edu> seo@ccwf.cc.utexas.edu (seo) writes: > Gcc2.3.3 is the latest version for C++ from GNU, but gdb4.8 cannot be installed > on the NeXT so that we (NeXT owners) do not have a debugger! > > Of course, I am assuming that gdb4.8 is needed for gcc2.3.3. If my assumption is > wrong, please post. If there is a lesser version of gdb that can work with gcc2.3.3 > and can be configured on NS3.0, definitely post! > > I hope I'm wrong about my information! > > Mike Seo > seo@cyndy.ece.utexas.edu I'm afraid you are basically right. It is semi-possible, however, to use the version of gdb that comes with 3.0 to debug programs compiled with Gcc-2.3.3. I do this for C++ programs. The debugger tends to crash and get confused now and then, but hey... ;-) Also note that I have only used a very limited set of gdb commands. -- Magnus Nordborg Department of Biological Sciences Stanford University magnus@fisher.stanford.edu (NeXT mail preferred)
Newsgroups: comp.sys.next.programmer From: gemoe@proximus.north.de (Gerhard Moeller) Subject: Re: Alternative to indent? References: <1olr14INNjb@tamsun.tamu.edu> Sender: gemoe@proximus.north.de Organization: Gerhard Moeller, German NeXT User Group, Oldenburg. Date: Sat, 3 Apr 1993 07:16:17 GMT Message-ID: <1993Apr3.071617.3543@proximus.north.de> Distribution: usa In article <1olr14INNjb@tamsun.tamu.edu> dls7627@tamuts.tamu.edu (David Slotnick) writes: > The "indent" program, although useful, is limited in many ways. > Does anyone have a better alternative? I use rtf code with the Rtf-compiler on the archives. There is also a commercial product available from i*link, Germany, called "nice", which is a little bit better, as it supports graphics and Help-Links. But it costs about 200 DM which is about 130 USD. Problem: Your code is less portable. Advantage: It just looks great!!! Your code gets so easy to read, it's amazing. If now just edit would support something like style-libraries... -- +---------------------------< principiis obsta! >---------------------------+ N Gerhard Moeller, Teichstrasse 12, 2900 Oldenburg (FRG) [*: 02/21/1968] N e Private: gemoe@proximus.north.de Phone (voice): +49-441-75520 e X Uni: Gerhard.Moeller@arbi.Informatik.Uni-Oldenburg.DE NeXTmail X T Z-Net: Gerhard.Moeller@uniol.zer encouraged! T +-> NoGeNUG - Northern German NeXT User Group: NoGeNUG@proximus.north.DE <-+
From: scott@gooflesh.pha.pa.us (Scott D. Taylor) Newsgroups: alt.msdos.programmer,alt.sb.programmer,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32,comp.os.msdos.programmer,comp.os.os2.programmer,comp.sys.amiga.programmer,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,mcnc.programmers,rec.games.programmer,rec.games.xtank.programmer Subject: Programmers wanted for survey Distribution: world Message-ID: <scott.00mu@gooflesh.pha.pa.us> Date: 4 Apr 93 04:46:44 EST Organization: PLA A psychotherapist friend of mine is looking for programmers for a brief survey/interview for a study of creativity and insight formation. Persons from the greater philadelphia area would be preferred, but any one is welcome to e-mail me if willing to participate. Thanks. -- Scott D. Taylor scott@gooflesh.pha.pa.us Philadelphia ...uunet!gooflesh!scott
Newsgroups: comp.sys.next.programmer Subject: Questions about the Objective-c method type info and @encode(). Message-ID: <SCOTT.93Apr4053643@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 4 Apr 93 05:36:43 Distribution: world Organization: Is a sign of weakness [Please bear with me here if you know much about Objective-C type encoding. This problem requires some context.] For some code I'm writing, I require the ability to dynamically dig around in Objective-C and do distasteful things like build stack frames dynamically. Fun stuff, and perfectly doable _assuming_ that I can get all the right information from Objective-C. The problem I've found is that structures are not coded as I expect them to be in the value returned from method_getArgumentInfo(). Say, for instance, I have: @interface View ... - setFrame:(NXRect *)fRect; ... Method m; char *type; int offset; /* Get the Method structure for -setFrame:. */ m=class_getInstanceMethod( (Class)[View class], @selector( setFrame:)); /* Get info for arg 2 - skip implicit self and _cmd args. */ method_getArgumentInfo( m, 2, &type, &offset); This will leave type as "^{_NXRect}16". '^', '{', and '}' I can handle, because those are defined Objective-C type encoding characters. But, what's "_NXRect"? [Rhetorical question - I know, it's an NXRect structure, but how does my _program_ know that?] Actually, _NXRect in particular is not a problem. I can code around such things because I can easily figure out what standard AppKit structures are out there. Unfortunately, I've found that if I define a new type: struct MyStruct { int a, b; }; and a method to go with it, the type information I get for the structure is "{MyStruct}"! The only way I can code around _that_ is to require the person using my code to explicitely give info about this state of affairs. What's the problem? Well, what I _want_ to see for the Objective-C type info on MyStruct is "{ii}". Furthermore, what I want to see for NXRect is "{ffff}" or "[4f]" or something of the sort. Interestingly enough, if I do @encode( struct MyStruct), I get "{ii}". If I do @encode( NXRect) I get "{{ff}{ff}}", which is what I'd expect looking at the declarations. So, is there any way to work back from "{_NXRect}" to "{{ff}{ff}}"? I _could_ require type aliases to be declared like: [obj structAlias:"{_NXRect}" is:@encode( NXRect)]; but that is a _little_ bit hokey and prone to errors. I'd rather my code figured it out on its own. [Anytime you say "You must do this 'just because', the explaination wouldn't make sense", then you've lost some ground that you have to make up elsewhere ...] Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
From: fthomas@rbhp60.rbg.informatik.th-darmstadt.de (frank Thomas) Newsgroups: comp.sys.next.programmer Subject: WARNING: duplink-1.0.2 corrupt Date: 4 Apr 1993 11:06:26 GMT Organization: Technische Hochschule Darmstadt Message-ID: <1pmffiINN1fdq@rs2.hrz.th-darmstadt.de> Hello everybody, I have to tell you that there were a versions of duplink on the archives (which have been released by my co-author Michael) which are unable to produce any Help.store!!!! The bogus versions are 1.0.1 and 1.0.2 If you have one of these versions get the new one (1.0.3) from sonata.cc.purude.edu:pub/next/submissions or cs.orst.edu:pub/next/submissions I'm sorry for the inconvenients. I'm angry too. BTW: duplink-1.0.x is not compressed but gzip'ed. Get gzip from any gnu site (e.g. prep.ai.mit.edu) Bye Frank ---- Home Address: Frank Thomas (frank@glocke.robin.de) If you don't know duplink: Duplink is a package which contains two tools. compressHelp and duplink. compressHelp will convert a help directory to one Help.store file, as they are provided with all apps in /NextApps. duplink will link equal files together. This is helpful to save some space in the Help directory. You can still `Edit.app' the files. If you use compressHelp on these directories, the resulting Help.store will not be shorter, but will be generated faster.
From: cjp+@pitt.edu (Casimir J Palowitch) Newsgroups: comp.sys.next.programmer Subject: Re: Where is the termios.h Message-ID: <7746@blue.cis.pitt.edu> Date: 4 Apr 93 14:10:20 GMT References: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> <1993Mar27.092603.16018@csus.edu> <1pl596$9o4@ni.umd.edu> Sender: news+@pitt.edu Organization: University of Pittsburgh In article <1pl596$9o4@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >This code is available "for free" from the Berkeley 4.3 BSD (reno) >distribution. The modified tty driver concurrently supports the V7 >TTY ioctl calls as well as the POSIX interface. Could someone send this file to me, no NeXTMail, just plain text. I am trying to port Ephem, the Astronomy program, and this is needed for terminal I/O. Thanks, Casey > >Louis Mamakos -- ** Casimir J. (Casey) Palowitch - In 1996, there will be two kinds ** ** Slavic Cataloger - of computer professional : those ** ** U. of Pgh. Library Systems - who know NeXTStep, and those ** ** cjp+@pitt.edu - without Jobs. **
From: cjp+@pitt.edu (Casimir J Palowitch) Newsgroups: comp.sys.next.programmer Subject: Found with Archie was: Where is the termios.h Message-ID: <7748@blue.cis.pitt.edu> Date: 4 Apr 93 14:30:23 GMT References: <1993Mar27.092603.16018@csus.edu> <1pl596$9o4@ni.umd.edu> <7746@blue.cis.pitt.edu> Sender: news+@pitt.edu Organization: University of Pittsburgh Are there any NeXT-specific modifications necessary for this file? It is supposed to be a bsd-source-file... -- ** Casimir J. (Casey) Palowitch - In 1996, there will be two kinds ** ** Slavic Cataloger - of computer professional : those ** ** U. of Pgh. Library Systems - who know NeXTStep, and those ** ** cjp+@pitt.edu - without Jobs. **
Newsgroups: alt.msdos.programmer,alt.sb.programmer,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32,comp.os.msdos.programmer,comp.os.os2.programmer,comp.sys.amiga.programmer,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,mcnc.programmers,rec.games.programmer,rec.games.xtank.programmer From: jmalloy@itsmail1.hamilton.edu (Joseph T. Malloy) Subject: Re: Programmers wanted for survey Message-ID: <1993Apr4.171716.13963@itsmail1.hamilton.edu> Organization: Hamilton College - Clinton, NY References: <scott.00mu@gooflesh.pha.pa.us> Date: Sun, 4 Apr 1993 17:17:16 GMT In article <scott.00mu@gooflesh.pha.pa.us> scott@gooflesh.pha.pa.us (Scott D. Taylor) writes: >A psychotherapist friend of mine is looking for programmers for a brief ^^^^^^^^^^^^^^^ >survey/interview for a study of creativity and insight formation. > Any chance he might cure them as well? :) Joe jmalloy@hamilton.edu
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: WMInspector re-usability Organization: Primitive Software Ltd. Date: Sun, 4 Apr 1993 18:54:20 +0000 Message-ID: <1993Apr4.185420.1694@prim> Sender: usenet@demon.co.uk It's tricky trying to write an application that's extensible. You really have to keep your eye on the ball. In my app I have to display the contents of items of various sorts. Filters don't seem to be really suitable. But I'd like the user to be able to plug in code to view new types of item. Then it occurred to me to try and make use of the Workspace Manager contents inspectors, so that any inspectors I write for my app can also be used for the WM and vice-versa. And here we have an example of NeXT implementing half a good idea. On the face of it the WMInspector class looks quite clean. There's a window outlet which my app can use to connect the content view. And the WMInspector class has a method to return the current filename. So, NeXT guys, why didn't you _use_ it? If I try to load the WM inspectors bundle it complains about a heap of undefined symbols. Well I created dummies for them and continued. But then it goes trying to call a private category of Application called uniqueSelectedNode. So I gave it something to chew on. Then it asked this node thing for the filename and directory. This is all just in a plain simple RTF inspector. I gave up when it tried to call a function called setCPath. So close and yet so far. So just a plea to NeXT software people: think of the other people who might want to use your bundles. And keep it clean. The more re-usable and interchangeable things are, the better. Sorry, I'm probably being horribly unfair to NeXT, and mis-using things, but it's just a bit frustrating. Dave Griffiths
From: dwatola@galway.jpl.nasa.gov (David A. Watola) Newsgroups: comp.sys.next.programmer Subject: constraining resizing of objects in ib loadable palettes (howto?) Date: 4 Apr 1993 23:46:39 GMT Organization: Jet Propulsion Laboratory Distribution: world Message-ID: <1pns0vINNqhf@elroy.jpl.nasa.gov> the slider object in the standard interface builder palette does not allow resizing except in the direction of motion (of the slider knob)--the program beeps when you try to grab an inappropriate knobbie. i would like to duplicate this behavior with some of my own custom palette objects, especially some which are composed of multiple objects that must be properly tiled (and have some minimum size). does anybody know how to do this (within interface builder)? it is easy to modify sizeTo: such that it constraints its arguments, but that does not take effect until you let go of the mouse, so the result is that interface builder lets you drag the border rectangle to any shape. this can have other ugly side effects as well. any help appreciated. reply here or email dwatola@bvd.jpl.nasa.gov. oh yes, i'm still running ns2.0. if the answer changes under 3.0, i'd like to know, but a solution for 2.0 is my primary concern. dave dwatola@bvd.jpl.nasa.gov
Organization: University of Illinois at Chicago, academic Computer Center Date: Sun, 4 Apr 1993 20:32:50 CDT From: <U43013@uicvm.uic.edu> Message-ID: <93094.203250U43013@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: Accessing NXBitmapImageRep info This is a followup inquiry to a note I posted on 3-28-93, HELP!!!.... I received a lot of helpful info, and thanx to all that mailed me. But I still have a few questions. 1) After using -getDataPlanes, what does the values the pointer points to represent? Are they gray-levels, bits, samples, etc. ??? 2) How do I get the gray level of each individual pixel in a gray level image? Assume I have a non-planar image pointed to by 'theData' and that it's an 8 bit image (256 gray levels). -colorSpace makes mention that a gray scale between 1 and 0 can be found. HOW??? Where do I get this float between 1 and 0, so that I can multiply it by the number of gray levels and obtain what I need? I know this seems like a handfull but the underlying theme is how do I get a pixels gray level? Thanks, -Matt Szymanski u43013@uicvm.uic.edu
Newsgroups: comp.sys.next.programmer From: root@azetsys.uucp (Operator) Subject: TIMES_TICK for the NeXT Message-ID: <1993Apr5.015441.1432@azetsys.uucp> Organization: CleverLever Date: Mon, 5 Apr 1993 01:54:41 GMT Hi, Trying to configure correctly the Taylor-UUCP package on the NeXT, and ran into a small problem for you gurus, but a major obstacle for little me, namely what is the HZ value for the NeXT? Answer to this question, as well any other pointers to Taylor-UUCP by those who compiled it on the NeXT will be greatly appreciated. BTW, I am using version 1.04, and intend to use it with a Telebit 2500 modem. Thank you very much in advance, Geza Fekete -- Geza Fekete azetsys!aprop@uunet.UU.NET
From: russ@synapse.ee.ufl.edu (Russell Walters) Newsgroups: comp.sys.next.programmer Subject: PhoneKit, ISDN Date: 5 Apr 1993 02:12:43 GMT Organization: University of Florida College of Engineering Message-ID: <1po4ir$l34@bigguy.eng.ufl.edu> Keywords: ISDN Has anyone successfully installed an ISDN link between two NeXT machines using the PhoneKit/PhoneConnector.app/PhoneManager.app and the Hayes ISDN extender.
Newsgroups: comp.sys.next.programmer From: tim@ursidae.demon.co.uk (Tim Bissell) Subject: OK, OK, compiling gzip 1.07 on the NeXT Organization: Retentive (analysts) Ltd. Date: Sun, 4 Apr 1993 20:05:31 +0000 Message-ID: <C4z6H8.9t@ursidae.demon.co.uk> Sender: usenet@demon.co.uk Thanks for all your messages about building gzip 1.07, it appears that on 3.0 you just ./configure it and it goes. I am not, however, running 3.0, and so it is time to track it a little further and send a bug report to NeXT. Tim -- Tim Bissell | tim@ursidae.demon.co.uk DoD # 174 Retentive Limited | "Number two in a field of one..." +44 480 451022 | Independent NeXT Developer/Consultant
Newsgroups: comp.sys.next.programmer From: rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu Subject: NXLocalizedString, list of known bugs in NeXTSTEP_3.0 Message-ID: <9304041953.AA08547@flexus> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Sun, 4 Apr 1993 19:53:44 GMT LS, I tried to play a bit with localisation in a Contents Inspector: I used the macro described in the subject line, used genstrings, translated, built the bundle, copying the French.lproj and German.lproj into the bundle (wasn't done automatically!), copied the bundle to ~/Apps (install failed stupidly), but no translations appeared. Any hints? I know I have Deutsch and Francais higher in priority than English. Is it a bug like the 2 (between parentheses) I did recognise? Maybe someone would take a look at my little project? Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium RfSchtkt@maze.ruca.ac.be apparently isn't functional for public use yet (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at'' Nederlands, English, Francais, Deutsch a.o. PS: The latest version of the bugs ``FAQ'' is available for your perusal. NeXTSTEP for Intel betatesters especially: get this! It's: sonata.cc.purdue.edu:next/submissions/knownbugsin3.0v8.0.rtf.Z
Newsgroups: alt.msdos.programmer,alt.sb.programmer,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32,comp.os.msdos.programmer,comp.os.os2.programmer,comp.sys.amiga.programmer,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,mcnc.programmers,rec.games.programmer,rec.games.xtank.programmer From: scum@pcthree.com (Steve Monroe) Subject: Re: Programmers wanted for survey Message-ID: <1993Apr5.012943.4568@pcthree.com> Organization: PC Three References: <scott.00mu@gooflesh.pha.pa.us> Date: Mon, 5 Apr 1993 01:29:43 GMT scott@gooflesh.pha.pa.us (Scott D. Taylor) writes: >A psychotherapist friend of mine is looking for programmers for a brief >survey/interview for a study of creativity and insight formation. Hmm.. you should warn your psycho-babble-therapist that this could be quite dangerous to their psychological well-being. When I was on active duty in the Air Force there was always a retention problem in the area of computer personnel... programmers especially. Well, they decided to give our computer group a battery of tests in order to identify that one true personality type or capability (or combination thereof) so that they could pick them out of the assembly line in the beginning. The mistake was in telling us what they were going to do and how they were going to do it. A fairly large group got together every morning and decided who we would be that day. After days of being paranoid, extroverted, introverted, etc. we finally, after noticing that they were starting to watch us quite closely, let them in on the 'secret'. They were less than pleased. Gee, and we thought the response was a more or less perfect one for programmer/analysts... -- Steven C. Monroe VOICE:(703)406-2082 PC Three, Inc. scum@pcthree.com FAX:(703)406-2078 P.O. Box 1644 Herndon, VA 22070
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Where is the termios.h Message-ID: <1993Apr5.061824.26140@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> <1993Mar27.092603.16018@csus.edu> <1pl596$9o4@ni.umd.edu> Date: Mon, 5 Apr 1993 06:18:24 GMT In article <1pl596$9o4@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >This code is available "for free" from the Berkeley 4.3 BSD (reno) >distribution. The modified tty driver concurrently supports the V7 >TTY ioctl calls as well as the POSIX interface. > >So, assuming that NeXT didn't decide to reinvent this particular >wheel, there shouldn't be significant development costs that need to >be recovered. It's the other way around--CSRG made significant internal changes between 4.3-tahoe (whose conventions NeXT follows) and 4.3-reno, which affect *all* device drivers. Also, Berkeley completely redid the tty driver for -reno to make POSIXoid its "native" paradigm, and then attempts to support code using the V7-derived calls by translating as best it can into POSIX equivalents, which doesn't always work well. Trying to integrate that into NeXT's kernel would be a a fairly substantial undertaking, would break essentially all existing code that depends on the current semantics (including yours, products like TTYDSP and the SCSI-based serial products, line- discipline stuff like the tablet drivers, anything that works with ptys, various "ObjectWare" products, etc.). It's also completely unnecessary. This now degenerates into a religious argument; there is no sound technical basis for POSIX. It is not about standardization. It is not about "improving" anything. POSIX is little more than a conspiracy by certain vendors of proprietary systems to divide and conquer the UNIX community, introduce fear, uncertainty, and doubt, and offer "solutions" that involve locking customers into their products. POSIX is pure, unadulterated evil. And very successful, by most accounts. -=EPS=- -- Tired of the "UNIX Wars?" Choose "NT" for fast relief! It's got Microsoft Inside. You want a "distributed system?" Our products are everywhere. "Open Systems" means "open to computer criminals." Microsoft is your friend. Microsoft wants to help you.
Newsgroups: comp.sys.next.programmer From: rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu Subject: Re: Using defaultsChanged and public window server Message-ID: <9304050841.AA10248@flexus> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Mon, 5 Apr 1993 08:41:10 GMT LS, Eric Scott says: > Under the current scheme it can't be done if the Workspace > Manager has any child processes (and that includes your > app!). That's why this is one of those "takes effect at > next login" things. (It's not a problem with the Window > Server; it's a problem with the design of the Workspace > Manager.) Unless he is better informed than the documentation (possible, but he doesn't specify that), I have the following comments: - You must be careful what process you mean if you talk about the Workspace Manager. There are two: Workspace, and WM (for Workspace Manager). WM has no children, and is a sibling of all other apps. Actually the names are misnomers: Workspace is the actual Workspace Manager, and WM is responsible for everything visible except the dock (as far as I understand). - Process hierarchy and defaultsChanged have nothing to do with each other. ``Takes effect at next login'' just means that at this time *every* process from loginwindow on has to resort to the saved defaults again (/usr/lib/NextStep/loginwindow.app/loginwindow contains the string "PublicWindowServer", and not /usr/lib/NextStep/WindowServer). - The problem here is that defaultsChanged only triggers the Workspace Manager to use the new defaults. All other apps have to poll [[Application workspace] didDefaultsChange] (according to the docs, maybe it also works). And apparently loginwindow.app doesn't, or isn't able to let this take effect during a session (probably the former, maybe both). Actually, this functionality is very limited. The defaultsChanged message should never have to be sent, and neither should didDefaultsChange. This pair of methods should be changed by something like (in established NXWorkspaceRequestProtocol parlance): beginListeningForDefaultChangesForOwner:(char *)owner. This should be sent automatically by NXApp at least for the name the application normally registers with the name server. Default changes would then trigger a notification, not just set a flag to be polled (yuk!) *if* everybody remembers to do defaultsChanged. NeXT designers do very dumb things sometimes. Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium RfSchtkt@maze.ruca.ac.be apparently isn't functional for public use yet (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at'' Nederlands, English, Fran[ais, Deutsch a.o.
Newsgroups: comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Re: OK, OK, compiling gzip 1.07 on the NeXT Message-ID: <1993Apr5.102839.2463@news.csuohio.edu> Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University References: <C4z6H8.9t@ursidae.demon.co.uk> Date: Mon, 5 Apr 1993 10:28:39 GMT Tim Bissell (tim@ursidae.demon.co.uk) wrote: : Thanks for all your messages about building gzip 1.07, it appears : that on 3.0 you just ./configure it and it goes. I am not, however, : running 3.0, and so it is time to track it a little further and : send a bug report to NeXT. : Tim I just tried compiling it on NS 2.1 and it ./onfigured and compiled without any errors. Cowboy
From: jweimar@ulb.ac.be (Joerg Richard Weimar) Newsgroups: comp.sys.next.programmer Subject: tmpnam() under NS2.1 does not work!? Message-ID: <1584@rc1.vub.ac.be> Date: 2 Apr 93 18:20:18 GMT Sender: news@rc1.vub.ac.be Keywords: tmpnam bug I found that the function tmpnam() does not work under NeXTStep 2.1 Could somebody with NS3.0 check whether it works there? Maybe that would be one reason for upgrading. Test program: (output should be 10 _different_ names) #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create the files: # testtmpfile.c # This archive created: Fri Apr 2 20:15:55 1993 export PATH; PATH=/bin:$PATH if test -f 'testtmpfile.c' then echo shar: will not over-write existing file "'testtmpfile.c'" else cat << \SHAR_EOF > 'testtmpfile.c' /* testtmpfile.c */ #include <stdio.h> #include <sys/file.h> main(){ int i; char *name; int fd[10]; for (i=0; i<10; i++){ name = tmpnam(0); if ((fd[i]=open(name, O_RDONLY|O_CREAT|O_TRUNC, 0600))<0){ printf("can't create file \n"); } printf("name <%s>\n",name); } for (i=0; i<10; i++) close(fd[i]); } SHAR_EOF fi # end of overwriting check # End of shell archive exit 0 -- Joerg R. Weimar #!###!!!##!!#!#!!!###!!##!!##!!!###!!!##!!##!#!#!#####!#!##! jweimar@ulb.ac.be (NeXTMail welcome) Service du Chimie Physique II, Universite Libre de Bruxelles #!##!##!#!#!#!!!##!!#!#!#!#!##!##!#!##!#!##!##!!#!#!#!##!#!#
From: me@ienext.unl.edu (Dan Scott) Newsgroups: comp.sys.next.programmer Subject: Re: Alternative to indent? Date: 5 Apr 1993 14:36:25 GMT Organization: University of Nebraska--Lincoln Distribution: usa Message-ID: <1ppg59INNfpj@crcnis1.unl.edu> References: <1993Apr3.071617.3543@proximus.north.de> In article <1993Apr3.071617.3543@proximus.north.de> gemoe@proximus.north.de (Gerhard Moeller) writes: ...... : I use rtf code with the Rtf-compiler on the archives. ...... : Problem: Your code is less portable. : Advantage: It just looks great!!! Your code gets so easy to read, it's amazing. This sounds interesting. Where on the archives can it be found? ---------------------------------------------------------------- Dan Scott me@ienext.unl.edu NeXT mail welcome ----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: seungwoo@myria.cs.umn.edu (Seung-Woo Kim) Subject: Re: Where is the termios.h Message-ID: <seungwoo.734028564@myria> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> <1993Mar27.092603.16018@csus.edu> <1pl596$9o4@ni.umd.edu> <7746@blue.cis.pitt.edu> Date: Mon, 5 Apr 1993 16:49:24 GMT In <7746@blue.cis.pitt.edu> cjp+@pitt.edu (Casimir J Palowitch) writes: >Could someone send this file to me, no NeXTMail, just plain text. I am >trying to port Ephem, the Astronomy program, and this is needed for >terminal I/O. >Thanks, >Casey Me too! I need it to compile xxgdb(if I am correct). Thanks. Seung-Woo
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: View as a distributed object? Organization: Primitive Software Ltd. Date: Mon, 5 Apr 1993 16:58:21 +0000 Message-ID: <1993Apr5.165821.3410@prim> Sender: usenet@demon.co.uk Question for any appkit gurus out there - how feasible would it be to use distributed View objects? Assuming, for the time being that both client and server are on the same machine. Anybody know how tightly coupled View and Window are? Would you end up with billions of messages whizzing back and forth? How would the rendering take place? I was thinking about this WMInspector problem, and about how you could view a Draw document and was wondering if you could set up a general mechanism whereby you ask (say) the WorkSpace manager for a view object for a given filename. You just slot this view into a scroll view in your application and hey presto, it automagically appears. (I don't know much about NXDataLinks, but with all that copying and pasting and cumbersome interface it may not be the answer). Dave Griffiths PS: I just tried a quick experiment and for some reason, it didn't work. I got a view from a server, confirmed it's type, was able to remove it from it's superview on the server, but doing a setDocView: in the client scroll view just didn't work. No error message, but asking for the docView returned 0. So something wasn't happy about remote views!
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Finding the DO servers with NetNameServer Organization: Primitive Software Ltd. References: <1993Apr2.090009.3180@prim> <1993Apr3.170818.9301@uunet!cbmvax!xmws!kripalu> Date: Mon, 5 Apr 1993 11:10:13 +0000 Message-ID: <1993Apr5.111013.2800@prim> Sender: usenet@demon.co.uk In article <1993Apr3.170818.9301@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: >In article <1993Apr2.090009.3180@prim> dave@prim.demon.co.uk (Dave >Griffiths) writes: >[...] >> Does anyone know of a way to register a distributed object of a >certain >> _type_? I would like my client application to start up and have a >look around >> for all servers offering services of a particular type. It looks as >though >> you can't easily do this though because registerRoot:withName: >assumes only >> one server will have that name. I need something like >> registerRoot:withName:ofType: and then another call to return a >list of >> all servers of that type. > >You can always implement a server that keeps a list of names, types, >and object ids and provides lookup methods for any searches you want. >Then there is only one name you need from the system. It would be >nice if there was a standard server with more robust search functions >but it is not needed to achieve what you want. > Yes, I thought about that, but then I'm stepping into an area that's best solved by the OS. You see I don't want to have a "master" server running on one machine, or have to worry about the problems if that machine goes down - I'd rather someone else handled all that. :-) To keep things simple, I'd like my servers and clients to all be the same, the servers register themselves and the clients "sniff around" the net for servers of the right type. If I was to do what you suggest, then either each client must know the hostname of the master server (which is a non-homogeneity I'd like to avoid) or else my client must try to connect with "*" in the host name, which the documentation warns us "can take a bit of time". I don't know what the "Network Name Server" is, but wondered if it had already solved these issues. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: NXMapFile smpl code please Message-ID: <1993Apr5.035648.426@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Mon, 5 Apr 1993 03:56:48 GMT I am looking for sample code that uses NXMapFile WITHOUT using open or save panels. I am new to programming and am having lots of trouble with my file management. I need to open a file, read in info from file, put the info into a text object, let the user modify the info in the text obj, then the user clicks a button to update the file which then writes the info from the text obj back to the file. It sounds simple to me, but when I use the NXMapFile and NXSaveToFile command, if I continue to work in the Text object and then end up saving to the file again (ie clicking the button after making another change or two) if the info that I take from the text obj is smaller in length then info in the file, it seesm to simlpy replace that number of characters but keeps the rest. (by the way I NXSeek to the beginning of the file) my trouble is either Stream->buf_base,Stream->buf_ptr or the file. How do I completely replace the file? How can I continue to keep the file open via NXMapFile without my buffer problems? (Do I need to reset the buffers and if so how?) Do I need to close the file and reopen it? (if so how?) Any help or direction is appreciated. I am new to all this (programming in general) so please be patiant and less assuming. (more step by step). But sample code should help me out a lot. FILE FRUSTRATED -ian -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Programming Novice..but lovin it | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: zenon@resonex.com (Zenon Fortuna) Subject: Button's Image hilighlight ? Message-ID: <1993Apr4.225259.14341@resonex.com> Organization: Resonex Inc., Fremont CA Date: Sun, 4 Apr 1993 22:52:59 GMT I am trying to highlight a ButtonCell selecting NX_CHANGEBACKGROUNG with setHighlightsBy:. The manual says, that when the button's icon does have the alpha data, gray/white swap of the background color will show through the transparent pixels. As a matter of fact, I am creating the ButtonCell's image like that: newImage = [oldImage copy] ; myImageRep = [newImage lastRepresentation] ; [myImageRep setAlpha:YES] ; ... scale the newImage ... [buttonCell setShowsStateBy:NX_CHANGEBACKGROUND] ; [buttonCell setImage:newImage] ; But the Button does not show any changes of the background's color. What am I missing ? Thanks for comments (e-mail or follow-up) Zenon. PS. The above oldImage was created and initialized using a NXBitmapImageRep, therefore in its copy I have tried to set alpha to YES.
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Text: The nasty beast Date: 5 Apr 1993 17:17:36 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1ppm30$4qp@steffi.demon.co.uk> Cc: next-prog@cpac.washington.edu All this talk about rewritting Text made me think a bit today. Anyway, somebody suggested overriding Text's mouseDown inorder to get some custom highlighting behaviour. Since Text is one of the most important objects in the AppKit does anybody have a good interpretation as to what goes on in mouseDown in the text object? This method seems like it could be nasty. Does anybody have a mouseDown implementation that mirrors the AppKits Text object? -- "May I take your order now" "Yeah, sure I'll have one big mac, hold the onions" "You want fries with that?" "No thanks" (One computing honors grad to another)
Newsgroups: comp.sys.next.programmer From: russ@psych.toronto.edu (Russell Sutherland) Subject: Putenv Message-ID: <1993Apr5.141058.26040@psych.toronto.edu> Organization: Department of Psychology, University of Toronto Distribution: na Date: Mon, 5 Apr 1993 14:07:38 GMT I am trying to compile "remind" on the NeXT and have run into the difficulty that the "putenv" function does not seem part of the NS 3.0 C library. Is there a work around this or a public domain version of "putenv"? If you have a solution please e-mail me the answer as I do not normally read this group. Thanks. -- Russell Sutherland Bell: (416)-978-5140 Office of the Dean Uucp: ...{utzoo,utgpu}!utas!russ Faculty of Arts and Science Internet: russ@artsci.utoronto.ca
From: gordie@cyclesoft.com (Gordie Freedman) Newsgroups: comp.sys.next.programmer Subject: Re: tmpnam() under NS2.1 does not work!? Message-ID: <1993Apr5.180012.21307@netcom.com> Date: 5 Apr 93 18:00:12 GMT References: <1584@rc1.vub.ac.be> Sender: gordie@netcom.com Organization: Cyclesoft Media Works In article <1584@rc1.vub.ac.be> jweimar@ulb.ac.be (Joerg Richard Weimar) writes: > I found that the function tmpnam() does not work under NeXTStep 2.1 > Could somebody with NS3.0 check whether it works there? Maybe that would > be one reason for upgrading. > Test program: (output should be 10 _different_ names) > ...deleted for brevity ... It works on my 3.0 system - here's the output ... (yamanote) - 154: cc -o testtmp testtmpfile.c (yamanote) - 155: testtmp name </tmp/t.021288> name </tmp/t.a21288> name </tmp/t.b21288> name </tmp/t.c21288> name </tmp/t.d21288> name </tmp/t.e21288> name </tmp/t.f21288> name </tmp/t.g21288> name </tmp/t.h21288> name </tmp/t.i21288> > > -- > Joerg R. Weimar > #!###!!!##!!#!#!!!###!!##!!##!!!###!!!##!!##!#!#!#####!#!##! > jweimar@ulb.ac.be (NeXTMail welcome) > Service du Chimie Physique II, Universite Libre de Bruxelles > #!##!##!#!#!#!!!##!!#!#!#!#!##!##!#!##!#!##!##!!#!#!#!##!#!# -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
Newsgroups: comp.sys.next.programmer From: fischer@iesd.auc.dk (Lars Peter Fischer) Subject: Re: MAXPATHLEN vs. MAXPATHLEN+1 In-Reply-To: mheubi@itr.ch's message of Wed, 31 Mar 1993 12:42:49 GMT Message-ID: <FISCHER.93Apr5235641@thor.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1993Mar31.124249.16349@itr.ch> Date: 05 Apr 1993 22:56:41 GMT >>>>> "Heubi" == Heubi Matthias (mheubi@itr.ch) Heubi> 63 ENAMETOOLONG File name too long Heubi> A component of a path name exceeded 255 (MAXNAMELEN) Heubi> characters, or an entire path name exceeded 1023 Heubi> (MAXPATHLEN-1) characters. Now, in /usr/include/bsd/sys/param.h we find * MAXPATHLEN defines the longest permissable path length * after expanding symbolic links. and this does not tell us much. In /usr/include/apps/Workspace.h we have - selectionPathsInto:(char *)paths separator:(char)ch; /* Each selected item goes into paths, separated by specified separator; paths must be dimensioned to selectionCount * (MAXPATHLEN + 1)*/ and this seem to indicate that NeXT believes on that the explicit NULL is needed. This is also what we find in most NeXT example code. On Solaris 1 (and most other UNIX boxes I'm familiar with) we have * MAXPATHLEN defines the longest permissable path length, * including the terminating null, after expanding symbolic links. in /usr/include/sys/param.h. Since a lot of programs depend on this it wouldn't bee too clever for Mach to have changed this. I don't have a POSIX reference handy. /Lars -- Lars Fischer, fischer@iesd.auc.dk | It takes an uncommon mind to think of CS Dept., Aalborg Univ., DENMARK. | these things. -- Calvin
From: michael@wft.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: OK, OK, compiling gzip 1.07 on the NeXT Date: 5 Apr 1993 19:33:25 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1pq1i5$pl@tricky.wft.stack.urc.tue.nl> References: <C4z6H8.9t@ursidae.demon.co.uk> In article <C4z6H8.9t@ursidae.demon.co.uk> tim@ursidae.demon.co.uk (Tim Bissell) writes: > that on 3.0 you just ./configure it and it goes. I am not, however, > running 3.0, and so it is time to track it a little further and > send a bug report to NeXT. Id say it's time to upgrade to 3.0. You don't believe everything people on the net say do you? 3.0 is just as robust as 2.2. There are only some *new* features that don't work perfectly yet. No reason not to install 3.0. Michael
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: rtf-compiler: (was Re: Alternative to indent?) Message-ID: <1993Apr5.194717.2866@gleap.jupnix.com> Date: Mon, 5 Apr 1993 19:47:17 GMT References: <1ppg59INNfpj@crcnis1.unl.edu> Sender: clloyd@gleap.jupnix.com Distribution: usa Organization: GiantLeap Software Dan Scott writes > In article <1993Apr3.071617.3543@proximus.north.de> > gemoe@proximus.north.de (Gerhard Moeller) writes: > ...... > : I use rtf code with the Rtf-compiler on the archives. > ...... > : Problem: Your code is less portable. > : Advantage: It just looks great!!! Your code gets so easy to > read, it's amazing. > > This sounds interesting. Where on the archives can it be found? > ---------------------------------------------------------------- > Dan Scott me@ienext.unl.edu NeXT mail welcome > ---------------------------------------------------------------- Hello, I will post this to the archives later, but I have a new version of rtf-ascii for anyone who is using the rtf-compiler. Just send me email and I'll get you the new copy. This new version takes care of a few problems such as NeXTHelp links. If you're using the rtf compiler, you should definatly check into using help links. I use them to link to all my #import files and I link to the .m files from within my .h's. I couldn't navigate without them anymore!! BTW, does anyone have a working version of indent? Charles. --- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax) -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
From: hafken@eniac.seas.upenn.edu (David Hafken) Newsgroups: comp.sys.next.programmer Subject: inter-app communication Message-ID: <118374@netnews.upenn.edu> Date: 5 Apr 93 23:39:31 GMT Sender: news@netnews.upenn.edu Organization: University of Pennsylvania I am trying to have two applications on different hosts communicate using the speaker & listener classes. Everything works fine when the two apps are on the same host, but when they are on different ones, it seems that one app can't find the port address of the other. I am using the line: port_t thePort = NXPortFromName("SomeApp", "SomeAppsHostName"); to obtain the port. As I said, this code works when both apps run on the same host (and I use that name as the host name, not NULL which by default looks to the same host), but it doesn't work when they are on different hosts. Am I missing something here? Possibly some sort of code to obtain permission to communicate with another host? Thanks, Dave
Newsgroups: comp.sys.next.programmer From: jturner@liberty.uc.wlu.edu (James M. Turner III) Subject: Works in debug but not when compiled Message-ID: <1993Apr6.020928.12882@liberty.uc.wlu.edu> Date: Tue, 6 Apr 1993 02:09:28 GMT Organization: Washington & Lee University This is an easy question (I think). I have my program loading a default text file in when it initializes it's main object. I am having trouble providing a path to this file that is generic, so that it will look for the file in the same directory that the running application is in. What is the trick to providing it with a path to the current folder? Thanks in advance, jt
Newsgroups: comp.sys.next.programmer From: (slugg jello) Subject: Cross compiling to the 486 Message-ID: <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> Sender: slugg@mouthers.nwnexus.wa.com Organization: Mouthing Flowers Date: Tue, 6 Apr 1993 05:11:05 GMT Anybody know whether with NeXTSTEP 3.1 we'll be able to use our Motorola NeXT hardware to cross-compile for the 486 NeXTSTEP environment? Thanks. -- Doug Kent Mouthing Flowers, Inc. slugg@mouthers.wa.com
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: OK, OK, compiling gzip 1.07 on the NeXT Message-ID: <1993Apr6.020626.7633@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1pq1i5$pl@tricky.wft.stack.urc.tue.nl> Distribution: na Date: Tue, 6 Apr 1993 02:06:26 GMT In article <1pq1i5$pl@tricky.wft.stack.urc.tue.nl> michael@wft.stack.urc.tue.nl (Michael Brouwer) writes: > Id say it's time to upgrade to 3.0. You don't believe everything people on the > net say do you? 3.0 is just as robust as 2.2. There are only some *new* > features that don't work perfectly yet. No reason not to install 3.0. I would call floppy disk ejection a new feature. Lots of things broke in 3.0. M
Newsgroups: comp.sys.next.programmer From: zenon@resonex.com (Zenon Fortuna) Subject: Button's Image hilighlight - solution Message-ID: <1993Apr6.011914.24800@resonex.com> Organization: Resonex Inc., Fremont CA References: <1993Apr4.225259.14341@resonex.com> Date: Tue, 6 Apr 1993 01:19:14 GMT In article <1993Apr4.225259.14341@resonex.com> zenon@resonex.com (Zenon Fortuna) writes: >I am trying to highlight a ButtonCell selecting NX_CHANGEBACKGROUNG with >setHighlightsBy:. The manual says, that when the button's icon does have >the alpha data, gray/white swap of the background color will show through >the transparent pixels. > >As a matter of fact, I am creating the ButtonCell's image like that: > > newImage = [oldImage copy] ; > myImageRep = [newImage lastRepresentation] ; > [myImageRep setAlpha:YES] ; > ... scale the newImage ... > [buttonCell setShowsStateBy:NX_CHANGEBACKGROUND] ; > [buttonCell setImage:newImage] ; > >But the Button does not show any changes of the background's color. >What am I missing ? > >Thanks for comments (e-mail or follow-up) > > Zenon. > >PS. >The above oldImage was created and initialized using a NXBitmapImageRep, >therefore in its copy I have tried to set alpha to YES. I have found a solution, but I don't like it, because it is too complicated and in the OFF position of the ButtonCell the image has no clear black&white colors (depending on the "alpha" value it is partly transparent to the background). The solution is like below: - it was not enough just to copy the oldImage: I have generated a new NXBitmapImageRep, adding 1 to spp and with hasAlpha:YES. - I have created a new image and set its representation with useRepresentation:myBitmapImageRep - then I have grabbed data from the oldImage, and have copied it to data of the newImage, interleaving it with one byte of "alpha" value, something like *newData++ = *oldData++ ; *newData++ = alpha ; I have used "alpha" set to 0xaf. Then the ButtonCell got the newImage with alpha, and one could see the changes of the background color. I hoped that using [myImageRep setAlpha:YES] is automatically adding an alpha component to the image data, but I could not convince myself that it is really the case. On the other hand I did not find any simple way to set the "alpha" for all image pixels to selected "alpha" value. I think, that to cause the ButtonCell to show its state by highlighting its image can be done better by setting the image in an original form and adding an alternate image with modified colors. If anyone has better idea of highlighting of ButtonCell, please give me a link. -Z.
From: mbehrens@cs.utexas.edu (Mikael Behrens) Newsgroups: comp.sys.next.programmer Subject: modal sessions and submenus Message-ID: <87284@ut-emx.uucp> Date: 6 Apr 93 03:37:43 GMT Sender: news@ut-emx.uucp Distribution: usa Greetings folks. In the project I'm working on this semester, at one point I'm running a modal session with a submenu as its window. This seems to work fine as long as the submenu is already displayed when the session starts. If it's not, weird things happen that ususally end with the program crashing leaving this messag in the console: Apr 5 21:05:18 scout CApp[756]: Assertion failed: Unlocking Focus on wrong View So what I want to do is display the submenu programmatically before the modal session starts. I've tried using the submenuAction: method, but it gives similar problems. Here's the relevant chunk of code: [runningMenu submenuAction: self]; [NXApp beginModalSession:&session for:runningMenu]; for (i=initialValue; i<=toRun; i++) { if ([NXApp runModalSession:&session] != NX_RUNCONTINUES) break; /* Execute the cellular automaton for one generation */ [ruleSet progress:[del arena]]; [arena alreadyRun:i]; /* Update arenaView only if display flag set */ if ([arena displaying]) [[del arenaView]display]; /* Update inspector */ if (inspector != nil) [[inspector delegate]revert:self]; } [NXApp endModalSession:&session]; Is there an easy way to do this? Please respond via email. My newshost is very unreliable. Thanks, Mikael -- Mikael Behrens mbehrens@cs.utexas.edu (NeXTMail OK) Computer Science student University of Texas at Austin "They had bigger firearms than we had." -- BATF spokesperson on the recent unpleasantness in Waco
From: michael@wft.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: Has anyone compiled GZIP on the NeXT Date: 2 Apr 1993 17:48:52 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1phua4$2cn@tricky.wft.stack.urc.tue.nl> References: <C4rxC1.FG@ursidae.demon.co.uk> In article <C4rxC1.FG@ursidae.demon.co.uk> tim@ursidae.demon.co.uk (Tim Bissell) writes: > Subject line says it all really; does anyone know > what combination of cc flags and/or source hacks allow > gzip 1.07 from the FSF to be compiled on the NeXT? I did CC=cc CFLAGS=-O2 LDFLAGS=-s sh configure; make install which worked find for gzip-1.0.7. Michael
Newsgroups: comp.sys.next.programmer,anl.next.prog From: olson@mcs.anl.gov (Bob Olson) Subject: Re: Using defaultsChanged and public window server Message-ID: <C52EII.Ip8@mcs.anl.gov> Followup-To: comp.sys.next.programmer Sender: usenet@mcs.anl.gov Organization: Argonne National Laboratory, Argonne, Illinois References: <9304050841.AA10248@flexus> Date: Tue, 6 Apr 1993 13:51:53 GMT It turns out that the process hierarchy is not the issue. (Under 3.0 PWS isn't a "takes effect at next login" thing). The issue is that the default is only read at login time by loginwindow. Preferences effects the Public Window server change by using the (undocumented) PostScript procedure "setpubliclistener", which takes a boolean argument and changes whether the window server listens for network connections. My thanks to wiml@u.washington.edu for the correct answer. -- Bob Olson -*- olson@mcs.anl.gov -*- Argonne National Laboratory "You can't win a game of chess with an action figure!" --bob&dave
Newsgroups: comp.sys.next.programmer From: pat@biocat1.iit.edu (pathikrit bandyopadhyay) Subject: PostScript with IB Message-ID: <1993Apr6.154451.17371@iitmax.iit.edu> Sender: draughn@iitmax.iit.edu (Mark Draughn) Organization: Illinois Institute of Technology / Academic Computing Center Date: Tue, 6 Apr 93 15:44:51 GMT i have some questions about using postscript with ib: i am trying to print the value of a variable in the window using PSshow. it does print it but it is upside down. could somebody help me with this problem, or if this is not the right group for this question, suggest who to ask. thanks.
From: sears@tree.egr.uh.edu (Paul S. Sears) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.bugs Subject: Bug in Newsgrazer version 72.3? Date: 6 Apr 1993 16:52:22 GMT Organization: University of Houston Message-ID: <1pscg6$hoi@menudo.uh.edu> Newsgrazer Release 2.0, version 72.3 We are having problems with NewsGrazer. It suddenly quits at random times. If run from the shell window, it returns: "buss error" so I decided to run it via gdb. It seems to crash consistantly with a memory exception error (same address). Anyone else have this problem?? My gdb sessom is below: thanatos> gdb NewsGrazer Reading symbol data from NewsGrazer... (no debugging symbols found)...done. Reading symbol data from /usr/shlib/libNeXT_s.C.shlib...done. Reading symbol data from /usr/shlib/libsys_s.B.shlib...done. (gdb) run Starting program: /NeXTMount2/PublicApps/NewsGrazer.app/NewsGrazer Program generated(1): Memory access exception on address 0xb4a21f8 (invalid address). 0x6060000 in DPSAddFD () (gdb) info program Using the running image of child process 1708. Program stopped at 0x6060000. (gdb) info regi Register Contents (relative to selected stack frame) d0 0x200000 2097152 d1 0x15 21 d2 0x1d1c1a1 30523809 d3 0x3a383435 976761909 d4 0xffffffff -1 d5 0xe69 3689 d6 0xe69 3689 d7 0xffffffff -1 a0 0x4031b74 67312500 a1 0x7615c 483676 a2 0x1d0190 1900944 a3 0x6e35c 451420 a4 0x5002d8c 83897740 a5 0x1a86c8 1738440 fp 0x3ffde50 0x3ffde50 sp 0x3ffde3c 0x3ffde3c ps 0x0 0 pc 0x6060000 0x6060000 fp0 251536.34304000001 (raw 0x40100000fffffff5ffffffa415fffffff45e0b4e12) fp1 2428239930 (raw 0x401e0000ffffff90ffffffbc003a00000000) fp2 251536.34304000001 (raw 0x40100000fffffff5ffffffa415fffffff45e0b5000) fp3 +Infinity (raw 0x7fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffff) fp4 +Infinity (raw 0x7fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffff) fp5 +Infinity (raw 0x7fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffff) fp6 +Infinity (raw 0x7fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffff) fp7 +Infinity (raw 0x7fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffff) fpcontrol 0x0 0 fpstatus 0x88 136 fpiaddr 0x6020cc4 100797636 (gdb) info stack #0 0x6060000 in DPSAddFD () #1 0x144ce in ?? () #2 0x5df6 in ?? () #3 0x59a8 in ?? () #4 0x5424 in ?? () #5 0x54ea in ?? () #6 0x6020cd0 in checkTEs () #7 0x601c344 in _DPSGetOrPeekEvent () #8 0x601d726 in NXGetOrPeekEvent () #9 0x602e47e in -[Application run] () #10 0x11706 in ?? () -- Paul S. Sears * sears@uh.edu (NeXT Mail OK) The University of Houston * suggestions@tree.egr.uh.edu (NeXT Engineering Computing Center * comments, complaints, questions) NeXT System Administration * DoD#1967 '83 NightHawk 650SC >>> SSI Diving Certification #755020059 <<< "Programming is like sex: One mistake and you support it a lifetime."
Newsgroups: comp.sys.next.programmer From: herring@iesd.auc.dk (B. Erickson Herring) Subject: Re: MAXPATHLEN vs. MAXPATHLEN+1 In-Reply-To: fischer@iesd.auc.dk's message of 05 Apr 1993 22:56:41 GMT Message-ID: <HERRING.93Apr6184919@fermat.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1993Mar31.124249.16349@itr.ch> <FISCHER.93Apr5235641@thor.iesd.auc.dk> Date: 06 Apr 1993 17:49:19 GMT Haer Fischer is: fischer@iesd.auc.dk (Lars Peter Fischer) Lars, in his normal laconic manner, says: Haer Fischer> * MAXPATHLEN defines the longest permissable path Haer Fischer> length, * including the terminating null, after Haer Fischer> expanding symbolic links. Haer Fischer> Haer Fischer> in /usr/include/sys/param.h. Since a lot of programs Haer Fischer> depend on this it wouldn't bee too clever for Mach to Haer Fischer> have changed this. Haer Fischer> Haer Fischer> I don't have a POSIX reference handy. In this, at least, it seems that NeXT was anticipating POSIX. POSIX defines PATH_MAX and/or pathconf(). If PATH_MAX is used, it does NOT account for the trailing NULL. MAXPATHLEN is actually correct in 4.[23]BSD, though vast numbers of programs chose not to use it, relying instead on hardcoded limits or BUFSIZ. I dunno why. Orneriness, perhaps. The safe course, of course, is to add the NULL -- two NULLs is the same as one to the string handling functions, and it's only one byte... Erick :-) -- ----- Erick Herring | Computation is the art of carefully throwing NeXT Salg og Teknik | away information [and] Life is the art of Polyteknisk Data, | carefully throwing away opportunities, an Lyngby, Danmark | interesting coincidental parallel. herring@pd.dth.dk | - Guy L. Steele Jr.
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: OK, OK, compiling gzip 1.07 on the NeXT Organization: Primitive Software Ltd. References: <C4z6H8.9t@ursidae.demon.co.uk> <1pq1i5$pl@tricky.wft.stack.urc.tue.nl> Date: Tue, 6 Apr 1993 09:22:13 +0000 Message-ID: <1993Apr6.092213.1959@prim> Sender: usenet@demon.co.uk In article <1pq1i5$pl@tricky.wft.stack.urc.tue.nl> michael@wft.stack.urc.tue.nl (Michael Brouwer) writes: >In article <C4z6H8.9t@ursidae.demon.co.uk> tim@ursidae.demon.co.uk (Tim >Bissell) writes: >> that on 3.0 you just ./configure it and it goes. I am not, however, >> running 3.0, and so it is time to track it a little further and >> send a bug report to NeXT. > >Id say it's time to upgrade to 3.0. You don't believe everything people on the >net say do you? 3.0 is just as robust as 2.2. There are only some *new* >features that don't work perfectly yet. No reason not to install 3.0. > Tim forgot to mention that he is running a 3.1 pre-release. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: pat@biocat1.iit.edu (pathikrit bandyopadhyay) Subject: Re: PostScript with IB (RTF) Message-ID: <1993Apr6.182638.19110@iitmax.iit.edu> Sender: draughn@iitmax.iit.edu (Mark Draughn) Organization: Illinois Institute of Technology / Academic Computing Center Date: Tue, 6 Apr 93 18:26:38 GMT i got some response to my query. thanks guys, but this did not solve my problem exactly. let me restate the problem and make it more clear. i CAN print on my window with PSshow when i do PSshow("hi") it prints hi. but if i try to print PSshow(message) where message is a vraiable with the value "hi" and it prints it upside down. i am trying to draw graph using PostScript and i have to label the axes i they can be anything, so i have to use a variable, my question is is there a way of doing it ? also, what if i want to put some variable of type float or int ? thanks.
Newsgroups: comp.sys.next.programmer From: ivor@cs.mcgill.ca (Ivo ROTHSCHILD) Subject: Re: Forcing TextField to upper case Message-ID: <C52xpu.7sL@cs.mcgill.ca> Sender: news@cs.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1993Mar31.210820.28851@magnus.acs.ohio-state.edu> <1168@rtbrain.rightbrain.com> Date: Tue, 6 Apr 1993 20:46:41 GMT In article <1168@rtbrain.rightbrain.com> glenn@rightbrain.com writes: >Jeff Schluep writes >> >> I would like to be able to force lower case characters typed into a >> textfield to appear as upper case. It looks like I can capture keydown >events >> to do this but I am not sure what to do afterwards. > > > event = [NXApp currentEvent]; > ch = event->data.charCode; > > if ( isascii(ch) && isalpha(ch) && islower(ch) ) { > ch = toupper(ch); > [myObject dealWith:ch]; This is ok as long as you don't call [super keyDown:]. If you do, it will not work in the cases when the user types very quickly. I assume this is because the Text object's keyDown checks for more keyDown events before returning. In order to look at all characters typed, you should implement a textFilter. -ivo
From: gobbi@snark.aero.org (Michael Gobbi) Newsgroups: comp.sys.next.programmer Subject: Objective C mode Date: 7 Apr 1993 00:03:58 GMT Organization: The Aerospace Corporation, El Segundo, CA Message-ID: <1pt5peINNfmo@news.aero.org> I am trying to get objective-C-mode.el to work on emacs. Unfortunately there are some problems. I put in my .emacs file: autoload 'objective-C-mode "/u/gobbi/emacs/objective-C-mode" "Objective-C mode" t) (setq auto-mode-alist (append '(("\\.h$" . objective-C-mode) ("\\.m$" . objective-C-mode)) auto-mode-alist)) I did not change anything in the objective-C-mode.el file. When I try to load a .m file the status line prints out the error: File mode specification error: (void-variable /*), and goes into Fundamental mode. So what am I doing wrong. Michael Gobbi gobbi@aero.org
Newsgroups: comp.sys.next.programmer From: shin@nop.han.de (Hoen-oh Shin) Subject: Allegro Common Lisp 3.1.20 and NS 3.0 Message-ID: <1993Apr6.211904.935@nop.han.de> Sender: shin@nop.han.de Organization: Hoen-oh Shin, Hannover, Germany [IN] Date: Tue, 6 Apr 93 21:19:04 GMT Dear netters, i ve lost my copy of B. Vrotney s recipe for fixing ACL 3.1.20 to work with NS 3.0. Would someone be so kind to repost it or to mail me? Thanks!
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.graphics From: bagchi@oosik.sprl.umich.edu (Ranjan Bagchi) Subject: OFF software needed quick! Message-ID: <1993Apr7.061204.3582@zip.eecs.umich.edu> Sender: news@zip.eecs.umich.edu (Mr. News) Organization: University of Michigan EECS Dept., Ann Arbor, MI Date: Wed, 7 Apr 1993 06:12:04 GMT Help! I need some software which will process OFF object files to either a) Bring up the object in at least wireframe b) Convert to a RenderMan .rib file NeXT binaries can be mailed to me, if you've got 'em on hand, or I'll compile the necessary code. Thanks everyone! -rj -- Ranjan Bagchi bagchi@oosik.sprl.umich.edu o o oooo ooo o o oooooooo NeXTMail accepted here! oo oooo o oo ooooo oo oo o o oooo ooo o o oooooooo
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: Cross compiling to the 486 Message-ID: <1993Apr7.040347.4847@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> Date: Wed, 7 Apr 1993 04:03:47 GMT In article <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> (slugg jello) writes: > Anybody know whether with NeXTSTEP 3.1 we'll be able to use our Motorola NeXT > hardware to cross-compile for the 486 NeXTSTEP environment? > > Thanks. > -- > Doug Kent > Mouthing Flowers, Inc. > slugg@mouthers.wa.com Yes. -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-3344 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: Q: READEXTENDED & sd - SCSI disk device driver Message-ID: <C53xJE.9C@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA Date: Wed, 7 Apr 1993 09:40:26 GMT I am writing routines to access a foreign filesystem using the low-level SCSI driver at /dev/sg0. Everything was working great until I decided to use the 10-byte C10OP_READEXTENDED command. I am experiencing a very strange problem where requesting any more than 128 contiguous blocks results in an aborted command. This makes READEXTENDED pretty useless, since the whole point of the 10 byte command is to allow for more than 256 consecutive blocks to be read with one call. I am hoping that someone has successfully issued the READEXTENDED command from a NeXT SCSI program and can lend advice. The problem does not appear to be drive-specific. I have run the same program with a Quantum ELS-170S (170 MB @ 512 byte sectors) drive and a Seagate ST1480N (NeXT's 420 MB @ 1024 byte sectors) drive. Both drives successfully read between 1 and 128 blocks, but the driver cannot read more than 128 blocks. I am also surprised that the changeover occurs at 0x81 instead of 0x80, but since I have no idea what the cause is, I suppose at can't hope to guess at the significance of the value. I have the SCSI implementation manuals for both drives, including the official ANSI SCSI specification, and I have been referencing them all. The Quantum ELS-170S returns the following: SCSI Command: 28 00 00 00 00 00 00 00 81 00 sr_io_status = 0xC "target aborted command" SCSI status = 00H "Good:Command Successfully Completed" Sense key = 0x0, Additional = 0x0 The Seagate ST1480N returns the following: SCSI Command: 28 00 00 00 00 00 00 00 81 00 sr_io_status = 0xC "target aborted command" SCSI status = 00H "Good:Command Successfully Completed" Sense key = 0x6, Additional = 0x29 Sense of 6 means "Unit Attention" Additional Code of 0x29 means "Power On, Reset, Or Bus Device Reset Occurred" P.S. One of my assumptions is that there is no way to write a new filesystem for the NeXT and install it along with the CD-ROM, DOS and Macintosh filesystems. If I am wrong, please feel free to point out how I can find out about writing a filesystem. thanks in advance, -- Brian Willoughby Software Design Engineer, BSEE NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA
Newsgroups: comp.sys.next.programmer Subject: help with local libraries and PB Message-ID: <1993Apr7.093207.6426@urz.unibas.ch> From: frank@ifi.unibas.ch (Robert Frank) Date: Wed, 7 Apr 1993 09:32:07 GMT Sender: news@urz.unibas.ch (USENET News System) Organization: Institut fuer Informatik I'm stumped! In one of my projects I use a locally created and stored library with the full file name libxxx.a. When I first created the project, I entered the librarly using PG to the list of libraries used. Everything worked fine until I created a new version of the library. I used ranlib to update the new library but when I tell PB to create the binary, it complains that libxxx.a cannot be found. If I manually cc -O -L. ... then everything is ok, because of the -L.. Why could PB find the libaray when I created the project, but now, after updating the libray, it claims not to be able to locate the library? I have changed nothing else in the meantime! Thanks for any repsonses. -- Robert Frank tel. + (061) 321 99 67 Institut fuer Informatik fax + (061) 321 99 15 University of Basel, Switzerland Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT mail accepted) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch ( if all fails try frank@urz.unibas.ch )
From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: comp.sys.next.programmer Subject: Changing cursor color.... Date: Wed, 7 Apr 1993 10:00:33 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Message-ID: <wfkhu1G00iMS0GrVZj@andrew.cmu.edu> I would like to change the cursor color in a terminal application... for example, the Gnu-Emacs front-end. Can this be done? for that matter, what is a good PostScript reference for a NeXTstep programmer? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | NeXTStep | This message represents| | or jm7e+@andrew.cmu.edu | Software | my opinions, alone. | |FAST Laboratory, CMU-GSIA |------------| Thank you, Mask Man. | | B.S. Mech Eng. CMU,1992| Certificate Mixology,1992 |No NeXTMail, yet | ----------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: jack@atc-gwy.uucp (Jack "Big Daddy" Tolson) Subject: Scanner & Fax Organization: Advance Technology Consultants, Atlanta, GA Date: Tue, 06 Apr 1993 15:22:00 GMT Message-ID: <1993Apr06.152200.22064@atc-usa.com> Sender: jack@atc-usa.com (Jack "Big Daddy" Tolson) Hello you NeXT Netters, I am new to this NeXT world but am liking it so far. I am tring to write an application that uses scanned in images but do not know of a software package that will do this on the NeXT. Is there a software package that will allow me to have some control as a programmer, using an API or a scanner object. I know I can make an application a service but I will not have any control. I need the ability to create the file name for the scanned image. Another question is about faxing. I know NeXT talk highly about its fax capability but what modems does it support? Is there a fax object? When a fax comes in, how does the machine handle this? And the $100,000 question is, are these products ported to the NeXTSTEP/486? Send comment and answers to: jack@atc-usa.com
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: MAXPATHLEN vs. MAXPATHLEN+1 Message-ID: <1993Apr7.130652.1384@afs.com> Sender: Michael_Pizolato@afs.com References: <HERRING.93Apr6184919@fermat.iesd.auc.dk> Date: Wed, 7 Apr 1993 13:06:52 GMT In article <HERRING.93Apr6184919@fermat.iesd.auc.dk> herring@iesd.auc.dk (B. Erickson Herring) writes: > In this, at least, it seems that NeXT was anticipating POSIX. POSIX > defines PATH_MAX and/or pathconf(). If PATH_MAX is used, it does NOT > account for the trailing NULL. > > MAXPATHLEN is actually correct in 4.[23]BSD, though vast numbers of > programs chose not to use it, relying instead on hardcoded limits or > BUFSIZ. I dunno why. Orneriness, perhaps. The safe course, of > course, is to add the NULL -- two NULLs is the same as one to the > string handling functions, and it's only one byte... Ah, but is it only one byte? If, as on NeXT, MAXPATHLEN is 1024, and memory is allocated in 1K chunks (a likely scenario), that one extra byte is going to double your memory usage for every string allocated to MAXPATHLEN + 1, and waste 1023 bytes. Michael -- Michael_Pizolato@afs.com If you can't control your peanut ~18 kyu butter, how can you expect to Q16 control the rest of your life? NeXTMail appreciated - Calvin
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: tmpnam() under NS2.1 does not work!? Message-ID: <1993Apr5.160433.1306@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1584@rc1.vub.ac.be> Date: Mon, 5 Apr 1993 16:04:33 GMT In article <1584@rc1.vub.ac.be> jweimar@ulb.ac.be (Joerg Richard Weimar) writes: > I found that the function tmpnam() does not work under > NeXTStep 2.1 Could somebody with NS3.0 check whether it > works there? Maybe that would be one reason for > upgrading. Why not just use NXGetTempFilename() and not worry about it? Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: Cross compiling to the 486 Message-ID: <1993Apr6.161638.3977@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> Date: Tue, 6 Apr 1993 16:16:38 GMT In article <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> (slugg jello) writes: > Anybody know whether with NeXTSTEP 3.1 we'll be able to > use our Motorola NeXT hardware to cross-compile for the > 486 NeXTSTEP environment? Yes, you can. -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: Cross compiling to the 486 Message-ID: <1993Apr6.184145.23078@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> Distribution: na Date: Tue, 6 Apr 93 18:41:45 GMT In article <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> (slugg jello) writes: > Anybody know whether with NeXTSTEP 3.1 we'll be able to use our Motorola NeXT > hardware to cross-compile for the 486 NeXTSTEP environment? > Acording to the documentation, yes you can. Haven't tried it yet though. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: inter-app communication Message-ID: <1993Apr6.184226.23137@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <118374@netnews.upenn.edu> Distribution: na Date: Tue, 6 Apr 93 18:42:26 GMT In article <118374@netnews.upenn.edu> hafken@eniac.seas.upenn.edu (David Hafken) writes: > I am trying to have two applications on different hosts communicate using > the speaker & listener classes. Everything works fine when the two apps > are on the same host, but when they are on different ones, it seems that > one app can't find the port address of the other. > I am using the line: > port_t thePort = NXPortFromName("SomeApp", "SomeAppsHostName"); > to obtain the port. As I said, this code works when both apps run on the > same host (and I use that name as the host name, not NULL which by default > looks to the same host), but it doesn't work when they are on different hosts. > Am I missing something here? Possibly some sort of code to obtain permission > to communicate with another host? Do yourself a favor and drop Speaker/Listener. Use Distributed Objects. They work so much better. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: NXMapFile smpl code please Message-ID: <1993Apr6.184553.23267@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <1993Apr5.035648.426@pyrian.com> Distribution: na Date: Tue, 6 Apr 93 18:45:53 GMT In article <1993Apr5.035648.426@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: > I am looking for sample code that uses NXMapFile > WITHOUT using open or save panels. I am new > to programming and am having lots of trouble with my > file management. > NXStream *openfile(char *filename) { return NXMapFile(filename, NX_READWRITE); } -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Another bundle of suggestions for NeXT Organization: Primitive Software Ltd. Date: Wed, 7 Apr 1993 10:01:57 +0000 Message-ID: <1993Apr7.100157.5026@prim> Sender: usenet@demon.co.uk We could do with a more formal way of finding out what's in a bundle without loading it's executable. The way the Workspace manager does it seems pretty kludgy, involving a bundle.registry file (which has a non-NXStringTable format) which is plonked into the __ICON segment and has to be read from there by god knows what. I plan to get round this by subclassing NXBundle to read a "components" file which lists the names of further files each of which contains an NXStringTable describing that particular component in more detail. The bundle will then return a list of component objects each of which will be a subclass of NXStringTable. But it would be nice to have a standard mechanism for this with support for editing it in Project Builder. Tell you what, how about making Project Builder itself extensible? (Got loads more helpful ideas if you've got any free time on your hands. ;-) Dave Griffiths
Newsgroups: comp.sys.next.programmer From: Benoit Grange <Benoit_Grange@gateway.qm.apple.com> Subject: Re: Has anyone compiled GZIP on the NeXT Sender: news@gallant.apple.com Message-ID: <1993Apr6.131301.27700@gallant.apple.com> Date: Tue, 6 Apr 1993 13:13:01 GMT References: <C4rxC1.FG@ursidae.demon.co.uk> <1phua4$2cn@tricky.wft.stack.urc.tue.nl> Organization: Apple Europe In article <CEDMAN.93Apr2075101@capitalist.princeton.edu> Carl Edman, cedman@princeton.edu writes: > A truly dedicated high-level hacker will also make the following > changes to the Makefile generated by configure to achieve better > performance but this is not necessary. > > Change CC to "cc -pipe -O2" > Add "-s -object" to LDFLAGS In the documentation of gzip 1.03 you can find some text saying : "Do not use optimizer on NeXT, it is broken". They also mention that it will not break your compressed files, but they will be longer than expected. Can anyone confirm this ? Benoit.
From: kwang@data.acs.calpoly.edu (Kevin John Wang) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: NetInfo Keywords: ni_list() Message-ID: <1993Apr07.193003.199585@zeus.calpoly.edu> Date: 7 Apr 93 19:30:03 GMT Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo We recently shifted our domain from / /<clients> to a 3-tier domain: / /network /network/<clients> However, several of our utilities use the ni_list() function call and now none of them work. they simply "stop" or come up with incomplete entries. Here's how we moved the users: echo greg niutil -create / /users/greg niutil -createprop / /users/greg realname "Greg Junell" niutil -createprop / /users/greg ssn niutil -createprop / /users/greg department niutil -createprop / /users/greg diskquota 4000 niutil -createprop / /users/greg uid 1015 niutil -createprop / /users/greg gid 400 niutil -createprop / /users/greg advisor niutil -createprop / /users/greg passwd 0g1.UusYleFK2 niutil -createprop / /users/greg home /home/data/u2/greg niutil -createprop / /users/greg shell /usr/local/bin/tcsh niutil -createprop / /users/greg _writers_passwd greg niutil -create / /users/greg/info niutil -createprop / /users/greg/info _writers greg and ever since, our code now outputs: 1:shorio:ShigenoriHorio:None:None:3000:1169:374:None:2zP5AOb10C/cM:/data/h ome/u4/shorio:/usr/local/bin/tcsh 2:mdeale:RussTheStuddTeasdale:=:=:=:647:371:=:qWcnQ9neDPsEw:/home/data/u3/ mdeale:/bin/csh 3:greg:AdamPeterWozniak:=:=:=:13431:371:=:mrbJBjb3qO3Cg:/home/data/u2/greg :/usr/local/bin/tcsh 4:derickso:LeongDavid:=:=:=:858:371:=:.W9TkNhDkzv52:/home/data/u2/derickso :/bin/csh .. 109:nfang:=:-:=:=:=:=:-:=:/home/data/u3/jgoodwin:/usr/local/bin/tcsh 110:rteasdal:=:=:=:=:=:=:=:=:/home/data/u4/nfang:/usr/local/bin/tcsh 111:awozniak:=:=:=:=:=:=:=:=:/home/data/u2/awozniak:/usr/local/bin/tcsh as you can see, for some reason, rteasdal's name is the only one that shows up between mdeal and rteasdal... and there is no "error" from ni_error... nor is there an "empty" notification. the - indicates that there is no field by that name, in this case, it's the "advisor" field. and the = indicates that the "ni_listlen" is shorter than the array offset... help? - Kevin Wang
From: marcel@cs.tu-berlin.de (Marcel Weiher) Newsgroups: comp.sys.next.programmer Subject: Re: Q: READEXTENDED & sd - SCSI disk device driver Date: 7 Apr 1993 20:07:37 GMT Organization: Technical University of Berlin, Germany Message-ID: <1pvca9$7v7@news.cs.tu-berlin.de> References: <C53xJE.9C@sounds.wa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit BrianW@SoundS.WA.com (Brian Willoughby) writes: >I am writing routines to access a foreign filesystem using the low-level SCSI >driver at /dev/sg0. Everything was working great until I decided to use the >10-byte C10OP_READEXTENDED command. I am experiencing a very strange problem >where requesting any more than 128 contiguous blocks results in an aborted >command. This makes READEXTENDED pretty useless, since the whole point of the >10 byte command is to allow for more than 256 consecutive blocks to be read >with one call. NeXT's generic SCSI driver is limited to 64 Kilobytes per call/transaction. I consider this a bug (it's a 'feature' and it still (!) isn't documented). Regards, Marcel
From: scott@nic.gac.edu (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Re: MAXPATHLEN vs. MAXPATHLEN+1 Date: 7 Apr 93 15:33:56 Organization: Is a sign of weakness Message-ID: <SCOTT.93Apr7153356@nic.gac.edu> References: <HERRING.93Apr6184919@fermat.iesd.auc.dk> <1993Apr7.130652.1384@afs.com> In-reply-to: Michael_Pizolato@afs.com's message of Wed, 7 Apr 1993 13:06:52 GMT In article <1993Apr7.130652.1384@afs.com>, Michael_Pizolato@afs.com writes: >In article <HERRING.93Apr6184919@fermat.iesd.auc.dk> > herring@iesd.auc.dk (B. Erickson Herring) writes: >> In this, at least, it seems that NeXT was anticipating POSIX. POSIX >> defines PATH_MAX and/or pathconf(). If PATH_MAX is used, it does NOT >> account for the trailing NULL. >> >> MAXPATHLEN is actually correct in 4.[23]BSD, though vast numbers of >> programs chose not to use it, relying instead on hardcoded limits or >> BUFSIZ. I dunno why. Orneriness, perhaps. The safe course, of >> course, is to add the NULL -- two NULLs is the same as one to the >> string handling functions, and it's only one byte... > >Ah, but is it only one byte? If, as on NeXT, MAXPATHLEN is >1024, and memory is allocated in 1K chunks (a likely >scenario), that one extra byte is going to double your >memory usage for every string allocated to MAXPATHLEN + 1, >and waste 1023 bytes. Actually, having memory allocated in power-of-two blocks is an _unlikely_ scenario, for the very reasons you allude to. If memory were allocated in power-of-two blocks, then the malloc overhead would require malloc to allocate more, but since power-of-two blocks are so easy to organize, that requires extra work. Instead, malloc allocates in good block sizes that _include_ the overhead. The malloc good block sizes around 1024 are 1020 and 1360, so that one byte will make no difference at all for malloced memory, since a 1024 request to malloc results in a 1360 byte allocation. At least in my code, all pathnames are either allocated on the stack, or dynamically allocated to the exact size of the pathname and nul terminator, so it makes no difference to me, anyhow. In my experience, that's how most of these types of things go (ie, anywhere MAXPATHLEN makes a difference, you've probably allocated it on the stack, anyhow). Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Re: Converting a Project from 3.0 to 2.1 Date: 7 Apr 1993 23:18:43 GMT Organization: University of Washington, Seattle Message-ID: <1pvngjINN2js@shelley.u.washington.edu> References: <65735@mimsy.umd.edu> In article <65735@mimsy.umd.edu> sib@carmi.cs.umd.edu (Scott Blanksteen) writes: >Hi all! > Now that I've got my App working, how hard will it be to convert >it to run under 2.1? I don't think I've used anything 3.0-specific in >terms of the class hierarchy, but all of the .nib files were generated >under 3.0. Am I in for a hard time, or is it mostly a recompile on the 2.1 >system? > Please post replies, as I imagine this is of interest (unless it's >an RTFMer, but I couldn't find it.) > Thanks, > Scott the basic problem here is that the nib format has changed, so if you've used any nibs you're probably out of luck. My best suggestion is to get a 2.1 system and move the object sources over and cut-and-paste the windows and recreate the connections. My solution to this obvious problem was to use a 2.1 development system on a 3.0 machine. -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Other NXWorkspaceRequestProtocol problems Date: 7 Apr 1993 23:21:28 GMT Organization: Abstract Software Message-ID: <1pvnloINN3ac@shelley.u.washington.edu> Has anyone gotten the Application delegate app: fileOperationDidComplete: to work? I've got my delegate set up with the correct method (I know the delegate works because I receive device status changes via the app delegate) but no dice on the fileOperationDidComplete. If this isn't working, does anyone have any sort of workaround? I'd rather not go to the unix level to do workspace file operations. -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Re: Finding Cells in a Text object Date: 7 Apr 1993 23:23:49 GMT Organization: University of Washington, Seattle Message-ID: <1pvnq5INN3ge@shelley.u.washington.edu> References: <1993Mar26.101732.7658@prim> <1167@rtbrain.rightbrain.com> In article <1167@rtbrain.rightbrain.com> glenn@rightbrain.com writes: >Dave Griffiths writes > >There should be several Text objects, or at least several subclasses. >The Text object as it stands is fine for the titles on buttons and in >scrolling lists and menus, but totally inadequate for other purposes. > >They never even implemented the NX_JUSTIFIED tag (you can make a text >block left-, center-, or right-justified, but not fully justified). > >Not to mention the lack of spacing (letter-, word-, or line-spacing) >options, inability to hyphenate, no support for zoom, rotation, >figuring out pagination or page breaks, or searching for cells that >are embedded in a Text object :-) > >Double Sigh. > >-- > Glenn Reid NeXTmail: glenn@rightbrain.com > RightBrain Software 415-326-2974 (NeXTfax 326-2977) > Palo Alto, California Electronic Frontier Foundation, member #054 So how about releasing the one used for PasteUp? -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
From: zenon@resonex.com (Zenon Fortuna) Newsgroups: comp.sys.next.programmer Subject: Re: Changing cursor color.... Message-ID: <1993Apr7.153408.9790@resonex.com> Date: 7 Apr 93 15:34:08 GMT References: <wfkhu1G00iMS0GrVZj@andrew.cmu.edu> Organization: Resonex Inc., Fremont CA In article <wfkhu1G00iMS0GrVZj@andrew.cmu.edu> "Jeremy G. Mereness" <zonker+@CMU.EDU> writes: > > >I would like to change the cursor color in a terminal application... for >example, the Gnu-Emacs front-end. Can this be done? I needed the same information, but I did not find any changing-color message. So, I have created a TIFF file with a colored arrow and substituted the cursor with that. If you would like to change the shape of the cursor, it is necessary to put alpha (transparency) value into regions which should be visible. Zenon.
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: PostScript with IB Message-ID: <1993Apr7.120444.12384@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Apr6.154451.17371@iitmax.iit.edu> Date: Wed, 7 Apr 93 12:04:44 GMT In article <1993Apr6.154451.17371@iitmax.iit.edu> pat@biocat1.iit.edu (pathikrit bandyopadhyay) writes: > i have some questions about using postscript with ib: i am trying to print > the value of a variable in the window using PSshow. it does print it but > it is upside down. could somebody help me with this problem, or if this is > not the right group for this question, suggest who to ask. > thanks. There are two types of coordinates in display PostScript. Normal and Inverted. Most text views are inverted to allow 0,0 to be the top left and 0,n to be the bottom left. Thus text display uses increasing coordinates for each line. You need to request a font with the proper orientation. Look at the methods in the class Font or FontManager (I forget which one - I just cut and past from working code these days). -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: ried@northstar.com (A Ried Thiel) Subject: SYBASE, NeXT and OS/2 Message-ID: <C54tEs.GzK@northstar.com> Sender: usenet@northstar.com (usenet) Organization: NorthStar Technologies, Inc. Date: Wed, 7 Apr 1993 21:08:52 GMT We currently write an application that uses SYABSE as the database server. Since we are afraid that SYBASE is not going to port to NeXTSTEP for Intel we were wondering if it is possible to use OS/2 as the SYBASE server with NeXTSTEP clients. We know that we could use a Sun or other UNIX machine as the server but I have been asked to look into the possibility of using OS/2. If it is possible is there anything else we need to buy for OS/2? Also any information about whether or not SYBASE is going to port or not would be great. Thanks. --- Ried Thiel NeXTMail ried@NorthStar.com NorthStar Technologies, Inc. 15 Maiden Lane Suite 803 New York NY 10038 212-267-4100 X-160
Message-ID: <%}$@byu.edu> Date: Wed, 7 Apr 93 20:25:42 MDT From: yackd@idaho.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world References: <1993Apr7.093207.6426@urz.unibas.ch> Organization: Brigham Young University, Provo UT USA Subject: Re: help with local libraries and PB In article <1993Apr7.093207.6426@urz.unibas.ch>, frank@ifi.unibas.ch (Robert Frank) writes: >I'm stumped! > >In one of my projects I use a locally created and stored library with the full >file name libxxx.a. When I first created the project, I entered the librarly >using PG to the list of libraries used. > >Everything worked fine until I created a new version of the library. I used >ranlib to update the new library but when I tell PB to create the binary, it >complains that libxxx.a cannot be found. > >If I manually cc -O -L. ... then everything is ok, because of the -L.. > >Why could PB find the libaray when I created the project, but now, after >updating the libray, it claims not to be able to locate the library? > >I have changed nothing else in the meantime! This reminds me of a bug in Project Builder...if you use enough libraries, the line in the Makefile gets long enough that PB wraps it around...and it _always_ places the escaped return character between the "-L" and the library's name, which will cause the link to bomb every time, due to a spurious ' ' that gets inserted in there! :-( The only solution I know of is to edit by hand the Makefile. (Ironic that the comments in it tell you to _not_ do that. :) My apps (and any gamekit apps, for that matter) won't compile if I don't...) Is this going to be fixed in 3.1? It should be trivial to fix, and I'd consider it a _major_ embarassment that it ever made it into the release! I guess folks don't use lots of libraries at once...like my games do...and so it wasn't discovered. Anyway, it's a pain in the @#$. Later, Don_Yacktman@byu.edu
From: mcyr@weber.ucsd.edu (Maureen Cyr) Newsgroups: comp.sys.next.programmer Subject: Changed Help folder - now I can't specify new help files in IB Date: 8 Apr 1993 03:57:03 GMT Organization: University of California, San Diego Distribution: world Message-ID: <1q07qf$1m5@network.ucsd.edu> I used Interface Builder's Help Builder to attach help files to some objects, then I changed the directory structure of my Help folder (so that the help files were no longer in the places I originally specified in IB). Now I am unable to specify the new files for my objects since Help Builder will not let you detach the files. Does anyone know what I can do to get rid of all help attachments in IB? Many thanks... - Andy
Newsgroups: comp.sys.next.programmer From: ried@northstar.com (A Ried Thiel) Subject: Did the fax go through? Message-ID: <C54wz4.6xJ@northstar.com> Sender: usenet@northstar.com (usenet) Organization: NorthStar Technologies, Inc. Date: Wed, 7 Apr 1993 22:25:52 GMT In our application we do a lot of faxing to many different clients. We know that if a fax goes through or not by reading mail. We would like to be able to get notification to our program without reading mail. Has anyone done this or know of a way that it could be done? We are using 3.0 with B&W fax software. Thanks --- Ried Thiel NeXTMail ried@NorthStar.com NorthStar Technologies, Inc. 15 Maiden Lane Suite 803 New York NY 10038 212-267-4100 X-160
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Has anyone compiled GZIP on the NeXT In-Reply-To: Benoit Grange's message of Tue, 6 Apr 1993 13:13:01 GMT To: Benoit Grange <Benoit_Grange@gateway.qm.apple.com> Message-ID: <CEDMAN.93Apr7182654@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <C4rxC1.FG@ursidae.demon.co.uk> <1phua4$2cn@tricky.wft.stack.urc.tue.nl> <1993Apr6.131301.27700@gallant.apple.com> Date: Wed, 7 Apr 1993 22:26:54 GMT In article <1993Apr6.131301.27700@gallant.apple.com> Benoit Grange <Benoit_Grange@gateway.qm.apple.com> writes: In article <CEDMAN.93Apr2075101@capitalist.princeton.edu> Carl Edman, cedman@princeton.edu writes: > A truly dedicated high-level hacker will also make the following > changes to the Makefile generated by configure to achieve better > performance but this is not necessary. > > Change CC to "cc -pipe -O2" > Add "-s -object" to LDFLAGS In the documentation of gzip 1.03 you can find some text saying : "Do not use optimizer on NeXT, it is broken". They also mention that it will not break your compressed files, but they will be longer than expected. Can anyone confirm this ? I don't have gzip 1.03 here, but at least in 1.07 there is no such recommendation. The README file explicitly suggests using the optimizer on the NeXT instead of '-finline-functions' which apparently is broken. Also I've gzipped hundreds of megabytes if not gigabytes with -O2 compiled executables without ever experiencing a broken file or one which was not compressed to the degree which I expected from the gzip benchmarks posted here and in other newsgroups. Carl Edman
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Finding out if object is freed? Message-ID: <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> Date: Thu, 8 Apr 1993 04:31:07 GMT Sender: aberno@godel.questor.wimsey.bc.ca This might be a really dense question, but is it possible, given an object ID variable, to find out if the object has been previously freed by some other part of the program? If there is, what sort of overhead is involved? An app I'm working on is becoming a tangle of "notifications" for whenever objects are freed, since there is a lot of interdependency between objects which just can't be worked around. If there is no way to determine this, I would also appreciate hints on how to deal with object A being freed by object B, yet still being referenced by objects C, D, E, etc.... right now, object A maintains a "dependency list" and before it is freed, it "notifies" all the other objects which depend on it. Thanks. -Anthony
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Quickly drawing text. Message-ID: <1993Apr8.043450.17500@godel.questor.wimsey.bc.ca> Date: Thu, 8 Apr 1993 04:34:50 GMT Sender: aberno@godel.questor.wimsey.bc.ca Another question... Part of an app I'm working on involves a simple, arbitrarly large, scrolling spreadsheet. The scrolling behavior is really poor, particularly when there are lots of numbers. Yet Improv scrolls really smoothly, and doesn't seem to hang for any significant period of time when you add huge quantities of text to the spreadsheet. Currently, I use cells to draw each text item in a subclass of ScrollView (inspired by Draw with its ruler mechanism.) Any suggestions on how to improve scrolling? I'd rather not deal with the complications of image caching, but I will if that's the only way. Thanks again. -Anthony
Newsgroups: comp.sys.next.programmer From: garyc@eecs.nwu.edu (Gary I. Chang) Subject: What a BUG!!! Message-ID: <1993Apr8.094717.14421@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Thu, 8 Apr 1993 09:47:17 GMT Hi, For those of you who's doing the programming stuff, I just discovered a severe bug that could happen in your program code too. The bug is on strcpy(). char myAppPath[128], *path; path = [[workspace Application] getApplicationFullPath:"myApp"]; strcpy(myAppPath,path); This works fine until someday when your app is forgotten by workspace. For example,someone installs it and runs it right away before doing the log out and log back in first. path would get NULL from the workspace search.... And then strcpy(....) becomes strcpy(myAppPath,NULL)...... So, you think nothing would be copied into myAppPath???? WRONG!! The program would die without a clue to trace. Gary
Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <1993Apr8.131043.80156@embl-heidelberg.de> From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Date: 8 Apr 93 13:10:42 +0100 References: <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> In article <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> writes: > > This might be a really dense question, but is it possible, given an object > ID variable, to find out if the object has been previously freed by some > other part of the program? If there is, what sort of overhead is involved? > > An app I'm working on is becoming a tangle of "notifications" for whenever > objects are freed, since there is a lot of interdependency between objects > which just can't be worked around. > > If there is no way to determine this, I would also appreciate hints on how > to deal with object A being freed by object B, yet still being referenced > by objects C, D, E, etc.... right now, object A maintains a "dependency > list" and before it is freed, it "notifies" all the other objects which > depend on it. > > Thanks. > > -Anthony A: if (yourObj == nil) // yourObj was freed. It works only if your free method looks like: - free { // Your class specific staff [super free]; } See the doc. for the Object class (-free) georg -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($EN(&%R=&EC;&4@ M/#$Y.3-!<'(X+C`T,S$P-RXQ-S0S.$!G;V1E;"YQ=65S=&]R+G=I;7-E>2YB M8RYC83X@('=R:71E<SI<"CX@7`H^(%1H:7,@;6EG:'0@8F4@82!R96%L;'D@ M9&5N<V4@<75E<W1I;VXL(&)U="!I<R!I="!P;W-S:6)L92P@9VEV96X@86X@ M;V)J96-T("!<"CX@240@=F%R:6%B;&4L('1O(&9I;F0@;W5T(&EF('1H92!O M8FIE8W0@:&%S(&)E96X@<')E=FEO=7-L>2!F<F5E9"!B>2!S;VUE("!<"CX@ M;W1H97(@<&%R="!O9B!T:&4@<')O9W)A;3\@268@=&AE<F4@:7,L('=H870@ M<V]R="!O9B!O=F5R:&5A9"!I<R!I;G9O;'9E9#]<"CX@7`H^($%N(&%P<"!) M)VT@=V]R:VEN9R!O;B!I<R!B96-O;6EN9R!A('1A;F=L92!O9B`B;F]T:69I M8V%T:6]N<R(@9F]R('=H96YE=F5R("!<"CX@;V)J96-T<R!A<F4@9G)E960L M('-I;F-E('1H97)E(&ES(&$@;&]T(&]F(&EN=&5R9&5P96YD96YC>2!B971W M965N(&]B:F5C=',@(%P*/B!W:&EC:"!J=7-T(&-A;B=T(&)E('=O<FME9"!A M<F]U;F0N(%P*/B!<"CX@268@=&AE<F4@:7,@;F\@=V%Y('1O(&1E=&5R;6EN M92!T:&ES+"!)('=O=6QD(&%L<V\@87!P<F5C:6%T92!H:6YT<R!O;B!H;W<@ M(%P*/B!T;R!D96%L('=I=&@@;V)J96-T($$@8F5I;F<@9G)E960@8GD@;V)J M96-T($(L('EE="!S=&EL;"!B96EN9R!R969E<F5N8V5D("!<"CX@8GD@;V)J M96-T<R!#+"!$+"!%+"!E=&,N+BXN(')I9VAT(&YO=RP@;V)J96-T($$@;6%I M;G1A:6YS(&$@(F1E<&5N9&5N8WD@(%P*/B!L:7-T(B!A;F0@8F5F;W)E(&ET M(&ES(&9R965D+"!I="`B;F]T:69I97,B(&%L;"!T:&4@;W1H97(@;V)J96-T M<R!W:&EC:"`@7`H^(&1E<&5N9"!O;B!I="X@7`H^(%P*/B!4:&%N:W,N7`H^ M(%P*/B`M06YT:&]N>5P*7`I!.EP*(&EF("AY;W5R3V)J(#T](&YI;"E<"@DO M+R!Y;W5R3V)J('=A<R!F<F5E9"Y<"EP*270@=V]R:W,@;VYL>2!I9B!Y;W5R M("!F<F5E(&UE=&AO9"!L;V]K<R!L:6ME.EP*+2!F<F5E7`I<>UP*"2\O(%EO M=7(@8VQA<W,@<W!E8VEF:6,@<W1A9F9<"@E;<W5P97(@9G)E95T[7`I<?5P* M7`I3964@=&AE(&1O8RX@9F]R('1H92!/8FIE8W0@8VQA<W,@*"UF<F5E*5P* *7`IG96]R9PI]"F1O `
Newsgroups: comp.sys.next.programmer From: thor@dannug.dk Subject: problem with wrap that returns float-array Message-ID: <C55sFz.ut@dannug.dk> Sender: news@dannug.dk Organization: Danish NeXT-Users group Date: Thu, 8 Apr 1993 09:45:34 GMT Hi, The visibility of an error is inversely proportional to the number of times you have looked at it. Perhaps that's my problem. I'm trying to define a wrap that multiplies two matrices, and returns the result. Here is my wrap: defineps PSWmatmul(float op1[6], op2[6] | float result[6]) op1 op2 matrix concatmatrix result endps I call this wrap as: PSWmatmul(rotMatrix, transMatrix, resultMatrix1); where the arrays are defined as: float rotMatrix[6] = {0, 1, -1, 0, 0, 0}; float transMatrix[6] = {1, 0, 0, 1, 1, 1}; float resultMatrix1[6]; I get no compile-time errors, but when I run the program, I get the following in the console: Apr 8 10:24:22 weide Vectra[1051]: DPS client library error: Invalid tag in returned object, DPSContext 1901e4, data 1590936 I've read the docs for pswrap (several times now...), and according to that I seem to be doing the right thing. Any hints...? Thorbjoern Weidemann (thor@dannug.dk) - NeXTmail welcome
From: heading@signal.dra.hmg.gb (Anthony J.R. Heading) Newsgroups: comp.sys.next.programmer Subject: Is this possible? Date: 8 Apr 1993 14:22:18 +0100 Organization: Defence Research Agency Message-ID: <1q18uaINNbpl@liszt.dra.hmg.gb> I think I'd like to be able to totally override Appkit methods, including those called by existing binaries. Redefining the PageLayout panel, for example. Can this be done? - I'm not at all expert here. Two things have a hopeful feel: obj-c is (as I understand) run-time linked, so incrementally linking more code into an existing application seems possible at least in principle. Secondly, all the Appkit stuff is in a shared library, hence (?) it isn't hard-wired into executables, and the library could be tweaked. This might be hopelessly optimistic, extremely stupid, or perhaps I've missed a straightforward way of accomplishing the sorts of things I want to do. But I might as well ask :-) Anthony Heading ---------------------------------------------------- Defence Research Agency | I like my NeXT, but I'm heading@signal.dra.hmg.gb | buggered if I understand it. ----------------------------------------------------
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: Where is the termios.h Date: 8 Apr 1993 13:56:35 GMT Organization: The University of Maryland, College Park Message-ID: <1q1auj$hmu@ni.umd.edu> References: <1oscnbINN8ne@fbi-news.Informatik.Uni-Dortmund.DE> <1993Mar27.092603.16018@csus.edu> <1pl596$9o4@ni.umd.edu> <7746@blue.cis.pitt.edu> In article <7746@blue.cis.pitt.edu> cjp+@pitt.edu (Casimir J Palowitch) writes: >In article <1pl596$9o4@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >>This code is available "for free" from the Berkeley 4.3 BSD (reno) >>distribution. The modified tty driver concurrently supports the V7 >>TTY ioctl calls as well as the POSIX interface. > >Could someone send this file to me, no NeXTMail, just plain text. I am >trying to port Ephem, the Astronomy program, and this is needed for >terminal I/O. But.. but.. it will do you no good! The header files essentially document an interface to some software service. Having a header file for facilties that are not in the NeXT kernel will just not work. If you don't have a header file, then chances are, you don't have whatever the header file describes. My comment regarding the free availability for the code referred to the fact that the kernel code has already been done, and that NeXT engineers could use it a future version of the NeXT OS to implement POSIX tty drivers, rather than writing code from scratch. The code does you, the end user, no good because you can't rebuild a new kernel for you system. Louis Mamakos
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: tmpnam() under NS2.1 does not work!? Date: 8 Apr 1993 13:58:04 GMT Organization: The University of Maryland, College Park Message-ID: <1q1b1c$hnc@ni.umd.edu> References: <1584@rc1.vub.ac.be> <1993Apr5.160433.1306@metrosoft.com> In article <1993Apr5.160433.1306@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: >In article <1584@rc1.vub.ac.be> jweimar@ulb.ac.be (Joerg Richard >Weimar) writes: >> I found that the function tmpnam() does not work under >> NeXTStep 2.1 Could somebody with NS3.0 check whether it >> works there? Maybe that would be one reason for >> upgrading. > >Why not just use NXGetTempFilename() and not worry about it? Because some of us like to write portable code? If there's no fancy NeXT GUI interface on a program, there's little reason to use NeXT specific features which render it non-portable to other UNIX platforms. Louis Mamakos
Newsgroups: comp.sys.next.programmer From: jturner@liberty.uc.wlu.edu (James M. Turner III) Subject: Works in debug but not when compiled Message-ID: <1993Apr8.141924.27110@liberty.uc.wlu.edu> Date: Thu, 8 Apr 1993 14:19:24 GMT Organization: Washington & Lee University Thanks for all of the reponses. I will post the code that does this w/ in the next day for all who want it. Thanks again. jt
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <1993Apr8.162251.18324@godel.questor.wimsey.bc.ca> Date: Thu, 8 Apr 1993 16:22:51 GMT References: <1993Apr8.131043.80156@embl-heidelberg.de> Sender: aberno@godel.questor.wimsey.bc.ca In article <1993Apr8.131043.80156@embl-heidelberg.de> tuparev@EMBL-Heidelberg.DE (Georg Tuparev) writes: > A: > if (yourObj == nil) > // yourObj was freed. > Uh... no, this is not true. Why would the value of yourObj be any different, if some other object had previously freed yourObj? yourObj would remain a pointer to the object's former location, i.e. it would point into the Great Unknown. Try again. -Anthony
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Other NXWorkspaceRequestProtocol problems Organization: Primitive Software Ltd. References: <1pvnloINN3ac@shelley.u.washington.edu> Date: Thu, 8 Apr 1993 08:20:18 +0000 Message-ID: <1993Apr8.082018.1683@prim> Sender: usenet@demon.co.uk In article <1pvnloINN3ac@shelley.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: >Has anyone gotten the Application delegate app: fileOperationDidComplete: >to work? I've got my delegate set up with the correct method (I know >the delegate works because I receive device status changes via the app >delegate) but no dice on the fileOperationDidComplete. If this isn't >working, does anyone have any sort of workaround? I'd rather not go >to the unix level to do workspace file operations. > When I read your article I tried to look up fileOperationDidComplete in Digital Librarian. It wasn't there, but there was a fileOperationCompleted:. Perhaps you just gave it the wrong name? Dave
From: M_Carling@BlueRose.com (M Carling) Newsgroups: comp.sys.next.programmer Subject: Re: Cross compiling to the 486 Message-ID: <1993Apr6.165950.9894@bluerose.com> Date: 6 Apr 93 16:59:50 GMT References: <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> Sender: m@bluerose.com Distribution: na Organization: Blue Rose Systems, Inc. In article <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> (slugg jello) writes: > Anybody know whether with NeXTSTEP 3.1 we'll be able to use our Motorola > NeXT hardware to cross-compile for the 486 NeXTSTEP environment? At the risk of violating non-disclosure: It just works. M Carling President, Bay Area NeXT Group
From: pakala@sdl.egr.uh.edu (Rama R. Pakala) Newsgroups: comp.sys.next.programmer Subject: Mahoney&Garfinkel program suddenly doesn't run on my system anymore!!? Date: 8 Apr 1993 18:39:31 GMT Organization: University of Houston Message-ID: <1q1rh3$i3m@menudo.uh.edu> hi, I am having a small problem with a program from the book NeXTSTEP Programing by Simon Garfinkel and Micheal Mahoney. I was coming along rather well with learning my NeXTSTEP programing. I had reached chapter 11, and as I usually do, I first ran the program for the chapter from the floppy which came along with the book. It worked fine. Then I started to typed in the code myself, following the steps outlined in the chapter. But now, the program does not work. In case you are not familiar with this program, let me briefly explain what is done. The idea is to have another process (Evaluator) do some parsing and some calculations, taking a string as input from the main process controlled by the Application (MathPaper) and giving back the results of the calculation to MathPaper - this is done by connecting the standard input and outputs of "Evaluator" to pipes, and running Evaluator by using fork() from inside MathPaper. So, when I type "3+9" in a window of "MathPaper", I should get back the answer "12" which is the result of "Evaluator" doing its bit, and outputting 12. When I run this program, I do not get the results. I don't get to see "12" on the screen as expected. The process "Evaluator" is being spawned alright, but its output is not being sent to the right place. Also the window in MathPaper remains non-Editable (it is made non-editable during the call to Evaluator to prevent editing while processing). So I guess that control is not returning to MathPaper from Evaluator. This is strange, for when I run Evaluator seperately it runs without a problem. When I run this program through the debugger, I saw a message "The old exception port is 0x1" during the method to spawn the process. Now, even the original program which came along with the book has the same problem and does not run. I am a novice at piping and forking, etc and am at my wits end trying to figure out why a program which was running just two days ago is not running now. I have not made any changes to the original file (except that I had compressed it when not in use). What could this be happening due to? Any help would be appreciated. Thanks a lot Rama Pakala. -- ******************************************************************************* Rama Pakala, Systems Design Laboratory, Mechanical Engineering Department, University of Houston. "What is so great about Shakespeare", the Owl asked Alice, "all he has done is to string together a set of well known quotations" *******************************************************************************
From: somaiya@csgrad.cs.vt.edu (Sandeep Somaiya) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: C++ on NeXTSTEP - Help Message-ID: <4263@creatures.cs.vt.edu> Date: 8 Apr 93 18:32:37 GMT Sender: usenet@creatures.cs.vt.edu Followup-To: comp.sys.next.programmer Organization: VPI&SU Computer Science Department, Blacksburg, VA Hi, I am new to development on NeXTSTEP. A couple of questions for NeXT developers: (i) How do you compile C++ code on NeXT 2.0/NeXT 3.0; Has someone written any FAQ's or guidelines on it? (ii)If one was able to get code in C++ can it be easily incorporated with the Interface Builder? What are the frequently problems? (iii)Restating the above question:Are all objects to be used with the Interface builder need class definitions in Objective-C or is C++ fine? If so, how do you go about it? Thanx in advance, - Vikram
Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware From: b_brottier@cubx.com Subject: Trapping low level events? Message-ID: <1993Apr8.101213.16006@cubx.fdn.org> Sender: news@cubx.fdn.org Organization: Cub'X Systemes, France. Date: Thu, 8 Apr 1993 10:12:13 GMT The problem I have is to be able, from a background process, to generate events for an Application but without any use of the keyboard or the mouse. The system will then be able to communicate with an application and a user through other user interface devices. So, I have two main questions : How communicate with ev0 event driver ? How intervene in the low level event queue before the WindowServer ? (for instance generate new events such as these comming from the mouse but without manipulate it) Thank you for answering at : Remy ROGACKI EERIE-LPI Parc Scientifique Georges BESSE 30000 NIMES - FRANCE email : rogacki@eerie.fr fax : (33) 66 84 05 06 ---------------------------
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr8.174521.2746@afs.com> Sender: greg@afs.com References: <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> Date: Thu, 8 Apr 1993 17:45:21 GMT In article <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca (Anthony Berno) writes: > > This might be a really dense question, but is it possible, given an > object ID variable, to find out if the object has been previously freed > by some other part of the program? If there is, what sort of overhead is > involved? > > An app I'm working on is becoming a tangle of "notifications" for > whenever objects are freed, since there is a lot of interdependency > between objects which just can't be worked around. > > If there is no way to determine this, I would also appreciate hints on > how to deal with object A being freed by object B, yet still being > referenced by objects C, D, E, etc.... right now, object A maintains a > "dependency list" and before it is freed, it "notifies" all the other > objects which depend on it. You've got the same problem here that any C garbage collector has: how do you find out if any part of a program is still pointing to an area of memory. Without reference counting (which you seem to be doing somewhat), it's well nigh impossible. Since the memory an object once used might get reallocated at any time, it's even statistically possible for a new object to locate itself at exactly the old address and appear (from your point of view) to be the original object. One simple test might be to ask the object if it 'isa' object: BOOL presumablyGood = [object isKindOf:[Object class]]; I don't know whether the free method in the Object class intentionally obscures the isa instance variable, or just frees the malloc. In the latter case, it might still appear to be a good object (using my test above) even if it's been freed. In any event, all bets are off if that block of memory ever gets reused, because there's no way to say what you'll be looking at. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: What a BUG!!! Message-ID: <1993Apr8.175428.2807@afs.com> Sender: greg@afs.com References: <1993Apr8.094717.14421@news.acns.nwu.edu> Date: Thu, 8 Apr 1993 17:54:28 GMT In article <1993Apr8.094717.14421@news.acns.nwu.edu> garyc@eecs.nwu.edu (Gary I. Chang) writes: > For those of you who's doing the programming stuff, I just > discovered a severe bug that could happen in your program code too. > The bug is on strcpy(). > > [example where NULL is the source argument] Actually, this is not a bug. strcpy() has never been guaranteed safe against a NULL pointer. In fact, I don't own a single C library implementation where it is. (I know, maybe I should buy better libraries.) The reason is simple: assuming strcpy() fails quietly on this error, what happens NEXT? You probably expect to do something interesting with the target value, don't you? Well, nothing will be there. Now what? I'm not trying to be a smart-aleck, I'm just pointing out that if strcpy() doesn't bite you, something later in your code probably will. You might as well error-check in code BEFORE the strcpy() and be sure you can recover from the absence of expected data. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: tryToPerform: with: bug in Window class Message-ID: <1993Apr8.183517.2868@afs.com> Sender: greg@afs.com Date: Thu, 8 Apr 1993 18:35:17 GMT There is a subtle bug in the Window implementation of tryToPerform:with: when a Window is acting as its own delegate. Here's how we found it: We have noticed for a long time that if a user performs a keyboard save operation (Cmd-s) when the window is not in a savable state (missing data, etc), they get an error panel twice. We never figured out why until this week. Here's what's happening: 1) The user presses Cmd-s, and the menu looks for a -save: responder by starting a tryToRespond:with: sequence. 2) When it gets to our Window, the delegate (where delegate == self) is given a chance to act. It accepts the action, but the window is not savable. The user sees a warning panel with a message about what's missing or wrong. We indicate the "bad or missing data" status programmatically by returning nil. 3) The Window interprets the nil return from the delegate as meaning "I cannot (or do not wish to) respond", instead of the intended "I am responding, and the operation cannot be performed." Therefore, it gives self an opportunity to respond, which causes a repeat of step 2, including another error panel for the user. This problem has existed as far back as we can test. The fix is simple: if a Window is acting as its own delegate, it should NOT give the delegate a chance to respond, it should simply go straight into self. Since we override the Window class anyway, we did this: - (BOOL)tryToPerform:(SEL)anAction with:anObject { if (delegate && (delegate != self) && ([delegate respondsTo:anAction]) && ([delegate perform:anAction with:anObject] != nil)) return YES; else if (([self respondsTo:anAction]) && ([self perform:anAction with:anObject] != nil)) return YES; else return [nextResponder tryToPerform:anAction with:anObject]; } This preserves the existing behavior without the bug. If you do not override Window, you could implement this in a category. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Organization: University of Illinois at Chicago, academic Computer Center Date: Thu, 8 Apr 1993 16:24:48 CDT From: <U37866@uicvm.uic.edu> Message-ID: <93098.162448U37866@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: THANKS for help on DBKit I had posted a question on how to link the adaptors to the database of an image analyzing project my group was working on. Thanks to those who responded . Your help was greatly appreciated. It turns out that the hospital uses the In formix database and had an adaptor for the DBKit. So my problems at least for t hat phase of the project were solved. Once again thanks again....SWATEE
From: jmartin@next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: Re: .bepf Message-ID: <7370@rosie.NeXT.COM> Date: 8 Apr 93 20:53:10 GMT References: <1993Mar30.123241.29608@tpki.toppoint.de> Sender: news@NeXT.COM Imdat, Look at the man page for '/usr/bin/prebuild'. It supposidly takes an adobe bdf file (bitmap description file) and converts it to bepf or lepf (big endian or little endian something format). I think you can get bdf from an application like Fontographer on the Mac. In article <1993Mar30.123241.29608@tpki.toppoint.de> imdat@tpki.toppoint.de (Imdat Solak) writes: > Hello, > does anyone have some information about the .bepf (Screen-Font) format of the NeXT. > Please (if you have it) mail it directly to me. I'll send a summary afterwards. > Thanks. > imdat > imdat@tpki.toppoint.de > > -- > Imdat Solak imdat@tpki.toppoint.de > 2251 Ostenfeld
Newsgroups: comp.sys.next.programmer From: jaime_guerrero@afs.com Subject: Re: What a BUG!!! Message-ID: <1993Apr8.185443.2534@afs.com> Sender: jaime@afs.com References: <1993Apr8.094717.14421@news.acns.nwu.edu> Date: Thu, 8 Apr 1993 18:54:43 GMT In article <1993Apr8.094717.14421@news.acns.nwu.edu> garyc@eecs.nwu.edu (Gary I. Chang) writes: | Hi, | | For those of you who's doing the programming stuff, I just | discovered a severe bug that could happen in your program code too. | The bug is on strcpy(). | | char myAppPath[128], *path; | | path = [[workspace Application] getApplicationFullPath:"myApp"]; | strcpy(myAppPath,path); | | | This works fine until someday when your app is forgotten by | workspace. For example,someone installs it and runs it right away before | doing the log out and log back in first. | | path would get NULL from the workspace search.... | And then strcpy(....) becomes strcpy(myAppPath,NULL)...... | So, you think nothing would be copied into myAppPath???? WRONG!! | The program would die without a clue to trace. | | Gary Consider yourself fortunate to use REAL hardware and a REAL O.S. that traps such accesses as memory violations. Allowing NULL to be dereferenced is your programming error, not a strcpy error. If a function or method returns a pointer that you plan to use, prudent programming practice requires you to test that it is nonNULL before dereferencing it or passing it to a function that will dereference it without itself testing it first. Get _C Traps and Pitfalls_ by Andrew Koenig for more on this subject. getFullPathForApplication: (the method in 3.0) is even documented (in the 3.0 docs, anyway) as returning NULL under some circumstances, so you have to test it! WARNING: 128 bytes is not sufficient to hold a path on NeXTSTEP. Use the constant MAXPATHLEN + 1 (defined in appkit/appkit.h). If not, you'll get weird side effect bugs (the hardest to find) and maybe memory violations if the path happens to be quite long. Make a habit of using strncpy as shown: char buf[MAXPATHLEN + 1], *path; path= ... strncpy( buf, path, sizeof( buf )-1 ); By using strncpy, you are assured that any copy will never go off the end of the destination buffer. Incidentally, your code would work fine on a DOS PeeCee (a good example of a non-real O.S.) Strcpy would dutifully dereference the NULL to get the address of the first byte of the destination buffer, which would be 0:0 (which happens to be the hardware interrupt vectors table), and walk down increasing bytes, copying them to your buffer, until a byte happened to be the string terminator '\0'. Thus your destination buffer would contain nonsense bytes from the interrupts table. What's worse, if you reversed the arguments to strcpy, you would plop your string onto the interrupt vectors table, assuring a crash sometime later. -- Jaime F. Guerrero "How well do we use Anderson Financial Systems, Inc. The freedom to choose Springhouse, PA, USA The illusions we create?" jaime_guerrero@afs.com [NeXTmail receptive] -Timbuk 3
Organization: University of Illinois at Chicago, academic Computer Center Date: Thu, 8 Apr 1993 17:14:39 CDT From: <U37866@uicvm.uic.edu> Message-ID: <93098.171439U37866@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: HELP: DBKit set up & interface connections Organization: University of Illinois at Chicago, academic Computer Center Date: Thu, 8 Apr 1993 16:31:05 CDT From: <U37866@uicvm.uic.edu> Message-ID: <93098.163105U37866@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: HELP: DBKit setup and interface connections I am working on an image analyzing project. I have a dbmodel set up in my DBKit. It contains the following information: Patient First Name, Patient Last Name, Lesion Site, Specimen Type, Specimen N umber, Diagnosis, Image. What I would eventually like to do is have an interfac e that is setup so that the user would be able to select an image and correspon ding information by choosing from a list of patient names (last & first), specimen number, or lesion sites. The list would be specified by the user. Then all the other pertient information should be retrieved for the image selected. EXAMPLE: If the user would like to retrieve all the images that were taken of John Doe, then he would "click" on a Names button and this would then bring up a list of all the patient names and then allow him to "scroll" down the list until he came to the name he desired. Once the name is selected, the all the ot her information should be retrieved (image, specimen number, lesion site, lesion type, Patient name and diagnosis). The same should happen if the user wanted to sort the database by specimen number. I have setup, like I said before, a dbmodel but I am not sure if I have specifed the attributes, properties and relationships properly. If someone could define these terms in the parameters that I want to manipulate, I would be eternally grateful. Also once I have this model setup how do I make connecti ons to the interface that the patient will be using. I hope this is clear. I ha ve looked up stuff in the NeXT Reference book (the green ones) as well as the on line documentation. Neither one of these really told me what exactly an attribute, property or connection really was (unless I was looking in the wrong areas). Thanks a lot. Swatee Surve
Newsgroups: comp.sys.next.programmer From: frank@fnbc.com (Frank Mitchell) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr8.194812.12780@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Apr8.131043.80156@embl-heidelberg.de> Date: Thu, 8 Apr 93 19:48:12 GMT In article <1993Apr8.131043.80156@embl-heidelberg.de> writes: > In article <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> writes: > > > > This might be a really dense question, but is it possible, given an object > > ID variable, to find out if the object has been previously freed by some > > other part of the program? If there is, what sort of overhead is involved? > > A: > if (yourObj == nil) > // yourObj was freed. > > It works only if your free method looks like: > - free > { > // Your class specific staff > [super free]; > } Only if you freed it with: yourObj = [yourObj free]; And if you have the pointer that yourObj used to use stored in another id, it most DEFINITELY will not be nil. ObjC is not that smart. The only thing you can really do is not cache that pointer anywhere if you can get it from another object (which has the responsibility for setting its pointer to nil when it is freed), and discipline yourself only to free objects through their controllers. And, of course, design out interdependencies wherever possible. -- Frank Mitchell email(work): frank@fnbc.com (NeXTmail) (home): frank@gagme.chi.il.us When a woman says, "I'd still like to be friends", it's her way of saying, "I still want you to hook up my stereo Sunday".
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: aelman@cs.stanford.edu Subject: Re: What a BUG!!! Message-ID: <1993Apr9.004114.29333@leland.Stanford.EDU> Followup-To: comp.sys.next.programmer Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Apr8.094729.14479@news.acns.nwu.edu> Date: Fri, 9 Apr 93 00:41:14 GMT In article <1993Apr8.094729.14479@news.acns.nwu.edu> garyc@eecs.nwu.edu (Gary I. Chang) writes: > Hi, > > For those of you who's doing the programming stuff, I just > discovered a severe bug that could happen in your program code too. > The bug is on strcpy(). > > char myAppPath[128], *path; > > path = [[workspace Application] getApplicationFullPath:"myApp"]; > strcpy(myAppPath,path); > > > This works fine until someday when your app is forgotten by > workspace. For example,someone installs it and runs it right away before > doing the log out and log back in first. > > path would get NULL from the workspace search.... > And then strcpy(....) becomes strcpy(myAppPath,NULL)...... > So, you think nothing would be copied into myAppPath???? WRONG!! > The program would die without a clue to trace. > > Gary Yeah -- I hit this bug a whole bunch of times in my final project for a NeXT programming class I took last quarter. The bug is in the strcpy -- the string.h string functions crash if you pass them NULL pointers. I ended up putting "if (string != NULL)" before every single string function, but that was only because I had a deadline. What I really want is a C++ string class that overrides a whole bunch of operators (assignment, char * representation, maybe even an automatic NXAtom representation -- I think C++ can do that :-). The nice thing about doing it in C++ as opposed to Objective-C is that you can make it virtually transparent; just use it where it looks like it should be used. I think gcc supports C++ as well as Obj-C -- am I wrong? And more importantly, has someone done this kind of thing already (you'd think somebody would have...)? Thanks, Adam Elman aelman@cs.stanford.edu
From: reuven@athena.mit.edu (Reuven M. Lerner) Newsgroups: comp.sys.next.programmer Subject: Re: Mahoney&Garfinkel program suddenly doesn't run on my system anymore!!? Date: 9 Apr 1993 01:15:14 GMT Organization: Massachusetts Institute of Technology Message-ID: <REUVEN.93Apr8211510@marinara.mit.edu> References: <1q1rh3$i3m@menudo.uh.edu> In-reply-to: pakala@sdl.egr.uh.edu's message of 8 Apr 1993 18:39:31 GMT >>>>> On 8 Apr 1993 18:39:31 GMT, pakala@sdl.egr.uh.edu (Rama R. >>>>> Pakala) said: Rama> I was coming along rather well with learning my NeXTSTEP Rama> programing. I had reached chapter 11, and as I usually do, I Rama> first ran the program for the chapter from the floppy which Rama> came along with the book. It worked fine. Rama> Then I started to typed in the code myself, following the Rama> steps outlined in the chapter. But now, the program does not Rama> work. I posted a similar question several weeks ago. Several people sent me mail saying that the book was right, that I had made a mistake, and that I should play with the debugger to try to find the problem. Several other people wrote to say that they had experienced the same problem, and that they would like to know whether the book or their fingers had goofed up. I (unfortunately) haven't had any time to play with these things in the last few weeks -- driving lessons, Passover, work, and even sleep have taken too much of my time. So I can't give anyone a definite answer. Using the enclosed floppy obviously alleviates the problem, but doesn't answer the original question. It would be nice to get a final clarification on this subject, perhaps for the FAQ, especially since it seems to be raised on a fairly regular basis. Reuven
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Re: Other NXWorkspaceRequestProtocol problems Message-ID: <1q2i2qINNoh2@shelley.u.washington.edu> Date: 9 Apr 93 01:04:26 GMT Article-I.D.: shelley.1q2i2qINNoh2 References: <1pvnloINN3ac@shelley.u.washington.edu> <1993Apr8.082018.1683@prim> Organization: University of Washington, Seattle In article <1993Apr8.082018.1683@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > >When I read your article I tried to look up fileOperationDidComplete in >Digital Librarian. It wasn't there, but there was a fileOperationCompleted:. >Perhaps you just gave it the wrong name? No, that wasn't it. I just spelled it wrong in the post. :) If anyone has any idea on why the app: fileOperationCompleted: delegate doesn't work for me , let me know! -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: SYBASE, NeXT and OS/2 Message-ID: <1993Apr8.193546.5338@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <C54tEs.GzK@northstar.com> Distribution: na Date: Thu, 8 Apr 1993 19:35:46 GMT In article <C54tEs.GzK@northstar.com> ried@northstar.com (A Ried Thiel) writes: > Also any information about whether or not SYBASE is going to port or not > would be great. Sybase will not be porting to NS/i because "NeXT is not a server company." M Carling President, Bay Area NeXT Group
Newsgroups: comp.sys.next.programmer From: jspears@weston.com (Wes Spears) Subject: Re: Did the fax go through? Message-ID: <1993Apr8.140511.4240@weston.com> Sender: jspears@weston.com References: <C54wz4.6xJ@northstar.com> Date: Thu, 8 Apr 1993 14:05:11 GMT In article <C54wz4.6xJ@northstar.com> ried@northstar.com (A Ried Thiel) writes: > In our application we do a lot of faxing to many different > clients. We know that if a fax goes through or not by reading mail. We > would like to be able to get notification to our program without reading > mail. Has anyone done this or know of a way that it could be done? > > We are using 3.0 with B&W fax software. > > Thanks > --- > Ried Thiel NeXTMail ried@NorthStar.com > NorthStar Technologies, Inc. > 15 Maiden Lane Suite 803 > New York NY 10038 212-267-4100 X-160 Try just keeping the console window live. IT makes a grat FAX monitor. Thanks Wes
Newsgroups: comp.sys.next.programmer From: bruce@taos.ictv.com (Bruce Nilo) Subject: Re: Trapping low level events? Message-ID: <1993Apr9.140808.22349@ictv.com> Sender: usenet@ictv.com Organization: ICTV, Santa Clara, CA (408) 562-9200 References: <1993Apr8.101213.16006@cubx.fdn.org> Date: Fri, 9 Apr 1993 14:08:08 GMT b_brottier@cubx.com writes > The problem I have is to be able, from a background process, to generate events > for an Application but without any use of the keyboard or the mouse. The system > will then be able to communicate with an application and a user through other > user interface devices. > > So, I have two main questions : > > How communicate with ev0 event driver ? > > How intervene in the low level event queue before the WindowServer ? > (for instance generate new events such as these comming from the mouse but I have never been able to get the low level ev driver to work. However try the postscipt operators postevent and posteventbycontext. I have been able to use them to implement pseudo io devices with some success. Bruce D. Nilo VP Software Systems ICTV bruce@ictv.com
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.marketplace,comp.sys.next.programmer Subject: Pencom Software Seeks 8 NeXT Engineers (California, Northeast US, Texas) Message-ID: <7375@rosie.NeXT.COM> Date: 9 Apr 93 16:06:33 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.marketplace For more information, contact: Clint Tomlinson - Manager, NeXT Recruiting Pencom Software 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512-346-6444 E-Mail: clint@pencom.com Pencom Software Seeks 8 NeXT Engineers Location: North America (California, Northeast US, Texas) AUSTIN, TEXAS - April 8, 1993 - Pencom Software's team of NeXT engineers are specifically dedicated to serving both developers and end user organizations equipped with workstations and software from NeXT Computer, Incorporated. Already a NeXT-authorized systems integrator as well as a registered NeXT software developer, Pencom is expanding the service to capitalize on the resent announcements made by NeXT Computers. Pencom continues to be the leader for NeXT software development and consulting services, and has never been more dedicated to the NeXT environment than now. Pencom Software is a division of Pencom Systems Incorporated, a New York-based firm providing software engineering and manpower resources to Fortune 500 companies and leading computer firms since 1973. Currently the largest recruiting firm specializing in the UNIX/Open Systems market, Pencom employs over 500 people and maintains a large heterogeneous network of workstations including more than 70 NeXT machines. The following contract positions are available: California (Bay Area) 1 - Software Engineer (4-6 months) * Porting experience * 1+ years Object Oriented Programming (C++/Objective C) * 1+ years database design and database applications * 2 years UNIX/C application development * Financial applications * 2+ years RDBMS (SYBASE/ORACLE preferred) * 1+ years NeXTSTEP applications development * AppKit, DBKit, NeXTSTEP 3.0, OOD 1 - NeXT Software engineer (4-6 months) * Off the shelf software integration * NeXTSTEP API, GUI, DBKit * SYBASE/SQL * AppKit, DBKit, NeXTSTEP 3.0, OOD 1 - NeXT Applications Programmer (4-6 months) * Custom NeXTSTEP 3.0 applications * AppKit, Interface Builder * DBKit/SYBASE * Sun/DEC Northeast United States 2 - DBKit/RDBMS Specialist (3-4 months) * AppKit, DBKit, NeXTSTEP 3.0, OOD, Objective C * 2+ years database design and database applications development (DBKit/ORACLE/SYBASE preferred) * 2 years UNIX/C application development * 2 years RDBMS experience using an SQL-based RDBMS * 1+ year NeXTSTEP applications * Security Clearance 1 - Software Engineer * NeXT/UNIX application software development * Strong NeXTSTEP, AppKit, Interface Builder, DBKit * High level design, rapid prototyping in NeXT * Strong Objective C or C++ * 2+ years experience * Security Clearance The following permanent positions are available: California (LA) 1 - Software Engineer * ORACLE/RDBMS applications * DBKit/SYBASE/SQL * UNIX/C/C++ * Shell programming Texas 1 - Object Oriented Programmer * 2+ years Object Oriented Programming (C++/Objective C) * 2+ years database design and database applications * 5 years UNIX/C application development * 2+ years RDBMS (SYBASE preferred) * 1+ years NeXTSTEP applications development * AIX/RS6000 programming * AppKit, DBKit, NeXTSTEP 3.0, OOD * GUI and Porting experience Sorry, permanent positions require Permanent Residence and 2+ years industry experience. Thank you for your understanding... More positions available soon!!
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Another bundle of suggestions for NeXT Message-ID: <1993Apr9.151333.523@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Apr7.100157.5026@prim> Date: Fri, 9 Apr 93 15:13:33 GMT In article <1993Apr7.100157.5026@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > [deleted] > > But it would be nice to have a standard mechanism for this with support for > editing it in Project Builder. > > Tell you what, how about making Project Builder itself extensible? > > (Got loads more helpful ideas if you've got any free time on your hands. ;-) > > Dave Griffiths I would like to be able to add new project types like "Library" to build shared libraries. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: peterk@pknms.toppoint.de (Peter Kretzschmar) Newsgroups: comp.sys.next.programmer Subject: Database Server for NS/I Distribution: world Message-ID: <734385836peterk.postmast@pknms.toppoint.de> Sender: postmast@pknms.toppoint.de Date: Fri, 09 Apr 93 20:03:56 GMT Organization: private site Where are the database server for NS/Intel ??????? Is there anybody out there, who knows what database engines are available or under development for NS/I ??? I've heared, that SYBASE will not port there server. And now ???? Peter -- Peter Kretzschmar +49 4321 41471 peterk@pknms.toppoint.de Grossflecken 54 w-2350 Neumuenster Germany
From: alanlb@thor.cs.vt.edu (Alan L. Batongbacal) Newsgroups: comp.sys.next.programmer Subject: Re: Has anyone compiled GZIP on the NeXT Message-ID: <4270@creatures.cs.vt.edu> Date: 9 Apr 93 17:46:23 GMT References: <1phua4$2cn@tricky.wft.stack.urc.tue.nl> Sender: usenet@creatures.cs.vt.edu Organization: Virginia Tech Computer Science Dept., Blacksburg, VA michael@wft.stack.urc.tue.nl (Michael Brouwer) writes: > In article <C4rxC1.FG@ursidae.demon.co.uk> tim@ursidae.demon.co.uk (Tim > Bissell) writes: > > Subject line says it all really; does anyone know > > what combination of cc flags and/or source hacks allow > > gzip 1.07 from the FSF to be compiled on the NeXT? > > I did > CC=cc CFLAGS=-O2 LDFLAGS=-s sh configure; make install > which worked find for gzip-1.0.7. > > Michael Careful with the -O2 flag there; the NeXT cc optimizer seems to break with certain code. As a concrete example, I offer the MPEG decoder component of the MPEG_Play v2.1 app. Try it with flower.mpg from toe.cs.berkeley.edu:/pub/multimedia/mpeg/movies. -- +---------------------------------------------v-----------------------------+ | Alan L. Batongbacal | "If you spew and she bolts, | | alanlb@cs.vt.edu | it was never meant to be." | | Bleaksburg, VA 24060 | -- Wayne Campbell | +---------------------------------------------^-----------------------------+
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Wanted NeXTSTEP programmers Message-ID: <1993Apr9.134243.6726@msuvx2.memst.edu> From: kumargs@next1.msci.memst.edu (Satish Kumar Gannu) Date: 9 Apr 93 13:42:43 -0600 WANTED NeXT Programmers Need good NeXT programmers for a commercial project in the NewYork area. The duration of the project is 18 months. (starting data is early part of May '93) Fresh graduates with 6 to 12 months programming experience in the academic project world using NeXTSTEP, Objective-C and C++ is the minimum qualification. You must be hard working with sound fundamentals in object oriented progamming and enjoy challenging work. Excellent pay and benefits. Please fax your resume to (508) 443-5895 to the attention Human Resources Sumak Enterprises or call (508)-443-5970. Please do not reply at this email address, i am just posting the message.
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Wanted NeXTSTEP programmers and SYBASE programmers Message-ID: <1993Apr9.134537.6727@msuvx2.memst.edu> From: kumargs@next1.msci.memst.edu (Satish Kumar Gannu) Date: 9 Apr 93 13:45:36 -0600 -------------------------------------------------------------------------- WANTED NeXT Programmers & SYBASE Programmers _______________________ * Need good NeXT Programmers for a commercial project in the NY area. The duration of the Project is 18 months ( to start in May). Requirements: (Fresh graduates also) 6 to 12 months programming experience in the academic project world using NeXTSTEP, Objective-C, C++ is the minimum qualification. Should be sound in OOP fundamentals. Execellent Pay and benefits. Please fax your resume to (508) - 443-5895 Attn: Human Resources. Sumak Enterprises In., * Wanted SYBASE programmers immediately. Academic experience for 6 months to 1 year in SYBASE and C under UNIX environment is acceptable. Please fax your resume to (508) - 443-5895 -------------------------------------------------------------------------- Don't send me resumes. Fax directly to the above no. I am just posting the message.
From: kbern@next.com (Keith Bernstein) Newsgroups: comp.sys.next.programmer Subject: Re: How do I convert my Help folder into a Help.store file? Message-ID: <7377@rosie.NeXT.COM> Date: 9 Apr 93 19:11:36 GMT References: <1p81vp$mdr@network.ucsd.edu> Sender: news@NeXT.COM In article <1p81vp$mdr@network.ucsd.edu> mcyr@weber.ucsd.edu (Maureen Cyr) writes: > Does anyone know how to convert a Help directory (in my application's app > folder) into a Help.store file like those in the Mail.app and Edit.app? I > know you can programatically create .store files using the Indexing Kit, but > ideally I'd like a simple command that I can type in the shell. > > Many thanks... > > - Andy Such a utility is available in 3.1 PR1. It's called "compresshelp" and is located in the /usr/bin directory. K.B.
Newsgroups: comp.sys.next.misc,comp.sys.next.advocacy,comp.sys.next.programmer From: nextbook@csulb.edu (Michael K. Mahoney) Subject: Garfinkel / Mahoney Book ERRATA Message-ID: <C58IvF.9Dw@csulb.edu> Keywords: NeXTSTEP Programming, Book Sender: news@csulb.edu (News Administration/Rumor Bureau) Organization: Cal State Long Beach Date: Fri, 9 Apr 1993 21:11:38 GMT ERRATA for the Garfinkel/Mahoney BOOK, "NeXTSTEP Programming - STEP ONE: Object-Oriented Applications" by Simson L. Garfinkel and Michael K. Mahoney published by TELOS/Springer-Verlag, 1993. ISBN 0-387-97884-4 Send additional errata to nextbook@csulb.edu (improvements in the code are welcome, but please submit the entire improved files with detailed comments and a list of changes). The following errors (and comments) were found in the first printing of the book and corrected in the second printing. The first printing (6000 copies) sold out in about 3 months. We thank you all for buying the book and thank those of you who submitted errors and comments to nextbook@csulb.edu even more. A special thanks go to Duane Storti and Andreas Ploeger, both of whom submitted several pages of comments. - Mike Mahoney 4/9/93 PAGE LINE ERROR / COMMENT xviii 9 "Suzanne Woolf at SRI International" --> "Suzanne Woolf Strauss at the USC Information Sciences Institute" 8 13 "five principle" --> "seven principal" 17 -2 "more than" --> "less than" 23 -8 You can Command-drag the Recycler out of the dock. 30 12 The Show Menus menu command is not implemented in the App Kit. 43 -3 "using" --> "use" 44 14 "Chapter 3" --> "Chapter 5" 57 8 "Copy" --> "Paste" 58 6 "View Documentation" --> "View Header" 59 -12 The order of the tools may differ in your IconBuilder. 110 -9 "are" --> "is" 112 17 "clear:" --> "View" 128 -2 "left" --> "right" 139 6 "Interfaces" --> "Headers" 140 21 "yFlag = 0" --> "yFlag = NO" 140 22 "enterFlag = 0" --> "enterFlag = NO" 152 6 Double-click the error message in the PB window . 155 3 "enterFlag = 1" --> "enterFlag = YES" 173 1 Drop the Info submenu when you see the copy cursor. 189 19 Insert "in the Info panel" immediately before the comma. 213 -6 "NX_WIDTH" --> "NX_X" 229 -1 "Panel" --> "Panels" 235 17 "ownerwith" --> "owner:with" 240 2 "abutton" --> "aButton" 241 9 "isKindof" --> "isKindOf" 244 3 "103" --> "105" 244 23 "Calculator.m" --> "CalcWindow.m" 244 -1 "designed" --> "designated" 250 -4 "off" --> "of" 262 10 You can copy the Evaluator file from the bundled floppy disk to your ~/Apps directory to install the Evaluator. 264 18 "containing" --> "contains" 274 8 Don't hide Workspace Manager as it's needed in Step 20. 281 -12 Insert "sizes" after "window". 294 -2 "you" --> "your" 297 20 "occured" --> "occurred" 309 18 "51" --> "60" 311 9 "Brackets" --> "Braces" 312 -7 "lets" --> "let's" 313 9 "lets" --> "let's" 353 5 "Consequentially" --> "Consequently" 366 -13 Insert "NXPing()" inside the inner "for" loop. 374 -7 "second" --> "seconds" 375 14 "of delayed loop" --> "of a delay loop" 379 -9 Insert "[self unlockFocus];" before "return self;" . 380 5 Insert "[self unlockFocus];" before "return self;" 391 -3 "View" --> "superview" 427 14 "number" --> "numbers" 428 2 "1024" --> "16384" 432 11 "rectsCount" --> "rectCount" 454 14 "Continous" --> "Continuous" 496 22 "superview" --> "superclass" 512 -15 "four" --> "five" 514 6 Change "readType" description to "Reads data from the pasteboard server." 523 -10 "paste board" --> "pasteboard" 560 14 "yFlag = 0" --> "yFlag = NO" 560 15 "enterFlag = 0" --> "enterFlag = NO" 563 -4 The code for appDidInit on page 245 should be used here. 567 -12 Insert "[self unlockFocus];" before "return self;" . 568 2 Insert "[self unlockFocus];" before "return self;" 574 20 "occured" --> "occurred" 596 4 "1024" --> "16384"
From: sfurth@dc.shl.com (Stephen Furth) Newsgroups: comp.sys.next.programmer Subject: Re: Did the fax go through? Date: 9 Apr 1993 13:56:14 GMT Organization: SHL Systemhouse Inc. Message-ID: <1q3v9uINNnki@technet1.shl.com> References: <C54wz4.6xJ@northstar.com> In article <C54wz4.6xJ@northstar.com> ried@northstar.com (A Ried Thiel) writes: > In our application we do a lot of faxing to many different > clients. We know that if a fax goes through or not by reading mail. We > would like to be able to get notification to our program without reading > mail. Has anyone done this or know of a way that it could be done? > > We are using 3.0 with B&W fax software. > > Thanks > --- > Ried Thiel NeXTMail ried@NorthStar.com > NorthStar Technologies, Inc. > 15 Maiden Lane Suite 803 > New York NY 10038 212-267-4100 X-160 We have a similar requirement in an application we are writing here. I have talked to B&W several times about this. They have told me several times that it is not easy to do inside their code, but that they would look at it in the next release (1.4). In the meantime, we ended up solving this is a rather bizarre manner... I ended up creating an alias for each person as there login id, directing it to a file (sfurth: /tmp/faxagent.mail). I then wrote a small shell scrip[t that is executed by CRON every minute to see if the above file exists. If so, print it. I then created an alias for each person with there full name, and set that to the login name with a backslash to trun off aliasing (Stephen_Furth: \sfurth). So, when mail is sent, the address should be set to Stephen_Furth, not sfurth. This resulted in directing all FAX messages to the printer, as we wanted. It, unfortunately, ALSO directed return receipts, Mail Failures, etc., there also! Since mail was not a BIG issue, and there are only a few people in the group where we did this, it is not a big deal. I will be the first (and have!) to admit this is a KLUDGE!! But, it was the best I could come up with at the time.
From: sfurth@dc.shl.com (Stephen Furth) Newsgroups: comp.sys.next.programmer Subject: Screen Redirection Date: 9 Apr 1993 14:13:41 GMT Organization: SHL Systemhouse Inc. Message-ID: <1q40alINNnso@technet1.shl.com> Keywords: window manager wm screen redirection I am looking for a way to, for lack of better descripton, redirect the contents of one system's screen to another. What we are trying to do is have a supervisor be able to see what the Customer Service Rep (CSR) is doing at any time, without having to go, quite literaly, look over their shoulder. The best answer we have come up with so far is to have the App running on th SCR's system be available for 'query by another App running on the Supervisor's system. In this way, the CSR App would quite lilerally send ever message twice, once to the CSR's object(s), and once to the Supervor's object(s). Is there any way to do this generically, so that (1) we do not have to muck up the code we all ready have working quite nicely, and (2) so we can use it on ANY App without having to change it? Thanks Stephen Furth Technical Architect Systemhouse, Inc - Mid-Atlantic Region - DC Office sfurth@dc.shl.com
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Computer Language article - defect management Message-ID: <1993Apr9.181846.3555@afs.com> Sender: greg@afs.com Date: Fri, 9 Apr 1993 18:18:46 GMT Cross-posted here since many programmers don't read c.s.n.advocacy: Glenn Reid earlier mentioned the review of NS 3.0 in the April issue of Computer Language, which was pretty positive. Farther back, there's an equally good article about defect management. (Glenn mentioned that the cover title positioning is bad, because it makes it seem as though the article "Defect Management: When Will It Ship?" refers to NeXT.) Guess what? The defect article was written by James F. Walsh, who manages software QA at NeXT! His suggested methodology has a good statistical grounding and is based on a real project (at his previous job, not NeXT) whose results bear out the theory. Basically, it helps you decide how many bugs are probably left in a system, based on the rate of "new errors discovered per CPU testing time". You can also apply this to guess how many new errors will be introduced by a specific amount of new code. You can then apply the rules to decide when the cost of finding the remaining errors (and the likelihood that they will be "serious") is higher than the cost of shipping in the current state, as well as how many errors are probably still left. I'm simplifying, of course, but I hope that conveys the idea. Walsh's article deserves serious consideration, and is highly worthwhile reading. Plus, I feel so much better about 3.1 knowing that someone who's not from the "release it and pray" school is supervising QA... -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <66263@mimsy.umd.edu> Date: 9 Apr 93 23:51:28 GMT References: <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> <1993Apr8.131043.80156@embl-heidelberg.de> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Anthony wrote: > is it possible, given an object ID variable, to find out if the object > has been previously freed by some other part of the program? > An app I'm working on is becoming a tangle of "notifications" for > whenever objects are freed, since there is a lot of interdependency Georg Tuparev replied: > if (yourObj == nil) > // yourObj was freed. > It works only if your free method looks like: > - free > { > // Your class specific staff > [super free]; > } > See the doc. for the Object class (-free) I don't think this is right Georg. It works only for the object that actually called free. I doubt [super free] examines all instance variables in a program to see if they reference the id being freed and then set it to nil. I don't think there is a reliable way to do _exactly_ what Anthony asks in the presence of reallocation. but there are several approaches to dynamic memory management that may work instead. One you may wish to consider is to keep a reference count inside your object of how many people point to you. You would need to increment this whenever you copy the object id someplace, but then you can override - free, and instead of deallocating the object simply decrement the reference count and return self, until the reference count reaches zero (at which point you do a real free) This may eliminate the need for all the notifications. It may or may not work for your app. another approach is to have a centralized object or two that maintains the current id to various objects and have other objects request a specific id right before sending a message, rather than keeping local copies that may have to be changed frequently. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: jgg@proforma.com (J. G. Gregory) Subject: Is this precomp warning familiar to you? Message-ID: <1993Apr10.013025.1514@proforma.com> Keywords: precomp Sender: jgg@proforma.com Organization: Pro Forma Distribution: na Date: Sat, 10 Apr 1993 01:30:25 GMT If you have seen lots of examples of the following warning, and know what is wrong and how to fix it, please contact me. This particular one is from compiling Simple in the Examples/3Dkit directory. SimpleCamera.h:1: warning: could not use precompiled header '/NextDeveloper/Headers/3Dkit/3Dkit.p' SimpleCamera.h:1: warning: macro 'index' defined by /NextDeveloper/Headers/appkit/appkit.h conflicts with precomp If you haven't seen things like this, please don't speculate. That is all I going to say ;-) --J Gregory
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <1179@rtbrain.rightbrain.com> Date: 10 Apr 93 01:36:09 GMT References: <1993Apr8.174521.2746@afs.com> Sender: glenn@rightbrain.com Gregory H. Anderson writes > One simple test might be to ask the object if it 'isa' object: > > BOOL presumablyGood = [object isKindOf:[Object class]]; This would seem to be a good test, because, in the debugger, a freed object always has NULL in the 'isa' field. However, you can't even send a message to a freed object. You crash in obj_msgSend() or something like that. So that's out. I don't think there's any way to do it. If you have two pointers to the same object and you free one of them, the other points to random space, and there's nothing you can do about it except crash :-( One thing that I practice to minimize this is to always null out pointers after freeing things, as in: if ( myList ) { [[myList freeObjects] free]; myList = NULL; } -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: kdj@groebner.me.washington.edu (Kimberley Johnson) Newsgroups: comp.sys.next.programmer Subject: DPS error- 3DKit problems Date: 10 Apr 1993 03:42:02 GMT Organization: University of Washington Message-ID: <1q5fmaINNfd9@shelley.u.washington.edu> I am creating a graphics application with the 3-D kit. Sometimes I get the error: DPS client library error: Invalid port, DPSContext 0, data 19 during the renderself method. This happens periodically, but is not due to one certain thing that I can pin point. From what I can figure out, it happens after I call another nib to do some things and then try to draw all my shapes again. If anyone could give me some information on this I would really appreciate it. Kim kdj@groebner.me.washington.edu NeXT mail
From: michael@wft.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: How do I convert my Help folder into a Help.store file? Date: 9 Apr 1993 22:53:17 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1q4uot$5nt@tricky.wft.stack.urc.tue.nl> References: <7377@rosie.NeXT.COM> In article <7377@rosie.NeXT.COM> kbern@next.com (Keith Bernstein) writes: > > know you can programatically create .store files using the Indexing Kit, > but > > ideally I'd like a simple command that I can type in the shell. > Such a utility is available in 3.1 PR1. It's called "compresshelp" and is > located in the /usr/bin directory. For those of us who aren't so lucky as to having PR1 yet, you can ftp duplink-1.1.tar.z (a gzipped tar file) from `ftp.stack.urc.tue.nl:pub/next/Programmer/apps/duplink-1.1.tar.z' it contains a source for compressHelp that compiles and runs on NS3.0. Michael PS: If you don't have gzip just type `get duplink-1.1.tar' instead of `get duplink-1.1.tar.z'
From: podenski@bcsaic.boeing.com (Patrick Podenski) Newsgroups: comp.lang.postscript,comp.sys.next.programmer Subject: epsf -> cgm Keywords: postscript Message-ID: <95742@bcsaic.boeing.com> Date: 9 Apr 93 23:00:29 GMT Organization: Boeing Computer Services, Seattle I am looking for a utility which runs on Unix which can convert an EPSF (encapsulated PostScript File) to CGM (Computer Graphics Metafile). Can anyone advise? Thanks, Pat Podenski podenski@atc.boeing.com
Newsgroups: comp.sys.next.programmer Subject: Question about NS3.0 secure Listeners and PublicWindowServer. Message-ID: <SCOTT.93Apr9235129@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 9 Apr 93 23:51:29 Distribution: world Organization: Is a sign of weakness Context: An app I'm working on (which is nearing release) provides services in the background. It does not run in the Application event loop, so if the windowserver crashes for some reason, it doesn't exit correctly. As a solution, I have the daemon coded so that on startup, it checks to see if there are any running daemons, and if so it asks them to exit. Unfortunately, sometimes it doesn't work, and I wonder if it's because the NS3.0 AppKit may be too smart for me. From the AppKit.rtf file in the release notes: o Speaker/Listener Speaker/Listener messages are now secure (meaning you cannot get the port of a Listener on another machine unless that machine is running with PublicWindowServer turned on). If I am correct, this would also mean that if the windowserver crashes and the user logs in again, then the daemon will not be able to aquire the port for the earlier copy of the daemon unless the user has PublicWindowServer on. It would basically be the same as if you logged in from a remote machine and tried to run an AppKit program. Is my reasoning sensible? If so, does anyone know how to defeat this so that I _can_ attach to the port without PublicWindowServer? Would it work if I created a port for the Listener manually instead of using -checkInAs:? [Of course, if anyone knows how to catch windowserver death from outside the Application event loop, that'd work too. So far, it seems that Listener catches the related exception, but I cannot figure out how _I_ can catch it. Currently, I register to receive notification methods concerning Workspace port death, which doesn't seem to be good enough. There doesn't seem to be a public interface to the port used to communicate with the windowserver - if there were, I could listen for its death, too.] Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: gcc 2.3.3 patch posted Message-ID: <1993Apr10.070225.7603@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Sat, 10 Apr 1993 07:02:25 GMT I have posted a patch to make gcc-2.3.3 cpp behave like NeXT cpp when dealing with //-style comments. After applying the patch they are allowed, unless the language is C and -pedantic is on. The patch is available from sun4nl.nluug.nl as: pub/comp/NeXT/gcc-2.3.3-cccp-NeXT.diff.z that's a gzip compressed diff. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: dimitri@dutiws.twi.tudelft.nl (Dimitri Tischenko) Subject: Linewidth zero problem Message-ID: <C59r3x.8to@dutiws.twi.tudelft.nl> Organization: Delft University of Technology Date: Sat, 10 Apr 1993 13:07:09 GMT Ok, I'm sure this has been discussed before. Imagine this situation: a View is used for different graphs, and is scaled to match the graph's native coordinate system. What do I do if I want to have a thin black border around the View? I try this: [self centerScanRect:&bounds]; after rescaling and in drawSelf:: NXFrameRectWithWidth(&bounds, 0.0); but a) sometimes the border lacks a side or two b) if I draw the View into an EPS, and print it, some parts of the border are always missing. Does somebody have a solution? Many thanks for your attention, Dimitri -- +----------------------------------------------------------------------------+ | Dimitri Tischenko | D.B.Tischenko@IS.TWI.TUDelft.NL | NeXTmail preferred! | +---------------------------------------+------------------------------------+ | Delft University of Technology | Technische Universiteit Delft | | Fac Applied Math & Computer Science | Fac. Techn. Wiskunde & Informatica | | The Netherlands | Nederland | +---------------------------------------+------------------------------------+
From: scott@nic.gac.edu (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Re: Question about NS3.0 secure Listeners and PublicWindowServer. Date: 10 Apr 93 13:29:09 Organization: Is a sign of weakness Distribution: world Message-ID: <SCOTT.93Apr10132909@nic.gac.edu> References: <SCOTT.93Apr9235129@nic.gac.edu> In-reply-to: scott@nic.gac.edu's message of 9 Apr 93 23:51:29 Earlier, I asked: > o Speaker/Listener > > Speaker/Listener messages are now secure (meaning you cannot > get the port of a Listener on another machine unless that > machine is running with PublicWindowServer turned on). <...> >does anyone know how to defeat this so that I _can_ attach to the >port without PublicWindowServer? Would it work if I created a port >for the Listener manually instead of using -checkInAs:? It turns out there is a NeXTAnswer out there on this very question. This NeXTAnswer presents a piece of code which uses netname_check_in() manually to simulate a checkInAs: call using the "raw" name as opposed to the modified name that the -checkInAs: call uses when PublicWindowServer is not on. [Related Q: If PWS isn't on and you register as the "raw" name, does the NXPortNameLookup() routine find your name? Which is found first, the "raw" or the modified name, if both exist?] Unfortunately, the NeXTAnswer code doesn't quite work. The AppKit -checkInAs: returns NETNAME_NOT_YOURS if there is a conflict, while the NeXTAnswers -publicCheckInAs: returns NETNAME_SUCCESS. _Not_ what I had in mind :-). So, I started looking at the documentation for the name server, in the hopes of fixing this. Unfortunately, it looks like you cannot write an atomic version of netname_check_in(). I can do a netname_look_up(), and if that works do a netname_check_in(), but someone could sneak in and do their own netname_check_in() in between those. My solution? I rewrote -publicCheckInAs: so that before doing the netname_check_in(), it looks for the name using netname_look_up() and fails if it's already there. After doing netname_check_in(), it uses netname_look_up() _again_ and verifies that the associated port is the listener's listenPort. Here's the modified code: -(int)publicCheckInAs:(const char *)name { kern_return_t result; port_t lPort; /* Causes Listener to alloc a port. */ if( ![self listenPort]) { [self usePrivatePort]; } /* Check to see if there's already a port for the name. */ result=netname_look_up( name_server_port, "", (char *)name, &lPort); if( result==NETNAME_SUCCESS) { return NETNAME_NOT_YOURS; } /* Register the port with the Network Name Server. */ result=netname_check_in( name_server_port, (char *)name, [self signaturePort], [self listenPort]); if( result!=NETNAME_SUCCESS) { return result; } /* Verify that the registered port matches our port. */ result=netname_look_up( name_server_port, "", (char *)name, &lPort); if( result==NETNAME_SUCCESS && lPort!=[self listenPort]) { return NETNAME_NOT_YOURS; } /* Set my portName to be the registered name. */ free( portName); portName=NXCopyStringBufferFromZone( name, [self zone]); return 0; } Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer From: beaucham@uxh.cso.uiuc.edu (James Beauchamp) Subject: cc error message Date: Sat, 10 Apr 1993 18:32:28 GMT Message-ID: <C5A665.5I4@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Keywords: cc error message Organization: University of Illinois at Urbana One of my students made a rather long .c program, and on the NeXT (OS 2.1) the following message was received during compilation: cc: Internal compiler error. Program cc1 go fatal signal 11. This is the sort of thing that scares my students. Any idea what would cause this sort of error? Jim Beauchamp University of Illinois at Urbana-Champaign beaucham@uxh.cso.uiuc.edu
Newsgroups: comp.sys.next.programmer From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr10.191027.368@sifon.cc.mcgill.ca> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1993Apr8.174521.2746@afs.com> <1179@rtbrain.rightbrain.com> Date: Sat, 10 Apr 1993 19:10:27 GMT In article <1179@rtbrain.rightbrain.com> glenn@rightbrain.com writes: > >if ( myList ) { > [[myList freeObjects] free]; > myList = NULL; >} This is a good habit, particularly: myObj = [[MyObj alloc] init]; and myObj = [myObj free]; Note that it can generate bugs, since if you then start messaging myObj, the messages will just return 0. Since you've just freed myObj, it may be that it was your intention that myObj is not to be used anymore (as it would be in C). It'll be harder to find the error when your code runs smoothly while messaging the disposed object. Of course, this is a feature, not a bug! You just have to use an OO mentality instead of a C-pointers-are-death-as-well-as-the breath-of-life mentality... - db
Newsgroups: comp.sys.next.programmer From: garyc@eecs.nwu.edu (Gary I. Chang) Subject: Not a BUG!!! Message-ID: <1993Apr10.230002.22409@news.acns.nwu.edu> Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Date: Sat, 10 Apr 1993 23:00:02 GMT Hi, Thanks for a lot of you responded to me regarding the result returned from strcpy(str, NULL) is NOT a bug. I personally agree that it was a bug in my program instead of strcpy() or [[Application workspace] GetFullPath..]. I can understand the efficiency concern for strcpy() to simply just de-references both input pointers without checking its data first. However, can't complain it at all in the sense that it is an aged and proven function in the C world. People still haven't come up with a real solution to stop programmers from falling into those traps again. Here's the example which I thought is the art of programming: Have you thought of how 'typedef enum { NO = 0, YES = 1 } BOOL' would help programmers doing strictly range checking when they really need it? YES, YES, YES, I know you are going to explain to me again that how inefficiently it is going to be..... The truth is After I feel more secure with the program, I would go ahead and 'typedef unsigned BOOL' to regain the speed I wanted first but was afraid to trade-off with bugs. #ifdefine DEBUG typedef enum { NO=0, YES=1 } BOOL; #else typedef unsigned BOOL; Would you rather insert these checking in your code as: if ((ret==YES) || (ret==NO)) then GOOD! else BAD!! Or let the enum handle the dirty works? Please NO FLAME! I was just using my BOOL as an easy example, do not try to convince me that BOOL has got a different implementation. Nice and easy and I believe it is much more elegant than to physically insert every NULL check in the spots when using string functions. YES, I believe a set of string macros that overrides the string functions to force the NULL check with bug report is worth a while. And you may flip it back again when all the trivial bugs are removed. But still the after shock checking is there which really makes my code looks ugly. :-( BOOL isaString(str){ check for NULL terminated char array } if (isaString(str1) && isaString(str2)) strcpy(str1,str2); I guess people just love it when your total accomplishment was judged by the number of lines of code in your Program back in the 80's. -- +----------------+ | Gary I. Chang | +----------------+ Northwestern Univ. E-Mail: garyc@eecs.nwu.edu
Newsgroups: comp.sys.next.programmer From: jalegre@tsp.med.umn.edu (John Alegre) Subject: Xlib/Motif programming on a NeXT? Message-ID: <C5AK9x.3vr@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Sat, 10 Apr 1993 23:36:35 GMT We are beginning a development project to roll a UI using Xlib/Motif. We are doing the development work on a NeXT platform. We have over 2 years experience with NeXTSTEP and at least one with X programming. However -- This project is to be done in C++. If anyone has any experience on integrating C++, Pencom's co-Xist/Motif package, and the development environment on the NeXT we would appreciate your comments. Is it easy to manage such a project under Project Builder? Is there anything different (except syntax) in building widgets under C++, than conventual C (we lave lots of experience in C, and objective C, little in C++), and most importantly how about debugging? Is it possible to use the NeXT debugging tools with C++ and Motif? John N. Alegre Andante Systems ############################################################# # NeXTMail preferred. | # jdev@andante.mn.org | # alegrej@andante.mn.org | If you plant ice, # jalegre@lenti.med.umn.edu | you're gonna harvest wind! # alegrej@libros.andante.mn.org | Hunter/Garcia #############################################################
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Screen Redirection Message-ID: <1180@rtbrain.rightbrain.com> Date: 11 Apr 93 00:45:35 GMT References: <1q40alINNnso@technet1.shl.com> Sender: glenn@rightbrain.com Stephen Furth writes > I am looking for a way to, for lack of better descripton, redirect the contents > of one system's screen to another. I think that Bill Tschumy has an application that will do that. I'm trying to remember the name of his company and the app. Rather than my guessing, maybe Bill is out there and/or somebody else can remember it. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: sailer@hpuerca.atl.hp.com (Lee Sailer) Newsgroups: comp.sys.next.misc,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: Garfinkel / Mahoney Book ERRATA Message-ID: <C5Ar6I.73D@hpuerca.atl.hp.com> Date: 11 Apr 93 02:06:17 GMT Article-I.D.: hpuerca.C5Ar6I.73D References: <C58IvF.9Dw@csulb.edu> Organization: Hewlett-Packard NARC Atlanta Hey. Thanks. Great book, and now great service, too. -- Lee Sailer - Let's leave my employer out of this, OK?
Newsgroups: comp.sys.next.programmer From: jgg@proforma.com (J. G. Gregory) Subject: Re: DPS error- 3DKit problems Message-ID: <1993Apr10.205156.537@proforma.com> Sender: jgg@proforma.com Organization: Pro Forma References: <1q5fmaINNfd9@shelley.u.washington.edu> Date: Sat, 10 Apr 1993 20:51:56 GMT In article <1q5fmaINNfd9@shelley.u.washington.edu> kdj@groebner.me.washington.edu (Kimberley Johnson) writes: > >I am creating a graphics application with the 3-D kit. Sometimes I get >the error: > >DPS client library error: Invalid port, DPSContext 0, data 19 > >during the renderself method. Assuming you are using 3.0, there is a known bug in the 3Dkit that causes this problem. It is due to data size; how much you are trying to draw, and the limit is very small. I was told it has been improved in 3.1, if not fixed, but the problem is not an easy one to fix, and may happen in the future. I find the error messages issued by DPS and the like to be totally useless. The DPSContext and data values don't seem to have anything to do with the problem. --J Gregory
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit Wish List Message-ID: <1993Apr10.213508.679@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Sat, 10 Apr 93 21:35:08 GMT I just thought that this topic might be of interest. For myself there are a number of generalizations about the DBKit IB interface and some of the run time interfaces that are worth mentioning. 1) I would like the selection of DBAssociation subclass to be determined by the user interface object not hard coded into the DBModuleTemplate class. A method like -associationClass would help a lot in creating custom user interface elements that connect to a DBModule without need for custom code to establish the connection. 2) I would like the DBModuleTemplate class to be documented and to allow queries regarding the list of fetch groups and properties in the fetch groups so I can adapt my pallet's behavior accordingly. 3) I would like the DBRelationship class to be documented. Right now there is not legal method of traversing the database structure and knowing the join conditions that got you there. I have applications where this is important in constructing updates and queries. 4) Provide a direct means of selecting the class for a DBFormatter for use in a DBTableVector. What use are custom formatters if the user needs to write code to use them. There is nothing the user should not be able to do from IB that relates to class selection, and object connections. 5) Heck while you are at it document all the DBKit classes. This business of private classes and public protocols does NOT help when I want to subclass or extend the functionality of the DBKit in ways I considder necessary and obvious. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: What are the best tools for learning IB programming? Message-ID: <16BAD2456.UC512052@mizzou1.missouri.edu> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Sun, 11 Apr 1993 07:35:02 GMT Hello, Between semesters I would like to expand my IB programming skills, which, to be quite honest, are very limited. Aside from the G&M book, for which I am looking, and the IB tutorial on sonata et al., can anyone kindly suggest some other types of related material which would be useful? Perhaps some well-written, well-documented apps on sonata et c.? I am well- versed in C, but not Objective-C, so some answers pertaining to that would probably also be quite helpful. No NeXTMail yet, please. Thank you. Followup or private email is fine. Regards, David K. Drum uc512052@mizzou1.missouri.edu
From: krab@iesd.auc.dk (Kresten Krab Thorup) Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <KRAB.93Apr11140615@xiv.iesd.auc.dk> Date: 11 Apr 93 13:06:15 GMT References: <1993Apr8.174521.2746@afs.com> <1179@rtbrain.rightbrain.com> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University In-Reply-To: glenn@rightbrain.com's message of 10 Apr 93 01:36:09 GMT >>>>> On 10 Apr 93 01:36:09 GMT, glenn@rightbrain.com (Glenn Reid) said: Glenn> Gregory H. Anderson writes > One simple test might be to ask the object if it 'isa' object: > > BOOL presumablyGood = [object isKindOf:[Object class]]; Glenn> This would seem to be a good test, because, in the debugger, a freed Glenn> object always has NULL in the 'isa' field. Glenn> However, you can't even send a message to a freed object. You crash Glenn> in obj_msgSend() or something like that. So that's out. In the GNU Objective C I intend to have a special class `Deallocated' which is pointed to by the isa link in instances which are freed. This should be a root class, and only understand "doesNotRecognize". This is somewhat safe, since you can still send messages to it -- but only until someone allocates that piece of memory for another object. /Kresten -- Kresten Krab Thorup | / | E-mail : krab@iesd.auc.dk Institute of Electronic Systems | ,-'/( | S-mail : Sigrid Undsetsvej 226A Aalborg University | / | \ | 9220 Aalborg \O Fr. Bajers vej 7, DK-9220 Aalb | A U C | Denmark ------------------------------------------------------------------------------- Member of The League for Programming Freedom
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: mgb@moksha.uucp (Michael Branton) Subject: incompatible postscripts Message-ID: <1993Apr11.180201.6950@moksha.uucp> Keywords: postscript Sender: mgb@moksha.uucp (Michael Branton) Organization: Totally Disorganized Date: Sun, 11 Apr 1993 18:02:01 GMT I have a friend who needs to read and display on his NeXT postscript files created from lots of different sources: next apps, mac apps and windows/dos apps. He's finding that there's postscript and then there's postscript. Some implementations add stuff, others don't support stuff. Are there any good tools for trying to massage postscript files into any sort of "standard" that the NeXT will be able to display ? Any other ideas you may have would certainly be welcome. Thanks. --- mgb@moksha.UUCP mgb@stetson.BITNET NeXT mail welcome ! -- -Michael
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: What are the best tools for learning IB programming? Message-ID: <66312@mimsy.umd.edu> Date: 12 Apr 93 00:45:20 GMT References: <16BAD2456.UC512052@mizzou1.missouri.edu> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <16BAD2456.UC512052@mizzou1.missouri.edu> UC512052@mizzou1.missouri.edu (David K. Drum) writes: > Aside from the G&M book, for which > I am looking, and the IB tutorial on sonata et al., can anyone kindly > suggest some other types of related material which would be useful? the UHOOP tutorial on sonata is very helpful. and many of the Mini Examples as well -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: Finding out if object is freed? Message-ID: <C5Bzw5.A6A@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Trilithon Software References: <1993Apr10.191027.368@sifon.cc.mcgill.ca> Date: Sun, 11 Apr 1993 18:12:03 GMT In article <1993Apr10.191027.368@sifon.cc.mcgill.ca> samurai@cs.mcgill.ca (Darcy BROCKBANK) writes: >In article <1179@rtbrain.rightbrain.com> glenn@rightbrain.com writes: >> >>if ( myList ) { >> [[myList freeObjects] free]; >> myList = NULL; >>} > >This is a good habit, particularly: > >myObj = [[MyObj alloc] init]; > >and > >myObj = [myObj free]; > > >Note that it can generate bugs, since if you then start messaging >myObj, the messages will just return 0. Since you've just freed >myObj, it may be that it was your intention that myObj is not >to be used anymore (as it would be in C). It'll be harder to find >the error when your code runs smoothly while messaging the >disposed object. > >Of course, this is a feature, not a bug! You just have to use >an OO mentality instead of a C-pointers-are-death-as-well-as-the >breath-of-life mentality... > >- db > Actually the messaging myObj after freeing it will crash the app and the debugger will tell you that you tried to message a freed object. If you message a nil pointer, the result is nil, not an error. However, if you message a non-nil pointer that still points where an object used to be, you crash. As of 3.0 (I think) the error you get actually tells you that you messaged a freed object (I assume only until the memory gets reallocated, if ever).
From: titmouse!bshirley (C. William Shirley) Newsgroups: comp.sys.next.programmer Subject: DPSDoUserPath & UserPath.m Message-ID: <1993Apr12.034530.3304@gleap.jpunix.com> Date: Mon, 12 Apr 1993 03:45:30 GMT Sender: bshirley@gleap.jpunix.com Organization: The Republic of Texas I am trying to speed up some simple path stroking. I was looking into using DPSDoUserPath. I am only using rlineto and rmoveto. I found UserPath.[hm] in the examples (Backspace). Are there any caveates in using it? I seem to be having problems with it. (which could be DPSDoUserPath problems) Is there a limit to the amount of data that may be sent as a path? I am sending *losts* of data to the server (32770 points, 16386 ops in one case) If I just cut them up into smaller pieces will that be ok? The errors are of the type... %%[ Error: undefined; OffendingCommand: ]%% DPS client library error: PostScript program error, DPSContext 130248 %%[ Error: undefined; OffendingCommand: :BO9 OA ]%% DPS client library error: PostScript program error, DPSContext 130248 %%[ Error: undefined; OffendingCommand: ]%% thanks, -bill -- Bill Shirley (NXceptable) BShirley@GLeap.jpunix.com (home) BShirley@ATG.WilTel.com (work) ``That's a very nice hat you're wearing and I don't mean that in an Eddie Haskel kind of way.''
Newsgroups: comp.sys.next.programmer,comp.sys.next.bug From: harit@kripalu.com Subject: DBKit and relationships Message-ID: <1993Apr12.122850.1590@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Mon, 12 Apr 93 12:28:50 GMT Has anyone else run into the problem with executing a query where the only properties selected are in a relationship? I have a query that requests a property that is in a relationship and does not request any values from the base entity. The SQL generated is incorrect. The select list is correct but it does not generate the join to the relationship's table nor put the second table in the from clause! This looks like a problem reportedly fixed in 3.1 but I am not sure. I wish I had access to the 3.1 beta to test it out there. --- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288 -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: russ@psych.toronto.edu (Russell Sutherland) Subject: PS Fax header specification Message-ID: <1993Apr12.154359.26163@psych.toronto.edu> Organization: Department of Psychology, University of Toronto Distribution: na Date: Mon, 12 Apr 1993 15:42:15 GMT Could someone please e-mail me the specifications that would allow one to use the lpr command to send a PS file to a fax modem. I assume that there are some special PS comments that NeXT uses to extract the remote telephone number etc. Thanks in advance. -- Russell Sutherland Bell: (416)-978-5140 Office of the Dean Uucp: ...{utzoo,utgpu}!utas!russ Faculty of Arts and Science Internet: russ@artsci.utoronto.ca
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr9.102235.11026@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Apr8.174521.2746@afs.com> Date: Fri, 9 Apr 1993 10:22:35 GMT In article <1993Apr8.174521.2746@afs.com> greg@afs.com (Gregory H. Anderson) writes: > One simple test might be to ask the object if it 'isa' object: > > BOOL presumablyGood = [object isKindOf:[Object class]]; > > I don't know whether the free method in the Object class intentionally > obscures the isa instance variable, or just frees the malloc. In the > latter case, it might still appear to be a good object (using my test > above) even if it's been freed. I think there is a class FREED that the isa instance variable is changed to. I managed to get an error panel telling me: Error freeing an object of class FREED or something this way. I don't know if this is a feature of NS3.0, InterfaceBuilder (because in this program I got the panel) or if it is always done when calling Object's free method (as I believe). > In any event, all bets are off if that > block of memory ever gets reused, because there's no way to say what > you'll be looking at. > Right. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: cahalan@clouds.gsfc.nasa.gov (Robert F. Cahalan) Subject: more corrections for Garfinkel/Mahoney Message-ID: <C5Douo.sx@skates.gsfc.nasa.gov> Sender: usenet@skates.gsfc.nasa.gov Organization: NASA Goddard Space Flight Center - Greenbelt, MD USA Date: Mon, 12 Apr 1993 16:08:47 GMT Many thanks to Michael K. Mahoney for posting the errata to his excellent book with Simson L. Garfinkel. I hadn't noticed some of the errors in that list. Here's a few additions: page line correction/comment xvii 11 to the door --> the door 103 -3 omit this redundant line 107 -4 150 X 350 --> 100 X 350 169 1 outlet --> method (doUnaryMinus) 169 1 method --> outlet (infoPanel) 204 14 need you --> you need 218 2 at --> a 250 13 ..running NextSTEP on the same network, you .. --> accessing each other's files through NFS mounts, you.. Note that this last correction is especially important in mixed networks, since you don't want the NeXTs screwing up permissions on files sitting on non-NeXTs. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .Dr. Robert F. Cahalan (Bob)...#..Laboratory for Atmospheres...... .cahalan@clouds.gsfc.nasa.gov..#..NASA-Goddard Space Flight Center .*** NeXTMail accepted ***.....#..Greenbelt, MD 20771............. .FAX: (301) 286-1627...........#..voice: (301) 286-4276........... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.sys.next.programmer From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr12.165502.24845@sifon.cc.mcgill.ca> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1993Apr10.191027.368@sifon.cc.mcgill.ca> <C5Bzw5.A6A@lorax.com> Date: Mon, 12 Apr 1993 16:55:02 GMT In article <C5Bzw5.A6A@lorax.com> mike@lorax.com (Mike Ferris) writes: >In article <1993Apr10.191027.368@sifon.cc.mcgill.ca> samurai@cs.mcgill.ca >(Darcy BROCKBANK) writes: >>This is a good habit, particularly: >> >>myObj = [[MyObj alloc] init]; >> >>and >> >>myObj = [myObj free]; >> >> >>Note that it can generate bugs, since if you then start messaging >>myObj, the messages will just return 0. Since you've just freed [ deleted ] >Actually the messaging myObj after freeing it will crash the app and the >debugger will tell you that you tried to message a freed object. If you >message a nil pointer, the result is nil, not an error. However, if you >message a non-nil pointer that still points where an object used to be, Double check what I wrote. the [Object free] message returns nil, and I've reassigned the myObj id to the return value of the message. Thus subsequent messages to myObj will return 0 as I've said. The point that I'm really trying to hammer home is that "messages to nil may be syntactically correct, but may be semantically incorrect". C programmers are used to NULL being an invalid address, while nil is not (in terms of messaging). If I did something like this in my code: char *tmp; /* malloc and use tmp */ free(tmp); /* program continues */ strcpy(tmp,"Hello"); When my program crasehd, it would be very obvious to me what the error was. The similar scheme in ObjC, with correct usage would be: String *tmp; tmp = [[String alloc] init]; /* use tmp */ tmp = [tmp free]; /* program continues */ [tmp copyString:"Hello]; This will not crash, or generate any error, which is a feature, not a bug, and can be very powerful. However, in this case I really wanted to copy "Hello" into my object. My program has a semantic error, and it could be more difficult to track the error down because the message to nil is syntactically valid. So, my point again is that you should do this: tmp = [tmp free], but you should be aware of the above scenario. Not reassigning the pointer is fine too, and allows you to catch errors as above. >you crash. As of 3.0 (I think) the error you get actually tells you that >you messaged a freed object (I assume only until the memory gets >reallocated, if ever). This is true. It's handled by having a special class object to which newly freed objects have their "isa" pointers point to. Any attempt to evoke a method in the newly freed object will result in an error message, and a program abort. After the memory is reallocated what used to be the isa pointer will probably be overwritten. Subsequent messages to the former object will result in seg fault or whatever... - db
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: emurphy@cs.uno.edu (Edward Murphy) Subject: (?) has nfswatch been ported to the NeXT? Message-ID: <1993Apr12.180711.2728@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Mon, 12 Apr 1993 18:07:11 GMT howdy. has anyone heard/seen a version of the "nfswatch" monitoring program which has been ported to the nExt? when we tried to compile it, there were *many* compilation warnings/errors. on a related note: if nfswatch has not been ported to the nExt, then are there any network monitoring programs available for nExtstep which could be recommended for use or to stay away from? any comments on the above requests are welcome via email or post. ed
From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: comp.sys.next.programmer Subject: cc can't find .h files... Date: Mon, 12 Apr 1993 14:42:56 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Message-ID: <EfmPUka00iMFM2EExq@andrew.cmu.edu> On some nextstations with small drives, /usr/include is mounted as /usr/local/include. But cc is not smart enough to deal with /usr/local/include being a TREE instead of being filled with .h files. I think cc thinks /usr/include is special, and knows to look down each subdirectory to find what its looking for. But with /usr/local/include, I have to "-I- -I" each and every directory... a real mess... before cc groks the entire set of library headers. What's going on? Am I right that the /usr/include location is special? Hardcoded? Can I get around this mess in my Makefile? thanks in advance! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | NeXTStep | This message represents| | or jm7e+@andrew.cmu.edu | Software | my opinions, alone. | |FAST Laboratory, CMU-GSIA |------------| Thank you, Mask Man. | | B.S. Mech Eng. CMU,1992| Certificate Mixology,1992 |No NeXTMail, yet | ----------------------------------------------------------------------
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc Subject: Final Call for Submissions for the Computerworld Object Application Awards Message-ID: <7392@rosie.NeXT.COM> Date: 12 Apr 93 18:43:56 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy For further information, contact: Bill Hoffman Computerworld Object Application Awards Program c/o Object Management Group 492 Old Connecticut Path Framingham, Massachusetts 01701 Phone: 508-820-4300 Announcing Final Call for Submissions for the 1993 Computerworld Object Application Awards [Deadline for submissions: Thursday, April 15, 1993.] The 2nd annual Computerworld Object Application Awards are being sponsored by Computerworld Magazine and the Object Management Group. Finalists will be notified in early May and winners will be announced at a special ceremony Wednesday, June 16th, at Object World, in Moscone Center, San Francisco. Steve Jobs will be the master of ceremony for the event. Who should enter: Submit innovative custom applications using object technology under the following guidelines: - a custom application not for resale - a custom application currently in use - an application you built from scratch - a modification of an off-the-shelf application An application form has been placed on the cs.orst.edu archive site under the following file: /pub/next/submissions/Object_Awards-Computerworld-93.ps.Z
From: jayk@wpsun4.UUCP (Jay Kint) Newsgroups: comp.sys.next.programmer Subject: oneway (async) messages Summary: user asking help in using keyword oneway in Objective C Keywords: oneway Objective C messages asynchronous Message-ID: <783@wpsun4.UUCP> Date: 5 Apr 93 18:46:35 GMT Organization: WordPerfect Corporation, Orem UT Has anyone had any success with using oneway messages. I try to compile @interface blah: Object { ... } - (oneway) func1; - func2; @end and the compiler says there is a parse error before oneway, yet I substitute void for oneway and it compiles fine. Anything I'm doing wrong or success stories appreciated. Jay wpsun4!jayk@uunet.uu.net
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: Screen Redirection Message-ID: <1993Apr12.173125.23676@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <1180@rtbrain.rightbrain.com> Distribution: usa Date: Mon, 12 Apr 93 17:31:25 GMT In article <1180@rtbrain.rightbrain.com> glenn@rightbrain.com (Glenn Reid) writes: >>Stephen Furth writes >>> I am looking for a way to, for lack of better descripton, redirect the >>contents >>> of one system's screen to another. >> >>I think that Bill Tschumy has an application that will do that. I'm >>trying to remember the name of his company and the app. Rather than >>my guessing, maybe Bill is out there and/or somebody else can remember >>it. >> >>-- >> Glenn Reid NeXTmail: glenn@rightbrain.com >> RightBrain Software 415-326-2974 (NeXTfax 326-2977) >> Palo Alto, California Electronic Frontier Foundation, member #054 For Immediate Release: For further information contact: Bill Tschumy Otherwise 1501 Lowe Ave. Bellingham, WA 98226 206-647-9436 (voice & Fax) screencast@otherwise.com Screen Sharing Software for NeXTSTEP 3.0 Bellingham, Washington, Feb 3, 1993 - Otherwise announces the shipping of its screen sharing software, ScreenCast. ScreenCast lets users broadcast the display of one NeXTSTEP computer to one or more other computers on the same network. The sender's display is duplicated on each of the receiving computers. What's more, everything that appears on the sender's display typing, window movements, mouse actions is simultaneously echoed on the receiving machines. The number of receivers that can simultaneously participate in a ScreenCast session is limited only by network bandwidth. Under normal conditions, approximately 25 receivers is a practical limit. The receiving machines can do more, however, than just echo the image of the sender's display. Each participant in a ScreenCast session can also interact with the shared image. Typing and mouse actions on any machine in the group appear on all machines. Thus, ScreenCast removes the barriers to truly collaborative computing. Users can talk on the phone while they discussPand interact with the shared display. It doesn't matter whether they are across the hall or across the country. ScreenCast is perfect for providing user support within an organization. Support personnel can troubleshoot problems by viewing a copy of the user's display and watching or guiding the user's actions. ScreenCast is also great for educational computer labs where students can easily monitor the instructor's display by watching their individual computer screens. Beta Customers Rave About ScreenCast "ScreenCast has allowed telecommuting to become a reality for members of our company. There is nothing better for explaining an idea than grabbing the mouse out of someone's hand and showing them from 1500 miles away! We have been able to use it for discussing spreadsheets, program design, and training from remote sites, a necessity for a multi-site corporation," said Sean Hill, Director of Application Development, CCSI Software. "We are excited by the fact that ScreenCast has the potential of greatly simplifying the task of training in the classroom. It essentially does away with the need for large screen projection which is not always a satisfactory solution for students sitting in the back of the room. ScreenCast also adds the dimension of interactivity to the training environment not present with projection systems," said Don Baker, Technical Services Coordinator, Indiana University School of Journalism. "ScreenCast has been a major time saver for providing help to remote users on our nationwide network. We are able to "see" the remote users' screen locally, visualize their problem, and "show" them the solution to their question without having to physically go there as was often the case previously. We plan to license ScreenCast on all our NeXT machines," said Ron Broersma, Naval Command Control and Ocean Surveillance Center (NCCOSC). "I just received v19 (Beta) this morning and I've been playing with it for the past 2 hours. All I can say is Wow!!! I'm so excited you can't believe. You have created something wonderful," said Salvatore Saieva, Unix Systems Administrator, Queens College. Price and Availability Version 1.0 of ScreenCast is now available directly from Otherwise. A 35% educational discount will be given on all prices. Orders and inquires should be addressed to : Otherwise 1501 Lowe Ave. Bellingham, WA 98226 206-647-9436 (voice & Fax) screencast@otherwise.com Otherwise was founded August 1992 by Bill Tschumy, former NeXT software engineer. Located in Bellingham, Washington, the company develops high-quality NeXTSTEP applications geared toward education. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScreenCast and Otherwise are trademarks of Otherwise. NeXT and NeXTSTEP are trademarks of NeXT Computer, Inc. -- Ronald Pomeroy |"We are Microsoft. Advanced Micro Devices | Unix is irrelevant. CAM Applications Group | Openness is futile. rpomeroy@aunext1.amd.com | Prepare to be assimilated." (NeXTmail is more fun) | - Steve
From: tracy@athena.com (Tracy Kugelman) Newsgroups: comp.sys.next.programmer Subject: Athena Design Welcomes Custom Programmers Date: 12 Apr 1993 19:16:15 GMT Organization: Athena Design, Inc. Message-ID: <1qcf5v$pnd@hermes.athena.com> ****Athena Design Welcomes Custom Programmers at NeXTWORLD EXPO**** Athena Design is making space available at NeXTWORLD EXPO to developers who have designed custom apps using MESA. Athena Design will have a computer available at Booth #208 during the EXPO to show off new applications using Mesa's custom programming features. We are taking registrations from all interested developers. We will try to accommodate as many people as possible. Please contact us early. Please provide me with a brief description of what your app or AddIn can do. Please bring your disks and any information you would like to give out. Please specify what hardware specifications you require. If you are interested please contact Tracy Kugelman at tracy@athena.com. -- ----------------------------------------------------------- Tracy Kugelman Athena Design tracy@athena.com 17 St. Mary's Court NeXT Mail Welcome Boston, MA 02146 -----------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: dflora!peter@wpa.com (Peter D. Wilson) Subject: NeXT Distributed Objects vis-a-vis Others Message-ID: <1993Apr12.170651.482@wpa.com!dflora> Sender: peter@wpa.com!dflora Organization: Peter Wilson Distribution: na Date: Mon, 12 Apr 1993 17:06:51 GMT This is a re-post. I'm not sure where the last one went. Have any object request brokers, ORB's, been constructed which allow services provided by NeXT-Distributed-Objects to be accessed outside the NeXT community ? What is the current state of distributed object technology elsewhere ? Thanks -- -------------------------------------------------------------------------- peter d. wilson dflora!peter@wpa.com (NeXT prefered) wilsonp@mobot.org (god no!)
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Distributed Objects can't pass char* strings both ways (or can they?) Message-ID: <1993Apr12.201954.15860@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA Date: Mon, 12 Apr 1993 20:19:54 GMT Trying to build a client/server model program, I needed to do the following: in client class: -needData { char realBuffer[129]; char *buffer; int outlen; memset(realBuffer,'*',128); /* initialize the buffer */ realBuffer[128] = '\0' /* null-terminate the buffer */ buffer = realBuffer; /* was told DOs may not work with char arrays */ [server getData:buffer :&outlen]; printf("got back %d bytes\n",outlen); printf("got back <%s>\n",buffer); return self; } in server class: -(void)getData:(char *)buffer :(int *)outlen { strcpy(buffer,"THIS IS A TEST"); outlen = strlen("THIS IS A TEST"); return; } Where the server object is properly connected to a server process (all the connection stuff works just fine), the above example returns 14 for the value of outlen (as expected and per the documentation) but the value of buffer is unchanged in the client. According to the documentation, null-terminated strings (i.e., pointers to char) that are not const are copied to the server and the resulting value is copied back to the client. This is apparently not working right (or I am doing something stupid :-) I have worked around the problem by creating a buffer OBJECT on the client side with a char * buffer inside the object, passing the buffer id (which vends the buffer to the server), and having the server pass back the buffer results by sending a return message to the buffer object. This works just fine (the results that I expect appear on the client side as required). This may even be a better way to use the DO system for all I know. I just want to know if I am crazy, dumb or there is a bug in the DO system when passing char * strings. Oh, by the way, I also tried passing a char ** (a pointer to the string pointer) and having the server allocate the string and pass it back (the documentation sort of obliquely says this should work to) but I get a segmentation fault when I try to make this work. On a another issue, the outlen parameter (which does work okay) gets copied from the client and then back to the server according to the documentation. This is unnecessary since I don't care about the outlen value going to the server. The docs say you can add a new keyword (out) which tells the DO system that the outlen parameter is outbound only and it will not copy the value from the client at the moment of the initial message. I tried putting the out keyword as shown in the docs ":(out int *)outlen" but I get a syntax error. Someone said I need to use protocols. Why? How? Help!!! Thanks, Jon Rosen
Newsgroups: comp.sys.next.programmer From: dean@thrall.com (Dean Johnson) Subject: SuperDebugger vs. BugByte Message-ID: <1993Apr12.181409.18323@nwnexus.WA.COM> Sender: news@nwnexus.WA.COM (USENET News System) Organization: Northwest Nexus Inc. (206) 455-3505 Date: Mon, 12 Apr 1993 18:14:09 GMT I am thining about getting a debugger for my NeXTstation, but would like to find out which is best. So if you could e-mail me your opinions about these two products to help me with my choice; I would be very appreciative. Thanks for your time, dean -- NeXTmail Please | More computer stuff! | dean@thrall.com | - My wife |
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Writing DBKit adaptors. Message-ID: <1993Apr12.203452.11643@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Mon, 12 Apr 1993 20:34:52 GMT Reading from General Reference, Volume 2, it says: see Dev Tools and Techniques chapter 7. That, however, does not give any direction on writing DBKit adaptors. Where can I find info? Thanks, -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: UniVerse Adaptor? Message-ID: <1993Apr12.155405.1997@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Mon, 12 Apr 93 15:54:05 GMT Has anyone done or seen an adaptor for the UniVerse PICK emulator? -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Subject: CubicSlider 1.2 palette uploaded Message-ID: <1993Apr12.220611.21926@cc.umontreal.ca> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Date: Mon, 12 Apr 1993 22:06:11 GMT In this never ending, obsessional quest toward perfection, I've completed a 1.2 version of... *** The CubicSlider *** "This palette is probably the most respected slider subclass on the planet..." Bibite 93 "People will buy copies of NeXTSTEP just to use it" (The hypest statement about NeXTSTEP products) "Don't be seduced." An impartial, well informed, Unix Review editorialist. Seriously, this slider has been designed with YOU in mind! It's not a spinoff from a personal application, it offers a fully general functionality and won't impose you an undesired feature ("well, I would like this, but not that"): everything is optional and, as a true subclass, it can be used EXACTLY (well, almost) like a plain Slider (but who will? 8^) What is the CubicSlider? A Slider subclass featuring two (YES! TWO!) independent useful functionalities: [1] It allows verrrrry precise and direct control (without ALT) of its of value: you can cram the precision of a 2000 pixel wide slider in a 100 one ! It uses a cubic polynomial transfer function dynamically redefined on each mouseUp. Yup. [2] Extrema values are user editable (just a double-click away!) by (exactly) hiding the slider behind a form (where you can type in a new min or max value, enlarging the slider range) and two buttons, which functions are: 1- to put the current knob value as the new min/max value, thus narrowing the slider range; or 2- to double the present range and add it to the specified extremum. New in 1.2 - Nicer and more detailed documentation (a la AppKit.rtf) - minValue or maxValue can be locked: users won't be able to access them. - An absolute range option: users won't be able to exceed it (minimum and/or maximum values). - h & m inspector files properly declared in IB.proj Finally, great effort have been put in the demo program design, it will allow you to instantly grasp the full power of this feature packed slider! 8^) Includes palette and demo sources, NS2.1 nibs, documentation.rtf, etc... submitted at cs.orst.edu : CubicSlider1.2.tar.z and CubicSlider1.2.README _________________________________________________ older release 1.1 announcement: New version of CubicSider (was 1.0) OK folks, rejoice! Why? Because I've submitted my Slider subclass palette (NS2.1) to the archive... There have been: - G.H. Anderson's RangeSlider (soon to be released by AFS ) - Don Yacktman's RotationSlider 1993 - Vince Demarco's CircularSlider 1991 - Andrew Stone's DualActingSlider 1990 - NeXT's MySlider and MySliderCell (Ensemble, ext. dev.version 2.1), and now... for something a completely different: ** the CubicSlider1.1 ** THIS one is THE definite Slider subclass!... Oops, the definite HORIZONTAL, FLAT Slider subclass... 8^) Plain Slider drawback #1: - high granularity (i.e the finest mouse movement create a large value variation). Plain Slider drawback #2: - minValue and maxValue settings aren't accessible to the User. There are different existing solutions (ALT drag, popping panels, etc...), none completely satisfied me... Here's how I address the low resolution problem: Create a non-linear transfer function, (for which input is the knob position, and output, the slider value) with a very low slope region around the current knob position, thus giving a high precision (large knob moves give small value variations). On mouseUp, redefine the transfer function so its flattest zone still surrounds the new value. The function used is simply the cubic polynomial (without any extrema) y=x^3, adequately scaled and x y-translated for a) the point ( minValue, minValue) to be on the curve, b) the point ( maxValue, maxValue) to be on the curve too, c) the null slope point to be at y = "value previously selected". One inevitable consequence of the dynamical redefinition of the fct is the repositioning of the knob (on mouseUp) at a new position in the slider: new function, same y -> new x... It takes a little time to get used to, but the advantage is considerable: on a 100 pixels wide slider one can reach (in three or four trials) a desired value within a precision of 1 in 100 000... (a trial being a mouseDown, mouseDragging and mouseUp sequence). What about min and maxValues User access? Just dbl-clicking the slider ... "It just works, virtually." TM 8^) A NOTE FOR YOU BEGINNERS OUT THERE: ( I know: I'm one...) Subclassing Appkit objects is IMHO a good starting point to learn NeXStep programming... It gives occasions to meet overall concepts of NeXStep: views, delegation, events & responders, Cells VS Controls , etc... all this in a well contained small PERSONAL project (uhh? graph paper? Na. I want something of my own 8^). What's more, you can palettize it (IB custom palette) and make all of us benefice from your first NeXTsteps! Palettes are fun. passez une bonne journee, RL departement de physique, etat solide, 2e cycle, Raymond Lutz ND_cube_NeXT_newbe_wannabe lutzray@ERE.UMontreal.CA (ascii only)
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: lutzray@ERE.UMontreal.CA (Lutz Raymond) Subject: CubicSlider 1.2 palette uploaded Message-ID: <1993Apr12.215014.21397@cc.umontreal.ca> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Date: Mon, 12 Apr 1993 21:50:14 GMT In this never ending, obsessional quest toward perfection, I've completed a 1.2 version of... *** The CubicSlider *** "This palette is probably the most respected slider subclass on the planet..." Bibite 93 "People will buy copies of NeXTSTEP just to use it" (The hypest statement about NeXTSTEP products) "Don't be seduced." An impartial, well informed, Unix Review editorialist. Seriously, this slider has been designed with YOU in mind! It's not a spinoff from a personal application, it offers a fully general functionality and won't impose you an undesired feature ("well, I would like this, but not that"): everything is optional and, as a true subclass, it can be used EXACTLY (well, almost) like a plain Slider (but who will? 8^) What is the CubicSlider? A Slider subclass featuring two (YES! TWO!) independent useful functionalities: [1] It allows verrrrry precise and direct control (without ALT) of its of value: you can cram the precision of a 2000 pixel wide slider in a 100 one ! It uses a cubic polynomial transfer function dynamically redefined on each mouseUp. Yup. [2] Extrema values are user editable (just a double-click away!) by (exactly) hiding the slider behind a form (where you can type in a new min or max value, enlarging the slider range) and two buttons, which functions are: 1- to put the current knob value as the new min/max value, thus narrowing the slider range; or 2- to double the present range and add it to the specified extremum. New in 1.2 - Nicer and more detailed documentation (a la AppKit.rtf) - minValue or maxValue can be locked: users won't be able to access them. - An absolute range option: users won't be able to exceed it (minimum and/or maximum values). - h & m inspector files properly declared in IB.proj Finally, great effort have been put in the demo program design, it will allow you to instantly grasp the full power of this feature packed slider! 8^) Includes palette and demo sources, NS2.1 nibs, documentation.rtf, etc... submitted at cs.orst.edu : CubicSlider1.2.tar.z and CubicSlider1.2.README _________________________________________________ older release 1.1 announcement: New version of CubicSider (was 1.0) OK folks, rejoice! Why? Because I've submitted my Slider subclass palette (NS2.1) to the archive... There have been: - G.H. Anderson's RangeSlider (soon to be released by AFS ) - Don Yacktman's RotationSlider 1993 - Vince Demarco's CircularSlider 1991 - Andrew Stone's DualActingSlider 1990 - NeXT's MySlider and MySliderCell (Ensemble, ext. dev.version 2.1), and now... for something a completely different: ** the CubicSlider1.1 ** THIS one is THE definite Slider subclass!... Oops, the definite HORIZONTAL, FLAT Slider subclass... 8^) Plain Slider drawback #1: - high granularity (i.e the finest mouse movement create a large value variation). Plain Slider drawback #2: - minValue and maxValue settings aren't accessible to the User. There are different existing solutions (ALT drag, popping panels, etc...), none completely satisfied me... Here's how I address the low resolution problem: Create a non-linear transfer function, (for which input is the knob position, and output, the slider value) with a very low slope region around the current knob position, thus giving a high precision (large knob moves give small value variations). On mouseUp, redefine the transfer function so its flattest zone still surrounds the new value. The function used is simply the cubic polynomial (without any extrema) y=x^3, adequately scaled and x y-translated for a) the point ( minValue, minValue) to be on the curve, b) the point ( maxValue, maxValue) to be on the curve too, c) the null slope point to be at y = "value previously selected". One inevitable consequence of the dynamical redefinition of the fct is the repositioning of the knob (on mouseUp) at a new position in the slider: new function, same y -> new x... It takes a little time to get used to, but the advantage is considerable: on a 100 pixels wide slider one can reach (in three or four trials) a desired value within a precision of 1 in 100 000... (a trial being a mouseDown, mouseDragging and mouseUp sequence). What about min and maxValues User access? Just dbl-clicking the slider ... "It just works, virtually." TM 8^) A NOTE FOR YOU BEGINNERS OUT THERE: ( I know: I'm one...) Subclassing Appkit objects is IMHO a good starting point to learn NeXStep programming... It gives occasions to meet overall concepts of NeXStep: views, delegation, events & responders, Cells VS Controls , etc... all this in a well contained small PERSONAL project (uhh? graph paper? Na. I want something of my own 8^). What's more, you can palettize it (IB custom palette) and make all of us benefice from your first NeXTsteps! Palettes are fun. passez une bonne journee, RL departement de physique, etat solide, 2e cycle, Raymond Lutz ND_cube_NeXT_newbe_wannabe lutzray@ERE.UMontreal.CA (ascii only)
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Fish - Scene How? Message-ID: <1993Apr12.090721.5418@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Mon, 12 Apr 1993 09:07:21 GMT How do you get the Fish to "FLOAT" above everything like the demo that came with 2.0's scene? I have an animation that I would like to do this with, but don't with to use scene and Don't wish to use a normal window. Any help is appreciated. IH -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: fl1ger@rrz.de (Ralf Weber) Subject: Re: Other NXWorkspaceRequestProtocol problems Message-ID: <1993Apr12.171301.311@rrz.de> Sender: fl1ger@rrz.de Organization: Rhein-Rechenzentrum GmbH, Koblenz, Germany References: <1q2i2qINNoh2@shelley.u.washington.edu> Date: Mon, 12 Apr 93 17:13:01 GMT Sean Lamont writes [...] > If anyone has any idea on why the app: fileOperationCompleted: > delegate doesn't work for me , let me know! This method never get's called. This is a known bug in 3.0 and hopefully will be fixed in 3.1. -- Ralf Weber E-Mail: fl1ger@rrz.de Rhein-Rechenzentrum GmbH (NeXTMail preferred) August-Horch-Strasse 28 CompuServe: 100024,1253 Postfach 1540 Voice: +49 261 892-519 D-W5400 Koblenz, Germany Fax: +49 261 892-525
Newsgroups: comp.sys.next.programmer From: frank@fnbc.com (Frank Mitchell) Subject: How do you make shared libraries? Message-ID: <1993Apr12.212557.29763@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA Date: Mon, 12 Apr 93 21:25:57 GMT Anyone know how to make a shared library? I've searched through documentation and found only tantalizing hints (in man pages, in NeXT answers, etc.) Is there some actual reference somewhere? -- Frank Mitchell email(work): frank@fnbc.com (NeXTmail) (home): frank@gagme.chi.il.us "Y'know, there are times like this when I wish I had an act." -- David Letterman (in a monologue)
From: msanford@loan3 (Mike Sanford) Newsgroups: comp.sys.next.programmer Subject: Re: DBKit and relationships Message-ID: <1993Apr12.213148.5945@pencom.com> Date: 12 Apr 93 21:31:48 GMT References: <1993Apr12.122850.1590@uunet!cbmvax!xmws!kripalu> Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software In article <1993Apr12.122850.1590@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: > Has anyone else run into the problem with executing a query where the > only properties selected are in a relationship? I have a query that > requests a property that is in a relationship and does not request > any values from the base entity. The SQL generated is incorrect. > The select list is correct but it does not generate the join to the > relationship's table nor put the second table in the from clause! > > This looks like a problem reportedly fixed in 3.1 but I am not sure. > > I wish I had access to the 3.1 beta to test it out there. > --- > Michael Allen Latta > Kripalu Center > harit@kripalu.com > (413)448-3288 > -- > Michael Allen Latta > Kripalu Center > harit@kripalu.com > (413)448-3288 I'm not sure exactly what your doing, but it sounds like you may be trying to construct a qualifier with a property that is not in the DBFetchGroup. For example, you can not retrieve "all the customers where their invoices are over $100", assuming there is a one to many from customer to invoice entities. There is a way to get around this. Set up a view that contains both tables and then you can build a qualifier on the desired property. I hope this is helps. - mike --- Michael C. Sanford Email: msanford@pencom.com Pencom Software Phone: (512) 343-6666 9050 Capital of Texas Hwy. N. FAX: (512) 343-9650 Austin, TX 78759 >>> NeXT Mail GLADLY Accepted <<< "Views here are mine and are not necessarily those of including, but not limited to, my employer, my associates, my family, and my community."
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr13.014024.2694@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Apr12.165502.24845@sifon.cc.mcgill.ca> Date: Tue, 13 Apr 93 01:40:24 GMT In my application, someObject is owned by Parent; references to someObject may exist in many places; someObject is reference counted. If the parent decides to free someObject, it sends a destroy message. When an object receives destroy it is possible to change the isa pointer of someObject to that of a tombstone class which only recognizes "free". This tombstone class continues to count down the references to the object until they reach zero, at which time the object is properly deallocated. @interplementation Tombstone:Object{ int references; } - free; - (unsigned)references; - destroy{ [self free]; //a destroy implies a free. self->isa=[Tombstone class]; //tombstone the object. return nil; //invariably, return nil. } @end The rest of NXReference is implemented in subclasses. All messages beyond those normally handled by Object are suddenly not recognized any longer, so the doesNotRecognize: method is sent to the receiving object. doesNotRecognize: raises a I_AM_DEAD exception. -marcos j. polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: rosario@oceanlaw.com Subject: re: Screen Redirection Message-ID: <1993Apr11.185048.658@oceanlaw.com> Sender: rosario@oceanlaw.com Distribution: na Date: Sun, 11 Apr 1993 18:50:48 GMT In comp.sys.next.programmer article <1180@rtbrain.rightbrain.com> you wrote: > Stephen Furth writes > > I am looking for a way to, for lack of better descripton, redirect the > contents > > of one system's screen to another. > > I think that Bill Tschumy has an application that will do that. I'm > trying to remember the name of his company and the app. Rather than > my guessing, maybe Bill is out there and/or somebody else can remember > it. > > -- > Glenn Reid NeXTmail: glenn@rightbrain.com > RightBrain Software 415-326-2974 (NeXTfax 326-2977) > Palo Alto, California Electronic Frontier Foundation, member #054 It's called screen cast by Otherwise, at 1-206-647-9436; e-mail is "screencast@otherwise.com" great app. and works just like promised. better than what you hoped for. demo available. -- -------------------------------- Rosario Perry rosario@oceanlaw.com -------------------------------- -- -------------------------------- Rosario Perry rosario@oceanlaw.com
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: Writing DBKit adaptors. Message-ID: <1993Apr13.034043.1232@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1993Apr12.203452.11643@rna.indiv.nluug.nl> Distribution: na Date: Tue, 13 Apr 1993 03:40:43 GMT In article <1993Apr12.203452.11643@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > Reading from General Reference, Volume 2, it says: see Dev Tools and Techniques > chapter 7. That, however, does not give any direction on writing DBKit > adaptors. Where can I find info? Having just written one .... NeXT doesn't make any such information public. You need to contact Software Product Marketing at NeXT, tell them that you need to write an adaptor, answer their questions (which in our case were very reasonable), and they will provide you with information relevant to your specific need, after you sign a non-disclosure agreement. M Carling President, Blue Rose Systems, Inc.
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: How do you make shared libraries? Message-ID: <1993Apr13.092159.17185@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Apr12.212557.29763@fnbc.com> Date: Tue, 13 Apr 1993 09:21:59 GMT NeXT does not support user-written shared libraries, and actively discourages pursuit of that approach. The current implementation is undocumented, and subject to significant, incompatible changes in the future. Many of the reasons why one would opt to use shared libraries on other UNIX systems are better served by other, supported NeXTSTEP and Mach facilities. (This ought to be in the FAQ list, it's come up MANY times before.) -=EPS=-
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: weird bug with "Collector" class Message-ID: <1184@rtbrain.rightbrain.com> Date: 13 Apr 93 10:07:23 GMT Sender: glenn@rightbrain.com I made up an arbitrary object class and decided to name it "Collector". I've implemented lots of classes, so this seemed like no big deal. But when I tried to do: [[Collector alloc] init]; I crashed in a very strange way: Program generated(1): Memory access exception on address 0x0 (protection failure). 0x502d39c in classIsEqual () (gdb) where #0 0x502d39c in classIsEqual () #1 0x500c77c in NXHashGet () #2 0x500c7c4 in objc_getClass () #3 0x6ab4 in - [Data=0x000cec28 salesReport: sender=(id) 0xd6df0] (Data.m line 1235) The reason it's weird is because, on a Hunch that comes from years of programming, I changed the name of the class to "Adder" instead of "Collector", recompiled, and the program went away. That was after I did: rtbrain> cd /usr/include rtbrain> grep Collector *.h */*.h rtbrain> There must be some weird internal class or implementation of something called "Collector" in the run-time system somewhere, as nearly as I can figure. Voodoo, this programming stuff. Has anybody else run into that or anything similar? Am I just missing something obvious since it's 3:00am?! This reminds me of seeing PostScript programs when I was at Adobe in which someone would innocently name a procedure "index" or "count" or some other PostScript operator name, which would sometimes wreak havoc on other code that assumed the original meaning of those operator names. Sigh. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: tspencer@dad.eecs.wsu.edu (Tim Spencer - EECS System Staff Slave) Newsgroups: comp.sys.next.programmer Subject: ZyXel voice messaging kit info? Message-ID: <TSPENCER.93Apr13023343@dad.eecs.wsu.edu> Date: 13 Apr 93 09:33:43 GMT Article-I.D.: dad.TSPENCER.93Apr13023343 Sender: news@serval.net.wsu.edu (USENET News System) Organization: /net/cs2/local2/users/tspencer/.organization Hello! I seem to remember somebody assembling a little phonekit type of thing that would take advantage of the voice messaging capabilities of the ZyXel U1496E+. The department may be purchasing such a modem soon, and I'm interested in seeing how it works and if it would be worth it to convince the higher ups to haul one of the NeXTs up into the office where the modem is to be set up to hopefully run the EECS system support line, or just to write something for one of the unfortunately plentiful decstations... Any pointers to any sort of useful information on ZyXel voice messaging stuff would be very welcome!! Reply to email, and I'll summarize if there is any sort of interest. Thanks, and have fun!! -- Tim Spencer: junior somebody at WSU. With EECS Systems Support I want Ethernet!! I like NeXT's!! tspencer@eecs.wsu.edu tspencer@snake.cs.uidaho.edu tspencer@wsuaix.csc.wsu.edu
Newsgroups: comp.sys.next.programmer From: jgg@proforma.com (J. G. Gregory) Subject: Why "No Renderers Available"? Message-ID: <1993Apr13.133027.779@proforma.com> Keywords: 3Dkit Sender: jgg@proforma.com Organization: Pro Forma Date: Tue, 13 Apr 1993 13:30:27 GMT When I try to use an N3DCamera's renderAsEPS method, I get a "No Renderers Available" message in the Render panel. I take it I need to tell somebody something, like the Netinfo database? But I find no mention of this problem in my NeXTAnswers (but I don't have the latest), the FAQ's, or the NeXT docs. Can someone who has run into this tell me what to do? Thanks. --J Gregory
Newsgroups: comp.sys.next.programmer From: andre@ramsey.cs.laurentian.ca (Andre Roberge) Subject: Re: more corrections for Garfinkel/Mahoney Message-ID: <1993Apr13.144254.27336@ramsey.cs.laurentian.ca> Organization: Dept. of Computer Science, Laurentian University, Sudbury, ON References: <C5Douo.sx@skates.gsfc.nasa.gov> Date: Tue, 13 Apr 1993 14:42:54 GMT Could anybody send me the posted list of erratas. I was away and only found out about it from the posted comments after our site had deleted the original message. Thanks in advance, Andre Roberge
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: How do you make shared libraries? Message-ID: <1993Apr13.134718.265@afs.com> Sender: Michael_Pizolato@afs.com References: <1993Apr13.092159.17185@csus.edu> Date: Tue, 13 Apr 1993 13:47:18 GMT In article <1993Apr13.092159.17185@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > NeXT does not support user-written shared libraries, and actively > discourages pursuit of that approach. The current implementation > is undocumented, and subject to significant, incompatible changes > in the future. > > Many of the reasons why one would opt to use shared libraries on > other UNIX systems are better served by other, supported NeXTSTEP > and Mach facilities. I hope this isn't an RTFM question, but like what? I know how to use bundles and my own (non-shared) libraries, but I thought the bonus with shared libraries is that their code pages, once in memory, are shared by multiple processes. As far as I know that is not the case with bundles. It's a great feature and I'm sure many of us would like to take advantage of it. Please correct me if I'm off the deep end here. Thanx, Michael P.S. I found a way to manage (unshared) library projects in PB. It bends the rules a little (e.g. you have to make PB think it's managing a bundle project), but it works. -- Michael_Pizolato@afs.com If you can't control your peanut ~18 kyu butter, how can you expect to Q16 control the rest of your life? NeXTMail appreciated - Calvin
Newsgroups: comp.sys.next.programmer Subject: DBTableView problem Message-ID: <1993Apr13.191237.81367@embl-heidelberg.de> From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Date: 13 Apr 93 19:12:37 +0100 OK. I can implement the DBTableView's delegate to get the tableViewWillChange method, but I do not have any idea if a change took place or not (the method is called when I select the row). Actually I need to implement the textWillEnd method from DBModule, but it's not possible to subclass DBModule (and use it with IB). Some suggestions? georg.
Newsgroups: comp.sys.next.programmer From: frank@fnbc.com (Frank Mitchell) Subject: Re: How do you make shared libraries? Message-ID: <1993Apr13.161637.2126@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Apr13.092159.17185@csus.edu> Date: Tue, 13 Apr 93 16:16:37 GMT In article <1993Apr13.092159.17185@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > NeXT does not support user-written shared libraries, and actively > discourages pursuit of that approach. The current implementation > is undocumented, and subject to significant, incompatible changes > in the future. > > Many of the reasons why one would opt to use shared libraries on > other UNIX systems are better served by other, supported NeXTSTEP > and Mach facilities. Such as? We're working on what amounts to a library of classes that are used across multiple applications -- that are the underpinning of our apps, in fact. Right now we add the subprojects with the code into each project (via soft-links) and statically link the object files into the app. We end up creating executables of 7MB+ (part of which is stuff the app won't use, but happens to be in the subproj for generality) and requiring a recompile every time we find and fix a bug. I presume you're suggesting that we put these objects into NXModules and bootstrap each app. Except some of these classes are (abstract) superclasses for evertything in our apps, including the NXApp delegate -- and a subclass of Application, although I'm sure if we had the time we could find a subsitute for this. It would be a pain, to say the least, to substitute NXModules -- especially since shared libraries are practically transparent, and since they link in only what the app needs at the time. -- Frank Mitchell email(work): frank@fnbc.com (NeXTmail) (home): frank@gagme.chi.il.us "That is one last thing to remember:_writers are always selling somebody out_." -- Joan Didion, Preface to _Slouching Toward Bethlehem_
From: eric@skatter.usask.ca Newsgroups: comp.sys.next.programmer Subject: NeXT's `Calibrated Color ' is causing me problems Date: 13 Apr 1993 18:34:17 GMT Organization: University of Saskatchewan Message-ID: <1qf139$ss9@access.usask.ca> I am using a NeXTstation color running NS 3.0, and a NeXT color printer. The NeXTstation is connected to some digital oscilloscopes via a SCSI<==>IEEE-488 converter and an IEEE-488 bus. I have written `digital scope object' which includes a `- (NXImage *)getScreenDump' method. The digital oscilloscopes dumps their screen in HP-GL format. My object forks and exec's a conversion program (hp2xx) to convert this to Encapsulated PostScript which it uses to image = [[NXImage alloc] initFromStream:stream]; [image setCacheDepthBounded:NO]; [image setDataRetained:YES]; . . return image; My application has a custom view into which this image is rendered. Everything works fine, except when I try to print the view on the NeXT color printer (or when I save the view's contents as an EPS file and include and print that from another application). The problem is with color mapping. When the hp2xx program wants to use a `green pen' it emits the PostScript code `0.0 1.0 0.0 setrgbcolor'. If I take the output from the hp2xx program and send it directly to the color printer (lpr -Pcolor hp2xx.out.eps) this makes a nice solid green line. However, if my application prints the view containing the same PostScript image, the line is an awful dithered combination that looks like a mixture of short yellow and green dashes. The problem shows up for the cyan and magenta `pens' too. How do I get things to produce `nice' (non-dithered) colors on the display AND produce `nice' colors on the printer. I feel like the oft-touted `unified imaging model' is getting in my way. -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory University of Saskatchewan Saskatoon, Canada. NeXTMail accepted.
Newsgroups: comp.sys.next.programmer From: ckminer@LANCE.ColoState.Edu (Chris Miner) Subject: c++, cin, cout, libg++, NS3.0 Summary: request for references on stream functionality of NS cc Message-ID: <Apr13.210126.88289@yuma.ACNS.ColoState.EDU> Sender: news@yuma.ACNS.ColoState.EDU (News Account) Date: Tue, 13 Apr 1993 21:01:26 GMT Distribution: usa Organization: Colorado State U. Engineering College Keywords: c++, cin, cout, streams Que tal! I was looking through back issues of this news group for references on cin, cout, streams in the libg++. I get the impresssion there are three classes of c++ programmers on the NeXT. 1. Toy c++, they just want to play around with objects (whatever that means). 2. Programmers that want a c++ compiler and headers and libs which let them use NeXTStep as well as other peoples c++ code (cin cout). 3. Programmers who have what the group 2 people want, but aren't about to let out any of the secrets. If you don't fall into any of the above catagories, and you use NS3.0, and you use the NeXT compiler to write code which uses the stream features found in the libg++ gnu stuff, and you have some suggestions which helped you to get up to speed, perhaps you could find it in your heart to drop me a note via e-mail. If you aren't on NS3.0, but would like to shed some light on the subject, please feel free to write as well. Anything for the cause. In appreciation of your efforts, I can offer heart felt thanks as well as a slip dialer script. (Sorry no T-shirts available) Chris Miner ckminer@longs.lance.colostate.edu lamar.acns.colostate.edu!whitefish!chris hpfcla.hp.fc.com!storm!chrism
From: zmonster@athena.mit.edu (Eric M Hermanson) Newsgroups: comp.sys.next.programmer Subject: Putting an Image into a Slider Background Date: 13 Apr 1993 21:41:29 GMT Organization: Massachusetts Institute of Technology Distribution: world Message-ID: <1qfc29INNb1l@senator-bedfellow.MIT.EDU> I am a beginner programmer, so please bear with me! I am trying to put a .tiff image in place of a slider background. I am using the following commands in the appDidInit part of my program: id myImage; myImage = [[NXImage alloc] loadFromFile:"IMAGE"]; [mySlider setImage:myImage]; When the program runs, the image does not show up. However, when I DUBUG my application and run it with gdb, the IMAGE shows up on the slider! I set the break point at the appDidInit method and step through the method. When it gets done, the IMAGE shows up. Why is this working during debugging, but now when the program actually runs? Please email any responses! Thanks, Eric zmonster@athena.mit.edu
From: mrothste@keiko.acs.calpoly.edu (Rothstein) Newsgroups: comp.sys.next.programmer Subject: NXImage, View, and Help Message-ID: <1993Apr13.224222.150017@zeus.calpoly.edu> Date: 13 Apr 93 22:42:22 GMT Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo I just don't get it. I'm am trying to eread in a series of files (from an openPanel) and send them out via the NeXTDimension. I am able to do this with no problem (you wouldn't believe how easy it is) but I have a related problem. I want to do something immediately after the image is displayed and before the next image is displayed. I can't seem to figure out where where the display is occuring. It seems to be buffering the images and doing them in batches. After it has read a few it will display them but it won't do the last couple until after is has finished the list and gone all the way out to the window server. I tried flushWindow and it ignored it. I subclassed everything I could think of (display:, display::, display:::) to see if I could watch it display but I can't find where it happens. Please if somebody knows how to force it to display or a method that is ALWAYS called for a display please tell me (I subclass display: and it doesn't happen immediately after this). If you dpn't know but know where I can find out that would work also. Thanks in advance, -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
From: mrothste@keiko.acs.calpoly.edu (Rothstein) Newsgroups: comp.sys.next.programmer Subject: NXImage, View, and Help!!! (more info) Message-ID: <1993Apr13.230813.160939@zeus.calpoly.edu> Date: 13 Apr 93 23:08:13 GMT Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo I forgot to include my code in the previous post. - showImage:sender { int x; id myOpenPanel = [OpenPanel new]; [myOpenPanel allowMultipleFiles:YES]; if([myOpenPanel runModalForTypes:[NXImage imageFileTypes]]) { const char *const *fileNames = [myOpenPanel filenames]; const char *dir = [myOpenPanel directory]; char fullPath[1000]; [super setOutputMode:NX_FROMVIEW]; [super start:self]; for (x = 0; fileNames[x] != NULL; x++) { if(image) [image free]; sprintf(fullPath,"%s/%s",dir,fileNames[x]); printf("%s\n",fullPath); image=[[NXImage alloc] initFromFile:fullPath]; [image setScalable:NO]; [image getSize:&imageSize]; imagePoint.x = bounds.origin.x + (bounds.size.width - imageSize.width)/2.0; imagePoint.y = bounds.origin.y + (bounds.size.height - imageSize.height)/2.0; changed = YES; [self display]; // I tried all of these but they did nothing!!!!!! //[self setNeedsDisplay:YES]; //[self update]; //[window flushWindow]; } } return self; } -- -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
From: ral@noron (Ronald Lamprecht) Newsgroups: comp.sys.next.programmer Subject: Re: Writing DBKit adaptors. Message-ID: <82@noron.UUCP> Date: 13 Apr 93 23:24:10 GMT References: <1993Apr12.203452.11643@rna.indiv.nluug.nl> Sender: usenet@noron.UUCP In article <1993Apr12.203452.11643@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > chapter 7. That, however, does not give any direction on writing DBKit > adaptors. Where can I find info? Have a look at 3.0 Release Notes: Writing Custom Database Adaptors Beside that info you may examine a running Database Kit application with a debugger. Have you ever looked thoroughly at the RunTime library ? Adding a little spy to a database application will report you all classes, ivars, methods, protocols etc. ! the best solution, of course, would be an official documentation of all classes. Ronald Lamprecht Email: ral%noron.uucp@Germany.EU.net (NeXTmail) Postfach 103643 Phone: +49/6221-474511 6900 Heidelberg Fax: +49/6221-400085 Germany
From: finton@barney.cs.wisc.edu (David J. Finton) Newsgroups: comp.sys.next.programmer Subject: How do I get "Window >" item to recognize new windows in my app? Message-ID: <1993Apr14.003727.8596@cs.wisc.edu> Date: 14 Apr 93 00:37:27 GMT Article-I.D.: cs.1993Apr14.003727.8596 Sender: news@cs.wisc.edu (The News) Distribution: usa Organization: University of Wisconsin, Madison -- Computer Sciences Dept. I'm creating an app with Interface Builder. I dragged the "Windows" menu item off the palette and into my app's menu. When the app runs, the menu item "Windows" lists some, but not all, of the windows in the application. The application creates windows each time results are requested, and these new windows aren't listed. The windows that *are* listed have a submenu item like "X Lisp Command", if the window is named "Lisp Command". Can anyone tell me why not all the windows get recognized in this way? Even though they don't have their own submenu item to bring them to the forefront, the submenu items for "Close window" and "Minaturize Window" work on them. Could it be that the problem is that my results windows are untitled? That's the one thing I noticed that the "recognized" windows had in common-- they all had titles, and the results windows (so far) are unnamed. Thanks, David Finton
Newsgroups: comp.sys.next.programmer From: yanik@planon.qc.ca (Yanik Crepeau) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr13.215126.4373@CAM.ORG!planon> Sender: yanik@CAM.ORG!planon References: <1993Apr12.165502.24845@sifon.cc.mcgill.ca> Date: Tue, 13 Apr 1993 21:51:26 GMT Many persons had the suggestion to set the variable anObj to NULL. The idea could be good since a message sent to a NULL object does nothing and returns NULL. The problem is when you can access an objec by many ways. For instance is you have added your object to a List or a HashTable, don't forget to remove the object from there also. A List (and I suppose a HashTable) can not have an member with id NULL BUT it can have a member with an id to a FREED object. If you use a HashTable with string ("(char *)") as key you double your problems. The HashTable does not store a copy of the string when you use string keys but it stores address of such string. If such address is a "char *" inside the FREED object, the pointer is also cleared and the HashTable itself is jeopardized since one of its key is a pointer to the unknown. You can test the isa pointer or trying to find other way to check if the object is freed. What happens when the memory previously allocated to a FREED object is re-allocated to a new object? The messages you will send to the "FREED-but-you-don't-know-it-has-been-FREED" object will be sent to the new object and you will get unexpected results. Your program could continue to run for a while but sooner or later it will crash. It will look like an intermitent problem and it will be very hard to find where the bug happened realy. NO. I deeply prefer a crashing program than a program that crashes later... -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik@planon.qc.ca (NeXT)
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: DBKit and relationships Date: Tue, 13 Apr 1993 21:55:19 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <8fmqw7y00WA74lA3Vi@andrew.cmu.edu> In-Reply-To: <1993Apr12.213148.5945@pencom.com> Excerpts from netnews.comp.sys.next.programmer: 12-Apr-93 Re: DBKit and relationships by Mike Sanford@loan3 > In article <1993Apr12.122850.1590@uunet!cbmvax!xmws!kripalu> > harit@kripalu.com writes: > > Has anyone else run into the problem with executing a query where the > > only properties selected are in a relationship? I have a query that > > requests a property that is in a relationship and does not request > > any values from the base entity. The SQL generated is incorrect. > > The select list is correct but it does not generate the join to the > > relationship's table nor put the second table in the from clause! > > > > This looks like a problem reportedly fixed in 3.1 but I am not sure. > > > > I wish I had access to the 3.1 beta to test it out there. > > --- > > Michael Allen Latta > > Kripalu Center > > harit@kripalu.com > > (413)448-3288 > > I'm not sure exactly what your doing, but it sounds like you may be trying > to construct a qualifier with a property that is not in the DBFetchGroup. > For example, you can not retrieve "all the customers where their invoices > are over $100", assuming there is a one to many from customer to invoice > entities. There is a way to get around this. Set up a view that contains > both tables and then you can build a qualifier on the desired property. I > hope this is helps. There's another way to do that. You *CAN* (with great perseverance) design a DBQualifer that does something along the lines of "select * from customerTable t0 where t0.customerId in (select customerId from invoiceTable t1 where {Qualifer})" where everything after the FIRST "where" is in the DBQualifier. Good luck... -David.
From: william@moica.berkeley.edu (William E. Grosso) Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Date: 14 Apr 1993 02:29:40 GMT Organization: University of California, Berkeley Message-ID: <1qfsuk$qs7@agate.berkeley.edu> References: <1993Apr13.215126.4373@CAM.ORG!planon> Yanik Crepeau writes > > If you use a HashTable with string ("(char *)") as key you double > your problems. The HashTable does not store a copy of the string when > you use string keys but it stores address of such string. If such > address is a "char *" inside the FREED object, the pointer is also > cleared and the HashTable itself is jeopardized since one of its key > is a pointer to the unknown. > Gosh. Does anybody out there actually have code that does this ? If I read it correctly, then one object has a pointer to a hash-table which uses another object's data for its key. Which seems (to my mind) to severely violate the whole point of OO programming. In fact [editorial judgement coming] this whole thread could be paraphrased as "how can I be lazy, not keep track of my data, and then magically have everything work anyway ?" Or am I missing something deep here ? Bill Grosso
From: jmartin@next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: Re: PostScript with IB Message-ID: <7455@rosie.NeXT.COM> Date: 14 Apr 93 02:34:41 GMT References: <1993Apr6.154451.17371@iitmax.iit.edu> Sender: news@NeXT.COM You need to make sure that your font does not have a flipped matrix. If you don't execute something like DPSPrintf(DPSCurrentContext(),"/Helvetica findfont 12 scalefont setfont "), then you are probably getting the last font used. If so, it is probably from a text object, and the text object always uses flipped fonts. You can either call the postscript function above or use the Font object: font = [Font newFont:"Helvetica" size:12 matrix: NX_IDENTITYMATRIX]; [font set]; ... jeff In article <1993Apr6.154451.17371@iitmax.iit.edu> pat@biocat1.iit.edu (pathikrit bandyopadhyay) writes: > i have some questions about using postscript with ib: i am trying to print > the value of a variable in the window using PSshow. it does print it but > it is upside down. could somebody help me with this problem, or if this is > not the right group for this question, suggest who to ask. > thanks.
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: DBKit and relationships Message-ID: <1993Apr13.161157.2889@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Apr12.213148.5945@pencom.com> Date: Tue, 13 Apr 93 16:11:57 GMT In article <1993Apr12.213148.5945@pencom.com> msanford@loan3 (Mike Sanford) writes: > In article <1993Apr12.122850.1590@uunet!cbmvax!xmws!kripalu> > harit@kripalu.com writes: > > Has anyone else run into the problem with executing a query where the > > only properties selected are in a relationship? I have a query that > > requests a property that is in a relationship and does not request > > any values from the base entity. The SQL generated is incorrect. > > The select list is correct but it does not generate the join to the > > relationship's table nor put the second table in the from clause! > > > > This looks like a problem reportedly fixed in 3.1 but I am not sure. > > > > I wish I had access to the 3.1 beta to test it out there. > > -- > > Michael Allen Latta > > Kripalu Center > > harit@kripalu.com > > (413)448-3288 > > I'm not sure exactly what your doing, but it sounds like you may be trying > to construct a qualifier with a property that is not in the DBFetchGroup. > For example, you can not retrieve "all the customers where their invoices > are over $100", assuming there is a one to many from customer to invoice > entities. There is a way to get around this. Set up a view that contains > both tables and then you can build a qualifier on the desired property. I > hope this is helps. > > - mike > --- > Michael C. Sanford Email: msanford@pencom.com > Pencom Software Phone: (512) 343-6666 > 9050 Capital of Texas Hwy. N. FAX: (512) 343-9650 > Austin, TX 78759 > > >>> NeXT Mail GLADLY Accepted <<< > > "Views here are mine and are not necessarily those of including, > but not limited to, my employer, my associates, my family, and > my community." Let me be more specific: I have a DBRecordList with entity Departments and property list having the expression "Group.name" where Group is a one to one relationship. DBKit adds the unique key field (id) from Departments in case of updates. It does not add the table that is the destination of the Group relationship to te list of tables, nor does it put in the join condition between the two tables. The record list is constructed by my code, no fetch group involved and no qualifier. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: royce@splunge.uucp (Royce Howland) Subject: Re: What a BUG!!! Message-ID: <1993Apr14.043404.15770@splunge.uucp> Organization: Ashley, Howland & Wood References: <1993Apr8.094717.14421@news.acns.nwu.edu> Date: Wed, 14 Apr 1993 04:34:04 GMT garyc@eecs.nwu.edu (Gary I. Chang) writes: >Hi, > For those of you who's doing the programming stuff, I just >discovered a severe bug that could happen in your program code too. >The bug is on strcpy(). >char myAppPath[128], *path; > path = [[workspace Application] getApplicationFullPath:"myApp"]; > strcpy(myAppPath,path); > This works fine until someday when your app is forgotten by >workspace. For example,someone installs it and runs it right away before >doing the log out and log back in first. > path would get NULL from the workspace search.... >And then strcpy(....) becomes strcpy(myAppPath,NULL)...... >So, you think nothing would be copied into myAppPath???? WRONG!! >The program would die without a clue to trace. This is not a strcpy() bug, but simply the way all C pointer code works. If you try to dereference a NULL pointer, your code will be killed with a memory exception. You've got to do your own error trapping to make sure you don't send NULL pointers into functions that expect non-NULL pointers, e.g. strcpy(). -- Royce Howland, DKW Systems Corp. | "And since OS/2 2.0 is a 32-bit Everything is IMHO | operating system, programs are royce@splunge.uucp (NeXTMail OK) | easier to write and run faster, or kakwa!atlantis!splunge!royce | too." -ad for OS/2 2.0
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: NXImage, View, and Help!!! (more info) Message-ID: <1186@rtbrain.rightbrain.com> Date: 14 Apr 93 08:06:17 GMT References: <1993Apr13.230813.160939@zeus.calpoly.edu> Sender: glenn@rightbrain.com Rothstein writes [Trying to get code to draw into a window, seems to be a flushing problem] Try NXPing(); -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <66432@mimsy.umd.edu> Date: 14 Apr 93 15:24:27 GMT References: <1993Apr12.165502.24845@sifon.cc.mcgill.ca> <1993Apr13.215126.4373@CAM.ORG!planon> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1993Apr13.215126.4373@CAM.ORG!planon> yanik@planon.qc.ca (Yanik Crepeau) writes: > If you use a HashTable with string ("(char *)") as key you double > your problems. The HashTable does not store a copy of the string when > you use string keys but it stores address of such string. If such > address is a "char *" inside the FREED object, the pointer is also ^^^^^^^^^^^^^^^^^^^ > cleared and the HashTable itself is jeopardized since one of its key > is a pointer to the unknown. wait a minute. are you saying that when you free an object, any strings pointed to by the object are necessarily freed? doesnt that decision rest with whoever overrided free? its quite likely that char * instance variables will be freed, but its also possible that they might not be - if the class designer viewed them as references to a string owned by another class. though it might be better to use Atoms in this case. if you free an object which has id instance variables that point to other objects, whether free deallocates the refererenced objects depends on the class design, right? if you free a view, it doesnt free its superview does it, even though it points to it? unless I misunderstand what free does and how HashTable works, which is certainly possible. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Finding out if object is freed? Message-ID: <1993Apr14.142751.7871@afs.com> Sender: greg@afs.com References: <1qfsuk$qs7@agate.berkeley.edu> Date: Wed, 14 Apr 1993 14:27:51 GMT In article <1qfsuk$qs7@agate.berkeley.edu> william@moica.berkeley.edu (William E. Grosso) writes: > > Yanik Crepeau writes > > > > If you use a HashTable with string ("(char *)") as key you double > > your problems. The HashTable does not store a copy of the string when > > you use string keys but it stores address of such string. If such > > address is a "char *" inside the FREED object, the pointer is also > > cleared and the HashTable itself is jeopardized since one of its key > > is a pointer to the unknown. > > > Gosh. Does anybody out there actually have code that does this ? > If I read it correctly, then one object has a pointer to a hash-table > which uses another object's data for its key. Which seems (to my > mind) to severely violate the whole point of OO programming. You read right, but this is legitimate. For example, suppose you build a Matrix of Cells (for example, an NXBrowser) that will need to be accessed by some key value later on. You could walk the list sequentially until you find the key value, but that would be wasteful and no one would respect you or your code. 8^) Instead, build a parallel HashTable with a string key (let's assume the Cell's stringValue) returning the Cell's id. HashTable is documented as NOT making its own copy of the string, so if you free the Cell it's pointing to, you're screwed. But in this case, your code should be fully aware it is maintaining an external reference, and you should write a special freeCell method to remove all references. In general, I don't think proper use of Lists and HashTables breaks good encapsulation practices, so long as you include methods to clean up your pointers. Taken to the extreme, you could argue that ALL externally maintained pointers break encapsulation rules, and I'm not ready for that. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: finton@barney.cs.wisc.edu (David J. Finton) Subject: Re: How do I get "Window >" item to recognize new windows in my app? Message-ID: <1993Apr14.165018.18182@cs.wisc.edu> Summary: Got it. Just make sure the new windows are titled. Sender: news@cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. References: <1993Apr14.003727.8596@cs.wisc.edu> Distribution: usa Date: Wed, 14 Apr 1993 16:50:18 GMT In article <1993Apr14.003727.8596@cs.wisc.edu> I wrote: >I'm creating an app with Interface Builder. I dragged the "Windows" >menu item off the palette and into my app's menu. When the app runs, >the menu item "Windows" lists some, but not all, of the windows in >the application. The application creates windows each time results >are requested, and these new windows aren't listed. The windows >that *are* listed have a submenu item like "X Lisp Command", if >the window is named "Lisp Command". > >Can anyone tell me why not all the windows get recognized in this way? >Even though they don't have their own submenu item to bring them to >the forefront, the submenu items for "Close window" and "Minaturize >Window" work on them. > >Could it be that the problem is that my results windows are untitled? >That's the one thing I noticed that the "recognized" windows had in >common-- they all had titles, and the results windows (so far) are >unnamed. That turned out to be the problem. Just making sure the new windows had titles solved the problem. David Finton
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: How do you make shared libraries? In-Reply-To: eps@futon.SFSU.EDU's message of Tue, 13 Apr 1993 09:21:59 GMT To: eps@futon.SFSU.EDU (Eric P. Scott) Message-ID: <CEDMAN.93Apr13075515@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1993Apr12.212557.29763@fnbc.com> <1993Apr13.092159.17185@csus.edu> Date: Tue, 13 Apr 1993 11:55:15 GMT In article <1993Apr13.092159.17185@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: NeXT does not support user-written shared libraries, and actively discourages pursuit of that approach. The current implementation is undocumented, and subject to significant, incompatible changes in the future. Under 3.0 at least it doesn't seem too hard to create a shared library though admittedly it involves some guessing and trial and error. Many of the reasons why one would opt to use shared libraries on other UNIX systems are better served by other, supported NeXTSTEP and Mach facilities. I disagree. For some NeXT-only application maybe some supported form of dynamic loading might be acceptable. But if you want to have just one blatant example of what the lack of shared libraries does to programmers, I encourage you to look at the various X emulations on the NeXT. On almost all modern platforms the huge X libraries are shared which makes even small and moderatedly sized X programs feasible. Not so on the NeXT. If you want to use Motif in your hello world program better be prepared to have it grow up to 1.5 MBytes for the luxury (the question why anyone in the world would _want_ to use Motif is left as an exercise to the reader as the author can't figure it out). The result is that in real world, off-the-net examples of useful X programs size ratios of 10 and more are not unheard off between a NeXTstation and a HP9000s[34]xx runnign the same processor. I find this completely indefensible. (This ought to be in the FAQ list, it's come up MANY times before.) That is undeniable. Carl Edman
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: OpenFile: ok: , Icons, and Extra Files in .app Message-ID: <1993Apr14.174109.8427@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Wed, 14 Apr 1993 17:41:09 GMT Trying to clean up a 2.1 version of code for 3.0 and finding a few problems. 1) Had to change from NXApp getInitialFile to NXApp openFile:ok: but somehow it doesn't open the file which was double clicked. Anything special to do here. I have: { char *openFileName; int okFlag; [NXApp openFile:openFileName ok:&okFlag]; if (okFlag == YES) { [theStereoView readSData:openFileName]; } in appDidInit for controller object. 2) Can't get a "transparent" background on the icon for the document. How do you do this in Icon builder? 3) I have several extra example data files and a readme file that I want to have end up in the .app directory when I do a make install. How do I arrange this via Project Builder so that it happens. I had them in Supporting Files but it didn't work. - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: alex@hal.rhein-main.de (Alexander Lehmann) Subject: Re: cc can't find .h files... Message-ID: <C5HB1s.2Ao@hal.rhein-main.de> References: <EfmPUka00iMFM2EExq@andrew.cmu.edu> Date: Wed, 14 Apr 1993 15:01:02 GMT Jeremy G. Mereness (zonker+@CMU.EDU) wrote: : On some nextstations with small drives, /usr/include is mounted as : /usr/local/include. But cc is not smart enough to deal with : /usr/local/include being a TREE instead of being filled with .h files. : I think cc thinks /usr/include is special, and knows to look down each : subdirectory to find what its looking for. But with /usr/local/include, I have : to "-I- -I" each and every directory... a real mess... before cc groks the : entire set of library headers. : What's going on? Am I right that the /usr/include location is special? : Hardcoded? Can I get around this mess in my Makefile? You didn't say which version of NeXTStep you are using, but from the problem you have, one would guess it is 3.0. The /usr/include directory is not very special to cc. (It is in fact a symlink to /NextDevelopers/Headers). /NextDevelopers/Headers instead is very special to cc, since it automatically searches ansi and bsd in the directory. The complete seach path for cc is: /NextDeveloper/Headers /NextDeveloper/Headers/ansi /NextDeveloper/Headers/bsd /LocalDeveloper/Headers /NextDeveloper/2.0CompatibleHeaders /usr/include /usr/local/include This differs from the include path used by the non-precompiled cpp (used for c++ and cc -E), that one uses the following path: /NextDeveloper/Headers /NextDeveloper/Headers/ansi /NextDeveloper/Headers/bsd /LocalDeveloper/Headers /LocalDeveloper/Headers/ansi /LocalDeveloper/Headers/bsd /NextDeveloper/2.0CompatibleHeaders A usefull include path for your setup would be the following: /usr/local/include, /usr/local/include/ansi and /usr/local/include/bsd The regular gnu version of gcc has an environment variable that can be set to the default include path (C_INCLUDE_PATH), but this seems to be missing in the NeXT cc version. There is another, somewhat less clean solution to this problem. You can mount the include files on some other directory than /usr/local/include and create a directory of links from /usr/local/include to whatever/*, whatever/ansi/* and whatever/bsd/*, but this means that new include files (like with an update) would require resetting the links. OK. let's hope that this answers your question. As I am already posting about this subject, let me say the following: I find the sequence of the include directory rather useless, since it is not possible to override standard include files with local ones. I think the sequence should be like this: LocalDeveloper, then /usr/local/include and then the standard dirs But this just my personal opinion, of course. The inconsistency between cpp and cpp-precomp is definitely a bug, which is hopefully fixed in 3.1. bye... Alexander Lehmann -- Alexander Lehmann, alex@hal.rhein-main.de | "Wopp" or alexlehm@iti.informatik.th-darmstadt.de | - ( THHGTTG Pt.3 )
From: mrothste@keiko.acs.calpoly.edu (Rothstein) Newsgroups: comp.sys.next.programmer Subject: Console and logging someone in Message-ID: <1993Apr14.174935.149112@zeus.calpoly.edu> Date: 14 Apr 93 17:49:35 GMT Article-I.D.: zeus.1993Apr14.174935.149112 Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo Is it possible to programaticly login someone into the console? What I need to do is run a program that must have a window open, I want to do this when no one is currently logged in. A server program would fire up this other program. Thanks in advance for any help, -- -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
From: annard@theborg.stack.urc.tue.nl (Annard Brouwer) Newsgroups: comp.sys.next.programmer Subject: Problems with shell programming Date: 13 Apr 1993 22:02:52 GMT Organization: the Borg Distribution: world Message-ID: <1qfdacINN19j@theborg.stack.urc.tue.nl> Hello, Whilst writing a shell-script for generating simple NeXTmails on non-NeXTSTEP Unix boxes I came upon the following problem: I wanted to input some text into a file and after that I wanted to execute another bunch of shell-commands. Here is a fragment of the code: RECIPIENT=$1 shift #create index.rtf cat >> ${TMP}/index.rtf <<@ {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fmodern Ohlfs;} \margl120 \margr120 @ #create the tar-file I=0 while test $1 do etc. Now I get the following error message: unexpected EOF. And none of my commands get executed after the last occurence of '@'! After some experimenting I believe that the shell is still trying to add text even though it has passed the '@'... The manual page of sh tells me the shell will look for the '@' or read until EOF. It looks to me that it looks for '@' and after that continue to EOF. Please correct me and help me finishing this script... Thanks in advance, Annard -- Annard Brouwer annard@stack.urc.tue.nl (NeXTmail appreciated) People? You can forget it.
From: jmartin@next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: PAStringListPalette.tar.Z - available at archive sites now! (sonata) Message-ID: <7457@rosie.NeXT.COM> Date: 14 Apr 93 18:20:53 GMT Sender: news@NeXT.COM Be the first one on your block to own this exciting new object! This object manages/sorts/inserts strings, loads filenames with particular extensions from given directories and automatically fills a browser (even from inside IB!). Send bugs/fixes/suggestions to jmartin@next.com ... jeff Martin, NeXT. 1. ftp sonata.cc.purdue.edu (password - anonymous) 2. cd pub/next/submissions 3. get PAStringListPalette.tar.Z 4. open PAStringList.tar.Z From PAStringList.m: PAStringList The PAStringList (a subclass of Storage) is a convenient way to deal with lists of character strings. It contains methods for adding strings, inserting strings, sorting strings and searching for strings. In addition the PAStringList object has methods for generating lists of filenames from a given directory. There is also a specific method for searching the standard libraries (/NextLibrary, /LocalLibrary, ~/Libary). Files can be limited to particular extensions and can be returned with or without their full path and extension. The PAStringList can also add strings from a delimited string (such as the ones passed to an app by the workspace). Finally, the PAStringList implements a browser delegate method so that it can easily display itself if set to be a browser delegate. Copyright 1992, Jeff Martin (jmartin@next.com) (415) 780-3833. The PA suffix stands for 'The Practical Appkit', my (budding)library of useful objects/categories.
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software From: cottle@prism1 (Rick Cottle) Subject: DBKit Oracle Demo -- Need help connecting Message-ID: <1993Apr14.194755.727@newsgate.sps.mot.com> Sender: usenet@newsgate.sps.mot.com Organization: SPS Date: Wed, 14 Apr 1993 19:47:55 GMT I have tried to make the NS DBKit connect to oracle running on an RS6000. Nothing I do seems to cause it to actually try to connect and log me in to the database. Is there something else I need, like SQL*Net for the NeXT? -- R i c k C o t t l e Email:cottle@prism.sps.mot.com
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.marketplace Subject: Dell, DG, Epson, HP, NEC, Siemens Announce NeXTSTEP Support Keywords: Intel, Ingram Micro, NeXTConnection, Logicon, Pencom, Trident, SHL, Linotype Message-ID: <7462@rosie.NeXT.COM> Date: 14 Apr 93 20:32:01 GMT Sender: news@NeXT.COM Followup-To: comp.sys.next.advocacy News: FOR IMMEDIATE RELEASE Contact: Emily Brower Allison Thomas Associates (415) 780-3786 Data General, Dell, EPSON America, Hewlett-Packard, NEC and Siemens Nixdorf Announce Support for NEXTSTEP for Intel Processors Ingram Micro, NeXTConnection, VARs and SIs to Sell New Version REDWOOD CITY, Calif., April 14, 1993 - NeXT Computer, Inc. today announced partnerships with several major PC manufacturers and a national distributor to sell NEXTSTEP for Intel 80486 and Pentium-based PCs, beginning May 25. NEXTSTEP for Intel processors runs on a wide range of industry-standard Intel486 and Pentium-based desktop and portable computers and will ship worldwide on May 25 in conjunction with the 1993 NeXTWORLD Expo in San Francisco and Spring Comdex in Atlanta. The user environment will sell for a U.S. list price of $795. The developer tools, named NEXTSTEP Developer, will have a list price of $1,995 in the U.S. Developers need both the user environment and NEXTSTEP Developer, for a combined price of $2,790. "These partnerships lay the foundation for the success of NEXTSTEP in the Intel marketplace," said Steven P. Jobs, chairman and CEO of NeXT. "NEXTSTEP will be running on more than 100 different PCs on May 25. This will complete our transition to a software company." Data General, Dell, EPSON, HP, NEC, and Siemens Nixdorf to Offer Factory-Installed Systems and NeXT-Certified PCs NEXTSTEP will be available factory-installed on the hard disks of Intel486- and Pentium-based PCs manufactured by Data General Corp., Dell Computer Corp., EPSON America, Inc., NEC Technologies, Inc. and Siemens Nixdorf Information Systems AG. Each company will sell fully configured systems through its existing channels of distribution. Hewlett-Packard Company will market NEXTSTEP-certified PCs via their resellers, who will integrate and deliver fully configured NEXTSTEP hardware/software solutions to their customers. "We've maintained a close technical relationship with NeXT throughout the development of this new version and have seen a great deal of interest for NEXTSTEP on Dell hardware from developers and other segments of our customer base," said Charles Sauer, Dell's vice president of software and technology. "NeXT is well-positioned to become a serious player in the operating systems arena with NEXTSTEP for Intel processors, and Dell will provide cutting-edge systems to customers requiring the NEXTSTEP operating environment." Compatible Systems for Other PC Manufacturers NEXTSTEP will also run on more than 100 PC configurations from Altima Systems, AST Research Inc., Digital Equipment Corp., Gateway 200 Inc., Intel Corp., Lucky-Goldstar Information Systems, NCR Corporation, Toshiba America Information Systems Inc., Zenith Data Systems Corp. and other leading manufacturers. Distribution Through Ingram Micro, NeXTConnection, VARs NEXTSTEP will be made available in North America to resellers through Ingram Micro, one of the leading national distributors in the industry. Ingram Micro will authorize leading VARs and dealers to sell NEXTSTEP to end users. NeXT's current resellers, numbering more than 200, are being pre-authorized to purchase NEXTSTEP for Intel processors through Ingram. "We are pleased to be announcing this distribution agreement with Ingram Micro, which will greatly expand NeXT's capability to recruit, market to and support premier VARs and Integrators for NEXTSTEP," said Erna Arnesen, NeXT's director of channel sales. In addition, NeXTConnection (a division of PC Connection, headquartered in Marlow, NH) will distribute a shrink-wrapped version of NEXTSTEP for Intel processors through its mail order operation. NeXTConnection also distributes third-party software and peripherals for NEXTSTEP. NEXTSTEP VARs, systems integrators, and consultants such as Linotype-Heil AG, SHL Systemhouse Inc., Logicon Ultrasystems, Pencom Software, and Trident Data Systems, will provide a wide spectrum of solutions including vertical packaged offerings and custom client/server applications and integration and consulting services. NeXT's Direct Sales Force NeXT's sales force will concentrate on marketing NEXTSTEP directly to major accounts (e.g. large corporations and government organizations). These Fortune 500 accounts can choose to purchase fully integrated systems from NeXT's OEM partners or resellers, or they can purchase shrink-wrapped software directly from NeXT. Regional sales offices are located in Redwood City, Calif, Chicago, Washington, D.C., and New York. European headquarters are located in Munich, Germany. Other customers will acquire NEXTSTEP from selected resellers who will obtain NEXTSTEP via Ingram Micro. These resellers include VARs, VADs and systems integrators as well as NeXTConnection. About NeXT NeXT develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures. NEXTSTEP is used by customers to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, Calif., 94063. For Additional Information For additional information about NEXTSTEP for Intel processors from sources other than NeXT, please contact the following: Data General Corporation, Chris Sampson, (508) 898-4288 Dell Computer Corporation, Lisa Rohlf, (512) 343-3782 EPSON America Inc., Jan Marciano, (310) 782 5161 Hewlett Packard Corporation, David Schneider, (415) 541 0873 Ingram Micro Inc., Wayne Stewart, (714) 566 1000 Linotype-Hell AG, Nancy Davies, (212) 334 0334 Logicon Ultrasystems, Peter Farkas, (703) 486 3500 x2538 NEC Technologies, Inc., Geoff Spillane, (508) 264 8835 or Stephanie Allman, (598) 264 8835 NeXTConnection, Chuck Milliken, (800) 800-NeXT (6398) Pencom Software, Elizabeth Richardson, (512) 343 6666 SHL Systemhouse Inc., Bill Bennett, (408) 496 6511 Siemens Nixdorf Information Systems, Ian Robb, (617) 273 0480 Trident Data Systems, Michael Christiansen, (310) 338 3506 -30- NeXT, the NeXT logo and NEXTSTEP are registered trademarks of NeXT Computer, Inc. Intel486 and Pentium are registered trademarks of Intel Corp. All other trademarks mentioned belong to their respective owners.
From: mrothste@keiko.acs.calpoly.edu (Rothstein) Newsgroups: comp.sys.next.programmer Subject: NXImage, View, and Help (Answer and Thanks) Message-ID: <1993Apr14.201554.103292@zeus.calpoly.edu> Date: 14 Apr 93 20:15:54 GMT Sender: news@zeus.calpoly.edu Organization: Cal Poly State University, San Luis Obispo I want to thank Glen Reid (I hope I spelled that correctly) for his suggestion for my problem of images not displaying at a given time. He and another person suggested NXPing() and this was exactly what I was looking for. Many thanks, -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu -- -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu P.S. Sorry about the crossXpost, I accidently posated in the wrong group.
From: ral@noron (Ronald Lamprecht) Newsgroups: comp.sys.next.programmer Subject: Re: DBTableView problem Message-ID: <83@noron.UUCP> Date: 14 Apr 93 00:40:17 GMT References: <1993Apr13.191237.81367@embl-heidelberg.de> Sender: usenet@noron.UUCP In article <1993Apr13.191237.81367@embl-heidelberg.de> tuparev@EMBL-Heidelberg.DE (Georg Tuparev) writes: > OK. I can implement the DBTableView's delegate to get the > tableViewWillChange method, but I do not have any idea if a change took > place or not (the method is called when I select the row). Actually I need > to implement the textWillEnd method from DBModule, but it's not possible > to subclass DBModule (and use it with IB). > Some suggestions? Try the DBFetchGroup delegate method fetchGroupWillChange: ! It should solve your problem. BTW I don't believe that the DBTableView ever calls the DBModule textWillEnd method. I guess it communicates directly with the DBFetchGroup to which it is connect via a DBTableAssociation. Ronald Lamprecht Email: ral%noron.uucp@Germany.EU.net (NeXTmail) Postfach 103643 Phone: +49/6221-474511 6900 Heidelberg Fax: +49/6221-400085 Germany
Newsgroups: comp.sys.next.programmer From: ztech@well.sf.ca.us (Zippytech) Subject: Re: Finding out if object is freed? Message-ID: <C5I216.881@well.sf.ca.us> Sender: news@well.sf.ca.us Organization: Whole Earth 'Lectronic Link References: <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> Date: Thu, 15 Apr 1993 00:43:53 GMT In article <1993Apr8.043107.17438@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca writes: > >If there is no way to determine this, I would also appreciate hints on how >to deal with object A being freed by object B, yet still being referenced >by objects C, D, E, etc.... right now, object A maintains a "dependency >list" and before it is freed, it "notifies" all the other objects which >depend on it. One approach is to keep a reference count in the object. When an object A gets a reference to object B, it calls [B reference] which bumps up the reference count. When it throws away the reference, it calls [B dereference] which decrements the reference count and calls free when the count reaches zero. Note that other objects must never call free directly in order for this scheme to work. If this scheme sounds like a pain, it is. This is the kind of thing that led prehistoric programmers to invent garbage collectors. [Not that I advocate garbage collection in all cases; there are complex performance tradeoffs involved...] -- Zippytech <ztech@well.sf.ca.us> Zippytech sells network protocol objects. "The most important lesson of networking is that we can accomplish more in life by occasionally dropping things on the floor."
Newsgroups: comp.sys.next.programmer From: mhenry@morpheus.UWaterloo.ca (Mark Henry) Subject: Anyone know how to convert from 'context' to 'DPSContext'? Message-ID: <C5I33H.DrF@watserv1.uwaterloo.ca> Keywords: postscript context DPSContext Sender: news@watserv1.uwaterloo.ca Organization: University of Waterloo Date: Thu, 15 Apr 1993 01:06:52 GMT Hi everyone, In my application, I am using the function PSCurrentactiveapp to get the context of the currently active application. However, this returns a value that is not of type DPSContext. For example, in the code below: - appDidInit:sender { int ctxt; DPSContext curContext = DPSGetCurrentContext(); PScurrentactiveapp(&ctxt); } curContext and ctxt contain different values, of different data types. Anyone else had this problem? Any suggestions on how to convert the 'ctxt' value to a DPSContext would be most appreciated. Mark Henry Department of Systems Design Engineering mhenry@zeus.uwaterloo.ca [NeXTmail] NeXT Campus Consultant, University of Waterloo Waterloo, Ontario, Canada
Newsgroups: comp.sys.next.programmer From: seungwoo@peca.cs.umn.edu (Seung-Woo Kim) Subject: Help!! I don't get it! Message-ID: <seungwoo.734845911@peca> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Thu, 15 Apr 1993 03:51:51 GMT I am writing a program in which objective C and normal C is mixed together. I am debugging the program with gdb 3.95 and gcc. The following is the sort of error I am getting right now. 1:void foo(float x) { 2: float y; 3: 4: y = x - 1.0; 5:} (gdb) print x 3.0 (gdb) next (gdb) print y 2.0 (gdb) print x 2.0 <---- what the heck is going on? Is this a gdb bug? or gcc bug? or am I missing something? I tried everying register float x, static float y.. Still I don't get it. Please somebody help me. Thanks. Seung-Woo
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Runtime error Message-ID: <1993Apr14.233347.394@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Wed, 14 Apr 1993 23:33:47 GMT I am getting this error in the console with I quit my custom app. Apr 12 19:54:22 pyrian WindowServer[154]: IPCFlushOutput: failed to flush output for stream 0x4efd90. the only thing I have added is this: - appWillTerminate:sender { if( [mainWindow isDocEdited] ) { q = NXRunAlertPanel("Quit","Settings have changed. Save changes?","Save","Don't Save", "Cancel"); if (q == NX_ALERTDEFAULT) /* save */ { [self updateFiles:self]; return self; } if (q == NX_ALERTOTHER) /* cancel */ { return nil; } } return self; /* quit */ } @end even if I comment out or delete everything except the NXRunAlertPanel I get the error. If I comment out all of it, the error goes away. Any help is appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: compiler error Message-ID: <1993Apr15.060523.1286@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Thu, 15 Apr 1993 06:05:23 GMT I just added: - appWillTerminate:sender { if( [mainWindow isDocEdited] ) { q = NXRunAlertPanel("Quit","Settings have changed. Save changes?","Save","Don't Save", "Cancel"); if (q == NX_ALERTDEFAULT) /* save */ { [setButton performClick:sender]; return self; } if (q == NX_ALERTOTHER) /* cancel */ { return nil; } } return self; /* quit */ } now I get this error in the workspace console: Apr 12 19:54:22 pyrian WindowServer[154]: IPCFlushOutput: failed to flush output for stream 0x4efd90. why? what can I do different? if I remove this code, the error doesn't show up. Any help is appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: NeXT programming needed Message-ID: <1993Apr15.061036.2115@digifix!uunet.ca> Sender: sanguish@digifix!uunet.ca Organization: Digital Fix Development Date: Thu, 15 Apr 1993 06:10:36 GMT I need someone to do a small amount of Obj-C programming... Specifically, I need an Objective-C object written, to access and return information from NeXTs Type 1 font files. Please e-mail me at sanguish@digifix.com -- - Scott Anguish - sanguish@digifix.com (NextMail)
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: jlehr@synex.andi.org (Jonathan Lehr) Subject: ANNOUNCING: New TraNEW TRAINING COURSES FOR NeXTSTEP DEVELOPERS Message-ID: <C5Hwxx.FFw@nextsrv1.andi.org> Sender: usenet@nextsrv1.andi.org (usenet) Organization: Association of NeXTSTEP Developers International Date: Wed, 14 Apr 1993 22:53:56 GMT ining DEVELOPERS ann Keywords: training, NeXTSTEP Reply-To: jlehr@nextsrv1.andi.org Distribution: world News FOR IMMEDIATE RELEASE Contact: Jonathan M. Lehr, Director of Training Synex, Inc. 5950 Symphony Woods Road Columbia, MD 20815 Phone: (410) 992-5131 email: jlehr@nextsrv1.andi.org NEW TRAINING COURSES FOR NeXTSTEP DEVELOPERS COLUMBIA, MD., April 14, 1993 - Synex, Inc. announced today that it has released two new training courses for NeXTSTEP developers: Objective C Programming, and AppKit Programming. The courses are designed to be taken as a series, but they can also be used as stand-alone modules. Each is five days long. These courses can be combined with existing Synex Unix and C training modules, such as ANSI C Programming and A Programmer's Introduction to UNIX, to form a more comprehensive training program. Both courses got high marks from initial customers Mobil Supply & Trading and Fannie Mae. Objective C Programming is a hands-on course that teaches programmers how to write applications that take full advantage of the Objective C programming language. Objective C is the primary language used in application development under NeXTSTEP, the operating system from NeXT, Inc. Priced at $12,500 for on-site delivery, Objective C Programming gives C programmers a thorough grounding in the significant features of Objective C and of Object-Oriented programming. During the course, students design a hierarchy of Classes (object definitions) to implement two different flat-file database applications. Hands-on lab exercises are emphasized. The course's step-by-step approach requires students to build objects and applications from the ground up. Full examples of working source code are included as solutions to the labs. AppKit Programming is a hands-on course that teaches programmers how to write applications that take full advantage of the Application Kit (AppKit), the Application Programming Interface to NeXTSTEP. Priced at $12,500 for on-site delivery, AppKit Programming gives Objective C programmers a thorough grounding in the significant features of the AppKit library. In a series of lab exercises, students implement a graphical user interface for one of the flat-file database applications developed in the earlier Objective C Programming course. The lecture portion of the course emphasizes use of the NeXTSTEP reference material and provides a clear understanding of details of many essential AppKit classes. During the last two days of the course, students re-implement the graphical user interface portion of their application using Interface Builder and Project Builder. The course includes coverage of file management, menus, windows, panels, buttons, forms, text, printing, and other essentials of NeXTSTEP programming. Company President Robert M. Conner said about the new offerings: " We see these courses as filling some gaps in the current offerings from NeXT and its NeXTEDGE partners. Our customers demanded this type of training, and we provided it for them. Now we want to make it available to the rest of the NeXT community. "We have a training philosophy here at Synex that sets us apart from many of our competitors. We've learned from years of experience that it takes a very thorough, step-by-step approach, with carefully orchestrated hands-on lab exercises, to maximize what programmers can get from a 5-day training program. "We build our courses based on transferring measurable skills to the students. The litmus test for a programmer's course is obvious: either they can or they can't program when the course is done. We believe we're batting 1.000 with these courses." About Synex Synex is a $17M systems integration firm, operating as a subchapter 8(a) corporation. Synex specializes in rightsizing, helping customers transition from mainframe and other proprietary systems to client/server systems based on Unix , C and accepted networking standards. Synex's training division is dedicated to technical training in the open systems environment, specializing in training programmers in Unix, C and NeXTSTEP.
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit read only query Message-ID: <1993Apr14.193849.4155@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Wed, 14 Apr 93 19:38:49 GMT Has anyone gotten DBKit to produce a query that does not depend on an defined entity? Do I have to use a custom DBBinder? I just want to do a simple select statement like select getdate() Currently it adds the property for the unique key of the entity I have been using which works find if the table has any rows. But if it is empty or has a lot of rows this is not desireable. I tried removing the key properties from the record list but it seems to put them back in the fetchUsingQualifier method. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: dflora!peter@wpa.com (Peter D. Wilson) Subject: Distributed Objects .... across the internet .. Message-ID: <1993Apr14.191947.4481@wpa.com!dflora> Sender: peter@wpa.com!dflora Organization: Peter Wilson Distribution: na Date: Wed, 14 Apr 1993 19:19:47 GMT Before I say too much at an important demo. Could somebody confirm that I can have distributed objects talk across the Internet. That is, the onHost parameter in NXConnection method, '+connectToName:onHost:' can take an Internet host address. ... or is there another way ?? Thanks -- -------------------------------------------------------------------------- peter d. wilson dflora!peter@wpa.com (NeXT prefered) wilsonp@mobot.org (god no!)
From: kwei@titan.ucs.umass.edu (William Wei) Newsgroups: comp.sys.next.programmer Subject: Using Sybase server 'isql' Date: 14 Apr 1993 18:30:32 -0400 Organization: University of Massachusetts, Amherst Distribution: usa Message-ID: <1qi3a8INNd62@titan.ucs.umass.edu> where can I find doc. for using isql. I launched AddressBook and it asked me the password. What is the password? Sorry, I am a new person. Please give me a clue for playing the sybase demo programs. Thanks.
Newsgroups: comp.sys.next.programmer From: demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) Subject: Appkit In-Reply-To: "jana"'s message of 1 Apr 93 23:57:44 EST Message-ID: <DEMARCO.93Apr14201406@fsd.cpsc.ucalgary.ca> Sender: news@cpsc.ucalgary.ca (News Manager) Organization: University of Calgary References: <1993Apr1.4924.12665@dosgate> Distribution: comp Date: Thu, 15 Apr 1993 03:14:06 GMT I was just talking to a fellow programer and he said "..don't look at the appkit as a good design.." and he mentioned some problems with the current implementation of the appkit. Some of which are: o there are no lightweight views, (Views that can't have subviews). For example is it really usefull to have a subview in a button??? o The Text Object, (What the appkit has a text object) o Why do forms have to all have the same size? o Sliders What if I want a slider to go from Max to Min Instead of Min to Max??? I'd like to see what other people think of these issues. NeXT really hasn't improved the Appkit they have only added features. I'd like to get a discussion going. vince --- vince@whatnxt.cuc.ab.ca (NeXT Mail accepted)
From: Hal.Varian@umich.edu Newsgroups: comp.sys.next.programmer Subject: NeXTstep 3.1 and price of Developers' Package Date: 15 Apr 1993 16:18:29 GMT Organization: University of Michigan - College of Literature, Science, and TheArts Distribution: world Message-ID: <1qk1slINNd1d@controversy.math.lsa.umich.edu> Lots of folks have complained about the forecast price of the NS486 Developers' Package. One point that seems to be lost in the discussion is that the 3.1 Developers' Package (for black hardware) will be able to cross-compile to 486 platforms. This means that any developer that has some black hardware should be able to develop for beige hardware simply by upgrading to the 3.1 Developer's Package. And (I hope) NeXT will charge a reasonable price for that. (I suspect they will---it should create a lot of goodwill among the current development crowd.) -- Hal.Varian@umich.edu Hal Varian voice: 313-764-2364 Dept of Economics fax: 313-764-2364 Univ of Michigan Ann Arbor, MI 48109-1220
From: COSC18QM@jetson.uh.edu (93S06842) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: .address file format Date: 15 Apr 1993 16:31:51 GMT Organization: University of Houston, Houston, Texas. Distribution: world Message-ID: <1qk2lo$9va@menudo.uh.edu> Could someone point me in the right directions to find out the format of the address files in ~/Library/Addresses? I would like to be able to read and modify these files from an external program. I could not find anything in the documentation. Thanks for any help Tom Tschetter P.S. You can reply to this account or mail me at tsch@digicon-hou.com (the prefered)
Newsgroups: comp.sys.next.programmer From: intrepid@netcom.com (Intrepid Traveller) Subject: NeXT help needed..... Message-ID: <intrepidC5JAHr.EC8@netcom.com> Organization: NETCOM On-line Communication Services (408 241-9760 guest) Date: Thu, 15 Apr 1993 16:44:15 GMT I have written a program for the NeXT that reads plaintext and then prints it out on the screen in different format in EPS. To do this, I use lockfocus, PSshow, etc. The problem lies in that when I write this stuff to Text ScrollView, it will dump all the stuff into the text window, and I believe it scrolls off the bottom as well, but I do not get a scroll bar and therefore can not see the information. If anyone knows how I can get the ScrollView to scroll when I draw stuff in postscript larger than the small view that I can see, then please tell me. Any help would be greatly appreciated.
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Printing with alpha Message-ID: <1993Apr15.152315.824@afs.com> Sender: Michael_Pizolato@afs.com Date: Thu, 15 Apr 1993 15:23:15 GMT How do you print a window that contains NXImages that have alpha? The printPSCode: and smartPrintPSCode: methods print white where the transparent parts of the images are. Of course, this is not what I want; I want it to print what's on the screen. Can anybody help me out here? Thanx, Michael -- Michael_Pizolato@afs.com If you can't control your peanut ~18 kyu butter, how can you expect to Q16 control the rest of your life? NeXTMail appreciated - Calvin
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: NXSplitView - can I use it from IB? How? Message-ID: <1993Apr15.171524.11982@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA Date: Thu, 15 Apr 1993 17:15:24 GMT Title says it all. There is no apparent palette object that returns an NXSplitView directly. I can create a CustomView object and then select an NXSplitView when I do that, but I am not sure what to do with that. I tried dragging two ScrollViews onto the NXSplitView and dropping them, but they acted like they were independent views, not part of the SplitView. I am sure this is simple, but I could use some help. Thankx, Jon Rosen
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: How do you make shared libraries? Message-ID: <1993Apr15.092142.219@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <1993Apr13.134718.265@afs.com> Date: Thu, 15 Apr 1993 09:21:42 GMT In article <1993Apr13.134718.265@afs.com> Michael_Pizolato@afs.com writes: > > I hope this isn't an RTFM question, but like what? I know how to use > bundles and my own (non-shared) libraries, but I thought the bonus > with shared libraries is that their code pages, once in memory, are > shared by multiple processes. As far as I know that is not the case with > bundles. It's a great feature and I'm sure many of us would like to take > advantage of it. > > Please correct me if I'm off the deep end here. A big advantage of shared libs are the smaller executables. For example, X11-applications are very big on the NeXT, because each app contains all Xlib, Xt, Xaw etc. code. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de Mein liebster Grabspruch: Hier ruhen meine Beine, ich wollt, es waeren Deine! ------------------------------------------------------------------
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Program dumping 140Mb core!!?? Message-ID: <8231@ucsbcsl.ucsb.edu> Date: 15 Apr 93 19:47:13 GMT Sender: root@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, U.C.S.B. I have a graphics program in development, written in C++, running under X (i.e., it has no NextStep or objective C code in it at all). I have it linked with -lMallocDebug for memory testing purposes. Normally I have my coredumpsize set to 0 so I wont get any core dumps, and I run the program under gdb to find where it crashes (if it does). [Yes, gdb does work for certain purposes with c++]. Today when I let it dump core to disk, the core was 140 Meg! The virtual memory entry in 'ps xl' was also 140 Meg. I know from my knowledge of the code and from using MallocDebug.app that I do not allocate anywhere *near* that amount of memory in the program--more like 800K! And I certainly cannot imagine I have 399M on the stack! I have read that the virtual memory statistic is not actually indicative of how much memory the process is current using--but where are the 400+ Mb of core coming from? Where does the system determine how much core to dump? Thanks for any tips or information on this. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: NeXTSTEP development case study available Message-ID: <1993Apr15.184213.9873@afs.com> Sender: greg@afs.com Date: Thu, 15 Apr 1993 18:42:13 GMT AFS has entered the OMG contest for custom applications, and our entry is written it in the form of a case study. It describes how we built our afskit and tradekit object classes, and how the customizing of our Wall Street trading apps has become dramatically easier and more maintainable through the miracle of NeXTSTEP. You might find it useful in justifying your own projects, because it provides hard numbers (code size, etc.) and real-life experience. Email greg@afs.com if you would like a copy; it will be available after Monday. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: NeXTstep 3.1 and price of Developers' Package Message-ID: <1993Apr15.200809.28773@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1qk1slINNd1d@controversy.math.lsa.umich.edu> Date: Thu, 15 Apr 1993 20:08:09 GMT Hal.Varian@umich.edu writes > Lots of folks have complained about the forecast price of the NS486 Developers' > Package. One point that seems to be lost in the discussion is that the 3.1 > Developers' Package (for black hardware) will be able to cross-compile to 486 > platforms. This means that any developer that has some black hardware should > be able to develop for beige hardware simply by upgrading to the 3.1 > Developer's Package. And (I hope) NeXT will charge a reasonable price for > that. (I suspect they will---it should create a lot of goodwill among the > current development crowd.) > At the last BCS meeting (about two weeks ago), the folks from NeXT said the upgrade to 3.1 on black hardware would be around/less-than $100. Also at that BCS meeting, the folks from NEC were showing off NeXTSTEP on their new NEC UltraLite Versa (first portable with LocalBus video). It was sweet! -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu --> NeXT Mail accepted at wave@nordine.media.mit.edu
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: edmtl@taxus.uib.no (Thor Legvold) Subject: Faxes won't archive - why? Message-ID: <1993Apr15.224605.13434@alf.uib.no> Sender: edmtl@alf.uib.no (Thor Legvold) Organization: University of Bergen, Norway Date: Thu, 15 Apr 93 22:46:05 GMT OS 3.0, NXFax 1.02, ZyXEL U1496E with latest rom version. I have installed NXFax repeatedly, and have spoken to B&W, but they don't know what will fix this problem - apparently it is NeXTstep or Faxreader which isn't doing its job. I have set up for archiving on /clients partition, but using the root partition doesn't work either. Has anyone else seen/fixed this behaviour? Please E-MAIL replies. Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
Newsgroups: comp.sys.next.programmer Subject: Killing Threads Message-ID: <C5Lo0G.1wt@news.otago.ac.nz> From: gideon@farli.otago.ac.nz (Gideon King) Date: Fri, 16 Apr 1993 23:31:26 GMT Sender: usenet@news.otago.ac.nz (News stuff) Organization: University of Otago Keywords: Thread, cthread Hi, I'm rather new to threads, and am trying to kill a thread I have created before it has completed its run, and for some reason my application sometimes doesn't seem to like it (goes Splat!!). Here's what I'm doing: I create a thread and detach it as follows: pictureThread = cthread_fork((cthread_fn_t)showDataInThread, &stuffForThread); cthread_detach(pictureThread); This thread does some slow calcs and sends messages to a DPS port which in turn passes it on to the main thread to do some screen updating - all because of drawing not being threadsafe of course. I have tried calling my showDataInThread function directly and it works fine. Now when someone presses a button on the screen, it is supposed to kill the thread using the following commands: if(cthread_count() == 2) { thread_suspend(cthread_thread(pictureThread)); cthread_abort(pictureThread); thread_resume(cthread_thread(pictureThread)); } I have also tried it out without the cthread_count() test and it doesn't make any difference (do I need to test whether the thread is still running?). The program often falls over using these commands. What am I doing wrong here? Thanks in advance for your help. -- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Department of Computer Science | e-mail gideon@farli.otago.ac.nz P.O. Box 56 | Dunedin | NeXT mail preferred! New Zealand |
Newsgroups: comp.sys.next.programmer From: yikes@netcom.com (Michael Brill) Subject: Re: Appkit Message-ID: <yikesC5JyH6.AMy@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <1993Apr1.4924.12665@dosgate> <DEMARCO.93Apr14201406@fsd.cpsc.ucalgary.ca> Distribution: comp Date: Fri, 16 Apr 1993 01:22:18 GMT demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) writes: >I was just talking to a fellow programer and he said "..don't look at >the appkit as a good design.." and he mentioned some problems with the >current implementation of the appkit. >Some of which are: > o there are no lightweight views, (Views that can't have > subviews). For example is it really usefull > to have a subview in a button??? > o The Text Object, (What the appkit has a text object) > o Why do forms have to all have the same size? > o Sliders > What if I want a slider to go from Max to Min > Instead of Min to Max??? Basically you have equated a few limitations to a poorly-designed class library. I'd like to see what a "good design" looks like. o What's the value of of a view that can't have subviews... 4 bytes? o Certainly it needs functionality added, but is not _really_ of "bad" design o Forms are matrices of cells. Cells in matrices must all be the same size. Bad design? Nah, just a limitation of matrices. Once NeXT supports a Matrix with variable-sized cells, then the Form problem is solved. o Max-to-min. Yeah, probably an oversight. >I'd like to see what other people think of these issues. NeXT really >hasn't improved the Appkit they have only added features. If you're going to pick on a kit, pick on DBKit! :/ ...Michael Brill (yikes@netcom.com) -- ----
Newsgroups: comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Re: NeXTstep 3.1 and price of Developers' Package Message-ID: <1993Apr16.015436.361@news.csuohio.edu> Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University References: <1qk1slINNd1d@controversy.math.lsa.umich.edu> Date: Fri, 16 Apr 1993 01:54:36 GMT Hal.Varian@umich.edu wrote: : Lots of folks have complained about the forecast price of the NS486 Developers' : Package. One point that seems to be lost in the discussion is that the 3.1 : Developers' Package (for black hardware) will be able to cross-compile to 486 : platforms. This means that any developer that has some black hardware should : be able to develop for beige hardware simply by upgrading to the 3.1 : Developer's Package. And (I hope) NeXT will charge a reasonable price for : that. (I suspect they will---it should create a lot of goodwill among the : current development crowd.) Yes, this says it very well, I believe. I hope Hal's pleas are taken to heart, as I want Steve and NeXT to succeed! -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library j.rosenfeld@csuohio.edu
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Appkit Message-ID: <66552@mimsy.umd.edu> Date: 16 Apr 93 03:43:04 GMT References: <1993Apr1.4924.12665@dosgate> <DEMARCO.93Apr14201406@fsd.cpsc.ucalgary.ca> <yikesC5JyH6.AMy@netcom.com> Sender: news@mimsy.umd.edu Distribution: comp Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) writes: #I was just talking to a fellow programer and he said "..don't look at #the appkit as a good design.." # and he mentioned some problems with the #current implementation of the appkit. # o there are no lightweight views, (Views that can't have # subviews). For example is it really usefull # to have a subview in a button??? but isnt that exactly what a Cell is? and Button's do their drawing in ButtonCells -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.sys.next.programmer From: nathan@laplace.csb.yale.edu (Nathan F. Janette) Subject: Re: NeXTstep 3.1 and price of Developers' Package Message-ID: <1993Apr16.044159.25557@cs.yale.edu> Sender: news@cs.yale.edu (Usenet News) Organization: Yale University, Department of Computer Science, New Haven, CT References: <1993Apr15.200809.28773@news.media.mit.edu> Date: Fri, 16 Apr 1993 04:41:59 GMT In article <1993Apr15.200809.28773@news.media.mit.edu> wave@media.mit.edu (Michael B. Johnson) writes: > At the last BCS meeting (about two weeks ago), the folks from NeXT said the > upgrade to 3.1 on black hardware would be around/less-than $100. Yeah, but it looks like the developer package will be completely separate from the user package. The developer package will be the same for both 68K and Intel systems, since it's "fat". The user system would of course be different for each type of machine. I'd like to see price breaks for users that legally upgraded to NeXTSTEP 3.0, but I fear that $100 figure was for the user package only... -- Nathan "USENET" Janette PPP link from hilbert.csb.yale.edu Please reply to: nathan@laplace.csb.yale.edu (NeXT)
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: Re: Help!! I don't get it! Message-ID: <1993Apr15.175710.15617@netcom.com> Sender: gordie@netcom.com Organization: Cyclesoft Media Works References: <seungwoo.734845911@peca> Date: Thu, 15 Apr 1993 17:57:10 GMT In article <seungwoo.734845911@peca> seungwoo@peca.cs.umn.edu (Seung-Woo Kim) writes: > I am writing a program in which objective C and normal C is mixed > together. I am debugging the program with gdb 3.95 and gcc. The following > is the sort of error I am getting right now. > > 1:void foo(float x) { > 2: float y; > 3: > 4: y = x - 1.0; > 5:} > > (gdb) print x > 3.0 > (gdb) next > (gdb) print y > 2.0 > (gdb) print x > 2.0 <---- what the heck is going on? > Is this a gdb bug? or gcc bug? or am I missing something? I tried everying > register float x, static float y.. Still I don't get it. Please somebody > help me. > > Thanks. > > Seung-Woo If you are compiling with the optimizer on the compiler might reuse x's storage for y, since it stuffed x's value into a register and left it there (and doesn't need the storage for x anymore). The optimizer (-O, -O2) and -g (debug info) can coexist. Either turn off -O when debugging, or you have to learn to live with little things like that (it is harmless, though confusing - the program should still work correctly). If its not the optimizer, than it is certainly something wierd ... Maybe it optimizes a little bit no matter what ... -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
From: therbert@umiami.ir.miami.edu Newsgroups: comp.sys.next.programmer Subject: How to put libg++ on 3.0???? Message-ID: <1993Apr15.161753.14825@umiami.ir.miami.edu> Date: 15 Apr 93 16:17:53 EDT Organization: Univ of Miami IR I have been using c++ with libg++ on 2.1 for quite awhile now and everything is great - As I remember, I didn't even have problems making libg++. Now, I have one of several NeXTs on 3.0 and I am stumped! 1. If I copy the 1.36 (I think) libg++ stuff onto the 3.0 machine, even hello world gives - "Bus Error" but the same thing works great on the 2.1 machine. 2. I got the 1.39 and 2.3 sources from prep.ai.mit.edu but I can't get the 1.39 to make, even though it has the NeXT flags in the makefile. Before I go too much farther with this and reinvent the wheel, does anyone know what g++ libs are to be used with 3.0 C++ and how to do the installation? As I said, everything worked great more than a year ago on 2.1 but I can't seem to repeat that performance with 3.0. Thomas J. Herbert
Newsgroups: comp.sys.next.programmer From: tm@vanguard.com (Takis Mercouris) Subject: Re: Printing with alpha Message-ID: <C5K5yw.Ms@vanguard.com> Sender: tm@vanguard.com (Takis Mercouris) Organization: Vanguard Software, Corp. References: <1993Apr15.152315.824@afs.com> Date: Fri, 16 Apr 1993 04:04:07 GMT In article <1993Apr15.152315.824@afs.com> Michael_Pizolato@afs.com writes: > How do you print a window that contains NXImages that have alpha? The > printPSCode: and smartPrintPSCode: methods print white where the > transparent parts of the images are. Of course, this is not what I > want; I want it to print what's on the screen. > > Can anybody help me out here? > > Thanx, > Michael > > -- > Michael_Pizolato@afs.com If you can't control your peanut > ~18 kyu butter, how can you expect to > Q16 control the rest of your life? > NeXTMail appreciated - Calvin You must create a bitmap, and then print the bitmap. The relevant appkit functions are: NXSizeBitmap, and NXReadBitmap to create a bitmap from the view, and NXDrawBitmap to print the view. You simply call NXDrawBitmap in the drawSelf:: method. That best works if you cache your view in an off-screen view. In such a case, during drawSelf::, if NXDrawingStatus is NX_COPYING, you create the bitmap from the cached view. If what you do is basically displaying images with alpha, while applying simple geometric transformations (such as rotating, scaling, flipping), plus dissolving, with or without DBKit, you might be interested in ImageView palette. ImageView palette is currently in beta, and will be a commercial palette. Mail me if you need more information. Takis_Mercouris@vanguard.com -- Takis Mercouris Vanguard Software, Corp. tm@vanguard.com
Newsgroups: comp.sys.next.programmer From: mshaler@tdocad.sps.mot.com (Michael Shaler) Subject: Re: NeXTstep 3.1 and price of Developers' Package References: <1993Apr15.200809.28773@news.media.mit.edu> Date: Fri, 16 Apr 1993 08:29:39 GMT Organization: Nippon Motorola Ltd., Tokyo, Japan Sender: news@tkymail.sps.mot.com Message-ID: <1993Apr16.082939.4226@tkymail.sps.mot.com> Michael B. Johnson writes: [munch...] Also at that BCS meeting, the folks from NEC were showing off NeXTSTEP on their new NEC UltraLite Versa (first portable with LocalBus video). It was sweet! This is very, very cool. I have been waiting for this one, dreaming of this one, for a very very long time... --- Michael Shaler Tokyo Design Center Nippon Motorola Ltd. +813 3280 8245 voice +813 3440 0033 fax mshaler@tdocad.sps.mot.com [NeXTmail]
Newsgroups: comp.sys.next.programmer From: tsb1@cec2.wustl.edu (Tonya Suzette Bartow) Subject: Low-level control of screen Message-ID: <1993Apr16.002802.14289@wuecl.wustl.edu> Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO Distribution: usa Date: Fri, 16 Apr 1993 00:28:02 GMT Here's the problem: For an imaging project my team has modified Draw to display medical images and allow circles and such to be drawn on top of them. What we need is to find the average value of the pixels in a user-selected region of the screen. How do we get access to the individual pixel values??? Please email any ideas if possible. Thanks!
Newsgroups: comp.sys.next.programmer From: mrb@earth.wustl.edu (Mike Bray) Subject: Re: DBKit read only query (oracle adaptor) Message-ID: <1993Apr16.072944.25333@wuecl.wustl.edu> Summary: Oracle adaptor "sysdate" bug Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO References: <1993Apr14.193849.4155@uunet!cbmvax!xmws!kripalu> Date: Fri, 16 Apr 1993 07:29:44 GMT In article <1993Apr14.193849.4155@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: >Has anyone gotten DBKit to produce a query that does not depend on an >defined entity? Do I have to use a custom DBBinder? > >I just want to do a simple select statement like > select getdate() [...] >Michael Allen Latta >Kripalu Center >harit@kripalu.com >(413)448-3288 I didn't understand what you meant in the paragraphs I deleted, but here's some more info for you. The only experience I have is with Oracle. I don't know if your "select getdate()" is something real or just pseudo-code for what you really want. In Oracle, the RDBMS defines a pseudo-column called sysdate that returns the current system time. As far as I know, there is no such concept with SQL as doing a select without doing it from an entity (table). Oracle installations define a single row table called DUAL, with one column named "DUMMY" and a single row with the character value 'X' in it. So, to get the system date, do "select sysdate from dual". There's nothing special about dual, you could do the select against any other table that has 1 row of data in it, but it's convenient. I've created my own dbmodel which includes the dual table, and I have a custom object that lets me fetch an arbitrary property (column) from dual. I use it to get unique sequence numbers, dates, date calculations, etc. I'd be interested to know if Sybase or other databases (or SQL for that matter) allow for non-table oriented commands like you suggest, or if anyone has comments on what I've written here. Now for the oracle adaptor bug - Using "select sysdate from dual" executed from SQLDBA or SQL*Plus returns the local time, like I generally want. Using DBKit, and a binder to evaluate the same string, GMT time is returned. NeXT hasn't responded to email about this, with anything other than an automatic reply to my bug report. It's a hassle to have to "select sysdate-7/24" to compensate for local standard time, and "sysdate-6/24" for mountain daylight time. Mike Bray (307) 332-1279
Newsgroups: comp.sys.next.programmer From: seungwoo@giga.cs.umn.edu (Seung-Woo Kim) Subject: Re: Help!! I don't get it! Message-ID: <seungwoo.734973045@giga> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <seungwoo.734845911@peca> Date: Fri, 16 Apr 1993 15:10:45 GMT In <seungwoo.734845911@peca> seungwoo@peca.cs.umn.edu (Seung-Woo Kim) writes: >I am writing a program in which objective C and normal C is mixed >together. I am debugging the program with gdb 3.95 and gcc. The following >is the sort of error I am getting right now. >1:void foo(float x) { >2: float y; >3: >4: y = x - 1.0; >5:} >(gdb) print x >3.0 >(gdb) next >(gdb) print y >2.0 >(gdb) print x >2.0 <---- what the heck is going on? >Is this a gdb bug? or gcc bug? or am I missing something? I tried everying >register float x, static float y.. Still I don't get it. Please somebody >help me. >Seung-Woo Thank you all who have replied to my question. My mail box is flooded with answers that I can't thank to everyone individually anymore. As many of you suggested, the problem was optimization. I removed -O option, and the problem went away. Again, thank you for your help. Seung-Woo
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Launching from Dbl clicked document Message-ID: <1993Apr16.153617.16874@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Fri, 16 Apr 1993 15:36:17 GMT Thanks for all the help on the Help files and the document icons. Another thing though, under 2.1 the app launched correctly when one double clicked on the document icon. Now it launches, but the data doesn't appear in the window. I placed an openFile:ok: method in the controller and return a YES as the flag to okay and save the fileName. In addition in the appDidInit method, I check to see if I have a non-zero length fileName and if so I use the standard read method to open the file and read the data. But I don't see any data. what else is necessary? - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: NeXTstep 3.1 and price of Developers' Package Message-ID: <1993Apr16.154503.14645@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1993Apr15.200809.28773@news.media.mit.edu> <1993Apr16.044159.25557@cs.yale.edu> Date: Fri, 16 Apr 1993 15:45:03 GMT In article <1993Apr16.044159.25557@cs.yale.edu> nathan@laplace.csb.yale.edu (Nathan F. Janette) writes: >>In article <1993Apr15.200809.28773@news.media.mit.edu> wave@media.mit.edu >>(Michael B. Johnson) writes: >>> At the last BCS meeting (about two weeks ago), the folks from NeXT said the >>> upgrade to 3.1 on black hardware would be around/less-than $100. >> >>Yeah, but it looks like the developer package will be completely >>separate from the user package. The developer package will be the same >>for both 68K and Intel systems, since it's "fat". The user system would >>of course be different for each type of machine. >> >>I'd like to see price breaks for users that legally upgraded to NeXTSTEP >>3.0, but I fear that $100 figure was for the user package only... >> I explicitly asked about Developer's. The answer, with no waffling, was "around $100, not more than". They certainly might have changed their mind (what else is new?), but that was from the head of NE sales (he used to be the head of NeXTEdge, I forget his name) about two weeks ago. -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
Newsgroups: comp.sys.next.programmer From: jdeclari@troosevelt.is.rpslmc.edu (John William DeClaris) Subject: Re: Cross compiling to the 486 Message-ID: <1993Apr16.141114.15924@rpslmc.edu> Sender: news@rpslmc.edu Organization: Rush-Presbyterian-St. Luke's Medical Center References: <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> Date: Fri, 16 Apr 1993 14:11:14 GMT In article <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> (slugg jello) writes: > Anybody know whether with NeXTSTEP 3.1 we'll be able to use our Motorola NeXT > hardware to cross-compile for the 486 NeXTSTEP environment? > > Thanks. > -- > Doug Kent > Mouthing Flowers, Inc. > slugg@mouthers.wa.com --I am doubtful that itt will. We have both NexTStep and NS/FIP. We have all this great great software for the Next, and we can not use it for NS/FIP. I understand that it is because they are two different platforms, so I think that they will not cross compile. *********************************************************************** John-William DeClaris The views expressed are not necessarily shared by RUSH or other employees. All comments and views expressed are solely those of this auther. Remember...nothing is foolproof to a sufficiently
From: dds@IRVINE.DG.COM (Dennis D. Sherod) Newsgroups: comp.os.386bsd.questions,comp.sys.next.programmer,comp.unix.solaris Subject: Device driver development comparison Date: 16 Apr 93 08:29:36 Organization: Data General, Irvine, CA Distribution: world Message-ID: <DDS.93Apr16082936@penafiel.IRVINE.DG.COM> I am looking to make a selection of a PC/UNIX between Solaris 2.1, NeXTSTEP, and BSD/386 (BSDI's product, not the Jolitz port). Among the criteria that I will using is the support for device driver development, i.e. documentation, kernel source availability, kernel debuggers, kernel profilers, remote target debugging, model (Streams vs non-Streams, select, SMP). If those of you that have done driver development on one or more of theses systems could take the time to send me your thoughts, I would be greatful. Other input comparing these systems is also welcome. -- -- Dennis Sherod, Data General Corporation UUCP: ..!uunet!spsd!d_sherod 2603 Main St., Ste. 360, Irvine, CA 92714 ARPA: dennis_sherod@dg.com FAX: +1 714 724 3989 VOICE: +1 714 724 3951
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Printing with alpha Message-ID: <1993Apr16.152613.180@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Apr15.152315.824@afs.com> Date: Fri, 16 Apr 93 15:26:13 GMT In article <1993Apr15.152315.824@afs.com> Michael_Pizolato@afs.com writes: > How do you print a window that contains NXImages that have alpha? The > printPSCode: and smartPrintPSCode: methods print white where the > transparent parts of the images are. Of course, this is not what I > want; I want it to print what's on the screen. > > Can anybody help me out here? > > Thanx, > Michael > > -- > Michael_Pizolato@afs.com If you can't control your peanut > ~18 kyu butter, how can you expect to > Q16 control the rest of your life? > NeXTMail appreciated - Calvin Composite the images onto a black background then print that. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: NeXT help needed..... Message-ID: <1993Apr16.152736.234@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <intrepidC5JAHr.EC8@netcom.com> Date: Fri, 16 Apr 93 15:27:36 GMT In article <intrepidC5JAHr.EC8@netcom.com> intrepid@netcom.com (Intrepid Traveller) writes: > I have written a program for the NeXT that reads plaintext and then prints > it out on the screen in different format in EPS. To do this, I use > lockfocus, PSshow, etc. The problem lies in that when I write this stuff > to Text ScrollView, it will dump all the stuff into the text window, and > I believe it scrolls off the bottom as well, but I do not get a scroll > bar and therefore can not see the information. If anyone knows how I can > get the ScrollView to scroll when I draw stuff in postscript larger > than the small view that I can see, then please tell me. Any help would > be greatly appreciated. > You need to make sure the text object has been resized after you add text. At the end of your text additions use the sizeToFit method to resize the text object and the scroll view will adjust accordingly. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: NXSplitView - can I use it from IB? How? Message-ID: <1993Apr16.152923.288@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Apr15.171524.11982@RedBrick.COM> Date: Fri, 16 Apr 93 15:29:23 GMT In article <1993Apr15.171524.11982@RedBrick.COM> jfr@RedBrick.COM (Jon Rosen) writes: > Title says it all. There is no apparent palette object that returns an > NXSplitView directly. I can create a CustomView object and then select > an NXSplitView when I do that, but I am not sure what to do with that. > I tried dragging two ScrollViews onto the NXSplitView and dropping them, > but they acted like they were independent views, not part of the SplitView. > I am sure this is simple, but I could use some help. > > Thankx, > > Jon Rosen Currently there is no way to use a split view and place the subviews into it from IB. You could with 3.0 write an IBEditor for the split view that would allow it to operate like a box in each of the views. Not having done an editor yet I do not know the level of effort here. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Re: How to put libg++ on 3.0???? Message-ID: <1993Apr16.181915.8545@leland.Stanford.EDU> Keywords: gcc, cc++, C++ Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Apr15.161753.14825@umiami.ir.miami.edu> Date: Fri, 16 Apr 93 18:19:15 GMT In article <1993Apr15.161753.14825@umiami.ir.miami.edu> therbert@umiami.ir.miami.edu writes: > I have been using c++ with libg++ on 2.1 for quite awhile now > and everything is great - As I remember, I didn't even have > problems making libg++. > > Now, I have one of several NeXTs on 3.0 and I am stumped! > > 1. If I copy the 1.36 (I think) libg++ stuff onto the > 3.0 machine, even hello world gives - "Bus Error" but > the same thing works great on the 2.1 machine. > > 2. I got the 1.39 and 2.3 sources from prep.ai.mit.edu > but I can't get the 1.39 to make, even though it has > the NeXT flags in the makefile. > > Before I go too much farther with this and reinvent the > wheel, does anyone know what g++ libs are to be used > with 3.0 C++ and how to do the installation? > > As I said, everything worked great more than a year ago > on 2.1 but I can't seem to repeat that performance with > 3.0. > > Thomas J. Herbert > I have proposed that the following be put in the FAQ. The cc++ shipped with 3.0 is a modified version of gcc-1.93. As shipped, 3.0 does not have the standard C++ headers and library functions (like iostream.h). It is therefore of no use as a C++ compiler (unless you want to write your own i/o routines, etc). There are basically two things you can do to remedy the situation. 1.) Get libg++-1.39.0 and build it using cc++ (some patches are needed, see below). 2.) Get the latest version of gcc and libg++ and build them. They (gcc-2.3.3 and libg++-2.3 that is) compile without problems (you need GNU make and bison, plus at least 40 MB of disk space to build gcc). The second alternative is clearly preferable in that you get a more stable C++ compiler that support "recent" additions to C++. This makes it much more likely that you will be able to use packages from other sources, etc There are two disadvantages: gcc takes up more than 10 MB of disk space, and the version of gdb that comes with 3.0 works less well with it. You should probably not get rid of cc even if you get gcc as the support for NeXT's Objective-C in gcc is not reliable. Here are the instructions for getting libg++-1.39.0: > Path: nntp.Stanford.EDU!stanford.edu!agate!spool.mu.edu!uunet!cs.utexas.edu !rutgers!flop.ENGR.ORST.EDU!flop.ENGR.ORST.EDU!usenet > From: schreier@next242.ECE.ORST.EDU (Richard Schreier) > Newsgroups: comp.sys.next.programmer > Subject: Re: C++ > Keywords: C++ > Message-ID: <1iin29INNbap@flop.ENGR.ORST.EDU> > Date: 8 Jan 93 01:57:29 GMT > Organization: College of Engineering, Oregon State University > Lines: 61 > > Thanks to the friendly folks at NeXT (Allen Denison), > who in turn acknowledges madler@nntp-server.caltech.edu (Mark Adler) > I have managed to get C++ to go. Here is the magic. > > Create a folder, say /me/tmp. > % mkdir tmp > % cd tmp > > Get libg++-1.39.0.tar.Z via anonymous ftp from prep.ai.mit.edu > from the directory pub/gnu. > % ftp prep.ai.mit.edu > ... > > Get NeXTmods-rls3.tar.Z via anonymous ftp from next242.ece.orst.edu > from the directory pub. > % ftp next242.ece.orst.edu > ... > > Unpack the gnu stuff, and cd to the newly created directory. > % zcat libg++-1.39.0.tar.Z | tar xf - > % cd libg++-1.39.0 > > Unpack the mods file while in the newly created libg++-1.39.0 folder. > % zcat ../NeXTmods-rls3.tar.Z | tar xf - > > Create /usr/gnu, and /usr/gnu/lib (writable by whoever is doing this). > % mkdir /usr/gnu > % mkdir /usr/gnu/lib > > Change Makefile line 32 to "PWD=/me/tmp/libg++-1.39.0" > ^^^^^^^ may need changing > > Then > % make src (takes a while--ignore the warnings) > % make install-lib" (puts libg++.a in /usr/gnu/lib) > % make install-include-files" (this puts the include files in > /usr/gnu/lib/g++-include) > % make tests" (this takes rather a lot of disk space). > > There are differences from the expected output, most likely due to > finite precision effects. > > Make a test program, x.cc, containing: > #include <stream.h> > main() { > cout << " Hello world!\n"; > } > Compile it. > % cc++ -I/usr/gnu/lib/g++-include -O x.cc -L/usr/gnu/lib -lg++ > Run it. > % a.out > It should print > Hello world! > > And THAT IS ALL! > > -- > Professor Richard Schreier > Dept. of Electrical and Computer Engineering > Oregon State University Tel (503)-737-2051 > Corvallis, OR 97331-3211 Fax (503)-737-1300 -- Magnus Nordborg Department of Biological Sciences Stanford University magnus@fisher.stanford.edu (NeXT mail preferred)
Newsgroups: comp.sys.next.programmer From: soward@slow.inslab.uky.edu (John Soward) Subject: Re: Cross compiling to the 486 Message-ID: <C5LDzt.Mn0@ms.uky.edu> Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences References: <1993Apr16.141114.15924@rpslmc.edu> Date: Fri, 16 Apr 1993 19:55:05 GMT John William DeClaris writes -> In article <1993Apr6.051105.16419@mouthers.nwnexus.wa.com> (slugg jello) -> writes: -> > Anybody know whether with NeXTSTEP 3.1 we'll be able to use our Motorola -> NeXT -> > hardware to cross-compile for the 486 NeXTSTEP environment? -> > -> > Thanks. -> > -- -> > Doug Kent -> > Mouthing Flowers, Inc. -> > slugg@mouthers.wa.com -> -> --I am doubtful that itt will. We have both NexTStep and NS/FIP. We have -> all this great great software for the Next, and we can not use it for -> NS/FIP. I understand that it is because they are two different platforms, -> so I think that they will not cross compile. This is the kind of thing that ticks me off about NeXT as of late...Obviously this guy hasn't take the time to look at the Intel NEXTSTEP that he has...much less read the docs...but yet other people who would love to play with it and help find errors, people who have bought dozens of machines, don't get it! Well, the thing does cross compile...you obiously don't have 3.1 NS, if you do you didn't read the release notes and install the missing files! -- John Soward \ 'Across yonder oceans the natives are fierce University of Kentucky \ Their ears are filled and their teeth are pierced' soward@inslab.uky.edu \ -- The Church, Priest=Aura
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Program dumping 140Mb core!!?? Message-ID: <1993Apr16.153056.344@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <8231@ucsbcsl.ucsb.edu> Date: Fri, 16 Apr 93 15:30:56 GMT In article <8231@ucsbcsl.ucsb.edu> doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) writes: > I have a graphics program in development, written in C++, running under X > (i.e., it has no NextStep or objective C code in it at all). I have it linked > with -lMallocDebug for memory testing purposes. > > Normally I have my coredumpsize set to 0 so I wont get any core dumps, and I > run the program under gdb to find where it crashes (if it does). [Yes, gdb > does work for certain purposes with c++]. > > Today when I let it dump core to disk, the core was 140 Meg! The virtual > memory entry in 'ps xl' was also 140 Meg. > > I know from my knowledge of the code and from using MallocDebug.app that I do > not allocate anywhere *near* that amount of memory in the program--more like > 800K! And I certainly cannot imagine I have 399M on the stack! > > I have read that the virtual memory statistic is not actually indicative of > how much memory the process is current using--but where are the 400+ Mb of > core coming from? Where does the system determine how much core to dump? > > Thanks for any tips or information on this. > > > -- > Douglas Scott (805)893-8352 > Center for Computer Music Research and Composition > University of California, Santa Barbara > Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu> I presume that it is also dumping the shared library sections you must be mapping in. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NXSplitView - can I use it from IB? How? Date: 17 Apr 1993 09:39:56 +0100 Organization: me organized? That's a joke! Message-ID: <1qofos$c3v@steffi.demon.co.uk> References: <1993Apr15.171524.11982@RedBrick.COM> <1993Apr16.152923.288@uunet!cbmvax!xmws!kripalu> harit@kripalu.com wrote >Currently there is no way to use a split view and place the subviews >into it from IB. You could with 3.0 write an IBEditor for the split >view that would allow it to operate like a box in each of the views. >Not having done an editor yet I do not know the level of effort here. Hell, has anybody done an IBEditor? What can be done with such beasts. -- Real programmers don't create classes, they build heirarchies.
Newsgroups: comp.sys.next.programmer Subject: Re: Finding out if object is freed? Message-ID: <SCOTT.93Apr17044844@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 17 Apr 93 04:48:44 References: <1993Apr13.215126.4373@CAM.ORG!planon> <1qfsuk$qs7@agate.berkeley.edu> Organization: Is a sign of weakness In-reply-to: william@moica.berkeley.edu's message of 14 Apr 1993 02:29:40 GMT In article <1qfsuk$qs7@agate.berkeley.edu> william@moica.berkeley.edu (William E. Grosso) writes: > > Yanik Crepeau writes > > If you use a HashTable with string ("(char *)") as key you double > > your problems. The HashTable does not store a copy of the string when > > you use string keys but it stores address of such string. If such > > address is a "char *" inside the FREED object, the pointer is also > > cleared and the HashTable itself is jeopardized since one of its key > > is a pointer to the unknown. > > Gosh. Does anybody out there actually have code that does this ? > If I read it correctly, then one object has a pointer to a hash-table > which uses another object's data for its key. Which seems (to my > mind) to severely violate the whole point of OO programming. Actually, I think you read it wrong. I thought Yanik was just stating a factoid, that HashTable's maintain pointers to objects, so make certain you get rid of the elements pointing to the object before you free the object, to protect yourself. Further, though I'm no doubt aiming far from where your comment treads, I would argue that HashTables and Lists of externally maintained pointers _are_ a valid OOP design method, so long as you encapsulate them somehow! Essentially what you are doing is maintaining a multiple index database. A common "for instance" is a large list in a browser. One set of indices are integers via a the browser's Matrix's cellList, while the other might be strings via a HashTable. The orderly array-like access via the List is alright for many uses - but, it's obviously not right if you need to access things by name. Then you'd have to search the List manually, which would be slow. Toss in a HashTable and it's fast. The encapsulation should make certain that both indices are maintained across frees and stuff. If you _don't_ encapsulate them, then they _are_ quite non-OOP. Essentially, though, you can get away with some ugly stuff if you encapsulate an entire network of objects under one roof ... Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer Subject: Why does netname_look_up() sometimes hang? Message-ID: <SCOTT.93Apr17045049@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 17 Apr 93 04:50:49 Distribution: world Organization: Is a sign of weakness Anyone know if there are bats in the net name server? For a variety of reasons covered in earlier messages on this forum, I needed to write a clone of Listener's -checkInAs: using basic netname_*() functions. The code works great, except ... Well, sometimes netname_look_up() never returns. It is happening when I'm torture-testing the code, trying to force separate executions of my program to step on each other's toes (the point being that they should realize this and quit). If the program is already running and it is run again, the second version will ask the first to exit, after which it will take over. So, my torture tests consist of trying to run the program over and over in two Stuart windows. In other words, first I run it in window A, then run it in B, which causes the one in A to exit. So, I run one in A again ... using "!!", I can queue up a number of runs for quick execution. What happens is that after the competing programs successfully depose each other a couple times, the one in window A will suddenly thinks it's successfully completed the negotiations (ie, nobody else is competing with it), and the one in window B just hangs. [This is obviously symmetric - both windows are in the same directory running the same executable.] By attaching to the hung program in window B with GDB, I find that it's hung in msg_rpc_trap(), as in: #0 0x50088ca in msg_rpc_trap () #1 0x5013624 in msg_rpc () #2 0x50180e2 in netname_look_up () #3 0x7b20 in - [Listener=0x00119110 publicCheckInAs: name=(char *) 0x1b6a5 "TickleServer"] (TickleServer_main.m line 47) I've left it running for quite some time (about a half hour, now), and it's still now come back. If I run it again in yet another window (window C), the one in window C deposes the one in window A, while the hung execution in window B stays hung. To sum it up: If two programs compete for access to the netname_* server, apparently they can sometimes get wedged in netname_look_up() waiting for a reply. [To be honest, this is probably not a big deal, because for any _reasonable_ tests, it seems to work just fine. The main thing was defeating the NS3.0 PublicWindowServer/Listener interaction. But, my retentive side says that if codes doesn't for for all cases guaranteed, then it's not worthy code ... "I don't _care_ if that routine never returns NULL, I'm going to check for it anyway!"] Thanks, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: NeXTstep 3.1 and price of Developers' Package In-Reply-To: nathan@laplace.csb.yale.edu's message of Fri, 16 Apr 1993 04:41:59 GMT To: nathan@laplace.csb.yale.edu (Nathan F. Janette) Message-ID: <CEDMAN.93Apr16085008@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1993Apr15.200809.28773@news.media.mit.edu> <1993Apr16.044159.25557@cs.yale.edu> Date: Fri, 16 Apr 1993 12:50:08 GMT In article <1993Apr16.044159.25557@cs.yale.edu> nathan@laplace.csb.yale.edu (Nathan F. Janette) writes: In article <1993Apr15.200809.28773@news.media.mit.edu> wave@media.mit.edu (Michael B. Johnson) writes: > At the last BCS meeting (about two weeks ago), the folks from > NeXT said the upgrade to 3.1 on black hardware would be > around/less-than $100. Yeah, but it looks like the developer package will be completely separate from the user package. The developer package will be the same for both 68K and Intel systems, since it's "fat". The user system would of course be different for each type of machine. I'd like to see price breaks for users that legally upgraded to NeXTSTEP 3.0, but I fear that $100 figure was for the user package only... One second.... Do you actually mean to say that if I -- a Motorola NeXT developer -- want to upgrade from 3.0 to 3.1 I will not only have to pay $100 for the user CDROM (which is bearable), but will also have to pay $2000 to get the new version of the compiler, Interface Builder aso ? In the last few years I've rarely complained about NeXTs policies and often done my best to defend them when some people got overly upset by them, but this outrageous -- $2100 for a sub-version upgrade for a "personal workstation" ! As I'm not willing to run an obsolete OS version, if this is true it is "farewell NeXT !" for me. Carl Edman
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: NeXTstep 3.1 and price of Developers' Package Organization: Primitive Software Ltd. References: <1993Apr15.200809.28773@news.media.mit.edu> <1993Apr16.044159.25557@cs.yale.edu> <1993Apr16.154503.14645@news.media.mit.edu> Date: Sat, 17 Apr 1993 09:21:58 +0000 Message-ID: <1993Apr17.092158.8290@prim> Sender: usenet@demon.co.uk In article <1993Apr16.154503.14645@news.media.mit.edu> wave@media.mit.edu (Michael B. Johnson) writes: >In article <1993Apr16.044159.25557@cs.yale.edu> nathan@laplace.csb.yale.edu (Nathan F. Janette) writes: >>>In article <1993Apr15.200809.28773@news.media.mit.edu> wave@media.mit.edu >>>(Michael B. Johnson) writes: >>>> At the last BCS meeting (about two weeks ago), the folks from NeXT said the >>>> upgrade to 3.1 on black hardware would be around/less-than $100. >>> >>>Yeah, but it looks like the developer package will be completely >>>separate from the user package. The developer package will be the same >>>for both 68K and Intel systems, since it's "fat". The user system would >>>of course be different for each type of machine. >>> >>>I'd like to see price breaks for users that legally upgraded to NeXTSTEP >>>3.0, but I fear that $100 figure was for the user package only... >>> > >I explicitly asked about Developer's. The answer, with no waffling, was >"around $100, not more than". They certainly might have changed their >mind (what else is new?), but that was from the head of NE sales (he >used to be the head of NeXTEdge, I forget his name) about two weeks ago. So if black NS 3.1 is also fat, does this mean that existing 3.0 license holders can obtain the developers version of NS/FIP for ~$895? (= $795 for the user part + ~$100 for the NS 3.1 upgrade). Or will the black 3.1 upgrade be a separate package from the combined 3.1 fat developer package? (With the 3.0 upgrade, there was no distinction between "upgrade" and "new installation".) Confused, Dave Griffiths
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: rightMouseDown: Message-ID: <abellC5MoKz.9C7@netcom.com> Organization: NETCOM On-line Communication Services (408 241-9760 guest) Date: Sat, 17 Apr 1993 12:41:23 GMT Yeah, yeah, I know I'm not supposed to use the right mouse button. Nevertheless, I have a panel where I really need to catch rightMouseDown:. This is easy in most situations, but this panel can become neither Key nor Main, which seems to make the damned panel impervious to right mouse events. Does anybody out there know how to get around this? Steve abell@netcom.com
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Transparent windows Date: 17 Apr 1993 16:08:37 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1qp6hl$29j@steffi.demon.co.uk> Cc: next-prog@cpac.washington.edu HI folks, in the past this topic has some up. I was using icon builder today and I was wondering about the little window in ObeseBits. It gives the impression that it is transparent. Are they just copying the bit underneath it to give it that impression? Is that little navigator a window or a view looking like a window? -- Real programmers don't create classes, they build heirarchies.
Newsgroups: comp.sys.next.programmer From: dlm40629@uxa.cso.uiuc.edu (Daniel L. Marks) Subject: NextSTEP Course in Chicago Area, Summer 1993 Date: Sat, 17 Apr 1993 17:21:05 GMT Message-ID: <C5n1J5.9yJ@news.cso.uiuc.edu> Distribution: usa Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Keywords: Nextstep Summer 1993 Chicago Organization: University of Illinois at Urbana A NeXTstep Course will be held in the Chicago area, that will teach both the basics and more advanced techniques of NeXTstep programming with the Interface Builder, Project Builder, DB Kit, and the Application Kit. It is scheduled for mid-June, will be held in the early evening, and will last for six weeks. The topics that will be covered include: x Introduction to the NeXTstep graphical environment x Creating Applications with the Project Builder x Introduction to Object Oriented Programming x Construction of graphical interfaces with Interface Builder x Objective-C and a brief review of C programming x Digital Librarian and NextDeveloper on-line documentation x Many Application Kit Classes x Display Postscript and pswraps x Mouse and Keyboard Handling and Events x Distributed Objects x Introduction to Mach (Streams and Threads) x Introduction to DB Kit x Porting to NeXTstep-486 We want to know how much interest there is in this course, and if college credit is important for potential enrollees. If you are interested in this course, please respond to dlm40629@uxa.cso.uiuc.edu, and tell us if you are interested in taking the course for credit or not. NeXTstep programmers Daniel L. Marks (d-marks1@uiuc.edu) and David Jeske (jeske@ux4.cso.uiuc.edu), formerly with the Mathematics Visualization Project of Argonne National Laboratory, will be instructors for the course. This course has previously been taught for credit by the same instructors at the University of Illinois at Chicago campus. ----------------------------------------------------------------------- Dan Marks dlm40629@uxa.cso.uiuc.edu
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: NXSplitView - can I use it from IB? How? Message-ID: <1993Apr17.181014.6182@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1993Apr15.171524.11982@RedBrick.COM> <1993Apr16.152923.288@uunet!cbmvax!xmws!kripalu> <1qofos$c3v@steffi.demon.co.uk> Date: Sat, 17 Apr 1993 18:10:14 GMT In article <1qofos$c3v@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: >>harit@kripalu.com wrote >>>Currently there is no way to use a split view and place the subviews >>>into it from IB. You could with 3.0 write an IBEditor for the split >>>view that would allow it to operate like a box in each of the views. >>>Not having done an editor yet I do not know the level of effort here. >> >>Hell, has anybody done an IBEditor? What can be done with such >>beasts. >> Sure, I've implemented several. As for what can be done with them, anything you want... I've only written IBEditors for not-View objects, though. I'd love to see a palette with a usable NXSplitView. Maybe after Monday... The main difference between an editor and an inspector in IB is that you can have multiple editors open at once, so if you want to drag-and-drop between them, you can. With inspectors, you have to cut-and-paste... -- --> Michael B. Johnson --> MIT Media Lab -- Computer Graphics & Animation Group --> (617) 253-0663 -- wave@media-lab.media.mit.edu
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTstep 3.1 and price of Developers' Package Date: 17 Apr 1993 16:59:03 +0100 Organization: me organized? That's a joke! Message-ID: <1qp9g7$2p7@steffi.demon.co.uk> References: <1993Apr15.200809.28773@news.media.mit.edu> <1993Apr16.044159.25557@cs.yale.edu> <CEDMAN.93Apr16085008@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) wrote >In article <1993Apr16.044159.25557@cs.yale.edu> nathan@laplace.csb.yale.edu (Nathan F. Janette) writes: > In article <1993Apr15.200809.28773@news.media.mit.edu> wave@media.mit.edu > (Michael B. Johnson) writes: > > At the last BCS meeting (about two weeks ago), the folks from > > NeXT said the upgrade to 3.1 on black hardware would be > > around/less-than $100. > > Yeah, but it looks like the developer package will be completely > separate from the user package. The developer package will be the > same for both 68K and Intel systems, since it's "fat". The user > system would of course be different for each type of machine. > > I'd like to see price breaks for users that legally upgraded to > NeXTSTEP 3.0, but I fear that $100 figure was for the user package > only... > >One second.... Do you actually mean to say that if I -- a Motorola >NeXT developer -- want to upgrade from 3.0 to 3.1 I will not only have >to pay $100 for the user CDROM (which is bearable), but will also have >to pay $2000 to get the new version of the compiler, Interface Builder >aso ? In the last few years I've rarely complained about NeXTs >policies and often done my best to defend them when some people got >overly upset by them, but this outrageous -- $2100 for a sub-version >upgrade for a "personal workstation" ! As I'm not willing to run an >obsolete OS version, if this is true it is "farewell NeXT !" for me. > > Carl Edman > OK, this is a plea to NeXT or anybody who knows the hard facts on this. The recent press releases have all been about NS486/FIP and no mention of 0x0 3.1. Before people start speculating about these things how about confirmation from somebody in NeXT. Just what are the costs involved in bringing a 0x0 Release 3 development environment based machine up to a Release 3.1 development based machine. I cannot believe that NeXT would allientate 0x0 users like this if what Carl says is true. Also, if this IS true, its going to change the resell value of a 0x0 based machine quite considerably. This would be a heartless action. But mind you its certainly a way of removing the need to support 0x0 machines in future. Can you say Sun 3 series? I don't care about Expo deals I don't see that as being the generous offer to ease the burden for current 0x0 owners. And I will not be bullied into purchasing new hardware together with attending Expo Developer just so that I can develop for 486 based machines and I'm sure a lot of small developers feel the same way about this. Please can we have a clarification/No no, we wouldn't do that to those people who have brought us this far announcement. -- Real programmers don't create classes, they build heirarchies.
Newsgroups: comp.sys.next.programmer Subject: Transparent windows Message-ID: <9304171508.AA02360@> From: Robert Nicholson <robert@steffi.demon.co.uk> Date: Sat, 17 Apr 93 16:08:41 BST Sender: news@antares.mcs.anl.gov Organization: me organized? That's a joke! HI folks, in the past this topic has some up. I was using icon builder today and I was wondering about the little window in ObeseBits. It gives the impression that it is transparent. Are they just copying the bit underneath it to give it that impression? Is that little navigator a window or a view looking like a window?
Newsgroups: comp.sys.next.programmer From: bamberg@eecs.wsu.edu (Roberto Bamberger - Faculty) Subject: NXImage Question Message-ID: <1993Apr17.205849.5093@serval.net.wsu.edu> Sender: news@serval.net.wsu.edu (USENET News System) Organization: Washington State University Date: Sat, 17 Apr 93 20:58:49 GMT I want to do the following thing: Read in a tiff image, get the raw data (bitmap) from the image, process it using some stuff that knows absolutely nothing about tiff, and then display the processed image. The first thing we have tried is to use NXImage -loadFromFile, and then use NXBitmapImage to get the raw data from the view. The only problem with this is that the data that I read is the rendered data... even if I tell it to Cache at some particular depth. Hence, I get different answers if I run on a mono, color, or NeXTDimension system. Are there any easy ways around this short of using some tiff reading software? I am using setCacheDepthBounded:NO and useCacheWithDepth: NX_EightBitGrayDepth (they make sense for my particular application). Can someone PLEASE help? -- Dr. Roberto H. Bamberger Office:(509)-335-4053 Assistant Professor FAX:(509)-335-3818 Imaging Research Laboratory School of Electrical Engineering and Computer Science Washington State University Pullman, WA 99164-2752
Newsgroups: comp.sys.next.programmer From: dse@cbnewsi.cb.att.com (donald.s.eaves) Subject: Re: NeXTstep 3.1 and price of Developers' Package Organization: AT&T Distribution: usa Date: Sun, 18 Apr 1993 03:56:03 GMT Message-ID: <C5nuxI.4K1@cbnewsi.cb.att.com> References: <1993Apr16.044159.25557@cs.yale.edu> <CEDMAN.93Apr16085008@capitalist.princeton.edu> <1qp9g7$2p7@steffi.demon.co.uk> In article <1qp9g7$2p7@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: >cedman@princeton.edu (Carl Edman) wrote >>In article <1993Apr16.044159.25557@cs.yale.edu> nathan@laplace.csb.yale.edu (Nathan F. Janette) writes: >> In article <1993Apr15.200809.28773@news.media.mit.edu> wave@media.mit.edu >> (Michael B. Johnson) writes: >> > At the last BCS meeting (about two weeks ago), the folks from >> > NeXT said the upgrade to 3.1 on black hardware would be >> > around/less-than $100. >> >> Yeah, but it looks like the developer package will be completely >> separate from the user package. The developer package will be the >> same for both 68K and Intel systems, since it's "fat". The user >> system would of course be different for each type of machine. >> >> I'd like to see price breaks for users that legally upgraded to >> NeXTSTEP 3.0, but I fear that $100 figure was for the user package >> only... >> >>One second.... Do you actually mean to say that if I -- a Motorola >>NeXT developer -- want to upgrade from 3.0 to 3.1 I will not only have >>to pay $100 for the user CDROM (which is bearable), but will also have >>to pay $2000 to get the new version of the compiler, Interface Builder >>aso ? In the last few years I've rarely complained about NeXTs >> [stuff deleted] > >OK, this is a plea to NeXT or anybody who knows the hard facts on >this. > >The recent press releases have all been about NS486/FIP and no mention of >0x0 3.1. Before people start speculating about these things how >about confirmation from somebody in NeXT. > >Just what are the costs involved in bringing a 0x0 Release 3 development >environment based machine up to a Release 3.1 development based >machine. > >I cannot believe that NeXT would allientate 0x0 users like this if >what Carl says is true. Also, if this IS true, its going to change I read in one of the news groups that the $100 cost was for a DEVELOPER upgrade. Which means that we will be able to upgrade to an Intel machine for $500 - $600 after the NeRD discount. Will you guys stop being paranoid. When we bought these machines, NeXT's policy was to give us software upgrades at about the cost of media and royalties. The last thing they are going to do, at this stage, is alienate their existing costumer base by reversing this poicy. Don
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Developer wanted Message-ID: <1993Apr18.042757.226@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Sun, 18 Apr 1993 04:27:57 GMT Developer wanted. Must be fimilar with NeXTSTEP, Obj-C and have a complete understanding of sound, fax and modems. Please e-mail for non-disclosure and discription of product(s). DO NOT FAX. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
From: ramesh@bodhi.esys.cwru.edu (Ramesh Dodamani) Newsgroups: comp.sys.next.programmer Subject: Question regarding DBKit/PopUpList Date: 18 Apr 1993 06:20:21 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1qqrv5$9ct@usenet.INS.CWRU.Edu> Hello I have a question regarding the PopUpList. I have an attribute of one of my tables connected to a PopUpMenu. Before DBKit was present I was using the target/action methods of the PopUpList( which was the target of the PopUp button) to access the selected entry. Now I find that the DBPopUpAssociation is the target of the PopUp button and it does not support the target/action methods. My question is: How do I take action when the PopUp button is pressed? For example, I want to find the index of the selected item. How Do I get it? How does my (target)object know that the button is clicked? I am stuck, and will be grateful for an answer. Ramesh
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: Re: rightMouseDown: Message-ID: <1993Apr18.063120.21708@netcom.com> Sender: gordie@netcom.com Organization: Cyclesoft Media Works References: <abellC5MoKz.9C7@netcom.com> Date: Sun, 18 Apr 1993 06:31:20 GMT In article <abellC5MoKz.9C7@netcom.com> abell@netcom.com (Steven T. Abell) writes: > Yeah, yeah, I know I'm not supposed to use the right mouse button. > Nevertheless, I have a panel where I really need to catch rightMouseDown:. > This is easy in most situations, > but this panel can become neither Key nor Main, > which seems to make the damned panel impervious to right mouse events. > Does anybody out there know how to get around this? > > Steve abell@netcom.com Try subclassing the Application object and making that NXApp. This will get the sendEvent:(Event*) message with all events indicated in the Event* struct(such as NX_RMOUSEDOWN, etc. - defined in <appkit/event.h>) and that is what turns them into the actual messages sent to the views down the responder food chain (I assume you already know how to subclass a view/responder/etc. to catch rightMouseDown:(NXEvent*) and rightMouseUp:(NXEvent*), but the application is being nasty and doesn't give them to your panel). I'm guessing (grasping) here that the Application (or subclass, or possibly Category - never did really figure out how Categories work, other than to use them in implementation files for "private" methods!) will still get the NX_RMOUSEDOWN, etc., its just that a vanilla Application object doesn't forward them to your particular view. Of course, if the even it is not NX_RMOUSEXXX, or its not your panel, send the original message up to your superclass. Now I'm not absolutely sure on this, but I think you want to override Application's "sendEvent: (NXEvent*) event" method which is called by Application run (I just subclassed a button, implemented my own rightMouseDown, stuck it in a window in IB, set a breakpoint in my mouseDown method, ran the program, and this is the stack trace:) 0x602e494 in -[Application run] () 0x6027d08 in -[Application sendEvent:] () 0x605ef92 in -[Window sendEvent:] () -[MyButton rightMouseDown:] (self=0xaa364, _cmd=0x618556e, event=0xba128) at MyButton.m:13 I presume there is enough info in the NXEvent* to determine the window and event, pass it up to [super sendEvent:event] if it's not your window and event. Unfortunately this slows down event handling, not important for mouse click probably, but since you are getting all events, some other more time critical ones will also get hit. Probably no big deal though. Obviously the right mouse down/up is not given to your window if it doesn't have focus, but (surprisingly), even if the user's prefs indicate right mouse button popup menu, you will still get the message when your window has focus. Also, you could try to mess with [yourPanelThatNotGetMouse addToEventMask:NX_RMOUSEDOWN] possibly the style of panel you are using somehow managed to removeFromEventMask the right mouse button events, and that is why Application doesn't send them (you may not need the previous subclassing of the App if this works)... Basically ideas, I don't really know how to do this (just rambling), but this might set you on the right track .... Hope it helps, post how it turns out when you figure it out -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: PopUpList help Message-ID: <1993Apr18.090015.2126@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group Date: Sun, 18 Apr 1993 09:00:15 GMT I need help with two things. 1) How can I get a message that a popup menu item just changed? 2) How do I disable (grey out) some popup menu items based on another popup menu? example popup one Bird Dog Cat popup two tail legs wings tongue if popup one is Bird all the items in popup two are ENABLED. if popup one is either Dog or Cat the WINGS item in popup two is DISABLED. Any help is appreciated. I have tried to look through the docs, but I am now more confused than before. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: ckminer@longs.LANCE.ColoState.Edu (Chris Miner) Subject: Re: c++, cin, cout, libg++, NS3.0 SUMMARY Sender: news@yuma.ACNS.ColoState.EDU (News Account) Message-ID: <Apr18.172130.34476@yuma.ACNS.ColoState.EDU> Date: Sun, 18 Apr 1993 17:21:30 GMT Distribution: usa References: <Apr13.210126.88289@yuma.ACNS.ColoState.EDU> Organization: Colorado State U. Engineering College Keywords: c++, cin, cout, streams I recieved two very helpfull responses to this query from Magnus Nordborg and Robert Nicholson. Here's a compilation of what they had to say: [From Magnus Nordborg] > The cc++ shipped with 3.0 is a modified version of gcc-1.93. As >shipped, 3.0 does not have the standard C++ headers and library >functions (like iostream.h). It is therefore of no use as a C++ >compiler (unless you want to write your own i/o routines, etc). >There are basically two things you can do to remedy the situation. > >1.) Get libg++-1.39.0 and build it using cc++ (some patches > are needed, see below). > >2.) Get the latest version of gcc and libg++ and build them. > They (gcc-2.3.3 and libg++-2.3 that is) compile without problems > (you need GNU make and bison, plus at least 40 MB of disk space to > build gcc). > > The second alternative is clearly preferable in that you get a more >stable C++ compiler that support "recent" additions to C++. This >makes it much more likely that you will be able to use packages >from other sources, etc There are two disadvantages: gcc takes >up more than 10 MB of disk space, and the version of gdb that comes >with 3.0 works less well with it. You should probably not get rid >of cc even if you get gcc as the support for NeXT's Objective-C in >gcc is not reliable. > [A summary of Robert Nicholson's comments] > Get gcc2.3.3 and libg++2.3 which comes with the streams package. >If you want the full functionality of streams, do not install >libg++-1.39.0. I tried to supplement NeXT's gcc with 1.39.0 and >found it lacking. In addition, the NS3.0 gcc doesn't support >templates, while gcc-2.3.3 does. I tried to compile c++ source >which had #include <iostream.h>, and this wouldn't work with 1.39.0. >In fact, hardly any current source will compile with 1.39.0 > gcc2.3.3 as well as libg++2.3 can be retrieved from prep.ai.mit.edu pub/gnu -rw-r--r-- 1 14910 5030197 Dec 26 13:55 gcc-2.3.3.tar.z -rw-r--r-- 1 14910 1082611 Dec 9 23:36 libg++-2.3.tar.z -rw-r--r-- 1 14910 252202 Apr 18 01:54 bison-1.21.tar.z -rw-r--r-- 1 14910 384411 Jan 22 20:23 make-3.63.tar.z For those of you who want 1.39.0, here are the instructions, Magnus sent me, for getting libg++-1.39.0: > Path: nntp.Stanford.EDU!stanford.edu!agate!spool.mu.edu!uunet!cs.utexas.edu!rutgers!flop.ENGR.ORST.EDU!flop.ENGR.ORST.EDU!usenet > From: schreier@next242.ECE.ORST.EDU (Richard Schreier) > Newsgroups: comp.sys.next.programmer > Subject: Re: C++ > Keywords: C++ > Message-ID: <1iin29INNbap@flop.ENGR.ORST.EDU> > Date: 8 Jan 93 01:57:29 GMT > Organization: College of Engineering, Oregon State University > Lines: 61 > > Thanks to the friendly folks at NeXT (Allen Denison), > who in turn acknowledges madler@nntp-server.caltech.edu (Mark Adler) > I have managed to get C++ to go. Here is the magic. > > Create a folder, say /me/tmp. > % mkdir tmp > % cd tmp > > Get libg++-1.39.0.tar.Z via anonymous ftp from prep.ai.mit.edu > from the directory pub/gnu. > % ftp prep.ai.mit.edu > ... > > Get NeXTmods-rls3.tar.Z via anonymous ftp from next242.ece.orst.edu > from the directory pub. > % ftp next242.ece.orst.edu > ... > > Unpack the gnu stuff, and cd to the newly created directory. > % zcat libg++-1.39.0.tar.Z | tar xf - > % cd libg++-1.39.0 > > Unpack the mods file while in the newly created libg++-1.39.0 folder. > % zcat ../NeXTmods-rls3.tar.Z | tar xf - > > Create /usr/gnu, and /usr/gnu/lib (writable by whoever is doing this). > % mkdir /usr/gnu > % mkdir /usr/gnu/lib > > Change Makefile line 32 to "PWD=/me/tmp/libg++-1.39.0" > ^^^^^^^ may need changing > > Then > % make src (takes a while--ignore the warnings) > % make install-lib" (puts libg++.a in /usr/gnu/lib) > % make install-include-files" (this puts the include files in > /usr/gnu/lib/g++-include) > % make tests" (this takes rather a lot of disk space). > > There are differences from the expected output, most likely due to > finite precision effects. > > Make a test program, x.cc, containing: > #include <stream.h> > main() { > cout << " Hello world!\n"; > } > Compile it. > % cc++ -I/usr/gnu/lib/g++-include -O x.cc -L/usr/gnu/lib -lg++ > Run it. > % a.out > It should print > Hello world! > > And THAT IS ALL! > > -- > Professor Richard Schreier > Dept. of Electrical and Computer Engineering > Oregon State University Tel (503)-737-2051 > Corvallis, OR 97331-3211 Fax (503)-737-1300
From: darenp@ccwf.cc.utexas.edu (Daren Patel) Newsgroups: comp.sys.next.programmer Subject: How do I time a function call VERY accurately? Date: 18 Apr 1993 21:05:47 GMT Organization: The University of Texas at Austin, Austin TX Distribution: world Message-ID: <1qsfrb$999@geraldo.cc.utexas.edu> Originator: darenp@doc.cc.utexas.edu If someone out there in net land has some experience with any of the following, I would very much appreciate a reply: I need to do one of two things for a class project: (1) get a very accurate measurement of the time it takes to execute a certain function ( in microseconds if possible ) OR (2) get a count of the number of instructions executed in the function call. I can do (2) if I can set the trace bit in the 68040 so that it executes my exception handler after every instrution. The problem is that I need to be in supervisor mode to set the trace bit. This is running on my personal machine so this is not a problem is someone out there can explain how to run a program in supervisor mode. I would prefer to implement (1) if someone out there can give me a general idea of how to do very accurate timing on the NeXT. Thanks a bunch... -- ------------------------------------------------------------------------------- Daren Patel -- darenp@ccwf.cc.utexas.edu -- The University of Texas at Austin -------------------------------------------------------------------------------
From: gobbi@snark.aero.org (Michael Gobbi) Newsgroups: comp.sys.next.programmer Subject: NXHelpPanel and the application delegate Date: 18 Apr 1993 22:10:09 GMT Organization: The Aerospace Corporation, El Segundo, CA Message-ID: <1qsjk1INNa88@news.aero.org> I am using the NXHelpPanel. It seems to be working fine except it will not inform the application delegate that it is about to display help. The documentation for the help panel states that if the delegate can respond to the method app:willShowHelpPanel: then it will get such a method when the NXHelpPanel is about to display. No such message is being sent to my delegate below. I am using the help click mechanism. The help panel comes up fine by the way. @implementation Controller - appDidInit:sender // This message is received by the delegate. { // Other stuff here that has nothing to do with the question. // [NXHelpPanel new]; return self; } - app:sender willShowHelpPanel:panel // never get this message { fprintf(stderr,"HelpController->app:sender willShowHelpPanel:panel\n"); return self; } @end So what am I doing wrong? Michael Gobbi gobbi@aero.org
Newsgroups: comp.sys.next.programmer From: nathan@laplace.csb.yale.edu (Nathan F. Janette) Subject: Re: NeXTstep 3.1 and price of Developers' Package Message-ID: <1993Apr19.025737.25515@cs.yale.edu> Sender: news@cs.yale.edu (Usenet News) Organization: Yale University, Department of Computer Science, New Haven, CT References: <C5nuxI.4K1@cbnewsi.cb.att.com> Distribution: usa Date: Mon, 19 Apr 1993 02:57:37 GMT In article <C5nuxI.4K1@cbnewsi.cb.att.com> dse@cbnewsi.cb.att.com (donald.s.eaves) writes: > Will you guys stop being paranoid. When we bought these machines, > NeXT's policy was to give us software upgrades at about the cost of > media and > royalties. The last thing they are going to do, at this stage, is > alienate their existing costumer base by reversing this poicy. I have two words for you: NeXT Dimension. Here are two more for good measure: Optical Disk. -- Nathan "USENET" Janette PPP link from hilbert.csb.yale.edu Please reply to: nathan@laplace.csb.yale.edu (NeXT)
From: drd@physics10 (Douglas R. Davidson) Newsgroups: comp.sys.next.programmer Subject: SoundViews and compression Date: 19 Apr 1993 03:53:21 GMT Organization: University of California, Berkeley Message-ID: <1qt7nh$95b@agate.berkeley.edu> I have been RTFMing and experimenting for some time now, and I still have some questions about SoundViews and compressed sounds. - How precisely does one tell what compression method was used to compress a particular sound? The documentation suggests that there are three methods: ATC, bit-faithful, and dropped bits. Will SNDGetCompressionOptions tell you? Does the compressionAmount mean anything for ATC? - Can anything meaningful be gotten out of the data in a compressed sound? In particular, is it possible to select and play just a portion of a compressed sound? Is it possible to pause and resume the play of a compressed sound? I would guess not; it seems that a compressed sound can be paused, but resume then causes an error. - What is the problem with altering the ATCEqualizerGains during playback of a compressed sound? It seems to cause a bunch of static. - What is the point to SoundView's handling of compressed sounds? It seems to allow scrolling and selection, but no samples are displayed. Playing the sound seems to cause an uncompressed version of the sound to be played. - What is the recommended way to tell a SoundView that you've altered its sound--behind its back, as it were--for example, by a format conversion? - I can understand that SoundView's selections are accurate only to the pixel (although I don't like it), but why does dragging a selection beyond the end of the sound keep extending the selection beyond the end of the sound, and why doesn't selectAll always go all the way to the end of the sound? Can anybody help? I can subclass SoundView to get it to work the way I want, but I want to know what is going on, and the documentation is less than complete. Douglas Davidson drd@physics.berkeley.edu
Newsgroups: comp.sys.next.programmer From: "James Gaines" <p00378@psilink.com> Subject: NeXT/OS2 TCP-IP Device Drivers Message-ID: <2944260469.0.p00378@psilink.com> Sender: usenet@worldlink.com Organization: GCC Date: Mon, 19 Apr 1993 02:28:50 GMT To all programming hotdogs ... I need some input on the existence of solutions to the following NeXT/OS2 TCP-IP problem. I'd appreciate you telling me your experiences. DISCLAIMER: I am not nearly as well versed as I would like to be in network issues. My specialty is data analysis and financial engineering and I need this problem resolved to build a better *mouse trap*! Any help is greatly appreciated. I am interested in interfacing my NeXT workstation with an OS2 (INTEL) machine. The OS2 machine collects data from an external source and maps all the data (all data structures are known) locally into RAM. My goal is for the NeXT to access the data from the OS2 machine across TCP-IP. Please don't curse me for incorporating an OS2 machine, but I am locked in because OS2 is the only platform upon which this app runs. The app is a real-time market data feed quote server. If anyone knows of a real-time data feed quote server which runs on the NeXT and is distributable (ie. maps all data into RAM locally and provides utilities/C structures for data access) across, please let me know! Otherwise, here we go ... The networked setup involves three (3) pieces. First, a distributable data feed app running on the OS2 machine which perpetually maps the incoming (serial port) data into local RAM. Also, the OS2 app [APP1] has a daemon which looks across the TCP-IP network for data requests from the NeXT. The second piece involves the NeXT app [APP2] which sends out data requests across TCP-IP. This involves a daemon of a sort because, as market data is updated, the NeXT app must be aware of the change and submit a new request accordingly. The third item is the obvious: the TCP-IP network. The problem appears to be that I need a device driver which will interface between the NeXT daemon calls and the OS2 daemon which is looking for the NeXT calls to come across network. I do not know exactly what daemon/program pieces I need to make this work. I am looking for solution proposals and references to previous efforts to do the same (if any exist). I would appreciate any expert clarification of the problem and of course any and all solutions! Currently, I have solved this problem by writing an OS2 app which perpetually ports out *all* the real-time data across a serial cable. Subsequently the NeXT machine reads its' own serial port and grabs *all* the packets. APP2 then reads through the packets and structures and determines what it wants and what it will discard. -- I feel that this a *kluge* and extremely inefficient. Also, I believe I suffer a degradation in data transfer speed which will become significant once we move 100Mbs TCP-IP. So I would prefer to resolve the situation noted above and be better positioned for today and tomorrow. I thank you in advance. Peace!!
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Dell Announces Plans to Offer Systems with NEXTSTEP Date: 16 Apr 1993 23:11:05 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qnee9$1mo@rosie.next.com> FOR IMMEDIATE RELEASE MEDIA CONTACTS: Lisa Rohlf, Jill Shanks Dell Computer Corporation (512) 343-3782, (512) 338-8499 INVESTOR CONTACTS: Don Collis, Ken Smith Dell Computer Corporation (512) 338-8671, (512) 794-4034 DELL ANNOUNCES PLANS TO OFFER SYSTEMS WITH NEXTSTEP AUSTIN, Texas, April 14, 1993 -- Dell Computer Corporation and NeXT Computer, Inc. today announced that Dell intends to offer NEXTSTEP for Intel processors pre-installed on certain models of its 486-based systems and future product offerings based on Intel's Pentium microprocessor. Specific terms of the business relationship and distribution details were not disclosed, however, the company did say it plans to sell NeXTSTEP-equipped systems directly into select target markets. NEXTSTEP for Intel processors, the latest version of the industry-leading object-oriented software environment for developing and deploying client/server applications, runs on PCs powered by Intel i486 and Pentium microprocessors. Dell, a leading supplier of Intel-based systems, plans to offer NeXTSTEP on appropriate models of its line of 486-based, high-performance servers and graphics workstations. "For quite some time now, one of our high-end workstations has been the development platform of choice for NEXTSTEP for Intel processors," said Charles Sauer, Dell's vice president of software and technology. "This has generated a great deal of interest for NEXTSTEP on Dell hardware from developers and other segments of our customer base. We've maintained a close technical relationship with NeXT throughout the development of this new version. Our focus on performance and compatibility, coupled with our ability to rapidly disseminate new technology to the marketplace, positions Dell as the logical source of advanced systems for users who are looking for NEXTSTEP on an Intel-based platform." "Dell is clearly one of the world's foremost PC manufacturers," said Erna Arneson, NeXT's director of channel sales. "Dell is known in the industry for satisfying customers with high-value products and customer-oriented solutions. We're particularly excited about the wide range of hardware options that Dell offers its customers -- Dell has been the leader in local bus graphics technology with JAWS in their DGX product, and now offers leadership local bus graphics architecture in some of the most cost-effective machines available for running NEXTSTEP." Dell's Intel-486 based desktop computer line for NEXTSTEP ranges from the small-chassis L series systems, through the M and ME families of mid-sized solutions, to the company's high-end DGX mid-sized workstation -- which incorporates a 50MHz processor, secondary processor cache and the company's processor-direct graphics technology to provide customers with workstation-class graphics capability at an affordable cost. The company intends to offer NEXTSTEP-based systems directly to customers through Dell's direct sales force and also plans to distribute systems with NEXTSTEP to vertical markets, such as health care and government. Specific details on availability, distribution and pricing of these systems will be announced when NeXT begins shipment of the new version in May. NeXT develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures. NEXTSTEP is used by medium and large organizations to develop and deploy client/server applications, using both custom and shrink-wrapped software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, Calif., 94063. A Fortune 500 company, Dell Computer Corporation (NASDAQ:DELL) designs, develops, manufactures, markets, services and supports a complete line of personal computers compatible with industry standards. Dell pioneered the direct marketing of PCs in 1984 and was the first company in the PC industry to offer manufacturer-direct technical support. According to Dataquest, a market data organization, Dell is the fifth largest computer company in the world, with fiscal 1993 revenues of more than $2 billion. Information on the company and its products can be obtained through its toll-free number: 1-800-BUY-DELL (1-800-289-3355). # # #
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Hewlett-Packard to Offer NEXTSTEP-Certified PC's Date: 16 Apr 1993 23:11:55 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qnefr$1mr@rosie.next.com> News Release: For more information, contact: Larry Sennett Hewlett-Packard (408)720-3061 Emily Brower Allison Thomas Associates (for NeXT Computer) (408)780-3786 HP (Hewlett-Packard) TO OFFER NEXTSTEP-CERTIFIED PC'S PALO ALTO, CA., April 14, 1993 - Hewlett-Packard Company and NeXT Computer Inc. today announced HP will offer Intel-based PCs certified to run NEXTSTEP object-oriented system software. HP Channel Partners (HP's name for its resellers) will then be able to integrate fully HP/NEXTSTEP solutions for their customers. HP's PC market strategy, driven through its extensive reseller relationships, positions HP as an ideal provider to NEXTSTEP platforms. HP markets all its PC products through Channel Partners, who then take responsibility for configuring the systems to meet specific customer demands. NEXTSTEP for Intel Processors, the latest version of the object-oriented software environment for developing and deploying client/server applications, runs on PCs powered by Intel486 and Pentium processors. HP initially plans to certify NEXTSTEP to run on 486-based HP Vectra series PCs, with additional systems to be announced in the future. "NeXT is a leader in the development of object-oriented environments such as NEXTSTEP for Intel Processors, and now we will have the opportunity to provide this exciting technology on our advanced PCs," said Bernard Meric, marketing manager for HP's Personal Information Products Group. "The relationship between HP, NeXT and our resellers will provide our customers with fully integrated HP/NEXTSTEP solutions." "We are very excited that customers will be able to purchase NEXTSTEP and HP PCs," said Erna Arnesen, director of Channel Sales for NeXT. "HP has a terrific reputation with customers, and their reseller base will be able to provide HP/NEXTSTEP combinations to suit customers' needs." NeXT develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures. NEXTSTEP is used by medium and large organizations to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, California, 94063. Hewlett-Packard Company is an international manufacturer of measurement and computation products and systems recognized for excellence in quality and support. The company's products and services are used in industry, business, engineering, medicine, and education in approximately 110 countries. HP has 93,100 employees and had revenue of $16.4 billion in its 1993 fiscal year. Intel is a U.S. trademark of Intel Corp. Pentium is a trademark of Intel Corp.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: NEC Technologies to Provide NEC and NEXTSTEP Solutions Date: 16 Apr 1993 23:12:35 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qneh3$1mu@rosie.next.com> NEWS FOR IMMEDIATE RELEASE Contacts: Golin Harris Geoff Spillane, (508) 264-8759 Stephanie Allman, (508) 264-8835 Allison Thomas Associates Emily Brower, (415) 780-3786 NEC Technologies to Provide NEC and NEXTSTEP Solutions BOXBOROUGH, Mass., April 14, 1993 - NEC Technologies, Inc. and NeXT Computer, Inc. today announced that NEC will offer Intel-based hardware pre-configured with NEXTSTEP, the industry-leading object-oriented software platform for developing and deploying client/server applications. Terms of the agreement were not disclosed. Today's announcement follows NeXT's recent decision to cease production of its own hardware and to concentrate exclusively on developing and marketing its object-oriented NeXTSTEP software. "We are delighted at the prospect of offering NEC computers running NEXTSTEP, which is clearly the industry's leading object-oriented software platform," said Mike Mitsch, manager of Computer Systems Marketing for NEC. "For customers seeking to deploy NEXTSTEP, we will offer fully configured hardware with hotloaded NEXTSTEP software." NEC's Solutions program, launched in September 1992, enables corporate customers to order fully integrated and custom hotloaded desktop and laptop systems direct from NEC. The program is designed to reduce the cost associated with integration and configuration of PCs, thus enabling systems to be shipped directly from the factory to the end user. "Our relationship with NEC is an important aspect of NeXT's strategy to provide our customers with integrated hardware and software solutions," said Erna Arneson, director of channel sales at NeXT. "NEXTSTEP customers will benefit from the exciting new technology offerings and custom solutions capabilities that NEC offers." About NeXT NeXT develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures. NEXTSTEP is used by customers to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, Calif., 94063 About NEC NEC Technologies, Inc., headquartered in Boxborough, Mass., is a leading manufacturer of computers and peripherals for the North American market. Product lines include award-winning MultiSync FG monitors, Silentwriter and Colormate printers, ProSpeed laptop computers, UltraLite notebook computers, Intersect and MultiSpin CD-ROM hardware, and PowerMate, Express, Imaged and Readyd systems products. NEC Technologies, Inc. is a subsidiary of NEC Corporation. -30- NeXT, and NEXTSTEP are registered trademarks of NeXT Computer, Inc.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: EPSON to Integrate NEXTSTEP with Progression NX Date: 16 Apr 1993 23:13:04 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qnei0$1mv@rosie.next.com> News FOR IMMEDIATE RELEASE Jan Marciano Epson (310) 782-5161 Emily Brower Allison Thomas Associates (415) 775-8599 EPSON to Integrate NEXTSTEP with Progression NX TORRANCE, Calif., April 14, 1993 - EPSON America, Inc. and NeXT Computer, Inc. today announced that EPSON will sell NEXTSTEP, the industry-leading object-oriented software platform for developing and deploying client/server applications, with an upcoming addition to its successful Progression product line. Terms of the agreement were not disclosed. Today's announcement follows NeXT's recent decision to cease production of its own hardware and concentrate exclusively on developing and marketing its object-oriented NEXTSTEP software. "NEXTSTEP takes full advantage of the high-performance graphics architecture inherent in our Wingine-based PCs," said Steven Huey, vice president of the PC and Solutions Business Unit for EPSON. "NEXTSTEP is the clear leader in object-oriented systems software, and our mutual customers will benefit tremendously by the combination. EPSON's close working relationship with NeXT has enabled us to maximize the performance of the Progression NX now and for future PCs." The Progression NX is an ideal platform for NEXTSTEP users and developers for a variety of reasons. The Wingine graphics architecture is based on frame-buffer video technology that strongly enhances usability of graphics-intensive operating systems. Further, the Progression NX, with six expansion slots and five drive bays, make it ideal for expansion capabilities. The Progression NX is certified by NeXT to be completely compatible with the NEXTSTEP operating system. The new addition to EPSON's Progression line of computers is now available. "Our agreement with EPSON is an important element of NeXT's strategy to provide customers with high-performance hardware integrated with NEXTSTEP software," said Erna Arnesen, NeXT's director of channel sales. "Progression NX machines, complete with Wingine graphics, are an ideal desktop computer for running NEXTSTEP." About EPSON EPSON, an affiliate of Seiko EPSON Corporation, is a leading marketer of innovative computer products, peripheral devices and services. Headquartered in Torrance, Calif., EPSON America is a $1 billion company. NeXT Computer, Inc. NeXTComputer, Inc. develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures such as the Intel486 and Pentium. NEXTSTEP is used by corporate customers to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, Calif., 94063. -30- NeXT, the NeXT logo and NEXTSTEP are registered trademarks of NeXT Computer, Inc. Intel486 and Pentium are registered trademarks of Intel Corporation. All brand or product names are registered trademarks of their respective holders.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Data General to Deliver NEXTSTEP on Dasher II 486 PCs Date: 16 Apr 1993 23:13:32 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qneis$1n0@rosie.next.com> News Release: For more information, contact: Chris Sampson Data General Corporation 3400 Computer Drive Westboro, MA 01580 Phone: (508)898-4288 DATA GENERAL TO DELIVER NEXTSTEP ON DASH II 486 PCs WESTBORO, Mass., April 14, 1993 - Continuing its strategic alliance with NeXT Computer, Inc., Data General Corporation today announced it is working with NeXT to make NEXTSTEP for Intel processors available on Data General's line of DASHER II 486 personal computers. NEXTSTEP for Intel processors is an object-oriented software that allows Intel 486 PC users to develop and deploy client/server application up to ten times faster than with any other existing environment. Data General demonstrated NEXTSTEP for Intel Processors on DASHER II-486DX2/66LE2 systems in March at Uniforum and CeBit. "We at Data General have believed for a long time that the object technology within NEXTSTEP is important for our large commercial customers," said Tom West, Data General's senior vice president of advanced development. "NEXTSTEP on Intel is clearly a winning combination. We are very pleased to offer it on our DASHER PCs." The availability of NEXTSTEP on DASHER II PCs will represent the second NeXT software product to be offered by Data General since the two companies began collaborating last August. AViiON NetInfo, a port of NeXT's NetInfo network administration software to Data General's family of AViiON servers, began shipping in December, 1992. Data General's multiprocessing AViiON servers run DG/UX, the company's implementation of UNIX System V, Release 4. They range in processing power from 29 to 235 MIPS. AViiON systems running NetInfo provide a strong back-end for a network of clients, such as DASHER II PCs, running NEXTSTEP. Additionally, Data General offers its line of CLARiiON products to meet customers' growing need for low-cost, open systems storage. The CLARiiON Series 200 Disk Array employs RAID technology and redundant subsystems to deliver up to 24 GB of high-capacity, high-reliability storage, while the CLARiiON Series 2000 Tape Array uses RAID-like performance for high-speed, fail-safe back-up. All products offered by Data General - included NetInfo and NEXTSTEP - are supported by the company's worldwide service and support organization. Data General expects NEXTSTEP will be available, preinstalled, on a variety of DASHER II systems by the end of May. Pricing for the government, business, industry and education. The company reported revenues of $1.1 billion in fiscal 1992. AViiON and DASHER are registered trademarks of Data General Corporation. CLARiiON and DASHER II-486DX2/66LE2 are trademarks of Data General Corporation. NEXTSTEP and NetInfo are registered trademarks of NeXT Computer, Inc. UNIX is a registered trademark of UNIX System Laboratories, Inc.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.misc,comp.sys.next.software,comp.sys.next.programmer Subject: PanCanadian Enters Strategic Alliance with NeXT Date: 16 Apr 1993 23:15:26 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qneme$1n5@rosie.next.com> For Immediate Release Contact: Wayne Stewart Ingram Micro (714) 566-1000 x2707 Emily Brower Allison Thomas Associates (415) 775-8599 INGRAM MICRO & NeXT SIGN NATIONAL DISTRIBUTION AGREEMENT INGRAM MICRO'S POSITION AS THE WORLDWIDE LEADER IN THE DISTRIBUTION OF UNIX PRODUCTS BUILDS FURTHER MOMENTUM SANTA ANA, Calif., April 14, 1993 - Ingram Micro today announced an agreement with NeXT Computer Inc., to distribute the NEXTSTEP for Intel processors object-oriented system software. Ingram Micro will distribute both the user development versions of the NEXTSTEP for Intel processors environment to resellers in the U.S., Canada, and Mexico. "We view this as an important relationship between Ingram Micro and NeXT," said Robert Grambo, vice president of product marketing for Ingram Micro. "NEXTSTEP is a leader in object-oriented system software, and we see enormous potential for NeXT's software now that it is available for industry-standard PCs." NEXTSTEP is a leading object-oriented software environment for developing and deploying client/server applications. NEXTSTEP for Intel processors is the version of the software that runs on industry-standard PCs powered by Intel486 and Pentium microprocessors. Ingram Micro's channel marketing programs and business development strategies for the distribution of NEXTSTEP will be guided by Ingram Micro's Strategic Product Group for UNIX and its Technical Products Division, Ingram Micro business units that focus on product sales to value-added dealers (VADs) and system integrators. "As a distributor with enormous coverage and top-notch reputation, Ingram Micro is a tremendous partner for NeXT," said Erna Arnesen, NeXT's director of channel sales. "With Ingram Micro, we can leverage and gain visibility with almost any reseller we would like to reach with NeXTSTEP." About Ingram Micro & NeXT NeXTComputer, Inc. develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures. NEXTSTEP is used by corporate customers to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, Calif., 94063. Ingram Micro Inc. is the world's largest wholesale distributor of microcomputer products. The company's inventory includes 16,000 products from over 750 of the world's leading hardware and software companies. It sells to 60,000 reseller customers in 65 countries and has distribution operations in eight nations, including international subsidiaries in Canada, the United Kingdom, Belgium, France, the Netherlands, Germany, Italy and a majority interest in Mexico's leading distributor Ingram Dicom. Ingram Micro also operates major export offices in Santa Ana, Brussels and Singapore. The company is headquartered in Santa Ana, California and achieved sales of $2.7 billion in 1992. -30- NeXT, the NeXT logo and NEXTSTEP are registered trademarks of NeXT Computer, Inc. Intel486 and Pentium are registered trademarks of Intel Corporation. All brand or product names are registered trademarks of their respective holders.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: PanCanadian Enters Strategic Alliance with NeXT Date: 16 Apr 1993 23:16:11 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qnenr$1n6@rosie.next.com> PanCanadian Petroleum Limited NEWS RELEASE For Immediate Release, April 14, 1993 Calgary, Alberta For more information, contact: Marianne Wood Emily Brower PanCanadian Allison Thomas Assoc. (403) 290-2220 (415) 780-3786 PanCanadian Enters Strategic Alliance with NeXT PanCanadian Petroleum Limited and NeXT Computer, Inc. today announced that PanCanadian will use NEXTSTEP for Intel processors as the primary software for the development and delivery of custom business applications internally. PanCanadian, a major Canadian oil and gas producer, is developing custom applications to enhance various aspects of its business, principally in its Operations Group. "We selected NEXTSTEP for its advanced object-oriented capabilities," said Roger Coates, coordinator of technology management at PanCanadian. NEXTSTEP significantly reduces application development time while improving application quality. In addition, it offers direct benefits to users through its highly integrated object-oriented development, database, graphic, communications and multimedia environment. "With the migration of NEXTSTEP to industry-standard hardware, the deployment of this platform became both practical and advantageous for PanCanadian," Coates said. NEXTSTEP is the leading object-oriented software environment for developing and deploying client/server applications. NEXTSTEP for Intel processors is the version of the software that runs on industry-standard PCs powered by Intel486 and Pentium microprocessors. Currently, PanCanadian is in the first stage of a four- to five-year program to upgrade its information management capabilities. When NEXTSTEP is fully deployed in approximately three years, the majority of PanCanadian's professional staff will use the NeXT software for many of their business activities. "PanCanadian's plan to develop custom applications to support its core business exemplifies the optimum use of NEXTSTEP to achieve competitive advantage," said Bob Longo, NeXT's director of North American sales. NeXT develops and markets the industry-acclaimed NEXTSTEP object-oriented software for industry-standard computer architectures. NEXTSTEP is used by medium and large organizations to develop and deploy client/server applications, using both custom and shrink-wrapped productivity software. NeXT is headquartered at 900 Chesapeake Drive, Redwood City, Calif., 94063. - 30 -
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Trident Data Systems Becomes NeXT Consulting Partner Date: 16 Apr 1993 23:16:41 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qneop$1n7@rosie.next.com> NEWS FOR IMMEDIATE RELEASE Contacts: Michael Christiansen Director, Business Development Trident Data Systems (310) 338-3506 michael@tds.com Jan Tyler Marketing Manager NeXT Computer, Inc. (415) 780-3873 Jan_Tyler@next.com Trident Data Systems Becomes NeXT Consulting Partner LOS ANGELES, April 14, 1993 - Trident Data Systems and NeXT Computer, Inc. are pleased to announce that Trident will provide consulting services to NeXT customers in connection with the NeXT Consulting Partner Program. "Through partnering agreements with organizations such as Trident Data Systems, NeXT will be able to provide unlimited access to NEXTSTEP technical expertise and ensure the success of NeXT customers. We are impressed with Trident's skill level with NeXT technologies, as well as their strong commitment to customer support," said Jan Tyler, marketing manager for NeXT Support and Educational Products. Trident Data Systems, founded in 1975, is a leading provider of computer systems integration services, custom applications development and information security solutions. Trident has designed and integrated, and provided support for, the largest NeXT network currently in operation. In addition, Trident has developed numerous custom applications for its NeXT customers, including financial and administrative applications, expert systems and computer-aided training programs. With its corporate offices in Los Angeles, Trident currently employs more than 570 professionals at facilities in San Antonio, Texas, Washington, D.C. and seven program support offices nationwide. Trident will also be exhibiting at NeXTWORLD EXPO, May 25-27, 1993 at the Moscone Convention Center in San Francisco, California.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.programmer Subject: April Update to NeXTWORLD Expo: Special Offers and Agenda Date: 19 Apr 1993 21:20:13 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qv52d$1ps@rosie.next.com> 1993 NeXTWORLD EXPO INFORMATION BULLETIN (April update: including special offers and agenda) You are invited to ... What: NeXTWORLD Expo When: May 25 - 27, 1993 Where: Moscone Convention Center, San Francisco, California Events: Developer and User Conference and User Group Program Keynotes: by Steve Jobs, NeXT & Andrew Grove, Intel ...From Black Computers to White - NEXTSTEP for Intel Processors ...Completed and Unveiled ******** ********* ******** ******* As a special offer, all registered NeXTWORLD Expo attendees will receive a 50% discount on all NeXT's software products available at the Expo. ******** ********* ******** ******* For $995, receive admission to all Developer and User Conference sessions PLUS a copy of NEXTSTEP for Intel processors User Environment and Development Tools (a savings of over 85% for NEXTSTEP!) ******** ********* ******** ******* _____________________________________________________________________ TABLE OF CONTENTS => NeXTWORLD EXPO INTRODUCTION => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS => NEXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES => NeXT USER GROUP PROGRAM AGENDA => TUTORIALS AND BOF MEETINGS => REGISTRATION, HOTEL AND TRAVEL INFORMATION _____________________________________________________________________ => NeXTWORLD EXPO INTRODUCTION The second annual NeXTWORLD EXPO combines a worldwide Developer Conference, User Conference, User Group Program and Product Exposition spanning three days. This year's NeXTWORLD Expo marks the culmination of the most significant event in NeXT's history. At the Expo, NeXT will deliver the completed, shrinkwrapped release of NEXTSTEP for Intel processors. The product that Byte magazine has called, "...the most respected piece of software on the planet..." -- now available on industry-standard computers. When you see NEXTSTEP, we think you'll agree. NeXT's decision to concentrate on object-oriented software, move away from signature black hardware, and devote all company resources to running NEXTSTEP on white hardware--is more than the transformation of a company. It is, in all likelihood, the transformation of an entire industry. We look forward to seeing you at the Expo. As a special offer, all registered NeXTWORLD EXPO attendees will receive a 50% discount on NeXT's software products available at the Expo. For $695: receive admission to all Developer Conference and User Conference Sessions, attendance to the User Group Program, and admission to the Product Showcase. SPECIAL BONUS...For $995, receive admission to all of the above PLUS a copy of NEXTSTEP for Intel processors User Environment and Development Tools! (See registration form below). _____________________________________________________________________ => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS NeXTWORLD EXPO DEVELOPER CONFERENCE The NeXTWORLD EXPO '93 Developer Conference offers a broad curriculum to the developer community, focusing on creating both shrinkwrapped applications and client/server custom applications. Because the ability to run NEXTSTEP applications on Intel-based computers is now a reality, both the general session and the conference tracks provide valuable information about porting and distribution. Four separate Conference Tracks focus on the business and technical aspects of NEXTSTEP application development. Each track provides a different perspective on understanding and working with NEXTSTEP. To benefit most from the breadth of topics offered at the conference, we encourage you to review and attend sessions from several tracks. A specially priced developer bundle is available which includes registration and a copy of NEXTSTEP for Intel Processors (see registration form below for details). NeXTWORLD EXPO USER CONFERENCE The NeXTWORLD EXPO '93 User Conference offers in-depth information about the use of NEXTSTEP in corporate information systems and on individual desktops. Designed for experienced NEXTSTEP end users, system managers, and IS strategists, the four-track program focuses on the issues of deploying NEXTSTEP in enterprise-wide systems, using NEXTSTEP for maximum benefits, case studies of NEXTSTEP usage in the real world, and comparative looks at the most innovative third-party products in the NeXT market. One session is dedicated to providing a quick start for users who are new to NEXTSTEP, so that they can participate fully in the remainder of the program. Key sessions in each track are repeated so that attendees can participate in as many different sessions as possible. NeXT USER GROUP PROGRAM NoIR (NeXT Organizations InteRnational) is sponsoring a worldwide User Group Program. This year's program theme is "486--An Explosion of New Users Under NeXT's Big Tent." Sessions focus on two tracks: user group leadership and member services. If you want ideas to take back to your group, this program is for you. Last year over 100 groups from around the world were represented and this year we expect many more. With the explosion of new NEXTSTEP users coming this year and next, this program helps you prepare your NeXT User Group for growth and success in 1993 and 1994. In addition to the formal events listed here, several special social events will be held. All user group members attending either the exposition or the conferences are invited to register for the user group program free of charge. KEYNOTE SPEAKERS Steve Jobs - Chairman and CEO of NeXT, Inc. Steve Jobs discusses the future of object-oriented, client/server computing. Andrew Grove - Chairman and CEO of Intel Corporation Andrew Grove discusses Intel's 486 and Pentium processors, and NEXTSTEP's place in their future. DEVELOPER CONFERENCE GENERAL SESSION Your NEXTSTEP Application and their Hardware Paul Hegarty, NeXT's Director of NEXTSTEP for Intel processors software, explains how to port your application to the Intel platform and leaves ample time to answer your porting questions. USER CONFERENCE GENERAL SESSION 10 Most Wanted NeXTWORLD Editor-in-Chief Dan Ruby leads a panel of NEXTSTEP customers, developers, and user group leaders in reviewing NeXT's accomplishments during the last year and setting the agenda for the year ahead. GENERAL SESSIONS OPEN TO ALL ATTENDEES Bob Metcalfe, Publisher and CEO of InfoWorld Publishing Co., hosts a panel of industry pundits and NeXT customers as they discuss the alternatives among advanced operating systems in the coming battle for the corporate desktop. USER GROUP AUCTION Attend this fun event. A range of products and services from the NeXT community will go to the highest bidder. Proceeds go toward the User Group Program at the Expo. NeXTWORLD MAGAZINE AWARDS NeXTWORLD honors the best and most innovative products in the NeXT market in its first annual award ceremony. Cheer on your favorites as a lineup of NeXT community luminaries announce the winners in each product category. NEXTSTEP PRODUCT EXHIBITION Tuesday, May 25, 11:00 a.m. - 6:00 p.m. Wednesday, May 26, 9:00 a.m. - 6:00 p.m. Thursday, May 27, 9:00 a.m. - 12:00 p.m. Be sure to see over 100 product exhibits and find out why so many companies have embraced NEXTSTEP technology. See the latest in NEXTSTEP hardware and software, and meet with users, resellers, and partners. The Expo also features an ObjectWare Pavillion dedicated to the growing number of NEXTSTEP ObjectWare vendors. _____________________________________________________________________ => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS MAY 25-27, 1993 ** TRACK ONE ** THEME: NEXTSTEP MEANS BUSINESS This track addresses topics of broad, general interest to the third-party and corporate developer community, including how to evaluate development environments, profiles of NEXTSTEP's markets and customers, how to protect your intellectual property, and 486 distribution issues. A variety of experts discuss issues geared to business professionals. Technical professionals will benefit from opportunities to hear engineers explain how to succeed in object-oriented development, and to meet key NeXT engineers for a lively Q&A session. No direct NEXTSTEP experience is required for the sessions in this track, but a technical background is sometimes useful. TRACK ONE SESSIONS: ** DISTRIBUTED NEXTSTEP APPLICATIONS ** Erna Arnesen, Director of Channel Sales, NeXT This comprehensive discussion answers question about NeXT's software distribution channels. Distribution partners are identified and ways to ensure successful interaction with developers are explained. Plans for distribution of NEXTSTEP for Intel processors are also presented. ** A DEVELOPER'S GUIDE TO ENTERPRISE-WIDE DEPLOYMENT ** Anita Sansguiri, Project Manager, ADAMATION ADAMATION's project manager describes how they successfully deployed their application at multiple offices of a real estate company. Deployment issues ranging from application development, networking, and database management, to augmenting NEXTSTEP tools are described. ** NeXT's MARKETS AND THEIR DEVELOPMENT OPPORTUNITIES ** Ron Weissman, Director, Strategic Marketing, NeXT David Grady, Developer Advocates, NeXT This is a chance to hear from NeXT about targeted markets, the specific products that customers are requesting, and solutions that would match market requirements. Opportunities for developers and consultants are discussed. ** PROTECTING YOUR TECHNOLOGY ** Christopher Seline, Esq., Formosa Transnational Attorneys-at-Law Maximizing profit and protecting intellectual property are vital concerns for every developer. This session introduces fundamental legal issues such as copyright, patent, trademark, and trade secret laws and how they relate to computer software. Our speaker has considerable NEXTSTEP and UNIX experience. ** NOTHING's EASIER THAN NEXTSTEP DEVELOPMENT ** Tracy Powell, Senior Developer, WordPerfect Corporation A developer of large commercial applications in both Windows and NEXTSTEP discusses his experiences in cross-platform development. Our speaker ported WordPerfect to NEXTSTEP for Intel processors in a matter of hours and this session describes his experiences. Helpful hints and productivity techniques will be presented. ** SUCCEEDING WITH OBJECT-ORIENTED DEVELOPMENT ** Bruce Webster, Chief Technical Officer, Pages Software Jayson Adams, CEO and Chief Scientist, Millennium Software Labs Accompanying the power that object-oriented technology (OOT) brings to application development are some specific challenges and requirements. In this session, two NEXTSTEP developers describe the insights they gained and the lessons they learned while producing major commercial productivity applications. * "DR. STRANGEAPP, OR HOW I LEARNED TO STOP WORRYING & LOVE ISV'S" * Rob Wilen, Director of Technical Architecture, Swiss Bank Corporation One of NeXT's largest commercial customers explains the techniques and business practices of establishing a productive working relationship with large corporations. ** STRATEGIES FOR DYNAMIC PERSONALIZED SYSTEMS ** Pascal Chesnais, Research Specialist, Massachusetts Inst. of Tech. Successful personalization of applications will require an understanding of a users' dynamic needs. The MIT Media Laboratory has been exploring these issues, using new tools such as user modeling, knowledge representation and distributed servers. ** DEVELOPER SUCCESS STORIES ** Panel: NEXTSTEP Developers Based on their real-world experiences, a panel of NEXTSTEP developers describe their paths to success in the NEXTSTEP marketplace. Creative marketing techniques, how to leverage the sales force, and product focus are debated and discussed. ** MEET THE SOFTWARE ENGINEERS ** Panel: NeXT Software Engineers Several software engineers who were integral in creating NEXTSTEP Release 3 join together in this forum to answer your questions. This was a popular session last year, so come early if you want a seat! ** TRACK TWO ** THEME: NEXTSTEP AND THE ENTERPRISE NEXTSTEP and the Enterprise presents issues specific to using NEXTSTEP in large organizations, such as working with large and mixed networks, portability, interoperability, connectivity, distributed computing, and integration of shrinkwrapped applications into custom solutions. Most sessions in this track require a technical background but assume that attendees have no experience working with NEXTSTEP. TRACK TWO SESSIONS: ** INTEGRATING SHRINKWRAPPED APPLICATIONS IN A CUSTOM SOLUTION ** Moderator: David Lavallee, Software Engineer, NeXT Panel: NEXTSTEP Developers It's not always possible to find a shrinkwrapped or custom solution that solves a given problem completely. But applications can be easily integrated. Customers and third-party developers discuss why they would integrate shrinkwrapped software into client/server custom solutions, and the value that results from this merger. ** DEVELOPING OBJ-C APPLICATIONS FOR NEXTSTEP & MICROSOFT WINDOWS ** Christopher Lozinski, Berkeley Productivity Group Walter C. Daugherity, Texas A&M University NEXTSTEP developers have traditionally been faced with a dilemma: Should they develop in Objective-C on NEXTSTEP, or C++ for Microsoft Windows. Now it's possible to develop for both platforms in Objective-C and C++. Developers can use Objective-C with the Borland compiler on the PC, and the GNU compiler on NEXTSTEP. The discussion reports that develop applications for both platforms, describes this experience, and the techniques that work. There will also be a discussion of Smalltalk for NEXTSTEP. ** WORKFLOW TOOLS IN CUSTOM APPLICATION ** Randy Marchessault, Software Engineer, Integrity Solutions Workflow, a popular, but commonly misunderstood buzzword is examined through applying concepts and objects to real-world problems. Discussion centers on representing tasks and task dependencies, implementing group scheduling, resource management, document and information routing, user notification, and recursive schedule divisibility. ** OBJECT-ORIENTED CLIENT/SERVER APPLICATION DESIGN ** Patricia Monk, Director-NeXT Business Unit, Data General Corporation This session explains the key issues of object-oriented client/server application design and layout, including programming tools and techniques to assist in this type of application development. It also discusses how the UI (or lack of it) for server requester objects and server provider objects affects the efficiency of an application. ** NEXTSTEP and OBJECT-ORIENTED DATABASE INTEGRATION ** Moderator: Rick Jackson, Product Manager, NeXT Panel: NEXTSTEP Developers This session emphasizes why OODB technology may be of interest to you, and how it fits with the NEXTSTEP development methodology. Developers discuss their NEXTSTEP projects which involve both ObjectStore and Versant OODB technology. ** ADVANTAGES INHERENT IN ELECTRONIC DOCUMENTATION ** Carla Kay Barlow, Product Documentation, Stone Design Jim Clark, Advanced Technology Group, WilTel A persuasive argument in favor of all-electronic software documentation, this session spans the interests of users and developers from the viewpoint of third party and corporate development efforts. Topics range from the use of NEXTSTEP's on-line help standard to how to develop class specification documentation that facilitates consistent coding style, code reuse and rapid prototyping. ** A NEXTSTEP SHARED DEVELOPMENT ENVIRONMENT ** Moderator: Rick Jackson, Software Product Marketing, NeXT Panel: NEXTSTEP Developers Development teams of more than a few people have special synchronization and code management problems that can delay or prevent release of a large working system. NEXTSTEP developers discuss current and future solutions for group development. Corporate and third party developers discuss tools they built to solve today. ** SKETCHING OUT A BETTER USER INTERFACE ** Ray Ryan, User Interface Designer, Lighthouse Design Creating excellent user interfaces is frequently more the result of art than science. This session provides some insight into the aesthetics of UI design. The user interface designer of Diagram! 2 discusses techniques for building good user interfaces starting at day one. He will include before and after examples from Diagram! and Diagram! 2 to emphasize how sound UI design techniques help create more usable interfaces. ** TRACK THREE ** THEME: DEVELOPING NEXTSTEP APPLICATIONS This track examines the tools and techniques central to developing your NEXTSTEP applications, such as debugging, Interface Builder, performance tuning, user interface issues, localization, and application validation. Speakers include both third-party and corporate developers who share their knowledge gained "in the trenches", developing popular and productive applications. These sessions are targeted for attendees who have intermediate or advanced NEXTSTEP programming proficiency. TRACK THREE SESSIONS: ** THE ZEN OF DEBUGGING ** Julie Zelenski, Lecturer, Stanford Univ. and Support Engineer, NeXT Need a new bag of tricks for debugging in the NEXTSTEP development environment? Or maybe you're just looking to fill out your current repertoire? In either case, you can learn something new in this challenging and informative session. ** VALIDATING NEXTSTEP APPLICATIONS AND OBJECTS ** Jim Walsh, Software Quality Manager, NeXT Kris Oosting, Manager, Objective Partners It's been said "you can't control what you can't measure", and this holds true for object-oriented development. This session explores the theories of testing your NEXTSTEP applications and objects. ** GETTING MORE SPEED OUT OF YOUR APPLICATION ** Brian Pinkerton, Software Engineer, NeXT Trey Matteson, Manager, Application Kit Group, NeXT Reprising one of last year's most popular sessions, NeXT's engineers take a reasonably slow application and make it faster, before your very eyes. You'll see the steps you need to take to speed your applications' performance. ** INTRODUCTION TO NEXTSTEP PROGRAMMING ** Randy Nelson, Lead Developer Trainer, NeXT If you're just encountering the world of object-oriented programming, this overview of NEXTSTEP features and object technology is extremely useful for understanding context and vocabulary. This session is a must for technical evaluators of the platform. ** UI PERFORMANCE ** Bill Bumgarner, Software Artist, Stone Design Glenn Reid, President, RightBrain Software Enhancing the performance of your application's UI can be crucial to users' success with the application. NEXTSTEP developers describe methods for increasing perceived performance and methods for decreasing actual drawing time. ** BUILDING BETTER NEXTSTEP APPLICATIONS ** Randy Nelson, Lead Developer Trainer, NeXT Proper use of NEXTSTEP significantly increases the power of your application; correspondingly, improper or partial use of NEXTSTEP can decrease your application's usability. An overview of specific topics--user interface, portability, localization, and important kit features--shows you how to build flexibility into your application. References to documentation and other resources are included. ** WRITING DYNAMIC APPLICATIONS ** Tom Affinito, Training Manager, Trirex This lecture explores techniques that add run-time flexibility to your application, including Interface Builder files, NXBundles, distributed objects and embedded languages. ** CREATING INTERFACE BUILDER PALETTES ** Scott Ritchie, Developer Trainer, NeXT Using Interface Builder Palettes can add custom functionality to your interfaces, save development time, and generate valuable re-useable tools. One of NeXT's trainers explains how to build palettes that provide advanced functionality for many different sorts of objects. ** BUILDING REUSABLE OBJECTS ** Eric Bergeson, Objective Technologies Well-rounded classes don't just happen: they require careful planning and design to become flexible and robust. This session reviews some of the issues that you should consider before writing your first line of code. The discussion includes licensing issues for objects. ** TRACK FOUR ** THEME: UNDER THE HOOD - OBJECTS AND NEXTSTEP FEATURES This track explores the detail level of object technology and specific NEXTSTEP features and kits. Topics include DataBase Kit, Indexing Kit, Driver Kit, Object Links, Help, and filter services. Familiarity with NEXTSTEP programming is recommended for attendees of the sessions. TRACK FOUR SESSIONS: ** GETTING STARTED WITH DATABASE KIT ** Scott Weiner, Developer Trainer, NeXT Learn the basics of NEXTSTEP's newest kit with one of NeXT's trainers. Step through the decisions involved with building a simple DataBase Kit application and see how DataBase Kit can help reduce time and effort in developing a client/server custom application. Time is provided for Q&A at the end of this session. ** REAL-WORLD DATABASE KIT APPLICATIONS ** Moderator: Jerry Goode, Systems Engineer, NeXT Panel: NEXTSTEP Developers A panel of corporate developers and system integrators explain and discuss their real-world development experiences and describe how the DataBase Kit helped them resolve client/server computing issues. ** ADVANCED DATABASE KIT ISSUES ** Moderator: Felix Lin, Product Manager, NeXT Panel: NEXTSTEP Developers Developers of NEXTSTEP Release 3 DataBase Kit applications share their experiences and exchange comments with NeXT's DataBase Kit engineers on some of the technical issues that confront advanced development work. Time is provided for Q&A at the end of this session. ** USING NEXTSTEP RELEASE 3 FEATURES ** Ali Ozer, Software Engineer, NeXT This session reviews several NEXTSTEP Release 3 features, including dragging, Help, filter services, and using color. Use of these features is uncomplicated and can add considerably to the power and flexibility of your application (and the popularity with your users.) ** OBJECT LINKS IN DETAIL ** Trey Matteson, Manager, Application Kit Group, NeXT Take advantage of the power of object linking...the powerful mechanism that enables documents to share data dynamically. This session explains why and how you should incorporate Object Links into your application. ** PROGRAMMING WITH DISTRIBUTED OBJECTS ** Stephen Asbury, Developer Trainer, NeXT This presentation details the steps you need to take to build a client/server application using distributed objects, one of NEXTSTEP's most powerful tools. Discussion includes invalidation notification, threaded servers, and peer-to-peer architectures. ** WORKING WITH THE INDEXING KIT ** Kris Younger, System Engineer, NeXT The Indexing Kit is a major feature of NEXTSTEP Release 3. The kit provides a framework for storing and managing data, analogous to the framework for user interaction provided by the Application Kit. This session describes the salient features of the Indexing Kit, including transaction-protected storage, building dictionaries and indexes with BTrees, and building flat-file databases that store Objective-C objects. ** DRIVERKIT FOR NEXTSTEP FOR INTEL PROCESSORS ** Phillip Dibner, Developer Support, NeXT A detailed presentation of the differences between traditional UNIX drivers and those written for NEXTSTEP applications on Intel-based computers. A developer support engineer examines a working example and answers your questions about drivers. _____________________________________________________________________ => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS May 25 - 27, 1993 ** TRACK ONE ** THEME: ENTERPRISE COMPUTING The first stage of desktop computing in corporations was all about enhancing individual and departmental productivity. NEXTSTEP takes corporations to the second stage by advancing the mission of the enterprise. This conference track explores the issues in enterprise computing such as client/server architecture, rightsizing, operational productivity, custom application development, and heterogeneous networking. In every area, NEXTSTEP offers great opportunity for the next stage of corporate computing. TRACK ONE SESSIONS: ** END OF THE PARADOX: OPERATIONAL PRODUCTIVITY ** NEXTSTEP solves the enduring paradox of the information age: Organizations' investment in technology has not resulted in measurable productivity gains. NEXTSTEP changes the equation by focusing on operational productivity. ** WHY OBJECT-ORIENTED PROGRAMMING and NEXTSTEP ** NEXTSTEP achieves its full power when applied in enterprise-wide systems for client/server functions. Discover how object-oriented programming techniques and client/server computing can bring immediate tangible benefits to organizations. ** RIGHTSIZING WITH NEXTSTEP ** As businesses downsize monolithic mainframe applications to distributed client/server systems, they need object-oriented development tools that play in a standard networking environment. NEXTSTEP is an important piece of the rightsizing puzzle for corporate re-engineers. ** ENGINEERING CLIENT/SERVER SYSTEMS ** Talk of rightsizing is cheap. NEXTSTEP gets you started today. This panel of customers, integrators, and system engineers explores the nitty-gritty technical issues of using NEXTSTEP in a client/server architecture. ** DEVELOPING AND DEPLOYING CLIENT/SERVER CUSTOM APPLICATIONS ** NEXTSTEP's object-oriented development environment lets you bring new systems on-line in a fraction of the time needed with competitive products. That calls for a new approach to planning and implementing client/server custom applications. ** ACCESSING CORPORATE DATABASES ** Distributed applications are only as meaningful as the data that is accessed. NEXTSTEP's DataBase Kit and third-party tools let you link into live financial and operational databases residing on mainframes and servers. ** HOW NEXTSTEP FITS INTO YOUR HETEROGENEOUS CORPORATE NETWORK ** Virtually every enterprise today maintains a mixed environment of computer platforms and networks. NEXTSTEP's support of multiple networking standards allows users to easily mix and match computers with their existing information systems. ** CONNECTING THE ENTERPRISE: WANs, LANs. and ISDN ** As business goes global, it isn't enough to interoperate in local networks at individual user sites. Here's how NEXTSTEP systems communicate with other computers in a world-wide distributed computing environment. ** MANAGING APPLICATION DEVELOPMENT PROJECTS ** As NEXTSTEP speeds up the application development cycle, managers face new challenges in strategic and tactical planning. Here's what to expect in budgeting, staffing, managing, and phasing in your custom application projects. ** ISSUES IN SYSTEM ADMINISTRATION ** As NEXTSTEP proliferates in enterprise-wide information systems, the issues of network management and security become increasingly critical. System administrators explore the tools and techniques available for maintaining and securing corporate networks. ** TRACK TWO ** THEME: USING NEXTSTEP NEXTSTEP provides a user environment unlike any other operating system. To get maximum benefit from their systems, users need to know the intricacies of NEXTSTEP and third-party products. This track begins with critical information about running NEXTSTEP for Intel processors, and examines hot topics like portable computing, NEXTSTEP publishing, database management, and collaborative applications. Users can get hands-on help by attending sessions on NEXTSTEP tips and tricks, configuring systems for maximum power, and sources of training and support. TRACK TWO SESSIONS: ** INTRODUCTION TO NEXTSTEP for INTEL PROCESSORS ** NeXT's software guru's take you on a tour of the leading object-oriented operating system for mainstream business computers. ** INTRODUCTION FOR INTEL PROCESSORS: Q&A ** NeXT and NEXTSTEP hardware partners answer questions on software deliverables. ** INTEGRATING INTEL AND MOTOROLA-BASED HARDWARE This session discusses the concerns and addresses the solutions for integrating your existing 68040 hardware with your Intel-based hardware--all running NEXTSTEP. ** READ ALL ABOUT IT: PUBLISHING WITH NEXTSTEP ** NEXTSTEP's unified imaging model, powerful software tools, and workgroup connectivity are ideally suited for graphic design and electronic publishing. Experts explore the available tools for NEXTSTEP publishing, while early adopters describe their experiences. ** MANAGING YOUR DATA ** Database management isn't a task only for programmers and system designers. Here's everything you need to know as a user for specifying and designing database front ends, as well as for managing your individual records. ** NEXTSTEP TIPS and TRICKS ** NEXTSTEP is so rich in capabilities that many users only scratch its surface. To get maximum benefit from NEXTSTEP, you need to know the shortcuts and hidden features available in the system. Power users show you how. ** CONNECTING TO THE WORLD ** There is a wealth of information, free software, and just plain camaraderie available to NEXTSTEP users through the Internet and other information services. This session tells you how and where to plug in to the wonderful world of NEXTSTEP online. ** OBJECT TECHNOLOGY AND YOU ** Besides its benefits for programmers, the rapid development of object technology for NEXTSTEP promises great rewards for the individual NEXTSTEP user. Here is an over-the-horizon look at three of the most important developments in object technology and how they will likely affect the life of the user. ** WORKING TOGETHER WITH COLLABORATIVE SOFTWARE ** Groupware is a computer-industry buzzword that is much discussed and little practiced. In the NEXTSTEP environment, users are taking advantage of applications designed for collaborative work. This panel reviews the available products and illustrates the power of workgroup computing. ** OPTIONS FOR PORTABILITY ** Customers are interested in NEXTSTEP portable computing. But 486 notebooks are not the only option for users who need to take their data on the road. This session looks at strategies for extending your desktop environment to wherever you happen to be. ** TRACK THREE ** THEME: IN THE TRENCHES Customers in business, education, and government have taken great strides in applying NEXTSTEP to solving problems in their fundamental advantages for unifying the desktop, collaborative computing, document management, decision support, and application development. In this track, speakers representing customers in NeXT's key markets share their experiences. TRACK THREE SESSIONS: ** UNIFYING THE DESKTOP ** The goal is no longer to have a computer on every desk, but to have only one computer on every desk. Users in financial services, law enforcement, and hospital administration describe how NEXTSTEP replaced diverse systems in a single workstation. ** ROLLUPS AND DRILLDOWNS: EXECUTIVE INFORMATION SYSTEMS ** NEXTSTEP is ideal for applications that deliver live summary data and graphics to executives for decision support. Corporate and government users show how they did it. ** WHY NEXTSTEP -- CUSTOMER PERSPECTIVES ** Choosing NEXTSTEP was once risky. This panel of NEXTSTEP customers in business, government, and education discuss their choice of NEXTSTEP systems and the payoff. ** MANAGING DOCUMENTS ** Whatever happened to the paperless office? It's alive and well in law firms and medical organization employing NEXTSTEP software for document storage and retrieval. ** SERVING YOUR CUSTOMERS ** The greatest challenge in business today is providing timely and accurate service to customers. NEXTSTEP systems provide the informational framework for world-class customer service. Users from health care, financial services, and transportation show how they did it. ** ENTERPRISE TRANSFORMATION ** Technological change does not occur in a vacuum. Sometimes, the technology used can lead to structural and cultural changes in an organization. Panelists from law enforcement, telecommunications, and the energy business explore the positive effects of NEXTSTEP technology on organizational hierarchies, decision making, and customer relations. ** TRAINING FOR SUCCESS ** Training alternatives are critical to meeting the diverse needs of NEXTSTEP developers, users, and systems administrators. This panel includes representatives from NeXT's training consortium, NeXT instructors, and customers whose successes with NEXTSTEP have been accelerated by choosing the right training curriculum. ** WORKFLOW MANAGEMENT ** Most business processes involve contributions and approvals from a variety of individuals. NEXTSTEP is a natural environment for working simultaneously and in series with a group of colleagues. Customers in electronic publishing, a corporate legal department, and university curriculum development describe their collaborative processes under NEXTSTEP. ** COMPREHENSIVE SERVICES AND SUPPORT ** Leading strategies for customer support put the power in customers' hands. Enterprise-wide computing and custom application development depend on timely, accurate support. NeXT delivers this with a professional staff and innovative systems. Learn NeXT's strategy to put the power in your hands. ** TRACK FOUR ** THEME: HOT PRODUCTS The sizzle in the NEXTSTEP market is the varied software solutions offered in hotly contested application categories. In this track, developers demonstrate the best and newest tools for document creation, presentation, financial modeling, database management, business graphics, and software emulation. With this background, users will be better able to examine the strengths and weaknesses of the products shown on the exhibit floor. TRACK FOUR SESSIONS: ** DOCUMENT CREATION ** The leading applications for creating business documents square off. Their different approaches to page layout and design provide good choices for every kind of NEXTSTEP user. This session provides an excellent opportunity to view, evaluate, and discuss the wide array of page layout applications available for NEXTSTEP. ** PRODUCTIVITY, NEXTSTEP STYLE ** In this session, developers discuss the feature and benefits of today's NEXTSTEP productivity applications and how they can be used most effectively. NEXTSTEP is home to innovative software products in virtually every productivity category. What's truly amazing is the way they all work together in an integrated user environment. ** INFORMATION MANAGERS ** The last year has seen an explosion of products for managing personal and group information. These tools have allowed NEXTSTEP users to move even closer towards the goal of a true paperless office. Learn about the calendar, address books, and free-form databases that are on the vanguard of workgroup computing on NEXTSTEP. ** BETTER PRESENTATIONS ** Making presentations is among the most frequent tasks in business. Creating presentations using NEXTSTEP and available third-party applications has proven to be both easy and impactful. Here we look at the options for improving your delivery with visually appealing slides and interactive media. ** EMULATION AND CONNECTIVITY ** NEXTSTEP is great, but sometimes you have to make concessions to the rest of the world. Whether you want to make your NEXTSTEP system behave like Windows, Macintosh, X, or a mainframe terminal, there is a third-party product for you. Developers in this session will review those products available in the future. ** GRAPHICS FOR BUSINESS ** Illustration tools are not just for artists. NEXTSTEP offers some of the best applications on any platform for creating business charts, diagrams, and drawings. Whether you're looking for applications in the area of free-hand drawing, product planning and flowcharts, or presentation enhancement, this session is for you. ** MULTIMEDIA AND 3D ** NEXTSTEP has always been a leader in the area of multimedia. Learn how NEXTSTEP's inclusion of RenderMan technology, strong multimedia authoring systems and tools for sound and music have set the stage for an explosion of software for 3D rendering, animation, and multimedia. ** DOCUMENT MANAGEMENT ** NEXTSTEP's combination of strengths for scanning character recognition, imaging, and collaborative computing make it an ideal platform for document storage and retrieval. Developers demonstrate their solutions for the potentially huge but largely underutilized workstation application. ** SPREADSHEET AND MODELERS ** NEXTSTEP abounds in diverse solutions for financial modeling. Whether you need a traditional spreadsheet, multi-dimensional tool or sophisticated enterprise financial modeler, NEXTSTEP serves your needs with strong third-party products. Come see for yourself. ____________________________________________________________________ => NEXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES May 25 - 27, 1993 Participating Companies: Abe Industry Artemis AEC Software ADAMATION Alembic Systems International Ltd. Altsys Corporation Anderson Financial Systems ANDI Appsoft, Inc. Athena Design Axsys Bacchus, Inc. BenaTong benchMark Development, Inc. Blacksmith Blue Rose Systems Booz-Allen & Hamilton Canon Ciusa, Inc. Conextions Cub'X Systems Data General Corp. Dell Computer Distributed Processing Technology Epson Firstsoft, Inc. / DBSA. Inc. Goldleaf Publishing, Inc. Harvard Tool Works Hewlett-Packard Company Highland Digital HSD Microcomputer Hypersight, Inc. i-link, GmbH Imagine Multimedia, Inc. Impact Multimedia, Inc. INSIGHT Software Insignia Solutions, Inc. Intel Corporation Jana Publishing Lighthouse Design, Ltd. Logicon Ultasystems Inc. LogicStream Memory International, Inc. Millennium Software Labs, Inc. MRJ, Inc. NEC Technologies Inc. NeXT, Inc. NeXTWORLD Magazine Northstar Technologies Inc. nPoint Objective Technologies, Inc. ONyX Systems, Inc. Pages Software, Inc. Pangea Corporation PARABASE Pencom Perennial Software Pinnacle Research, Inc. Professional Software, Inc. RDR, Inc. Ridgeback Solutions RightBrain Software, Inc. SMC Sarrus Software, Inc. Schema Research Corp. Second Glance Software SiRiUS Solutions, Inc. Skylee Press SofDesign Software Ventures Stone Design Systemhouse Inc. Systemix Software, Inc. TMS GmbH Tecor, Inc. Telos / Springer-Verlag Thoughtful Software Toshiba Trident Data Systems Trirex Systems Vertex Software WordPerfect Corporation Yrrid Incorporated ...and more ____________________________________________________________________ => NeXT USER GROUP PROGRAM AGENDA User Group Keynote Thursday, May 27 9:00 a.m. - 11:00 a.m. Steve Jobs: 486--An Explosion of Users Under NeXT's Big Tent Steve Jobs headlines this exciting kickoff to today's activities. The number of NEXTSTEP users in the world doubled last year. With the advent of NEXTSTEP for Intel processors, we anticipate a tremendous explosion of new users and user group members using both black and white hardware. How do we serve this dynamic new population and tap into their talents? Ideas for 1993 and beyond will be discussed. Also during this session, NeXT will present its "Golden Nugget Awards" for special contributions by user groups during the past year. ** USER GROUP PROGRAM: LEADERSHIP TRACK ** Thursday, May 27 11:00am - 12:00pm -Leadership and Organizing Ideas Panel chair: BANG (Bay Area NEXTSTEP User Group) 1:00pm - 2:00pm -Working with NeXT, 3rd Party Vendors, and Resellers Panel co-chairs: KYNUG (Kentucky NEXTSTEP User Group) PSNUG (Puget Sound NEXTSTEP User Group) 2:00pm - 3:00pm -Attracting and Keeping Volunteers and Officers Panel chair: UKNUG (United Kingdom NEXTSTEP User Group) 3:00pm - 4:00pm -Fundraising Panel chair: NoIR - NEXTSTEP Organization International ____________________________________________________________________ ** USER GROUP PROGRAM: MEMBERSHIP SERVICES TRACK ** Thursday, May 27 11:00am - 12:00pm -Training Panel co-chairs: SCaN (Southern California area NEXTSTEP User Group) hAng (Houston area NEXTSTEP User Group) Scott Weiner, NeXT Training department 1:00pm - 2:00pm -Planning and conducting a successful meeting Panel chair: BCS-NeXT (Boston Computer Society NEXTSTEP Group) 2:00pm - 3:00pm -Newsletters Panel chair: rmNUG (Rocky Mountain NEXTSTEP User Group) 3:00pm - 4:00pm -Getting your members on the worldwide net Panel co-chairs: GUN (Gotham Users of NEXTSTEP, New York City) Madison, Wisconsin NEXTSTEP User Group ____________________________________________________________________ => TUTORIALS AND BOF MEETINGS Hands-On NEXTSTEP Tutorials If you're new to NEXTSTEP, this is your chance to learn the basics...and if you're a seasoned developer, you can sign-up to spend some time with an expert on the subject of your choice. Extending from the show floor, the NEXTSTEP hands-on tutorial area sponsored by Dell Computer, provides instructions and mini-sessions for both end users and developers. User Tutorials are scheduled throughout the three days of the Expo to introduce new users to NEXTSTEP and to provide guidance on navigating the workspace, working with applications, and using NEXTSTEP features. Developer Tutorials provide two learning opportunities: hands-on instruction in "boot camp" issues as well as one-on-one time with a NeXT expert on specific development topics. Birds-of-a-Feather Meetings Developers can conduct a limited number of Birds-of-a-Feather get-togethers on Wednesday evening, May 26, 5:00 p.m. - 8:00 p.m. Room reservations are available on a first-come, first-served basis. Email BOF@NeXT.com to reserve a room for your special interest group. Please include your coordinator's name, an email address, and an abstract of the session. ____________________________________________________________________ => REGISTRATION, HOTEL AND TRAVEL INFORMATION TO REGISTER FOR NeXTWORLD EXPO Mail completed form to: NeXTWORLD EXPO DCI 204 Andover Street Andover, MA 01810 -OR- Fax to: 508/470-0526 (24 hours a day) -OR- Call Toll-Free: 800/767-2336 (US only: 8:30a.m.- 6:00p.m. EST) -OR- International Registration: 508/470-3880 Please check all that apply: Developer Conference (#3032) ____ $695 ____ $745 (on-site) User Conference (#3033) ____ $195 ____ $245 (on-site) Exhibits Only (#3034) ____ $25 ____ $40 (on-site) User Group Program ____ FREE (Open to all attendees who register) SPECIAL PRICE FOR ALL CONFERENCES: Developer Conference Package (#3032N): Includes all conferences registration and a copy of NEXTSTEP for Intel processors User Environment and Development Tools for your 486 computer ____ $995 ____ $1095 (on-site) ____________________________________________________________________ REGISTRANT INFORMATION: Name: ______________________________ Company: __________________ Title: ______________________________ Division: __________________ Name: ______________________________ Street: ____________________ Title: ______________________________ City: ______________________ Name: ______________________________ State/ZIP: _________________ Title: ______________________________ Phone: _____________________ Fax: ______________________ Authorized Signature/Date: _________________________________________ Method of Payment _______ Check enclosed payable to NeXTWORLD EXPO _______ Visa _______ MasterCard Card number: ____________________________ Expiration date: ________________________ Cardholder Name: ________________________ _______ Bill my firm. Attention of: ________________________________ Conference cancellation policy: Substitutions may be made at any time. Cancellations made by May 11, 1993 will be accepted, subject to a cancellation service charge of $100. Confirmed registrants who do not attend the conference or cancel after May 11, 1993 are liable for the entire registration fee. All cancellations must be made in writing. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Hotel and Travel Information NeXTWORLD EXPO is pleased to offer you special discounted hotel overnight rooms and airfares. To receive discounted reservations or information on these special services, please call Conference and Travel Services (CATS) at 800/767-2755 or 508/470-3933 or fax your request to 508/470-0526. _____ San Francisco Hilton (Single or Double: $150) _____ The Donatello (Single or Double: $115) _____ Holiday Inn Union Square _____ Single: $115 _____ Double: $135 _____ Monticello Inn (Single or Double: $120) _____ ANA Hotel _____ Single: $130 _____ Double: $150 _____ Savoy Hotel (Single only: $109) _____ Campton Place _____ Single: $160 _____ Double: $185 _____ Cartwright Hotel _____ Single: $109 _____ Double: $119 Please indicate your first three hotel choices. We will notify you, in writing, of your confirmed hotel assignment. A credit card is needed to Guarantee Your Hotel Reservation _____ VISA _____ MasterCard _____ Am. Express _____ Diners Club _____ Discover _____ Personal Card _____ Corporate Card Cardholder Name: ____________________ Arrival/Departure ___________ Company Name: _____________________ Signature: __________________ Card Number: ________________________ Business Phone: _____________ Expiration Date: ____________________ Home phone: _________________ Fax Number: _________________________ -end-
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.marketplace Subject: Recent NEXTSTEP and NeXT Partner Announcements Date: 19 Apr 1993 21:59:28 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qv7c0$1r2@rosie.next.com> For your information, The following NEXTSTEP announcements were posted to the comp.sys.next.advocacy newsgroup today: 1. Hewlett-Packard to Offer NEXTSTEP-Certified PC's 2. Data General to Deliver NEXTSTEP on DASHER II PC's 3. Dell Announces Plans to Offer Systems with NEXTSTEP 4. NEC Technologies to Provide NEC and NEXTSTEP Solutions 5. EPSON to Integrate NEXTSTEP with Progression NX 6. Ingram Micro and NeXT Sign National Distribution Agreement 7. Trident Data Systems Becomes NeXT Consulting Partner 8. PanCanadian Enters Strategic Alliance with NeXT 9. Comnetix Provides York University with NEXTSTEP-Based System; System Will Handle All Undergraduate Admissions 10. Pencom to Provide Development Support for NeXTWORLD Expo Exhibitors Conrad Geiger International NEXTSTEP User Group Program Manager
From: Ali_Ozer@NeXT.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT's `Calibrated Color ' is causing me problems Date: 20 Apr 1993 02:03:50 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qvlm6$22l@rosie.next.com> References: <1qf139$ss9@access.usask.ca> In article <1qf139$ss9@access.usask.ca> eric@skatter.usask.ca writes: > The digital oscilloscopes dumps their screen in HP-GL format. My object > forks and exec's a conversion program (hp2xx) to convert this to > Encapsulated PostScript... > When the hp2xx program wants to use a `green pen' it emits the PostScript > code `0.0 1.0 0.0 setrgbcolor'. If I take the output from the hp2xx program > and send it directly to the color printer (lpr -Pcolor hp2xx.out.eps) this > makes a nice solid green line. However, if my application prints the view > containing the same PostScript image, the line is an awful dithered > combination that looks like a mixture of short yellow and green dashes. > > How do I get things to produce `nice' (non-dithered) colors on the display > AND produce `nice' colors on the printer. I feel like the oft-touted > `unified imaging model' is getting in my way. Under 3.0, when an EPS image is imported, it's automatically color calibrated. This means that operators such as "setrgbcolor" and RGB images end up getting calibrated. Typically this is the better option; try printing an RGB image on a CMYK printer sometime with and without color calibration! However, as you noted, sometimes this color calibration can get in the way, especially in cases like yours where you are trying to print small color text or lines and the dither pattern of the printer interferes with the drawing. One option is to generate the EPS file with CMYK commands; CMYK colors are assumed to be device dependent and thus the CMYK values will directly drive the inks, giving you a solid color. Another option is to use the NXColorCalibrateLevelOneOps default to turn of color calibration of "old" operators such as setrgbcolor from your application: dwrite appname NXColorCalibrateLevelOneOps NO Note that this forced color calibration is only done on EPS files. If your application itself generates "setrgbcolor," it's left uncalibrated. Ali, Ali_Ozer@NeXT.com
From: Mike_Monegan@NeXT.COM (Mike Monegan) Newsgroups: comp.sys.next.programmer Subject: Re: cc can't find .h files... Date: 20 Apr 1993 02:12:52 GMT Organization: NeXT, Inc. Message-ID: <1qvm74$22p@rosie.next.com> References: <C5HB1s.2Ao@hal.rhein-main.de> In article <C5HB1s.2Ao@hal.rhein-main.de> alex@hal.rhein-main.de (Alexander Lehmann) writes: [nice description of the 3.0 standard include paths deleted] > > A useful include path for your setup would be the following: > > /usr/local/include, /usr/local/include/ansi and /usr/local/include/bsd I'm curious. Does anyone care about splitting local headers up inside /usr/local/include? Send me mail if you do, otherwise I'll just assume it's a consistency issue. > I find the sequence of the include directory rather useless, since it is > not possible to override standard include files with local ones. I disagree, the -nostdinc flag to cc allows you to do this. Does it not meet your needs? > But this just my personal opinion, of course. The inconsistency between cpp > and cpp-precomp is definitely a bug, which is hopefully fixed in 3.1. In fact, it is. The cpp-precomp search path has been changed to match the gnu cpp search path. The one remaining issue is which /usr/local/include paths to add. --Mike
From: Ali_Ozer@NeXT.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: weird bug with "Collector" class Date: 20 Apr 1993 02:17:18 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1qvmfe$22t@rosie.next.com> References: <1184@rtbrain.rightbrain.com> In article <1184@rtbrain.rightbrain.com> Glenn Reid writes: > I made up an arbitrary object class and decided to name it "Collector". > I've implemented lots of classes, so this seemed like no big deal. > But when I tried to do: > [[Collector alloc] init]; > I crashed in a very strange way ... > There must be some weird internal class or implementation of something > called "Collector" in the run-time system somewhere, as nearly as I can > figure. Voodoo, this programming stuff. Hmm. As far as I know, there's no such public or private class in any of the NEXTSTEP kits... I just tried creating such a class and it worked just fine. Was this code dynamically loaded into some other application? Or perhaps there's a memory smash somewhere that gets tickled with a name such as "Collector" but not "Adder"? Did you ever get to the bottom of this? This class naming stuff could be real voodoo except all public and private API in NEXTSTEP does stick to the strict naming conventions (such as using the "NX" or the few other prefixes on almost everything, and using the "_" prefix on private methods). There's still potential for problems when we do a new release, but the chances are much less, and we do have the beta period to catch any problems with binary incompatibility! Ali, Ali_Ozer@NeXT.com
From: Kathy_Walrath@NeXT.COM (Kathy Walrath) Newsgroups: comp.sys.next.programmer Subject: Re: Killing Threads Date: 20 Apr 1993 17:42:46 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1r1cmm$co@rosie.next.com> References: <C5Lo0G.1wt@news.otago.ac.nz> The only safe way to kill a C thread is to have it kill itself with cthread_exit(). Using thread_*() functions to kill C threads is very dangerous because the C threads package keeps extra information that the thread package doesn't know about. This causes problems with the execution of other threads in the task. You could have the C thread check a condition variable occasionally, and kill itself when the condition variable says to. --Kathy
Newsgroups: comp.sys.next.programmer From: intrepid@netcom.com (Intrepid Traveller) Subject: ScrollView problems (STILL!) Message-ID: <intrepidC5ssMI.9AH@netcom.com> Organization: NETCOM On-line Communication Services (408 241-9760 guest) Date: Tue, 20 Apr 1993 19:54:17 GMT I am writing a program on NeXTstep 3.0, in which I have a scrollview that has a text window in it. I am using Postscript to write text into the window (I will need to manipulate it later, so that's why I hesitate to use the setText: method). The problem is that the scrollview does not seem to do anything, so that when my program draws off the content view, it is not possible to scroll and see what I have drawn. Someone recommended I try using the sizeToFit method but it did not work. Does anyone have any suggestions on how this problem could be fixed or have had this problem previously and have a solution for it? Any help would be greatly appreciated.
From: slv0y@cc.usu.edu Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Workspace dying consistently...help.. Message-ID: <1993Apr20.141059.66518@cc.usu.edu> Date: 20 Apr 93 14:10:59 MDT Organization: Utah State University I am experiencing some strange WorkSpace errors. I can't see anything obvious as to why I am getting them so if anyone can shed some light on this I would appreciate it. I am exporting a directory ServerApps to the root domain and its mount point is /Net. If in the workspace while logged in as root on a client machine and I try to open this folder, workspace dies and loggs me out. I can access that directory via the shell just fine and everything looks o.k., and I can access that directory from a user account, and on the server under root. All of the files in the directory are just normal apps, calculator, safetynet, etc. and none of them have any strange file characteristics, ownerships, etc. that I can see. So whats the problem? Is this a known bug in 3.0...if so, how do I get around it? Its really not that big of a problem except I want to link the applications in the server apps directory into each machines local apps as root. Am I going about this all wrong? I have to have a local apps and a server or shared apps because I have several programs with single licenses that have to be installed on just one machine. Any help would be greatly appreciated. John Z. slv0y@cc.usu.edu
From: tiggr@wft.stack.urc.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: Debating rtf source code Date: 20 Apr 1993 17:11:24 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1r1ars$2jf@tricky.wft.stack.urc.tue.nl> References: <1993Apr18.230004.21998@atg.wiltel.com> In article <1993Apr18.230004.21998@atg.wiltel.com> rking@atg (Richard King) writes: > 1)We're using a specially modified compiler, there may be support issues You're only using a modified pre-processor. > 4)Since our code will only compile with our compiler, we won't be able to > take > code from our NeXT environment to another and have things work. > (non-portability) As I recall, the RTF preprocessor is just a modified GNU cccp. So, you'll be able you obtain the sources to it and compile it on any machine you want. --Tiggr
Newsgroups: comp.sys.next.programmer From: ztech@well.sf.ca.us (Zippytech) Subject: Re: Appkit Message-ID: <C5t7IB.E1H@well.sf.ca.us> Sender: news@well.sf.ca.us Organization: Whole Earth 'Lectronic Link References: <1993Apr1.4924.12665@dosgate> <DEMARCO.93Apr14201406@fsd.cpsc.ucalgary.ca> <yikesC5JyH6.AMy@netcom.com> Distribution: comp Date: Wed, 21 Apr 1993 01:15:46 GMT In article <yikesC5JyH6.AMy@netcom.com> yikes@netcom.com (Michael Brill) writes: >demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) writes: > >> o The Text Object, (What the appkit has a text object) >o Certainly it needs functionality added, but is not _really_ of "bad" design It would be nice if the text object functionality were somehow decomposable. I might want a text object with a subset of the functionality. On the other hand, it's hard to imagine a way to do this without adding multiple inheritance to Objective C. -- Zippytech <ztech@well.sf.ca.us> Zippytech sells network protocol objects. "The most important lesson of networking is that we can accomplish more in life by occasionally dropping things on the floor."
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Hiding appIcon Message-ID: <1993Apr20.183021.3075@gleap.jpunix.com> Date: Tue, 20 Apr 1993 18:30:21 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software I am writing a "service" for WSM. I don't want the app which implements the service to have an appIcon visible (just to avoid clutter/confusion). What is the best way to do this? Other info? 1. I have successfully done this with the following line in appDidInit: [[NXApp appIcon] moveTo:-100.0 :-100.0]; 2. I was unsuccessful with the following line: [[NXApp appIcon] orderOut:self]; Under method one (which seems like an acceptable appraoch), the icon does appear as the app is launching, and then goes away. I think it'd be nice if it never appeared at all, so if you know if a way to achieve this effect... Charles. --- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax) -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu Subject: NeXTSTEP bugs, Conrad Geiger, 3.1 Message-ID: <9304210215.AA05053@flexus> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Wed, 21 Apr 1993 02:15:45 GMT LS, Helmut Heller has a problem with -traditional specified to the compiler. I would like to---again---call your attention to a list of known bugs in NeXTSTEP_3.0 that I maintain (doing NeXT's job for them!); it's available as sonata.cc.purdue.edu:next/lore/knownbugsin3.0vX.rtf.Z, where X stands for some version number, and possibly you will have to check next/submissions as well. A reproduction of a statement by NeXT about the machine-specificity machinery in the header files breaking for -traditional has been there for a while, and version 9.0 of my collection includes a suggestion by Robert Brown to actually cure this problem. For all your problems, CHECK THIS FILE! I don't know if this is the right place to post, but Conrad Geiger has been extra active lately, flooding various channels with news items, and I have received duplicates from NeXT-L@antigone.com and from NeXTPR-D@antigone.com (digesting c.s.n.(bugs/programmer) and comp.soft.nextstep or something). You might want to send him a message suggesting to start up his own list for this kind of stuff, because cross-posting all that uncalled-for data is just bad manners. For the rest, I think that the 3.1 interim release should be for free to those who work with 3.0 right now: if a product is defective, it should be repaired at the manufacturer's expense (to use that analogy). And about that ridiculous developer penalty of twice the user version's cost ($2995): it's shrink-wrapped software all over again, and custom programming for the big guys only. This is no way to stop being an eternal promise. Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium RfSchtkt@maze.ruca.ac.be apparently isn't functional for public use yet (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at'' Nederlands, English, Fran[ais, Deutsch a.o.
Newsgroups: comp.sys.next.programmer From: rob@xexos.com (Rob Trangmar) Subject: Colored selection highlighting in TextView Message-ID: <1993Apr20.124202.1676@xexos.com> Sender: news@xexos.com Organization: Xexos, Ltd (London) Date: Tue, 20 Apr 1993 12:42:02 GMT Has anybody got some code or can give me some pointers on how to color a user selection in a text object? setSelColor seems to work sporadically (maybe i'm using it in the wrong place) so i can only really see a (grayed) selection when the background is white. I want to be able to put in colored backgrounds and give user defined colors for slection highlighting. Thanks for your help, i'm pulling my hair out on this one! Rob ========================================================= Rob Trangmar<rob@xexos.com> Xexos (London) Ltd. Tel. (44) 71 237 4535 1 New Concordia Wharf Fax. (44) 71 231 0844 Mill Street, London SE1 =========================================================
Newsgroups: comp.sys.next.marketplace,comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: sieu@cory.Berkeley.EDU ( TECKCHENG SIEU) Subject: UPDATE: DESKTOP 2.1 Message-ID: <1993Apr21.062008.2601@pasteur.Berkeley.EDU> Sender: sieu@cory.berkeley.edu Organization: University of California, at Berkeley Date: Wed, 21 Apr 1993 06:20:08 GMT Sorry but I just discovered that one of the postscript help files, "Quick/Start/A Gadget tieing & fronting" does not have the ".ps" file extension. This causes Desktop to intepret it as a help subdirectory. This problem can be rectified after the installation of Desktop.app by carrying out the following 2-step procedures: (1) Select the "Desktop.app" in a File Viewer and open it as a folder by pressing Command-Shift-O (2) Then, rename Desktop.app/help/QuickStart/A Gadget tieing & fronting to Desktop.app/help/QuickStart/A Gadget tieing & fronting.ps (because it is a postscript file) A rectified copy of Desktop2.1.tar is available now at garbo.uwasa.fi in /next/demo. (I just checked). The checksum and length of this rectified Desktop2.1.tar are: >>% sum Desktop2.1.tar >>16041 984 >>% ls -l Desktop2.1.tar >>-rw-r--r-- 1 sieu 1007616 Apr 20 17:14 Desktop2.1.tar Aill demo floppies that are postmarked on and after Apr 20th will contain the rectified Desktop2.1. (Receipents of the original Desktop 2.1.tar will be notified to make the change.) Sorry for the inconvenience caused and taking up the bandwidth. By the way, I am very keen in porting Desktop.app to the intel platform. And I will immediately buy a PC to start the port if someone could give me a copy of Intel NeXTstep (beta version). Lastly, all NeXT users are eligible to receive a free Desktop demo floppy. I will make sure that there is enough to circulate around. Johnson Sieu sieu@cory.berkeley.edu
Newsgroups: comp.sys.next.programmer From: ivor@cs.mcgill.ca (Ivo ROTHSCHILD) Subject: Re: Other NXWorkspaceRequestProtocol problems Message-ID: <1993Apr21.042527.18233@sifon.cc.mcgill.ca> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1q2i2qINNoh2@shelley.u.washington.edu> <1993Apr9.165914.352@newsoft.octagon.de> Date: Wed, 21 Apr 1993 04:25:27 GMT In article <1993Apr9.165914.352@newsoft.octagon.de> Markus Singer <markus@newsoft.octagon.de> writes: >In article <1q2i2qINNoh2@shelley.u.washington.edu> >zeno@phylo.genetics.washington.edu (Sean Lamont) writes: >> If anyone has any idea on why the app: fileOperationCompleted: delegate >> doesn't work for me , let me know! > >Actually this is a real bug in the AppKit, your delegate can't get this message >(Bug of the Week, as they call it ;-). So it's not your fault, but you'll have >to wait till NS3.1 ships to see it work correctly. Until then you can use >system(), if you need to be informed about the completion of file operations, >as they suggest. > But it LOOKS like it works in ProjectBuilder! Do you think NeXT doesn't use their own API? -ivo
Newsgroups: comp.sys.next.marketplace,comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: larrie@beaufort.sfu.ca (Larrie Simon Carr) Subject: Looking for Commercial Fortran for NeXT Message-ID: <1993Apr21.071029.11406@sfu.ca> Keywords: Fortran Sender: news@sfu.ca Organization: Simon Fraser University, Burnaby, B.C., Canada Date: Wed, 21 Apr 1993 07:10:29 GMT I am looking for a *commercial* Fortran compiler for the NeXT. It would be nice if the compiler had a option for linking in assembler code. (I already know about the f2c program. However, this does not suit the staff member I am trying to support. He does not trust C and hates how the linkage between functions is done). Any information would be great. Thanks. -- Larrie Carr larrie@sfu.ca MicroElectronics and Sensors Group School of Engineering Science
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Re: NeXTSTEP bugs, Conrad Geiger, 3.1 Message-ID: <1993Apr21.055557.6864@digifix!uunet.ca> Sender: sanguish@digifix!uunet.ca Organization: Digital Fix Development References: <9304210215.AA05053@flexus> Date: Wed, 21 Apr 1993 05:55:57 GMT rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu writes > LS, > [munch drivel about him doing Next's job by maintaining a bug list] If the bugs have been reported to Next in the correct fashion (bugs@next.com or some such address) then Next will have them already databased and are aware of them. BTW, if your tone in this message, and others I have seen on the bug topic is the tone you have taken with Next, I wouldn't be expecting any answers. [munch stuff about Conrad's postings about Next] You should be clear that this is NOT about the bugs, something Conrad has no control over. Additionally, it could have been handled in e-mail. If there were additional copies only in comp.sys.next.advocacy, and I am sure that was an error. That happens you know. [munch stuff about 3.1 should be free] I am sure Next's policy on 3.1 will be posted when there is one. However, keep in mind that the past policy has been that updates of this sort are kept as cheap as possible. There have been comments about it being less than $100, and I would be surprised if it is not quite a bit less. However, if you read the License agreement when you opened NS 3.0, or opened your machine, it is the standard No Warranty blah blah blah. As for your comments on the price of NS 3.0 Intel? I don't think it is correct to call it a "developer penalty". Next has stated that they are currently targeting the Mission Critical market. That means big bucks. As for being an eternal promise, well, MSDOS and Windows NT doesn't seem to be any sort of an promise. Neither of these OS's are really giving developers a platform to innovate on. I don't think there are alot of developers going "Boy when NT/DOS 6.0 ships I can write a really cool application that I would not have been able to do before!" BTW, I know DOS 6 has already shipped. -- - Scott Anguish - sanguish@digifix.com (NextMail)
From: ramesh@bodhi.esys.cwru.edu (Ramesh Dodamani) Newsgroups: comp.sys.next.programmer Subject: Regarding DBKit/DBModule Date: 21 Apr 1993 09:32:35 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1r34bj$852@usenet.INS.CWRU.Edu> I have multiple instances of DBModule in one of my nib file. What's happenning is that each of these DBModules create their own instance of the DBDatabase object,each DBDatabase representing a connection to the server. With the 5-user sybase-server that I have, the program runs out of connections and accesses to the server fail. DBModule does not provide a method to change the database instance in it, and the 'database' instance is protected. Is there a way to get out of this? Of course, I could create Instances of DBModule programmatically, but that would involve lot more work. Any help is appreciated. Thanks Ramesh
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Re: Workspace dying consistently...help.. Message-ID: <OLEG.93Apr21013401@gd.cs.CSUFresno.EDU> From: oleg@gd.cs.CSUFresno.EDU (Oleg Kibirev) Date: 21 Apr 93 01:34:01 References: <1993Apr20.141059.66518@cc.usu.edu> Organization: Computer Science Departement of California State University inFresno In-reply-to: slv0y@cc.usu.edu's message of 20 Apr 93 14:10:59 MDT In article <1993Apr20.141059.66518@cc.usu.edu> slv0y@cc.usu.edu writes: I am experiencing some strange WorkSpace errors. I can't see anything obvious as to why I am getting them so if anyone can shed some light on this I would appreciate it. I am exporting a directory ServerApps to the root domain and its mount point is /Net. If in the workspace while logged in as root on a client machine and I try to open this folder, workspace dies and loggs me out. I can access that directory via the shell just fine and everything looks o.k., and I can access that directory from a user account, and on the server under root. All of the files in the directory are just normal apps, calculator, safetynet, etc. and none of them have any strange file characteristics, ownerships, etc. that I can see. So whats the problem? Is this a known bug in 3.0...if so, how do I get around it? Its really not that big of a problem except I want to link the applications in the server apps directory into each machines local apps as root. Am I going about this all wrong? I have to have a local apps and a server or shared apps because I have several programs with single licenses that have to be installed on just one machine. NextStep has problems with NFS. If you are root, system expects you to be able to access any file, regardless of permissions. Of course, it's not always so with NFS. As a result, if you try to access a file unreadable for user "nobody" as root, you get "I/O error". Moreover, failure to access this file is cached, so after this you won't be able to access it even as owner. Workspace is probably confused with unusual error. You may want to give clients NFS root permission on this directory or just make sure that all files in it are world readable. Oleg
From: nico@imani.cam.org (Nicolas Dore) Newsgroups: comp.sys.next.programmer Subject: InfoPanel replacement in WM Message-ID: <1993Apr21.014334.5977@imani.cam.org> Date: 21 Apr 93 01:43:34 GMT Sender: nico@imani.cam.org Hi For a project I would like to replace the Workspace Manager's InfoPanel with my own, or at least add some views to it(bear with me if this doesn't make sense). How do I get to it? I checked in .../WorspaceManager, in the languages directories, and I coulnd't find anything (found lost of interesting stuff, but I didn't dare play with them). So, any idea? Thanks Nicolas Dore
Newsgroups: comp.sys.next.programmer From: villy@hatch.socal.com (Will Hartung) Subject: Vanishing View Message-ID: <C5tn2B.MI7@hatch.socal.com> Organization: Hatch Usenet and E-mail. Playa del Rey, CA Date: Wed, 21 Apr 1993 06:51:44 GMT I'm sure this is REAL obvious to some, yet obtuse to me. I'm experimenting with views, subviews and scrollviews. Here is a bit-o-code: step++; if(step==1) { NXSetRect(&localRect,0,0,500,500); [sView setBorderType:NX_BEZEL]; [[sView setHorizScrollerRequired:YES] setVertScrollerRequired:YES]; anXView=[[XView alloc] initFrame:&localRect]; [sView setDocView:anXView]; [anXView update]; [sView update]; } if(step==2) { NXSetRect(&localRect,0,0,100,500); aBlackView=[[BlackView alloc] initFrame:&localRect]; [anXView addSubview:aBlackView]; [anXView update]; } if(step==3) { NXSetRect(&localRect,0,0,750,500); [anXView setFrame:&localRect]; [anXView update]; } return self; It lives inside a little button I can push and watch. I have a mere scrollview in a window. XView draws an X, BlackView is, well, black...all they have is drawSelf::. After step 3, IF I have an EraseRect in the XView, the BlackView Goes Away when I move the scroller a mere fraction, and doesn't return until I've moved it all the way back. Without an EraseRect, the BlackView sticks around. So, any thoughts on what I'm missing? Why doesn't BlackView keep redisplaying itself? Thanx! Will (me@zipbang.socal.com)
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Appkit Organization: Primitive Software Ltd. References: <DEMARCO.93Apr14201406@fsd.cpsc.ucalgary.ca> <yikesC5JyH6.AMy@netcom.com> <C5t7IB.E1H@well.sf.ca.us> Distribution: comp Date: Wed, 21 Apr 1993 10:47:41 +0000 Message-ID: <1993Apr21.104741.2658@prim> Sender: usenet@demon.co.uk In article <C5t7IB.E1H@well.sf.ca.us> ztech@well.sf.ca.us (Zippytech) writes: >In article <yikesC5JyH6.AMy@netcom.com> yikes@netcom.com (Michael Brill) writes: >>demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) writes: >> >>> o The Text Object, (What the appkit has a text object) > >>o Certainly it needs functionality added, but is not _really_ of "bad" design > >It would be nice if the text object functionality were somehow >decomposable. I might want a text object with a subset >of the functionality. On the other hand, it's hard to imagine >a way to do this without adding multiple inheritance to Objective C. The Text object is a _classic_ example of "bad" design. It's way, way too big - it should have been a suite of objects. And it's very difficult to subclass to alter behaviour (ask anyone who's tried). The documentation even states that it was intented to do everything so you wouldn't have to subclass it. We all make mistakes, even the programmers at NeXT do it, and I'm sure if they sat down to rewrite the appkit there would be many many improvements to the design. I was wondering about this Cell/View split and the lack of so-called "lightweight" views. Cell was apparantly created to avoid the overhead of a View subclass. What overhead is being referred to here, memory or processing time? How big is a View object? The View class has a lot of code in it and one would have thought that there could have been some intermediate class. Why is View a subclass of Responder? This seems to mix up two distinct areas of functionality: drawing and handling events. If the two were kept separate, a View object could simply point to an associated Responder and vice-versa. Why does an off-screen View or one that cannot respond to events need to carry the event handling baggage inside it? There's always more than one way to skin a cat. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: Debating rtf source code Message-ID: <1993Apr21.131219.465@afs.com> Sender: Michael_Pizolato@afs.com References: <1993Apr20.134939.268@afs.com> Date: Wed, 21 Apr 1993 13:12:19 GMT I got the following query on this topic from Robert Nicholson (robert@steffi.demon.co.uk), and after that is my reply. It's a rather large consideration. > Hi, how do you go about parsing the .h files in IB? Can IB parse > RTF .h files? or can you never add outlets one you have parsed > into IB? Honestly, it never came up until your message. I just tried it, and, as I expected, IB couldn't parse the RTF files. I suppose that means that if you want to use RTF sources, before you parse them in IB you must run them through rtf-ascii (or the utility Charles Lloyd and I have been working on, dertf, which is better because it eliminates a bug in rtf-ascii). Thanks for making me check it out. Michael -- Michael_Pizolato@afs.com If you can't control your peanut ~18 kyu butter, how can you expect to Q16 control the rest of your life? NeXTMail appreciated - Calvin
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: Regarding DBKit/DBModule Message-ID: <1993Apr21.151414.6667@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <1r34bj$852@usenet.INS.CWRU.Edu> Date: Wed, 21 Apr 1993 15:14:14 GMT In article <1r34bj$852@usenet.INS.CWRU.Edu> ramesh@bodhi.esys.cwru.edu (Ramesh Dodamani) writes: > > I have multiple instances of DBModule in one of my nib file. What's > happenning is that each of these DBModules create their own instance of > the DBDatabase object,each DBDatabase representing a connection to the > server. With the 5-user sybase-server that I have, the program runs out of > connections and accesses to the server fail. > DBModule does not provide a method to change the database instance > in it, and the 'database' instance is protected. Is there a way to get out > of this? Of course, I could create Instances of DBModule programmatically, > but that would involve lot more work. Any help is appreciated. A DBDatabase object gets created for each model you use. So if you create a new model (with DBModeler.app) that contains all the entities your five DBModules need to use, then they will all share the same DBDatabase object, and only one set of connections will get made. colin
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: Multiple palettes with shared code: how? Message-ID: <1993Apr21.135012.975@afs.com> Sender: jon@afs.com Date: Wed, 21 Apr 1993 13:50:12 GMT I've got this problem, see... I've got a palette, which I want to break into two palettes. Problem is, they both use a couple of .c files. If I have the .c files in both projects and compile, I can only load one palette at a time. Loading the second causes IB to crash. If I take the .c files out of one project, then that palette is dependant upon the other- it won't load unless the other is loaded first. Has anyone encountered this before and found a solution? Confused and perplexed, Jonathan Hendry jon@afs.com
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Re: Why cant malloc() figure out when to quit??? Message-ID: <8296@ucsbcsl.ucsb.edu> Date: 21 Apr 93 17:04:39 GMT References: <93Apr20.163808.32892@acs.ucalgary.ca> Sender: root@ucsbcsl.ucsb.edu Distribution: usa In article <93Apr20.163808.32892@acs.ucalgary.ca> bstone@acs.ucalgary.ca (Blake Stone) writes: ] > /private/vm/swapfile lowat=20971520,hiwat=102400000 # 20 ] > Meg low water mark ] > ] > This **supposedly** will limit the swapfile to 100 Meg. By ] > accident yesterday, I started a process which tried to malloc a ] > pointer to about 180 Meg, and it slowed the machine down to a ] > stop. I had to reboot twice to get the disk properly fsck'd ] > after this. It was obvious that this limit was not in effect. ] ] It takes Mach a LONG time to dynamically extend the swapfile 80 ] megs! Your system would definitely grind for a while before the ] limit was hit. ] ] (Besides, what happens when the limit is hit? System panic? I ] would doubt VERY much that it would kindly shut down ] applications!). ] ] My understanding is that swapfile-limiting is not designed to be ] used except on servers where you don't want to be able to ] actually run out of space and hose everyone else on the network, ] just yourself. :-) Well, the machine I am working on *is* the server--and it is also my "home" machine. More importantly, in answer to your question of what should happen when the limit is hit, I would expect malloc() to return 0, like it does on decent U**X machines where the system knows its limits. My system did not "grind for a while". It shut down entirely--I could not even ping it from the outside, or log in or out, or do an rsh or anything. I waited 2 hours before going into the ROM monitor to restart it (I could not even reboot from the nmi monitor!!). This is *not* acceptable behavior for any multi-user machine. I thought I had left the era of "Sorry, A System Error has Occurred" behind me. There are literally millions of software programs out there which rely on the fact that malloc() will return 0 if memory capacity is exceeded. Is it going to be necessary for me to write an "intelligent" malloc() that returns 0 when the size requested exceeds some arbitrary value? I mean, what does this excerpt from the malloc man page mean? DIAGNOSTICS Malloc, realloc and calloc return a null pointer (0), and set errno to ENOMEM if there is no available memory. Wouldn't asking for 400 Meg of memory on a machine with only 200 Meg of disk space qualify as no available memory? -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: jmartin@next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: PAThumbWheel available on cs.orst.edu Date: 21 Apr 1993 16:28:28 GMT Organization: NeXT, Inc. Message-ID: <1r3snd$1cs@rosie.next.com> Move over NXSlider, there's a new control in town. PAThumbWheel offers the functionality of Slider plus the features that you would expect from a real thumbwheel (including 2 3/4 D Graphics!). PAThumbWheel has a linear display mode and a radial display mode and offers the ability to assign a value to the visible region of the control as well as an absolute value that the ThumbWheel will either ignore, bound to or wrap around. PAThumbWheel can also return relative values via its -relativeIntValue & -relativeFloatValue methods. A snap back option allows mouse loops to start from and return to a base value. 1. ftp cs.orst.edu 2. cd pub/next/submissions 3. get PAThumbWheelPalette.tar.Z ... jeff martin (jmartin@next.com)
From: hubt@css.itd.umich.edu (Hubert Chen) Newsgroups: comp.sys.next.programmer Subject: Looking for paper on why C++ sucks... Date: 21 Apr 1993 20:29:19 GMT Organization: Univ. of Michigan Distribution: world Message-ID: <1r4aqvINNgvd@stimpy.css.itd.umich.edu> I recall a couple of months ago, a long and drawn out discussion of why NeXT chose Objective-C, and later someone cited a paper on why C++ was bad for programming style, or something similar to that. Can somone point me to that article? -- #### hubt@umich.edu -- Hubert Chen -- pgp key on request or via finger #### What's the story, Norm? Boy meets beer. Boy drinks beer. Boy meets another beer.
From: laurent@planon.qc.ca (Laurent Daudelin) Newsgroups: comp.sys.next.programmer Subject: How to convert a palette from NS 2.1 to NS 3.0 (II) Message-ID: <1993Apr21.161509.8905@CAM.ORG!planon> Date: 21 Apr 93 16:15:09 GMT Sender: laurent@CAM.ORG!planon Hi all! Well, I received a lot of help from my precedent posting. However, I think I have to clarify the problem. I converted the palette and built it with PB. The problem is when I try to load the palette into IB. I have the message: "Runtime error: CubicSlider : does not recognize selector -paletteDocument.". Anybody have an answer? Thanks in advance! -- ===================================================== Laurent Daudelin, Planon TELEXPERTISE Programmer Boucherville, Quebec, CANADA EMail: laurent@planon.qc.ca <-- NextMail welcome!
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Hiding appIcon Message-ID: <1993Apr21.175215.18263@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Apr20.183021.3075@gleap.jpunix.com> Date: Wed, 21 Apr 93 17:52:15 GMT In article <1993Apr20.183021.3075@gleap.jpunix.com> clloyd@gleap (Charles C. Lloyd) writes: > I am writing a "service" for WSM. I don't want the app which implements the > service to have an appIcon visible (just to avoid clutter/confusion). > > What is the best way to do this? > > > Other info? > > 1. I have successfully done this with the following line in appDidInit: > > [[NXApp appIcon] moveTo:-100.0 :-100.0]; > > 2. I was unsuccessful with the following line: > > [[NXApp appIcon] orderOut:self]; > > > Under method one (which seems like an acceptable appraoch), the icon does > appear as the app is launching, and then goes away. I think it'd be nice if it > never appeared at all, so if you know if a way to achieve this effect... > > Charles. > --- > Charles Lloyd clloyd@GLeap.jpunix.com > GiantLeap Software (713) 363-0887 > (713) 363-0936 (fax) Instead of .app use .daemon as the suffix to the app wrapper. This is off the top of my head, so take it as a directional hint. -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: otto@coactive.com (otto lind) Newsgroups: comp.sys.next.programmer Subject: Re: Why cant malloc() figure out when to quit??? Date: 21 Apr 1993 07:03:35 GMT Organization: Coactive Aesthetics Inc. Message-ID: <1r2rk7INNl6s@disc.coactive.com> References: <93Apr20.163808.32892@acs.ucalgary.ca> In article <93Apr20.163808.32892@acs.ucalgary.ca> bstone@acs.ucalgary.ca (Blake Stone) writes: > My understanding is that swapfile-limiting is not designed to be > used except on servers where you don't want to be able to > actually run out of space and hose everyone else on the network, > just yourself. :-) That's one thing that I never understood about swapfile implementations. Why can't there be two swap files active on a system? One would handle requests for system related activities, and the other for user processes (the system processes can make a system call to access the "system" swap device). That way you can hack/develop/test applications without worrying about causing a total system failure. You could even extend this to allow multiple programmer defined swap partitions. Are there major design obstacles in this? Otto -- Otto Lind Coactive Aesthetics otto@coactive.com P.O. Box 425967, San Francisco, CA 94142 netcom!coactive!otto voice:(415)626-5152 fax:(415)626-6320
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: AAAAAAAAIIIEEEEE! Message-ID: <1993Apr21.170229.12674@godel.questor.wimsey.bc.ca> Date: Wed, 21 Apr 1993 17:02:29 GMT Sender: aberno@godel.questor.wimsey.bc.ca OK, I'm stuck on a hair-tearing, tears-in-the-eyes bug and it's driving me CRAZY! Here is the code fragment in question: if([self testHit:hitPoint]) return([super handleClick:hitPoint shift:isShifted num:n]); else return NO; I do something in the program that should cause testHit to return yes to the if statement. Using SuperDB, I step through, and sure enough, testHit returns yes. Then, the program acts as if testHit returned NO, and causes control to jump to the else clause. When testHit actually does return NO, it does the opposite and executes the if. What the HELL is going on here? Is this a compiler thing, a debugger thing, or something really obvious that I can't see? Anyway, I'm at a total loss for what to do. -Anthony
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Re: ScrollView problems (STILL!) Message-ID: <1993Apr21.171028.12758@godel.questor.wimsey.bc.ca> Date: Wed, 21 Apr 1993 17:10:28 GMT References: <intrepidC5ssMI.9AH@netcom.com> Sender: aberno@godel.questor.wimsey.bc.ca > I am writing a program on NeXTstep 3.0, in which I have a scrollview > that has a text window in it. I am using Postscript to write text > into the window (I will need to manipulate it later, so that's > why I hesitate to use the setText: method). The problem is that > the scrollview does not seem to do anything, so that when my program > draws off the content view, it is not possible to scroll and see what > I have drawn. Someone recommended I try using the sizeToFit method > but it did not work. Does anyone have any suggestions on how this > problem could be fixed or have had this problem previously and have > a solution for it? Any help would be greatly appreciated. You might not be understanding the nature of DPS - every time you scroll, you have to redraw the exposed area explicitly. If you use some external method to lock focus on the text view, draw in it, and then try to scroll it, whatever you drew in the hidden area will not appear. This is quite different from systems like GKS, where things you draw go into a database - with DPS, you draw something, and all that the system remembers is the dots on the screen. What you have to do, if you *really* must draw in a text object (which I don't reccommend) is subclass the object and override the drawSelf method to include your drawing code. You can call [super drawSelf] either before or after your custom code to draw the text below or above your own drawing. If you don't want the usual Text object's text to be drawn at all, you should be inheriting from View. Actually, now that I think about it, you should inherit from View anyway, and use a Text object within the view to carry out any Text functionality. Hope this helps. -Anthony
From: ramesh@bodhi.esys.cwru.edu (Ramesh Dodamani) Newsgroups: comp.sys.next.programmer Subject: Re: Regarding DBKit/DBModule Date: 21 Apr 1993 22:27:43 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1r4hov$ms5@usenet.INS.CWRU.Edu> References: <1993Apr21.151414.6667@midway.uchicago.edu> > > > > I have multiple instances of DBModule in one of my nib file. What's > > happenning is that each of these DBModules create their own instance of > > the DBDatabase object,each DBDatabase representing a connection to the > > server. With the 5-user sybase-server that I have, the program runs out > of > > connections and accesses to the server fail. > > DBModule does not provide a method to change the database instance > > in it, and the 'database' instance is protected. Is there a way to get > out > > of this? Of course, I could create Instances of DBModule > programmatically, > > but that would involve lot more work. Any help is appreciated. > > A DBDatabase object gets created for each model you use. So if you create > a new model (with DBModeler.app) that contains all the entities your five > DBModules need to use, then they will all share the same DBDatabase > object, and only one set of connections will get made. > > colin Yup. You are right. I just checked. I thought that the processes displayed in the output of the sp_who command in isql, each represented a separate connection. I would appreciate if you can clarify this. Ramesh
From: simon1@bass.bu.edu (Simon Streltsov) Newsgroups: comp.sys.next.programmer Subject: C++ parser - gcc Message-ID: <116380@bu.edu> Date: 21 Apr 93 23:06:37 GMT References: <1993Apr8.131043.80156@embl-heidelberg.de> <1993Apr8.194812.12780@fnbc.com> Sender: news@bu.edu Followup-To: comp.sys.next.programmer Organization: Boston University Hi ! Where can I get GNU c++ source code ? Or any other public domain C++ front end if such exist. Thanks a lot.
From: pkron@corona.com (Peter Kron) Newsgroups: comp.sys.next.programmer Subject: Re: Killing Threads Message-ID: <57.UUL1.3#16216@corona.com> Date: Wed, 21 Apr 93 07:44:41 PDT References: <1r1cmm$co@rosie.next.com> Organization: Corona Design, Inc., Seattle, WA > From: Kathy_Walrath@NeXT.COM (Kathy Walrath) > Message-ID: <1r1cmm$co@rosie.next.com> > References: <C5Lo0G.1wt@news.otago.ac.nz> > > The only safe way to kill a C thread is to have it kill itself with > cthread_exit(). Using thread_*() functions to kill C threads is very dangerous > because the C threads package keeps extra information that the thread package > doesn't know about. This causes problems with the execution of other threads > in the task. > > You could have the C thread check a condition variable occasionally, and kill > itself when the condition variable says to. If the target thread is doing something simple, the poll is not a problem. However, as the target thread gets more complex, it tends to need to poll in more places to address the tradeoff between polling overhead and responsiveness. It gets uglier and harder to maintain. One of the advantages of true multi-threading is the ability to work asynchronously *without* having to resort to polling code such as this. A much cleaner approach would be to support killing the thread from a master thread, resulting in a signal that the target thread could use to do cleanup. I don't know why this isn't supported, although similar problems exist with other multi-thread OS's. --------------- Peter Kron P.O. Box 51022 Corona Design, Inc. Seattle, WA 98115-1022 Peter_Kron@corona.com
Newsgroups: comp.sys.next.programmer From: mhenry@zeus.UWaterloo.ca (Mark Henry) Subject: finding values of instance variables that belong to other applications... how? Message-ID: <C5v01p.2qu@watserv1.uwaterloo.ca> Sender: news@watserv1.uwaterloo.ca Organization: University of Waterloo Date: Thu, 22 Apr 1993 00:29:49 GMT Hi, I am trying to find a way to determine the DPSContext for a given instance of an application. This is defined as an instance variable and corresponding access function in /NextDeveloper/Headers/appkit/application.h: @interface Application : Responder { DPSContext context; } - (DPSContext)context; Looking at the AppInspector application (from /NextDeveloper/Apps on 2.0 systems), I noticed that it allows one to easily browse instance variables of running applications. So I know that it is possible to get access to that data. Anyone have any thoughts on how this is done? Regards, Mark Henry Department of Systems Design Engineeering mhenry@zeus.uwaterloo.ca [NeXTmail] NeXT Campus Consultant, University of Waterloo Waterloo, Ontario, Canada
From: adunn@fnalnb.fnal.gov Newsgroups: comp.sys.next.programmer Subject: systemLanguages Date: 21 Apr 93 19:55:14 -0600 Organization: Fermi National Accelerator Lab Message-ID: <1993Apr21.195514.1@fnalnb.fnal.gov> A stupid question: When I call [NXApp systemLanguages], I get a list of the user's language preferences: English, German, etc. Are the strings the same in all versions? For example, in a system running in Paris, will the option I get back say "French" or "Francais" ? Thanks, _andy dunn_ grad slave physics dept. U of Michigan
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Regarding DBKit/DBModule Date: Wed, 21 Apr 1993 22:18:08 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <sfpU1Uy00WA7AZWUxZ@andrew.cmu.edu> In-Reply-To: <1993Apr21.151414.6667@midway.uchicago.edu> Excerpts from netnews.comp.sys.next.programmer: 21-Apr-93 Re: Regarding DBKit/DBModule by & Garrett@agincourt.bsd. > In article <1r34bj$852@usenet.INS.CWRU.Edu> ramesh@bodhi.esys.cwru.edu > (Ramesh Dodamani) writes: > > > > I have multiple instances of DBModule in one of my nib file. What's > > happenning is that each of these DBModules create their own instance of > > the DBDatabase object,each DBDatabase representing a connection to the > > server. With the 5-user sybase-server that I have, the program runs out > > of connections and accesses to the server fail. > > DBModule does not provide a method to change the database instance > > in it, and the 'database' instance is protected. Is there a way to get > > out of this? Of course, I could create Instances of DBModule > > programmatically, but that would involve lot more work. Any help is > > appreciated. > > A DBDatabase object gets created for each model you use. So if you create > a new model (with DBModeler.app) that contains all the entities your five > DBModules need to use, then they will all share the same DBDatabase > object, and only one set of connections will get made. Ahhhh, no. While you will have only one DBDatabase object for each DBModeler.app file, your problems won't go away... The problem seems to lie in having multiple contexts with the underlying database. From my personal experiences, it seems to be roughly one context for each DBModule... (Which nicely goes away if you only use one DBModule... ;-) A possible solution was previously posted to the net. I haven't needed to try it yet, but you might want to.... -David. ---------------<@begin previous.post> ----------------------- From: bungi@stein.u.washington.edu (Timothy J. Wood) Newsgroups: comp.sys.next.programmer Subject: Re: dbkit and sybase server connections Date: 28 Dec 92 23:13:58 GMT Organization: University of Washington estrin!kswanson (Kevin Swanson) writes: >I'm working on an application that uses dbkit along with sybase. >I've come across the problem that my application makes two and sometimes >three connections to the sybase server, when it really should only need >a single connection. >Has anyone who has worked with dbkit experienced any problems like this? Yes, actually. The problem is that DBBinder defaults to use non-shared context (this is where the connection is stored) when you really want it to share the context. You can set the context sharing with [aBinder setSharesContext: flag]; What I did to get around this problem was to impelement a subclass of DBBinder called SharedBinder that goes something like: #import <dbkit/dbkit.h> @interface SharedBinder : DBBinder { } - init; - setSharesContext: (BOOL) flag @end @implementation SharedBinder - init { return [[super init] setSharesContext: YES]; } - setSharesContext: (BOOL) flag { return [super setSharesContext: YES]; } @end To get this to effect the binders that DBKit sets up for you, you will have to do a: [SharedBinder poseAs: [DBBinder class]]; before they are allocated. The best place is probably in you *_main.m file or in your appWillInit: method. You will want to note that sharing context with other DBBinders disables flushing. I haven't experienced any problems with this, but depending upon what you are doing, you might. >thanks, >kevin >kswanson@rdr.com Timothy J. Wood The Omni Group DBKit Consulting ---------------<@end previous.post> -----------------------
Newsgroups: comp.sys.next.programmer From: kgnome@cs.concordia.ca (MATIS stephane) Subject: GNU Smalltalk 1.1.1 Binaries sought Message-ID: <C5v5uy.HM1@newsflash.concordia.ca> Sender: usenet@newsflash.concordia.ca (USENET News System) Organization: Computer Science, Concordia University, Montreal, Quebec Date: Thu, 22 Apr 1993 02:35:21 GMT Hello Folks! I'm looking for a set of GNU Smalltalk Binaries that run under 3.0, but certainlly weren't compiled under 3.0, as it seems to be impossible. My two attemptes failed, and according to gnu.smalltalk.bug, that's the general gist of it. So please, could a good samaritan upload to cs.orst.edu or sonnata a set of binaries for Smalltalk. I'm learning the language through the Smalltalk tuorial, and have been very taken by it. I like the ploding methodology ... after I'm done with this, I may finally get time to finish my Garfinkel&Mahoney book and code in ObjC. In the meantime, I'll keep using my DGUX compiled edition, which "seems" to work ok ... ( I'm having a strange bug related to a tutorial example) +---------------------------------+ ___ ___ ___ | Stephane I. Matis | / \_BATLLETECH /\__\ Viva NeXT! | E-Mail : kgnome@cs.concordia.ca | \___/ \___/ \/__/ NeXTSTEP 3.0! | "It Just Works..." - Steve Jobs | \___/ +---------------------------------+ Wolfnet Operative & NeXThead
From: jayk@wpsun4.UUCP (Jay Kint) Newsgroups: comp.sys.next.programmer Subject: oneway msg summary Summary: oneway message reply summary Message-ID: <800@wpsun4.UUCP> Date: 21 Apr 93 21:42:52 GMT Organization: WordPerfect Corporation, Orem UT Many thanx to those who replied to my message concerning oneway messages. The real answer came from two individuals, Robert Nicholson and Dave Griffiths who both suggested the following: @protocol Way - (oneway) func1; @end then: @interface blah: Object <Way> ... @end which means that oneway messages (and bycopy apparently) may only be applied to messages defined in protocols. Many thanx to their and all the responses received. jay wpsun4!jayk@uunet.uu.net
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: weird bug with "Collector" class Message-ID: <C5vCqq.Fpw@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <1qvmfe$22t@rosie.next.com> Date: Thu, 22 Apr 1993 05:04:02 GMT In article <1qvmfe$22t@rosie.next.com>, Ali_Ozer@NeXT.com (Ali Ozer) writes: > > This class naming stuff could be real voodoo except all > public and private API in NEXTSTEP does stick to the > strict naming conventions (such as using the "NX" or the > few other prefixes on almost everything, and using the > "_" prefix on private methods). There's still potential > for problems when we do a new release, but the chances are > much less, and we do have the beta period to catch any > problems with binary incompatibility! I recently experienced an ObjC class name conflict that caused me a bit a of frustration. This contradicts the statement: "all public and private API in NEXTSTEP does stick to strict naming conventions". The classes defined in the 3DKit appear to be: % nm /usr/shlib/libMedia_s.A.shlib | perl -ne \ 'print "$1\n" if /A .objc_class_name_(.*)/' N3DCamera N3DContextManager N3DLight N3DMovieCamera N3DRIBImageRep N3DRenderPanel N3DRotator N3DShader N3DShape NXLiveVideoView RenderClient Server ServerList % Notice that the last three are undocumented. I tried to compile an application which included a class named "Server" and experienced some bizzare sort of runtime error. On a related note, why, oh why, does Project Builder's Application template include libMedia_s.a in PB.project? I'd guess that 99% of Apps written do not use the 3DKit classes, so why include it in the template project? If the lib for 3DKit is included, why not include libdbkit.a, libIndexing.a, etc? Are there classes or functions in libMedia that the generic "AppKit" depends on? Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Compiling NS3.0 gdb Message-ID: <C5vDF2.Ft2@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. Date: Thu, 22 Apr 1993 05:18:37 GMT I'm having trouble compiling gdb 3.95 (the one shipped on BANG's "Sex, Lies, and CD-ROM") on a 'station running NeXTSTEP 3.0. My only stumbing blocks are missing header files, specifically: <mach-o/rld_state.h> (referenced in loadSymbols.m) <objc/maptable.h> (referenced in objc.m) I've searched /NextDeveloper/Headers for the definitions needed in these headers, but I can't find them anywhere. I also searched a 2.1 /usr/include tree to no avail. Does anyone have these header files? All the supporting code seems to be in the shared libs, but I don't have the headers to get these to compile. (Actually, I think I can get around the maptable stuff, but it would be nice to get the header for it anyway.) Email to the apparent author of NeXT's changes to gdb, Dave_Moore@next.com, yielded but a read receipt, so I'm hoping someone on the Net has solved this problem. Cheers, Bob
Newsgroups: comp.sys.next.programmer From: rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu Subject: Re: NeXTSTEP bugs, Conrad Geiger, 3.1 Message-ID: <9304220738.AA03567@flexus> Sender: daemon@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Thu, 22 Apr 1993 07:38:36 GMT LS, Re: Munch 1. Of the bugs it knows about, NeXT cures only the ones it ``likes'' or comes around to. It's nice to know *they* know, but if the only way for *us* to get to know about them is stumbling over them and trying to find out all over again each individually, or paying big to Ask_NeXT, making a public collection is really doing their job for them. I like to think *some* have liked this collection. How about a show of hands to my address, to cheer me up? Tone: guilty. I guess I'm on some black list anyway. Re: Munch 2. I guess it doesn't count that this is just riding piggyback on item 1... Oh, well, let the bytes come. Re: Munch 3. License agreement: I'm talking about the cost of 3.1, not about the lost working time and stuff resulting from NS_3.0's crashes and bug hunting, and it is not very nice to let us pay for something we will pretty much *have* to buy. This is like saying: don't buy X.0 from us, stupid, wait till X.1. Mission Critical: They didn't tell us their goal was to become a niche product for the big guys. What's a student going to do with that? Eternal promise: First, I don't know Microsoft's world (getting ridiculed about it too), so you can't accuse me of preferring them (maybe it's because this is my first real OS that I see only the bad sides, no matter how much worse the rest is (?)). Anyway, a fair lot I can do with NeXTSTEP, if no one else uses it (``What, are you still going on about *that*? Stop playing, here's some Aida-Masai I want you to do. All this integrated PostScript and what-is-it nonsense. X is the standard, and this Steve Jobs thing is never going to amount to anything anyway.''), even if it is the least bad thing around. Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium Professional Optimist :-) (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at'' Nederlands, English, Francais, Deutsch a.o.
Newsgroups: comp.sys.next.programmer From: moose@antilles.nosc.mil (James B. Moosmann) Subject: MoosePalette(color buttons!?) available on cs.orst.edu (RTF Post) Message-ID: <1993Apr22.102334.10472@nrao.edu> Sender: news@nrao.edu Organization: National Radio Astronomy Observatory Date: Thu, 22 Apr 1993 10:23:34 GMT Well, Here is something different. Steve Jobs is going to have my skin flayed from my body for this one, COLOR BUTTONS! I downloaded a palette to cs.orst.edu pub/next/sumissions/3.0MoosePalette.compressed. It is free and I hope you find it useful. It was done to prove to me how easy(relative term) it is to modify the behavior of some of the stock objects in appkit. Our instructor was Chris Walters...(NeXT Guru) He did it during our in-class exercises. Chants of "We're not worthy" were heard to eminate from our class by the time Chris wrapped up our training session... He blinked his eye and cranked this palette out. The palette has 4 color wells in its inspector that let you specify the color of the button and text when the button is 1 or 0. You can't drag/drop a sound or do everything the regular button can do, but hey, what do you want for free. Seriously, I will try to add some more functionality to it later. Have fun with it. CIAO. James "moose" Moosmann moose@antilles.nosc.mil I hope no one minded the RTF, it gets so boring in this group sometimes... BTW, I tried downloading this to sonata and nova, but kept getting a broken pipe...if someone would be so kind as to dump it to their sites I would appreciate it. -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I[7'!A<F1<='@Q,34R7'1X,C,P-%QT>#,T-39< M='@T-C`X7'1X-3<V,%QT>#8Y,3)<='@X,#8T7'1X.3(Q-EQT>#$P,S8X7'1X M,3$U,C!<9C!<8C!<:3!<=6QN;VYE7&9S,C1<9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&1U M;7`@:70@=&\@=&AE:7(@<VET97,@22!W;W5L9"!A<'!R96-I871E(&ET+@I] !"G`@ `
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: AAAAAAAAIIIEEEEE! now solved. Message-ID: <1993Apr22.072124.479@godel.questor.wimsey.bc.ca> Date: Thu, 22 Apr 1993 07:21:24 GMT References: <1993Apr21.170229.12674@godel.questor.wimsey.bc.ca> Sender: aberno@godel.questor.wimsey.bc.ca Duuuuh! Boy am I dumb. Listen everyone: when debugging, don't use the -O flag. I'm pretty sure that optimization is the problem. Thanks to all those who gave suggestions. Now I have to figure out how to disable that flag... I wonder why Project Builder compiles with both -g and -O? -Anthony
From: support@gateway.vvi.com (support at VVI) Newsgroups: comp.sys.next.programmer Subject: Re: weird bug with "Collector" class Date: 22 Apr 1993 13:05:48 GMT Organization: VVimaging, Inc. Message-ID: <1r657c$k2u@gateway.vvi.com> References: <C5vCqq.Fpw@pdh.com> I agree that naming classes may be a problem. In fact, naming in general in c is based on convention and is not forced by the language. Combined with a "weak" linker this can cause problems. In our libraries all of our Objective-C and c++ classes and categories begin with VV%* where % is capitalized. The Objective-C methods and instance variables begin with VV%* where % is lower case. This may seem like overkill, but it has saved us grief. Especially when adding another library to the ld statement. Kindly, Ed In article <C5vCqq.Fpw@pdh.com> Bob_Vadnais@pdh.com (Bob Vadnais) writes: > In article <1qvmfe$22t@rosie.next.com>, > Ali_Ozer@NeXT.com (Ali Ozer) writes: > > .. > > Cheers, > Bob > --
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Hiding appIcon Message-ID: <1993Apr22.022415.1242@gleap.jpunix.com> Date: Thu, 22 Apr 1993 02:24:15 GMT References: <1993Apr21.175215.18263@fnbc.com> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Drew Davidson writes >In article <1993Apr20.183021.3075@gleap.jpunix.com> clloyd@gleap (Charles C. >Lloyd) writes: >> I am writing a "service" for WSM. I don't want the app which implements the >> service to have an appIcon visible (just to avoid clutter/confusion). > >Instead of .app use .daemon as the suffix to the app wrapper. This is off the >top of my head, so take it as a directional hint. >-- Several people have responded in email with this very suggestion. I actually tried this before I posted to no avail. Apparently, this undocumented 2.0 feature went away with 3.0. I'm still looking for suggesetions if anyone has any. Also, I'm kind of curious as to wht orderOut: didn't work at all for the appIcon window. Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: mrb@earth.wustl.edu (Mike Bray) Subject: Re: NeXTSTEP bugs, Conrad Geiger, 3.1 Message-ID: <1993Apr22.000440.6878@wuecl.wustl.edu> Sender: usenet@wuecl.wustl.edu (News Administrator) Organization: Washington University, St. Louis MO References: <9304210215.AA05053@flexus> <1993Apr21.055557.6864@digifix!uunet.ca> Date: Thu, 22 Apr 1993 00:04:40 GMT In article <1993Apr21.055557.6864@digifix!uunet.ca> sanguish@digifix.com writes: >rfschtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu writes >> LS, >> >[munch drivel about him doing Next's job by maintaining a bug list] > > If the bugs have been reported to Next in the correct fashion >(bugs@next.com or some such address) then Next will have them already databased >and are aware of them. Someone please tell me how I can access this information without paying NeXT $225 per call or $5000 per year. A bug list isn't much good if you can't access it. Mike Bray mrb@earth.wustl.edu
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: Re: AAAAAAAAIIIEEEEE! now solved. Date: 22 Apr 1993 15:54:26 GMT Organization: The Aerospace Corporation Message-ID: <1r6f3iINN2cb@news.aero.org> References: <1993Apr21.170229.12674@godel.questor.wimsey.bc.ca> <1993Apr22.072124.479@godel.questor.wimsey.bc.ca> In article <1993Apr22.072124.479@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca writes: > >Listen everyone: when debugging, don't use the -O flag. I'm pretty sure >that optimization is the problem. > >Now I have to figure out how to disable that flag... I wonder why Project >Builder compiles with both -g and -O? I wish this were better documented, I've commented on it to many people. Project builder allows you to "make debug" by adding the the word debug to the args in the Builder section. You can also do this in your preferences. This causes your application to be compiled into name.debug instead of name.app, but it also turns off optimization and makes debugging much easier. For reference, the application is probably doing the right thing with your code even though the debugger looks funny. Optimizers often remove uneeded variables and may even rearrange statments if they don't change the effect of the code. Doing that makes it very tough for the debugger to follow what's going on. That's probably what happened to you. Optimization can be a big win when you are finally ready to run your program, but since it makes compiling take longer and makes it harder to debug I don't bother with it until I'm almost done with a project. Notice that I said "almost done" always test your code after turning on optimization. The compiler hardly ever messes anything up with optimization (in fact it sometimes finds bugs, because the warning issued while optimization is on are better than those when it is off) but you do want to be sure and you want to make sure that none of your bugs are unearthed by the changes that optimizing makes to the code. Daryll Strauss f The Aerospace Corp. Work: strauss@aero.org n Mail Stop: M1-176 Home: daryll@harlot.rb.ca.us o P.O. Box 92957 NeXTMail OK r Los Angeles, Ca. 90009 "It's my reality and I'll warp it if I want to!" d
Newsgroups: comp.sys.next.programmer From: oops!kjell Subject: RDB Adapter Message-ID: <1993Apr22.164047.10120@oops.se> Sender: root@oops.se (Operator) Date: Thu, 22 Apr 1993 16:40:47 GMT
Newsgroups: comp.sys.next.programmer From: kjell@oops (Kjell Nilsson) Subject: RDB adapter Message-ID: <1993Apr22.152151.9470@oops.se> Sender: kjell@oops.se Date: Thu, 22 Apr 1993 15:21:51 GMT Can somebody tell me if there is an RDB DBKit adapter from some 3party <bow> Kjell Nilsson OOPS
Newsgroups: comp.sys.next.programmer From: droux@hei.unige.ch Subject: MLAbort problem (with Mathematica on NeXT) Message-ID: <1993Apr22.174935.1@hei.unige.ch> Sender: usenet@news.unige.ch Organization: University of Geneva, Switzerland Date: Thu, 22 Apr 1993 15:49:35 GMT I'm actually developing a system that uses the MathLink communication protocol to connect Mathematica running on a NeXT computer with external programs. When the Mathematica user aborts a running calculation, the external program must detect this event. Referring to the Wolfram's official documentation (MathLink Reference Guide), the external program must be able to detect this event by checking the global variable MLAbort periodically. MLAbort is declared in the include file mathlink.h but seems to not be defined in the MathLink library. The linker cannot find this symbol, although I use the Wolfram's mcc script to compile and link the whole thing. Note that the program contains other MathLink symbols (such as MLOpen) that does not cause any problem and that I can successfully compile and link other apps that use MathLink. Is there an error in the MathLink library ? Or in the documentation ? Or in the mathlink.h include file ? Note that I'm using Mathematica 2.1 for NeXT. Nicolas Droux Engineering College of Biel Computer Science Dpt. Switzerland
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: vrr@cbnewsj.cb.att.com (veenu.r.rashid) Subject: Help! crashing multiple plot views Organization: AT&T Date: Thu, 22 Apr 1993 16:10:13 GMT Message-ID: <C5w7L4.AzE@cbnewsj.cb.att.com> Followup-To: poster Keywords: NXYView, multiple views, crash I'm trying to build a time-based simulation using multiple views to draw the graph at different steps of time. However, if I use more than one view, the program crashes. I'm using NXYView palette (off of the monoLib CD) and I've had no problem using this with one and three views. Currently I'm doing 9, and the program crashes after 8 views have been refreshed. I changed the code to comment out the last view (the 9th one), thinking ok, it'll crash after the 8th one now. Instead, the program crashes after the _second_ one now... This makes me think it's a NS memory problem. What is the proper procedure to allocate enough memory for multiple views? In this case, they are all delegated to one object, with separate controller instances. Please email me if you can help or have any suggestions. Thanks very much, Veenu
Newsgroups: comp.sys.next.programmer From: Doug_Smith@Novell.COM (J. Douglas Smith) Subject: C++ Compiler Message-ID: <C5wAtI.J0K@Novell.COM> Sender: usenet@Novell.COM (Usenet News) Organization: Novell, Inc. Date: Thu, 22 Apr 1993 17:20:06 GMT Does anyone know what version of the AT&T spec the NeXT C++ compiler implements? It doesn't appear to be the one release around Feb 1990 (2.1 ???). Is there a port of the AT&T 3.0 spec with templates? -- Doug Smith Internet: jdsmith@novell.com Novell, INC. Phone: (801) 429-7324 UNIX Desktop Group
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: AAAAAAAAIIIEEEEE! - followup Message-ID: <1993Apr22.170241.1416@godel.questor.wimsey.bc.ca> Date: Thu, 22 Apr 1993 17:02:41 GMT References: <1993Apr22.072124.479@godel.questor.wimsey.bc.ca> Sender: aberno@godel.questor.wimsey.bc.ca In article <1993Apr22.072124.479@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca (Me!) writes: > > Listen everyone: when debugging, don't use the -O flag. I'm pretty sure > that optimization is the problem. > > Now I have to figure out how to disable that flag... I wonder why Project > Builder compiles with both -g and -O? Again, obvious: pass the "debug" flag to make. (Just type it in the flags field in Project Builder.) I can't believe I've been programming this beast for a year now, and I didn't know that. Duuuuhhh... ;-) But still, compiling with both -g and -O seems a bit dumb to me. Oh well. It seems that others have been having this problem, so now we all know what to do. -Anthony
From: parod@baris.acns.nwu.edu (Bill Parod) Newsgroups: comp.sys.next.programmer Subject: dragImage: in mouseDown - Must? Date: 22 Apr 1993 18:15:25 GMT Organization: Northwestern University, Evanston, IL USA Message-ID: <1r6nbt$h21@news2.acns.nwu.edu> I noticed that the documentation for View's dragImage::... method states "This method only makes sense when invoked from within an implementation of the mouseDown: method." Is this right? I've been invoking it from a Button's action method to begin a drag of the button. This seems to work. Am I asking for trouble? Why should one category or subclass Button for the sole purpose of doing the dragImage from within it's mouseDown:? Any ideas are appreciated. Anyone else instigate a drag outside of mouseDown:? Thanks, -- Bill Parod 627 Dartmouth Place, Evanston, IL 60208 Northwestern University bill-parod@nwu.edu (NeXTmail ok) Academic Computing & Network Services phone: (708) 491-5368 Advanced Technology Group fax: (708) 467-1786
Newsgroups: comp.sys.next.programmer From: jaime@afs.com Subject: Re: Debating rtf source code Message-ID: <1993Apr22.162322.433@afs.com> Sender: jaime@afs.com References: <1993Apr18.230004.21998@atg.wiltel.com> Date: Thu, 22 Apr 1993 16:23:22 GMT In article <1993Apr18.230004.21998@atg.wiltel.com> rking@atg (Richard King) writes: | This is to solicit opinions on an issue that has seen hot debate at a large | development shop (approx. 35 or so developers). The issue is the use of | Rich Text Format source (as opposed to straight ascii). | ... The most compelling "Pro" argument to supporting RTF would be in conjunction with a further modified preprocessor that would separate code from documentation, (code perhaps indicated with a certain fixed pitch typeface), allowing a variation on Donald Knuth's WEB system. WEB is a language for composing source code and documentation in the same files, so that the authors of some code are also authors of the documentation. The benefit can be explained by quoting from Andrew Shulman's review of Knuth's book _Literate Programming_: "...[Web] allows you to construct and present the source in an order which makes 'psychological' sense. Using such a system, software 'authors' really do become *authors*, concerned with writing and presenting code in such a way that makes sense, not so much to the compiler, but to the reader." NeXT, of course, is one of the few platforms where implementing such a system is possible today by slight modification of a few tools (compiler, debugger, IB). References: 1. _Literate Programming_, Donald E. Knuth, 1992, ISBN 0-937-07380-6 2. _Weaving a Program- Literate Programming in WEB_, Wayne Sewell, 1989, ISBN 0-442-31946-0 3. (Review of 1), Dr. Dobb's Journal, Aug 1992, p 157. -- Jaime F. Guerrero "How well do we use Anderson Financial Systems, Inc. The freedom to choose Springhouse, PA, USA The illusions we create?" jaime_guerrero@afs.com [NeXTmail receptive] -Timbuk 3
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Proc su to some user Message-ID: <1993Apr23.055902.894@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group - Makers of UUCP-EZ & I'm On Vacation. Date: Fri, 23 Apr 1993 05:59:02 GMT I want my app to issue an su command similar to crontab.local ie su dave '/dave/app/something' The original user (the person that launched the app) should only have daves uid for this brief moment. Any help is appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Installing Apps Permission Question Message-ID: <1993Apr23.061220.1078@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group - Makers of UUCP-EZ & I'm On Vacation. Date: Fri, 23 Apr 1993 06:12:20 GMT If permissions are VERY important, what is the best way to guarantee them if using the NeXT supplied installer? Should I use a package.post_install to make sure everything is chowned after installation? Any help is appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: andy@research.canon.oz.au (Andy Newman) Subject: Re: NeXTSTEP bugs, Conrad Geiger, 3.1 Message-ID: <C5wrpp.LJD@research.canon.oz.au> Sender: news@research.canon.oz.au Organization: Canon Information Systems Research Australia References: <9304210215.AA05053@flexus> <1993Apr21.055557.6864@digifix!uunet.ca> Date: Thu, 22 Apr 1993 23:25:00 GMT sanguish@digifix.com writes: > > If the bugs have been reported to Next in the correct fashion >(bugs@next.com or some such address) then Next will have them already databased >and are aware of them. Yes they may be aware of them so why don't they fix them? Some bugs just don't get fixed. Other bugs that are quite nasty (e.g. make the machine completely inscure) don't get fixed fast enough. >- Scott Anguish - >sanguish@digifix.com (NextMail) > -- Andy Newman (andy@research.canon.oz.au) "gentle suggestions being those which are written on rocks of less than 5lbs" Tracy Nelson in comp.lang.c
Newsgroups: comp.sys.next.programmer From: alberto@parsec.mixcom.com (Manuel Alberto Ricart) Subject: Distributed Objects and the Network Name Server Message-ID: <1993Apr22.171924.1951@parsec.mixcom.com> Sender: alberto@parsec.mixcom.com Organization: SmartSoft, Inc. Date: Thu, 22 Apr 1993 17:19:24 GMT NetLand, I am using Distributed objects and was wondering what the effect of a call like this is - Is it searching the Internet for a name myCoolObject? [NXConnection connectToName:myCoolObject onHost:"*"] What I want to do is to register my object with the root domain. And DEFINETLY do not wish to seach the internet for this.... -- Manuel Alberto Ricart alberto@parsec.mixcom.com <NeXTMail Welcome>
Newsgroups: comp.sys.next.programmer From: becker@informatik.uni-hamburg.de (Ulrich Becker) Subject: Using the linker to make your own (non-shared) lib's Message-ID: <C5xI2w.9E7@informatik.uni-hamburg.de> Sender: news@informatik.uni-hamburg.de (Mr. News) Organization: University of Hamburg, Germany Date: Fri, 23 Apr 1993 08:54:31 GMT Hi, In the course of making palettes I now have learned how to create my own libs with ar and ranlib. Then I heard it would be better to use the linker to do the job because then the references within the lib would already be resolved at lib-make-time instead of at application-link-time as it is now. Can anyone tell me how to do this? I shall summarize. Ulrich Becker, becker@informatik.uni-hamburg.de
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: Header organization for large projects Message-ID: <C5xHAv.2C7@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <1993Apr22.204003.1754@godel.questor.wimsey.bc.ca> Date: Fri, 23 Apr 1993 08:37:40 GMT In article <1993Apr22.204003.1754@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca (Anthony Berno) writes: > > Including the big header file in each header does not > work, because when every other header is implicitly > imported, the compiler complains that it doesn't know > about the types in _that_ header, et cetra. > > Ugh! It makes my head spin. So I need some suggestions on > how to organize my header files when static typing is > being used. I believe the @class compiler directive introduced in 3.0 will solve this problem nicely. > (Is static typing really such a good idea after all?) Depends on your religion. 8-) There's a price to pay, but the benefits might be worth it to you, *especially* if you're working on a large project. You also might consider using protocols to add more compile time checking of messaging. Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
Newsgroups: comp.sys.next.programmer From: villy@hatch.socal.com (Will Hartung) Subject: Views and Subviews (Part ][) Message-ID: <C5xAo6.5o4@hatch.socal.com> Organization: Hatch Usenet and E-mail. Playa del Rey, CA Date: Fri, 23 Apr 1993 06:14:24 GMT This is a little followup to a previous post regarding scrolling and subviews. I've got a BigView in a ScrollView, and the BigView has some subviews. In Concepts, Views and Subviews display back to front. But, when you scroll, it copies what it can and then draws the rest. So, what happens is that since the BigView changes, it gets a display message, yet the subview, which merely moved, doesn't get the display message. Unfortunately, it doesn't seem that subviews clip against their superviews, so a handy EraseRect(&bounds) in the superview conveniently blows away any subviews that didn't get "displayed" because of the scroll. So, what's the hot tip? Is the superview supposed to iterate through its subviews and build a clippath whenever it displays so it doesn't obliterate them, or should I be looking at the setCopyOnScroll method (but that seems a little harsh). I guess that for some reason I assumed that the Appkit automagically did all of this for me, but after watching it play with the subviews in my little program and RTFMing some more of Concepts, it's pretty clear it doesn't. Thanx for any info... Will (me@zipbang.socal.com)
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.hardware Subject: HP LaserJet 4M Problem with NeXT Calibrated Color Date: 23 Apr 1993 12:25:12 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1r8n78$mvg@agate.berkeley.edu> References: <1qvlm6$22l@rosie.next.com> In article <1qvlm6$22l@rosie.next.com> Ali_Ozer@NeXT.com (Ali Ozer) writes: >Another option is to use the >NXColorCalibrateLevelOneOps default to turn of color calibration of "old" >operators such as setrgbcolor from your application: > > dwrite appname NXColorCalibrateLevelOneOps NO > >Note that this forced color calibration is only done on EPS files. If your >application itself generates "setrgbcolor," it's left uncalibrated. I am having a related problem with printing on HP LaserJet 4M 600 dpi (with PS), and I have determined that this problem has to do with color calibration. The simptom is that all gray value >= 0.84 becomes completely white and there is no gradation for gray values in the range 0.84 - 1.0. This only happens with HP LaserJet 4 (with PS SIMM). Exactly the same file printed on NeXT 400dpi laser printer shows good shades of grays for all values (0 - 1). This obviously messes up my density plots (light gray becomes complete white). I am NOT importing any EPS files. All the PS code is generated solely by my application and AppKit (printPackage.ps). So, Ali's suggestion of doing the above dwrite doesn't work for me. I do not understand exactly where the calibration takes place (inside the printer or in the PS code), but obviously, somewhere, the Gray level calibration is screwed! Is this HP's problem or NeXT's PS problem?? Has anybody seen this problem? Any fix? -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.lang.postscript From: russ@psych.toronto.edu (Russell Sutherland) Subject: Converting from PS to EPSI using DPS Message-ID: <1993Apr23.123037.14338@psych.toronto.edu> Keywords: DPS,EPSI Organization: Department of Psychology, University of Toronto Date: Fri, 23 Apr 1993 12:25:50 GMT Has someone written a filter that takes hand crafted PS code and using DPS as a imaging agent generates a corresponding EPSI file? Doug Craybill's "pstoepsi" works quite nicely but only with Ghostscript and NeWS. Basically is there an easy way to get the bitmap of the image generated by DPS from some arbitrary PS code? Of course BoundingBox info would also be nice. -- Russell Sutherland Bell: (416)-978-5140 Office of the Faculty Registrar Uucp: ...utzoo!utas!russ Faculty of Arts and Science Internet: russ@artsci.utoronto.ca
Newsgroups: comp.sys.next.programmer,comp.unix.wizards From: sxupjd@anubis (Philip J DiFalco) Subject: enum types Message-ID: <1993Apr23.115517.17918@almserv.uucp> Sender: usenet@almserv.uucp Organization: Fannie Mae Date: Fri, 23 Apr 1993 11:55:17 GMT For the following an enumerated type: typedef enum {x1=1,x5=5,x9=9,xx=6,xy=11} xType; How can I determine the number of elements that belong to xType? -- email: sxupjd@fnma.com (NeXT Mail Okay) Philip DiFalco, Programmer Analyst, Advanced Technology FannieMae, 3900 Wisconsin Ave NW, Washington, DC 22016 (202)752-2812
From: cpesch@markov.fmi.uni-passau.de (Christoph Pesch) Newsgroups: comp.sys.next.programmer Subject: scrollview-position-question Date: 23 Apr 93 18:15:48 Organization: University of Passau, Germany Message-ID: <CPESCH.93Apr23181548@markov.fmi.uni-passau.de> Hi! Maybe someone can help me: I placed two scrollviews in a window. Each one contains an object of the class MyMatrix which is a subclass of Matrix. I can change the size of the matrices with two sliders. The number of rows is equal for both matrices but the second matrix has only one column. What I want to do is this: If I select a cell in one of the matrices I want the other matrix to scroll to exactly the same row. If I just scroll the cell to visible it will appear at the lower end of the matrix. I need it on the same coordinate as the selected cell in the first matrix, e.g. both scrollviews have to show the i-th row on exactly the same horizontal line (without changing the position of the selected cell). How can this be done? Thanks for answers in advance Christoph -- Christoph Pesch (cpesch@markov.fmi.uni-passau.de) -------------------------------------------------
From: zazula@soliton.physics.arizona.edu (Ralph Zazula) Newsgroups: comp.sys.next.programmer Subject: Re: Hiding appIcon Message-ID: <1993Apr21.223322.24576@galileo.physics.arizona.edu> Date: 21 Apr 93 22:33:22 GMT References: <1993Apr20.183021.3075@gleap.jpunix.com> Sender: zazula@pri.com (Ralph Zazula) Organization: Pinnacle Research, Inc. In article <1993Apr20.183021.3075@gleap.jpunix.com> clloyd@gleap.jpunix.com writes: >I am writing a "service" for WSM. I don't want the app which implements the >service to have an appIcon visible (just to avoid clutter/confusion). > >What is the best way to do this? > > >Other info? > >1. I have successfully done this with the following line in appDidInit: > > [[NXApp appIcon] moveTo:-100.0 :-100.0]; > >2. I was unsuccessful with the following line: > > [[NXApp appIcon] orderOut:self]; > > >Under method one (which seems like an acceptable appraoch), the icon does >appear as the app is launching, and then goes away. I think it'd be nice if it >never appeared at all, so if you know if a way to achieve this effect... > Hi - #1 might not always work. For instance, if someone is running VirtSpace (our virtual workspace manager), the coordinate (-100,-100) might not be where you think it is. I would suggest this: [[NXApp appIcon] free]; in your appDidInit: method. This may cause the icon to flicker and then dissapear but it usually happens fast enough that you don't even see the icon. Ralph --- Ralph Zazula Pinnacle Research, Inc. zazula@pri.com
Newsgroups: comp.sys.next.programmer From: mike@media-lab.mit.edu (Michael Hawley) Subject: Re: Debating rtf source code Message-ID: <1993Apr23.031000.20693@news.media.mit.edu> Sender: news@news.media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <1993Apr22.162322.433@afs.com> Date: Fri, 23 Apr 1993 03:10:00 GMT In article <1993Apr22.162322.433@afs.com> jaime@afs.com writes: > The most compelling "Pro" argument to supporting RTF would be in conjunction > with a further modified preprocessor that would separate code from > documentation, (code perhaps indicated with a certain fixed pitch typeface), > allowing a variation on Donald Knuth's WEB system. I can't let this pass without comment. The WEB/Tangle/Weave system lets one write intermingled code and documentation in a peculiar language that twizzles TeX and Pascal (sound appetizing?) in order to produce a printed book as well as a compiled bit of code. Nobody would deny that thought and craft and some sense of style ought to be applied when writing software. And yes, it is surely sensible to mix documentation and code if for no other reason than convenience (in fact, the "spec sheets" that constitute the AppKit documentation were, by and large, generated by automatically massaging comments out of code). Although I agree, spiritually, with the desire to write beautiful, readable, publishable code (who wouldn't in this day and age), there are more than a few medieval barbarisms in the WEB approach -- communicating a program by seeking to package it as a "book" is a feeble use of the medium (still, I do keep an old 120-dpi vellum inkjet inscription system for emergency use); writing in a peculiar meta-TeX language, tweaked for one's preferred system language (Pascal? C?), is awkward to say the least (have you ported GDB to debug WEB code?); WEB extends poorly to other languages (written a shell script in WEB lately?), does little to facilitate maintenance, does not ease hyper-linking, or offer many of the obvious things one wants (embedding a picture, a relevant file, or any interactive "view" if desired); and, it promulgates a typographic style that is tacky, in my opinion (why would you EVER want to embolden the noisewords in a language? -- "if", "while", "begin", etc -- it's like rubricating the conjunctions in a bible). In general, it does not foster what we have come to appreciate as good engineering practice in the software business (elegant, durable arrangements of reusable parts). For me, the debate stopped a long time ago, when Knuth wrote an interminable program for Jon Bentley's "Programming Pearls" column, to find the K most frequent words in a document. McIlroy's reply (some good thoughts, the dismissal of Knuth's code as a sort of roccoco Faberge egg, and the Unix solution -- a one-liner shell pipeline) was right on the money. With adequate support for rich forms of text (RTF, SGML, and others) any programming language can trivially be written as typographically rich text. That means that programmers may compose documents -- code in any language -- that include all the font embroidery and pictures and drag-in attachments one could wish for. Debuggers work transparently. One is not forced into a peculiar font convention (like emboldening "#include"). Moreover, one can focus on the perennial problem of creating software components that fit together well, in whatever language is suited to the problem, instead of writing monolithic tomes. In sum, the idea of adding integrity and quality to code is wonderful, but WEB is unfortunately a big step sideways. Mike
From: jmartin@next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: Useful View and Window resizing methods Date: 23 Apr 1993 16:58:08 GMT Organization: NeXT, Inc. Message-ID: <1r9770$3hn@rosie.next.com> I have written two methods that I think you will find very useful. The first one addresses the issue of resizing a window by a particular corner. For instance you may want your document window to grow from the bottom right corner while a support window that sits flush against the document grows from the bottom left. Below is the method - sizeWindow::byCorner. The second, more useful method, addresses the problem where you have a view that you want to resize to a particular size. However, what you really want is for the window to be resized such that the view ends up at the particular size via autosizing. For instance you may have a view with an image in it that should be 400x400, but if you grow it directly it may overrun some controls you have to the right of it. So what you want is for the window to grow such that the data view is 400x400 with respect to autosizing. Below is the method - sizeTo::byWindowCorner:. Hope you find this useful... ... jeff martin NeXT Developer Support // Format is 80 columns with 4 space tabs. @implementation Window(extra) #define CORNER_UPPER_LEFT 0 #define CORNER_LOWER_LEFT 1 #define CORNER_UPPER_RIGHT 2 #define CORNER_LOWER_RIGHT 3 /************************************************************************* ***** This Method resizes the receiving window as if it was dragged with the given corner. This method is useful when you want the window to resize by a corner other that the default upper right. Copyright 1992. Jeff Martin. (jmartin@next.com 415-780-3833) ************************************************************************** ****/ - sizeWindow:(NXCoord)width :(NXCoord)height byCorner:(int)corner { NXRect newFrame; NXSize minSize, maxSize; // Clamp width and height to their respective minimum and maximum values [self getMinSize:&minSize]; [self getMaxSize:&maxSize]; width = CLAMP(width, minSize.width, maxSize.width); height = CLAMP(height, minSize.height, maxSize.height); // Set newFrame from the old frame and the new sizes NXSetRect(&newFrame, NX_X(&frame), NX_Y(&frame), width, height); // Move the respective corner by the amount of growth and set newFrame switch(corner) { case CORNER_UPPER_LEFT: NX_X(&newFrame) -= width - NX_WIDTH(&frame); break; case CORNER_LOWER_LEFT: NX_X(&newFrame) -= width - NX_WIDTH(&frame); NX_Y(&newFrame) -= height - NX_HEIGHT(&frame); break; case CORNER_UPPER_RIGHT: break; case CORNER_LOWER_RIGHT: NX_Y(&newFrame) -= height - NX_HEIGHT(&frame); break; } [self placeWindowAndDisplay:&newFrame]; return self; } @end @implementation View(PA) /************************************************************************* ***** This Method resizes the receiving view to the given width and height by resizing the window by the appropriate amount with respect to autosizing. This method is useful for those occasions when you know what size a view should be, but don't know how big to make the window to fill it. If you ask for a new width, it assumes the view is width sizable. The same goes for height. If the hierarchy contains a ClipView (ie, in a ScrollView) it assumes that you want the ClipView's subview to be fully exposed. The window size will not exceed the set maximum. Copyright 1992. Jeff Martin. (jmartin@next.com 415-780-3833) ************************************************************************** ****/ - sizeTo:(NXCoord)width :(NXCoord)height byWindowCorner:(int)corner { int autosizing = [self autosizing]; float widthGrowth = width - NX_WIDTH(&bounds); float heightGrowth = height - NX_HEIGHT(&bounds); float stretchingWidth = NX_WIDTH(&bounds); float stretchingHeight = NX_HEIGHT(&bounds); float newSuperWidth, newSuperHeight; NXRect superFrame; // If we are a contentView we simply need to grow window by our growth if(self==[window contentView]) { [window getFrame:&superFrame]; [window sizeWindow:NX_WIDTH(&superFrame) + widthGrowth :NX_HEIGHT(&superFrame) + heightGrowth byCorner:corner]; } else { [superview getFrame:&superFrame]; // Add margins to stretching lengths if they have been turned on in IB if(autosizing & NX_MINXMARGINSIZABLE) stretchingWidth += NX_X(&frame); if(autosizing & NX_MAXXMARGINSIZABLE) stretchingWidth += NX_WIDTH(&superFrame) - NX_MAXX(&frame); if(autosizing & NX_MINYMARGINSIZABLE) stretchingHeight += NX_Y(&frame); if(autosizing & NX_MAXYMARGINSIZABLE) stretchingHeight += NX_HEIGHT(&superFrame) - NX_MAXY(&frame); // Add growth times a ratio of stetching length::view length to Super newSuperWidth = NX_WIDTH(&superFrame) + widthGrowth*stretchingWidth/NX_WIDTH(&bounds); newSuperHeight = NX_HEIGHT(&superFrame) + heightGrowth*stretchingHeight/NX_HEIGHT(&bounds); // Resize the Superview [superview sizeTo:newSuperWidth :newSuperHeight byWindowCorner:corner]; // If we are a ClipView, bring the docview up to size if([self isKindOf:[ClipView class]]) [[(ClipView *)self docView] sizeTo:width :height]; } return self; }
From: jmartin@next.com (Jeff Martin) Newsgroups: comp.sys.next.programmer Subject: Re: Useful View and Window resizing methods Date: 23 Apr 1993 17:27:11 GMT Organization: NeXT, Inc. Message-ID: <1r98tf$3ij@rosie.next.com> Reply-To: jmartin@next.com (Jeff Martin) Accidentally left out my CLAMP macro: #ifndef MAX #define MAX(A,B) ((A) > (B) ? (A) : (B)) #endif #ifndef MIN #define MIN(A,B) ((A) < (B) ? (A) : (B)) #endif // Keep 'a' between x and y #define CLAMP(a,x,y) (MAX((x), MIN((y), (a)))) ... jeff
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Distributed Objects and the Network Name Server Message-ID: <1993Apr23.141436.29628@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Apr22.171924.1951@parsec.mixcom.com> Date: Fri, 23 Apr 93 14:14:36 GMT In article <1993Apr22.171924.1951@parsec.mixcom.com> alberto@parsec.mixcom.com (Manuel Alberto Ricart) writes: > NetLand, > > I am using Distributed objects and was wondering what the > effect of a call like this is - Is it searching the Internet > for a name myCoolObject? > > [NXConnection connectToName:myCoolObject onHost:"*"] > > What I want to do is to register my object with the root > domain. And DEFINETLY do not wish to seach the internet > for this.... No, the "*" argument will only look as far as the local subnet. > -- > Manuel Alberto Ricart > alberto@parsec.mixcom.com <NeXTMail Welcome> -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer From: mhenry@zeus.UWaterloo.ca (Mark Henry) Subject: How to fake the X DPS lib fn 'DPSContextFromContextID' on the NeXT? Message-ID: <C5yIzr.CG2@watserv1.uwaterloo.ca> Keywords: DPS X NeXT Portability Sender: news@watserv1.uwaterloo.ca Organization: University of Waterloo Date: Fri, 23 Apr 1993 22:11:50 GMT Hi, In response to my earlier post about finding out the DPSContext(s) of another application, someone was kind enough to point out that under X Windows, the DPS client library has a function caled DPSContextFromContextID that will return a pointer to the DPSContext structure assosciated with a given context number. Since it is quite easy to determine the context number associated with an application (the PS operator 'currentactiveapp' returns this for the current active application, for example), I was wondering if anybody has figured out how to hack the DPSContextFromContextID function on the NeXT? From a portability standpoint, it would seem like this would be a logical thing to want to do. Any comments (most) welcome, Mark --- Mark Henry Department of Systems Design Engineering mhenry@zeus.uwaterloo.ca [NeXTmail] NeXT Campus Consultant, University of Waterloo Waterloo, Ontario, Canada
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.hardware Subject: Re: HP LaserJet 4M Problem with NeXT Calibrated Color Date: 23 Apr 1993 23:53:17 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1r9vhd$713@agate.berkeley.edu> References: <1r8n78$mvg@agate.berkeley.edu> In article <1r8n78$mvg@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi Ohzawa) writes: >I am having a related problem with printing on HP LaserJet 4M 600 dpi >(with PS), and I have determined that this problem has to do with >color calibration. > >The simptom is that all gray value >= 0.84 becomes completely white and >there is no gradation for gray values in the range 0.84 - 1.0. >This only happens with HP LaserJet 4 (with PS SIMM). Exactly the >same file printed on NeXT 400dpi laser printer shows good shades of >grays for all values (0 - 1). >This obviously messes up my density plots (light gray becomes complete >white). To test this fully, I wrote a simple EPS file included below. It prints a density calibration chart in 1% steps from 0 .. 100%. If you have a HP LaserJet 4 with PostScript, please print it straight to the printer. Please also compare this with the version printed from a drawing application by importing this EPS file. Is there any difference? On our LaserJet 4M PS, when printing the imported EPS from Virtuoso, all squares from 1% through 16% are totally white! Whatever calibrations are done, it should never put hard saturations and bottom-outs. On the NeXT 400dpi Laser, these two methods produce identical results. Thanks. --------- DensityCalibration.eps ----------------------------------- %!PS-Adobe-2.0 EPSF-2.0 %%BoundingBox: 0 0 612 792 %%Title: PostScript Density Calibration Chart %%Creator: Izumi Ohzawa %%Date: 93-04-23 /paperwidth 612 def % already defined /paperheight 792 def /temp-str 10 string def % i on stack /draw_box { gsave 0 setgray 0 -10 rmoveto dup 100 exch sub temp-str cvs show ( %) show grestore 40 0 rlineto 0 45 rlineto -40 0 rlineto closepath gsave 100 div setgray fill grestore 0 setgray stroke } def /Helvetica findfont 10 scalefont setfont 0.5 setlinewidth 0 1 100 { dup dup 10 idiv 66 mul 40 add % i i yp exch % i yp i 10 mod 50 mul 100 add paperwidth exch sub % i yp xp exch moveto draw_box } for /Times-Roman findfont 16 scalefont setfont 60 720 moveto (Density Calibration Chart) show showpage ---- cut here ------------------------------------------------ -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: Multiple palettes with shared code: how? Message-ID: <C5yK5E.7F2@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <1993Apr22.195814.1461@afs.com> Date: Fri, 23 Apr 1993 22:36:50 GMT In article <1993Apr21.135012.975@afs.com> jon@afs.com writes: > > I've got a palette, which I want to break into two palettes. > Problem is, they both use a couple of .c files. If I have > the .c files in both projects and compile, I can only load > one palette at a time. Loading the second causes IB to crash. > If I take the .c files out of one project, then that palette > is dependant upon the other- it won't load unless the other is > loaded first. > > [Summary deleted] > > Any comments? After some experimentation, I've had success stripping the palette with the -u option of strip(1). The following addition to your Makefile.postamble in your palette project directory will do this: all:: $(STRIP) -u $(PRODUCT_ROOT)/$(NAME) I'm curious if this does something evil. I've had no problems with IB rld()'ing palettes stripped like this; someone please correct me if I'm overlooking something. It does strip out the debugging symbols, so you'll want to wait until your palette is debugged and ready for prime time before stripping it. Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Objective-C compiler as an OBJECT ??? Message-ID: <1993Apr23.184214.8928@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas Distribution: usa Date: Fri, 23 Apr 93 18:42:14 GMT Something just occured to me.... Is it within the realms of reason to think the compiler itself could be wrapped in/and treated as...a class ? I've got a Compiler class in Smalltalk. Could I have one in Obj-C ? aClass = [GCCCompiler compile: (NXCodeStream *) aStream]; Can we ever hope to have an Objective-C environment as dynamic as Smalltalk/ObjectWorks ??? Inquiring (Neophyte) mind wants to know... -- Ronald Pomeroy CAM Applications Group Advanced Micro Devices Austin, Texas rpomeroy@aunext1.amd.com (NeXTmail preferred)
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Debating rtf source code Message-ID: <1993Apr23.205329.3567@gleap.jpunix.com> Date: Fri, 23 Apr 1993 20:53:29 GMT References: <1993Apr22.162322.433@afs.com> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software jaime@afs.com writes >In article <1993Apr18.230004.21998@atg.wiltel.com> rking@atg (Richard King) >writes: > This is to solicit opinions on an issue that has seen hot debate at a large > development shop (approx. 35 or so developers). The issue is the use of > Rich Text Format source (as opposed to straight ascii). > ... > I think one problem with this survey is that only people who have used rtf in earnest can be trusted in their comments. Others are just shooting from the hip. It's like saying that sex is overated when you're a virgin. Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Becoming a first responder Message-ID: <1993Apr23.231058.4220@gleap.jpunix.com> Date: Fri, 23 Apr 1993 23:10:58 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software I have a subclass of TextField in which I've overridden the "becomeFirstResponder" method. This allows me to send a message to the "target" of the TextField so it can do something before the editing in the field can begin. My target attepmts to validate that the user is allowed to edit this field, so it pops up a panel for more information. After I've validated that the info is correct, I return to the "becomeFirstResponder" override and then call [super becomeFirstResponder]. As it turns out, the TextField then gets selected as though I'd triple clicked (I only single clicked), but typing on the keyboard doesn't work. The Window is the keyWindow (I checked this out), and the TextField is the firstResponder (checked out as well). If I click anwhere on the Window again it'll start accepting keyboard input. I am pretty sure that popping up a panel (which allows editing) in the middle of the becomeFirstResponder is what's throwing this off. But I cannot figure out what's getting changed or how to set it back. Any ideas appreciated. Charles. ps: This is definately one case where appkit source would be helpful. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
From: hubt@css.itd.umich.edu (Hubert Chen) Newsgroups: comp.sys.next.programmer Subject: Looking for flames/compliments/corrections on my paper (long) Date: 24 Apr 1993 05:05:04 GMT Organization: Univ. of Michigan Distribution: world Message-ID: <1rahq0INNknf@stimpy.css.itd.umich.edu> I've written a paper for a class (object oriented programm) on the NeXT. I'm looking for flames/compliments/corrections on my paper. It's pretty long, about 10 pages (I hope :). So hit 'n' if you don't want to read it all, I think it's pretty good. I'm particularly looking for gross errors or inaccuracies, but all comments/criticism are appreciated. Sorry for taking up all the bandwidth thanks, hubert hubt@css.itd.umich.edu Object-Oriented Programming on the NeXT Computer Object-oriented programming has become a buzzword in recent years. Major software companies from Microsoft to Apple have pledge their allegiance to the principles of object-oriented design. While others lay claim to object-oriented design the NeXT computer has been at the forefront of this technology since its inception in 1987 . Motorola based microprocessors: Currently there exists only one platform that NeXTStep runs on, the 680x0 based microprocessor built into the NeXT machines. The expected release of NeXTStep486 or NeXTStep for Intel Processors (NS/FIP) running on Intel's 80486 and probably Pentium chips.will hopefully bring the company out of financial difficulties by bringing the NeXT to a wider hardware base. Other rumors abound which picture NeXTStep appearing on virutally every other major workstation platform, including DEC Alphas, HP-UX, IBM RS/6000 and Sun Sparcstations. The Interface: "The key goals in user-interface design are increase in speed of learning, and in speed of use, reduction of error rate, encouragement of rapid recall of how to use the interface, and increase in attractiveness to potential users and buyers" -Foley User interface is what sets the NeXT apart from all but a few machines, and it is Interface Builders namesake. Because the NeXT computer came about several years after the Macintosh has already been introduced, it was able to capitalize on familiar interface design. The mouse, point-and-click, and Edit- Cut Copy Paste Undo are just a few of the ideas that had become mature by the time the NeXT was introduced. NeXT even copied the command key shortcuts for these commands. NeXT also addressed some of the problems with the interface, by allowing multiple Browsers and a better access to the directory tree, the NeXT learned from some of the weaknesses of the Macintosh. By capitalizing on the success of the Mac interface, while addressing some of it problems, NeXT won instant praise for it's interface. Mach: To the casual user, the NeXT is a nice interface with beautiful full screen drags of its windows. The more advanced user recognizes that NeXTStep is built upon UNIX, a sometimes cryptic operating system, that many programmers love for an unknown reason. Most programmers realize that NeXTStep is derived from BSD UNIX, specifically variant 4.3. Close inspection by the systems programmer reveals significant low level differences that are hidden from the user and most programmers. Underneath the NeXT graphical user interface, the operating system is a UNIX BSD 4.3 that uses Carnegie Mellon University's Mach kernel. Mach was created to add better support for parallel and distributed computing than the UNIX kernel. Among the extensions that Mach provides are multiple threads within each task, support for multiprocessing, virtual memory management, network extensibility, and message based interprocess communication. A key abstraction of Mach is the notion of a task and thread. This is in contrast to the traditional UNIX processes being a complete entity. A task is the address space, and the thread is a point of execution, or a lightweight process. A Mach task can have multiple threads within it, whereas a UNIX process has one only one point of execution. In the traditional UNIX model, every process has its own address space, and therefore when multiple processes are created each needs a full copy of the address space and so shared variables are particularly troublesome. Mach eliminates this, by enabling multiple threads within a task that can share the address space. Mach uses C functions called C-threads to control threads and tasks. These functions handle concurrency problems and also provide condition variables and mutually exclusive variables. Most functions within the NeXTStep Application Kit are not thread safe, so multiple threads must be used with care. Display PostScript: It is not an exaggeration to say that the NeXT draws every object on screen with PostScript. While the PostScript language is a full featured interpreted programming language, it was specially designed for rendering graphics. PostScript is currently the definitive standard in printer page description languages. One of the key features of PostScript is that it is device independent. PostScript can scale and rasterize images to an appropriate size for any screen or paper. Some computers have several different imaging systems that vary with each device. A typically printer has a much higher resolution than a display and a display often has pixels that are not of equal width and height. Using Display PostScript lets the interpreter reconciles these differences and eliminates the need for multiple imaging systems. Objective-C: The NeXT relies on Objective-C as the basis for it's object-oriented design. Objective-C was developed by the Stepstone Corporation, but NeXT's compiler is the GNU compiler, gcc, with the Objective-C extensions added. There are a few subtle differences between NeXT's and Stepstone's implementation, but they are largely the same. One of the main advantages of Objective-C is that is a superset of ANSI C, with influence from Smalltalk. The advantage of using a language based on C is that programmers in the UNIX world, are most familiar with C, and so any language which is based on C is likely to be popular. However, the C programmer must be particularly wary of programming structurally, when an object-oriented design would be better suited. Programming in Objective-C is not difficult to learn for a capable C programmer, but experience with object-oriented programming helps in avoiding the pitfalls of structured programming. Instead of using the .c extension for files which contain C code, Objective-C on the NeXT generally uses the .h and .m extensions for header and method files respectively. The advantage in terms of object-oriented design is that interfaces can be put into the header files, while method files contain the actual implementation. Objective-C allows subclasses to redefine superclass methods, but not superclass instance variables. Not only that, but Objective-C also allows the redefined method to incorporate the superclass by sending a [ super message] to a method of the same name. The NeXT Application Kit uses abstract superclasses frequently. Subclasses cannot access the instance variables of a superclass, each object can only control the variables that it has defined. There exist ways around this, the most common is to use static variables and fabricating methods operating on those variables. An Objective-C object uses a "message expression" to pass data to another object. The term message and message expression" can be used An object calls another object's method with the expression: [ receiver message ] The receiver can be any object which has been previously declared and is in the scope of the expression. The receiver can also be either of the keywords "self" or "super" referring to the object itself and its superclass respectively. A "message" consists of a method also known as a method selector and its arguments. The arguments are of the form "parameter: value" and optional arguments can be added by using a comma after the required parameters. A message is given rights to all the instance variables in the receiver. After the expression has been evaluated, the receiver sends back the return value which defaults to type "int" as in standard C. Adding to standard C, Objective-C has defined a few new data types. The "Class" data type can be used to allocate the class methods without creating memory for an instantiation of the class. This is not usually necessary because the run-time system automatically generates a Class object that is used by the instances. The "id" data type is a more valuable feature that Objective-C adds to standard C. It is a pointer which can point to any kind of object. This is important in Objective-C's run-time, or dynamic binding system. Dynamic binding allows the program to determine while it is running what kind of object that an id points to. This is done by accessing the variable of type "isa" which describes the class of the object. "isa" is defined in the root class Object, so it is inherent in all objects. The special message "respondsTo" will return a "YES" value if the receiving object can respond to the method that is passed in as the argument. The root class is also exceptional because all instance methods defined in it can be performed both by instances and class objects. The dynamic binding system of Objective-C augments the flexibility of programming in regular C. In C, function calls are bound to functions at compile time. When Objective-C messages are used, the objects are bound together at run-time, so messages can be sent to methods which the sender does not know about at compile time. A common example of this is to use a method which can have different meanings in different contexts. The common command "cut" usually in the Edit Menu in NeXTStep is a good example of this. If the selected area is a picture, it can often be copied as a Tag Image File Format (TIFF) file, but if it is text, then it will be copied as such. Furthermore, text can be distinguished into regular ascii text and formatted Rich Text Format (RTF) text. This property of dynamic binding is known as polymorphism. Polymorphism is the property where two different objects can have methods which are different even though they are named the same. This feature enables the programmer to send out the same message to several different objects, and each object will perform its own function. This should not be confused with overloading which allows multiple definitions for a function to be determined at compile time. NeXT's Objective-C enourages the use of "delegation" for many Application Kit Objects. "Delegation" permits an object to let other objects override or add to its methods. The reason for this break from object-oriented encapsulation is a matter of convenience. Total encapsulation would require that for each different class a subclass be defined, even if only a single change is required. By allowing delegation, the strict encapsulation of objects is broken for the sake of tighter and more convenient code. A delegate can use the original method or override it. The delegation works by going down the responder chain, which is a list of objects that may be able to accept an event. If an object has such a method, then that method is executed. If the method returns something that is not "nil" then the message is considered delivered, and the event is completed. If the method returns "nil" then the message proceeds further down the responder chain and executes the method again, until a non-nil value is returned. Objective-C does not support multiple inheritance or generics. It also does not directly support exception handling, but NeXT has provided facilities that serve the purpose in the AppKit. Mach provides some low-level exception handling and manages concurrency when multiple threads are used. The AppKit: The feature which makes the NeXT development environment so powerful is the extensive class library, collectively known as the Application Kit Classes, or the AppKit. The AppKit contains definitions for a large variety of classes which are important to the consistent user interface of the NeXT. More importantly, these objects also save the programmer from reinventing each object. The base class called Object is the class from which all other classes are derived. The AppKit is an extensible inheritance tree that has direct support for dozens of commonly used objects. [ insert eps of AppKit tree ] Many of these class definitions are stored in shared libraries that can be loaded at run-time. This combined with the run-time binding allows NeXT to modify objects and add features into the shared libraries, without forcing every developer to recompile their programs. This happened with the upgrade from NeXTStep 2 to NeXTStep 3, where binaries compiled with NeXTStep 2 were runnable on NeXTStep 3, but the reverse was not true. Any object written in Objective-C is usable by NeXT's Objective-C, so the NeXT includes some objects that are written in Objective-C, but not NeXT specific. Much of the AppKit is specific to the NeXT operating system, and many of those objects are derived from the Responder class. The Responder class is a superclass of objects which respond to NeXT events. In a graphical user environment, the subclasses of Responder are used by programmers to create many basic graphical elements, like applications, windows, buttons, and scrollers. The reusablility of objects and code is a direct result NeXT's extensive support for object-oriented programming and inheritance relationships. NeXT software archive sites included not only source files and binaries, but objects and palettes which can be reused by other developers. NeXT Computer has encouraged the growth of a market for objects, by which developers can buy objects from other developers and build upon them. Each year, NeXT sponsors ObjectWare, a conference devoted to the marketing and sales of NeXT objects. Throughout NeXT's sales pitches there are references to Custom Applications. Presumably, this market for objects is the key to rapid development of Custom Applications and interfaces. While ObjectWare is a significant step towards reusable code, currently it is still a fairly limited phenomenon. Similarly, in the recent upgrade from NeXTStep 2.2 to NeXTStep 3.0, many of the new functions were major object libraries, which people could use to build upon to create their own applications. The most highly touted of these included 3DKit,DBKit, and PhoneKit. These object libraries were designed to make developing applications even easier than before. The current software base of NeXT is still limited, so it cannot be said with any certainty that these enticements have had their desired effect. NeXT Interface Builder: NeXT Interface Builder (NIB or IB) successfully integrates object-oriented design with an effective graphical user interface, to create a programming environment that facilitates creating consistent program interfaces, while maintaining objects that are reusable, and managing many other programming functions. Interface Builder is the key to the convenient interface of the NeXT. Most applications will use the standard interface tools that NeXT provides such as windows, buttons, and dialog boxes, however these tools are not limiting or required. Interface Builder's objects are the most convenient way for a programmer to work, but the programmer is free to create or redefine the classes. The added advantage of using NeXT's classes is that if NeXT changes the interface, with run-time binding and shared libraries, the programmer need not do anything to take advantage of the new features. This also keeps the interface consistent between applications. IB represents objects instantiated in an application as icons in its "Objects" window. The "Objects" windows is a quick way of seeing what objects are being used and how they interact. To make a connection between two objects, requires only a control-drag operation. Effortlessly writing applications that use windows, buttons, and other graphical elements is the forte of Interface Builder. For instance, creating an application that will play a sound when a button is clicked does not require any code to be typed, but can be built with some mouse clicks. Interface Builder "palettes" are collections of objects that can be created and incorporated graphically into a project. NeXT supplies several palettes for popular objects, but IB also allows programmers to design and produce their own palettes. Programmers can then distribute their palettes to other developers seeking similar objects. Dividing projects into subprojects creates a natural heirarchy and distribution of labor. Interface Builder handles subprojects independently, using connections and messaging to interact with other projects. This division and autonomy is especially beneficial for large projects, where developers need not or cannot interact closely. Interface Builder can turn graphic descriptions of objects into code, and it can also turn code into graphic descriptions. IB's "unparse" command generates a basic Objective-C skeleton from the connections and objects that are instantiated graphically. The inverse function, "parse," parses interface files and determines connections incorporating them into the Interface Builder definition. Maintaining classes and keeping track of the class heirarchy is another function that Interface Builder controls. When using Interface Builder, the inheritance heirarchy can be accessed with a few mouse clicks, allowing the programmer access to the class interface and method files. When new objects are developed, they are added into this tree and all the relevant files are included into the project. As a function of this, Interface Builder also keeps track of Makefiles and dependencies between all included files. Developers Utilities: NeXT's development system is highly integrated to provide a practical means of reducing application development time. The greatest aid is the copious indexed on-line documentation available through the Librarian application. Topics available with the Developers Release of NeXTStep documentation cover virtually every possible aspect of the NeXT computer. Browsing the index produces such varied documents as full UNIX man pages, UserInterface, 3DKit, Interface Builder, and Writing Loadable Kernel Server modules. The Edit word processor also integrates amenities for programmers. The GNU debuggger and Edit work together to so the programmer can follow program execution. The programmer can use the simple point and click interface to step through the debugger. To the experienced UNIX programmer, all familiar tools are still accessible from the command line. Integrating it all: The NeXT computer has put together the the finest tools for developing on any platform by integrating several key components. The operating system design emphasizes the distributed and expandable environment. The specialization of imaging software by using Display PostScript produces device independent output. Object-oriented programming is crucial to the extensibility and reusability of useful programs. The Appkit gives programmers the building blocks of a consistent interface and strong base for development. Interface Builder simplifies tasks by managing objects, classes and files. NeXT utilites tie together the loose ends of development. Unfortunately, having all these pieces makes NeXT the computer of the future, which may turn out to be a curse rather than a blessing. References: Computer Graphics: Principle and Practice, Foley 1991 Addison-Wesley NeXT Operating System Software 1991 NeXT Computer Inc. NeXT On-line Documentation -- \\\\ hubt@umich.edu -- Hubert Chen -- pgp key on request or via finger //// Real programmers know every nuance of every instruction and use them all in every real program. Puppy architects won't allow execute instructions to address another execute as the target instruction. Real programmers
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: Distributed Objects and the Network Name Server Message-ID: <C5y27t.359@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Trilithon Software References: <1993Apr22.171924.1951@parsec.mixcom.com> Date: Fri, 23 Apr 1993 16:09:27 GMT In article <1993Apr22.171924.1951@parsec.mixcom.com> alberto@parsec.mixcom.com (Manuel Alberto Ricart) writes: >NetLand, > >I am using Distributed objects and was wondering what the >effect of a call like this is - Is it searching the Internet >for a name myCoolObject? > >[NXConnection connectToName:myCoolObject onHost:"*"] > When using "*" for the host, only the LOCAL network is searched. If you want to connect to a machine on the internet somewhere, you have to say which one. If * tried to search the internet, it would probably be slightly too time consuming (:-). ____________________________________________________________ Mike Ferris All wars are civil wars, because all men mike@lorax.com are brothers ... Each one owes infin- Trilithon Software itely more to the human race than to the (510) 652-2039 particular country in which he was born.
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Becoming a first responder--->Resolved Message-ID: <1993Apr24.030747.5089@gleap.jpunix.com> Date: Sat, 24 Apr 1993 03:07:47 GMT References: <1993Apr23.231058.4220@gleap.jpunix.com> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Charles C. Lloyd writes >I have a subclass of TextField in which I've overridden the >"becomeFirstResponder" method. This allows me to send a message to the >"target" of the TextField so it can do something before the editing in the >field can begin. > >My target attepmts to validate that the user is allowed to edit this field, so >it pops up a panel for more information. After I've validated that the info is >correct, I return to the "becomeFirstResponder" override and then call [super >becomeFirstResponder]. > >As it turns out, the TextField then gets selected as though I'd triple clicked >(I only single clicked), but typing on the keyboard doesn't work. The Window >is the keyWindow (I checked this out), and the TextField is the firstResponder >(checked out as well). If I click anwhere on the Window again it'll start >accepting keyboard input. > >I am pretty sure that popping up a panel (which allows editing) in the middle >of the becomeFirstResponder is what's throwing this off. But I cannot figure >out what's getting changed or how to set it back. > >Any ideas appreciated. > I got it figured out! The problem was that there was an event caused by the mouse down on the TextField which was getting clobbered by events occuring during the process of validation. The solution is to override the mouseDown: method, copy the original event, do the validation, then pass the copied event to [super mouseDown:]. Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: chris (Chris Larson) Subject: Little problem with Sound and SNDSoundStruct Message-ID: <C5yEK0.8y5@oceania.com> Sender: chris@oceania.com (Chris Larson) Organization: Oceania Health Care Systems Distribution: usa Date: Fri, 23 Apr 1993 20:35:57 GMT I've been writing some sound related code, and ran into a little anomaly. It seems that the SNDSoundStruct is defined as: typedef struct { int magic; /* SND_MAGIC ((int)0x2e736e64) */ int dataLocation; /* Offset or pointer to the raw data */ int dataSize; /* Raw data size in bytes */ int dataFormat; /* The data format code */ int samplingRate; /* The sampling rate */ int channelCount; /* The number of channels */ char info[4]; /* Textual information about the sound */ SNDSoundStruct; But when you walk up to a Sound object that contains one of these guys, and ask for the info field size ([aSound infoSize]), it returns 2004. I like writing portable code, but it looks like I need to hardwire the 4. Anyone else had this problem? Chris -- Chris Larson <==> chris@oceania.com <==> NeXT Mail is cool Oceania Health Care Systems Palo Alto, CA The Software Ranch Park City, UT
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Multiple palettes with shared code: how? Organization: Primitive Software Ltd. References: <1993Apr21.135012.975@afs.com> Date: Thu, 22 Apr 1993 10:18:52 +0000 Message-ID: <1993Apr22.101852.5167@prim> Sender: usenet@demon.co.uk In article <1993Apr21.135012.975@afs.com> jon@afs.com writes: >I've got this problem, see... > >I've got a palette, which I want to break into two palettes. Problem is, >they both use a couple of .c files. If I have the .c files in both projects >and compile, I can only load one palette at a time. Loading the second >causes IB to crash. If I take the .c files out of one project, then that >palette is dependant upon the other- it won't load unless the other is >loaded first. > >Has anyone encountered this before and found a solution? Eek. Interesting point. I was going to suggest putting the common code into a dynamically loadable bundle, but that won't work because the palette load will fail owing to unknown symols in rld (you could kludge it by making the .c functions into class methods though). Your problem also applies elsewhere. Supposing you want multiple WorkSpace Manager inspectors that share common code? I just tried to put a +finishLoading into a bundle that has an unresolved external (in the hope that I could then load the common bundle), but the rld() doesn't let it get that far. Sounds like some way of bootstrapping common code is required. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: mzeller@gwdu03.gwdg.de (Meinrad Zeller) Subject: Re: AAAAAAAAIIIEEEEE! Message-ID: <3UUCBHUH@gwdu03.gwdg.de> Organization: GWDG, Goettingen References: <1993Apr21.170229.12674@godel.questor.wimsey.bc.ca> Date: Sat, 24 Apr 1993 10:48:55 GMT Anthony Berno (aberno@godel.questor.wimsey.bc.ca) wrote: : OK, I'm stuck on a hair-tearing, tears-in-the-eyes bug and it's driving me : CRAZY! : I do something in the program that should cause testHit to return yes to : the if statement. Using SuperDB, I step through, and sure enough, testHit : returns yes. Then, the program acts as if testHit returned NO, and causes : control to jump to the else clause. When testHit actually does return NO, : it does the opposite and executes the if. : What the HELL is going on here? Is this a compiler thing, a debugger : thing, or something really obvious that I can't see? If you're working with a debugger, turn the optimazation -O off, otherwise it might drive you crazy indeed - as it did me. Once optimization is off, things should go better. Meinrad -- Meinrad Zeller Foehrenweg 1 D-3400 Goettingen Tel.: +49-551-300095
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Example of Login Panel Message-ID: <1993Apr24.070502.7294@gleap.jpunix.com> Date: Sat, 24 Apr 1993 07:05:02 GMT References: <1993Apr22.180822.5464@gleap.jpunix.com> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Charles C. Lloyd writes >Hi, > >I'm looking for an example (with source) which uses the NILoginPanel to allow >user to perform operations as some other user. Does anybody kow of one? > >Actually, any example which does this (with ot without NILoginPanel) is >welcome. > Following up my own post: I have finally gotten the NILogin Panel figured out. If anybody would like the (very small) example I wrote, send me mail. My real question at this point (which I have fruitlessly asked several knowledgeable people about) is, "How do I execute a command (such as chmod) as some other user from within my app?" Currently, I have the app's setuid bit set and owner=root. Then I just use "su user -c 'command'". This works, but it seems like it may cause some people concern in that they don't like running pgms with setuid bit set for root. Thanks, Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: How do you subclass a method with variable arguments? Organization: Primitive Software Ltd. Date: Sat, 24 Apr 1993 16:38:46 +0000 Message-ID: <1993Apr24.163846.6118@prim> Sender: usenet@demon.co.uk I've just been spying on the messages sent by NXJournaler over it's speaker and to do it I had to override Speaker's selectorRPC:paramTypes: in a subclass. Now this takes a variable number of arguments. How do you pass these variable arguments to the superclass? (My workaround was a switch for each different parameter list type, but I'd like to know the "official" way). Dave Griffiths PS: Please please please please please please please please NeXT, hurry up and give us a decent way of posting events to another application and stop me from indulging in cringe-inducing hacks like these. _playJournalEventType:x:y:time:flags:window:subtype:miscL0:miscL1:ctxt:
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: How to read contents of another app's window? Organization: Primitive Software Ltd. Date: Sat, 24 Apr 1993 17:29:05 +0000 Message-ID: <1993Apr24.172905.6240@prim> Sender: usenet@demon.co.uk What's the best way to read the contents of an arbitrary window (e.g. of another app), given the postscript number of that window? What I wanted to do ideally was to read the postscript contents of that window, scale it down and display it in a view in my application. (This is for a remote control toy). I've come across readimage, but I don't know how to use it. Thanks in advance, Dave Griffiths
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Objective-C compiler as an OBJECT ??? Message-ID: <1993Apr24.092250.502@gleap.jpunix.com> Date: Sat, 24 Apr 1993 09:22:50 GMT References: <1993Apr23.184214.8928@dvorak.amd.com> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Ron Pomeroy x(Coop) writes >Something just occured to me.... > >Is it within the realms of reason to think the compiler itself could be wrapped >in/and treated as...a class ? I've got a Compiler class in Smalltalk. Could I >have one in Obj-C ? > > aClass = [GCCCompiler compile: (NXCodeStream *) aStream]; > >Can we ever hope to have an Objective-C environment as dynamic as >Smalltalk/ObjectWorks ??? > Personally, I think having a Compiler object is wrong. Making a noun out of a verb by adding "er" just doesn't cut it. Compilation is an action therefore compile should be a method of some class. What class? Well, what is it we're compiling? A file? NO! A Class? NO! We are compiling a _Method_. Therefore, I think you need a class called Method which holds a string (the implementation), and which can compile itself. I'd like to see an abstract class called Method with subclasses such as ObjCMethod, SmalltalkMethod, SelfMethod, etc. Then, you simply send the compile message to an instance of Method (whatever the actual subclass would be), and you get back a CompiledMethod. Now, to carry this further, the subclasses of CompiledMethod could be MotorolaCompiledMethod, IntelCompiledMethod, MIPSCompiledMethod, etc. What would really be nice would be if the LangMethod classes would produce an ANDFMethod (Architecture Neutral Distribution Format Method) and the ANDFMethod would respond to the becomeMotorola, becomeIntel, becomeMIPS, methods. Then we could distribute archived ANDFMethods and generate the proper, architecture-specific methods on site. A new architecture could be brought into the fold by just writing a new becomeXXX method for the ANDFMethod class (not to belittle that task). This would also be cool because classes could then be moved around on the net to different architectures unknown and they would then be converted once they got there. Smalltalk allows for this via is virtual machine bytecodes. Objective-C will only become as cool as Smalltalk when it begins to look almost exactly like Smalltalk. For now, its a great compromise (IMHO, the best there is). If NeXT doesn't endeavor to become more purist in its treatment of OOP, then someone else will and NeXT will be a distant memory. -Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: How to specify NXColor for rgb value? Message-ID: <1993Apr24.214410.6593@netcom.com> Sender: gordie@netcom.com Organization: Cyclesoft Media Works Date: Sat, 24 Apr 1993 21:44:10 GMT Does anyone know how to specify an rgb value for an NXColor when calling a method such as: [text setTextColor:NX_COLORGREEN]; I want to use an rgb value instead of NX_COLORGREEN Thanks Gordie Freedman -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
From: ralf@reswi.en.open.de (Ralf E. Stranzenbach) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.hardware Subject: Re: HP LaserJet 4M Problem with NeXT Calibrated Color Date: 25 Apr 93 01:47:37 Organization: News Server fuer en.open.de Distribution: world Message-ID: <RALF.93Apr25014737@jodokus.en.open.de> References: <1r8n78$mvg@agate.berkeley.edu> <1r9vhd$713@agate.berkeley.edu> In-reply-to: izumi@pinoko.berkeley.edu's message of 23 Apr 1993 23:53:17 GMT >>>>> "Izumi" == Izumi Ohzawa <izumi@pinoko.berkeley.edu> writes: Izumi> NNTP-Posting-Host: moica.berkeley.edu Izumi> In article <1r8n78$mvg@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi Ohzawa) writes: >I am having a related problem with printing on HP LaserJet 4M 600 dpi >(with PS), and I have determined that this problem has to do with >color calibration. > >The simptom is that all gray value >= 0.84 becomes completely white and >there is no gradation for gray values in the range 0.84 - 1.0. >This only happens with HP LaserJet 4 (with PS SIMM). Exactly the >same file printed on NeXT 400dpi laser printer shows good shades of >grays for all values (0 - 1). >This obviously messes up my density plots (light gray becomes complete >white). Izumi> To test this fully, I wrote a simple EPS file included below. It Izumi> prints a density calibration chart in 1% steps from 0 .. 100%. Izumi> If you have a HP LaserJet 4 with PostScript, please print it Izumi> straight to the printer. Please also compare this with the Izumi> version printed from a drawing application by importing this EPS Izumi> file. Is there any difference? I've checked this out using FrameMaker. Same problem. The "pure" eps file prints well but imported into the a FrameMaker document the first "grey" square is that 17%. I had the same problem some days ago when i've imported a Illustrator graphic. - ralf -- Ralf E.Stranzenbach - (NeXT)-Mail: ralf@reswi.en.open.de Fido: Ralf_Stranzenbach 2:245/5800.12 (Voice)-Phone: +49 2302 / 68403 -- In jedem grossen Problem steckt ein kleines, das gerne raus will.
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: Q: Need -awakeFromNib for palette File's Owner class Message-ID: <C60t4H.3I2@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA Date: Sun, 25 Apr 1993 03:45:52 GMT I am baffled as to why -awakeFromNib is not being called for my IBPalette subclass. The class is properly selected as the File's Owner, but the method is never called {I have an fprintf(stderr, "..."); line inside the method} Basically, what I need is something equivalent to -appDidInit:, which is called after all outlets have been set, for my Interface Builder palettes. From the description of -awakeFromNib, I am led to believe that it would be the correct choice. I have never been able to get it to work in a palette, though. I usually have to resort to using -setOutletName:anObject, and avoiding dependencies between the objects for each outlet. There seem to be a significant number of palette developers reading this group. What is the method that everyone else is using to initialize their palette objects? Thanks in advance (email responses preferred, since I rarely read News any more). -- Brian Willoughby Software Design Engineer, BSEE NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: How to specify NXColor for rgb value? Date: 25 Apr 1993 08:17:42 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1rdhf6$dt@agate.berkeley.edu> References: <1993Apr24.214410.6593@netcom.com> In article <1993Apr24.214410.6593@netcom.com> gordie@cyclesoft.com (Gordie Freedman) writes: >Does anyone know how to specify an rgb value for an NXColor when calling a >method such as: >[text setTextColor:NX_COLORGREEN]; Use NXConvertRGBToColor(r, g, b) in place of NX_COLORGREEN. Look at <appkit/color.h> for loads of color conversion functions. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Application workspace Message-ID: <1993Apr25.002804.4153@gleap.jpunix.com> Date: Sun, 25 Apr 1993 00:28:04 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Arrrrgh! I just spent about an hour trying to figure out why NXApp wouldn't respond to "workspace". I have done this several times before, but its been a while. Anyway, I finally figured out that its "+"workspace, not "-"workspace. If you already have a category for Application like I do, toss this method in there to potentially save you much grief. @implementation Application (YourCatName) -(id <NXWorkspaceRequestProtocol>)workspace { return [[self class] workspace]; } @end Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Has anybody ported the libtiff utilities to the NeXT? Message-ID: <1993Apr25.115600.16372@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Sun, 25 Apr 1993 11:56:00 GMT I just got the tiff.tar.Z from stanford (still looking for a way to conert NeXTSTEP 24bit tiff to 8bit TIFF for WP 5.1 on a PC). This is code from 1990/1991. I haven't been able to find a newer version and i wondered if someone has ported this to the NeXT already. Thanks, -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: dmm0t@rincewind.mech.virginia.edu (David Meyer) Subject: Re: Has anybody ported the libtiff utilities to the NeXT? Message-ID: <C61s4t.3FJ@murdoch.acc.Virginia.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia References: <1993Apr25.115600.16372@rna.indiv.nluug.nl> Date: Sun, 25 Apr 1993 16:22:04 GMT In article <1993Apr25.115600.16372@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: >I just got the tiff.tar.Z from stanford (still looking for a way to conert >NeXTSTEP 24bit tiff to 8bit TIFF for WP 5.1 on a PC). > >This is code from 1990/1991. I haven't been able to find a newer version and >wondered if someone has ported this to the NeXT already. Version 3.0 of libtiff is on ucbvax.berkeley.edu:/pub/tiff. I don't recall that there was any porting involved. It just compiled - there's a Makefile.next and it worked. I also just found v3.0 and a v3.2 beta on isy.liu.se:/pub/tiff. Dave -- David M. Meyer Mechanical & Aerospace Engineering dmm0t@rincewind.mech.virginia.edu University of Virginia NeXTmail ok
Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.object From: greg@afs.com (Gregory H. Anderson) Subject: AFS Case Study followup Message-ID: <1993Apr25.155551.7414@afs.com> Sender: greg@afs.com Date: Sun, 25 Apr 1993 15:55:51 GMT As of this writing (4/25/93, 11:45 EST), I have mailed out a copy of the AFS object-oriented custom application development case study to each of the 167 people who requested it, or I have sent a message asking for more information. If you asked for a copy, but have no correspondence from me in the last week, some wires got crossed. Please try again. For those who missed the original offer, I'll repeat it, because many people expressed interest in using our paper to justify object-oriented projects they would like to undertake. We entered the OMG/Computerworld object-oriented custom applications contest, and our entry was in the form of a case study for a custom trading application we wrote in NEXTSTEP. Most of the document talks about object-oriented features used, project life cycle (analysis, development, deployment, maintenance), benefits, class hierarchies, code reuse, etc. Here is the abstract: ---------------------------------------------------------------------- The afs:TRADE Trading Management System is a custom application designed for the First National Bank of Chicago to manage its commercial paper trading and underwriting operations. The system provides on-line, real time access to all of the information needed by traders and salespeople as they make decisions throughout the trading day. As the sole data entry point for all securities transactions, it streamlines the flow of information between the front and back offices by printing a copy of each ticket and transmitting trade information to the mainframe accounting system. The afs:TRADE system runs in a client/server environment, with a Sun Sparc 2 database server and NeXT workstation clients. The front end application was designed and implemented with native NEXTSTEP tools in Objective C. Printing and communication daemons were written in ANSI C, because they run on both Sun and NeXT hardware. The application has been running in production since April 1992, and was recently upgraded to handle additional investment types. In addition, AFS has implemented distinct versions of the system for three new customers over the past year. High code reuse through subclassing and minimal maintenance requirements in those projects have proved the value of an object-oriented approach in custom applications. ------------------------------------------------------------------------- If you would like a copy, email greg@afs.com. PLEASE INDICATE WHAT FORMAT YOU WANT, AND WHETHER YOU PREFER NEXTMAIL OR COMPRESSED/UUENCODED. The original document was written in WordPerfect 5.1, and I can also output to a PostScript file. If you need a different format, please indicate, and I'll try to accommodate you. Worst case, we might resort to snail mail. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Single method to get events Organization: Primitive Software Ltd. Date: Sun, 25 Apr 1993 16:30:40 +0000 Message-ID: <1993Apr25.163040.8335@prim> Sender: usenet@demon.co.uk It would be nice if Application had just one method through which _all_ events are retrieved. If you're trying to intercept events en-route to a Text object or whatever, it's pretty clumsy at the moment (excluding the use of character filters), because different Application methods are used for the job and it's hard to piece together the correct sequence of events. Why not replace NXGetOrPeekEvent with an Application method? Dave Griffiths
Newsgroups: comp.sys.next.bugs,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin From: kgnome@cs.concordia.ca (MATIS stephane) Subject: Smalltalk building under NeXTSTEP 3.0 Message-ID: <C62Avt.AEp@newsflash.concordia.ca> Summary: GNU Smalltalk 1.1.1 Sender: usenet@newsflash.concordia.ca (USENET News System) Organization: Computer Science, Concordia University, Montreal, Quebec Date: Sun, 25 Apr 1993 23:07:05 GMT The following is the answer that I have received on my difficulty in "making" GNU Smallatlk 1.1.1 under NEXTSTEP 3.0. I have yet to try the posted "success", but I'm sure it will work. [Include Message]------------------------------------------------------- Date: Sat, 24 Apr 93 15:24:58 -0500 From: Chris Cleeland <milo!chris@wpa.com> To: MATIS stephane <kgnome@cs.concordia.ca> Subject: Re: GNU Smalltalk 1.1.1 Binaries sought Reply-To: chris%milo@wpa.com In comp.sys.next.programmer article <C5v5uy.HM1@newsflash.concordia.ca> you wrote: > Hello Folks! > > I'm looking for a set of GNU Smalltalk Binaries that run under 3.0, > but certainlly weren't compiled under 3.0, as it seems to be impossible. My > two attemptes failed, and according to gnu.smalltalk.bug, that's the general > gist of it. > > So please, could a good samaritan upload to cs.orst.edu or sonnata > a set of binaries for Smalltalk. I'm learning the language through the > Smalltalk tuorial, and have been very taken by it. I like the ploding > methodology ... after I'm done with this, I may finally get time to finish > my Garfinkel&Mahoney book and code in ObjC. > > In the meantime, I'll keep using my DGUX compiled edition, which > "seems" to work ok ... ( I'm having a strange bug related to a tutorial > example) > > > +---------------------------------+ ___ ___ ___ > | Stephane I. Matis | / \_BATLLETECH /\__\ Viva NeXT! > | E-Mail : kgnome@cs.concordia.ca | \___/ \___/ \/__/ NeXTSTEP 3.0! > | "It Just Works..." - Steve Jobs | \___/ > +---------------------------------+ Wolfnet Operative & NeXThead You really can get it to compile under NS3.0. It takes some work, though. The problem lies in compiling mstinterp.c and using the NeXT-tweaked preprocessor. If you look in /lib, you'll see both "cpp" and "cpp.precomp". The default preprocessor is the latter. It appears to have a bug in it which processing mstinterp provokes. What I did was to simply make a copy of mstinterp.c to mstinterp.c.orig. Then, I ran /lib/cpp (with the appropriate arguments from the Makefile) to produce mstinterp.i; after this, I ran cc on mstinterp.i and viola', it linked! I need to report these to both gnu.smalltalk.bug and NeXT. I'm having some problems posting from my machine at the moment, and I don't get gnu.smalltalk.bug. Would you mind passing it on? I've got to figure out where to mail for NeXT bugs. Good luck! And let me know if you need more help! -- ------------------------------------------------------------- Chris Cleeland | Internet: chris%milo@wpa.com Consultant/NeXT Advocate | UUCP: wupost!nimno!milo!chris Milo Designs | BellNet: (314) 771-3860 [End of Include]------------------------------------------------------- +---------------------------------+ ___ ___ ___ | Stephane I. Matis | / \_BATLLETECH /\__\ Viva NeXT! | E-Mail : kgnome@cs.concordia.ca | \___/ \___/ \/__/ NeXTSTEP 3.0! | "It Just Works..." - Steve Jobs | \___/ +---------------------------------+ Wolfnet Operative & NeXThead
Newsgroups: comp.sys.next.programmer From: kjell@oops (Kjell Nilsson) Subject: Hiding Instance Variables Message-ID: <1993Apr26.095207.3440@oops.se> Sender: kjell@oops.se Date: Mon, 26 Apr 1993 09:52:07 GMT What is the common way (if there is ?) of defining instance variables that don't show up in the interfacefile? Thanks Kjell OOPS - ObjectWareHouse
From: shin@sgtp.apple.juice.or.jp (Sugou Shinichirou) Newsgroups: comp.sys.next.programmer Subject: Re: Anyone know how to convert from 'context' to 'DPSContext'? Message-ID: <SHIN.93Apr26163921@sgtp.sgtp.apple.juice.or.jp> Date: 26 Apr 93 07:39:21 GMT References: <C5I33H.DrF@watserv1.uwaterloo.ca> Sender: shin@sgtp.apple.juice.or.jp Organization: SG Total Planning, Japan In-reply-to: mhenry@morpheus.UWaterloo.ca's message of 15 Apr 93 10:06:52 JST In article <C5I33H.DrF@watserv1.uwaterloo.ca> mhenry@morpheus.UWaterloo.ca (Mark Henry) writes: Hi everyone, In my application, I am using the function PSCurrentactiveapp to get the context of the currently active application. However, this returns a value that is not of type DPSContext. For example, in the code below: - appDidInit:sender { int ctxt; DPSContext curContext = DPSGetCurrentContext(); PScurrentactiveapp(&ctxt); } curContext and ctxt contain different values, of different data types. Anyone else had this problem? Any suggestions on how to convert the 'ctxt' value to a DPSContext would be most appreciated. NeXT manual says that ---------------------------------- PScurrentactiveapp(int *context) Warning: Don't use this function if you're using the Application Kit. ---------------------------------- -- Shin'ichirou Sugou (NeXTmail acceptable)
From: robert@amo.mit.edu(Robert Lutwak) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: NS/I Interrupt latency Date: 26 Apr 1993 11:47:14 GMT Organization: Massachvsetts Institvte of Technology Message-ID: <1rgi42INN6ca@senator-bedfellow.MIT.EDU> Hi. I'm considering the feasibility of porting my DOS-based real time acquisition system to NS-Intel. Running DOS on my 486DX2-66 it takes an average of about 10 microseconds from the time I apply a hardware interrupt pulse until my first instruction is called (In the absence of disk or video access). Naturally, kernel-based systems do worse than this. IBM advertises a 3 milli-second maximum kernel interrupt latency. There's no mention of this in the glossy NeXT NS/I advertising. Has NeXT made a statement concerning the NS/I interrupt latency? Has anybody measured it (with and without active "Uninterruptable" kernel processes)? Finally, is anybody working on a commercial real-time acquisition system? Anybody who has seen LabView on Macs or DACQ on HP workstations must appreciate the market that opens up now that we have a decent operating system to go with the THOUSANDS of low-priced acquisition accessories that are available for the ISA bus. -- Robert Lutwak robert@amo.mit.edu MIT Atomic Resonance and Spectroscopy Laboratory ---- NeXTmail always welcome ----
Newsgroups: comp.sys.next.programmer From: climpach@avalon.physik.unizh.ch (Christian Limpach) Subject: sound output Message-ID: <1993Apr26.125033.4889@ifi.unizh.ch> Sender: news@ifi.unizh.ch (USENET News Admin) Organization: University of Zurich, Department of Computer Science Date: Mon, 26 Apr 1993 12:50:33 GMT Hi, I am trying to output some Soundframes, one after another without blanks. Until now I have done something like this: I allocate two buffers (+-1MB which is about 2 seconds with 16bit stereo and 44100Hz) I fill buffer 1 and buffer 2 I start playing buffer 1 with a SNDStartPlaying and endFun set to FramePlayer I start playing buffer 2 with a SNDStartPlaying and endFun set to FramePlayer FramePlayer calculates fills up the buffer which was just played and starts playing it again with a SNDStartPlaying with endFun again set to FramePlayer. This does exactly what I want, except that I start playing around with the mouse moving windows and so on, the sound stops for little moments. I have done some debugging on this and it seems like there is always something to play. It seems like sometimes the sound is stopped not because there are no play instructions anymore, but because of something else... Is SNDStartPlaying the right way to accomplish this or is there another call I could use ??? christian
Newsgroups: comp.sys.next.programmer From: climpach@avalon.physik.unizh.ch (Christian Limpach) Subject: is 'as' able to produce pc relative code ??? Message-ID: <1993Apr26.125523.4994@ifi.unizh.ch> Sender: news@ifi.unizh.ch (USENET News Admin) Organization: University of Zurich, Department of Computer Science Date: Mon, 26 Apr 1993 12:55:23 GMT Hi, I have to use (because of the speed) some assembler parts in my programm. It seems to me like 'as' is not able to generate pc relative addressing. Something like 'lea pc@(test),a0' just doesn't put the address of test in a0. Is this a problem with 'as' or am I doing something wrong ??? If it's an 'as' problem, will a new version of 'as' help ??? christian
Newsgroups: comp.sys.next.programmer From: climpach@avalon.physik.unizh.ch (Christian Limpach) Subject: why is 'cc' not compiling this right ??? Message-ID: <1993Apr26.130437.5641@ifi.unizh.ch> Sender: news@ifi.unizh.ch (USENET News Admin) Organization: University of Zurich, Department of Computer Science Date: Mon, 26 Apr 1993 13:04:37 GMT From climpach Sat Apr 24 22:53:24 1993 Subject: next modfile player To: kesseler@restena.lu (Georges Kesseler) Date: Sat, 24 Apr 1993 22:53:24 +0100 (MET) X-Mailer: ELM [version 2.4 PL21] Content-Type: text Content-Length: 2106 Status: OR hi, in the following piece of code, the two calls to Paula( int) are not identical. In the one which is commented out, the parameter is wrong. int FramePlayer(SNDSoundStruct *sound, int tag, int err) int i,offset; int s,sloc,samp; offset=0; for(i=0;i<precalc;i++) { offset+=4*AudioFrameSize; s=(int)sound; sloc=sound->dataLocation; samp=s+sloc; /* Paula((int)sound+sound->dataLocation+offset-4*AudioFrameSize);*/ Paula(samp+offset-4*AudioFrameSize); mt_music(); } sound->dataSize=offset; SNDStartPlaying(sound, tag+2, 5, 0, SND_NULL_FUN, FramePlayer); } The compiler generates completely wrong code, there are multiplications by 112 and 28 and things like this. Is there a bug in 'cc' ??? christian
Newsgroups: comp.sys.next.programmer From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) Subject: Re: Objective-C compiler as an OBJECT ??? Message-ID: <1993Apr26.150543.4776@dvorak.amd.com> Sender: usenet@dvorak.amd.com (Usenet News) Organization: Advanced Micro Devices, Inc.; Austin, Texas References: <1993Apr24.092250.502@gleap.jpunix.com> Distribution: usa Date: Mon, 26 Apr 93 15:05:43 GMT In article <1993Apr24.092250.502@gleap.jpunix.com> clloyd@gleap (Charles C. Lloyd) writes: >>Ron Pomeroy x(Coop) writes >>>Something just occured to me.... >>> >>>Is it within the realms of reason to think the compiler itself could be >>wrapped >>>in/and treated as...a class ? I've got a Compiler class in Smalltalk. Could >>I >>>have one in Obj-C ? >>> >>> aClass = [GCCCompiler compile: (NXCodeStream *) aStream]; >>> >>>Can we ever hope to have an Objective-C environment as dynamic as >>>Smalltalk/ObjectWorks ??? I'm glad to see SOMEONE responded to this... >>Personally, I think having a Compiler object is wrong. Making a noun out of a >>verb by adding "er" just doesn't cut it. Using the noun/verb approach to OO modeling is (IMHO) a big mistake. There are plenty of "verb" metaphors that deserve to be modeled as a class. Anything that can be described strictly in terms of it's behavior (actions) and carries no state information (ala instance variables) would satisfy this. These type of objects are not as common as the so-called "noun" objects, but they occur nontheless. Being open minded though, I'm still open to you point of view. >>Compilation is an action therefore >>compile should be a method of some class. What class? Well, what is it we're >>compiling? A file? NO! A Class? NO! We are compiling a _Method_. Therefore, >>I think you need a class called Method which holds a string (the >>implementation), and which can compile itself. What's the relationship between a method and a class. Can/should a method exist apart from its class ? If yes, is a method an object ? After all in an object oriented world everthing is supposed to be an object, no ? >>I'd like to see an abstract class called Method with subclasses such as >>ObjCMethod, SmalltalkMethod, SelfMethod, etc. Then, you simply send the >>compile message to an instance of Method (whatever the actual subclass would >>be), and you get back a CompiledMethod. Now, to carry this further, the >>subclasses of CompiledMethod could be MotorolaCompiledMethod, >>IntelCompiledMethod, MIPSCompiledMethod, etc. This seems reasonable, but I still have concerns about the relationship between methods and class with this approach. Are we violating the idea of encapsulation ? After all, objects are described in terms of their state (instance variables if any) and their behavior (methods they implement). Doesn't this make a method seperate from the class that implements it ? >>What would really be nice would be if the LangMethod classes would produce an >>ANDFMethod (Architecture Neutral Distribution Format Method) and the ANDFMethod >>would respond to the becomeMotorola, becomeIntel, becomeMIPS, methods. Then we >>could distribute archived ANDFMethods and generate the proper, >>architecture-specific methods on site. A new architecture could be brought >>into the fold by just writing a new becomeXXX method for the ANDFMethod class >>(not to belittle that task). >> >>This would also be cool because classes could then be moved around on the net >>to different architectures unknown and they would then be converted once they >>got there. Smalltalk allows for this via is virtual machine bytecodes. >> Well, I just poked around in ObjectWorks for awhile and found the following classes CompiledMethod InstructionStream Message MessageSend Compiler Boy, in Smalltalk EVERYTHING is an object! From what I can see your ideas are fairly parallel to Smalltalk's. It appears that methods do exist apart from their classes for you can as an instance of method which class they were compiled in. But, back to my real question about the compiler being a class. I still think the compiler should be a class (even if there is only one instance in the system). An object whose behavior is to compile classes and methods. I don't think this really conflicts with what you've said about mthods. Internally, your LangMethod class could send a message to the Compiler class to get the job done. >>Objective-C will only become as cool as Smalltalk when it begins to look almost >>exactly like Smalltalk. For now, its a great compromise (IMHO, the best there >>is). If NeXT doesn't endeavor to become more purist in its treatment of OOP, >>then someone else will and NeXT will be a distant memory. Well, we are in complete agreement on that ! -- Ronald Pomeroy Advanced Micro Devices CAM Applications Group rpomeroy@aunext1.amd.com (NeXTmail is more fun)
From: doodle@diddle.com Newsgroups: comp.sys.next.programmer Subject: memory allocation problem in 3.0? Date: 26 Apr 1993 17:25:53 GMT Organization: Stanford University Message-ID: <1rh5v2$g2o@morrow.stanford.edu> I have an app which has been running nicely for a couple of years under 2.x. When I run it now under 3.0 (after recompilation) it appears (according to ps -u) to be requiring over 45Mb of memory immediately after startup. If I run it on the full input file of 50K records as usual, it crashes while reading them in with: failed on vm_allocate Bus error If I truncate the input file at 30K records or fewer, it still runs but hogs time and space much more than it ever did before. Is there some simple explanation for this? Is there an equally simple fix or workaround? *--*--*--*--* Eric Minch Dept. of Genetics Stanford University *--*--*--*--*
From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: Views and Subviews (Part ][) Date: 26 Apr 1993 17:51:35 GMT Organization: Georgia Institute of Technology Message-ID: <1rh7f7INNrs5@mephisto.gatech.edu> References: <C5xAo6.5o4@hatch.socal.com> In article <C5xAo6.5o4@hatch.socal.com> me@zipbang.socal.com writes: >[problem with overlapping Views in a ScrollView] >So, what's the hot tip? Try the following in your "big" view: - drawSelf:(const NXRect *)rects :(int)rectCount { NXRectClip(rects); This should keep the big View from overdrawing the smaller one(s). Note -- if diagonal scrolling (i.e., simultaneous horizontal and vertical) is possible, you'll likely need to construct a clipping path out of rects[1] and rects[2] when rectCount is 3. -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: Clarification: -awakeFromNib for palette File's Owner class at load time Message-ID: <C63tCH.8s2@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA References: <C60t4H.3I2@sounds.wa.com> Date: Mon, 26 Apr 1993 18:43:29 GMT After talking to Michael B. Johnson <wave@media.mit.edu> about similar problems he is having with IB Test mode, I realized that my original question did not fully explain my situation. I am not worried about the bug in IB Test mode where objects are not sent -awakeFromNib when they are unarchived, I am concerned because my palette objects do not receive -awakeFromNib messages at the time when InterfaceBuilder loads the palette bundle. I need to initialize the objects BEFORE they are copied to a user's nib in IB, and long before IB Test mode would be possible. These two problems, Michael's and mine, seem to indicate a common cause. Perhaps InterfaceBuilder has a private -loadFromNibSection:owner: method which does not fully implement the features of the version available at app run time (?). Anyone... ? Brian Willoughby writes | | I am baffled as to why -awakeFromNib is not being called for my IBPalette | subclass. The class is properly selected as the File's Owner, but the method | is never called {I have an fprintf(stderr, "..."); line inside the method} | | Basically, what I need is something equivalent to -appDidInit:, which is | called after all outlets have been set, for my Interface Builder palettes. | From the description of -awakeFromNib, I am led to believe that it would be | the correct choice. I have never been able to get it to work in a palette, | though. I usually have to resort to using -setOutletName:anObject, and | avoiding dependencies between the objects for each outlet. | | There seem to be a significant number of palette developers reading this | group. What is the method that everyone else is using to initialize their | palette objects? | | Thanks in advance (email responses preferred, since I rarely read News any | more). -- Brian Willoughby Software Design Engineer, BSEE NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA
Newsgroups: comp.sys.next.programmer From: cbliek@dcc.uchile.cl (Christian Bliek) Subject: akcl and graphics Sender: usenet@dcc.uchile.cl (Network News) Message-ID: <1993Apr26.190627.26333@dcc.uchile.cl> Date: Mon, 26 Apr 1993 19:06:27 GMT Organization: Universidad de Chile, Depto. de Ciencias de la Computacion Did anyone go through the exercice of loading NeXTStep graphics stuff into akcl? It looks as if one needs to rebuild akcl to include the shared libraries ... any hints? Thanks, Christian (cbliek@dcc.uchile.cl)
Newsgroups: comp.sys.next.programmer From: sandoval@hawaii.edu (Bill Sandoval) Subject: Initializing subclasses of NXBitmapImageRep Message-ID: <C5ytCM.8s5@news.Hawaii.Edu> Sender: news@news.Hawaii.Edu Organization: University of Hawaii Date: Sat, 24 Apr 1993 01:55:33 GMT Does anyone out there know how to initialize a subclass of NXBitmapImageRep? What I'm trying to do is define a subclass that renders HDF files. I'm confused about how to actually initialize the object. For example, I want my class, MyImageRep, to be initialized via a call to initFromFile; but how do I init my instance from within this method? If I call [super init], then I'll get an error according to the documentation of NXBitmapImageRep. I also can't call [super initFromFile], because that expects the given file to hold TIFF data. It's a dilemma. Any suggestions? Thanks in advance. Bill -------------------------------------------------------------------------- Bill Sandoval, sandoval@hawaii.edu Dept. of Information & Computer Sciences University of Hawaii - Manoa --------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: jkraj@fnbc.com (Jim Krajewski) Subject: Re: Multiple palettes with shared code: how? Message-ID: <1993Apr26.193013.8249@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Apr22.101852.5167@prim> Date: Mon, 26 Apr 93 19:30:13 GMT In article <1993Apr22.101852.5167@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > In article <1993Apr21.135012.975@afs.com> jon@afs.com writes: > >I've got this problem, see... > > > >I've got a palette, which I want to break into two palettes. Problem is, > >they both use a couple of .c files. If I have the .c files in both projects > >and compile, I can only load one palette at a time. Loading the second > >causes IB to crash. If I take the .c files out of one project, then that > >palette is dependant upon the other- it won't load unless the other is > >loaded first. > > > >Has anyone encountered this before and found a solution? > > Eek. Interesting point. I was going to suggest putting the common code into a > dynamically loadable bundle, but that won't work because the palette load > will fail owing to unknown symols in rld (you could kludge it by making the > ..c functions into class methods though). Your problem also applies elsewhere. > Supposing you want multiple WorkSpace Manager inspectors that share common > code? I just tried to put a +finishLoading into a bundle that has an > unresolved external (in the hope that I could then load the common bundle), > but the rld() doesn't let it get that far. > > Sounds like some way of bootstrapping common code is required. > > Dave Griffiths The problem is with bundles and not with the rld facility. Bundles only allow you to resolve it's externals with what's already loaded or from the main application. The rld facility is more flexible, however. The trick is to load in your code with the function, objc_loadModules(), which will take a list of library files (ordinary .a's) along with object files (.o's). The rld facility will only load library members if they're needed (including ordinary C functions). Put your code that's shared with other bundles into libraries and list the libraries in all your objc_loadModules() calls. Subsequent bundles needing the shared code will reference the library member(s) already loaded. I currently do this to use common code in IB palettes. Jim Krajewski jkraj@fnbc.com
Newsgroups: comp.sys.next.programmer From: finton@barney.cs.wisc.edu (David J. Finton) Subject: Printing app window loses gray shades - why? Message-ID: <1993Apr26.223632.20431@cs.wisc.edu> Keywords: printPSCode, ScrollView, setSelGray, ... Sender: news@cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. References: <C5ytCM.8s5@news.Hawaii.Edu> Date: Mon, 26 Apr 1993 22:36:32 GMT I'm trying to get my app to print a window of output, complete with the correct gray shades for characters. My app writes to the window by making a zero-length selection at the end and replacing it with text. And sometimes the app takes that text and uses setSelGray to change its shading. So the window has the text with different gray shadings to show which data is used and which is excluded for a given scenario. The problem is that my printText method grabs the text, but not the shadings. All text prints out black, and the font is bigger than in the window (which was set with a smaller font), so not all the text fits on a page for the printing. And the text which doesn't fit is simply ignored, even in Preview. Here's printText: - printText:sender { [[[NXApp keyWindow] firstResponder] printPSCode:sender]; return self; } I know that if I draw in a window I need to save the image data somehow. But I was hoping that for text there would be some easier method, which would just grab the text, in a rich text mode, perhaps. What's the easiest way of fixing printText so it can print the text as it appears to the user? Thanks, David
From: bill@alamut.cognet.ucla.edu (William M. Eldridge) Newsgroups: comp.sys.next.programmer Subject: Re: C++ parser - gcc Date: 26 Apr 1993 16:00:15 -0700 Organization: UCLA Cognitive Science Research Program Message-ID: <1rhphv$34h@alamut.cognet.ucla.edu> References: <1993Apr8.131043.80156@embl-heidelberg.de> <1993Apr8.194812.12780@fnbc.com> <116380@bu.edu> simon1@bass.bu.edu (Simon Streltsov) writes: >Hi ! >Where can I get GNU c++ source code ? >Or any other public domain C++ front end if such exist. >Thanks a lot. Have you looked at gcc? Version 2.3.3 compiled easily (though it takes a long time) on my color turbo. Bill -- {{{{ bill eldridge 310-206-3960 x }}}} {{{{ bill@cognet.ucla.edu 310-206-3987 fax xxx }}}} {{{{ ~more, ~better, ~faster [80's motto] x }}}} {{{{ ~hot, ~toxic, and ~shallow [90's motto] }}}}
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.lang.postscript Subject: Hacked FIX! -- (HP LaserJet 4M PS Problem with NeXT Calibrated Color) Date: 27 Apr 1993 06:54:06 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1rilae$ga0@agate.berkeley.edu> References: <1r8n78$mvg@agate.berkeley.edu> Keywords: Calibrated Color, CIEBasedABC, DecodeLMN, setgray, setrgbcolor, HP LaserJet, NeXT In article <1r8n78$mvg@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi Ohzawa) writes: >In article <1qvlm6$22l@rosie.next.com> Ali_Ozer@NeXT.com (Ali Ozer) writes: > >>Another option is to use the >>NXColorCalibrateLevelOneOps default to turn of color calibration of "old" >>operators such as setrgbcolor from your application: >> >> dwrite appname NXColorCalibrateLevelOneOps NO >> >>Note that this forced color calibration is only done on EPS files. If your >>application itself generates "setrgbcolor," it's left uncalibrated. > >I am having a related problem with printing on HP LaserJet 4M 600 dpi >(with PS), and I have determined that this problem has to do with >color calibration. > >The symptom is that all setgray value >= 0.84 becomes completely white and >there is no gradation for setgray values in the range 0.84 - 1.0. >(0=Black, 1=White). >This only happens with HP LaserJet 4 (with PS SIMM). Exactly the >same file printed on NeXT 400dpi laser printer shows good shades of >grays for all values (0 - 1). >This obviously messes up my density plots (light gray becomes complete >white). > >I am NOT importing any EPS files. All the PS code is generated solely >by my application and AppKit (printPackage.ps). So, Ali's suggestion >of doing the above dwrite doesn't work for me. Here's a quick fix for the above setgray problem for low density (0-16%, near-white) grays on HPLJ4. I have done a trial-and-error adjustments of the /DecodeLMN entry in the CIEBasedABC color space dictionary in the NeXT's printPackage.ps (/usr/lib/NextStep/printPackage.ps) for level-2 devices. This makes output from the HP LaserJet4M with PS option OK for our use, and has no ill effects on the NeXT 400dpi Laser printer, or on any level-1 printers. This change might not be optimal for other PS level-2 printers, or level-2 color printers. Judging from the responses posted and mailed to me. The problem seems to be quite wide-spread among many level-2 printers. Similar problems are reportedly seen on: Apple LaserWriter IIg (with PhotoGrade enabled), 0-25% density -> white. Apple LaserWriter 630 Pro, 0-18% density -> white. Xerox Docutech 600dpi, 0-20% density -> white. HP LaserJet 4 w/PS, 0-16% density -> white. Presumably, these variations require adjustments to the two numbers in the line below that specifies /DecodeLMN array. My correction simply does a linear transformation for clamping the 0% and 100% density end-points of the gray scale. Ideally, there is a better non-linear transformation that gives you gray-scale linearity, but I don't have time or equipment to do that calibration. Perhaps, modifying /usr/lib/NeXT/printPackage.ps is bad, especially considering possible side effects, and this kind of thing may be possible with PPD files. I don't know. Any case, I thought some of you might want to see a quick fix that may make the printer usable. A strange thing is that none of the changes I make in this process makes a damn difference to the gray scales on the NeXT 400dpi laser printer. It makes me suspect that NeXT may have cheated here by disabling the whole Calibrated Color space thing for the 400dpi printer. Here's the hacked patch to /usr/lib/NextStep/printPackage.ps: # diff -c printPackage.ps.orig printPackage.ps ----- cut here ------------------------------------------------------------ *** printPackage.ps.orig Tue Jul 21 16:59:24 1992 --- printPackage.ps Mon Apr 26 19:05:33 1993 *************** *** 146,152 **** /NXCalibratedRGBColorSpace where{pop}{ /NXCalibratedRGBColorSpace {mark /NXCalibratedRGB /ColorSpace findresource exch pop}stopped ! {cleartomark /NXCalibratedRGB[/CIEBasedABC 2 dict dup begin /MatrixLMN[.4124 .2126 .0193 .3576 .7152 .1192 .1805 .0722 .9505]def /WhitePoint[.9505 1 1.089] def end] /ColorSpace defineresource}if def}ifelse /nxsetrgbcolor{NXCalibratedRGBColorSpace setcolorspace setcolor}__NXbdef --- 146,153 ---- /NXCalibratedRGBColorSpace where{pop}{ /NXCalibratedRGBColorSpace {mark /NXCalibratedRGB /ColorSpace findresource exch pop}stopped ! {cleartomark /NXCalibratedRGB[/CIEBasedABC 3 dict dup begin ! /DecodeLMN[{0.04 add 0.81 mul} bind dup dup] def /MatrixLMN[.4124 .2126 .0193 .3576 .7152 .1192 .1805 .0722 .9505]def /WhitePoint[.9505 1 1.089] def end] /ColorSpace defineresource}if def}ifelse /nxsetrgbcolor{NXCalibratedRGBColorSpace setcolorspace setcolor}__NXbdef -- cut here -------------------------------------------------------------------- *** Use at your own risk! *** -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: ramesh@mishna.esys.cwru.edu (Ramesh Doddamani) Newsgroups: comp.sys.next.programmer Subject: DBModeller Crashing - Any known reasons? Date: 27 Apr 1993 07:46:47 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1riod7$kb1@usenet.INS.CWRU.Edu> Hello I was creating some relationships in my model using DBModeller and it crashed a few times with the following messages: --------- xxxxxxxxxxx--------------------- Blasted a Property. Blasted a Property. Blasted a Property. Apr 27 03:13:37 mishna WindowServer[181]: IPCFlushOutput: failed to flush output for stream 0x5e8a50. Apr 27 03:13:37 mishna WindowServer[181]: IPCFlushOutput: failed to flush output for stream 0x5e8a50. Blasted a Property. Apr 27 03:22:00 mishna WindowServer[181]: IPCFlushOutput: failed to flush output for stream 0x3f4810. Blasted a Property. Blasted a Property. Blasted a Property. -------------------- xxxxxxxxxxxxx -------------------- Does anybody know what could be going wrong? Thanks in advance. Ramesh -- ******************************************************************** Ramesh Dodamani <<REPLY TO rxd20@po.cwru.edu>> Case Western Reserve University Cleveland OHIO ********************************************************************
Newsgroups: comp.sys.next.programmer From: BrianW@SoundS.WA.com (Brian Willoughby) Subject: Answer: -awakeFromNib for palette File's Owner class at load time Message-ID: <C64tBu.3tz@sounds.wa.com> Sender: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA References: <C63tCH.8s2@sounds.wa.com> Date: Tue, 27 Apr 1993 07:40:41 GMT And the answer is: -finishInstantiate (see the General Reference and Developer's Release Notes) Thanks to Ken Case <kc@omnigroup.com> and Michael Allen Latta <harit@kripalu.com> Special thanks to Michael B. Johnson <wave@media.mit.edu> for a long and revealing discussion on many things "IB". thanks all. Brian Willoughby writes | I am not worried about the bug in IB Test mode where objects are not sent | -awakeFromNib when they are unarchived, I am concerned because my palette | objects do not receive -awakeFromNib messages at the time when | InterfaceBuilder loads the palette bundle. I need to initialize the objects | BEFORE they are copied to a user's nib in IB, and long before IB Test mode | would be possible. | | Brian Willoughby writes | | Basically, what I need is something equivalent to -appDidInit:, which is | | called after all outlets have been set, for my Interface Builder palettes. | | From the description of -awakeFromNib, I am led to believe that it would be | | the correct choice. I have never been able to get it to work in a palette, | | though. I usually have to resort to using -setOutletName:anObject, and | | avoiding dependencies between the objects for each outlet. -- Brian Willoughby Software Design Engineer, BSEE NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA
From: jimc@tau-ceti.isc-br.com (Jim Cathey) Newsgroups: comp.sys.next.programmer Subject: Re: How to read contents of another app's window? Message-ID: <3415@tau-ceti.isc-br.com> Date: 27 Apr 93 00:43:48 GMT References: <1993Apr24.172905.6240@prim> Organization: Olivetti North America, Spokane, WA In article <1993Apr24.172905.6240@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >What's the best way to read the contents of an arbitrary window (e.g. of >another app), given the postscript number of that window? What I wanted to What's the best way to ensure that a window can't be 'stolen' across the network or by another logged-in user, for security reasons? Ensure that the spyee has to validate such a trick, or make it impossible to do at all? -- +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ One Design to rule them all; one Design to find them. One Design to bring them all and in the darkness bind them. In the land of Mediocrity where the PC's lie.
From: jimc@tau-ceti.isc-br.com (Jim Cathey) Newsgroups: comp.sys.next.programmer Subject: Re: Objective-C compiler as an OBJECT ??? Message-ID: <3416@tau-ceti.isc-br.com> Date: 27 Apr 93 00:47:09 GMT References: <1993Apr23.184214.8928@dvorak.amd.com> <1993Apr24.092250.502@gleap.jpunix.com> Organization: Olivetti North America, Spokane, WA In article <1993Apr24.092250.502@gleap.jpunix.com> clloyd@gleap.jpunix.com writes: >is). If NeXT doesn't endeavor to become more purist in its treatment of OOP, >then someone else will and NeXT will be a distant memory. Maybe yes, and maybe no. If Intel doesn't endeavor to become more purist in its architecture, then someone else will and Intel will be a distant memory. If MS-DOS doesn't endeavor to become more purist in its architecture, then someone else will and MS will be a distant memory. If MS-Windows doesn't endeavor to become more purist in its architecture, then someone else will and MS will be a distant memory. Sadly, NOT! -- +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ One Design to rule them all; one Design to find them. One Design to bring them all and in the darkness bind them. In the land of Mediocrity where the PC's lie.
Newsgroups: comp.sys.next.programmer From: wfc@cl.cam.ac.uk (William Clocksin) Subject: +initialize method in a Category Message-ID: <1993Apr27.084254.11367@infodev.cam.ac.uk> Sender: news@infodev.cam.ac.uk (USENET news) Organization: U of Cambridge, England Date: Tue, 27 Apr 1993 08:42:54 GMT Ever tried supplying an +initialize method for a Category of some class X which also has a +initialize method? I naively thought the system would call both methods at the appropriate time, thus initialising the class and any of its categories that wanted to do their own initialisation. No, it seems that the class's +initialize is not called. Perhaps the category definition has replaced it? Since finding this feature, I have been unable to locate any documentation about it. Is the question of +initialize'ing categories a well known problem? It is easily worked around, of course. ---------------------------------------------------- W.F. Clocksin, Assistant Director of Research, Computer Laboratory, University of Cambridge Pembroke Street, Cambridge CB2 3QG, U.K. Internet: wfc@CL.cam.ac.uk (NeXTMail is acceptable) Tel UK: (0223) 334628. Tel (Int'l): +44 223-334628. Fax UK: (0223) 334678. Fax (Int'l): +44 223-334678.
Newsgroups: comp.sys.next.programmer From: ric-mommer@uiowa.edu Subject: Looking for a simple NeXTapp Sender: news@news.uiowa.edu (News) Message-ID: <1993Apr27.084455.24908@news.uiowa.edu> Date: Tue, 27 Apr 1993 08:44:55 GMT Organization: University of Iowa, Iowa City, IA, USA I have a dimension system with a scanner and know very little about programming. I would like to have a simple NeXTapp that runs in the background that will search a directory and NeXTmail a note to a list of people based on the name of the file in that directory, ie. samplelist-930428-0800.tiff would NeXTmail out a single tiff image at 8am on April 28 to a list of people setup in a "samplelist" data file. WHY? Lets say I had hundreds of FarSide calendar cartoons and other misc cartoons I would like to mail out to a group of my friends each day. I think It'd be kinda nice to see each day's Far Side when I check mail and so do a few friends. Yes, this particular *hypothetical* is an infringement of copyright, but it is of course, just an example. Are there any novice programmers out there who have some spare time and can't think of anything particular to write? I can't really offer anything tangable for your effort, but I'd really appreciate it. know this is a stab in the dark, but I thought I'd give it a try. I appologize in advance if this request annoys anyone or is unreasonable. Thanks! Ric Mommer University of Iowa
Newsgroups: comp.sys.next.programmer From: adam@bastille.rmnug.org (Adam Fedor) Subject: loading nib files from a bundle (in 3.0) Message-ID: <1993Apr27.041722.20671@colorado.edu> Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado, Boulder Distribution: usa Date: Tue, 27 Apr 1993 04:17:22 GMT I'm having fun with bundles, and I got stuck on a problem loading nib files from a bundle. Is there a "nice" way to do this? I was hoping for something like: [NXApp loadNibFile:"myNib.nib" fromBundle: (NXBundle *)myBundle] but I can't find anything close to this. I've tried using NXBundle, objc_loadModules and loadNibSection:..., but I can't get any combination that works. Thanks for the help.
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Q: Need -awakeFromNib for palette File's Owner class Message-ID: <1993Apr26.144839.2725@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <C60t4H.3I2@sounds.wa.com> Date: Mon, 26 Apr 93 14:48:39 GMT In article <C60t4H.3I2@sounds.wa.com> BrianW@SoundS.WA.com (Brian Willoughby) writes: > > I am baffled as to why -awakeFromNib is not being called for my IBPalette > subclass. The class is properly selected as the File's Owner, but the method > is never called {I have an fprintf(stderr, "..."); line inside the method} > > Basically, what I need is something equivalent to -appDidInit:, which is called > after all outlets have been set, for my Interface Builder palettes. From the > description of -awakeFromNib, I am led to believe that it would be the correct > choice. I have never been able to get it to work in a palette, though. I > usually have to resort to using -setOutletName:anObject, and avoiding > dependencies between the objects for each outlet. > > There seem to be a significant number of palette developers reading this group. > What is the method that everyone else is using to initialize their palette > objects? > > Thanks in advance (email responses preferred, since I rarely read News any > more). > -- > Brian Willoughby Software Design Engineer, BSEE NCSU > NeXTmail welcome Sound Consulting: Software Design and Development > BrianW@SoundS.WA.com Bellevue, WA For palettes the method is -finishInstantiate. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: +initialize method in a Category Message-ID: <1993Apr27.100249.4459@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993Apr27.084254.11367@infodev.cam.ac.uk> Date: Tue, 27 Apr 1993 10:02:49 GMT In article <1993Apr27.084254.11367@infodev.cam.ac.uk> wfc@cl.cam.ac.uk (William Clocksin) writes: > > Ever tried supplying an +initialize method for a Category of some class X which > also has a +initialize method? I naively thought the system would call both > methods at the appropriate time, thus initialising the class and any of its > categories that wanted to do their own initialisation. No, it seems that the > class's +initialize is not called. Perhaps the category definition has > replaced it? Since finding this feature, I have been unable to locate any > documentation about it. Is the question of +initialize'ing categories a well > known problem? It is easily worked around, of course. The documentation of Object states this while comparing posing and categories: A method added by a posing class can, through a message to super, incorporate the superclass method it overrides. A method defined in a category simply replaces the previously defined method for the class; it can't incorporate the method it replaces. A method added by a posing class can override a method already defined for the existing class, even if the existing method is defined in a category. Methods defined in categories replace methods defined in the class proper, but they cannot reliably replace methods defined in other categories. If two categories define the same method, one of the definitions will prevail, but there's no guarantee which one. This should answer your question. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
From: erik@amg.de (Erik Doernenburg) Newsgroups: comp.sys.next.programmer Subject: Q: Information about Mail.app internals Date: 27 Apr 1993 14:38:06 GMT Organization: AMG Industrie Consulting GmbH Distribution: world Message-ID: <1rjggeINNlh7@hagen.amg.de> I've written a small service which makes it quite easy to rebuild files that were received from a ftp-mail-server in multiple parts. You simply have to select one of the parts in the Mail.app, choose 'collect and decode' from the services-menu and the programm automatically creates the package in the /tmp directory. The program already works fine, but I think I could make it work more efficient and error safe if I knew about two things concerning Mail.app: (1) The format of the 'table_of_contents' file in the Mailbox (This has been asked before but I cannot find it anymore...) (2) I obviously have to find out in which Mailbox the messages are stored in. It would be best to access the Mail.app process like the AppInspector does because the delegates of the windows (main window!) own a mailbox object which knows about the filename of the mailbox. This would allow me to find the right mbox file without any searching. If this doesn't work - can you imagine a more efficent way to determine which mailboxes are opened than reading their names from a popen("find Mailboxes -name .lock -print","r")? thanks in advance erik ______________________________________________________________________ Erik Doernenburg [message transmitted by 100% recyclable electrons] AMG Industrie Consulting GmbH erik@amg.de Centre for Advanced Perception of Music erik@pandora.do.open.de
Newsgroups: comp.sys.next.programmer From: guy@infotec.ch (Guy Roberts) Subject: Generation of .rtf manual pages from .h files, anything existing ? Message-ID: <1993Apr27.133402.6579@infotec.ch> Summary: Does such a tool exist ? Keywords: Manual pages, rich text format. Organization: Infotec S.A. Distribution: comp.sys.next.programmer Date: Tue, 27 Apr 1993 13:34:02 GMT I would ideally like to document every object class that I ever create or use in the same RTF style that NeXT use. Doing this with Edit takes time. The best way to do it might be to have a filter which took a header file as it's input and produced a rich text format skeleton manual page out of the other end. The RTF output would leave blank sections for the programmer to fill in with the explanation of methods and instance variables. If this tool existed one could use it on a directory of existing header files and drastically reduce the time needed to document them all. So, does this thing exist ? One brake on the spread of AppKit subclassed objects is probably the fact that many of those which do emerge into the public domain are not described well enough, if at all. A tool to automate the production of manual pages might help this situation. Objectively, Guy Roberts. -- Guy Roberts (guy@infotec.ch)Infotec S.A. phone: +41 22 738 44 36 5, Place Cornavin, fax: +41 22 738 29 12 Geneve, Switzerland.
Newsgroups: comp.sys.next.programmer From: emurphy@cs.uno.edu (Edward Murphy) Subject: Re: PAThumbWheel available on cs.orst.edu Message-ID: <1993Apr27.154304.5524@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans References: <1r3snd$1cs@rosie.next.com> Date: Tue, 27 Apr 1993 15:43:04 GMT Jeff Martin writes > > Move over NXSlider, there's a new control in town. PAThumbWheel offers the > functionality of Slider plus the features that you would expect from a > real thumbwheel (including 2 3/4 D Graphics!). > > PAThumbWheel has a linear display mode and a radial display mode and > offers the ability to assign a value to the visible region of the control > as well as an absolute value that the ThumbWheel will either ignore, bound > to or wrap around. > > PAThumbWheel can also return relative values via its -relativeIntValue & > -relativeFloatValue methods. A snap back option allows mouse loops to > start from and return to a base value. > > 1. ftp cs.orst.edu did that. > 2. cd pub/next/submissions done that. > 3. get PAThumbWheelPalette.tar.Z where is it?
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: DBKit fetchGroupWillChange: delegate method question Message-ID: <1993Apr27.141431.3141@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Tue, 27 Apr 93 14:14:31 GMT Has anyone failed to receive the fetchGroupWillChange: method from a DBModule? I have the DBModule as the textDelegate of a form and have verifide that the DBModule gets the textWillChange: method but no fetchGroupWillChange: method call results to the delegate of the DBModule. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: jack@atc-gwy.uucp (Jack "Big Daddy" Tolson) Subject: Sharp Wizard Organization: Advance Technology Consultants, Atlanta, GA Date: Tue, 27 Apr 1993 17:24:47 GMT Message-ID: <1993Apr27.172447.12610@atc-usa.com> Sender: jack@atc-usa.com (Jack "Big Daddy" Tolson) Hello world, I there anyone out there that has written some C code that will communicate with a Sharp Wizard. It does't matter what platform. IBM, NEXT, APPLE ... I just need an example to make a connection. I have the file format, but can't make the link........ Please help (Despirate)... jack@atc-usa.com
Newsgroups: comp.sys.next.programmer From: sandoval@hawaii.edu (Bill Sandoval) Subject: Re: Initializing subclasses of NXBitmapImageRep - THANKS Message-ID: <C65t11.JJJ@news.Hawaii.Edu> Sender: news@news.Hawaii.Edu Organization: University of Hawaii References: <C5ytCM.8s5@news.Hawaii.Edu> Date: Tue, 27 Apr 1993 20:31:48 GMT In article <C5ytCM.8s5@news.Hawaii.Edu> sandoval@hawaii.edu (Bill Sandoval) writes: > Does anyone out there know how to initialize a subclass of > NXBitmapImageRep? What I'm trying to do is define a subclass that renders > HDF files. I'm confused about how to actually initialize the object. > > For example, I want my class, MyImageRep, to be initialized via a call to > initFromFile; but how do I init my instance from within this method? If I > call [super init], then I'll get an error according to the documentation > of NXBitmapImageRep. I also can't call [super initFromFile], because that > expects the given file to hold TIFF data. It's a dilemma. > > Any suggestions? Thanks in advance. > Thanks to Karl Kraft for straightening me out on this. Please consider my question answered. Bill
From: mwelch@aardvark.ucs.uoknor.edu (Michael Welch) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP or IB-type Application for the Macintosh? Message-ID: <27APR199317195858@aardvark.ucs.uoknor.edu> Date: 27 Apr 93 23:19:00 GMT Article-I.D.: aardvark.27APR199317195858 Distribution: world Organization: Alabaster Films News-Software: VAX/VMS VNEWS 1.41 Lines: 31 I am interested in creating an educational application that uses Japanese characters extensively. Basically the program would be similar to a MUD, except in Japanese. Personally, I'd like to try something like this on a NEXTSTEP computer, but I am not sure if that will be possible, what with the price of capable PCs and NEXTSTEP, at least what they are quoted as being now. I'd like to have about 3-4 computers networked together, and each compuer should fall under the $3000 mark if possible. Okay. Now, since I'm not quite the programming type, I'd like to be able to get by as easily as possible on that end. So NEXTSTEP looks like somthing I'd be interested in. However, I am wondering about the support for Japanese. Is it possible to get NEXTSTEP/IP in Japanese yet? Would it be separate from the cost of NEXTSTEP/IP, or are the language modules similar to Apple's Worldscript? If so, what would be the cost involved in a US system plus Japanese extensions? Currently the Japanese Worldscripts for the Mac go for about $250 each, would this be the way to go? Any idea/info/help on what I should do? This is all through an educational institution, so EDU discounts are of some intrest. Also, if anyone would like to be involved/want more info on this project, please contact me personally. And replies on this group will be appreciated as well. Thank you very much! Michael W. ______________________________________________________________________________ Michael Welch 405.447.8149 mwelch@aardvark.ucs.uoknor.edu mwelch@uokucsvx ______"I used to dream and I used to vow...I wouldn't dream of it now"-M______ NeXTSTEP THE OBJECT _IS_ THE ADVANTAGE 1-800-TRY-NeXT
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Q: Information about Mail.app internals In-Reply-To: erik@amg.de's message of 27 Apr 1993 14:38:06 GMT To: erik@amg.de (Erik Doernenburg) Message-ID: <CEDMAN.93Apr27120959@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1rjggeINNlh7@hagen.amg.de> Date: Tue, 27 Apr 1993 16:09:59 GMT In article <1rjggeINNlh7@hagen.amg.de> erik@amg.de (Erik Doernenburg) writes: The program already works fine, but I think I could make it work more efficient and error safe if I knew about two things concerning Mail.app: (1) The format of the 'table_of_contents' file in the Mailbox (This has been asked before but I cannot find it anymore...) Get the mail-forward package by Chriss Paris from the archives. It contains (almost :-) ) complete documentation for the table_of_contents. (2) I obviously have to find out in which Mailbox the messages are stored in. It would be best to access the Mail.app process like the AppInspector does because the delegates of the windows (main window!) own a mailbox object which knows about the filename of the mailbox. This would allow me to find the right mbox file without any searching. If this doesn't work - can you imagine a more efficent way to determine which mailboxes are opened than reading their names from a popen("find Mailboxes -name .lock -print","r")? Why don't you just NXGetDefaultValue("Mail","MailDir") ? That should tell you where the mailboxes are right away. Then you append the mailbox name as given in NeXT Mail Attachments pasteboard. To find out which mailboxes are open, just check for the existance of '.lock' files in them. Playing around with the Mail.app process directly sounds like a terrible hack. Carl Edman
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: NEXTSTEP C++ question. Organization: MIND LINK! - British Columbia, Canada Date: Wed, 28 Apr 1993 00:06:06 GMT Message-ID: <23605@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) Sorry for my ignorance, but how well will Objective-C integrate with C++? Can Objective-C call a C++ object? How does it all integrate? Lets say you had some multi-threaded app, and you wanted the underlying software in C++, and then the interface on Objective-C, calling the C++ classes. Is this possible? How easy is this? Under NEXTSTEP 3.1, what version of C++ is supported? How good is the C++ support, really? What about C++ debugging suport? How soon will it be before Objective-C becomes mainstream on other platforms, like NT, OS/2, UnixWare, System 7, etc..? (ever?) I suppose a multi-threaded safe Objective-C isn't in the works. Does anyone have any advice about doing crossplatform development with NeXT, and other platforms. ?? I don't even think Visix's Galaxy supports NEXTSTEP, or am I wrong? Is NEXTSTEP an awkward platform to prototype C++ applications, targeted for NEXTSTEP and other environments? (I would hope not) Ian. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca -----------------------------------------------------------------------------
From: dockd@storm.cs.orst.edu (Dion Dock) Newsgroups: comp.sys.next.programmer Subject: Re: PAThumbWheel available on cs.orst.edu Message-ID: <1rkml1INNcdg@flop.ENGR.ORST.EDU> Date: 28 Apr 93 01:29:05 GMT Article-I.D.: flop.1rkml1INNcdg References: <1r3snd$1cs@rosie.next.com> <1993Apr27.154304.5524@cs.uno.edu> Organization: Computer Science Department, Oregon State University Files do not stay in the submissions folder forever. If it had a .README, I put it somewhere. Find it in index.4.93 (in the pub/next directory); that file has the current location of all files that are not in the submissions folder. Files with no .README are in pub/next/unknown. Dion next-ftp@cs.orst.edu -- Dion Dock __ __ NeXT mail? working on it / ) / ) / dockd@storm.cs.orst.edu / / o ______ / / _____. /_ /__/_<_(_) / <_ /__/_(_) (__/ <_
Newsgroups: comp.sys.next.programmer From: timm@zaphod.ncsa.uiuc.edu (Tim McClarren) Subject: Re: NEXTSTEP C++ question. Date: Wed, 28 Apr 1993 01:32:35 GMT Message-ID: <timm.735960755@zaphod> References: <23605@mindlink.bc.ca> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Ian_Upright@mindlink.bc.ca (Ian Upright) writes: >Sorry for my ignorance, but how well will Objective-C integrate with >C++? Can Objective-C call a C++ object? How does it all integrate? Well, yes, easily. >Lets say you had some multi-threaded app, and you wanted the underlying >software in C++, and then the interface on Objective-C, calling the >C++ classes. Is this possible? How easy is this? Yes, easy. >Under NEXTSTEP 3.1, what version of C++ is supported? How good is the >C++ support, really? What about C++ debugging suport? Dunno, good, good. >How soon will it be before Objective-C becomes mainstream on other >platforms, like NT, OS/2, UnixWare, System 7, etc..? (ever?) >I suppose a multi-threaded safe Objective-C isn't in the works. Dunno, hopefully not too long, I think 3.0's dispatch is thread-safe. >Does anyone have any advice about doing crossplatform development with >NeXT, and other platforms. ?? I don't even think Visix's Galaxy >supports NEXTSTEP, or am I wrong? No, dunno. >Is NEXTSTEP an awkward platform to prototype C++ applications, targeted >for NEXTSTEP and other environments? (I would hope not) No. Read the "C++" stuff on the 3.0 release. It explains all. -- Tim McClarren | "...a bajillion brilliant Jobsian lithium licks." grug@cup.portal.com
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Hiding Instance Variables Date: Tue, 27 Apr 1993 22:29:27 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <UfrSk7C00WA7Q66Ggk@andrew.cmu.edu> In-Reply-To: <1993Apr26.095207.3440@oops.se> Try putting more than one instance variable on the same line -- like: id foo, bar, baz; -David.
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: DBKit -- Custom Object Storage... Date: Tue, 27 Apr 1993 22:56:51 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <0frT9ny00WA7M66Ksx@andrew.cmu.edu> Has anyone out here dealt with storing Custom Objects/Data inside a database through DBKit? I'd love to ask you a few questions... Like is it true that archiving objects is too slow for practical use? And how should the DBFormatInitialization/DBFormatConversion protocols be used? Thanks. -David.
Newsgroups: comp.sys.next.programmer Subject: Popup menu problem solved! Message-ID: <C68AJF.AGA@news.otago.ac.nz> From: licinda@farli.otago.ac.nz (Licinda Woudberg) Date: Thu, 29 Apr 1993 04:45:15 GMT Sender: usenet@news.otago.ac.nz (News stuff) Organization: University of Otago A couple of weeks ago, I posted a query about using popup menus and w hy they worked in one place and not another. I thought it would be a good idea to warn you all so you don't make the same mistake I did. I was using the correct code and everything, but my method had the wrong name. As the interface builder documentation says: Connections between objects are established in one of two ways. If the source object responds to a setMyOutlet: message, it will be sent that message. So, using the example above, the Window object would receive a setDelegate: message. (Note that the system determines the message to send by capitalizing the first letter of the outlet's name and prepending "set".) If the object doesn't respond to such a message, the value of its outlet instance variable is set directly, without a message being sent. Th us, you don't have to implement a setMyOutlet: method for each outlet you declare for a custom object. Popup list is obviously one of these objects that does this, so for instance if you have a popup menu button on your window and have it connected to an id variable called thePopupButton, when you send a loadNibSection message to load the nib, in the process it will AUTOMATICALLY send the message setThePopupButton: with the argument being the id of the popup button. If you ever want to talk to your button again, you must take that value (sender) and assign it to your popup button (e.g. thePopupButton = send er;). If you don't have the set... method, the message is not sent. All this has a disadvantage in that if, as I did, you inadvertently give your method the wrong name, it can take a long time to figure out what is going on - no error messages, and your menu still sends its messages properly, but you just can't do anything with it because you don't know its id. The only reason I can see why they may want to do this sort of thing is so you can drag connections in interface builder and have them specifically re-established (particularly with a custom file's owner). This seems like a rather back door approach to me (at least in the case of popup menus), and I ca n't see why they don't leave it up to the programmer to explicitly send the messages in the awakeFromNib section. I'd be interested to hear from anyone who can see why it should be done this way. Thanks for all your help with the problem, but noone even hinted at this sort of problem, so I thought I'd better pass it on in case you come across it. Gideon. gideon@farli.otago.ac.nz p.s. I'm looking at the best way to automatically update menus according to which window is on top, and would be interested to receive any advice on that - I'll put together a separate posting on that if I can't work it out soon. you don't have the set... method, the message is not sent. All this has a disadvantage in that if, as I did, you inadvertently give your method the
Newsgroups: comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin Subject: Survey Pros & Cons OOP Message-ID: <1993Apr28.002754.3363@msus1.msus.edu> From: rustad@mhd.moorhead.msus.edu Date: 28 Apr 93 00:27:54 -0600 Organization: Moorhead State University, Moorhead, MN Object-Oriented Programming Survey This survey is a meant to find the current relationship between programmers and Object-Oriented Programming. Please return this survey before May 5, 1993. Return to rustad@mhd.moorhead.msus.edu Would you like a copy of the published statistics? (yes/no) _______ Your Occupation: __________________________________________________________________________ Years of Programming Experience: __________________________________ Programming Languages you're associated with: __________________________________________________________________________ Years of OOP experience: __________________________________ Your preferred OOP language: __________________________________________________________________________ Is there an advantage to OOP (yes/no) _________ Is OOP coding faster than traditional programming (yes/no) _________ Is OOP maintenance quicker and easier than traditional (yes/no or opinion): __________________________________________________________________________ Comments: (pros & cons with Object-Oriented Programming)
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Objective-C compiler as an OBJECT ??? Message-ID: <1993Apr27.224722.1169@gleap.jpunix.com> Date: Tue, 27 Apr 1993 22:47:22 GMT References: <3416@tau-ceti.isc-br.com> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Jim Cathey writes >In article <1993Apr24.092250.502@gleap.jpunix.com> clloyd@gleap.jpunix.com writes: >>is). If NeXT doesn't endeavor to become more purist in its treatment of OOP, >>then someone else will and NeXT will be a distant memory. > >Maybe yes, and maybe no. > >If Intel doesn't endeavor to become more purist in its architecture, >then someone else will and Intel will be a distant memory. > >If MS-DOS doesn't endeavor to become more purist in its architecture, >then someone else will and MS will be a distant memory. > >If MS-Windows doesn't endeavor to become more purist in its architecture, >then someone else will and MS will be a distant memory. > >Sadly, NOT! > Point taken. However, NeXT is not in the luxurious position of being a dominant player as are the members of the list you provide. NeXT is in catch-up mode when it comes to market/mind share and as a result must be *significantly* better than the competition, not just a player. NeXT is merely an alternative at this point is not strongly entrenched anywhere. If someone else comes along with a better alternative, there's no reason they can't scoop NeXT's potential market share. Yes, it bums me out too that there seems to be an inverse relationship between technical excellence and market acceptance. However, I am holding hope that all the animosity we see here on the internet directed towards the technology-stiffling Microsoft will ultimately result in a broad shift in public opinion. It seems politically correct to bash Microsoft at every chance. Perhaps this will have a positive effect on the chances of other companies who are interested in changing the way the world computes. Like I said, I'm hopeful, but not naive. Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: How to read contents of another app's window? Message-ID: <1993Apr28.074722.28300@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Apr24.172905.6240@prim> <3415@tau-ceti.isc-br.com> Date: Wed, 28 Apr 1993 07:47:22 GMT In article <3415@tau-ceti.isc-br.com> jimc@tau-ceti.isc-br.com (Jim Cathey) writes: >What's the best way to ensure that a window can't be 'stolen' across the >network or by another logged-in user, for security reasons? Make sure the console user has PublicWindowServer turned off. Release 3.0 introduced some new fascist control settings, e.g. # niutil -createprop / / security_options discourage_public_servers that might be appropriate to your site. Of course, anyone with superuser (root) privileges or permission to open /dev/vid0 can snoop on the screen contents regardless... -=EPS=-
Newsgroups: comp.sys.next.programmer From: kevin@pages.com (Kevin Sven Berg) Subject: Re: Debating rtf source code Message-ID: <1993Apr27.193529.387@pages.com> Sender: kevin@pages.com Organization: Pages Software Inc. References: <1993Apr23.205329.3567@gleap.jpunix.com> Date: Tue, 27 Apr 1993 19:35:29 GMT Yes, RTF tastes great, but I need something less filling. Specifically, I don't look forward to anything that slows down a build that already takes too long. Anybody have any performance data on an RTF build of significant proportions? regards, Kevin -- Kevin Sven Berg / / / / P / a / g / e / s kevin@pages.com / / / / / / / / Pages Software Inc. / / / / / / / / San Diego, CA. . . . . . . . .
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: unistd.h Message-ID: <1993Apr28.091542.2175@csus.edu> Followup-To: comp.sys.next.programmer Sender: news@csus.edu Organization: San Francisco State University References: <1993Apr27.212436.3532@proximus.north.de> Date: Wed, 28 Apr 1993 09:15:42 GMT Apologies if this comes across as a flame, but it seems that every couple of weeks someone complains that they can't port something because it wants some .h file that NeXT doesn't provide, and this topic really needs to be taken up in the FAQ if it isn't there already. Reality: different flavors of UNIX differ in subtle ways. Things didn't start out that way, but for various reasons (vendors trying to "proprietize" "open" systems, outright sabotage by POSIX thugs, etc.) #include files, libraries, compiler and linker options vary between systems. NeXT is no better or worse than any other UNIX vendor in this regard. For the most part, portability issues are well understood, but it's incumbent on programmers to be aware of those places where #ifdefs, system-dependent modules, and/or diverse Makefiles are needed. It's much harder to retrofit a system-specific source than to build in portability from the start. When I write something on a NeXT, I generally tend toward one of two extremes: either I know it hasn't got a prayer of ever running on anything but a NeXT, in which case I'll optimize it specifically for NeXTSTEP, or I'll write it to be as reusable as possible. Being at a large university gives me access to many different kinds of systems, so I've developed a mindset towards portable code. BEFORE YOU POST TO THE NET: what happens if you simply remove the offending #include? You'd be surprised how often people include stuff out of habit that they don't even use. In many cases things that one system defines in one file are defined elsewhere on another--and many of the standard #include files themselves #include others they depend on. So there's a good chance that nuking one line does the trick. If it doesn't, at least you'll know what the _true_ dependency is, and you can "grep" though the .h files you do have to see what might need to be substituted. A look at <unistd.h> on Another UNIX System reveals that it mostly defines things that NeXT has in <stdio.h>, <fcntl.h>, and <libc.h>. Again, the question isn't "where is unistd.h?" but "what was the point of including it in the first place?" Sometimes you have to deal with slightly different paradigms, e.g. both System V and BSD have opendir/readdir, but the former uses a struct dirent, where the latter uses struct direct. In other cases, you may be have to deal with radically different approaches (e.g. terminal I/O). Followups to c.s.n.p please--this is not germane to either newsgroup you originally posted to. -=EPS=-
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: Re: Hiding Instance Variables Message-ID: <1993Apr27.185329.16226@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated References: <1993Apr26.095207.3440@oops.se> Distribution: usa Date: Tue, 27 Apr 1993 18:53:29 GMT In article <1993Apr26.095207.3440@oops.se> kjell@oops (Kjell Nilsson) writes: > > What is the common way (if there is ?) of defining instance variables > that don't show up in the interfacefile? You can declare them as anything other than id. You can start the name with an underscore. I believe there is another way, but it slips my mind right now... -- Patrick Hester ph@pencom.com 212-513-7777 NeXT Mail OK =8(\/\)
Newsgroups: comp.sys.next.programmer From: adam@bastille.rmnug.org (Adam Fedor) Subject: Re: loading nib files from a bundle (in 3.0) (Solution) Message-ID: <1993Apr27.223957.3159@colorado.edu> Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado, Boulder References: <1993Apr27.041722.20671@colorado.edu> Distribution: usa Date: Tue, 27 Apr 1993 22:39:57 GMT In article <1993Apr27.041722.20671@colorado.edu> adam@bastille.rmnug.org (I) write: > > I'm having fun with bundles, and I got stuck on a problem loading nib > files from a bundle. Is there a "nice" way to do this? I was hoping > for something like: > Several people pointed out a solution. Here is a good example by Chris Traynor <chris@stokeisland.ohi.com>, which I must have passed over in my earlier debugging attempts: For the sake of this example, assume the nib file we want is Adam.nib char nibPath[MAXPATHLEN+1] ; id bundleThatLoadedMe ; /* first get the bundle object that loaded us */ bundleThatLoadedMe=[NXBundle bundleForClass:[self class]] ; /* now ask it to look into itself and find the resource we want */ /* a resource is any file and you ask for it by resource name (filename) */ /* and type (extension) */ if ([bundleThatLoadedMe getPath:nibPath forResource:"Adam" ofType:"nib"]) { /* the nib file was found and the path to it is in nibPath */ /* we can now have NXApp load it for us */ [NXApp loadNibFile:nibPath owner:self] ; }
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Creating subclasses in a subproject? Organization: Primitive Software Ltd. Date: Tue, 27 Apr 1993 16:49:40 +0000 Message-ID: <1993Apr27.164940.13235@prim> Sender: usenet@demon.co.uk Has anyone found a way to quickly create a new class in a subproject in Project Builder that doesn't have an interface file? At the moment I have to copy some templates from elsewhere, edit them and add them to PB's class suitcase, but it would be nice if there was a similar method to unparse in IB. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Single method to get events Organization: Primitive Software Ltd. References: <1993Apr25.163040.8335@prim> Date: Tue, 27 Apr 1993 13:11:32 +0000 Message-ID: <1993Apr27.131132.13070@prim> Sender: usenet@demon.co.uk In article <1993Apr25.163040.8335@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >It would be nice if Application had just one method through which _all_ events >are retrieved. If you're trying to intercept events en-route to a Text object >or whatever, it's pretty clumsy at the moment (excluding the use of >character filters), because different Application methods are used for the job >and it's hard to piece together the correct sequence of events. > >Why not replace NXGetOrPeekEvent with an Application method? > Thanks to Mark Henry who suggested: >Why not use DPSSetEventFunc(DPSContext context, DPSEventFilterFunc func)? The filter function is called from NXGetOrPeekEvent and does indeed seem to capture every event. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: cbliek@dcc.uchile.cl (Christian Bliek) Subject: ld flags Sender: usenet@dcc.uchile.cl (Network News) Message-ID: <1993Apr28.143216.18015@dcc.uchile.cl> Date: Wed, 28 Apr 1993 14:32:16 GMT Organization: Universidad de Chile, Depto. de Ciencias de la Computacion I'm building a common lisp and would like to reference functions of the NeXT_s shared library when needed. To be able to do that I guess I have to load the shared library entirely at build time (I get complains when trying to link with it at run time). Looking at ld options I figured that: ld -u NeXTlib_s .... -all_load -lNeXT_s should do it, but apparently all other libraries get loaded entirely too! Any hints? Thanks, Christian. (cbliek@dcc.uchile.cl)
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: Popup menu problem solved! Message-ID: <C67Csy.I4K@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <C68AJF.AGA@news.otago.ac.nz> Date: Wed, 28 Apr 1993 16:36:33 GMT In article <C68AJF.AGA@news.otago.ac.nz> gideon@farli.otago.ac.nz (Gideon) writes: > > [Stuff about setOutlet: methods] > > The only reason I can see why they may want to do this > sort of thing is so you can drag connections in interface > builder and have them specifically re-established > (particularly with a custom file's owner). This seems > like a rather back door approach to me (at least in the > case of popup menus), and I can't see why they don't leave > it up to the programmer to explicitly send the messages > in the awakeFromNib section. I'd be interested to hear > from anyone who can see why it should be done this way. This behavior is a relic from the pre 2.0 (I think) IB and AppKit nib loading behavior. In the old days, when you unparsed a class from IB, it would create setOutlet: stub methods in your .m file for each outlet specified in the class. After initializing its outlet, the setOutlet: method could then do some extra initialization of the object referenced by the outlet. However, the setOutlet: methods were not guaranteed that all other outlets in the nib were properly initialized at that point, hence the NXNibNotification informal protocol (i.e., the awakeFromNib method) introduced with 3.0. The explicit outlet initialization stuff was before the dawn of my NeXTStep days, so the details may be slightly off a bit; somebody spank me if I'm wrong. These days we don't have to worry about this chore since IB handles it via an internal AppKit classs named IBOutletConnector that conforms to the documented IBConnectors protocol. When you save a nib, one instance of IBOutletConnector is archived for each connected outlet in your nib. I assume the setOutlet: stuff is still in AppKit so old apps and code do not break. It's unfortunate that people get bitten by it. On the bright side, I find the setOutlet: way of initializing outlets a nice way to customize IB instantiated objects such as NXBrowsers which have properties that are not editable via IB direct manipulation or an IB inspector. It localizes the init code for an object in a specific method rather than lumping it all together in awakeFromNib. Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Two Way Communication with Shell Pgm Message-ID: <1993Apr28.111141.1536@gleap.jpunix.com> Date: Wed, 28 Apr 1993 11:11:41 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software I'm looking for an example of how to do two way communication with a shell program. Apparently, popen() only allows for one direction (either read or write). I need to execute a command, write some, read some, write some, read some, etc. I have seen this done in Superdebugger where he communicates with "gdb" bidirectionally and it allows him to put a gui on an otherwise command line interface. This is what I'm trying to do with a different interactive utility. Any tips are welcome! Charles. ps: I have used popen() quite bit and have looked at pipe()/pipes(), fork, execve(), etc. but couldn't see how it all hangs together. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: Debating rtf source code Message-ID: <1993Apr28.140816.439@afs.com> Sender: Michael_Pizolato@afs.com References: <1993Apr27.193529.387@pages.com> Date: Wed, 28 Apr 1993 14:08:16 GMT In article <1993Apr27.193529.387@pages.com> kevin@pages.com (Kevin Sven Berg) writes: > Yes, RTF tastes great, but I need something less filling. > > Specifically, I don't look forward to anything that slows down > a build that already takes too long. > > Anybody have any performance data on an RTF build of significant > proportions? I don't have any metrics, but let me explain the steps the RTF precompiler takes, which may lend some insight: Every time the precompiler determines that it has to open a file, it checks the first 5 bytes of that file to determine if it's an RTF file. If not, it opens the file normally and returns a file handle to it. If the file is RTF, it forks a process that passes the file through the dertf filter to remove the RTF codes, directing the output to a specifically-named temporary file. It then opens the temp file and returns a handle to it, instead of to the original file. In determining whether or not it has to open a file, note that #imported files will only be opened once, and so will only ever go through one RTF conversion, while #included files may go through several. This amounts to one extra pass over the data (to strip the RTF), plus the overhead of forking a process, and opening RTF files twice, once to check for RTF and again to open the temporary file (non-RTF files are opened only once, because once the precompiler determines that they're not RTF, it just lseeks them back to the beginning of the file and returns the original handle). I haven't looked in detail at the guts of any compilers for a long time, but my previous experience was that C compilers make many passes over the data, so it's possible that the one extra pass to take out the RTF doesn't impact performance all that much. If I'm out of date on this, someone let me know. Another tidbit about dertf - because it simply strips out RTF codes and makes no other modifications to the file, line numbers in the temporary file correspond exactly to line numbers in the RTF file, so compiler messages look as though they refer to the original file. It would be a real mess if they didn't. I hope this is helpful. If anyone out there has any metrics on this, I'd like to see them, too. Michael -- Michael_Pizolato@afs.com If you can't control your peanut ~18 kyu butter, how can you expect to Q16 control the rest of your life? NeXTMail appreciated - Calvin
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: Re: NEXTSTEP C++ question. Message-ID: <1993Apr28.155645.641@afs.com> Sender: jon@afs.com References: <23605@mindlink.bc.ca> Date: Wed, 28 Apr 1993 15:56:45 GMT In article <23605@mindlink.bc.ca> Ian_Upright@mindlink.bc.ca (Ian Upright) writes: > How soon will it be before Objective-C becomes mainstream on other > platforms, like NT, OS/2, UnixWare, System 7, etc..? (ever?) I don't know if Objective-C will ever become "mainstream". This is really unfortunate, I think, having spent an oops course learning C++ and every class saying (at least once) "It would be so much <easier, cleaner, nicer> if it was done with Objective C, instead". For one thing, ObjC would be a much better way of teaching OOP. Let the students learn the OOP principles, rather than struggling with C++'s wacky syntax and things like operator overloading. But I digress... However, with the FSF's work on implementing a full objective C system in their compiler, I think it will become more widespread. At the very least, it will be an option for anyone who uses gcc, regardless of platform. Objective C will not be locked into NeXT and Stepstone's implementations. <read: no $$>
From: dockd@storm.cs.orst.edu (Dion Dock) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: CS.ORST.EDU ARCHIVE REQUEST (PLEASE READ) Message-ID: <1rmmqoINN1ar@flop.ENGR.ORST.EDU> Date: 28 Apr 93 19:44:24 GMT Article-I.D.: flop.1rmmqoINN1ar Distribution: world Organization: Computer Science Department, Oregon State University There are more changes happening to cs.orst.edu. The index is almost up to date. Take a look at the file index.4.93 in the pub/next folder. PLEASE UPLOAD FILES WITH A ".README" EXTENSION DESCRIBING YOUR FILE, AND WHERE YOU CAN BE REACHED!!!! I don't know how many times I have requested this. I am _not_ going to run the uploaded programs to find out what they do. I need this description in order to determine where the file should go when I move it from the pub/next/submissions directory. I have begun to put files with no .README into pub/next/unknown. The files in this directory have not been tested for corruption. The files in this directory will probably not be added to the index. No one is going to look at these files!!!! Please upload some .READMEs!!! If you see a file in the index that has no description, feel free to e-mail us one, or better yet, a README. Posting a description of your file to news in _not_ enough. I want a .README. Is that painfully clear? send all e-mail to next-ftp@cs.orst.edu <<no NeXTmail>> Dion -- Dion Dock __ __ NeXT mail? working on it / ) / ) / dockd@storm.cs.orst.edu / / o ______ / / _____. /_ /__/_<_(_) / <_ /__/_(_) (__/ <_
From: austin@after.usask.ca (Alvin Austin) Newsgroups: comp.sys.next.programmer Subject: "Hide on Auto-Launch" Question Date: 28 Apr 1993 18:56:53 GMT Organization: University of Saskatchewan Distribution: world Message-ID: <1rmk1l$bgn@access.usask.ca> Many programs automatically hide their windows when they are auto-launched (Preferences does this, and Mail has an option to enable this behavior, for examples). How does a program determine that it has been auto-launched from the dock? (I'm fairly new to appkit programming, as you can probably tell, and still have many details to learn). A small code fragment would be appreciated. Thanks, Alvin austin@cs.usask.ca
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: <unistd.h> In-Reply-To: gemoe@proximus.north.de's message of Tue, 27 Apr 1993 21:26:54 GMT To: gemoe@proximus.north.de (Gerhard Moeller) Message-ID: <CEDMAN.93Apr28090656@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1993Apr27.212654.3639@proximus.north.de> Date: Wed, 28 Apr 1993 13:06:56 GMT In article <1993Apr27.212654.3639@proximus.north.de> gemoe@proximus.north.de (Gerhard Moeller) writes: I try desperately to compile tulp Version 3.0.3 (a Unix port of the BITNET listserv) -- without any success. (<unistd.h> is missing) Unistd.h is one of the include files most commonly required in net.sources which is missing on the NeXT. Nine times out of ten, the reason <unistd.h> is included is to get information which on NeXTs (and other good BSD systems) is found in <fcntl.h>. So replace <unistd.h> by <fcntl.h> and if that doesn't work track down the problem more carefully. Carl Edman
Newsgroups: comp.sys.next.programmer Subject: HyperKnowledge Message-ID: <1993Apr28.200231.83405@embl-heidelberg.de> From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Date: 28 Apr 93 20:02:29 +0100 ANNOUNCEMENT: The "HyperKnowledge" PROJECT for NeXTSTEP Motivation We are a heterogeneous group of scientists and students who feel that our work is continuously hindered by computer environments dominated by incompatible scientific tools and monstrous software packages (too often claiming to do everything). Rather than being able to use different tools together in a flexible, interactive system, we find ourselves spending too much time converting between different data formats, writing throw-away tools and I/O parsers, and worrying about how to get to a particular goal rather than what it means to have attained it. What we need is an object-oriented scientific environment where the tools we choose to use are integrated without being parts of a closed system, highly interactive, and extendable (both by the addition of our own specialized objects and by combining the available tools - graphically). The use of such an environment should be a natural extension of our work, requiring a very short learning phase and practically no user-documentation. The user should feel encouraged to explore different possibilities, testing his/her own scientific ideas without worrying too much about whether the system is able to cope (within reason, of course). By building an open and object-oriented system, each user should be able to draw upon and combine those tools necessary or conducive to a particular task: we all need to organize and archive our data, display results, and combine information from many different sources. Currently, the group consists of people from very different fields: Molecular Biology, Computer Science, Physics and Astronomy, and Geography. While many of our needs for such an environment diverge, the underlying motivation is the same: no matter what you want to call it, we need a system which helps rather than hinders the organization of our scientific data and daily work. Why NeXTSTEP? What else is there? No other system offers the same power, a totally object-oriented developers environment, UNIX-compatibility, highly-interactive and standardized user-interface. With the advent of NS486 and the expectation that NeXTSTEP will soon appear on a broad range of hardware platforms, such a system will soon be nearly universally available. Classical workstation vendors (SUN, IBM, HP, and the rest) now have little to offer, no similar tools exist for the standard X-Windows GUI, if Apple had a system it would only run on their hardware, and the mass-market Windows/DOS world is a developer's nightmare (either despite, or more probably because of, OLE). In order to progress, we need an open discussion of how best to develop such an environment. In NeXTSTEP parlance, do we simply have to put together a set of scientific protocols and a common API for our "Hyper-knowledge" servers? Should be use distributed objects? What minimum set of tools do we need in order to start working with the environment? What tool-needs do we all have in common and which ones are best developed by specialized sub-groups? How many already existing tools can/should be integrated into the system (e.g. Mathematica)? Do we need an "AVS"-like tool for data-flow manipulation? Mailing list and Anonymous ftp In order to take part to the project or to push the discussion forewords, you are invited to subscribe to: sci-tools@embl-heidelberg.de All (interesting) suggestions, projects and sources will be archive and soon available (anonymous ftp). For questions send mail to sci-tools-help@embl-heidelberg.de Acknowledgments The European Molecular Biology Laboratory (Heidelberg, Germany) has consented to provide the computer resources for a mailing list and anonymous ftp services. Rick Hessman <hessman@eden.uni-sw.gwdg.de> Georg Tuparev <tuparev@embl-heidelberg.de>
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: Re: Survey Pros & Cons OOP Organization: MIND LINK! - British Columbia, Canada Date: Thu, 29 Apr 1993 15:25:23 GMT Message-ID: <23667@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) Would you like a copy of the published statistics? (yes/no) YES Your Occupation: Developer/Researcher Years of Programming Experience: 5 Programming Languages you're associated with: PASCAL,C,C++ Years of OOP experience: 1 Your preferred OOP language: C++ Is there an advantage to OOP (yes/no) YES Is OOP coding faster than traditional programming (yes/no) YES Is OOP maintenance quicker and easier than traditional (yes/no or opinion): YES Comments: (pros & cons with Object-Oriented Programming) No cons. The only cons would be if you don't know what you're doing. It's easy to make a big object mess. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy,comp.os.ms-windows.programmer.tools,comp.windows.x From: gerben@rna.indiv.nluug.nl Subject: What is second best? Message-ID: <1993Apr28.211548.25675@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Wed, 28 Apr 1993 21:15:48 GMT Answers please by e-mail, since not all groups in the header are carried here. Hi! Personally, I like NeXTSTEP very much. Even more when I realise how much a burden ordinary X or Windows programming is. I also like Objective-C better than I like C++. But, sometimes the restrictions are there. For instance it sometimes has to be MS-Windows or X. Now I'm looking for pointers to tools on those environments that come close to NeXTSTEP, the appkit etc. Also, environs that support rapid prototyping (like with IB) without producing spaghetti-code as soon as you want to do real work. Maybe STEPSTONE with some Windows version of a kit of UI objects? Interviews (what it is exactly, I don't know. I kind of lost touch with that world when I started with NeXTSTEP.) Thanks, -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: Gregory W. Gee <gee@gaul.csd.uwo.ca> Subject: removing palettes from palette menu? Organization: Relayed-by-Sendmail Date: Thu, 29 Apr 1993 19:22:07 GMT Message-ID: <9304291922.AA02633@gaul.csd.uwo.ca> To: comp.sys.next.programmer@newshost.uwo.ca Sender: daemon@julian.uwo.ca (Julian System Daemon Account) Does anybody know how to remove a palette from the palette menu in Interface Builder. I want to get rid of and rearrange some of the palettes the I put in. Please respond by mail if possible. **************************************************************************** Greg Gee gee@gaul.csd.uwo.ca Honours Computer Science, ggee@hi_presure_lab.gp.uwo.ca University of Western Ontario NeXT Mail accepted >>> Developing in the NeXT generation <<< ****************************************************************************
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Placing of text in Text object Message-ID: <1993Apr29.193146.14375@godel.questor.wimsey.bc.ca> Date: Thu, 29 Apr 1993 19:31:46 GMT Sender: aberno@godel.questor.wimsey.bc.ca Hi. The app I'm working on needs to draw lots of text in a spreadsheet, and also edit it in place. I've been using a Cell to draw the text, which makes things easy, but Cells have rather high overhead. (Lightweight Views? Ha!) and as such scrolling behavior is very bad. I would like, therefore, to draw the text using Postscript, but alas, I can't reproduce the alignment function in the Text object, so when editing time comes around, and I overlay a Text object over the text in question, there is a "jumping" effect. (BTW, even Improv has the same problem, but not as bad as I do.) I can fudge it to work with one particular font, but whenever I change it, or just change to a different size, it jumps again. Does anyone know the "magic formula" the Text object uses when figuring out where in its frame the text is actually drawn? (I only need it for the case of left-aligned text on a single line.) Thanks. -Anthony
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Two Way Communication with Shell Pgm Message-ID: <67066@mimsy.umd.edu> Date: 29 Apr 93 20:06:38 GMT References: <1993Apr28.111141.1536@gleap.jpunix.com> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1993Apr28.111141.1536@gleap.jpunix.com> clloyd@gleap.jpunix.com writes: > I'm looking for an example of how to do two way communication with a shell program. > ps: I have used popen() quite bit and have looked at pipe()/pipes(), fork, > execve(), etc. but couldn't see how it all hangs together. see chapter 11 of the Garfinkel Mahoney book. this is not one of the areas that Kernighan and friends should be most proud of, in my humble opinion - but its quite possible to do what you want obviously. in their defense, this is the solution spawned over 20 years ago, which we are still using even though computer science (and concurrent programming) has evolved dramatically in that time. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Pencom Software Rolls Out Mentoring Services Program for NEXTSTEP Date: 29 Apr 1993 21:07:11 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1rpg1v$4fr@rosie.next.com> News: Elizabeth Richardson Pencom, Public Relations Specialist Phone: 512-343-6666 Fax: 512-795-2022 Email: eli@pencom.com Pencom Software Rolls Out Mentoring Services Program Company Set to Assist Clients in Re-Engineering, Support and Training Services Austin, Texas, April 23, 1993 - Pencom Software announced today the formalization of a Mentoring Services Program designed to provide highly responsive, exceptional quality software support packages customized for clients' specific needs. Each package - the Bronze, Silver or Gold - provides a selection of support components allowing clients to purchase only the specific services they need for their organization. Fees are based on the package purchased and are billed at a one-time annual rate, allowing customers to pay an up-front fee for a designated set of services. Each package includes on-site design reviews, electronic mail, toll-free phone support, on-site system reviews with added Software Architectural Team (S.W.A.T.) services billed at a discounted rate. Additional services are available with the Silver and Gold packages. "The dynamics of today's marketplace have placed more emphasis on responsive services," said Scott Abel, Director, Re-Engineering Services. "Customers are now asking for more interaction and expressing a desire for our expertise in a long-term support relationship, rather than just on a project basis." While Pencom is now formalizing these services into a fully developed program, the company has already been assisting companies with mentoring support. Clients such as McCaw Cellular, IBM, Preferred Health Care, SunSoft and others have already utilized Pencom's expertise in re-engineering, application development and training services - services that are highlighted in the Mentoring Support Packages. "Customers are realizing that they need more than just a hotline for their development support questions," said Abel. "They want support from someone who inherently knows their business and understands what they are trying to accomplish. Our mentoring services provide an initial design review, followed up with quarterly reviews. The same Pencom engineer will conduct all reviews for a company, as well as be available for their phone or email questions. The Gold package also includes an additional eight days of consulting that can be utilized around one of the quarterly reviews at any time during the year." Furthermore, the packages provide discounted rates for Pencom's S.W.A.T. services. These S.W.A.T. engineers are available for companies requiring high-level, mission-critical assistance for difficult technical problems, application design expertise or rapid development of software. "Today's marketplace demands that companies produce their products and services more effectively and efficiently than ever before," said Abel. "Pencom's re-engineering focus allows us to respond quickly to a client's changing needs, and help them utilize their computing environment as a competitive edge in their business." Pencom continues to lead the industry in innovative service solutions! Our latest program, the Mentoring Service Packages, provide a cost-efficient alternative for companies utilizing systems integration services the Open Systems marketplace. Additionally, under the direction of Scott Abel, Director, Re-Engineering Services, Pencom is positioned to make significant contributions to the Open Systems industry. Abel's experience in leading-edge technologies enables Pencom to position itself as a leader in areas such as object-oriented programming, graphical user interface development, client server technology and Windows NT. Abel's responsibilities since joining the Pencom team in March have centered on application porting and development, client-server architectures, relational database design and development, object-oriented programming, interoperability tools and downsizing projects for end-user companies. His innovative approaches have initiated programs such as the Mentoring Services Program and the Device Driver development program for NeXTWORLD EXPO exhibitors. Pencom's leadership role in the Open Systems industry continues to grow as the company expands its programs and services. Scott Abel and other Pencom executives are willing to discuss the specifics of the company's re-engineering vision. Please contact them for further information at (512) 343-6666. For more information, contact Elizabeth Richardson, Pencom Software, 9050 Capital of Texas Highway North, Austin, Texas, 78759. Ph: 512-343-6666. Fax: 512-795-2022. Email: eli@pencom.com. Pencom Software is a division of Pencom Systems, Inc., a $43 million systems integration, technical search and contract programming firm with six offices nationwide. Today, Pencom Systems is the only company of its kind to provide the entire suite of specialized services necessary for a smooth migration to open Systems computing through personnel, services and products.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Objective Technologies Announces OT Palettes for NEXTSTEP Date: 29 Apr 1993 21:09:54 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1rpg72$4fu@rosie.next.com> News: FOR IMMEDIATE RELEASE Contact: Eric Bergerson Managing Director Objective Technologies, Inc. Email: eb@object.com OTI Announces OT Palettes for NEXTSTEP: SmartFieldPalette, ChooserPalette, GraphPalette, and MathPalette NEW YORK, April 15, 1993 -- Objective Technologies, Inc. (OTI) the leading supplier of object software for NEXTSTEP announced today that it has begun shipping beta versions of their acclaimed object software, OT Palettes. Objective Technologies' palettes, originally released in 1991, were the first commercially available objects integrated into the NEXTSTEP development environment. While NEXTSTEP migrates to 486 hardware architecture, Objective Technologies is quickly following suit, ensuring that their customers will enjoy the full suite of tools they have come to depend upon while developing NEXTSTEP software. Objective Technologies' palettes include: SmartFieldPalette All New Version 3.0! provides an advanced set of editing, formatting, data entry and data validation characteristics for entering any textual information, including numbers, dates and text. The palette can dynamically load new parsers and inspectors, allowing the developer to easily customize proprietary formats and validation requirements. ChooserPalette is a scrolling selection list that may be easily incorporated into custom NEXTSTEP applications. It displays and manages lists, and specifies actions to be taken when entries are selected. GraphPalette allows programmers to create fully interactive graphs within custom applications by simply dragging objects from the palette. This palette supplies a set of control objects that graph virtually any type of multiple range two-dimensional data. MathPalette facilitates the front end development of applications which rely on communication with Mathematica, a system for doing mathematics by computer. The supplied objects support input and output to Mathematica, including graphic display objects. MathPalette allows results to be displayed as single numbers, mathematical expressions or PostScript graphics. Favorable reaction to Objective Technologies port to Intel-based NEXTSTEP: Ken Anderson of Phibro Energy said, "Objective Technologies palettes are an important part of our development environment. Their early port of the palettes to the NEXTSTEP 486 platform and their professional manner in handling the transition made our move to the Intel platform much smoother." Ron Weissman, Director of Corporate Marketing commented, "Objective Technologies continues to lead the NEXTSTEP object market with their speedy port to Intel. I am confident that our Intel users will come to appreciate the high-quality tools and professionalism of Objective Technologies." PRICING AND AVAILABILITY The NEXTSTEP for Intel version of OT Palettes is now available in beta form for all current customers to begin using and testing. When NEXTSTEP for Intel is released, Objective Technologies will release a final shipping version of the palettes. The final version will have the same pricing as the Objective Technologies software used on NeXT computers. Owners of the currently shipping palettes will be able to purchase upgrade licenses at $50 per user license. As with all OTI software, purchasing licenses in groups of five or more entitles the purchaser to a 20% discount. Educational customers will continue to enjoy a 50% discount on all Objective Technologies software. There are no additional run1time fees or licenses necessary to include the palette objects in end1user applications. SPECIAL OFFER For each purchase of an OT Palette license, Objective Technologies will upgrade that license to NEXTSTEP for Intel without cost (* - see below). This offer is valid from this release date until Objective Technologies releases its final shipping version of the OT Palettes for NEXTSTEP for Intel. Objective Technologies, Inc., founded in 1990, is one of the leading suppliers of software for NEXTSTEP. In addition to the palettes, the company also offers a number of other developer tools including, the Object Kits: OTStringKit, OTDBKit, OTAppKit and the Object Persistence Paradigm (OPP). Objective Technologies also produces end-user software including OTProvide and SqlBuddy which are database-related applications. In addition, the company provides consulting services and custom software to a wide range of prestigious clients. Objective Technologies, Inc. markets its products worldwide through distributors and directly to end-users. The privately held company is headquartered in New York. *upgrades require a $10 shipping and handling charge.
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: Re: Survey Pros & Cons OOP Organization: MIND LINK! - British Columbia, Canada Date: Fri, 30 Apr 1993 00:12:23 GMT Message-ID: <23692@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) OOPS.. (Red Face).. Sorry. Ian. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.hardware,comp.sys.next.apps,comp.sys.next.programmer From: szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) Subject: Rebuilding a controller block Message-ID: <1993Apr30.023832.27331@magnus.acs.ohio-state.edu> Sender: news@magnus.acs.ohio-state.edu Organization: The Ohio State University Date: Fri, 30 Apr 1993 02:38:32 GMT I have a Seagate drive which has had the controller blocks wrote over on the drive. (Its a seagate, scsi-2). Is there software for my beloved NeXT that'll let me re-do the blocks? (I called the Seagate support bbs and downloaded all the info that about the drive that I'd need to do it, but I don't have the software to do it) Thanks! If you can, please reply via mail, since this is very important to me and my computer! shane -- :::Apple II forever!!:::GO BUCKS!:::Play Lacrosse!!:::Raging Bullwinkle!::: : Shane M . Zatezalo - CIS OSU: i-net> szatezal@magnus.acs.ohio-state.edu : : root@tap.colum.fnet.org : NeXTMail> shane@kiwi.swhs.ohio-state.edu : :GS::: call T.A.P. a Futurenet BBS 614-297-7031 16.8k DS HST 425 MEGS ::GS:
From: benjamin@baobab.cadif.cornell.edu Newsgroups: comp.sys.next.programmer Subject: NS3.0 malloc() is OK... Date: 30 Apr 1993 06:56:39 GMT Organization: Cadif Cornell University Ithaca NY. Message-ID: <1rqij7$l4v@fitz.TC.Cornell.EDU> Someone posted about a machine crashing after dynamically extending their swapf past 80M. I got curious and decided to check this out; I couldn'ter lacks a cast bletch (~) [benjamin] 2:09am 59> frob rs = 57844 rs 680290532 rs = 681339112 .) rs = 1020030452 rs = 1021079032 rs ecame INSTA, I know, I'm printing addres8x"te/vm to look at(took a bit of t= 0 memory allocation error: vm_allocate failed rs =(wd now: /private/vm) bletch ( 1 root 80707584 Apr 30 02:16 swapfile /etc/swaptab # # /e6 Meg low water mark bletch (vm) [benjamin] 2:17am 7n: Ne/B physically available. Processo0 megabytes.
From: benjamin@baobab.cadif.cornell.edu Newsgroups: comp.sys.next.programmer Subject: NS3.0 malloc() is OK... Date: 30 Apr 1993 07:08:09 GMT Organization: Cadif Cornell University Ithaca NY. Message-ID: <1rqj8p$lcf@fitz.TC.Cornell.EDU> The computer I tried to post from before is not... My trusty vintage NeXTcube [AAK0000584] isn't on the net... :( Someone posted about a machine crashing after dynamically extending their swapfile past 80M. I got curious and decided to check this out; I couldn't believe that Mach would be *that* fragile and that machine would just drop dead... (pardon the melodrama...) bletch (~) [benjamin] 2:09am 57> vi frob.c main() { int *i; while(1) { i = malloc(1<<20); printf("rs = %d\n", i); } } ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "frob.c" 9 lines, 92 characters bletch (~) [benjamin] 2:09am 58> cc -o frob frob.c frob.c: In function `main': frob.c:5: warning: assignment of pointer from integer lacks a cast bletch (~) [benjamin] 2:09am 59> frob rs = 57844 rs = 1114620 rs = 2163200 rs = 3211780 rs = 4260360 (sparing some bandwidth...) rs = 679241952 rs = 680290532 rs = 681339112 rs = 682387692 (meanwhile my machine sloooooooows down...) rs = 1020030452 rs = 1021079032 rs = 1022127612 rs = 1023176192 (bear with this a little longer...) rs = -1250923168 rs = -1249874588 ^Z Suspended (the machine became INSTANTLY responsive during pauses like this...) bletch (~) [benjamin] 2:13am 60> jobs -l [1] + 1149 Suspended frob bletch (~) [benjamin] 2:13am 61> fg frob rs = -1248826008 rs = -1247777428 (I know, I know, I'm printing addresses from malloc so the printf should have had a "0x%08x" in the string... Many process suspensions omitted; changed directory to /private/vm to look at swapfile size just for kicks...) rs = -5210128 rs = -4161548 rs = -3112968 rs = -2064388 memory allocation error: vm_allocate failed rs = 0 memory allocation error: vm_allocate failed rs = 0 (took a bit of time to halt it...) memory allocation error: vm_allocate failed rs = 0 memory allocation error: vm_allocate failed rs = 0 memory allocation error: ^C(wd now: /private/vm) bletch (vm) [benjamin] 2:16am 75> ls -la swapfile -rw------t 1 root 80707584 Apr 30 02:16 swapfile bletch (vm) [benjamin] 2:16am 76> more /etc/swaptab # # /etc/swaptab # /private/vm/swapfile lowat=16777216 # 16 Meg low water mark bletch (vm) [benjamin] 2:17am 77> hostinfo Mach kernel version: NeXT Mach 3.0: Wed Jul 29 19:43:28 PDT 1992; root(rcbuilder):mk-127.15/BUILD/RELEASE_M68K Kernel configured for a single processor only. 1 processor is physically available. Processor type: MC680x0 (68040) Processor speed: 25 MHz Processor active: 0 System type: 2 Board revision: 0x0 Primary memory available: 16.00 megabytes. Default processor set: 50 tasks, 85 threads, 1 processors Load average: 0.14, Mach factor: 0.95 bletch (vm) [benjamin] 2:17am 78> df Filesystem kbytes used avail capacity Mounted on /dev/sd0a 402597 398189 0 110% / /dev/sd2a 98520 92436 6084 94% /Work1 bletch (vm) [benjamin] 2:17am 79> ====== Verdict? I would say that malloc at least under NS3.0 knows when to quit and does indeed return a zero like the man says... And no, I didn't patch my malloc()... ;-) {Of course, mach dosen't seem for technical reasons to decrease the size of the swapfile, so I'll have to shutdown to get my free space back...} Oh well... /Ben
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: NXPerformService() works in debugger not elsewhere Message-ID: <1993Apr30.052710.4999@gleap.jpunix.com> Date: Fri, 30 Apr 1993 05:27:10 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Hello once again, I an using NXPerformService() to invoke a service programatically. Oddly, my code works fine when I "step" over the call to NXPerformService() in gdb, but if I "continue" past the call or run the app regularly, it will not work. The service I am trying to invoke is "Project/Add To". Without giving out all the volumes of details surrounding this problem, does anyone have any ideas? (I know, its a long shot) Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: unistd.h Message-ID: <1993Apr30.085313.3431@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1993Apr27.212436.3532@proximus.north.de> <1993Apr28.091542.2175@csus.edu> Date: Fri, 30 Apr 1993 08:53:13 GMT In article <1993Apr28.091542.2175@csus.edu> eps@cs.sfsu.edu writes: >Apologies if this comes across as a flame, but it seems that >every couple of weeks someone complains that they can't port >something because it wants some .h file that NeXT doesn't >provide, and this topic really needs to be taken up in the FAQ if >it isn't there already. > >Reality: different flavors of UNIX differ in subtle ways. Things >didn't start out that way, but for various reasons (vendors >trying to "proprietize" "open" systems, outright sabotage by >POSIX thugs, etc.) #include files, libraries, compiler and linker >options vary between systems. NeXT is no better or worse than >any other UNIX vendor in this regard. > No sh*t, Eric. Here is a snippet of code from my company's product (no, there is NOTHING proprietary about this snippet, so I think I am on okay grounds here) that is used as the header for three different platforms we run on, all supposedly ANSI C: Sequent PTX, HP/UX and IBM's AIX. Drum roll, please: #if defined(_AIX) #include <stdlib.h> #include <unistd.h> #endif #if defined(_SEQUENT_) #if defined(_POSIX_SOURCE) #undef _POSIX_SOURCE #include <stdlib.h> #define _POSIX_SOURCE #else #include <stdlib.h> #endif #include <unistd.h> #endif #if defined(__hpux) #include <stdlib.h> #define _INCLUDE_XOPEN_SOURCE #include <unistd.h> #undef _INCLUDE_XOPEN_SOURCE #endif Until we got this right, we could not compile with the same code on all three platforms without getting spurious errors or warnings. Jon Rosen
Newsgroups: comp.sys.next.programmer From: ggf@indirect.com (Gary Frederick) Subject: C++ stream.h library Message-ID: <1993Apr30.114258.7618@indirect.com> Organization: Internet Direct Inc. -- (602) 274-0100 Date: Fri, 30 Apr 1993 11:42:58 GMT Where do I get a C++ library for the NeXT that includes stream.h? Thanks. Gary ggf@jsoft.com
Newsgroups: comp.sys.next.programmer From: agabagli@iiic.ethz.ch (Adriano Gabaglio) Subject: rld_load, rld_lookup: help needed Message-ID: <1993Apr30.140552.3891@neptune.inf.ethz.ch> Originator: agabagli@a16 Keywords: rld_load, rld_lookup, dynamic linking Sender: news@neptune.inf.ethz.ch (Mr News) Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH) Date: Fri, 30 Apr 1993 14:05:52 GMT As a student-project, I want to build an Oberon(TM)-Compiler based on a version for Sun-3. The loader is written in C and loads the needed libraries on demand, making their procedures available via variables. To do this, I am going to use the two functions rld_load and rld_lookup. (On Sun, they are called dlopen and dlsym.) How can I load a (shared) library (e.g. libsys_s, libX11, ...) using rld_load? How can I get the address of a function (e.g. malloc, free, XOpenDisplay, ...) using rld_lookup? Which library do I have to load before? Has someone already used rld_load/rld_lookup and therefore could send me an example of how to use those functions? Please reply to agabagli@iiic.ethz.ch! Thanks! -- Adriano Gabaglio, Brunnmattstr. 22a, CH-6010 Kriens, Switzerland e-mail: agabagli@iiic.ethz.ch, adriano@nice.usergroup.ethz.ch (NeXTmail) -- -- Adriano Gabaglio, Brunnmattstr. 22a, CH-6010 Kriens, Switzerland e-mail: agabagli@iiic.ethz.ch, adriano@nice.usergroup.ethz.ch (NeXTmail)
Newsgroups: comp.sys.next.programmer From: hwr@pilhuhn.ka.sub.org (Heiko W.Rupp) Subject: Re: unistd.h References: <1993Apr27.212436.3532@proximus.north.de> <1993Apr28.091542.2175@csus.edu> <1993Apr30.085313.3431@RedBrick.COM> Date: Fri, 30 Apr 1993 12:57:02 GMT Organization: The Home of the Pilhuhn Message-ID: <1993Apr30.125702.12319@pilhuhn.ka.sub.org> jfr@RedBrick.COM (Jon Rosen) writes: >In article <1993Apr28.091542.2175@csus.edu> eps@cs.sfsu.edu writes: >>every couple of weeks someone complains that they can't port >>something because it wants some .h file that NeXT doesn't > No sh*t, Eric. Here is a snippet of code from my company's product > I am on okay grounds here) that is used as the header for three > different platforms we run on, all supposedly ANSI C: Sequent PTX, > [example] > Until we got this right, we could not compile with the same code on > all three platforms without getting spurious errors or warnings. This is good, what you are doing. What Eric wanted to say is, that when pople, trying to port something to NeXT, don't find unistd.h, they should try without it and look how they can replace it instead of complaining every time. Often it is enough to remove the #include line. Sometimes it is necessary to include other files, but it shouldn't be to hard (with the help of HeaderViewer) to find these. -- Heiko W.Rupp Gerwigstr.5 7500 Kh'e 1 hwr@pilhuhn.ka.sub.org +49 721 693642 "The way to make a small fortune in the commodities market is to start with a large fortune."
From: tonyd@hal.COM (Tony Duarte) Newsgroups: comp.sys.next.programmer Subject: Weintz book at UCSD Date: 30 Apr 1993 20:38:02 GMT Organization: HAL Computer Systems, Inc. Distribution: world Message-ID: <1rs2naINN4in@hal.com> The Aztec Bookstore at UC San Diego has 6 copies of Weintz's "Writing NeXT Programs." These are the last known copies. (Although there may be some others floating around at obscure bookstores worldwide.) Since the book has been sold-out for about eight months, and there are unfilled orders for about 500, these books probably won't last too long. (The Weintz book was based on NeXTStep 2.0 and was intended to be a gentle introduction to the NeXT programming environment. The book is neither rigorous nor authoratative. It is, however, very easy to read and has helped many people get acquainted with NeXTStep.) Tony
Newsgroups: comp.sys.next.programmer From: awstern@benedict.uchicago.edu (quazi) Subject: Looking for Lisp Message-ID: <1993Apr30.203217.28574@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Date: Fri, 30 Apr 1993 20:32:17 GMT I am looking for a Lisp interpreter for the next that doesn't go through emacs any suggestion would be appreciated thanks Abe awstern@midway.uchicago.edu
Newsgroups: comp.sys.next.programmer From: Ian_Upright@mindlink.bc.ca (Ian Upright) Subject: Object File Systems Organization: MIND LINK! - British Columbia, Canada Date: Fri, 30 Apr 1993 22:25:58 GMT Message-ID: <23723@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) As far as I know, an object oriented file system entails concepts of a Persistant Store, and a Persistant Object. These are storage objects that allow the creation of new file systems, under an object oriented file system. Examples of Persistant Stores could be a disk, partition or a file. Examples of Persistant Objects could be directories, symbolic links, streams, record streams, etc.. With this ability, it is easy to build new, flexible, and more powerful file systems than ever before. Does NeXT's planned object file system engulf these concepts, or am I out on a limb here? If so, is NeXT going to create a new standard file system, or is it going to simply add the ability for user defined file systems, but still retain the UNIX file system compatability in it's applications, etc.. What about Taligent, and Cario? If these companies are creating new file systems altogether, how are they all going to integrate? Is there anybody creating a new standard file system? If NeXT is going to create a new file system, how will existing applications integrate? Major applications, such as compiler, may need to be redesigned to support #importing objects instead of UNIX files. ??? How is all of this going to take place, and when? Does anybody know whats going on here, or are we all still in the dark? Will anybody be speaking on this at the Expo? (from my conference listing, nothing seems relevant.) Any information related to this subject would be greatly appreciated. Ian. -- ----------------------------------------------------------------------------- Origin: Astaria Digital Enterprises Ian_Upright@mindlink.bc.ca -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: sfch@dmu.ac.uk (Simon Harwood) Subject: printing a bitmap Message-ID: <1993Apr30.231214.25995@dmu.ac.uk> Organization: De Montfort University, Leicester, UK Date: Fri, 30 Apr 1993 23:12:14 GMT does anyone know how to print a bitmap defined with lines like: id bitmap; . . . bitmap = [[NXBitmapImageRep alloc] init...............]; when the bitmap is defined in an object which is a subclass of view? I have a connection fron a menu item (called print) to the object which is the subclass of bitmap, connected to the method for printing PS code, and all I get is a blank image. If I make the connection to the window, and to the method "smartPrintPSCode", I get the window with a blank area where the bitmap should be. The bitmap is always displayed correctly on the screen. Simon.. PS. I am running NeXTStep 2.1 Extended. -- Simon Harwood, Research Technician, Phone: (+44)(0)533 551551 x7915 De Montfort University, The Gateway, Fax : (+44)(0)533 577574 LEICESTER, LE1 9BH UK. E-mail: sfch@uk.ac.dmu (JANET), sfch@dmu.ac.uk (Internet)
From: rawyatt@girtab.usc.edu (Robert Alexander Wyatt) Newsgroups: comp.sys.next.programmer Subject: WE NEED NETWORKING HELP Date: 30 Apr 1993 17:33:06 -0700 Organization: University of Southern California, Los Angeles, CA Sender: nntp@girtab.usc.edu Distribution: world Message-ID: <1rsgg2INN217@girtab.usc.edu> ********************************************************************* WE NEED NETWORKING HELP -- mostly because we are clueless... ********************************************************************* We are attempting to network our office with five NeXT machines and five Macs. (we don't want your pity... just your help...) Now that you are done laughing, please answer some or all of the following questions -- partial credit for partial answers... 1. Should we wire the whole office with Ethernet or attempt to mix and match LocalTalk and Ethernet? If we mix the two, what additional hardware is required? 2. Who makes good Ethernet cards for the Mac LC and SE? 3. One of our NeXTcubes is the mail server with a UUCP connection to the Internet. Are there any Mac applications which support NeXTmail? If not, what Macintosh mail application work best with NeXTmail? 4. We have 2 NeXT laser printers and 2 Apple LaserWriters. Is there any way for the Macs to print to the NeXT laser through another NeXTcube (which is the print server)? 5. Can we share files using only one file server? 6. Any recommendations on networking software to get the two platforms talking? Thanks in advance for all your help. -Rob Wyatt --------------------------------------------------------------------- rawyatt@scf.usc.edu (ASCII mail only) yannatta@ata.com (NeXTmail)
From: tiggr@wft.stack.urc.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: NXPerformService() works in debugger not elsewhere Date: 1 May 1993 00:41:26 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1rsgvn$6qa@tricky.wft.stack.urc.tue.nl> References: <1993Apr30.052710.4999@gleap.jpunix.com> In article <1993Apr30.052710.4999@gleap.jpunix.com> clloyd@gleap (Charles C. Lloyd) writes: >I an using NXPerformService() to invoke a service >programatically. Oddly, my code works fine when I "step" >over the call to NXPerformService() in gdb, but if I >"continue" past the call or run the app regularly, it >will not work. That's odd. In my programs NXPerformService works like a charm. Maybe there is some unintended side-effect in one of the other trillion lines of code in your program. --Tiggr
Newsgroups: comp.sys.next.programmer From: alastair@farli.otago.ac.nz (Alastair Thomson) Subject: How do I run an app other than Workspace at login. Message-ID: <C6Du5B.M6q@news.otago.ac.nz> Sender: usenet@news.otago.ac.nz (News stuff) Organization: University of Otago Date: Sun, 2 May 1993 04:36:47 GMT Hi there, The project I am currently working on requires that the a usercode runs a custom app rather than the WorkSpace. Our systems will be going into retail stores as point of sale systems, so we don't want users anywhere near anything that can really do something. Can we then run the workspace from our app for priviledged users? Mant thanks in advance, Alastair -- ===================================================================== | Alastair Thomson, | Phone +64-3-479-8347 Chief Programmer, | Fax +64-3-479-8529 The Black Albatross Porject, | University of Otago, | Department of Computer Science, | e-mail athomson@otago.ac.nz P.O. Box 56 | NeXTmail Welcome Dunedin | New Zealand | "God loved the world so much, that he gave us His Son, to die in our place, so that we may have eternal life" John 3:16, paraphrase =====================================================================
Newsgroups: comp.sys.next.programmer From: kira!davidjohn (David John Burrowes) Subject: pasteboards and Application Message-ID: <1993Apr30.062132.1965@kira.net.netcom.com> Sender: davidjohn@kira.net.netcom.com Organization: No organization at this time. Date: Fri, 30 Apr 1993 06:21:32 GMT If this has been discussed before, sorry for bringing it up again. I noticed today that the Application class doesn't define (in Application.h) a method called 'pasteboard'. The concepts doc makes reference to it, though. If this method is obsolete, how should one be going about getting a reference to the application's pasteboard? If it isn't obsolete, what am I overlooking in the Application definition? Thanks \david john burrowes davidjohn@kira.net.netcom.com
Newsgroups: comp.sys.next.programmer From: verket@venice.sedd.trw.com (Paul Verket) Subject: Re: Looking for Lisp Message-ID: <1993May1.194614.6327@venice.sedd.trw.com> Sender: news@venice.sedd.trw.com (USENET News) Organization: TRW Systems Engineering & Development Division, Carson, CA References: <1993Apr30.203217.28574@midway.uchicago.edu> Date: Sat, 1 May 1993 19:46:14 GMT In article <1993Apr30.203217.28574@midway.uchicago.edu> awstern@benedict.uchicago.edu (quazi) writes: > I am looking for a Lisp interpreter for the next that doesn't go > through emacs any suggestion would be appreciated thanks Emacs is OPTIONAL for most lisp implementations (though I wouldn't part with it for money). This includes AKCL and Franz's Allegro. You can type directly into a lisp listener from a terminal window or build a custom image that handles user I/O another way (say the appkit!). Paul Verket (NeXTmail ok)
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: What are NX_FLAGSCHANGED events? Message-ID: <8427@ucsbcsl.ucsb.edu> Date: 1 May 93 19:49:41 GMT Sender: root@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, U.C.S.B. The title says it all. I searched with DL and all I could find was that it meant "flags-changed". Real useful bit of information, that. I would just like to know what NX_FLAGSCHANGED events are, what they mean to a program, and what generates them. Thanks. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: yann@dagobah.fdn.org (Yann Lechelle) Subject: Object copy method to copy parent instance variables only... Message-ID: <1993Apr30.111431.874@dagobah.fdn.org> Sender: yann@dagobah.fdn.org Organization: Individual Date: Fri, 30 Apr 1993 11:14:31 GMT Hi netters, Given a base class and two subclasses... (in Objective-C for instance) i.e.: MyClass / \ / \ MySub1 MySub2 Is it possible to new one instance of the class mySub2 based on the copy of the super instance variables of MySub1 ? (the goal is to transform an object into its sibling, while keeping the super values intact) I know I could rewrite a method... but is there any "pre-chewed" work-around to this problem ? Thanks a lot. Yann -- / ================================================= \ \ Yann Lechelle (Paris, FRANCE) / / yann@dagobah.fdn.org Email/NeXTmail \ \ "grep me no patterns and I'll tell you no lines." /
Newsgroups: comp.sys.next.programmer From: zeke@znext.cts.com (james dehnert) Subject: Re: Weintz book at UCSD ( <- are you sure? ) Message-ID: <1993May1.162756.3039@znext.cts.com> Sender: zeke@znext.cts.com (james dehnert) Organization: pnet References: <1rs2naINN4in@hal.com> Date: Sat, 1 May 1993 16:27:56 GMT In article <1rs2naINN4in@hal.com> tonyd@hal.COM (Tony Duarte) writes: > The Aztec Bookstore at UC San Diego has 6 copies of Weintz's "Writing > NeXT Programs." These are the last known copies. (Although there may be > some others floating around at obscure bookstores worldwide.) > > Since the book has been sold-out for about eight months, and there are > unfilled orders for about 500, these books probably won't last too long. > > (The Weintz book was based on NeXTStep 2.0 and was intended to be a > gentle introduction to the NeXT programming environment. The book is > neither rigorous nor authoratative. It is, however, very easy to read > and has helped many people > get acquainted with NeXTStep.) > > Tony First, is this at UCSD or at San Diego State? The Aztec bookstore is at State, NOT UCSD. Second, You may want to limit the distribution to sd ( San Diego ) as I doubt many people in Europe, or even as close as San Francisco care which San Diego University has the book. I could be considered guilty of the same, but I'm attempting to head off a whole slew of flame posts by saying this once for all to see. Zeke -- +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+\|/+= Eschew Obfuscation Next Mail Welcome =+\|/+= +=/|\=+ James "Zeke" Dehnert zeke@znext.cts.com +=/|\=+
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: What are NX_FLAGSCHANGED events? Message-ID: <1993May1.224051.9728@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <8427@ucsbcsl.ucsb.edu> Date: Sat, 1 May 93 22:40:51 GMT In article <8427@ucsbcsl.ucsb.edu> doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) writes: > The title says it all. I searched with DL and all I could find was that it > meant "flags-changed". Real useful bit of information, that. > > I would just like to know what NX_FLAGSCHANGED events are, what they mean > to a program, and what generates them. > > Thanks. They are generated by the command, alternate, shift, and control keys being pressed alone, without another key. > -- > Douglas Scott (805)893-8352 > Center for Computer Music Research and Composition > University of California, Santa Barbara > Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu> -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: pauls@css.itd.umich.edu (Paul Southworth) Newsgroups: comp.sys.next.programmer Subject: telnetd Date: 2 May 1993 01:55:01 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1rv9llINNns6@stimpy.css.itd.umich.edu> Someone please email me and let me know where to find source that will compile on a NeXT for a non-brain-dead version of telnetd. pauls@umich.edu
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: How to Protect scheme (copy protection) Message-ID: <1993May2.065408.217@pyrian.com> Sender: ian@pyrian.com Organization: PYRIAN Software Group - Makers of UUCP-EZ & I'm On Vacation. Date: Sun, 2 May 1993 06:54:08 GMT Would someone point me to a free / shareware version of a copy protection scheme. I am looking for something that will allow a user (i.e. john) to use the program from ANY machine or any other user from only one machine. (i.e. anyone logging onto Bullwinkle will have access) Any suggestions, comments etc are appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
From: michael@wft.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: <unistd.h> Date: 2 May 1993 15:42:26 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1s0q52$7v@tricky.wft.stack.urc.tue.nl> References: <CEDMAN.93Apr28090656@capitalist.princeton.edu> In article <CEDMAN.93Apr28090656@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes: > (and other good BSD systems) is found in <fcntl.h>. So replace > <unistd.h> by <fcntl.h> and if that doesn't work track down the > problem more carefully. On the NeXT, <libc.h> is a good replacement for unistd.h. It contains prototypes most library functions which aren't found anywhere else (from access to unlink and write). Since unistd.h is required by POSIX, NeXTSTEP will have it from release 3.1 and on. Michael
Newsgroups: comp.sys.next.programmer From: greyham@research.canon.oz.au (Graham Stoney) Subject: Re: unistd.h Message-ID: <C6FG2M.2HG@research.canon.oz.au> Sender: news@research.canon.oz.au Organization: Canon Information Systems Research Australia References: <1993Apr27.212436.3532@proximus.north.de> <1993Apr28.091542.2175@csus.edu> <1993Apr30.085313.3431@RedBrick.COM> Date: Mon, 3 May 1993 01:27:57 GMT jfr@RedBrick.COM (Jon Rosen) writes: > No sh*t, Eric. Here is a snippet of code from my company's product > (no, there is NOTHING proprietary about this snippet, so I think > I am on okay grounds here) that is used as the header for three > different platforms we run on, all supposedly ANSI C: Sequent PTX, > HP/UX and IBM's AIX. Drum roll, please: [ inelegant code snippet deleted ] An even better option if you need portability to multiple Unix platforms is to use a package such as Larry Wall's metaconfig to generate a Configure script which does much of this hard work for you. This allows you to quickly import the porting knowledge of some true gurus such as Larry, and automatically handles hybrid systems and other situations you may not even have thought of. Graham -- Graham Stoney Canon Information Systems Research Australia Ph: + 61 2 805 2909
From: patricio@caligula.cerfacs.fr (Joao Patricio) Newsgroups: comp.sys.next.marketplace,comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Looking for Commercial Fortran for NeXT Date: 3 May 1993 08:37:32 GMT Organization: CERFACS, Toulouse, France Distribution: world Message-ID: <1s2lkc$4he@hal.cerfacs.fr> References: <1993Apr21.071029.11406@sfu.ca> Keywords: Fortran In article <1993Apr21.071029.11406@sfu.ca>, larrie@beaufort.sfu.ca (Larrie Simon Carr) writes: |> I am looking for a *commercial* Fortran compiler for the NeXT. It |> would be nice if the compiler had a option for linking in assembler |> code. |> |> (I already know about the f2c program. However, this does not suit |> the staff member I am trying to support. He does not trust C and hates |> how the linkage between functions is done). |> |> Any information would be great. Thanks. |> |> |> -- |> |> Larrie Carr larrie@sfu.ca |> MicroElectronics and Sensors Group |> School of Engineering Science |> A nice compiler for the Next is actually the Absoft compiler.I'll send the details later, as I have to ask them to other people. But it sure does a nice job, especially on 25 Mhz 68040 machines. Joao Patricio
From: sears@tree.egr.uh.edu (Paul S. Sears) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Looking for printer queue manager (not NeXTs!!) Date: 3 May 1993 15:24:32 GMT Organization: University of Houston Message-ID: <1s3dfg$sd9@menudo.uh.edu> Has anyone written a better printer queue manager (NeXTSTEP or command line) than the one provided by NeXT. The NeXT version is lacking, mainly in that you can't re-order the jobs in the queue. Using unix you can *atleast* move jobs to the top (ie., lpc topq job username)... Info or code will do nicely! -- Paul S. Sears * sears@uh.edu (NeXT Mail OK) The University of Houston * suggestions@tree.egr.uh.edu (NeXT Engineering Computing Center * comments, complaints, questions) NeXT System Administration * DoD#1967 '83 NightHawk 650SC >>> SSI Diving Certification #755020059 <<< "Programming is like sex: One mistake and you support it a lifetime."
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.lang.postscript From: Scott Byer <byer@mv.us.adobe.com> Subject: %%Baseline comment specification (draft). Message-ID: <1993May3.154134.28085@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated Date: Mon, 3 May 1993 15:41:34 GMT Apologies for the time it's taken for me to track this down. Note that this comment should be used anytime an EPS graphic needs to act like a character or collection of characters (such as very specially typeset material). I strongly encourage developers to support this comment in any application that imports EPS files. === %%Baseline: {<ax><ay><dx><dy>}| (atend) <ax>::=<float> x coordinate of the baseline origin. <ay>::=<float> y coordinate of the baseline origin. <dx>::=<float> change in x from the baseline origin. <dy>::=<float> change in y from the baseline origin. The presence of this comment within an EPSF indicates that the generating application is enabling the EPS graphic to be placed inline with text. Examples of EPS graphics that this would be useful for are equations, graphic logos, and specially kerned text fragments. An EPS graphic can be treated as a single text character. This comment provides metric information to enable accurate placement of this 'character'. The receiving application can adjust its import of the 'character' to more accurately align its baseline with the baseline of the including document's text. The first two arguments correspond to the coordinates of the 'character' origin, as defined by the default user coordinate system (PostScript units). The second two arguments are the x and y offsets from the baseline origin in PostScript default units. These offsets represent the position where the receiving application can continue its text placement. There may be two, one or no %%Baseline comments within an EPSF, specifying alternative baselines for different writing modes. If there are two, the receiving application needs to determine and choose the one that matches its current writing mode. Typically, for horizontal writing, the x offset indicates the width of the 'character' and the y offset is zero. Conversely, for vertical writing, the y offset indicates the width of the 'character' and the x offset is zero. === -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.marketplace,ba.jobs.offered,misc.jobs.offered From: pkim@cory.Berkeley.EDU (P. Kim) Subject: WANTED:NEXTSTEP Programmer, Bay Area Message-ID: <1993May3.164652.6573@pasteur.Berkeley.EDU> Keywords: nextstep Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Distribution: usa Date: Mon, 3 May 1993 16:46:52 GMT I'm posting this for someone else so don't send any replies to me. --------------------------------------------------------------- Exciting NeXTSTEP Development Opportunity in California! Marine Terminals Corporation, a major west coast stevedoring company with offices in SF and Oakland, is currently developing a NeXTSTEP-based graphical planning system. This highly-interactive, application will be used on a WAN connecting 3 sites around California. MTC is looking for a creative, self-motivated developer with demonstrable Objective-C and NeXTstep experience to participate in the development effort for this innovative product. Please contact: Steve Longbotham (415) 267-1138 Marine Terminals Corporation mtcoak!steve@netcom.com 600 Harrison Street, Suite 200 (NeXT mail accepted) San Francisco CA, 94107
From: simon1@bass.bu.edu (Simon Streltsov) Newsgroups: comp.sys.next.programmer Subject: Project for NeXT Message-ID: <117949@bu.edu> Date: 3 May 93 19:25:33 GMT References: <1r6nbt$h21@news2.acns.nwu.edu> Sender: news@bu.edu Followup-To: comp.sys.next.programmer Organization: Boston University Looking for partners - individuals or comp. - to develop a product for NeXT corporate market. Mass - NH residents.
From: bizarre@clients-r-us.tamu.edu (Tom Swanner III) Newsgroups: comp.sys.next.programmer Subject: Separation colorspace Date: 3 May 1993 20:41:45 GMT Organization: Texas A&M University, College Station, TX Message-ID: <1s4029INNrtp@tamsun.tamu.edu> Has anyone been able to use the [/Separation ....] setcolorspace operator with NeXTStep 3.0? I tried it and although it didn't barf, I didn't get any noticeable difference when I tried to use the separation names Cyan, Magenta, etc. Is there an example, besides the Red Book, that I could use? Thanks, Tom Swanner III bizarre@clients-r-us.tamu.edu
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: NeXT NeXT NeXT C++ C++ C++ HELP HELP HELP Message-ID: <1993May3.154741.13369@ac.dal.ca> Date: 3 May 93 15:47:41 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hello..I'm a student working on software that will graphically represent data in 1D, 2D and 3D....I'm particularily interested in the manipulation of signal data. I have NO experience with the NeXT system. I would appreciate any code, information, resources or suggestions. I'm using the projectbuilder and the IB. I'm also working in objective C++. Thanks for your help! Please e-mail mme at lisag@ac.dal.ca or grandyaw@newton.ccs.tuns..ca THANKS- Anthony Grandy Technical University of Nova Scotia, CANADA
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Two Way Communication with Shell Pgm Message-ID: <1993May1.111441.721@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <1993Apr28.111141.1536@gleap.jpunix.com> Date: Sat, 1 May 1993 11:14:41 GMT In article <1993Apr28.111141.1536@gleap.jpunix.com> clloyd@gleap (Charles C. Lloyd) writes: > I'm looking for an example of how to do two way communication with a shell > program. Apparently, popen() only allows for one direction (either read or > write). I need to execute a command, write some, read some, write some, read > some, etc. > > I have seen this done in Superdebugger where he communicates with "gdb" > bidirectionally and it allows him to put a gui on an otherwise command line > interface. This is what I'm trying to do with a different interactive utility. > > Any tips are welcome! > > Charles. > > ps: I have used popen() quite bit and have looked at pipe()/pipes(), fork, > execve(), etc. but couldn't see how it all hangs together. Check /NextDeveloper/Examples/UNIX/Subprocess, that's what you want. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng. ------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: erf(3M) problem Message-ID: <1993May3.200740.16730@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA Date: Mon, 3 May 93 20:07:40 GMT Has anyone found any problem using the erf(3M) function? Using it crashes my program with a memory address exception. What's the deal? -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: poster,comp.sys.next.programmer,de.comp.sys.next From: gemoe@proximus.north.de (Gerhard Moeller) Subject: Re: tulp - the UNIX listserv References: <1ro5mk$lbm@grasp1.univ-lyon1.fr> Sender: gemoe@proximus.north.de (Gerhard Moeller) Organization: Gerhard Moeller, German NeXT User Group, Oldenburg. Date: Mon, 3 May 1993 11:14:08 GMT Message-ID: <1993May3.111408.6852@proximus.north.de> In article <1ro5mk$lbm@grasp1.univ-lyon1.fr> Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel) writes: > gemoe@proximus.north.de (Gerhard Moeller): > > I try desperately to compile tulp Version 3.0.3 > > (a Unix port of the BITNET listserv) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > The documentation is perhaps not clear enough about that (did you read it ?) > but this package is a tool furnishing a subset of the commands available > in the BITNET Listserv, and it is also clearly indicated in the > announcements and warning that there is absolutely no connection between > this software and the BITNET Listserv. Sorry. I read the doc, but obviously not carfully enough. (And then again, there seems to be this language barrier...) I just read the following passage: "[...] TULP is a mailing-lists manager. It implements a subset of the commands of the well known LISTSERV, used mainly in the Bitnet world. It can also be used, in a very limited manner, as a mail-server for text archives. [...]" That lead me to the above impression. [...] > > Now regarding the problem you are citing, by indicating what errors > are generated by the lack of unistd.h you would perhaps have more chance > to get some help. Thanks to many posters, especially Eric. P. Scott (eps) and Christophe Wolfhugel (the author of tulp). Sorry that I did not specify the problem more carefully, as I of course did exchange the unistd.h agains the libc.h before I posted. Unfortunately I did not post that and the compiling errors I got. But now for my problem: NeXTSPET 3.0 is not POSIX compliant and tulp (as well as procmail and some other programs, I have problems with) require this. Well, now I would have two options: o wait for NeXTSTEP 3.1, as 3.1 is supposed to be POSIX compliant. (easy way) o patch the sources. Some of the problems I have might be solved easily, as eps showed me. Others might not. If I should choose this option, it might well be that I ask again... ;-) So it might well happen that I wait for NeXTSTEP 3.1. On the other hand, I was pointed out, that the unix-listserver, v6.0 (on cs.bu.edu) compiles on the NeXT and runs fine. I'm just not sure, which list-manager would better fit my needs. (I want to use Carl Edmans nextmail to maintain NeXTmail mailing-lists) Now thanks again to all who have responded, Gerhard. PS: related to that thread: "procmail" -- this problem is supposed to be solved in version 2.82 of procmail. (I didn't check yet) -- +---------------------------< principiis obsta! >---------------------------+ N Gerhard Moeller, Teichstrasse 12, 2900 Oldenburg (FRG) [*: 02/21/1968] N e Private: gemoe@proximus.north.de Phone (voice): +49-441-75520 e X Uni: Gerhard.Moeller@arbi.Informatik.Uni-Oldenburg.DE NeXTmail X T Z-Net: Gerhard.Moeller@uniol.zer encouraged! T +-> NoGeNUG - Northern German NeXT User Group: NoGeNUG@proximus.north.DE <-+
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: asm@eecg.toronto.edu (Anees S. Munshi) Subject: DSP Tutorials (Jean Laroche?) needed Message-ID: <1993May4.002008.6802@jarvis.csri.toronto.edu> Organization: Department of Electrical and Computer Engineering, University of Toronto Date: 4 May 93 04:20:08 GMT Hello: I'm looking for Jean Laroche's (?) DSP programming tutorials urgently. Could someone please tell me where these would be available? Please reply by email, I don't read news regularly. Regards, Anees Munshi ------------------------------------------------------------------------- Anees Munshi, University of Toronto, Department of Electrical Engineering Email:asm@eecg.toronto.edu (NeXTMail accepted) Telephone: 416.929.5754 (Toronto), Fax: 416.929.5744 -------------------------------------------------------------------------
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: SNDConvertSound() BROKEN under 3.0?!? Message-ID: <1993May4.073343.13071@csus.edu> Followup-To: comp.sys.next.bugs Summary: 3.0 is a pile of sh*t that keeps getting deeper Sender: news@csus.edu Organization: San Francisco State University Date: Tue, 4 May 1993 07:33:43 GMT The attached adaptation of NeXT's converttest.c example illustrates SERIOUS breakage in 3.0's Sound Library. Try it with any 8-bit mu law sound. This bug is not mentioned in the 3.0 Release Notes, NeXTanswers, nor the "3.0 known bugs" list. As is, SNDConvertSound() fails with SND_ERR_CANNOT_ALLOC. Compiled with -DORIGINAL, it works just fine. Compiled on a NeXTSTEP 2.2 system, it works correctly either way. If I run the 2.2 binaries on a 3.0 system, it dies with a SIGSEGV (the gdb backtrace is amazing!). The -DORIGINAL version works (as expected). Would someone with 3.1PRx on Black Hardware please test this? -=EPS=- ------- /* * converttest.c - an example conversion that takes a mulaw codec file * as input and writes a new file (11 times bigger) that is the equivalent * 22kHz mono 16 bit linear soundfile */ #import <sound/sound.h> #import <stdio.h> check_error(int err) { if (err) { printf("Error : %s\n",SNDSoundError(err)); exit(1); } return err; } main (int argc, char *argv[]) { void showsnd(SNDSoundStruct *); int err; SNDSoundStruct *s1, *s2; SNDSoundStruct header = { SND_MAGIC, 0, 0, SND_FORMAT_LINEAR_16, (int)SND_RATE_LOW, 1, "" }; SNDSoundStruct codecsnd; check_error(argc != 3); err = SNDReadSoundfile(argv[1],&s1); check_error(err); (void)fputs("s1\n", stderr); showsnd(s1); codecsnd.magic=SND_MAGIC; codecsnd.dataLocation=((char *)s1)+s1->dataLocation-(char *)&codecsnd; codecsnd.dataSize=s1->dataSize; codecsnd.dataFormat=SND_FORMAT_MULAW_8; codecsnd.samplingRate=(int)SND_RATE_CODEC; codecsnd.channelCount=1; codecsnd.info[0]='\0'; (void)fputs("codecsnd\n", stderr); showsnd(&codecsnd); s2 = &header; #ifdef ORIGINAL err = SNDConvertSound(s1,&s2); #else err = SNDConvertSound(&codecsnd,&s2); #endif check_error(err); err = SNDWriteSoundfile(argv[2],s2); check_error(err); exit(0); } void showsnd(SNDSoundStruct *s1) { (void)printf("\t.magic=0x%08x\n\ \t.dataLocation=0x%08x (%p)\n\ \t.dataSize=%d\n\ \t.dataFormat=%d\n\ \t.samplingRate=%d\n\ \t.channelCount=%d\n\ \t.info[0]=%d\n", s1->magic, s1->dataLocation, ((char *)s1)+s1->dataLocation, s1->dataSize, s1->dataFormat, s1->samplingRate, s1->channelCount, s1->info[0]); }
Newsgroups: comp.sys.next.programmer From: carterd@valens.cs.qub.ac.uk (David Carter) Subject: Simple Question: Where is app.make? Message-ID: <1993May4.082404.20288@ousrvr.oulu.fi> Sender: news@ousrvr.oulu.fi Organization: University of Oulu Date: Tue, 4 May 1993 08:24:04 GMT I have a really basic question which I would be REALLY grateful if someone could answer: I'm running 2.1 and I've come up against the same problem twice now. I've ftp'd two applications from cs.orst.edu - Crossword + Rayshade. All well and good, that is until I try and MAKE them:- The MAKE complains that it cannot find app.make, which it reports should be in NextDeveloper/Makefiles. I've tried to locate app.make myself, using the usual find applications, but to no avail. Is this because these pieces of software are specifically for Next3.0? If so is there a way of modifying the Makefile to accomodate this problem? I've asked our SM, and he doesn't know - so can anyone help me out?! Please! David Carter, Queen's University, Belfast. -- O for a muse of fire, that would ascend Alternative E_mail Address The brightest heaven of invention: csu5011@uk.ac.qub.v2 A kingdom for a stage, princes to act, And monarchs to behold the swelling scene.
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Finding Protocol objects by name Message-ID: <1993May4.165128.16947@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Tue, 4 May 93 16:51:28 GMT Hmmm. The Objective-C runtime system provides a function: id lookUpClass(const char* className); which given a name returns a class object for it. I need to do the same thing with protocols. I need a function like: id lookUpProtocol(const char* protocolName); Is there any way of doing this? -marcos j. polanco -shiva@vega.stanford.edu
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.software Subject: May Update: NeXTWORLD Expo Info Bulletin (Special Offers and Full Agenda) Date: 4 May 1993 00:06:57 GMT Organization: NeXT, Inc. Distribution: world Message-ID: <1s4c31$859@rosie.next.com> 1993 NeXTWORLD EXPO INFORMATION BULLETIN (May Update: including special offers and full agenda) You are invited to ... What: NeXTWORLD Expo When: May 25 - 27, 1993 Where: Moscone Convention Center, 747 Howard Street San Francisco, California Events: Developer and User Conference and User Group Program Keynotes: by Steve Jobs, NeXT & Andrew Grove, Intel ...From Black Computers to White - NEXTSTEP for Intel Processors ...Completed and Unveiled Over 100 NEXTSTEP technology exhibitors will be present on the Exhibit floor. (See the list of exhibitors at the end of this message.) Phone 1-800-767-2336 or 508-470-3880 to register or FAX the registration form at the end of this message. ******** ********* ******** ******* SPECIAL OFFER As a special offer, all registered NeXTWORLD Expo attendees will receive a 50% discount on all of NeXT Computer's system software products available at the Expo. ******** ********* ******** ******* SPECIAL OFFER For $995, receive admission to all Developer and User Conference sessions PLUS a copy of NEXTSTEP for Intel processors User Environment and Development Tools (a savings of over 85% for NEXTSTEP!) ******** ********* ******** ******* During the 3 day conference, there will be speakers represented from the following 80 organizations, including NeXT: Pencom, McCaw Cellular, Intel, Adamation, WordPerfect, Swiss Bank, Pages, Millennium, MIT, Athena Design, Lighthouse Design, Goldleaf, HSD, RDR, Texas A&M, Integrity Solutions, Data General, Wiltel, Stone Design, VNP, Objective Partners, Objective Technologies, RightBrain, NeXT, Systemhouse, Omni Group, Cal State - Long Beach, University of Houston, Logicon Ultrasystems, Pan Canadian Petroleum Limited, Marble Associates, Chrysler Financial, Servare Business Systems, Trident Data Sys., Booz Allen & Hamilton, Mt Clemens Hospital, Linotype-Hell William Morris Agency, Black Market Technologies, Insight Software, Inherent Software, NeXTWORLD, Data Place Computer, Publish Magazine, IP Design, RadioMail, Bell Atlantic, Pangea, University of Texas, Corporation, Brigham and Womens Hospital, Alain Pinel, Information Delivery Ltd, TRW, USC - ISI, NeuroDimension Inc., LOR/Geske Bock Associates Inc., Panon Telexpertise Inc., TASC, Fidelity Investments, Software Services & Solutions, Inc., MailCom, Just Proportion Ltd., Sarrus, Imagine, Insignia, Abacus, IPT, Conextions, BlackSmith, Xanthus, Thoughtul Software, Boss Logic, Visus, Axsys, WhiteLight, Altsys, Appsoft, Preferred Health Care, Ensuing Technologies, and Proponent. Over 100 NeXT User groups will be represented from the United States, Mexico, Canada, the United Kingdom, Ireland, Germany, France, Singapore, Japan, Australia, Netherlands, and Hong Kong. _____________________________________________________________________ TABLE OF CONTENTS => NeXTWORLD EXPO INTRODUCTION => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS => NEXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES => NeXT USER GROUP PROGRAM AGENDA => TUTORIALS AND BOF MEETINGS => REGISTRATION, HOTEL AND TRAVEL INFORMATION _____________________________________________________________________ => NeXTWORLD EXPO INTRODUCTION The second annual NeXTWORLD EXPO combines a worldwide Developer Conference, User Conference, User Group Program and Product Exposition spanning three days. This year's NeXTWORLD Expo marks the culmination of the most significant event in NeXT's history. At the Expo, NeXT will deliver the completed, shrinkwrapped release of NEXTSTEP for Intel processors. The product that Byte magazine has called, "...the most respected piece of software on the planet..." -- now available on industry-standard computers. When you see NEXTSTEP, we think you'll agree. NeXT's decision to concentrate on object-oriented software, move away from signature black hardware, and devote all company resources to running NEXTSTEP on white hardware--is more than the transformation of a company. It is, in all likelihood, the transformation of an entire industry. We look forward to seeing you at the Expo. As a special offer, all registered NeXTWORLD EXPO attendees will receive a 50% discount on NeXT's software products available at the Expo. For $695: receive admission to all Developer Conference and User Conference Sessions, attendance to the User Group Program, and admission to the Product Showcase. SPECIAL BONUS...For $995, receive admission to all of the above PLUS a copy of NEXTSTEP for Intel processors User Environment and Development Tools! (See registration form below). _____________________________________________________________________ => ALL NeXTWORLD EXPO EVENT DESCRIPTIONS NeXTWORLD EXPO DEVELOPER CONFERENCE The NeXTWORLD EXPO '93 Developer Conference offers a broad curriculum to the developer community, focusing on creating both shrinkwrapped applications and client/server custom applications. Because the ability to run NEXTSTEP applications on Intel-based computers is now a reality, both the general session and the conference tracks provide valuable information about porting and distribution. Four separate Conference Tracks focus on the business and technical aspects of NEXTSTEP application development. Each track provides a different perspective on understanding and working with NEXTSTEP. To benefit most from the breadth of topics offered at the conference, we encourage you to review and attend sessions from several tracks. A specially priced developer bundle is available which includes registration and a copy of NEXTSTEP for Intel Processors (see registration form below for details). NeXTWORLD EXPO USER CONFERENCE The NeXTWORLD EXPO '93 User Conference offers in-depth information about the use of NEXTSTEP in corporate information systems and on individual desktops. Designed for experienced NEXTSTEP end users, system managers, and IS strategists, the four-track program focuses on the issues of deploying NEXTSTEP in enterprise-wide systems, using NEXTSTEP for maximum benefits, case studies of NEXTSTEP usage in the real world, and comparative looks at the most innovative third-party products in the NeXT market. One session is dedicated to providing a quick start for users who are new to NEXTSTEP, so that they can participate fully in the remainder of the program. Key sessions in each track are repeated so that attendees can participate in as many different sessions as possible. NeXT USER GROUP PROGRAM NoIR (NeXT Organizations InteRnational) is sponsoring a worldwide User Group Program. This year's program theme is "486--An Explosion of New Users Under NeXT's Big Tent." Sessions focus on two tracks: user group leadership and member services. If you want ideas to take back to your group, this program is for you. Last year over 100 groups from around the world were represented and this year we expect many more. With the explosion of new NEXTSTEP users coming this year and next, this program helps you prepare your NeXT User Group for growth and success in 1993 and 1994. In addition to the formal events listed here, several special social events will be held. All user group members attending either the exposition or the conferences are invited to register for the user group program free of charge. KEYNOTE SPEAKERS Tuesday, May 25 9:00 AM - 11:00 AM, Hall E Steve Jobs - Chairman and CEO of NeXT, Inc. Steve Jobs discusses the future of object-oriented, client/server computing. Wednesday, May 26 9:00 AM - 10:30 AM, Hall E Andrew Grove - Chairman and CEO of Intel Corporation Andrew Grove discusses Intel's 486 and Pentium processors, and NEXTSTEP's place in their future. DEVELOPER CONFERENCE GENERAL SESSION Tuesday, May 25 4:30 PM - 5:30 PM, Hall E Your NEXTSTEP Application and their Hardware Paul Hegarty, NeXT's Director of NEXTSTEP for Intel processors software, explains how to port your application to the Intel platform and leaves ample time to answer your porting questions. USER CONFERENCE GENERAL SESSION 10 MOST WANTED Wednesday, May 26 5:00 PM - 6:00 PM, Hall E NeXTWORLD Editor-in-Chief Dan Ruby leads a panel of NEXTSTEP customers, developers, and user group leaders in reviewing NeXT's accomplishments during the last year and setting the agenda for the year ahead. GENERAL SESSIONS OPEN TO ALL ATTENDEES Thursday, May 27 9:00 AM - 10:00 AM, Hall E NEXTSTEP AND THE OS WARS Bob Metcalfe, Publisher and CEO of InfoWorld Publishing Co., hosts a panel of industry pundits and NeXT customers as they discuss the alternatives among advanced operating systems in the coming battle for the corporate desktop. USER GROUP AUCTION Wednesday, May 26 6:00 PM - 7:30 PM, Hall D Attend this fun event. A range of products and services from the NeXT community will go to the highest bidder. Proceeds go toward the User Group Program at the Expo. NeXTWORLD MAGAZINE AWARDS Tuesday, May 25 6:00 PM - 7:00 PM, Hall E NeXTWORLD honors the best and most innovative products in the NeXT market in its first annual award ceremony. Cheer on your favorites as a lineup of NeXT community luminaries announce the winners in each product category. NEXTSTEP PRODUCT EXHIBITION Tuesday, May 25, 11:00 a.m. - 6:00 p.m. Wednesday, May 26, 9:00 a.m. - 6:00 p.m. Thursday, May 27, 9:00 a.m. - 12:00 p.m. Be sure to see over 100 product exhibits and find out why so many companies have embraced NEXTSTEP technology. See the latest in NEXTSTEP hardware and software, and meet with users, resellers, and partners. The Expo also features an ObjectWare Pavillion dedicated to the growing number of NEXTSTEP ObjectWare vendors. _____________________________________________________________________ => NeXTWORLD EXPO DEVELOPER CONFERENCE TRACKS & SESSIONS MAY 25-27, 1993 Tuesday, May 25 -> 11:30 AM - 4:15 PM Wednesday, May 26 -> 11:45 AM - 4:45 PM Thursday, May 27 -> 10:15 AM - 3:00 PM ** TRACK ONE ** THEME: NEXTSTEP MEANS BUSINESS This track addresses topics of broad, general interest to the third-party and corporate developer community, including how to evaluate development environments, profiles of NEXTSTEP's markets and customers, how to protect your intellectual property, and 486 distribution issues. A variety of experts discuss issues geared to business professionals. Technical professionals will benefit from opportunities to hear engineers explain how to succeed in object-oriented development, and to meet key NeXT engineers for a lively Q&A session. No direct NEXTSTEP experience is required for the sessions in this track, but a technical background is sometimes useful. TRACK ONE SESSIONS: ** DISTRIBUTED NEXTSTEP APPLICATIONS ** Erna Arnesen, Director of Channel Sales, NeXT 11:30am - 12:30pm, Tuesday, May 25 Developer Conference Room 130 This comprehensive discussion answers question about NeXT's software distribution channels. Distribution partners are identified and ways to ensure successful interaction with developers are explained. Plans for distribution of NEXTSTEP for Intel processors are also presented. ** A DEVELOPER'S GUIDE TO ENTERPRISE-WIDE DEPLOYMENT ** Anita Sansguiri, Project Manager, ADAMATION 2:00pm - 3:00pm, Tuesday, May 25 Developer Conference Room 130 ADAMATION's project manager describes how they successfully deployed their application at multiple offices of a real estate company. Deployment issues ranging from application development, networking, and database management, to augmenting NEXTSTEP tools are described. ** NeXT's MARKETS AND THEIR DEVELOPMENT OPPORTUNITIES ** Ron Weissman, Director, Strategic Marketing, NeXT David Grady, Developer Advocates, NeXT 3:15pm - 4:15pm, Tuesday, May 25 Developer Conference Room 130 This is a chance to hear from NeXT about targeted markets, the specific products that customers are requesting, and solutions that would match market requirements. Opportunities for developers and consultants are discussed. ** NEXTSTEP MEANS BUSINESS ** Warren Weiss, Vice President, Sales and Marketing, NeXT 10:45am - 11:45am, Wednesday, May 26 Developer Conference Room 130 Hear NeXT' new VP of sales and marketing make the compelling business case for choosing NEXTSTEP. Joining Weiss will be key decision makers from some of NeXT's largest customers. This session outlines where we are headed and how developers can align with NeXT for success. ** PROTECTING YOUR TECHNOLOGY ** Christopher Seline, Esq., Formosa Transnational Attorneys-at-Law 1:15pm - 2:15pm, Wednesday, May 26 Developer Conference Room 130 Maximizing profit and protecting intellectual property are vital concerns for every developer. This session introduces fundamental legal issues such as copyright, patent, trademark, and trade secret laws and how they relate to computer software. Our speaker has considerable NEXTSTEP and UNIX experience. ** NOTHING's EASIER THAN NEXTSTEP DEVELOPMENT ** Mike Colyer, Lead Developer, WordPerfect Corporation 2:30pm - 3:30pm, Wednesday, May 26 Developer Conference Room 130 A developer of large commercial applications in both Windows and NEXTSTEP discusses his experiences in cross-platform development. Our speaker ported WordPerfect to NEXTSTEP for Intel processors in a matter of hours and this session describes his experiences. Helpful hints and productivity techniques will be presented. ** SUCCEEDING WITH OBJECT-ORIENTED DEVELOPMENT ** Bruce Webster, Chief Technical Officer, Pages Software Jayson Adams, CEO and Chief Scientist, Millennium Software Labs 3:45pm - 4:45pm, Wednesday, May 26 Developer Conference Room 130 Accompanying the power that object-oriented technology (OOT) brings to application development are some specific challenges and requirements. In this session, two NEXTSTEP developers describe the insights they gained and the lessons they learned while producing major commercial productivity applications. * "DR. STRANGEAPP, OR HOW I LEARNED TO STOP WORRYING & LOVE ISV'S" * Jeff Kvam, Swiss Bank Corporation 10:15am - 11:15am, Thursday, May 27 Developer Conference Room 130 One of NeXT's largest commercial customers explains the techniques and business practices of establishing a productive working relationship with large corporations. ** STRATEGIES FOR DYNAMIC PERSONALIZED SYSTEMS ** Pascal Chesnais, Research Specialist, Massachusetts Institute of Technology, Media Laboratory Douglas Koen, Undergraduate Researcher, MIT, Media Laboratory 11:30am - 12:30pm, Thursday, May 27 Developer Conference Room 133 Successful personalization of applications will require an understanding of a users' dynamic needs. The MIT Media Laboratory has been exploring these issuesPusing new tools such as user modeling, knowledge representation and distributed servers with the future of news in mind. A system called Glue is described that connects these various components into an extensible personalized news system. ** CREATING SUCCESS WITH NEXTSTEP ** Panel: Moderator: Julie Saffren, Manager, Developer Relations, NeXT David Pollak, Athena Design Scott Love, Millennium Software Labs, Inc. Jonathan Schwartz, Lighthouse Design Lauren Flanegan-Sellers, Goldleaf Publishing 12:45pm - 1:45pm, Thursday, May 27 Developer Conference Room 130 Based on their real-world experiences, a panel of NEXTSTEP developers describe their paths to success in the NEXTSTEP marketplace. Creative marketing techniques, how to leverage the sales force, and product focus are debated and discussed. ** MEET THE SOFTWARE ENGINEERS ** Panel: NeXT Software Engineers Moderator: Jean-Marie Hullot 2:00pm - 3:00pm, Thursday, May 27 Developer Conference Room 130 Several software engineers who were integral in creating NEXTSTEP Release 3 join together in this forum to answer your questions. This was a popular session last year, so come early if you want a seat! ** TRACK TWO ** THEME: NEXTSTEP AND THE ENTERPRISE NEXTSTEP and the Enterprise presents issues specific to using NEXTSTEP in large organizations, such as working with large and mixed networks, portability, interoperability, connectivity, distributed computing, and integration of shrinkwrapped applications into custom solutions. Most sessions in this track require a technical background but assume that attendees have no experience working with NEXTSTEP. TRACK TWO SESSIONS: ** INTEGRATING SHRINKWRAPPED APPLICATIONS IN A CUSTOM SOLUTION ** Panel: Moderator: David Lavallee, Software Engineer, NeXT Dave Peter, HSD Paul Murphy, Independent Consultant Chris Walters, Technical Staff, RDR, Inc. 11:30am - 12:30pm, Tuesday, May 25 Developer Conference Room 131 It's not always possible to find a shrinkwrapped or custom solution that solves a given problem completely. But applications can be easily integrated. Customers and third-party developers discuss why they would integrate shrinkwrapped software into client/server custom solutions, and the value that results from this merger. ** DEVELOPING OBJ-C APPLICATIONS FOR NEXTSTEP & MICROSOFT WINDOWS ** Christopher Lozinski, Berkeley Productivity Group Walter C. Daugherity, Texas A&M University 2:00pm - 3:00pm, Tuesday, May 25 Developer Conference Room 132 NEXTSTEP developers have traditionally been faced with a dilemma: Should they develop in Objective-C on NEXTSTEP, or C++ for Microsoft Windows. Now it's possible to develop for both platforms in Objective-C and C++. Developers can use Objective-C with the Borland compiler on the PC, and the GNU compiler on NEXTSTEP. The discussion reports that develop applications for both platforms, describes this experience, and the techniques that work. There will also be a discussion of Smalltalk for NEXTSTEP. ** WORKFLOW TOOLS IN CUSTOM APPLICATION ** Randy Marchessault, Software Engineer, Integrity Solutions 2:30pm - 3:30pm, Wednesday, May 26 Developer Conference Room 131 Workflow, a popular, but commonly misunderstood buzzword is examined through applying concepts and objects to real-world problems. Discussion centers on representing tasks and task dependencies, implementing group scheduling, resource management, document and information routing, user notification, and recursive schedule divisibility. ** OBJECT-ORIENTED CLIENT/SERVER APPLICATION DESIGN ** Patricia Monk, Director-NeXT Business Unit, Data General Corporation 3:45pm - 4:45pm, Wednesday, May 26 Developer Conference Room 131 This session explains the key issues of object-oriented client/server application design and layout, including programming tools and techniques to assist in this type of application development. It also discusses how the UI (or lack of it) for server requester objects and server provider objects affects the efficiency of an application. ** ADVANTAGES INHERENT IN ELECTRONIC DOCUMENTATION ** Carla Kay Barlow, Product Documentation, Stone Design Jim Clark, Advanced Technology Group, WilTel 11:30am - 12:30pm, Thursday, May 27 Developer Conference Room 131 A persuasive argument in favor of all-electronic software documentation, this session spans the interests of users and developers from the viewpoint of third party and corporate development efforts. Topics range from the use of NEXTSTEP's on-line help standard to how to develop class specification documentation that facilitates consistent coding style, code reuse and rapid prototyping. ** A NEXTSTEP SHARED DEVELOPMENT ENVIRONMENT ** Panel: Moderator: Rick Jackson, Software Product Marketing, NeXT Luke Blanshard, Software Architect, VNP Software, Inc. Steve Naroff, Manager, Development Environment, NeXT Pete Clark, Software Engineer, Integrity Solutions, Inc. 12:45pm - 1:45pm, Thursday, May 27 Developer Conference Room 131 Development teams of more than a few people have special synchronization and code management problems that can delay or prevent release of a large working system. NEXTSTEP developers discuss current and future solutions for group development. Corporate and third party developers discuss tools they built to solve today. ** SKETCHING OUT A BETTER USER INTERFACE ** Ray Ryan, User Interface Designer, Lighthouse Design 2:00 - 3:00pm, Thursday, May 27 Developer Conference Room 131 Creating excellent user interfaces is frequently more the result of art than science. This session provides some insight into the aesthetics of UI design. The user interface designer of Diagram! 2 discusses techniques for building good user interfaces starting at day one. He will include before and after examples from Diagram! and Diagram! 2 to emphasize how sound UI design techniques help create more usable interfaces. ** TRACK THREE ** THEME: DEVELOPING NEXTSTEP APPLICATIONS This track examines the tools and techniques central to developing your NEXTSTEP applications, such as debugging, Interface Builder, performance tuning, user interface issues, localization, and application validation. Speakers include both third-party and corporate developers who share their knowledge gained "in the trenches", developing popular and productive applications. These sessions are targeted for attendees who have intermediate or advanced NEXTSTEP programming proficiency. TRACK THREE SESSIONS: ** THE ZEN OF DEBUGGING ** Julie Zelenski, Lecturer, Stanford Univ. and Support Engineer, NeXT 11:30am - 12:30pm, Tuesday, May 25 3:15pm - 4:15pm, Tuesday, May 25 (Repeated session) Developer Conference Room 132 Need a new bag of tricks for debugging in the NEXTSTEP development environment? Or maybe you're just looking to fill out your current repertoire? In either case, you can learn something new in this challenging and informative session. ** VALIDATING NEXTSTEP APPLICATIONS AND OBJECTS ** Jim Walsh, Software Quality Manager, NeXT Kris Oosting, Manager, Objective Partners 2:00pm - 3:00pm, Tuesday, May 25 Developer Conference Room 131 It's been said "you can't control what you can't measure", and this holds true for object-oriented development. This session explores the theories of testing your NEXTSTEP applications and objects. ** GETTING MORE SPEED OUT OF YOUR APPLICATION ** Brian Pinkerton, Software Engineer, NeXT Trey Matteson, Manager, Application Kit Group, NeXT 10:45am - 11:45am, Wednesday, May 26 Developer Conference Room 132 Reprising one of last year's most popular sessions, NeXT's engineers take a reasonably slow application and make it faster, before your very eyes. You'll see the steps you need to take to speed your applications' performance. ** INTRODUCTION TO NEXTSTEP PROGRAMMING ** Randy Nelson, Lead Developer Trainer, NeXT 10:45am - 11:45am, Wednesday, May 26 Developer Conference Room 131 If you're just encountering the world of object-oriented programming, this overview of NEXTSTEP features and object technology is extremely useful for understanding context and vocabulary. This session is a must for technical evaluators of the platform. ** UI PERFORMANCE ** Bill Bumgarner, Software Artist, Stone Design Glenn Reid, President, RightBrain Software 1:15pm - 2:15pm, Wednesday, May 26 Developer Conference Room 133 2:00pm - 3:00pm, Thursday, May 27 (repeated session) Developer Conference Room 133 Enhancing the performance of your application's UI can be crucial to users' success with the application. NEXTSTEP developers describe methods for increasing perceived performance and methods for decreasing actual drawing time. ** BUILDING BETTER NEXTSTEP APPLICATIONS ** Randy Nelson, Lead Developer Trainer, NeXT 1:15pm - 2:15pm, Wednesday, May 26 Developer Conference Room 131 Proper use of NEXTSTEP significantly increases the power of your application; correspondingly, improper or partial use of NEXTSTEP can decrease your application's usability. An overview of specific topics--user interface, portability, localization, and important kit features--shows you how to build flexibility into your application. References to documentation and other resources are included. ** WRITING EXTENSIBLE APPLICATIONS ** Jeff Martin, Developer Support Engineer, NeXT 2:30pm - 3:30pm, Wednesday, May 26 10:15am - 11:15am, Thursday, May 27 (Repeated session) Developer Conference Room 132 This lecture explores techniques that add run-time flexibility to an application. Dynamic loading of objects adds much to the power of InterfaceBuilder as a development tool and is mainly responsible for the runaway success of BackSpace. Find out how to add dynamic loading to your application while increasing its efficiency and maintainability. ** CREATING INTERFACE BUILDER PALETTES ** Scott Ritchie, Developer Trainer, NeXT 3:45pm - 4:45pm, Wednesday, May 26 11:30am - 12:30pm, Thursday, May 27 (repeated session) Developer Conference Room 132 Using Interface Builder Palettes can add custom functionality to your interfaces, save development time, and generate valuable re-useable tools. One of NeXT's trainers explains how to build palettes that provide advanced functionality for many different sorts of objects. ** BUILDING REUSABLE OBJECTS ** Andrew Athan, Objective Technologies 10:15am - 11:15am, Thursday, May 27 Developer Conference Room 133 Well-rounded classes don't just happen: they require careful planning and design to become flexible and robust. This session reviews some of the issues that you should consider before writing your first line of code. The discussion includes licensing issues for objects. ** TRACK FOUR ** THEME: UNDER THE HOOD - OBJECTS AND NEXTSTEP FEATURES This track explores the detail level of object technology and specific NEXTSTEP features and kits. Topics include DataBase Kit, Indexing Kit, Driver Kit, Object Links, Help, and filter services. Familiarity with NEXTSTEP programming is recommended for attendees of the sessions. TRACK FOUR SESSIONS: ** GETTING STARTED WITH DATABASE KIT ** Scott Weiner, Developer Trainer, NeXT 11:30am - 12:30pm, Tuesday, May 25 3:15pm - 4:15pm, Tuesday, May 25 (Repeated session) Developer Conference Room 133 Learn the basics of NEXTSTEP's newest kit with one of NeXT's trainers. Step through the decisions involved with building a simple DataBase Kit application and see how DataBase Kit can help reduce time and effort in developing a client/server custom application. Time is provided for Q&A at the end of this session. ** REAL-WORLD DATABASE KIT APPLICATIONS ** Panel: Moderator: Jerry Goode, Systems Engineer, NeXT Bill Dudney, Pencom Jim Million, Systemhouse Ken Case, Omni Group 2:00pm - 3:00pm, Tuesday, May 25 Developer Conference Room 133 A panel of corporate developers and system integrators explain and discuss their real-world development experiences and describe how the DataBase Kit helped them resolve client/server computing issues. ** ADVANCED DATABASE KIT ISSUES ** Panel: Moderator: Leo Hourvitz, NeXT Van Simmons, VNP Software Mike Sanford, Pencom Alex Cone, Objective Technologies Jerry Goode, NeXT Mike Riggs, NeXT Tom Winans, Systemhouse 3:15pm - 4:15pm, Tuesday, May 25 Developer Conference Room 131 Aimed at engineers who have done some heavy duty programming with DataBase Kit. This session will be a Q&A formatPthis is the panel to which you should bring your tough DBKit questions! The panelists all have tips and tricks for getting the real work done. ** USING NEXTSTEP RELEASE 3 APPLICATION KIT FEATURES ** Ali Ozer, Software Engineer, NeXT 10:45am - 11:45am, Wednesday, May 26 12:45pm - 1:45pm, Thursday, May 27 (Repeated session) Developer Conference Room 133 This session reviews several NEXTSTEP Release 3 features, including dragging, Help, filter services, and using color. Use of these features is uncomplicated and can add considerably to the power and flexibility of your application (and the popularity with your users.) ** OBJECT LINKS IN DETAIL ** Trey Matteson, Manager, Application Kit Group, NeXT 1:15pm - 2:15pm, Wednesday, May 26 Developer Conference Room 132 and 2:00pm - 3:00pm, Thursday, May 27 (Repeated session) Developer Conference Room 132 Take advantage of the power of object linking...the powerful mechanism that enables documents to share data dynamically. This session explains why and how you should incorporate Object Links into your application. ** PROGRAMMING WITH DISTRIBUTED OBJECTS ** Stephen Asbury, Developer Trainer, NeXT 2:30pm - 3:30pm, Wednesday, May 26 Developer Conference Room 133 This presentation details the steps you need to take to build a client/server application using distributed objects, one of NEXTSTEP's most powerful tools. Discussion includes invalidation notification, threaded servers, and peer-to-peer architectures. ** WORKING WITH THE INDEXING KIT ** Kris Younger, System Engineer, NeXT 3:45pm - 4:45pm, Wednesday, May 26 Developer Conference Room 133 The Indexing Kit is a major feature of NEXTSTEP Release 3. The kit provides a framework for storing and managing data, analogous to the framework for user interaction provided by the Application Kit. This session describes the salient features of the Indexing Kit, including transaction-protected storage, building dictionaries and indexes with BTrees, and building flat-file databases that store Objective-C objects. ** DRIVERKIT FOR NEXTSTEP FOR INTEL PROCESSORS ** Flip Dibner, Developer Support Engineer, NeXT 11:30am - 12:30pm, Thursday, May 27 Developer Conference Room 130 A detailed presentation of device driver architecture under NEXTSTEP for Intel Processors. The session includes review of several DriverKit classes, design considerations, comparison with traditional Unix (tm) drivers, and Q & A. Previous knowledge of NEXTSTEP and Unix drivers will be valuable. _____________________________________________________________________ => NeXTWORLD EXPO USER CONFERENCE TRACKS & SESSIONS May 25 - 27, 1993 ** TRACK ONE ** THEME: ENTERPRISE COMPUTING The first stage of desktop computing in corporations was all about enhancing individual and departmental productivity. NEXTSTEP takes corporations to the second stage by advancing the mission of the enterprise. This conference track explores the issues in enterprise computing such as client/server architecture, rightsizing, operational productivity, custom application development, and heterogeneous networking. In every area, NEXTSTEP offers great opportunity for the next stage of corporate computing. TRACK ONE SESSIONS: ** WHY OBJECT-ORIENTED PROGRAMMING and NEXTSTEP ** Panel: Ted Shelton, IT Solutions Paul Murphy Mike Mahoney, CS Dept. Chair, Cal State University, Long Beach 2:00PM - 3:00PM, Tuesday, May 25 User Conference Room 120 & 121 NEXTSTEP achieves its full power when applied in enterprise-wide systems for client/server functions. Discover how object-oriented programming techniques and client/server computing can bring immediate tangible benefits to organizations. ** RIGHTSIZING WITH NEXTSTEP ** Panel: Vidas Neverauskas, NeXT Computer Tom McLellan, Pencom Software Pete Farkas, Logicon Ultrasystems Roger Coates, Pan Canadian Petroleum Limited 12:45PM - 1:45PM, Tuesday, May 25 User Conference Room 120 & 121 and (repeat) Vidas Neverauskas, NeXT Computer Marc Elvy, Marble Associates, Inc. Pete Farkas, Logicon Ultrasystems Roger Coates, Pan Canadian Petroleum Limited 12:00PM - 1:00PM, Wednesday, May 26 User Conference Room 120 & 121 As businesses downsize monolithic mainframe applications to distributed client/server systems, they need object-oriented development tools that play in a standard networking environment. NEXTSTEP is an important piece of the rightsizing puzzle for corporate re-engineers. ** ENGINEERING CLIENT/SERVER SYSTEMS ** Panel: Brain Hobbs, Pencom Software Mike Adelson, Chrysler Financial Vimal Chowdury, Mt Clemens Hospital 4:30PM - 5:30PM, Tuesday, May 25 User Conference Room 120 & 121 Talk of rightsizing is cheap. NEXTSTEP gets you started today. This panel of customers, integrators, and system engineers explores the nitty-gritty technical issues of using NEXTSTEP in a client/server architecture. ** DEVELOPING AND DEPLOYING CLIENT/SERVER CUSTOM APPLICATIONS ** Panel: Tim Griswold, Servare Business Systems Grant Hayashi, Trident Data Systems David Holtzman, Booz Allen & Hamilton 11:30AM - 12:30PM, Tuesday, May 25 User Conference Room 120 & 121 and (repeat) Tim Griswold, Servare Business Systems Grant Hayashi, Trident Data Systems David Holtzman, Booz Allen & Hamilton 10:15AM - 11:15AM, Thursday, May 27 User Conference Room 120 & 121 NEXTSTEP's object-oriented development environment lets you bring new systems on-line in a fraction of the time needed with competitive products. That calls for a new approach to planning and implementing client/server custom applications. ** HOW NEXTSTEP FITS INTO YOUR HETEROGENEOUS CORPORATE NETWORK ** Panel: Katherine Jones, Data General Corp. Bill Young, Trident Data Systems Ray Bloom, Marble Associates, Inc. John Devitofaranceschi, Swiss Bank Corp. 1:15PM - 2:15PM, Wednesday, May 26 User Conference Room 120 & 121 Virtually every enterprise today maintains a mixed environment of computer platforms and networks. NEXTSTEP's support of multiple networking standards allows users to easily mix and match computers with their existing information systems. ** CONNECTING THE ENTERPRISE: WANs, LANs. and ISDN ** Panel: Frank Ricotta, moderator Pierre Durand , NeXT Computer, Inc. Steve Benton, Trident Data Systems Bill Young, Trident Data Systems Mark Dadgar, William Morris Agency 2:30PM - 3:30PM, Wednesday, May 26 User Conference Room 120 & 121 As business goes global, it isn't enough to interoperate in local networks at individual user sites. Here's how NEXTSTEP systems communicate with other computers in a world-wide distributed computing environment. ** MANAGING APPLICATION DEVELOPMENT PROJECTS ** Panel: Charles Oei, NeXT - moderator Kris Oosting, Objective Partners Scott Abel, Pencom Software Nicholas Christopher, Systemhouse 3:45PM - 4:45PM, Wednesday, May 26 User Conference Room 120 & 121 As NEXTSTEP speeds up the application development cycle, managers face new challenges in strategic and tactical planning. Here's what to expect in budgeting, staffing, managing, and phasing in your custom application projects. ** ISSUES IN SYSTEM ADMINISTRATION ** Panel: Simson Garfinkel, NeXTWORLD Timothy Reed, Black Market Technologies Anil Prasad, Wiltel Advanced Technology Group Alan Marcum, NeXT 11:30AM - 12:30PM, Thursday, May 27 User Conference Room 120 & 121 As NEXTSTEP proliferates in enterprise-wide information systems, the issues of network management and security become increasingly critical. System administrators explore the tools and techniques available for maintaining and securing corporate networks. ** TRACK TWO ** THEME: USING NEXTSTEP NEXTSTEP provides a user environment unlike any other operating system. To get maximum benefit from their systems, users need to know the intricacies of NEXTSTEP and third-party products. This track begins with critical information about running NEXTSTEP for Intel processors, and examines hot topics like portable computing, NEXTSTEP publishing, database management, and collaborative applications. Users can get hands-on help by attending sessions on NEXTSTEP tips and tricks, configuring systems for maximum power, and sources of training and support. TRACK TWO SESSIONS: ** INTRODUCTION TO NEXTSTEP for INTEL PROCESSORS ** Speaker: Jim Mynatt, NeXT 11:30AM - 12:30PM, Tuesday, May 25 User Conference Room 123 &124 NeXT's software guru's take you on a tour of the leading object-oriented operating system for mainstream business computers. ** INTRODUCTION FOR INTEL PROCESSORS: Q&A ** -OR- ** NEXTSTEP PC: Issues and Answers ** Speaker: Bob Lawton, NeXT 12:45PM - 1:45PM, Tuesday, May 25 User Conference Room 123 & 124 and (repeat) Speaker: Bob Lawton, NeXT 12:00PM - 1:00PM, Wednesday, May 26 User Conference Room 123 & 124 NeXT and NEXTSTEP hardware partners answer questions on software deliverables. ** MANAGING DOCUMENTS ** Panel: Gregory Miller - Moderator, Inherent Software Jay Kilby Sam Van Vactor, Insight Software 11:30AM - 12:30PM, Thursday, May 27 User Conference Room 123 & 124 Whatever happened to the paperless office? It's alive and well in law firms and medical organization employing NEXTSTEP software for document storage and retrieval. ** READ ALL ABOUT IT: PUBLISHING WITH NEXTSTEP ** Panel: Rick Reynolds, Publish Magazine - Moderator John Budacovich, Data Place Computer Mark Astman, Linotype-Hell Lauren Flanagan, GoldLeaf 4:30PM - 5:30PM, Tuesday, May 25 User Conference Room 123 & 124 NEXTSTEP's unified imaging model, powerful software tools, and workgroup connectivity are ideally suited for graphic design and electronic publishing. Experts explore the available tools for NEXTSTEP publishing, while early adopters describe their experiences. ** MANAGING YOUR DATA ** Panel: Dan Kehoe - Moderator, NeXTWORLD Rober Dyas, IP Design Alex Cone, Objective Technologies 2:00PM - 3:00PM, Tuesday, May 25 User Conference Room 123 & 124 Database management isn't a task only for programmers and system designers. Here's everything you need to know as a user for specifying and designing database front ends, as well as for managing your individual records. ** TBA SESSION ** 3:15PM - 4:15PM, Tuesday, May 25 User Conference Room 123 & 124 ** NEXTSTEP TIPS and TRICKS ** Panel: Lee Sherman - Moderator, NeXTWORLD Joe Barello, NeXTWORLD User Group Panelist User Group Panelist NEXTSTEP is so rich in capabilities that many users only scratch its surface. To get maximum benefit from NEXTSTEP, you need to know the shortcuts and hidden features available in the system. Power users show you how. ** CONNECTING TO THE WORLD ** Panel: Timothy Reed - Moderator Jim Opfer, RadioMail 3:45PM - 4:45PM, Wednesday, May 26 User Conference Room 123 & 124 There is a wealth of information, free software, and just plain camaraderie available to NEXTSTEP users through the Internet and other information services. This session tells you how and where to plug in to the wonderful world of NEXTSTEP online. ** SUPPORT, SERVICE, AND TRAINING ** Panel: Jan Tyler - Moderator, NeXT Scott Abel, Pencom Software Vince Jordan, Systemhouse Tim Purkis, Bell Atlantic 2:30PM - 3:30PM, Wednesday, May 26 User Conference Room 123 & 124 Get together with NeXT and NeXT training and service provider partners to hear about the new offerings in the area of support, service and training. ** WORKING TOGETHER WITH COLLABORATIVE SOFTWARE ** Panel: Stephan Adams - Moderator, Adamation Eric Wespestad, Swiss Bank Corporation Peter Park, Pangea Corporation 1:15PM - 2:15PM, Wednesday, May 26 User Conference Room 123 & 124 Groupware is a computer-industry buzzword that is much discussed and little practiced. In the NEXTSTEP environment, users are taking advantage of applications designed for collaborative work. This panel reviews the available products and illustrates the power of workgroup computing. ** PORTABILITY AND NOTEBOOKS: ISSUES AND ANSWERS ** Panel: John Barlow - Moderator, NeXTWORLD Bob Lawton, NeXT 10:15AM - 11:15AM, Thursday, May 27 User Conference Room 123 & 124 Customers are interested in NEXTSTEP portable computing. But 486 notebooks are not the only option for users who need to take their data on the road. This session looks at strategies for extending your desktop environment to wherever you happen to be. ** TRACK THREE ** THEME: IN THE TRENCHES Customers in business, education, and government have taken great strides in applying NEXTSTEP to solving problems in their fundamental advantages for unifying the desktop, collaborative computing, document management, decision support, and application development. In this track, speakers representing customers in NeXT's key markets share their experiences. TRACK THREE SESSIONS: ** UNIFYING THE DESKTOP ** Panel: Jeff Kvam - Moderator, Swiss Bank Corporation Gregory Miller, Inherent Solutions 11:30AM - 12:30PM, Tuesday, May 25 User Conference Room 122 The goal is no longer to have a computer on every desk, but to have only one computer on every desk. Users in financial services, law enforcement, and hospital administration describe how NEXTSTEP replaced diverse systems in a single workstation. ** END OF THE PARADOX: OPERATIONAL PRODUCTIVITY ** Panel: Sara Benson, NeXT Jeff Kvam, Swiss Bank Corporation John Schaffer, Brigham and Womens Hospital Jeff Rueben, University of Texas 12:45PM - 1:45PM, Tuesday, May 25 User Conference Room 122 NEXTSTEP solves the enduring paradox of the information age: Organizations' investment in technology has not resulted in measurable productivity gains. NEXTSTEP changes the equation by focusing on operational productivity. ** ENTERPRISE WIDE DATA ACCESS ** Panel: Felix Lin - Moderator, NeXT Alex Henry, William Morris Agency Bill Dudney, Pencom Software Mark Richards, Alain Pinel 2:00PM - 3:00PM, Tuesday, May 25 User Conference Room 122 ** ROLLUPS AND DRILLDOWNS: EXECUTIVE INFORMATION SYSTEMS ** Panel: Mark Thompsen, TRW P.K. M'Pherson, Information Delivery Ltd 10:15AM - 11:15PM, Thursday, May 27 User Conference Room 122 NEXTSTEP is ideal for applications that deliver live summary data and graphics to executives for decision support. Corporate and government users show how they did it. ** SUPPORT FOR STANDARDS ** Panel: Kris Younger, NeXT Bill Young , Trident Data Systems Dan Pederson, USC - ISI Neil Goodrich, Trident Data Systems 3:45PM - 4:45PM, Wednesday, May 26 User Conference Room 122 ** CUSTOM APPLICATION DEVELOPMENT ** Panel: Dan McCeary, Integrity Solutions Gary Lynn, NeuroDimension Inc. Mike McFall, LOR/Geske Bock Associates Inc. Stephane Savard, Panon Telexpertise Inc. 2:30PM - 3:30PM, Wednesday, May 26 User Conference Room 122 ** WHY NEXTSTEP -- CUSTOMER PERSPECTIVES ** Panel: Kris Younger, NeXT - Moderator Larry Bookstaver, USC - ISI Jim Traegar, TASC 4:30PM - 5:30PM, Tuesday, May 25 User Conference Room 122 Choosing NEXTSTEP was once risky. This panel of NEXTSTEP customers in business, government, and education discuss their choice of NEXTSTEP systems and the payoff. ** SERVING YOUR CUSTOMERS ** Panel: John Trustman - Moderator, Fidelity Investments Randy Mosteller, Trident Data Systems Mike Adelson, Chrysler Financial 10:15AM - 11:15AM, Wednesday, May 26 User Conference Room 122 The greatest challenge in business today is providing timely and accurate service to customers. NEXTSTEP systems provide the informational framework for world-class customer service. Users from health care, financial services, and transportation show how they did it. ** ENTERPRISE TRANSFORMATION ** Panel: Dan Ruby - Moderator, NeXTWORLD Erique Rosado, Software Services & Solutions, Inc. Chris Cuilla, ITS Bernard D. Aboda, MailCom 1:15PM - 2:15PM, Wednesday, May 26 User Conference Room 122 Technological change does not occur in a vacuum. Sometimes, the technology used can lead to structural and cultural changes in an organization. Panelists from law enforcement, telecommunications, and the energy business explore the positive effects of NEXTSTEP technology on organizational hierarchies, decision making, and customer relations. ** TRAINING FOR SUCCESS ** Panel: Jan Tyler - Moderator, NeXT Eric Wanger Don Winn, PanCanadianPetroleum Limited 12:00PM - 1:00PM, Wednesday, May 26 User Conference Room 122 Training alternatives are critical to meeting the diverse needs of NEXTSTEP developers, users, and systems administrators. This panel includes representatives from NeXT's training consortium, NeXT instructors, and customers whose successes with NEXTSTEP have been accelerated by choosing the right training curriculum. ** CORPORATE IDENTITY ** Dan Ruby - Moderator, NeXTWORLD James Scouttar, Just Proportion Ltd. Victor Spindler, Pages Software 11:30AM - 12:30PM, Thursday, May 27 User Conference Room 122 ** TRACK FOUR ** THEME: HOT PRODUCTS The sizzle in the NEXTSTEP market is the varied software solutions offered in hotly contested application categories. In this track, developers demonstrate the best and newest tools for document creation, presentation, financial modeling, database management, business graphics, and software emulation. With this background, users will be better able to examine the strengths and weaknesses of the products shown on the exhibit floor. TRACK FOUR SESSIONS: ** DOCUMENT CREATION ** Panel: Rick Reynolds - Moderator, Publish Magazine Glenn Reid, RightBrain Software Bruce Webster, Pages WordPerfect Corp. 2:00PM - 3:00PM, Tuesday, May 25 User Conference Room 125 The leading applications for creating business documents square off. Their different approaches to page layout and design provide good choices for every kind of NEXTSTEP user. This session provides an excellent opportunity to view, evaluate, and discuss the wide array of page layout applications available for NEXTSTEP. ** PRODUCTIVITY, NEXTSTEP STYLE ** Panel: Dan Lavin - Moderator, NeXTWORLD Julie Saffren, NeXT Joe Barello , NeXTWORLD 2:00PM - 3:00PM, Tuesday, May 25 User Conference Room 125 In this session, developers discuss the feature and benefits of today's NEXTSTEP productivity applications and how they can be used most effectively. NEXTSTEP is home to innovative software products in virtually every productivity category. What's truly amazing is the way they all work together in an integrated user environment. ** INFORMATION MANAGERS ** Panel: Dan Ruby - Moderator, NeXTWORLD Scott Love, Millennium Andy Turk, Sarrus Karl Craft, Ensuing Technologies 3:45PM - 4:45PM, Wednesday, May 26 User Conference Room 125 The last year has seen an explosion of products for managing personal and group information. These tools have allowed NEXTSTEP users to move even closer towards the goal of a true paperless office. Learn about the calendar, address books, and free-form databases that are on the vanguard of workgroup computing on NEXTSTEP. ** BETTER PRESENTATIONS ** Panel: Lee Sherman - Moderator, NeXTWORLD Jonathan Schwartz, Lighthouse Design, Ltd. David Gregory, Imagine Rand Schulman , Pages Software 4:30PM - 5:30PM, Tuesday, May 25 User Conference Room 125 Making presentations is among the most frequent tasks in business. Creating presentations using NEXTSTEP and available third-party applications has proven to be both easy and impactful. Here we look at the options for improving your delivery with visually appealing slides and interactive media. ** EMULATION AND CONNECTIVITY ** Panel: Joe Barello - Moderator, NeXTWORLD Mark Munford, Insignia Cliff Mathews, Abacus Olivia Favela , IPT Scott Opitz, Conextions 10:45PM - 11:45PM, Wednesday, May 26 User Conference Room 125 NEXTSTEP is great, but sometimes you have to make concessions to the rest of the world. Whether you want to make your NEXTSTEP system behave like Windows, Macintosh, X, or a mainframe terminal, there is a third-party product for you. Developers in this session will review those products available in the future. ** GRAPHICS FOR BUSINESS ** Panel: Tony Bove, NeXTWORLD - Moderator Tony Renier, BlackSmith Andrew Stone, Stone Design Jonathan Schwartz, Lighthouse Design, Ltd. 12:00PM - 1:00PM, Wednesday, May 26 User Conference Room 125 Illustration tools are not just for artists. NEXTSTEP offers some of the best applications on any platform for creating business charts, diagrams, and drawings. Whether you're looking for applications in the area of free-hand drawing, product planning and flowcharts, or presentation enhancement, this session is for you. ** MULTIMEDIA AND 3D ** Panel: Lee Sherman - Moderator, NeXTWORLD Jesper Lundh, Xanthus Glen Worstell, Thoughtul Software 11:30AM - 12:30PM, Thursday, May 27 User Conference Room 125 NEXTSTEP has always been a leader in the area of multimedia. Learn how NEXTSTEP's inclusion of RenderMan technology, strong multimedia authoring systems and tools for sound and music have set the stage for an explosion of software for 3D rendering, animation, and multimedia. ** DOCUMENT MANAGEMENT ** Panel: David Spitzler, NeXT Peter Ripp, Boss Logic Sam Van Vactor, Insight Robert Thibadeau, Visus 11:30AM - 12:30PM, Thursday, May 27 User Conference Room 123 & 124 NEXTSTEP's combination of strengths for scanning character recognition, imaging, and collaborative computing make it an ideal platform for document storage and retrieval. Developers demonstrate their solutions for the potentially huge but largely underutilized workstation application. ** SPREADSHEET AND MODELERS ** Panel: Dave Grady - Moderator, NeXT David Pollack, Athena Design Michael Steele, Axsys Chip Goodman, WhiteLight 2:30PM - 3:30PM, Wednesday, May 26 User Conference Room 125 NEXTSTEP abounds in diverse solutions for financial modeling. Whether you need a traditional spreadsheet, multi-dimensional tool or sophisticated enterprise financial modeler, NEXTSTEP serves your needs with strong third-party products. Come see for yourself. ** GRAPHICS ARTS ** Panel: Rick Reynolds - Moderator, Publish Magazine Troy Whitsett, Altsys Lauren Flanagan, Goldleaf Randy Adams, Appsoft 10:15PM - 11:15PM, Thursday, May 27 User Conference Room 125 ** DATABASES ** Panel: Daniel Kehoe - Moderator, NeXTWORLD Bob Beth, Proponent Rober Dyas, IP Design Andrew Stone, Stone Design 1:15PM - 2:15PM, Wednesday, May 26 User Conference Room 125 ____________________________________________________________________ => NEXTSTEP PRODUCT EXHIBITION: PARTICIPATING COMPANIES May 25 - 27, 1993 Participating Companies: Abe Industry Artemis AEC Software ADAMATION Adobe Systems Inc. Alembic Systems International Ltd. Altsys Corporation Anderson Financial Systems ANDI Appsoft, Inc. Athena Design Axsys Bacchus, Inc. BenaTong BenchBuilt Software Co. benchMark Development, Inc. Black & White Software Blacksmith Blue Rose Systems Booz-Allen & Hamilton Canon Ciusa, Inc. Compaq Computer Corp. Conextions Cube Information Systems Cub'X Systems Data General Corp. Dell Computer Detective Tools Corp. Digital Compostition Systems, Inc. Distributed Processing Technology eCesys Epson Firstsoft, Inc. / DBSA. Inc. Goldleaf Publishing, Inc. Goldleaf Systems Harvard Tool Works Hewlett-Packard Company Highland Digital HSD Microcomputer Hypersight, Inc. i-link, GmbH Imagine Multimedia, Inc. Impact Multimedia, Inc. INSIGHT Software Insignia Solutions, Inc. Intel Corporation Jana Publishing Lighthouse Design, Ltd. Logicon Ultasystems Inc. LogicStream Memory International, Inc. Metrosoft Millennium Software Labs, Inc. MRJ, Inc. NEC Technologies Inc. Network Expressn Inc. NeXT, Inc. NeXTWORLD Magazine Northstar Technologies Inc. nPoint Objective Technologies, Inc. ONyX Systems, Inc. Pages Software, Inc. Paget Press Pangea Corporation PARABASE Pencom Perennial Software Pinnacle Research, Inc. Professional Software, Inc. RDR, Inc. Ridgeback Solutions RightBrain Software, Inc. SMC Sarrus Software, Inc. Schema Research Corp. Second Glance Software Sirius Solutions, Inc. Skylee Press SofDesign Software Ventures Step 2 Software, Inc. Stone Design Systemhouse Inc. (Object Technology Center) Systemix Software, Inc. TMS GmbH Tecor, Inc. Telos / Springer-Verlag Thoughtful Software Toshiba Trident Data Systems Trirex Systems Vertex Software Watershed Technologies Wolfram Research, Inc. WordPerfect Corporation Yrrid Incorporated ...and more ____________________________________________________________________ => NeXT USER GROUP PROGRAM AGENDA User Group Keynote Thursday, May 27 9:00 am - 11:00 am Steve Jobs: 486--An Explosion of Users Under NeXT's Big Tent Steve Jobs headlines this exciting kickoff to today's activities. The number of NEXTSTEP users in the world doubled last year. With the advent of NEXTSTEP for Intel processors, we anticipate a tremendous explosion of new users and user group members using both black and white hardware. How do we serve this dynamic new population and tap into their talents? Ideas for 1993 and beyond will be discussed. Also during this session, NeXT will present its "Golden Nugget Awards" for special contributions by user groups during the past year. ** USER GROUP PROGRAM: LEADERSHIP TRACK ** Thursday, May 27 11:00am - 12:00pm -Leadership and Organizing Ideas Panel chair: BANG (Bay Area NEXTSTEP User Group) 1:00pm - 2:00pm -Working with NeXT, 3rd Party Vendors, and Resellers Panel co-chairs: KYNUG (Kentucky NEXTSTEP User Group) PSNUG (Puget Sound NEXTSTEP User Group) 2:00pm - 3:00pm -Attracting and Keeping Volunteers and Officers Panel chair: UKNUG (United Kingdom NEXTSTEP User Group) 3:00pm - 4:00pm -Fundraising Panel chair: NoIR - NEXTSTEP Organization International ____________________________________________________________________ ** USER GROUP PROGRAM: MEMBERSHIP SERVICES TRACK ** Thursday, May 27 11:00am - 12:00pm -Training Panel co-chairs: SCaN (Southern California area NEXTSTEP User Group) hAng (Houston area NEXTSTEP User Group) Scott Weiner, NeXT Training department 1:00pm - 2:00pm -Planning and conducting a successful meeting Panel chair: BCS-NeXT (Boston Computer Society NEXTSTEP Group) 2:00pm - 3:00pm -Newsletters Panel chair: rmNUG (Rocky Mountain NEXTSTEP User Group) 3:00pm - 4:00pm -Getting your members on the worldwide net Panel co-chairs: GUN (Gotham Users of NEXTSTEP, New York City) Madison, Wisconsin NEXTSTEP User Group ____________________________________________________________________ => TUTORIALS AND BOF MEETINGS Hands-On NEXTSTEP Tutorials If you're new to NEXTSTEP, this is your chance to learn the basics...and if you're a seasoned developer, you can sign-up to spend some time with an expert on the subject of your choice. Extending from the show floor, the NEXTSTEP hands-on tutorial area sponsored by Dell Computer, provides instructions and mini-sessions for both end users and developers. User Tutorials are scheduled throughout the three days of the Expo to introduce new users to NEXTSTEP and to provide guidance on navigating the workspace, working with applications, and using NEXTSTEP features. Developer Tutorials provide two learning opportunities: hands-on instruction in "boot camp" issues as well as one-on-one time with a NeXT expert on specific development topics. Birds-of-a-Feather Meetings Developers can conduct a limited number of Birds-of-a-Feather get-togethers on Wednesday evening, May 26, 5:00 p.m. - 8:00 p.m. Room reservations are available on a first-come, first-served basis. Email BOF@NeXT.com to reserve a room for your special interest group. Please include your coordinator's name, an email address, and an abstract of the session. NeXTWORLD Expo Bof (Birds of a Feather) Schedule: Wednesday, May 26, 1993 5:00 - 6:00pm: Developer Conference Room 132 Guerrilla Marketing for NEXTSTEP Developers Organizer: Conrad Geiger, NeXT This BOF session will cover the tactics for reaching the NeXTSTEP users and potential NeXTSTEP users of NeXTSTEP and your product. Working with user groups, the press, resellers, and VARS/VADS will be the focus of this informal sharing of ideas. 6:00 - 8:00 pm: Developer Conference Room 130 Object Protocols for NEXTSTEP (OPN) Organization Organizer: Marcos J. Polanco, The Research Libraries Group The premise of the organization is that while NeXTstep offers the underlying technologies of a fully object-oriented operating system, the benefits of object orientation will not be fully realized until standards emerge for interobject communication. The standards are at the application level (OPNAddressBook, OPNCalendar, OPNMail, OPNSpreadsheet, OPNGraph, OPNDevelopmentTools) and are vendor independent, thus guaranteeing an open market for implementations. We will discuss the charter for the organization. 6:00 - 7:00 pm: Developer Conference Room 131 Sound, Music and DSP standards for NeXTSTEP/Intel Organizer: Michael McNabb, Software Consulting The original NeXT computers were embraced by a large community of computer music and digital audio artists, researchers, and developers. The machine's greatest appeal was that it provided a common platform with a powerful minimum set of standard hardware and software features, allowing a much greater exchange of work and ideas than in the past. NeXT's move to Intel hardware presents a great challenge to this community. PC audio and music hardware standards do not really exist, and NeXT itself will only be supporting a reduced set of software standards. The community must now define its own set of standards and supported hardware in order to preserve existing capabilities, encourage development, and maintain interchangeability. This session will include brief presentations from various perspectives by members of the NeXT audio and DSP community, and a face to face discussion of these issues. 6:00 - 7:00 pm: Developer Conference Room 132 NeXT Means Business: How Can Developers Sell More? Organizer: Peggy Thompson, Paget Press How can developers better reach the customer bases looking for NeXT products? How can we work together more efficiently? Developers can share success stories on how to get visibility for their products. 6:00 - 7:00 pm: Developer Conference Room 133 IndexingKit SIG Organizer: Jack Greenfield, NeXT Have you built an interesting data structure with IXBTree? Are you wondering how to store a graph of objects in IXRecordManager? The Indexing Kit BOF will provide an informal setting for the exchange of tips and tidbits relating to the Indexing Kit. IXKit developers from around the NeXT community will be in attendance, and IXKit author Jack Greenfield will be on hand to share techniques, and to answer your questions. Developers familiar with IXKit are encouraged to come and share their experiences. Developers thinking about using IXKit are encouraged to come and learn how the IXKit can help them with their application. 6:00 - 7:00 pm: Developer Conference Room 120 Virtuoso SIG Organizer: Troy Whitsett, Altsys The session will feature a few advanced guest designers to lead in a discussion of the different solutions that Virtuoso provides to NeXTSTEP users. Each designer will discuss a different solution for Virtuoso and NeXTSTEP, including: Business graphics - presentations, corporate identity pieces, business cards, annual reports, etc.; Graphic design - creating infographics, logos, special effects, product packaging, posters, etc.; Page layout - Working with text, bringing files together into large documents, creating newsletters, brochures, etc. This will be an open discussion for users to openly discuss and share information and techniques for using Virtuoso in their work. It will also enable potential and advanced users of Virtuoso to learn new tips and tricks. Door prizes will be awarded as well. 6:00 - 7:00 pm: Developer Conference Room 122 NeXT in Law Organizer: Gregory Miller, Inherent Technologies, Inc. This is the annual meeting for the NeXT-in-Law User Group, JuriNUG. While JuriNUG convenes at other American Bar Association functions, this meeting is a chance for anyone and everyone interested in the use of NEXTSEP in the legal profession to gather and exchange ideas, discuss issues, and learn about this rapidly developing vertical market. The meeting is open to anyone, not just legal professionals interested in learning about the legal computing market. If you have specific questions or have a particular item for an agenda, please contact Greg Miller at 503-224-6751 or gregory_miller@inherent.techlaw.com. 6:00 - 7:00 pm: Developer Conference Room 123 Custom Applications Developed with Objective DB Toolkit Organizer: Valerie Birk, Logibec The all new Objective DB Toolkit version 3 offers developers 4GL capability with a script language that puts the development of custom applications within the reach of any developer. The Toolkit also offers an extensive choice of field templates, the possibility to overlay views without the use of Objective C code. The Objective DB Toolkit development environment is built on top of NeXT's Database Kit which provides adaptors to Sybase and Oracle for fast development of mission critical client/server applications. 7:00 - 8:00 pm: Developer Conference Room 130 (OPN continued) Incrementally Creating Apps at Run-time (The Other Half of Interface Builder) Organizer: Charles L. Perkins Many early NeXTSTEP developers were excited by the promise of programming entirely within Interface Builder, creating a fully interpretive, rapid prototyping environment with loadable palettes of objects. Despite 3.0 additions, I.B. does not provide that environment. The "other half" of I.B. must provide glue to link arbitrary objects and NIB files together at run-time, and must allow a rich set of possible connections between them without constraining the meaning of those connections. If such a framework includes the ability to modify the currently running application's state, entire applications can be created at double-click time or even while they are running, in an incremental and amazingly flexible manor. One such framework will be presented, to stimulate discussion. 7:00 - 8:00 pm: Developer Conference Room 120 Color Management for NeXTSTEP Organizer: William Bonekemper, HERE, Inc. HERE's color management system benefits every NeXTSTEP user who needs to produce calibrated and controlled color output. This session will convey information and instruction concerning how the Color Management System works and how to use it with NeXT application software. This is accomplished through the use of live demonstrations on a large projection system where NeXT applications are utilizing HERE's Color Management System. ____________________________________________________________________ => REGISTRATION, HOTEL AND TRAVEL INFORMATION TO REGISTER FOR NeXTWORLD EXPO Mail completed form to: NeXTWORLD EXPO DCI 204 Andover Street Andover, MA 01810 -OR- Fax to: 508/470-0526 (24 hours a day) -OR- Call Toll-Free: 800/767-2336 (US only: 8:30a.m.- 6:00p.m. EST) -OR- International Registration: 508/470-3880 Please check all that apply: Developer Conference (#3032) ____ $695 ____ $745 (on-site) User Conference (#3033) ____ $195 ____ $245 (on-site) Exhibits Only (#3034) ____ $25 ____ $40 (on-site) User Group Program ____ FREE (Open to all attendees who register) SPECIAL PRICE FOR ALL CONFERENCES: Developer Conference Package (#3032N): Includes all conferences registration and a copy of NEXTSTEP for Intel processors User Environment and Development Tools for your 486 computer ____ $995 ____ $1095 (on-site) ____________________________________________________________________ REGISTRANT INFORMATION: Name: ______________________________ Company: __________________ Title: ______________________________ Division: __________________ Name: ______________________________ Street: ____________________ Title: ______________________________ City: ______________________ Name: ______________________________ State/ZIP: _________________ Title: ______________________________ Phone: _____________________ Fax: ______________________ Authorized Signature/Date: _________________________________________ Method of Payment _______ Check enclosed payable to NeXTWORLD EXPO _______ Visa _______ MasterCard Card number: ____________________________ Expiration date: ________________________ Cardholder Name: ________________________ _______ Bill my firm. Attention of: ________________________________ Conference cancellation policy: Substitutions may be made at any time. Cancellations made by May 11, 1993 will be accepted, subject to a cancellation service charge of $100. Confirmed registrants who do not attend the conference or cancel after May 11, 1993 are liable for the entire registration fee. All cancellations must be made in writing. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Hotel and Travel Information NeXTWORLD EXPO is pleased to offer you special discounted hotel overnight rooms and airfares. To receive discounted reservations or information on these special services, please call Conference and Travel Services (CATS) at 800/767-2755 or 508/470-3933 or fax your request to 508/470-0526. _____ San Francisco Hilton (Single or Double: $150) _____ The Donatello (Single or Double: $115) _____ Holiday Inn Union Square _____ Single: $115 _____ Double: $135 _____ Monticello Inn (Single or Double: $120) _____ ANA Hotel _____ Single: $130 _____ Double: $150 _____ Savoy Hotel (Single only: $109) _____ Campton Place _____ Single: $160 _____ Double: $185 _____ Cartwright Hotel _____ Single: $109 _____ Double: $119 Please indicate your first three hotel choices. We will notify you, in writing, of your confirmed hotel assignment. A credit card is needed to Guarantee Your Hotel Reservation _____ VISA _____ MasterCard _____ Am. Express _____ Diners Club _____ Discover _____ Personal Card _____ Corporate Card Cardholder Name: ____________________ Arrival/Departure ___________ Company Name: _____________________ Signature: __________________ Card Number: ________________________ Business Phone: _____________ Expiration Date: ____________________ Home phone: _________________ Fax Number: _________________________ -end-
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.windows.x Subject: Announcement: ADB-compatible "Mouse-X" server now available Keywords: Mouse X server ADB keyboard Message-ID: <8451@ucsbcsl.ucsb.edu> Date: 4 May 93 17:51:29 GMT Sender: root@ucsbcsl.ucsb.edu Followup-To: comp.sys.next.software Organization: Center for Computer Music Research and Composition, U.C.S.B. A new version of the public-domain monochrome and color "Mouse-X" X server binaries is now available on foxtrot.ccmrc.ucsb.edu as ~ftp/pub/X11R5-MouseX.tar.Z. This tarfile contains the binaries for the two servers, a README file, and a new version of the front end App. The new server version will now work on NeXTs with the new ADB keyboard, as well as NeXTs with the original keyboards. As before, these servers will also run on Turbos and non-Turbos. The new front end App allows you to toggle between machine configurations (but you must restart the server to have them take effect). For those who have not used the "Mouse-X" X servers and are interested, read the README.FIRST file in the same directory as the above file for more information about what you will need. ***** For those who are waiting for the MIT X source patch: ***** I should have this ready by the end of the week, and I will be placing it in the submissions directories on orst and sonata as X11R5-source.patch.tar.Z. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Newsgroups: comp.sys.next.programmer From: silbar@cantina.lanl.gov (Dick Silbar) Subject: How to print .eps files from a script? Message-ID: <1993May4.185722.16325@newshost.lanl.gov> Sender: news@newshost.lanl.gov Organization: Los Alamos National Lab Date: Tue, 4 May 1993 18:57:22 GMT I have a program which generates about thirty graphs, all saved as .eps files. I would like to print these from a c-shell command line (or from a script), rather than going through the lengthy procedure of opening each one in Preview and hitting <cmd-p><cr> each time. From NextAnswers, postscript.559, I found out why I couldn't simply 'lpr foo.eps' and get anything out of the printer. My application doesn't put in the 'showpage' PS command. Doing that (by hand or by script with ex), yes, I can now do a foreach and lpr each .eps file. The problem is that what would come out nicely in landscape mode, if printed from Preview with that option chosen in the PageLayout panel, now comes out squashed on the bottom of the page, portrait orientation, with its edges clipped. I tried adding the comment '%%Orientation: Landscape' to the PS preamble, but that somehow didn't work. Nor did an attempt to re-size the bounding box. (I haven't tried translate or scale, yet.) Something which *might* work but which I don't know how to implement is to use a here-document style, like open foo.eps << EOI <cmd-p> <cr> EOI What is unclear is how to put the <cmd-p> character into the script file, either with Edit.app or with Emacs. (What IS the <cmd-p> character, anyway?). My digital librarian search of the FM's and FAQs didn't come up with anything suggestive. Any suggestions? Thanks. Dick Silbar
From: Gregor Purdy <gregor@umich.edu> Newsgroups: comp.sys.next.programmer Subject: Need help with cursor challenges... Date: 4 May 1993 21:47:55 GMT Organization: University of Michigan Message-ID: <1s6oab$760@terminator.rs.itd.umich.edu> Does anyone out there have the info on how to set the mouse/cursor relationship to be constant? I know there is a default in the defaults database that the preferences application messes with, and I've seen somewhere a specification for what the parameters of the default are, but I don't remember where... Also, I tried creating a cursor and pushing it to be the current cursor, but nothing happened. Any pointers here also? Thanks! --Gregor N. Purdy Contemporary Design Studios
Newsgroups: comp.sys.next.programmer From: john@oceania.com (John Robison) Subject: Jobs: Senior Software Engineers - Oceania, Palo Alto, CA Message-ID: <C6Ix7M.32r@oceania.com> Sender: john@oceania.com (John Robison) Organization: Oceania Health Care Systems Distribution: na Date: Tue, 4 May 1993 22:30:57 GMT *** Openings - Senior Software Engineers *** Job Title: Senior Software Engineers Geographic Location: San Francisco Bay Area (Palo Alto) Job Duration: Permanent - Full-time (Will consider Contractors) Opening Availability: Now Job Description: Design and Implementation of clinical health care applications. Responsible for providing technical leadership in the core Design and Implementation of Oceania's flagship product. Object-oriented design and implementation focused on the "data-representation layer" of our product. Some UI design, and very light database work (Sybase). Currently implementing on NeXTStep UNIX workstations in Objective-C. Candidate Qualifications: Required: Strong Object-Oriented Design skills C++ Experience with product delivery Experience leading Development teams UNIX Client-Server application development Strong Writing and Communication skills BS/MS in an engineering degree with related experience Bonus: NeXT UI design and development Objective-C language Health Care related product experience Multi-Media Sybase (SQL) *** Oceania Company Background *** Oceania Health Care Systems is a growing start-up software development company dedicated to improving patient care through a progressive approach aimed at providing health care information management solutions. Oceania is committed to utilizing industry standards, maintaining an open architecture, incorporating the newest advances in hardware, networking/communication and software technologies, and changing the notion of the human machine interface. Our goal is the development of a state of the art computer human interface and database for the clinical environment. Full-time positions are available immediately with start time and compensation package negotiable. All interested in Oceania and its endeavors are encouraged to mail or FAX a CV/Resume (ASCII or NeXT E-mail OK), indicating the position you are interested in, to: John Robison 325 Lytton Avenue, Suite 400 Palo Alto, CA 94301 FAX: (415) 322-0142 john@oceania.com -- John Robison | john@oceania.com | This Space Available NeXTMail Accepted. | Call: 555-SIGS Opinions are my own. |
Newsgroups: comp.sys.next.programmer From: dwboyce@acsu.buffalo.edu (Doug Boyce) Subject: Lead to NXBrowser programming examples Message-ID: <C6J6EK.MF2@acsu.buffalo.edu> Sender: nntp@acsu.buffalo.edu Organization: University at Buffalo Date: Wed, 5 May 1993 01:49:31 GMT I'm looking for pointers to examples using 2 deep or more NXBrowers. Doug -- Doug Boyce dwboyce@acsu.buffalo.edu
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: newline code needs escaped!? Message-ID: <C6JAw9.1yJ@pyrian.com> Sender: ian@pyrian.com (Ian H. Stewart) Organization: PYRIAN Software Group - Makers of On Vacation(tm). 415 664-1170 ext 7. Date: Wed, 5 May 1993 03:26:32 GMT I have something similar to this: char body[10000]="\ This is the first line.\n\ this is the second line.\n\ this is the line that needs to have the \r\n on it.\n\ this is the last line.\n\ "; I need the fourth line to actually print "\r\n". I am not having any luck. I tried to \\r\\n, but I get a compiler error. Any help is appreciated. -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: jcc@cerberus.bhpese.oz.au (Julianne Cripps Clark) Subject: oo productivity gains Organization: BHP, Newcastle, Australia Date: Wed, 5 May 1993 05:51:20 GMT Message-ID: <1993May5.055120.27309@cerberus.bhpese.oz.au> Keywords: % increase Sender: news@cerberus.bhpese.oz.au (News System) Anybody have some productivity increase figures for use of oo tools please? The bare minimum would be OK but supporting data like:- necessary training to gain these increases names of the particular tools used for which the productivity increase applies applicable platforms (mainframes yet?) ANY OTHER CAVEATS would be even better! thanks Julianne Cripps Clark -- Julianne Cripps Clark, BHP Information Technology, Newcastle, Australia Internet: jcc@bhpese.oz.au Phone: +61 49 40 2126 Fax: ... 2165
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: How to set the mouse cursor position? Organization: Primitive Software Ltd. Date: Tue, 4 May 1993 19:22:44 +0000 Message-ID: <1993May4.192244.993@prim> Sender: usenet@demon.co.uk Does anyone know how to set the position of the mouse cursor programatically? (I mean the little arrow that is unrelated to any window.) The NXCursor class contains no methods for setting or returning the position. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: jalegre@htlv.med.umn.edu (John Alegre) Subject: Problems with gdb, C++, and Motif. Message-ID: <C6KKDp.6qI@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Wed, 5 May 1993 19:45:44 GMT We are having a problem with the GNU debugger. We are using C++, and the Motif libraries in the Pencom co-Xixt package. We compile with the debug option: cc++ -c -g -DFUNCPRONTO -DXFUNCPRONTO When we invoke GDB it reports that it is reading in the symbol table, and when we type "view" we do get the gdb menu in Edit, but that is as far as it goes. Further attempts to step or next through the source go nowhere. the debugger appears to get hung up in loops in the Motif "init" calls and reports lots of "Memory exception errors". What gives? We are using the cc++ compiler and gnu debugger that are native to OS 3.0. All comments welcome. --- John N. Alegre Andante Systems ############################################################# # NeXTMail preferred. | # jdev@andante.mn.org | # alegrej@andante.mn.org | If you plant ice, # jalegre@lenti.med.umn.edu | you're gonna harvest wind! # alegrej@libros.andante.mn.org | Hunter/Garcia #############################################################
Newsgroups: comp.sys.next.programmer From: silbar@cantina.lanl.gov (Dick Silbar) Subject: More on "How to print .eps files from a script?" Message-ID: <1993May5.203248.1800@newshost.lanl.gov> Sender: news@newshost.lanl.gov Organization: Los Alamos National Lab References: <1993May4.185722.16325@newshost.lanl.gov> Date: Wed, 5 May 1993 20:32:48 GMT In article <1993May4.185722.16325@newshost.lanl.gov> I wrote: > I have a program which generates about thirty graphs, all saved as .eps > files. I would like to print these from a c-shell command line (or from a > script), rather than going through the lengthy procedure of opening each > one in Preview and hitting <cmd-p><cr> each time. > > From NextAnswers, postscript.559, I found out why I couldn't simply > 'lpr foo.eps' and get anything out of the printer. My application doesn't > put in the 'showpage' PS command. Doing that (by hand or by script with > ex), yes, I can now do a foreach and lpr each .eps file. > > The problem is that what would come out nicely in landscape mode, if > printed from Preview with that option chosen in the PageLayout panel, now > comes out squashed on the bottom of the page, portrait orientation, with > its edges clipped. > > I tried adding the comment '%%Orientation: Landscape' to the PS preamble, > but that somehow didn't work. Nor did an attempt to re-size the bounding > box. (I haven't tried translate or scale, yet.) > > Something which *might* work but which I don't know how to implement is to > use a here-document style, like > > open foo.eps << EOI > <cmd-p> > <cr> > EOI > > What is unclear is how to put the <cmd-p> character into the script file, > either with Edit.app or with Emacs. Well, I received some good responses: Some would require a bit more work than I might want to invest. There were also other suggestions which SHOULD work, but don't! From Tim Olson: try 'open -p <epsfile>'. ELEGANTLY simple! and the man page for open is very encouraging. But, it doesn't work. Not only on my eps files (which do print from Preview, the application in which they open), but also not on other, "ordinary" .ps files (which also print from Preview). From Tom Marchioro: try 'pslpr -L <epsfile>'. Also elegantly simple. Last night I was unable to READ the man page for pslpr. [The man pages are on a server and some joker (named Amitaba!) with a nonstandard umask had previously man'd pslpr and left it in man/cat1 only readable by him.] But, also very encouraging. Unfortunately, neither Tom nor I can get it to print anything but portrait. Nor can I do anything with psnup -r, which would rotate things to landscape. Has anybody gotten open or pslpr to work with -p or -L, respectively? A suggestion that _sounds_ like it might work is to use enscript. But, on an .eps file, it just gives you the EPS ascii text. I also received an offer of a perl script from Jim Burns (but I don't have or use perl -- yet, anyway). And Matthew Seaman sent me a PS file for tiling EPS graphs on one page -- it doesn't run on my machine, out of the mailbox, and it would take some (maybe a lot of) PS hacking to get it to do what 'open -p ...' should do at once. So, I am still printing my 30 graphs "by hand" from Preview. There MUST be a way this can be done better. Dick Silbar
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Simple Question: Where is app.make? Message-ID: <1993May5.090445.2009@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <1993May4.082404.20288@ousrvr.oulu.fi> Date: Wed, 5 May 1993 09:04:45 GMT In article <1993May4.082404.20288@ousrvr.oulu.fi> carterd@valens.cs.qub.ac.uk (David Carter) writes: > The MAKE complains that it cannot find app.make, which it reports should > be in NextDeveloper/Makefiles. I've tried to locate app.make myself, > using the usual find applications, but to no avail. Is this because these > pieces of software are specifically for Next3.0? If so is there a way of > modifying the Makefile to accomodate this problem? > > I've asked our SM, and he doesn't know - so can anyone help me out?! > Please! > /thomas> find app.make /NextDeveloper/Makefiles/app/app.make /usr/lib/nib/app.make -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de C is a language that combines all the elegance and power of assembly language with all the readability and maintainability of assembly language
From: ramesh@mishna.esys.cwru.edu (Ramesh Doddamani) Newsgroups: comp.sys.next.programmer Subject: Question regarding DBFetchGroup Date: 5 May 1993 21:12:09 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <1s9aj9$f6h@usenet.INS.CWRU.Edu> Hello I am having difficulty in using the fetchContentsOf: usingQualifier method of DBFetchGroup. I would be grateful if somebody could send me an example using the same. Thanks in advance. RAmesh -- ******************************************************************** Ramesh Dodamani <<REPLY TO rxd20@po.cwru.edu>> Case Western Reserve University Cleveland OHIO ********************************************************************
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: How to identify NeXT hosts? Message-ID: <1993May05.204508.19534@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Wed, 05 May 1993 20:45:08 GMT I am writing a set of applications which use distributed objects. A server app may exist on several machines on the net. The client app wants to identify and connect to all available servers. At this point, I use nidump to get a list of hosts and then cycle thru them attempting connectToName:onHost: to determine which are running my server. This works but it is SLOW!! It's takes less than a second to discard NeXT hosts which aren't running the server, but it takes about 5 seconds to discard non-NeXT machines. Since it is only valid to run the server on NeXT machines, I could save lots of time by skipping the other ones. So does anyone know a quick way to tell if a remote host is NeXT or no? Or to get a list of all connected NeXT boxes? Or to identify all hosts running a particular named port? Personally, I'd just as soon ditch the Suns/PC's/etc, but that is not an option. Thanks for any help. -- Patrick Hester ph@pencom.com 212-513-7777 NeXT Mail OK =8(\/\)
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: DBTableView without DBKit? Message-ID: <1993May05.205007.19594@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Wed, 05 May 1993 20:50:07 GMT Does anyone have any examples of using a DBTableView without connecting it to a DBModule? -- Patrick Hester ph@pencom.com 212-513-7777 NeXT Mail OK =8(\/\)
Newsgroups: comp.sys.next.programmer From: robert@ictv.com (Robert Patrick Thille) Subject: registerDocumentController: Help! Message-ID: <1993May5.231202.6309@ictv.com> Sender: usenet@ictv.com Organization: ICTV, Santa Clara, CA (408) 562-9200 Distribution: usa Date: Wed, 5 May 1993 23:12:02 GMT I've been having trouble with getting IB to call me before and after save s. I register myself when the palette loads, but my will/didSave methods never get called. I checked that I conform to the protocol, and I do. Any sugestions? Or, since this is kindof a hack to allow us to store arbitrary files in nibs and not have IB destroy them when you save, do you have a suggestion on how to accomplish this without a IBDocumentController? Thanks, Robert cked that I conform to the protocol, and I do. Any sugestions? Or, since this is kindof a hack to allow us to store arbitrary files in nibs and not have IB destroy them when you save, do
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: gethostname troubles Message-ID: <C6Kqv5.19q@pyrian.com> Sender: ian@pyrian.com (Ian H. Stewart) Organization: PYRIAN Software Group - Makers of On Vacation(tm). 415 664-1170 ext 7. Date: Wed, 5 May 1993 22:09:04 GMT I have tried the following: const char *where; where = [NXApp hostName]; and char * where; gethostname(where, MAXHOSTNAMELEN); I have only gotten this to work char where[MAXHOSTNAMELEN]; gethostname(where, MAXHOSTNAMELEN); Why? what other way can I get the hostname? why does the docs say you can use a "char *" and I always end up having to do a "char var[num]" (i.e. strcpy etc) I am still new to all this and get confused. Any guidelines / rules are appreciated. ian Ian -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: "Steve Hayman" <sahayman@cs.indiana.edu> Subject: Re: How to identify NeXT hosts? Message-ID: <1993May5.235229.1828@news.cs.indiana.edu> Organization: Objectario References: <1993May05.204508.19534@pencom.com> Date: Wed, 5 May 1993 23:52:19 -0500 In article <1993May05.204508.19534@pencom.com> ph@pencom.com writes: > >So does anyone know a quick way to tell if a remote host is NeXT or no? You can record the system type of each machine as a NetInfo property. HostManager, for instance, gives you an easy way to set the value of /machines/some-machine/system_type to one of NeXTcube NeXTstation NeXTstation color Other Vendor's System Unknown and of course you could add other values manually. If you took the trouble to set up the appropriate entries in netinfo for every machine on your net, it would be fairly straightforward to use niutil to pick out the NeXT machines without needing to connect to them. i.e. on my net % niutil -list / /machines system_type 2 NeXTcube 28 29 30 Other Vendor's System Not directly useful since it doesn't give the host name, only the netinfo directory number. You could get the name with a script like this - off the top of my head, not rigorously tested, not particularly swift because of all the niutil's.... #!/bin/sh # nexts # Identify all the next machines on a net by looking at the # system_type property in netinfo. for dir in `niutil -list / /machines system_type | awk '/NeXT/ {print $1}'`; do niutil -read / $dir | awk '/name:/ { print $2}' done Niutil is cool but I've often wished that it could -list more than one property at once. if you could do niutil -list / /machines system_type name it'd be nice, then you could avoid loops like the one in the script above.
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Subprocess & proper way to continue. Message-ID: <C6LMGG.11n@pyrian.com> Sender: ian@pyrian.com (Ian H. Stewart) Organization: PYRIAN 415 664-1170 Date: Thu, 6 May 1993 09:31:27 GMT I want to all of the following in the listed order: 1). I want to run a shell script from my app, I am going to use Subprocess(unless there is a better way for what I am doing) 2) display a panel that makes the user wait until the script end 3) close the panel 4) continue on with the rest of my method. I am currently using Subprocess that is included in the NS3.0 demos. I have 6 things to do, then I want the modal panel, then 2 more things. I currently have the mainController as the delegate to the Subprocess. The problem I am having is after I get the subprocessDone method (I use [NXApp stopModal] here), I have to move the mouse ot click to get it to continue on from the orginal calling method. It looks crapy. I can get it to look the way I want to by using [NXApp abortModal], but I am concerned that the subprocessDone method is not exiting correctly. I hope I made this clear enough. If not, email me and I will call you back (my dime(s)). -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: SNDConvertSound() BROKEN under 3.0?!? Message-ID: <1993May7.021956.3759@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993May4.073343.13071@csus.edu> Date: Fri, 7 May 1993 02:19:56 GMT The problem has been confirmed by several sites as unfixed in 3.1PR1/Lightning3A. I've received a response from NeXT, which while not admitting the existence of a problem, suggests that a workaround _may_ exist involving SND_FORMAT_INDIRECT. This looks like a job for NeXTanswers!! -=EPS=-
Newsgroups: comp.sys.next.programmer,comp.databases.sybase From: sah@codex.oz.au (Sean Hiscock) Subject: NeXT based db reporting tools Message-ID: <1993May7.074132.1559@codex.oz.au> Sender: sah@codex.oz.au (Sean Alexander Hiscock) Organization: Codex Software Development Pty Ltd Date: Fri, 7 May 93 07:41:32 GMT Hi, I need/want decent NeXT based reporting tools for use with SYBASE database servers. I spend a great deal of time producing text files and/or customised reports with fonts and all that sort of schmuck! Unfortunately dbkit, as cool as it is for interfaces, just doesn't appear to provide many features for reports. I am considering using SYBASE Report Workbench. I am unsure of the interface for this SYBASE utility, but I would not expect it to take advantage of the NeXT GUI. If anyone in the NeXT community or SYBASE community know of any good/cool NeXT or UNIX based report tools for SYBASE, please let me know. Regards, Sean Hiscock
Newsgroups: comp.sys.next.programmer From: tfs@gravity.gmu.edu (Tim Scanlon) Subject: Re: How to identify NeXT hosts? Message-ID: <1993May7.085958.20855@gmuvax2.gmu.edu> Summary: hmm, look at ifconfig Sender: tfs@gravity.gmu.edu Organization: George Mason University, Fairfax, Va. References: <1993May05.204508.19534@pencom.com> Distribution: world Date: Fri, 7 May 1993 08:59:58 GMT I would look at the inet protocols, since NeXT's are the only machines around that >by default< will speak NetInfo, it would seem that any machine that's incapable of communicating via netinfo would be one that you wouldn't want to talk to. It may well be that this is the reason why it's so fast to make the determination on NeXT machines, & slower on non-NeXT boxes. If you more or less pre-filter out machines which won't talk NI then you should see a real gain. Tim Scanlon -- tfs@gravity.gmu.edu
Newsgroups: comp.sys.next.programmer From: tfs@gravity.gmu.edu (Tim Scanlon) Subject: Re: How to identify NeXT hosts? Message-ID: <1993May7.091135.21139@gmuvax2.gmu.edu> Followup-To: comp.sys.next.programmer Summary: look at ifconfig Sender: usenet@gmuvax2.gmu.edu (usenet administrator) Organization: George Mason University, Fairfax Va. References: <1993May05.204508.19534@pencom.com> <1993May5.235229.1828@news.cs.indiana.edu> Date: Fri, 7 May 1993 09:11:35 GMT This is from the manpage for "ifconfig". My understanding of the way it works is that NeXT's will automaticly do the right thing if NetInfo is running _at_all_. Unless the interface is specificly told NOT to do NetInfo. ipdst (NS only) This is used to specify an Internet host who is willing to receive ip packets encapsulating NS packets bound for a remote network. In this case, an apparent point to point link is constructed, and the address specified will be taken as the NS address and network of the destinee. If ipdst is not avalible, no NeXT is present in normal circumstances. Probing for NetInfo alone will give you a minimal Yes-NetInfo/No-nonNetinfo reaction. The easiest way to see this in action is to look at the differences in telneting to say a Sun vs. telneting to another NeXT. Tim Scanlon -- tfs@gravity.gmu.edu
From: minogue@mayo.edu (Lisa Minogue) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Objective DB Toolkit Users Date: 7 May 1993 13:50:08 GMT Organization: Mayo Foundation Message-ID: <1sdpeg$f43@fermat.mayo.edu> I'm looking for other users of PSI's Objective DB Toolkit. I'd like to discuss the features of the toolkit (both good and bad) with anyone who's interested. ---------------------------------------------------------- Lisa M. Minogue Internet: minogue@mayo.edu Analyst/Programmer NeXT mail welcome Research Computing Facility Mayo Foundation -----------------------------------------------------------
From: minogue@mayo.edu (Lisa Minogue) Newsgroups: comp.sys.next.programmer Subject: Objective DB Toolkit Users Date: 7 May 1993 13:56:50 GMT Organization: Mayo Foundation Message-ID: <1sdpr2$f4e@fermat.mayo.edu> I'm looking for other users of PSI's Objective DB Toolkit. I'd like to discuss the features of the toolkit (both good and bad) with anyone who's interested. ---------------------------------------------------------- Lisa M. Minogue Internet: minogue@mayo.edu Analyst/Programmer NeXT mail welcome Research Computing Facility Mayo Foundation -----------------------------------------------------------
From: jfr@RedBrick.COM (Jon Rosen) Newsgroups: comp.sys.next.programmer Subject: Weird problem with encodeUsing/decodeUsing in Distributed Objects Message-ID: <1993May7.164603.13472@RedBrick.COM> Date: 7 May 93 16:46:03 GMT Article-I.D.: RedBrick.1993May7.164603.13472 Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA Has anyone else encountered this problem (looks like a bug to me) on NeXTSTEP 3.0? (I am running a color station but I don't think the hardware has anything to do with it :-) I have the following structure: struct { int a; int b; int c; int d; int e; char* f; } mydata; I attempted to do the following inside an encodeUsing method: [portal encodeData:(void *)&mydata asType:"iiiii*"]; When I tried to decode it on the client side using the inverse: [portal decodeData:(void *)&mydata asType:"iiiii*"]; I only got back the value in mydata.a and the other values were 0 or NULL. So, being resourceful, I tried this: [portal encodeData:(void *)&mydata asType:"{iiiii*}"]; This caused a segmentation fault. Third times the charm so I did: [portal encodeData:(void *)&mydata asType:"[5i]"]; [portal encodeData:(void *)&mydata.f asType:"*"]; As noted, worked like a charm!!! The question is, why? Have I failed to note something subtle? The documentation says that structures can be encoded and decoded, but that appears to be untrue. There is also no statement that you can only encode one type of data in a single message, but this appears to be true. It only accepts exactly ONE type or a single array specification. Anything else (contrary to the docs) doesn't seem to work. For now, its no problem since I can do this with multiple messages. But it is ugly, and possibly has more overhead. I would prefer to be able to dynamically build up a single type string and have all of my structure encoded/decoded in just one single message. The docs imply that this can be done. Am I doing something wrong here? Jon Rosen
From: wilson@mimsy.umd.edu (Anne Wilson) Newsgroups: comp.sys.next.misc,comp.sys.next.software,comp.sys.next.programmer Subject: Scrollback buff in Terminal app fills up, machine crashes Keywords: scrollback buffer, Terminal, crash Message-ID: <67345@mimsy.umd.edu> Date: 7 May 93 18:14:52 GMT Followup-To: comp.sys.next.misc Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Forgive me if this has been addressed before (I couldn't find it in Spring '92 FAQ): There appears to be a bug in the Terminal application. I have written a program that sometimes does not halt, depending on the input. It displays output text to stdout. When I run this program via Terminal, if it doesn't halt and if I don't turn off the scrollback mechanism it seems to fill up the scrollback buffer and crash the machine. It appears to work fine with scrollback turned off. (I won't mention the time I spent looking for a bug in my own code.. well, maybe I will... Arrrgg!!) Has anyone else encountered this? Perhaps this has been corrected with 3.0? More importantly, is there any way to keep a scrollback buffer of a limited size? I'd like to see more than the 50 lines visible in a window without scrollback. Isn't there anything between zero and infinity??? Thanks for any info! Please respond to me directly if possible. Anne Wilson wilson@cs.umd.edu
Newsgroups: comp.sys.next.programmer From: benk@ie1next.me.umn.edu (Benjamin Koo) Subject: How to rewrite a Spreadsheet Cell Object Message-ID: <C6o8x4.D7E@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Fri, 7 May 1993 19:28:30 GMT Hello: I am writting an application which needs to use a matrix of TextField objects in a Scrollview. The problem is that it redisplays itself and scrolls the whole matrix back and forth when I change the contents in the textfields. I don't know how to disable this redisplay. Can anybody tell me how to stop this redisplay process or point to me a reference that I can figure it out somehow? I have checked the Mahoney book, and it only mentioned about the problem and did not show any examples. Any information will be greatly appreciated. Thanks Ben
Newsgroups: comp.sys.next.programmer From: soward@slow.inslab.uky.edu (John Soward) Subject: Re: Weintz book at UCSD Message-ID: <C6o8Kz.6qE@ms.uky.edu> Sender: news@ms.uky.edu (USENET News System) Organization: University Of Kentucky, Dept. of Math Sciences References: <1rs2naINN4in@hal.com> Date: Fri, 7 May 1993 19:24:34 GMT Tony Duarte writes -> The Aztec Bookstore at UC San Diego has 6 copies of Weintz's "Writing NeXT Programs." -> These are the last known copies. (Although there may be some others floating around -> at obscure bookstores worldwide.) -> -> Since the book has been sold-out for about eight months, and there are unfilled -> orders for about 500, these books probably won't last too long. -> - Well, in my opinion the book is pretty awful, but I have a used but inpretty good shape copy that I'd trade for about $15.00.... -- John Soward \ 'Across yonder oceans the natives are fierce University of Kentucky \ Their ears are filled and their teeth are pierced' soward@inslab.uky.edu \ -- The Church, Priest=Aura
Newsgroups: comp.sys.next.programmer From: robin (Robin D. Wilson) Subject: Custom Palette questions when using IB Message-ID: <1993May07.125445.27711@pencom.com> Keywords: Custom Palette, IB, test interface Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Fri, 07 May 1993 12:54:45 GMT I have a Custom Palette (which I built with a great deal of help - since I am self taught - so take it easy on me if this is a 'stoopid' question); it is a 'calendar' type window that shows the month in a matrix (it has some other features, but they're not important right now...). I would like to be able to pull it off the IB palette panel, and have it immediately display today's date/this month. Right now, I can get it to display the current month when I run 'test interface' from IB by using the following method (thanks Bill Dudney): #import <apps/InterfaceBuilder.h> - orderWindow:(int)place relativeTo:(int)otherWindow { if([NXApp respondsTo:@selector(isTestingInterface)]) { if([NXApp isTestingInterface]) { [self initMonthWin]; } } return [super orderWindow:place relativeTo:otherWindow]; } 'initMonthWin' is my method to load up the calendar with the current month. I would now like to load the calendar as soon as I drag it off the palette panel. Any ideas? -- robin "Batman really hates 'bats', but 'Frogman' was already taken..." Reply to: robin@pencom.com -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($D@:&%V92!A($-U M<W1O;2!086QE='1E("AW:&EC:"!)(&)U:6QT('=I=&@@82!G<F5A="!D96%L M(&]F(&AE;'`@+2!S:6YC92!)(&%M('-E;&8@=&%U9VAT("T@<V\@=&%K92!I M="!E87-Y(&]N(&UE(&EF('1H:7,@:7,@82`G<W1O;W!I9"<@<75E<W1I;VXI M.R!I="!I<R!A("=C86QE;F1A<B<@='EP92!W:6YD;W<@=&AA="!S:&]W<R!T M:&4@;6]N=&@@:6X@82!M871R:7@@*&ET(&AA<R!S;VUE(&]T:&5R(&9E871U M<F5S+"!B=70@=&AE>2=R92!N;W0@:6UP;W)T86YT(')I9VAT(&YO=RXN+BDN M("!)('=O=6QD(&QI:V4@=&\@8F4@86)L92!T;R!P=6QL(&ET(&]F9B!T:&4@ M24(@<&%L971T92!P86YE;"P@86YD(&AA=F4@:70@:6UM961I871E;'D@9&ES M<&QA>2!T;V1A>2=S(&1A=&4O=&AI<R!M;VYT:"X@(%)I9VAT(&YO=RP@22!C M86X@9V5T(&ET('1O(&1I<W!L87D@=&AE(&-U<G)E;G0@;6]N=&@@=VAE;B!) M(')U;B`G=&5S="!I;G1E<F9A8V4G(&9R;VT@24(@8GD@=7-I;F<@=&AE(&9O M;&QO=VEN9R!M971H;V0@*'1H86YK<R!":6QL($1U9&YE>2DZ7`I<"B-I;7!O M<G0@/&%P<',O26YT97)F86-E0G5I;&1E<BYH/EP*7`HM(&]R9&5R5VEN9&]W M.BAI;G0I<&QA8V4@<F5L871I=F54;SHH:6YT*6]T:&5R5VEN9&]W7`I<>UP* M"6EF*%M.6$%P<"!R97-P;VYD<U1O.D!S96QE8W1O<BAI<U1E<W1I;F=);G1E M<F9A8V4I72E<"@E<>UP*"0EI9BA;3EA!<'`@:7-497-T:6YG26YT97)F86-E M72E<"@D)7'M<"@D)"5MS96QF(&EN:71-;VYT:%=I;ET[7`H)"5Q]7`H)7'U< M"@ER971U<FX@6W-U<&5R(&]R9&5R5VEN9&]W.G!L86-E(')E;&%T:79E5&\Z M;W1H97)7:6YD;W==.UP*7'U<"EP*)VEN:71-;VYT:%=I;B<@:7,@;7D@;65T M:&]D('1O(&QO860@=7`@=&AE(&-A;&5N9&%R('=I=&@@=&AE(&-U<G)E;G0@ M;6]N=&@N("!)('=O=6QD(&YO=R!L:6ME('1O(&QO860@=&AE(&-A;&5N9&%R M(&%S('-O;VX@87,@22!D<F%G(&ET(&]F9B!T:&4@<&%L971T92!P86YE;"X@ M($%N>2!I9&5A<S]<"EP*+2U<"G)O8FEN"2)"871M86X@<F5A;&QY(&AA=&5S M("=B871S)RP@8G5T("=&<F]G;6%N)R!W87,@86QR96%D>2!T86ME;BXN+B)< @"EP*4F5P;'D@=&\Z(')O8FEN0'!E;F-O;2YC;VT*?0ID `
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: thanks: DBTableView and NeXT hosts Message-ID: <1993May07.153939.27984@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Distribution: usa Date: Fri, 07 May 1993 15:39:39 GMT Thanks to all who responded to my recent questions about DBTableViews and identifying NeXT hosts. Here's a summary of the responses: DBTableView: Many people suggested I look at the TubeTester demo. Several mailed me a copy. It turns out to be pretty simple to use a DBTableView connected to an arbitrary data source. I had been confused about how to relate a vector to a given row or column and expected to have to do awkward things with properties and associations, but SURPRISE! You can identify a vector with any arbitrary tag. All I had to do was provide getValueFor and setValueFor methods which move data in and out of the data source, in this case a List of Lists of strings. And rowCount and columnCount methods. Works Great! NeXT hosts: I am trying to identify all NeXT hosts on a network. I got several different suggestions such as checking the prompt from telnet, or a "super server" program to keep track of what's happening on the network, or using net info or creating a port on all NeXT machines. Right now I am using net info to look for all hosts with a system type which begins with NeXT. This works pretty well and is quick enough. But it requires a valid net info database. In fact, we discovered an machine with the wrong ip address by doing this. BUT the eventual play may be to have my server program open a UDP socket and let the client broadcast for it. Then only establish a distributed object connection to machines which respond to the broadcast. Here's the intermediate host stuff I am now using. It works OK unless the net info database is screwy (not much chance of that, eh?) or you want the hosts sorted (not a big deal to implement). - (int)browser:sender fillMatrix:matrix inColumn:(int)column { FILE * hostFILE; FILE * typeFILE; char aHost[BUFSIZ]; char aType[BUFSIZ]; id cell; int count; if ( column != 0 ) return 0; count = 0; hostFILE = popen( "niutil -list / /machines name / | sort -n | awk '{print $2}'", "r" ); if ( ! hostFILE ) { NXRunAlertPanel( MYNAME, "Can't get host names", "DAMN!", NULL, NULL ); return 0; }; typeFILE = popen( "niutil -list / /machines system_type / | sort -n | awk '{print $2}'", "r" ); if ( ! typeFILE ) { pclose( hostFILE ); NXRunAlertPanel( MYNAME, "Can't get host types", "DAMN!", NULL, NULL ); return 0; }; while ( fgets( aHost, BUFSIZ, hostFILE ) ) { aHost[strlen(aHost)-1] = '\0'; fgets( aType, BUFSIZ, typeFILE ); aType[strlen(aType)-1] = '\0'; if ( ! strncmp( aType, "NeXT", 4 ) ) { if ( [self getProxyForHost:aHost] ) { [matrix addRow]; cell = [matrix cellAt:count:0]; [cell setStringValue:aHost]; [cell setLoaded:YES]; [cell setLeaf:YES]; ++count; }; }; }; pclose( hostFILE ); pclose( typeFILE ); return count; } Thanks again to all who responded! -- Patrick Hester ph@pencom.com 212-513-7777 NeXT Mail OK =8(\/\)
Newsgroups: comp.sys.next.programmer From: raul@pencom.com (Raul Alvarez) Subject: cc croaks on pswrap output Message-ID: <1993May07.201305.28376@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Fri, 07 May 1993 20:13:05 GMT I created a type 3 font. The PS is big(about 100 printed pages). I know that the font works, because I have tested it using YAP. I want to compile it into my application, so I create a pswrap. Pswrap created the .c and .h files. The C file is .5MB in size. The C compiler croaks with the following message: cc -g -O -Wall -c TestFont.c -o obj/TestFont.o /usr/tmp/cc016437.s:48:FATAL:Source line too long. Please change file /ph1_sources/projects/cc_proj/cc-61.0.1/as/input-scrub.c then rebuild assembler. Is there some option for CC that will allow it to digest huge structures? Is there an alternative to using pswrap for compiling PS code into an application? Is there some other way to load the PS that still lets me use it as a font? Please post replies on the net. Thank You. Raul Alvarez. raul@pencom.com
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: How to print .eps files from a script? -- ANOTHER solution Organization: Primitive Software Ltd. References: <1993May6.143557.21235@newshost.lanl.gov> Date: Fri, 7 May 1993 17:41:40 +0000 Message-ID: <1993May7.174140.4855@prim> Sender: usenet@demon.co.uk In article <1993May6.143557.21235@newshost.lanl.gov> silbar@cantina.lanl.gov (Dick Silbar) writes: >This problem is solved, with your help, at least for *my* purposes. If you're interested in another solution, I've just uploaded a demo program called "previewPuppet" to sonata.cc.purdue.edu. (it's in previewPuppet.tar.Z under submissions). This demonstrates the use of an object I've developed called "Puppeteer". It works by sending event messages to a remote application. previewPuppet is a command line program that uses the Puppeteer object to simulate opening the file in Preview, calling up the Page Layout panel, clicking the Landscape or Portrait button and then printing the file. The source of previewPuppet is included to demonstrate how easy it is to do this sort of thing. Puppeteer will be available for sale soon. In the meantime, if anyone has any requirements for automatic control of applications, please drop me a line. Dave Griffiths PS: puppetPreview is for black 3.0 machines.
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: cc croaks on pswrap output Message-ID: <1993May7.234736.18421@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1993May07.201305.28376@pencom.com> Date: Fri, 7 May 1993 23:47:36 GMT Raul Alvarez writes > I created a type 3 font. The PS is big(about 100 printed pages). > I know that the font works, because I have tested it using YAP. > I want to compile it into my application, so I create a pswrap. One way about this is to keep the Type 3 font in your App's .app wrapper, and then write a simple wrap to run that file. Once the file is run, you can use your font: defineps loadMyFont(char *filename) (filename) run endps defineps setMyFont(char *fontname, int ptsize) /fontname ptsize selectfont endps With the calling sequence: { char *fontname = "MyFont.ps" char *buffer; .. <allocate and construct buffer using argv[0] and fontname so that it now contains the filename for the font> loadMyFont(buffer); setMyFont(fontname, 24); .. Another way is to place the font in a very large string, and use DPSWritePostScript to send that string to the server. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Where can I get DBKit examples? Message-ID: <1993May7.235200.3976@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Fri, 7 May 1993 23:52:00 GMT Subject says it all. -- Robert John Andersen andersen@reality.glv.com 919-460-3285 Voice 919-460-3295 Fax
Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs,comp.sys.next.misc From: bebeada@elof.iit.edu (Adam Beberg) Subject: HELP!...missing header files... Message-ID: <1993May8.002857.22055@iitmax.iit.edu> Summary: lost headers.. Sender: Adam Beberg Organization: Illinois Institute of Technology, Chicago Date: Sat, 8 May 93 00:28:57 GMT hello, my problem: i'm using cc and trying to compile POVray.. and i need the header file that defines the math co-processor error conditions DOMAIN,UNDERFLOW,SING,OVERFLOW i have grep'ed etc. every file on the machine with no luck. Machine: NeXT 68040, NeXT Mach && bsd 4.3 if anyone out there in NeXTland can help please mail me the header or a site where i can FTP it from. thanks in advance Adam Beberg bebeada@elof.acc.iit.edu ------------------------------------------------------------------------------ Emergency... Emergency... There's an emergency going on... It's still going on.. It's still an emergency... This is an emergency announcement... ))) In Stereo Where Available (((
From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: comp.sys.next.programmer Subject: Distributed Object Examples? Date: Fri, 7 May 1993 21:37:03 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Message-ID: <Mfukuz200iMF88lE9L@andrew.cmu.edu> Are there any examples of using Distributed Objects available? I am embarking on a network client-server project on the Next. Are there some Objective tools that would make the job easier than traditional BSD methods? Thanks in Advance! --jerry zonker@cmu.edu (no NeXTmail please)
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: How to rewrite a Spreadsheet Cell Object Message-ID: <1993May8.033008.3585@gleap.jpunix.com> Date: Sat, 8 May 1993 03:30:08 GMT References: <C6o8x4.D7E@news2.cis.umn.edu> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Benjamin Koo writes >Hello: > I am writting an application which needs to use a matrix of >TextField objects in a Scrollview. The problem is that it redisplays >itself and scrolls the whole matrix back and forth when I change the >contents in the textfields. I don't know how to disable this redisplay. >Can anybody tell me how to stop this redisplay process or point to me a >reference that I can figure it out somehow? I have checked the Mahoney >book, and it only mentioned about the problem and did not show any >examples. Any information will be greatly appreciated. > Here is a category method I wrote for NXBrowser. This allows me to modify the contents of a browser's matrix and redisplay without the massive jumping around. The trick is to disable the display of the Window. I tried "setAutodisplaying:NO" but that did not work as expected. You can adapt this to suit your needs. -noJumpReloadColumn:(int)columnNumber; { //self is an instance of NXBrowser id aWindow = [self window]; [aWindow disableDisplay]; [self reloadColumn:columnNumber]; [aWindow reenableDisplay]; [self displayColumn:columnNumber]; return self; } Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
From: rabahya@yang.earlham.edu Newsgroups: comp.sys.next.programmer Subject: Question: Shell windows Message-ID: <1993May8.130016.23264@yang.earlham.edu> Date: 8 May 93 13:00:16 EST Organization: Earlham College, Richmond, Indiana HI I'm trying to add some lines to my .login file or .??? file so that whenever I log into my account I get two new shell windows open and running specific apps in specific dirs. . I know that I can use the prefrences under the workspace menu to open one terminal window whenever I log in, but I need to have two or three shells running at the same time and it would be nice if I don't have to open them and set them up whenever I login. Please email me to one of my addresses. Thanks! |-----------------------------------------------------------------------------| | Jack Rabah | RabahYa@Yang.Earlham.EDU | (317)- | | Earlham College, Drawer # 1542 | RabahYa@Yang.bitnet | 973- | | Richmond, IN 47374 | JACK@math.Earlham.EDU | 2016 | |-----------------------------------------------------------------------------|
From: dpp@athena.com (David Pollak) Newsgroups: comp.sys.next.advocacy,comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: Mesa 1.4 rev 147 and NS/Intel PR2 Date: 8 May 1993 21:14:44 GMT Organization: Athena Design, Inc. Message-ID: <1sh7s5$83b@hermes.athena.com> Hello, As you know, Mesa 1.4 was the first shipping commercial app that runs on both NeXT and NS/Intel machines. Mesa 1.4 rev 147 was compiled and runs on NS/Intel PR1. NeXT claims that NS/Intel PR2 is not binary compatible with PR1. We have recompiled Mesa for PR2 (this is 1.4 rev 149), however, rev 147 seems to work just fine under PR2. If any of you are using PR2 and experience any odd behavior with Mesa 1.4 rev 147, please send mail. Thanks and See you at Expo. David
Newsgroups: comp.sys.next.misccomp.sys.next.bugs,comp.sys.next.programmer From: borrel@ludvigsen.dhhalden.no (Borre Ludvigsen) Subject: PS display of Mac ps output Message-ID: <1993May8.215113.7451@dhhalden.no> Sender: news@dhhalden.no (Network News User) Organization: Ostfold College Date: Sat, 8 May 1993 21:51:13 GMT Some Mac files (Pagemaker & Ready Set Go among others) that have been "printed" to postscript files do not display with Preview on the NeXT. Anyone have a work-around? What's worse, PageMaker postscript output refuses to print with lpr from the Mac throught the NeXT to it's printer. - Barre ----------------------------------------------------------------- Barre Ludvigsen borrel@dhhalden.no (office) Associate Professor borrel@ludvigsen.dhhalden.no (home) Ostfold Regional College (NeXTMail OK) Department of Computer Science bludvigs@ulrik.uio.no Os Alle 9 73277.3443@Compuserve.com
Newsgroups: comp.sys.next.programmer From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Subject: Re: newline code needs escaped!? Message-ID: <1993May8.224333.19049@thunder.mcrcim.mcgill.edu> Organization: McGill Research Centre for Intelligent Machines References: <C6JAw9.1yJ@pyrian.com> Date: Sat, 8 May 93 22:43:33 GMT In article <C6JAw9.1yJ@pyrian.com>, ian@pyrian.com (Ian H. Stewart) writes: > char body[10000]="\ > This is the first line.\n\ > this is the second line.\n\ > this is the line that needs to have the \r\n on it.\n\ > this is the last line.\n\ > "; > I need the fourth line to actually print "\r\n". > I tried to \\r\\n, but I get a compiler error. That should work. If you'd care to mail me the test file, and the compiler complaint, I'll be glad to have a stab at figuring out what's really wrong. der Mouse mouse@mcrcim.mcgill.edu
Newsgroups: comp.sys.next.programmer From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Subject: Re: How to set the mouse cursor position? Message-ID: <1993May8.224857.19207@thunder.mcrcim.mcgill.edu> Organization: McGill Research Centre for Intelligent Machines References: <1993May4.192244.993@prim> Date: Sat, 8 May 93 22:48:57 GMT In article <1993May4.192244.993@prim>, dave@prim.demon.co.uk (Dave Griffiths) writes: > Does anyone know how to set the position of the mouse cursor > programatically? (I mean the little arrow that is unrelated to any > window.) Mouse-X does this when the X pointer is warped. It may not be of use to you, because it's rather low-level, but the core function is this: movemouse(fd) int fd; { FILE *f; int x; int y; [Application new]; f = fdopen(fd,"r"); ctx = DPSCreateContext(0,0,text,DPSDefaultErrorProc); DPSPrintf(ctx,"workspaceWindow windowdeviceround\n"); DPSFlushContext(ctx); while (fscanf(f,"%d%d",&x,&y) == 2) { if (x < 0) { switch (y) { case NEXTMW_BEEP: NXBeep(); NXPing(); break; } } else { DPSPrintf(ctx,"%d %d setmouse\n",x,y); DPSFlushContext(ctx); } } exit(0); } If you're just interested in moving the mouse cursor, you can yank out the if(x<0) stuff...that's because this code is also overloaded to provide beeps. der Mouse mouse@mcrcim.mcgill.edu
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Looking for NXStream implementation of fgets Message-ID: <1993May9.050326.852@digifix.com> Sender: sanguish@digifix.com Organization: Digital Fix Development Date: Sun, 9 May 1993 05:03:26 GMT Does anyone have a functional equivalent of fgets that works with NXStreams instead of normal files? Thanks Scott -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
From: titmouse!bshirley (C. William Shirley) Newsgroups: comp.sys.next.programmer Subject: Re: Weird problem with encodeUsing/decodeUsing in Distributed Objects Message-ID: <1993May9.024902.13178@gleap.jpunix.com> Date: Sun, 9 May 1993 02:49:02 GMT References: <1993May7.164603.13472@RedBrick.COM> Sender: bshirley@gleap.jpunix.com Organization: The Republic of Texas In article <1993May7.164603.13472@RedBrick.COM> jfr@RedBrick.COM (Jon Rosen) writes: [munch, munch] > [portal encodeData:(void *)&mydata asType:"iiiii*"]; [fails] > [portal encodeData:(void *)&mydata asType:"{iiiii*}"]; [fails] > > [portal encodeData:(void *)&mydata asType:"[5i]"]; > [portal encodeData:(void *)&mydata.f asType:"*"]; [works] > > As noted, worked like a charm!!! > The question is, why? > Have I failed to note something subtle? > > Jon Rosen This is likely a failure in NeXT's documentation to be clear. It never mentions that any of these can be "added" to form compound strings, when it mentions structs, I think it means of the form "{NXRect}" not "{ffff}". Oh well, maybe next release. Send 'em a "bug report"/suggestion on their documentation. NXEncoding Protocol says: > encodeData:ofType: > - encodeData:(void *)data > ofType:(const char *)type > > Encodes the data structure pointed to by data, whose fields are indicated > by the character string type, consisting of the following values: > > Format Character Data Type > c char > s short > i int > f float > d double > @ id > * char * > % NXAtom > : SEL > ! int; corresponding data won't be read or written > {<type>} struct > [<count><type>] array > -bill -- Bill Shirley (NXceptable) BShirley@GLeap.jpunix.com (home) | BShirley@ATG.WilTel.com (work) ``Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of.'' - TMBG
Newsgroups: comp.sys.next.programmer From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Subject: Re: How to set the mouse cursor position? Message-ID: <1993May9.133238.15041@sifon.cc.mcgill.ca> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada References: <1993May4.192244.993@prim> <1993May8.224857.19207@thunder.mcrcim.mcgill.edu> Date: Sun, 9 May 1993 13:32:38 GMT In article <1993May8.224857.19207@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes: >In article <1993May4.192244.993@prim>, dave@prim.demon.co.uk (Dave Griffiths) writes: > >> Does anyone know how to set the position of the mouse cursor >> programatically? (I mean the little arrow that is unrelated to any >> window.) > >Mouse-X does this when the X pointer is warped. It may not be of use >to you, because it's rather low-level, but the core function is this: There's also two function calls in the AppKit called: DPSsetmouse() and PSsetmouse(). They may or may not be undocumented... They're in /usr/include/dpsclient/dpswraps.h and /usr/include/dpsclient/pswraps.h respectively. - db
From: titmouse!bshirley (C. William Shirley) Newsgroups: comp.sys.next.programmer Subject: Re: Looking for NXStream implementation of fgets Message-ID: <1993May9.184255.14289@gleap.jpunix.com> Date: Sun, 9 May 1993 18:42:55 GMT References: <1993May9.050326.852@digifix.com> Sender: bshirley@gleap.jpunix.com Organization: The Republic of Texas In article <1993May9.050326.852@digifix.com> sanguish@digifix.com (Scott Anguish) writes: > Does anyone have a functional equivalent of fgets that works with NXStreams > instead of normal files? Hmm... I guess that would be #import <streams/streams.h> Bills_NXGets(NXStream *input, char buffer[]) { // If the buffer isn't big enough, you're SOL. NXScanf(input,"%[^\n]\n",buffer); } doctor to your needs, prices higher in Hawaii and Alaska, not quarantined for any specific porpoise. > > Thanks > > Scott > Surely, Bill > -- > - Scott Anguish - > sanguish@digifix.com (NextMail) > next-announce@digifix.com (comp.sys.next.announce submissions) > -- Bill Shirley (NXceptable) BShirley@GLeap.jpunix.com (home) | BShirley@ATG.WilTel.com (work) ``Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of.'' - TMBG
From: jcr@its.COM (John C. Randolph) Newsgroups: comp.sys.next.programmer Subject: Mail trick Date: 9 May 1993 21:04:03 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9305092247.AA00484@its.com> Can anyone tell me how, when you hit the "reply:" button in News Grazer, News Grazer fills in the "To:", and "Subject:" fields in the compose window? I can't seem to find any docs on this. Did Mr. Adams use an undocumented service of Mail.app? Thanks, --------------------------------------------------------------- John C. Randolph Information Technology Solutions, 400 W. Erie, Chicago, IL 60610 Phone: (312) 587-2000 jcr@its.com, john@its.com, john_randolph@its.com Pick an alias, any alias. NeXTMail invited! Disclaimer: I take full responsibility for all opinions expressed anywhere, at any time, by anyone. ------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: mrothste@foraker.csc.calpoly.edu (Mont Rothstein) Subject: Help!!! Method fogets id Message-ID: <1993May10.020722.27559@rat.csc.calpoly.edu> Date: Mon, 10 May 93 02:07:22 GMT Organization: Cal Poly, SLO In the following method I am reading in images selected in openPanel. Depending on how a button is set I want to do something after each image in a list of highlighted images. For some reason while I am in the method that reads in these images I can not send messages to the button I want to look at, in fact all instance variables (except the image one) are unavailable. After I leave this method completely (i.e. not just jump out) the button returns. Does anyone have any idea why this occurs? Is this a bug? How do I get around it? --------------------------------------------------------------------------- showImage:sender { int x; id myOpenPanel = [OpenPanel new]; [myOpenPanel allowMultipleFiles:YES]; if([myOpenPanel runModalForTypes:[NXImage imageFileTypes]]) { const char *const *fileNames = [myOpenPanel filenames]; const char *dir = [myOpenPanel directory]; char fullPath[1000]; [super setOutputMode:NX_FROMVIEW]; [super start:self]; for (x = 0; fileNames[x] != NULL; x++) { if(image) [image free]; sprintf(fullPath,"%s/%s",dir,fileNames[x]); printf("%s\n",fullPath); image=[[NXImage alloc] initFromFile:fullPath]; [image setScalable:NO]; [image getSize:&imageSize]; imagePoint.x = bounds.origin.x + (bounds.size.width - imageSize.width)/2.0; imagePoint.y = bounds.origin.y + (bounds.size.height - imageSize.height)/2.0; changed = YES; [self display]; NXPing(); ==============> if ([recordAllButton state]) [driver record:self]; } } return self; } -------------------------------------------------------------------------- The recordAllButton (type id) is not accessable in this method, but it is accessable both before and after this method! Thanks for any help, -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Mail trick In-Reply-To: jcr@its.COM's message of 9 May 1993 21:04:03 -0400 To: jcr@its.COM (John C. Randolph) Message-ID: <CEDMAN.93May9214454@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <9305092247.AA00484@its.com> Date: Mon, 10 May 1993 01:44:54 GMT In article <9305092247.AA00484@its.com> jcr@its.COM (John C. Randolph) writes: Can anyone tell me how, when you hit the "reply:" button in News Grazer, News Grazer fills in the "To:", and "Subject:" fields in the compose window? I can't seem to find any docs on this. Did Mr. Adams use an undocumented service of Mail.app? Thanks, Get the mailapp-utilities from one of the major archive sites. They contain a program called 'nextmail' which demonstrates how this is done. It also -- in contrast to Mail.app -- doesn't destroy the content of any existing Compose window when executed. Carl Edman
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Re: Looking for NXStream implementation of fgets Message-ID: <1993May10.070210.1717@digifix.com> Sender: sanguish@digifix.com Organization: Digital Fix Development References: <1993May9.184255.14289@gleap.jpunix.com> Distribution: world Date: Mon, 10 May 1993 07:02:10 GMT C. William Shirley writes > In article <1993May9.050326.852@digifix.com> sanguish@digifix.com (Scott > Anguish) writes: > > Does anyone have a functional equivalent of fgets that works with NXStreams > > instead of normal files? > > Hmm... > I guess that would be > > NXScanf(input,"%[^\n]\n",buffer); The only problem there is that blank lines are skipped. I don't want to through those away, infact I need to notice them specifically. Dave Griffiths sent me this (he didn't test it, and I haven't either) char * NXGets(char *s, int n, NXStream *stream) { int c, i = 0; while ((c = NXGetc(stream)) != EOF && i < n-1) { s[i++] = c; if (c == '\n') break; } s[i++] = 0; return i > 1 ? s : NULL; } Comments? -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: C++ vs Objective-C vs Eiffel paper Date: 10 May 1993 11:46:02 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1slbpa$oc8@steffi.demon.co.uk> OK Malcom call me a hypocrit :-) I thought people from this group would be interested in a recent survey that I nabbed from comp.lang.objective-c. I would also like to ask people out there for what reasons (other than portability) do they currently chose to use C++ in NeXTSTEP areas. There have been a number of positions advertised lately that require C++ expertise. Note: I'm learning C++ right now soley because I believe it will be here for some time to come and studying it is paramount to understanding the approach taken by other languages. Also, claiming to know C++ IMHO makes one a bit more marketable on the job front in these times where NextStep jobs are extremely scarce. BTW: If anybody flames me because they think this isn't related to this group then they should seriously consider why they read this group. I'm a graduate seeking work and I do not need the aggravation. From CDA90038@UCF1VM.BITNET Mon May 10 08:53:14 BST 1993 Article: 6 of comp.lang.objective-c Path: steffi.demon.co.uk!demon!bnr.co.uk!pipex!uunet!gatech!howland.reston.ans.net!news.cac.psu.edu!psuvm!ucf1vm!cda90038 Organization: University of Central Florida - Computer Services Date: Sat, 8 May 1993 02:57:46 EDT From: Mark Woodruff <CDA90038@UCF1VM.BITNET> Message-ID: <93128.025746CDA90038@UCF1VM.BITNET> Newsgroups: comp.lang.c++,comp.lang.objective-c,comp.lang.eiffel Subject: War stories (very long) Lines: 1261 Xref: steffi.demon.co.uk comp.lang.c++:2760 comp.lang.objective-c:6 Status: RO This is the report based, in part, to the request I made earlier for war stories related to C++, Ojb-C, and Eiffel. This is the ascii verison of the original WordPerfect file, so its a tad bit hard to read. --cut here-- War Stories A Report from the Front Line Comparing C++, Eiffel, and Objective-C Mark Woodruff May 8, 1993 Table of Contents Introduction 1 Method 2 Language Selection 2 Linguistic Philosophies 3 Shared Philosophy--What We Can All Agree On 4 C++: Objects for Systems Programmers 4 Objective-C: Stepstone Toward a New Era 8 Eiffel: A Better Mousetrap 10 Consequences 15 C++ 16 Objective-C 19 Eiffel 22 Results and Discussion 25 Conclusion 26 References 27 Introduction In the 12 years since Smalltalk-80 first popularized Object-Oriented Programming (OOP), research has shifted from answering paradigm-related questions to answering applicative questions. One important question now under consideration is which features of the paradigm are necessary and effective in a language capable of addressing modern programming problems. This research has produced an overwhelming number of new object-oriented languages, each exploring the efficacy of certain aspects of the paradigm. The goal of this study is to select a few languages (C++, Objective-C, and Eiffel) representing the current state-of-the-art in practical languages and evaluate them to determine the impact of the adoption of various features of the object-oriented paradigm--how well they really work. Only practical languages were considered, those intended for developing actual software as opposed to testing hypotheses in research. Given the current trend of trying to adopt one general-purpose language for programming (the Ada approach) rather than creating many special-purpose languages, this study is important for both determining if such an approach can be used with object-oriented languages, and finding which theoretical ideas bear the most fruit in when put into practice. This research is also critical in the future direction of software development as language choice invariably affects both the design process and how we think about solving programming problems (George Orwell's thesis revisited). In evaluating the subject languages it becomes clear that just as no one conventional language has proven adequate for all programming tasks, so no one OOP philosophy or language will be. Instead we must realize the limitations of each of our languages, use them only when appropriate to the problem at hand, and focus on ways for languages to communicate freely to make multi-lingual programming effective. Method In this study, I tried to use first-hand information to make evaluations, using the language authors' material for philosophical and linguistic analysis and actual users' experiences ("war stories") for impact assessment. I placed emphasis on evaluating the success of any unique ideas adopted from the object-oriented paradigm and the effect of any constraining notions. This section details the specific methods for: o selecting which languages to study o analyzing those languages to determine their philosophy o observing the effects of the decisions made by the languages' designers, including those involving feature inclusion and constraints o showing the consequences. Language Selection Object-oriented languages have developed into three groups: o Holistic languages--object-oriented languages which only function in special environments: Actor CLOS Flavors LOOPS Methods Smalltalk o Enhanced conventional languages--languages using a traditional procedural language as a linguistic base, such as C, with added object-oriented features: C++ Objective-C OOPS Object Pascal o New conventional languages--object-oriented languages designed to operate in existing environments: Eiffel Without exception, the holistic languages, while providing the purest examples of object-orientation, cannot be applied to general programming problems in a variety of real environments. (It would be hard to imagine Smalltalk running under MVS; CLOS might because batch versions of LISP are available.) >From the remaining two categories, two enhanced languages (C++ and Objective-C) were chosen based on their popularity and availability on a wide variety of platforms. These two languages also embody the philosophies expressed in the other enhanced conventional languages, thus effectively representing the effective state-of-the-art. I am not aware of any novel object-oriented features present in another enhanced conventional language that are not in either or both of these languages. The final language, Eiffel, was chosen both because it is the only example of a new object-oriented language for existing environments and because it introduced a host of novel ideas to the object-oriented community. Linguistic Philosophies I was fortunate in that each of the language's authors has published commentary on design decisions. This information provided an invaluable insight into the designers' philosophies. Beyond this, I analyzed every feature in each language, looking for object-oriented features that might expand on the publicly stated philosophy or uncover important differences between stated (or intended) ideology and actual practice. To uncover the pool from which each designer drew water, I delved into periodicals to assess the height and width of the object-oriented paradigm and how it has changed through the years. Just as the great Philosophers produced widely diverging analyses of common themes such as Love or Justice, so these three languages used this common pool (primarily based on Smalltalk and Simula) and their own insights on real-world programming to produce their unique overall philosophies. This commonality was used to refine the list of features to look at only to the philosophical differences; implementation differences of the same idea were considered as one and treated as such. Linguistic features not related to object-orientation were largely ignored. Eiffel has many linguistic features (e.g. assertions) not directly related to object-orientation, but these and other similar features in the other languages were glossed over as not germane. Likewise, archaic residuals from C were disregarded except as illustrations of the consequences of choosing an existing language as a base. The resulting lists of features and the philosophies behind them are detailed in the next sections, first with common features, then differences. Shared Philosophy--What We Can All Agree On All three languages share a common core of the basic ideas of object-orientation. The basic programming unit is the class, an implementation of an abstract data type (ADT). Classes may be open, allowing direct access to their data, or closed hiding the implementation completely inside a barricade of functions. Abstract classes, with no instances, are supported. The various operations that can be carried out on an ADT are represented by procedures or functions (although their names within the languages vary). These procedures are bound to the caller either statically or dynamically as the programmer requests. Classes may inherit features (including variables and routines) from other classes and they may encapsulate other classes. Objects are references to instances of classes. They include both the data and the valid operations on the data. Direct instances of objects, rather than references to them, can also be created. In addition to these, all three languages share a commitment to operating in traditional compiler-oriented environments and interfacing with existing code. They are strongly typed and place much emphasis at achieving acceptable performance given the additional overhead of dynamic binding. C++: Objects for Systems Programmers "C++ was designed primarily so that the author and his friends would not have to program in assembler, C, or various modern high-level languages." [6, 4] In contrast to Eiffel and Objective-C, which were designed with a grand scheme in mind to affect the way we program, C++ was grown at home to enhance, not supplant, traditional programming practices. C++ aims to make it easier and more enjoyable to write the same type of code we have been writing in C for years. At this, C++ succeeds. Unlike any major new language before it, C++ has almost completely replaced its successor in the course of a few years. Thousands of programmers have switched to using C++ because it is completely compatible with C and their existing code base is usable as-is. C++ has become the de facto programming language for both the Unix and MS-Dos (Windows) environment. Based on its adoption, C++ is the most successful computer language yet invented. Philosophy This success is a direct result of the philosophy that produced C++ (detailed in [6] and [7]): simplicity, compatibility, and efficiency. Simplicity, in Stroustrup's view, consists of finding the minimal set of enhancements to his base language that accomplish his end; the larger environmental and programming issues must be ignored. Compatibility requires C++ to be eminently and immediately useful for any C programmers. Existing code bases must be maintained and new language features cannot get in the way of existing code. Finally, the functioning of C++ in the areas that require low-level and low-overhead programming: operating systems, device drivers, and the like demands efficiency. Parallelling this linguistic philosophy is a programmatic philosophy. Programmers are (still) encouraged to "think close to the machine" in solving problems. The object-oriented features serve as abstraction techniques provided to hide the implementation details that such low-level thinking gives birth to. C++ presents the same world to programmers that C did: bits, bytes, and pointers. Classes and objects are tools for organizing and maintaining code, but little more. This all makes sense given Stroustrup's target audience: individual programmers. Stroustrup is a programmer working for a company that encourages writing software for programmers (in the Unix tradition). His goal is not an environment for hundred-million line generational projects but to enable "a single person to cope with 25,000 lines of code." [7, 7] C++ does not even really strive to be an object-oriented language. Rather, it adopts features from the object-oriented paradigm in an attempt to improve traditional programming efforts. Thus Stroustrup's approach resembles the ANSI COBOL 8X standard committee; he surveys object-orientation looking for specific features to adopt that would significantly improve the language while retaining its fundamental character. So he gives the following methodology for his design: [1] All features must be cleanly and elegantly integrated into the language. [2] It must be possible to use features in combination to achieve solutions that would otherwise have required extra, separate features. [3] There should be as few spurious and "special-purpose" features as possible. [4] A feature should be such that its implementation does not impose significant overheads [sic] on programs that do not require it. [5] A user need only know about the subset of the language explicitly used to write a program. [7, 15] The first three of these are general design considerations. The next to last is the C++ efficiency mandate. The final method deserves some comment, since it recalls one of the PL/I design criteria that has long been rejected by other designers. C++ encourages the use of a subset of C++ where appropriate. This notion actual works for C++ in juxtaposition to PL/I because: o The language is fully usable without them (as an improved C). This stands in contrast to PL/I where, for example, an understanding of the promotion of data types was required before reliable programs could be written. A true subset of understanding of PL/I was never possible. o The features are highly isolated and independent. Exceptions, templates, and overloading may be ignored, for example, while retaining the essence of the object-oriented paradigm. o The language was designed over time so that natural subsets appear at the junctures where features were added. Features Although not explicitly intending to, Stroustrup has managed to create a very rich object-oriented language, one that has grown much richer as users demand new features. Sharing with the other two languages the common object-oriented model given above, it allows for classes, which are operationally equivalent to types, methods as implemented as member functions bound to classes, and inheritance. Beyond this core, C++ adds additional enhancements to promote reusability, information hiding, and fast performance. Reusability The reusability enhancements include: o Multiple inheritance--allows classes to be defined in terms of more than one class. o Constrained generics (Templates)--creates a family of classes with identical functions operating on different types of data (e.g. list of integers, list of characters, etc.) o Full operator overloading--creates a consistent interface to all types. Any type for which addition would be valid, for instance, could create an + method. Additional methods could be created to provide seamless addition of existing types to the new one. o Abstract classes--enables common protocols to be established for a hierarchy of classes. The use of pure virtual functions also protect the abstract classes from ever being implemented. o Shared variables--enables instances of classes and instances of derived classes to communicate and share common data promoting class extension. Virtual base classes extend this by allowing objects to contain only one set of variables from a base class even if the base class is included several times from indirect or multiple inheritance. Information hiding Information hiding is promoted by advanced access control. Members may be declared to be public (total visibility), private (no visibility outside class and friends), or restricted to class and sub-classes. Special cases are handled by enabling a foreign class to be a friend to another class so that the foreign class can access the original class's internal structures. Performance Performance is enhanced by trading generality for speed. Techniques include: o Function resolution--since function overrides are only possible on virtual functions, normal functions can be called at the same speed as C functions. o Direct virtual function indexing--critical information for resolving virtual functions is collected at compile time and used to build a vtable for each class with virtual functions. Each virtual function is assigned a unique slot in the table so that all functions derived from the base virtual function map onto the same slot. This allows functions to be called by merely indexing into the table to find the function address and calling it as if a C function. o Inlining--converts any function (including virtual ones) into macros by copying the code body directly inline with the caller's code, thus saving the overhead of a function call. Miscellaneous Beyond these features, C++ includes some miscellaneous improvements that are noteworthy but are only incidentally related to the object-oriented nature of C++: o Exception handling--promotes robustness by establishing exception conditions for classes which may be triggered or caught by active classes. Local variable storage management--local variables and arguments are automatically created at function entry and destroyed at function exit. This allows for both a sophisticated call-by-value for objects and easier storage management without garbage collection. Objective-C: Stepstone Toward a New Era Objective-C is a conservative hybrid of (conventional) C and Smalltalk-80 with a radical purpose: to bring on the "Software Revolution" that will allow the mass production of software much as the Industrial Revolution allowed the mass production of hardware. In Objective-C, Brad Cox strives to create a language which would allow the creation of "Software-ICs", totally reusable packages of software that could be used in any software system as easily as hardware ICs can be used in building computer systems. [3] Objective-C stands as an evolutionary intermediate language designed to facilitate moving from conventional design methodologies toward more object-oriented systems. Its adoption as the programming language for the NeXT operating system demonstrates its effectiveness in straddling these two worlds. Philosophy Objective-C is not the product of particular language philosophies but merely a byproduct of a much larger design philosophy. Objective-C exists only to facilitate using this design philosophy and must be considered in this light. For more than twenty years software development is said to have been in a "software crisis." Although numerous advances in language theory, compiler technology, and overall development wisdom have significantly improved programmer productivity, we still are not capable of meeting the need for creating new programs. Further compounding the problem is our inability to write systems that respond well to change. The majority of a program's life-span and cost is still spent maintaining and updating existing systems to reflect changes in customer expectations or environment. Several solutions to this problem have been proposed and tried. New languages such as fourth-generation languages and knowledge-based systems have come and gone without significant impact. Structured data-driven design methods have improved the reliability of our software, but not by the orders of magnitude necessary to combat the crisis. Object-oriented design improves on this further, but shows no sign of radically improving the situation, given its base in existing Abstract Data Type theory. Software-ICs What Cox proposes will remedy the crisis is a new design system based on the adoption of the mass production techniques in the physical world applied to software. The root of this system is the adoption of the Software-IC for packaging. Where structured design focused on building modules with low coupling and high cohesion, this design method seeks to build reusable packages of classes that can be moved between languages, compilers, environments, and hardware--across programs, projects, and companies. These reusable packages parallel interchangeable parts in the real world; Cox hopes these will alter software development as radically as the industrial revolution altered tool development. Cox uses the term Software-IC for a class or collection of classes with certain characteristics that promote their reuse. Software-ICs, like hardware ICs, are highly specialized, but application-independent packages, with well-defined interfaces (listed on "specification sheets"). Competing ICs can exist and, so long as they follow the same interface, can be exchanged. More complicated ICs can be built from simpler ones allowing the equivalent of "board level" packages to be built. Where Objective-C fits in is as a language, but not the language, that supports Software-IC development. Software-ICs require fully dynamic binding, to allow them to be plugged into systems at will, and the shared object-oriented core discussed above. Therefore Objective-C support this. It does not endeavor to fix any problems in C, but uses it as is for the same reasons C++ does (installed code base). Languages as CLOS and Smalltalk-80 can be used to develop Software-ICs as well. In essence, to Cox, language issues are moot so long as they support Software-ICs. Features The features of Objective-C directly follow from this philosophy with details based on ease of implementation. Objective-C retains all of the C language, adding only a single new type, the (object) id, and one new operation, the message. These are taken directly from Smalltalk-80 with implementation details adapted as needed. [4] Objective-C supports the common object-oriented facilities listed above as well as: o Objects as represented as pointers to data o Factory (class) methods as well as instance methods o Static binding by declaring pointers to class instances rather than objects o Public (global) instance variables o Persistence ("activation" and "passification") is fully supported in a platform-independent format. Cox sees applications such as a CASE system written in an object-oriented database on one machine being used to evaluate and maintain a system executing on another through this feature. o Single inheritance as Cox feels that the problems created by multiple inheritance in specifying the definition of a class defined using multiple inheritance outweighs the implementation advantages. o C data types are preserved in their non-object form; no direct object form is provided. In essence, Objective-C is C with as much Smalltalk thrown in as Cox could fit. His interest in creating it lay in providing a tool to produce Software-ICs using conventional environments. As a result, a further discussion of features will be deferred as it would truly be a discussion of Smalltalk, which is not germane. Eiffel: A Better Mousetrap When Alexandr Gustave Eiffel looked at the Paris skyline and envisioned a 984 foot cast-iron tower he saw the past but looked toward the future. He reasoned that the future demanded new construction techniques with new materials. By faith he built his namesake tower, looking forward to a city with new foundations, whose architect and builder was yet to be born. Eiffel never saw all the products of his new techniques, but only welcomed them from a distance. So we commend him for his vision, although his peers ridiculed him and protested at the time. Eiffel is a new software engineering language constructed from new materials in a new manner. It: embodies a "certain idea" of software construction: the belief that it is possible to treat this task as a serious engineering enterprise, whose goal is to yield quality software through the careful production and continuous enhancement of parameterizable, scientifically specified reusable components, communicating on the basis of clearly defined contracts and organized in systematic multi-criteria classifications. Such aims lead a new culture of software development.... Eiffel is nothing else than these principles taken to their full consequences. [5, vii] Like Objective-C, Eiffel seeks to change the way we develop software, rather than just the language we develop it in. Rather than adding to the old, however, Eiffel takes the bold step of creating a new language from scratch with many new features that fully expresses its author Bertrand Meyer's philosophy [5]. The quick adoption of the language by many companies for large projects, despite it being a proprietary product of Interactive Software Engineering until recently, demonstrates the merit of this approach. Philosophy The philosophy of Eiffel is to support the creation of quality software by creating a language (and libraries, and environment) that encourages the creation of reusable, extendible, reliable, efficient, open, and portable software. To this end, "the principles of object-oriented design provide the best known technical answer." [5, 4] Eiffel strives to support this philosophy by including specific language features that encourage program quality, and also eliminating features that detract from it--even at the cost of efficiency in coding or execution. The selection of what went in and stayed out was based on the known base of software engineering wisdom and research. Features which were known to cause problems on a theoretical basis (e.g. goto) were rejected, even if popular; likewise features known to enhance quality (e.g. garbage collection) were included, even at the cost of run-time support. The common object-oriented paradigm above was really only supported because it has been shown to produce good software. In some cases, Eiffel pioneered features because Meyer believes they will prove to produce effective software. In addition to his primary aim, Meyer also sought to make the language both as highly as expressive as possible and intuitive as possible. Although these may not directly encourage the production of high quality software, they do indirectly enhance it by reducing the complexity of the language, and hence programs in it, and making it easier to learn, and thus easier to master. The decision to make the features in Eiffel quite modular also improve on these characteristics. Although subsets of Eiffel are not directly supported, the learning of Eiffel via subsets is. Features The features in Eiffel have been chosen very systematically to support the elements noted above that Meyer views as important in contributing to high quality software, namely reusability, extendibility, reliability, efficiency, openness, and portability. These, and other notable features follow. Reusability Reusability features include those that inspire class reuse both as client or as child (through inheritance). These include: o Generic classes. Classes may be instantiated in terms of any type (unconstrained generic classes) or a particular class (constrained generic class). Descendants of the class may be used freely used so long as they conform to the original class. o Multiple inheritance. Inherited features may be renamed; this approach resolves any naming conflicts (such as those occurring with repeated inheritance). Multiply inherited classes are only effectively inherited once (like the C++ virtual base classes); through renaming features of all duplicate classes may be preserved. o Operator overloading (including unary, infix, and prefix operators). Extendibility Features that make a language extendible are those facilitate improving existing code as well as maintaining it, or adapting it to changing environments. Features directly supporting this are: o Features in classes are uniformly accessed (object.feature) regardless of implementation. A function with no parameters is identical to a read-only variable for all purposes; sub-classes may override a feature implemented as a variable with a function and vice-versa. All client code remains unchanged. o Any inherited features may be redefined (in contrast with C++ where only virtual functions may be redefined) except ones that are explicitly frozen by the ancestor class. Redefined features must conform by type equivalence and assertions to the original features. o Arguments to routines may be declared to be like another variable so that inheriting classes may simply redefine the one variable and all routines which operate on it are automatically changed. o Features may be removed (undefined) as well as added to a class. Two features with the same final name may be joined into one. o Classes are organized into clusters; names must only be unique within clusters. Reliability Although other issues take the forefront in research and public attention, without reliability they are moot. Reliability is necessary (but not sufficient) and is the underlying issue behind the "software crisis." Eiffel improves reliability by supporting: o Information hiding--all features may be selectively exported to zero or more classes (including the creation mechanism, allowing one class to produce instances but all others to use them). The export status of inherited features may be changed by any class that inherits them, but all features are available to descendent classes. o Full support for assertions, preconditions, post-conditions, and invariants is provided. Assertion checking may be disabled to improve performance. The assertion mechanisms in Eiffel are beyond the scope of this paper, but are worthy of study in themselves and are a powerful argument for using the language. Assertions hold when inherited, and so guarantee the behavior of descendent classes. o Exception handling is included in Eiffel and is properly linked within the assertion framework to allow retries and graceful failure where possible. o Language features which hinder reliability, including pointers, global variables, and gotos, are not supported. o All variables are guaranteed to be initialized to a safe and valid state at run-time creation. Efficiency Smalltalk is a wonderful language to develop in, with its direct support of the object-oriented paradigm, effective tools, and interpretive nature. But it is too hardware intensive (but aren't the cost of custom bit-slice processors coming down?) for use in most environments. Eiffel pushes to succeed in these environments by allowing: o A type may be expanded so that all of its data is inline rather than having references to it.Objects may be expanded inline o Although the basic types (BOOLEAN, CHARACTER, INTEGER, etc.) are classes and instances of them objects, they are treated specially for maximum performance. Openness Although Eiffel is a new language with new features, it must coexist with existing languages if it is to be useful. Thus Eiffel allows: o The body of any routine may be implemented in another language. Portability The days of MVS and with it the domination of one architecture are passing. Languages must support different platforms if they are to be widely used. Eiffel acknowledges this by including: o A predefined class, Platform, is included that handles all language differences between platforms (size of integers, etc.). Miscellaneous Eiffel includes quite a few novel features not directly related at improving program quality in the above sense. These include: o Full support of persistence through a common class designed to be inherited by everything. Objects rolled-in may be retyped using a "reverse assignment attempt" that types a retrieved object according as that of an expected type, if the object conforms to that type, or void if not. Objects may also automatically be stored on certain conditions. With the use of two statements, when a program ends all of its data can be automatically stored, and when it re-executes all its data can be retrieved. o An indexing clause for references to other works. This section is ignored by the compiler but useful for comments and can be processed to build indexes of systems. Meyer gives an example in [5] for a Document class: indexing text, text_processing, TeX; author: "Tatiana Sergeevna Krasnojivotnaya"; approved_by: "Giovanni Giacomo della Gambagialla"; original: 21, March, 1988; last: 12, July, 1992 class DOCUMENT inherit ... o An obsolete clause indicating that this class is not up to current standards. o Multiple feature clauses which allow features to be separated into groups and commented. These can be machine read since the format is part of the language. o Features may have synonyms. o A routine (procedure or function) may have either a once clause or a do clause. The once clause is executed one time; the result of its execution is returned (if the routine is a function) as the result of every succeeding call (i.e. an initialization routine or computed constant). Do clauses are executed repeated as per routines in other languages. These demonstrate the depth of Meyer's commitment to improving the overall programming environment (including programming tools) and how it influenced his language design. Consequences Since the early days of OS/360 we have come to learn that nothing exists in a vacuum; every design decision, no matter how small, impacts everything else in a design. Software engineering is in one sense a systematic attempt to reduce the repercussion of design changes on a system. Object-orientation is a specific methodology for accomplishing this end. By defining classes of objects with tightly restricted interfaces, we hope to reduce the side effects of change so long as we can define interfaces that are sufficiently robust to survive intact. In each of the above three languages, the designers were faced with the common problem above--mitigating change--as well as a host of others. In this section, for each language, I analyzed the consequences of the designers' philosophies and design decisions looking for impact on the various phases of program development: analysis/design, coding, testing, and modification. I paid particular attention to effects on reusability, reliability, maintainability, and robustness considering a variety of program sizes. Rather than looking at each philosophy for notable products, I used a synthetic approach of identifying obvious results when the results of certain philosophies were well known, testing the languages against classical problems, comparing the languages with their peers, and using war stories gathered from actual language users. The results follow. C++ C++ is driven by a philosophy of simplicity, compatibility, and efficiency that, while necessary for a low-level language proves quite restrictive in other contexts. All the phases of program development demonstrate this, from design to maintenance: Design/Analysis o If two users are working in tandem on a project, one writing a new class and the other using it, both the interface and implementation of the class must be fully mapped out before any simultaneous development can begin. C++ does not allow the implementation of a class to change without forcing re-compiles of all client classes even if the change does not affect any client classes. Consider: /* supplier.c -- this also must be in supplier.h */ class problem { public: int foo; private: int okaySoFar; } /* client.c */ #include supplier.h static problem p; p.foo=1; If the supplier changes the okaySoFar to a character instead of an integer, the header file must be changed to reflect it and every client file must be re-compiled even though the change did not actually affect any of them from the client's perspective. o The lack of unconstrained generic class containers (templates) prevents fully reusable heterogenous containers from being developed. With the strong typing in C++ each container can only operate on objects of types which are known for which the containers have been declared at compile time. This discourages use of iterative design models and requires design decisions regarding the classes that can be used and their relation to one another to be made very early in the design cycle. o C++ restricts dynamic binding to virtual functions and only allows it to distinguish which function to invoke for an object belonging to a class or derived class where it cannot determine at compile-time which of the routines to invoke. The set of routines must be defined at compile time which prevents true dynamic binding to an object whose class information is not available until run-time. Again, this forces detailed decisions early in the design cycle and makes the resulting code brittle. Coding o C++ fully supports multiple inheritance, but the resolution of conflicts between names in base classes requires a thorough understanding of the resolution precedence scheme and can be confusing. The method of resolving them, by prefixing them with their class name, works fine. The example below illustrates C++'s functional but problematic approach: class BaseballBase { public: int plate; status cleanliness; }; class Mound { public: int height; status cleanliness; }; class PitchersMound: public BaseballBase, public Mound {}; int PitcherSlips(PitchersMound *p) { if (cleanliness = bad) // must be Mound::cleanliness or // BaseballBase::cleanliness unless // Mound has BaseballBase as a (virtual) // base return TRUE; else return FALSE; } o The decision to make all class and public member names global creates unnecessary opportunities for name conflicts. o Abstract classes cannot be used as arguments. If a member can only operate on a whole hierarchy of classes whose base classes are have pure virtual functions, new classes may need to be created to resolve the problem. o Although operators can be overloaded to allow new classes to mimic old classes' behavior, there are many potential problems. There is no protection against defining conflicting operations based on identical operators (e.g. making the + operator subtract). The rules for type conversion and promotion of arguments are as complicated as PL/I: conversions are based on implicit type rules as well as the type of each argument in user-provided overloaded routines requiring detailed knowledge of the C++ argument matching rules (14 pages in [6]) for reliable code. The resolution of user-defined types is left ambiguous. o Class variables are supported through global variables and static file variables. (Static file variables are variables that are global to all classes within a source file but hidden from all classes outside.) The former fail to isolate private-but-shared data; The latter are unrealistic for large programs and programs that share subsets of variables (A and B share C's variables but A does not have access to B's.) o Many of the responders to my survey on Usenet viewed C++ as a difficult language to learn and work with. The large number of language features, without the presence of orthogonality or some other means of reducing complexity, made learning and coding in C++ problematic. [8] Maintenance o While the type checking system of C++ correctly recognizes that type restrictions are an essential part of creating reliable systems (a PencilJar class should not allow Elephants and RemoteMountedFileSystems to be placed in it), it requires substantial source changes every time a new hierarchy of classes (e.g. an external library) is added if the new classes are to be mixed with the old. Multiple inheritance makes this feasible, but at a high cost in programmer time. Some respondents to my survey mentioned the lack of run-time type-checking as a serious problem as well. o The lack of garbage collection effectively restricts C++ from being used to write application programs, which create and dispose of substantial numbers of objects at run time, and programs where reliability is paramount. Without garbage collection there is no way to guarantee that there are no dangling pointers present with the resultant debugging difficulties. This was the single largest complaint among all the users of C++ who responded to my requests for personal experiences with these languages. Garbage collection must be included for applications development--but it cannot be present for low-level systems programming. In my mind, the problem is with people's poor choice in using C++ for applications programming (based on the false premise that it is a general-purpose object-oriented language). [8] o Although access control provides more levels of information hiding than most system, it does not offer any restriction on the rights granted to visible members. Any class with access to a member variable may change that at will. In addition to the problems with program development produced by C++, the following miscellaneous issues were noted: o Without a uniform representation for objects, implementing generics (templates) is very difficult. Instantiating a template of integers creates significantly different code than instantiating a template of ClassesWithALotOfInstanceVariables, for example. A compiler supporting templates must support this by requiring access to the source code and thus preventing commercial libraries that are shipped object-code-only from using templates, or by maintaining pre-compiled images of templates. Either way, this greatly increases the complexity of a compiler. Borland's latest C++ compiler still does not support generics and most implementations contain bugs. o The great emphasis placed on performance yields a trade-off with language and compiler complexity. The language is uniformly viewed as difficult to learn and use and compiler support for the language is lagging more than any other language since Ada. Although there are some problems in C++ that make programming unnecessarily difficult, such as its treatment of abstract classes, most of the problems are so severe as to prevent development of certain types of systems using C++. Without major enhancements, C++ simply cannot be used to develop classes that are easily reusable across systems, highly reliable software, or large partially unspecified projects involving several programmers. Objective-C The philosophy of Objective-C has produced a small, easy to understand, and imminently useful language. Cox judged wisely when he included dynamic-binding; it is a powerful tool that considerably simplifies programming and encourages reusability (although it is not sufficient for it). But his single-minded pursuit of his vision of "software-ICs," and his implementation, leaves some key issues unresolved that affect development with Objective-C throughout the development cycle: Analysis/Design o Single inheritance requires substantial duplication of code for classes using shared features, in direct conflict to Objective-C's goal. The specification problem that Cox refers to can be solved through the use of constructs guaranteeing the specification of inherited methods such as those found in Eiffel, but the underlying language must support multiple inheritance. o The lack of overloading yields class interfaces that are not uniform, both increasing the overall complexity of any project and forcing programmers to learn (potentially) a new interface per new class. o Objective-C supports true heterogenous containers with variable sizes allowing the most flexible data structures possible (but see the maintenance issues below for the disadvantage). Coding o With static and dynamic binding present, Objective-C allows the creation of fast code while maintaining the overall generality for flexible system development. It properly allows the client code to make the decision as to how it is bound to a supplier. Only an automatic binding system such as the dynamic compiling in SELF which converts itself into a statically bound system as possible would be better. [2] o Class variables ("factory variables" in Cox's lexicon) are implemented as global variables with the same problems as noted in C++ above. o Only methods are publicly accessible, requiring the creation of many trivial functions that return a value with the incumbent overhead. o While supporting the syntax and much of the functionality of Smalltalk, the lack of an interpretive environment discourages the experimental programming approach that yields much of Smalltalk's productivity. The author's implementations (from StepStone) of the compiler is actually a preprocessor for C compilers, which slows down the development cycle even further, encouraging a batch mentality. o A header file must be created for each class, but since the header only contains the public interface to the class its creation is only a minor nuisance. Cox gives a program to create such files automatically from the class source code. Maintenance o The all-or-nothing nature of type checking in Objective-C (all static or all dynamic) guarantees the creation of unreliable software since unsupported messages may be sent to classes at run-time. Cox failed to see that this is a specification requirement rather than a performance requirement; static typing is as essential for dynamically bound portions of programs as well as statically bound. o The lack of garbage collection in Objective-C prevents reliable programs from being developed. Object pointers are unlike ordinary pointers; they are typically passed around in a variety of contexts. Where a misplaced buffer pointer might result in data errors within an application, a misplaced object pointer usually results in a fatal and abrupt application ending. o The combination of C and Smalltalk provides a combination that is very easy to learn for programmers with experience in either or both languages and very easy to work with. Complexity is well managed, and the resulting Objective-C programs are inevitably easier to read and understand, with the attending results in maintainability. An example below of a Graph class which was used in a program to record the dependency relationships of C functions (who uses what) illustrates this: // Dependency Graph #import "objc.h" #import "Graph.h" #import "Node.h" /* define the implementation of class Graph which inherits from Set */ @implementation Graph:Set {} /* instance methods begin with -, class with +; STR is a string */ // Add a new node - addNode:(STR) aCharPointer { return [2 filter:[Node str:aCharPointer]]; } // Add a new node and define it - defineNode:(STR)aCharPointer { return [[2 addNode:aCharPointer] define]; } // Mark the given node (and all nodes referenced by it) - mark:(STR)aNodeName { return [[2 addNode:aNodeName] mark]; } @end Eiffel With his wide assessment of the programming crisis and the best understanding of the impact of various object-oriented features, Meyer has managed to sidestep most of the major problems with other object-oriented languages. But nothing man makes is perfect, and Eiffel is no exception. Specific problems include: Analysis/Design o The decision to limit class information to compile time prevents the development of a whole class of systems programs, such as browsers, linkers, and librarians. While Eiffel promotes ease of change at the compile-time level, it hinders it at the run-time level. This is an inherent error in the language design of Eiffel, not necessarily a philosophical problem. Unfortunately, it cannot be easily worked around without effectively simulating a correction in the language. o The typing system, with its master type of All, allows for the creation of heterogenous containers while preserving type information for creating homogenous containers as well. o The combination of strong typing and dynamic binding allows yields reliable code (operations are guaranteed to be handled by the objects on which they are operated) with the benefits of dynamic binding (but note how the lack of class information at run-time hinders this). o The complete lack of support for static binding (Meyer calls it a "crime" to use static binding in object-oriented software) prevents Eiffel from being used to write systems or time-critical software. Since many of the large projects for which Eiffel is designed contain time-critical portions, a designer is forced to use more than one language for his project. Coding o No support for shared variables is included. None is needed so long as the variables are included in classes that export the variables to the classes that need them. o Free routines, those separate from a class, do not exist in Eiffel but class support can effectively take care of them. o Eiffel contains only limited support (through manifest constants) for non-ASCII characters. No effort to support wide (double-byte character sets) characters is included, nor can some be easily added. o Eiffel is a large language. It is very well engineered, which reduces the language complexity to make learning and using it reasonably easy, but it does not reduce its size or bulk. This makes writing compilers for Eiffel is a difficult task, simply because supporting the features of Eiffel is difficult. o The style of Eiffel (Meyer specifies one down to which fonts to use for what part of language grammar) shares ancestry with both Ada and Cobol in being ugly and long-winded. There is no attempt to reduce language features to one character as in C++; rather moderate sized programs quickly bloom to consume reams of paper. This slows down coding, but the results may merit all the verbiage. The following sample taken from [5, 6-10] demonstrates this: class ACCOUNT creation make feature balance: INTEGER; owner: PERSON; minimum_balance: INTEGER is 1000; deposit(sum: INTEGER) is require sum >= 0; do add(sum); ensure balance := old balance + sum end; -- deposit Maintenance o The inclusion of garbage collection allows for the creation of reliable programs. Eiffel's reliance on it for all storage management, however, precludes the use of Eiffel in storage-constrained or time-critical applications, such as real-time programming. o There is no way to prevent other classes from gaining full access to all features in a class since all features are automatically available to any descendent of a class. This lack of protection (available in C++) weakens information hiding and reduces the reliability of the overall system. o Eiffel lacks the platform-independent persistent data format of Objective-C. When the format of a class changes (i.e. instance variables added or deleted) new code must be written to convert any existing objects from the old format to the new. This platform-specific format also makes the software much less resilient to changes in hardware than it should be. Results and Discussion C++ has proven itself to be an excellent replacement for C for systems programming, meeting its authors goals handily. As a direct consequence of this focus on low-level/low-overhead programming, however, C++ has shown itself to be inferior to both Objective-C and Eiffel for application programming and especially for large systems development. C++ cannot be used to write dynamic programs which require run-time typing, and its lack of garbage collection limits its application to very tightly defined and controlled applications. In summary, it is a better C, but nothing more. In contrast, Objective-C excels at programs requiring run-time typing and the full message support of Smalltalk. It also is an excellent tool for systems programming, but also suffers from a lack of garbage collection. While it is the closest to being a general-purpose object-oriented language, having demonstrated its use in applications and systems on the NeXT, it fails to revolutionize the world because it fails to truly advance the level of compiled languages. Eiffel, however, is truly revolutionary in that it provides all the tools for specifying and building reusable systems. It does not aim to be a systems programming language, it is not, and it cannot be one. But given the caveats regarding the bulk of the language and the performance related issues (which should improve as compilers do), Eiffel is the best choice of the three for large programming projects or mission-critical software. Conclusion As is the case in real life, philosophies often preclude compromise. In each of the languages surveyed some of the designer's decisions involved burning bridges--making decisions that inherently limited the power of the language rather than expanding it: o The decision in C++ to make a language useful for systems programmer inherently prevents it from addressing issues important to applications programming and large systems development. Large systems, where reliability issues are critical, will continue to require advanced features and tools with far too much overhead for systems development. o The decision in Objective-C to focus on getting dynamic binding into a language as quickly as possible rather than considering all the other issues involved has resulted in an imminently useful language now, but one that ultimately does not contribute to ending the software crisis. o The decision in Eiffel to include all the bells and whistles needed for large applications programming add too much overhead for small projects and constrain the performance of large ones. These problems are severe enough to prevent any of these from serving as a truly general purpose language. If the languages are broken into two groups, however, systems-oriented versus application-oriented, Objective-C++ seems the answer for the former. Given that the natural implementation for Objective-C is a preprocessor for C (as is the AT&T cfront implementation of C++) the two languages could be combined. Although I have not tested this, the language definitions do not seem to contain any conflicts between the two languages; the only conflicts that would arise would be in library names and run-time support (initialization). Eiffel is clearly superior to even this combination for large applications develoment. References [1] G. Booch. Object Oriented Design with Applications. Benjamin/Cummings, 1991. [2] C. Chambers and D. Ungar. "Making Pure Object-Oriented Languages Practical", OOPSLA '91: Conference on Object-Oriented Programming Systems, Languages, and Applications, November, 1991, 1-15. [3] B. J. Cox and A. J. Novobilski. Object-Oriented Programming: An Evolutionary Approach, 2d ed. Addison-Wesley, 1991. [4] A. Goldberg and D. Robson. Smalltalk-80: The Language and Its Implementation. Addison-Wesley, 1983. [5] B. Meyer. Eiffel: The Language. Prentice Hall, 1992. [6] B. Stroustrup and M. A. Ellis. The Annotated C++ Reference Manual, corr. ed. Addison-Wesley, 1991. [7] B. Stroustrup. The C++ Programming Language, 2d ed. Addison-Wesley, 1991. [8] Usenet. Responses to "* Wanted: war stories *" in comp.lang.c++, comp.lang.eiffel, and comp.lang.objective-c. 1993. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: mbarnes@world.std.com (michael j barnes) Subject: Sybase/images Message-ID: <C6tFsL.Ex9@world.std.com> Organization: The World Public Access UNIX, Brookline, MA Distribution: usa Date: Mon, 10 May 1993 14:48:19 GMT I am looking for a simple example on how to load and retrieve a tiff image in Sybase. Thanks for the help...
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: asm@eecg.toronto.edu (Anees S. Munshi) Subject: Re: DSP Tutorials (Jean Laroche?) needed Message-ID: <1993May10.131738.23579@jarvis.csri.toronto.edu> Organization: Department of Electrical and Computer Engineering, University of Toronto Date: 10 May 93 17:17:38 GMT Thank you all for your replies to my question. I'm sorry I could not respond to everyone because of the sheer number of responses I received. Once again, thank you. For those who wanted me to forward the info I received, here's one reply: > ftp ccrma-ftp.stanford.edu (login as anonymous, password as your email address) > cd /pub/DSP > binary > get JeanLaroche.tar.Z Regards, ------------------------------------------------------------------------- Anees Munshi, University of Toronto, Department of Electrical Engineering Email:asm@eecg.toronto.edu (NeXTMail accepted) Telephone: 416.929.5754 (Toronto), Fax: 416.929.5744 -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: schlangm@informatik.uni-muenchen.de (Harald Schlangmann) Subject: Enhanced tifftoppm or stripalpha Keywords: TIFF, ALPHA Sender: schlangm@informatik.uni-muenchen.de Organization: Institut fuer Informatik der Universitaet Muenchen Date: Mon, 10 May 1993 18:37:00 GMT Message-ID: <1993May10.183700.22707@Informatik.TU-Muenchen.DE> Distribution: World Does anyone know of a *commandline* tool either like tifftoppm which is able to cope with a alpha channel or one that strips the alpha channel of tiff files? Thanks - Harald --- ________________________________________________________________ Harald Schlangmann voice: +49 89 535510 address: Tumblingerstrasse 17 Rgb., W-8000 Muenchen 2, F.R.G. e-mail : schlangm@informatik.uni-muenchen.de, NeXTmail OK ________________________________________________________________ Try TeXmenu 4.0 for computers running NeXTSTEP: ftp.informatik.uni-muenchen.de:/pub/next/Text/tex ________________________________________________________________
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Public Window Server Message-ID: <1993May10.191329.11252@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Mon, 10 May 93 19:13:29 GMT There was a program put on sonata recently that would toggle the "Unix Expert" option. My question is, would it be possible to do this for "Public Window Server"? I am not asking for "dwrite..."; I mean REALLY toggle it like Preferences does. I other words, I want an equivalent of "xhost +" (when will NeXT implement "xhost hostname"?). While I am at it, it would also be useful to have some other Preferences functions implemented as Services or command line (like looking at the keyboard panel). I don't want to have Preferences running all the time just to do this. Thanks, -- Magnus Nordborg Department of Biological Sciences Stanford University magnus@fisher.stanford.edu (NeXT mail preferred)
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: chown programmatically? Message-ID: <C6sLy7.1JE@pyrian.com> Sender: ian@pyrian.com (Ian H. Stewart) Organization: PYRIAN 415 664-1170 Date: Mon, 10 May 1993 04:03:42 GMT Is it possible to do this: chown -R user1.group3 /somefile I need to be able to do it recrusive and use names instead of numbers. (the numbers do not seem to be consistent through versions 1.0 -> 3.1) Any suggestions? -- Ian H. Stewart | voice/fax 415-664-1170 Pyrian Software Group | Net Ian_Stewart@pyrian.com NeXTSTEP Consulting | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer From: ian@pyrian.com (Ian H. Stewart) Subject: Thanks to.... Message-ID: <C6soJA.1n0@pyrian.com> Sender: ian@pyrian.com (Ian H. Stewart) Organization: PYRIAN 415 664-1170 Date: Mon, 10 May 1993 04:59:33 GMT I want to thank everyone that has taken the time to help me with my beginners questions. I rely on the help of the net a lot because I am the only one here that is interested in programming my own stuff. (Everyone else is a marketing type that buys the rights to or have contract programmers create programs to market and sell). I am a novice and my questions clearly reflect that. I appreciate the people that take the time to help me and I appreciate the people that DON'T reply to my questions when they feel my questions are a waste of time. I DO NOT appreciate the individual that says I should not waste everyones time by asking them. If it wasn't for Paul M., Drew D., Montgomery Z., Mike M., Carl E., Leo, Don M., Bryce J.,Scott / Jason, Ramesh D., David A., Scott H. Yanik C., Don Y., A. Reid T., Charles L., Wesley S., William E. and so many others, I would not be as excited about NeXTSTEP and the great things it allows me to do. I appreciate all of your help and want to publicly thank you all. Ian H. Stewart Pharaoh Computer, Inc. (formally PYRIAN)
From: rabahya@yang.earlham.edu Newsgroups: comp.sys.next.programmer Subject: Re: Question: Shell windows Message-ID: <1993May10.205130.23292@yang.earlham.edu> Date: 10 May 93 20:51:30 EST References: <1993May8.130016.23264@yang.earlham.edu> Organization: Earlham College, Richmond, Indiana I have previously posted: In article <1993May8.130016.23264@yang.earlham.edu>, rabahya@yang.earlham.edu wr > HI > > I'm trying to add some lines to my .login file or .??? file so that whenever I > log into my account I get two new shell windows open and running specific apps > in specific dirs. . I know that I can use the prefrences under the workspace > menu to open one terminal window whenever I log in, but I need to have two or > three shells running at the same time and it would be nice if I don't have to > open them and set them up whenever I login. Please email me to one of my > addresses. > > Thanks! And so far the people who replied to this post told me to use Stuart2.4 which they claim is a lot better than terminal. I have got it via ftp from nova.cc.purdue.edu and I'm gonna try and see if I can solve my problem using it, but I don't think it would allow me to open more than one window automaticaly whenever I login .. which is what I asked about initialy. Anyway, thanks for all of you who replied.. and to the people who wanted to know the answer I posted this message ! Thanks... ps. check out my other posted question NeXT wizards !! |-----------------------------------------------------------------------------| | Jack Rabah | RabahYa@Yang.Earlham.EDU | (317)- | | Earlham College, Drawer # 1542 | RabahYa@Yang.bitnet | 973- | | Richmond, IN 47374 | JACK@math.Earlham.EDU | 2016 | |-----------------------------------------------------------------------------|
From: rabahya@yang.earlham.edu Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.misc Subject: Maintaining Prefrences settings. Message-ID: <1993May10.205852.23293@yang.earlham.edu> Date: 10 May 93 20:58:52 EST Organization: Earlham College, Richmond, Indiana Hi you NeXT wizards out there !! I'm having a problem with the settings of my prefrences (mouse, sound, keyboard.. etc) Whenever I login I have to set these things and then after I logout they go back to somekind of a default setting, and it's a pain setting them everytime I login... Any suggestions to what could be causing this problem? Thanks... |-----------------------------------------------------------------------------| | Jack Rabah |RabahYa@Yang.Earlham.EDU | (317)- | | Earlham College, Drawer # 1542 |RabahYa@Yang.bitnet | 973- | | Richmond, IN 47374 |JACK@math.Earlham.EDU (NeXT)| 2016| |-----------------------------------------------------------------------------|
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: PS display of Mac ps output Message-ID: <1993May11.023647.11856@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993May8.215113.7451@dhhalden.no> Date: Tue, 11 May 1993 02:36:47 GMT In article <1993May8.215113.7451@dhhalden.no> borrel@ludvigsen.dhhalden.no (Borre Ludvigsen) writes: >Some Mac files (Pagemaker & Ready Set Go among others) >that have been "printed" to postscript files do not >display with Preview on the NeXT. Anyone have a >work-around? --FAQ Alert-- The Apple LaserWriter drivers are notorious for producing strange mutant PostScript that only works on genuine Apple LaserWriters or very good imitations, i.e. not proper "device independent" PostScript. They are two recommended freeware solutions available from the Info-Mac archives. The primary distribution site is sumex-aim.stanford.edu under the info-mac directory; this server provides both FTP and Gopher access. It's also mirrored at various other sites, e.g. wuarchive.wustl.edu, /mirrors/info-mac/. unix/macps-23.shar MacPS is a utility that runs on the UNIX side to massage Mac PostScript output into something sane. It's particularly useful if you've FTPed a supposedly PostScript document off the net that turns out to be Mac-bogus-PostScript, and the "original" format document is either unavailable or requires software you don't have. util/dmm-lw-56-stuff-131.hqx util/dmm-lw-7-stuff-131.hqx The DMM Utilties attempt to fix things on the Mac side, so the LaserWriter driver will output proper PostScript to begin with. The latter file has everything you need for 6.0.8/7.0/7.0.1/7.1; the former handles pre-6.0.8 output. Also, InterCon Systems Corporation has a commercial product called InterPrint that may be of interest; it's supposed to make UNIX (LPR/LPD) printers accessible from the Chooser. I've never used it, so I can't say any more. -=EPS=-
Newsgroups: comp.sys.next.programmer From: test@ie1next.me.umn.edu () Subject: I screwed up .NeXT.default Message-ID: <C6uDtD.4oA@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Tue, 11 May 1993 02:59:44 GMT Hello: I was trying to load a IB palette. For some reason, my IB cannot be launched anymore. Therefore, I checked into the NeXT.default and modified the file. The IB can be launched but all applications cannot save any default information anymore. Can anybody give me some hints on how to solve this problem? Ben
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Public Window Server Message-ID: <1993May11.025114.12429@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993May10.191329.11252@leland.Stanford.EDU> Date: Tue, 11 May 1993 02:51:14 GMT In article <1993May10.191329.11252@leland.Stanford.EDU> magnus@fisher.Stanford.EDU (Magnus Nordborg) writes: >There was a program put on sonata recently that would toggle the >"Unix Expert" option. My question is, would it be possible to do >this for "Public Window Server"? I am not asking for "dwrite..."; I >mean REALLY toggle it like Preferences does. I other words, I want >an equivalent of "xhost +" Part of (_not_ all of) what Public Window Server does is issue the setpubliclistener operator; it takes one boolean argument (true=public; false=not public). You can call this from a pswrap (or use pft to invoke it interactively). > (when will NeXT implement "xhost >hostname"?). How interested would you be in a commercial product that provided that functionality (how much would you be willing to pay)? I'm only asking hypothetically, of course. :-) -=EPS=-
From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: comp.sys.next.programmer Subject: IB Connection in Obj-C Date: Mon, 10 May 1993 22:56:41 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Message-ID: <4fvlLde00iMFQATFNw@andrew.cmu.edu> Okay... when I draw a connection between one text field and another, and then select (under connections) "target->takeFloatValueFrom:" and establish a connection, what is the equivalent in Objective-C? i.e., how would I accomplish this same thing outside of IB? [I've tried some combinations of "setAction", "setTarget", and "sendAction:To:" but haven't gotten the same results...] Thanks in Advance! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | Free | The above represent my| | FAST Project, CMU-GSIA | Software| opinions, alone. | |B.S. Mechanical Engineering, CMU| | Ya Gotta Love It. | | Every Silver Lining's Got a Touch of Grey | ------------------------------------------------------------------------ This year marks the 200th anniversary of the Bill of Rights
Newsgroups: comp.sys.next.programmer From: mrothste@foraker.csc.calpoly.edu (Mont Rothstein) Subject: Re: Help!!! Method fogets id Message-ID: <1993May11.042657.28774@rat.csc.calpoly.edu> Date: Tue, 11 May 93 04:26:57 GMT Organization: Cal Poly, SLO References: <1993May10.020722.27559@rat.csc.calpoly.edu> In article <1993May10.020722.27559@rat.csc.calpoly.edu> mrothste@foraker.csc.calpoly.edu (Mont Rothstein) writes: > In the following method I am reading in images selected in openPanel. > Depending on how a button is set I want to do something after each image in a > list of highlighted images. For some reason while I am in the method that > reads in these images I can not send messages to the button I want to look at, > in fact all instance variables (except the image one) are unavailable. After > I leave this method completely (i.e. not just jump out) the button returns. > Does anyone have any idea why this occurs? Is this a bug? How do I get > around it? [ code removed] > The recordAllButton (type id) is not accessable in this method, but it is > accessable both before and after this method! Well I solved my own problem (after 12+ hrs.) When my connection line in IB went from my menu item (or a button) to the actual view on the screen then the method called didn't know about any of the instance variables but when the connection line went from the menu item to the View's instantiation icon in IB it worked fine. I don't know if this is a bug or what. By the way what is the correct address at NeXT to send bugs to? -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer From: mrothste@foraker.csc.calpoly.edu (Mont Rothstein) Subject: Re: Maintaining Prefrences settings. Message-ID: <1993May11.042900.28845@rat.csc.calpoly.edu> Date: Tue, 11 May 93 04:29:00 GMT Organization: Cal Poly, SLO References: <1993May10.205852.23293@yang.earlham.edu> In article <1993May10.205852.23293@yang.earlham.edu> rabahya@yang.earlham.edu writes: > Hi you NeXT wizards out there !! > > I'm having a problem with the settings of my prefrences (mouse, sound, > keyboard.. etc) Whenever I login I have to set these things and then after I > logout they go back to somekind of a default setting, and it's a pain setting > them everytime I login... Any suggestions to what could be causing this > problem? > > Thanks... Sounds like root is overridding you, this happens on our school machines, I don't know what the exact setting is that does this. -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: chown programmatically? In-Reply-To: ian@pyrian.com's message of Mon, 10 May 1993 04:03:42 GMT To: ian@pyrian.com (Ian H. Stewart) Message-ID: <CEDMAN.93May10165149@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <C6sLy7.1JE@pyrian.com> Date: Mon, 10 May 1993 20:51:49 GMT In article <C6sLy7.1JE@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: Is it possible to do this: chown -R user1.group3 /somefile I need to be able to do it recrusive and use names instead of numbers. (the numbers do not seem to be consistent through versions 1.0 -> 3.1) Yes. The magic incantation is system("chown -R user1.group3 /somefile"). Yes, you could also do this programmatically using chown(2), getpwent(3), and readdir(3), but unless your program is quite large, this will be more trouble than the rest of the program. What you would gain is a miniscule amount of speed and large number of error conditions to handle. Whether the later is an advantage or a disadvantage depends on your point of view. Carl Edman
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: How to set the mouse cursor position? Organization: Primitive Software Ltd. References: <1993May4.192244.993@prim> <1993May8.224857.19207@thunder.mcrcim.mcgill.edu> <1993May9.133238.15041@sifon.cc.mcgill.ca> Date: Mon, 10 May 1993 08:06:46 +0000 Message-ID: <1993May10.080646.3677@prim> Sender: usenet@demon.co.uk In article <1993May9.133238.15041@sifon.cc.mcgill.ca> samurai@cs.mcgill.ca (Darcy BROCKBANK) writes: >In article <1993May8.224857.19207@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes: >>In article <1993May4.192244.993@prim>, dave@prim.demon.co.uk (Dave Griffiths) writes: >> >>> Does anyone know how to set the position of the mouse cursor >>> programatically? (I mean the little arrow that is unrelated to any >>> window.) >> >>Mouse-X does this when the X pointer is warped. It may not be of use >>to you, because it's rather low-level, but the core function is this: > >There's also two function calls in the AppKit called: DPSsetmouse() and >PSsetmouse(). They may or may not be undocumented... They're in >/usr/include/dpsclient/dpswraps.h and /usr/include/dpsclient/pswraps.h >respectively. Yes, PSsetmouse works fine. Thanks to the people who told me about it. It took me a while to make it work because I wasn't doing an NXPing afterwards. Now I have another minor problem. My application does a PSsetmouse/NXPing _after_ another application (over which I have no control) has also set the cursor position, but because the other application hasn't done an NXPing yet, _it's_ PSsetmouse wins. Tricky eh? So does anyone know how to flush postscript for _another_ application? I know it's postscript context number, so if there was some way to turn that into a DPSContext pointer it would be possible. But the relationship between these two types of context remains shrouded in mystery (see Mark Henry's recent request for help). Dave Griffiths
From: rabahya@yang.earlham.edu Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.misc Subject: Re: Maintaining Prefrences settings.(solved) Message-ID: <1993May10.233049.23294@yang.earlham.edu> Date: 10 May 93 23:30:49 EST References: <1993May10.205852.23293@yang.earlham.edu> Organization: Earlham College, Richmond, Indiana In article <1993May10.205852.23293@yang.earlham.edu>, rabahya@yang.earlham.edu w > Hi you NeXT wizards out there !! > > I'm having a problem with the settings of my prefrences (mouse, sound, > keyboard.. etc) Whenever I login I have to set these things and then after I > logout they go back to somekind of a default setting, and it's a pain setting > them everytime I login... Any suggestions to what could be causing this > problem? > > Thanks... Well the respond that solved this problem was : > From: IN%"kent@mnementh.cs.mcgill.ca" "Kent Tse" > To: IN%"rabahya@YANG.EARLHAM.EDU" > CC: > Subj: RE: Maintaining Prefrences settings. > > Hello, > > Your problem seems to be that your home directory and your .NeXT > directory are not executable by everyone. Run the following > command and this should fix your problem permanently. > > % chmod og+x ~ ~/.NeXT > > This will give everyone execute permissions on your home > directory and the .NeXT directory which hold your preferences. > Hope this helps. > > - Kent Well what I did is I set the prev on my home dir: 1 drwx--x--x 14 jack other 1024 May 10 21:54 jack/ and on the .NeXT dir: 1 drwxr-xr-x 5 jack other 1024 May 10 22:00 .NeXT/ and this way my account would be protected and I'd be able to have the prefrences always set the way I like them to be !! Thanks for those of you who replied . |-----------------------------------------------------------------------------| | Jack Rabah |RabahYa@Yang.Earlham.EDU |(317)- | | Earlham College, Drawer # 1542 |RabahYa@Yang.bitnet | 973- | | Richmond, IN 47374 |JACK@math.Earlham.EDU (NeXT)| 2016 | |-----------------------------------------------------------------------------|
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: DBTableView without DBKit? Message-ID: <1993May11.112556.23281@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993May6.120024.8878@email.tuwien.ac.at> Date: Tue, 11 May 1993 11:25:56 GMT In article <1993May6.120024.8878@email.tuwien.ac.at> ah@fml.tuwien.ac.at (Andreas Haleger) writes: > > There should be a file DBTVTest.tar.Z somewhere on the net. I mail it to > you if you cannot find it. > This is what Mike Ferris posted to the next-prog mailing list some time ago. As he has never uploaded it to an archive server, I do that now for him. It is called DBTVTest.tar.Z and can be found at sonata.cc.purdue.edu. --- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted. From: Mike Ferris <mferris@trirex.com> Date: Mon, 28 Dec 92 10:50:57 -0500 To: next-prog@cpac.washington.edu (Next Programmers) Subject: Sample of how to use DBTableView outside of DBKit Reply-To: mferris@trirex.com (Mike Ferris) Hi, I have seen a few people mention that a DBTableView is good for more than DBKit stuff. Some have asked how to use a DBTableView without DBKit. I asked myself this question too, and since it wasn't really obvious, I thought you'd like to see the little program I wrote to prove it could be done and teach myself how to do it. Here it is. DBTVTest This is a complete 3.0 project directory. The trick seems to be that you need properties to assign to at least one axis of your table. The properties must conform to the DBPOroperties protocol. The class SimpleProperty handles that. Then you need an object to act as the DataSource of the table. It must conform to the informal DBTableDataSources protocol. The Tester class handles that. Have fun. ____________________________________________________________ Mike Ferris Everybody understands Mickey Mouse mferris@trirex.com Few understand Herman Hesse Trirex Systems, Inc. Only a handful understood Einstein (212) 856-9000 And nobody understood Emperor Norton From: William Shipley <wjs@omnigroup.com> Date: Mon, 28 Dec 92 17:12:37 -0800 To: next-prog@cpac.washington.edu (Next Programmers) Subject: Re: Sample of how to use DBTableView outside of DBKit It's my understanding that TableView doesn't use the DBProperties protocol, that the identifier you pass it for each row (or column) is simply an opaque 32-bit entity that's used only to distinguish the rows (or columns). In the case of DBModule, the column identifiers it uses are DBProperties, but TableView doesn't care what they are, since it never sends any messages to them. Thus, your SimpleProperty class is unneccesary. -William Shipley The Omni Group DBKit consulting
Newsgroups: comp.sys.next.programmer From: guy@infotec.ch (Guy Roberts) Subject: Automatic man page generator Message-ID: <1993May11.085747.807@infotec.ch> Summary: One exists now Keywords: RTF man pages header files Organization: Infotec S.A. Distribution: comp.sys.next.programmer Date: Tue, 11 May 1993 08:57:47 GMT Following the spontaneous outburst of apathy that followed my question about applications to convert header files into RTF manual pages, I have had to write one. The utility is called ManPagesFromHeaders and has an AppKit interface that can convert (NeXT) Objective-C header files into rich text format in the same style as the on-line object class documentation provided by NeXT. ManPagesFromHeaders.tar.Z (60Kb) can be found on sonata.cc.purdue.edu (128.210.15.30) in pub/next/submissions. You will need to compile it. Of course you will still have to fill in the gaps to describe what each class and method is for, but the program lays out a skeleton page using appropriate fonts and tabulation. A better solution might be to have comments within the code of a format that can be recognised by a manual page generator. That way a well commented object class could be used to produce a nearly complete manual page. The existing code should be made to work as a service. Happy documenting, Guy Roberts, guy@infotec.ch. (But not here for long). -- Guy Roberts (guy@infotec.ch)Infotec S.A. phone: +41 22 738 44 36 5, Place Cornavin, fax: +41 22 738 29 12 Geneve, Switzerland.
Newsgroups: comp.sys.next.programmer From: "James Gaines" <p00378@psilink.com> Subject: PARABASE Message-ID: <2946197781.5.p00378@psilink.com> Sender: usenet@worldlink.com Organization: GCC Date: Tue, 11 May 1993 11:18:04 GMT Has anyone heard anything (good or bad) about the PARABASE front end for the Sybase SQL Server. I am interested in performance and compatibility. Please sne d me your comments. Peace. James
From: brian@systemix.com (Brian Cuthie) Newsgroups: comp.sys.next.programmer Subject: Re: Question: Shell windows Date: 11 May 1993 09:51:45 -0400 Organization: Systemix Software, Inc. Message-ID: <1sob1hINN6sv@systemix.com> References: <1993May8.130016.23264@yang.earlham.edu> <1993May10.205130.23292@yang.earlham.edu> In article <1993May10.205130.23292@yang.earlham.edu> rabahya@yang.earlham.edu writes: > >And so far the people who replied to this post told me to use Stuart2.4 which >they claim is a lot better than terminal. I have got it via ftp from Stuart is wonderful ! Brian -- Brian Cuthie Voice: (410) 290-8813 Systemix Software, Inc. Email: brian@systemix.com
From: Charles William Swiger <infidel+@CMU.EDU> Newsgroups: comp.sys.next.sysadmin,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Maintaining Prefrences settings. Date: Tue, 11 May 1993 10:13:41 -0400 Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA Message-ID: <ofvvGJu00WB3J0g8Yc@andrew.cmu.edu> In-Reply-To: <1993May10.205852.23293@yang.earlham.edu> Excerpts from netnews.comp.sys.next.misc: 10-May-93 Maintaining Prefrences sett.. by rabahya@yang.earlham.edu > I'm having a problem with the settings of my prefrences (mouse, sound, > keyboard.. etc) Whenever I login I have to set these things and then after > I logout they go back to somekind of a default setting, and it's a pain > setting them everytime I login... Any suggestions to what could be causing > this problem? It's possible that you do not have the correct permissions to modify the appropriate files. To fix this, do a "chown -R <user> <homedir>" as superuser, where <user> is your login id and <homedir> is your home directory. Then, as yourself, do a "chmod -R u+rw <homedir>" to make sure that you can read and write to every file that you own. If you aren't administering the machine and can't become root then ask your system's admin to do the chown for you.... -Chuck Charles William Swiger -- CMU...*crunch*! | 1. You can't fly. (Oops, Tom. :) ------------------------------------------+ 2. Cars are always real, even AMS & normal mail: infidel@cmu.edu | when they're not. Failing that: cs4w+@andrew.cmu.edu | 3. Cops are not your friends. NeXTmail: chuck@mon.slip.andrew.cmu.edu | 4. Fire burns.
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: NXCharFilterFunc Message-ID: <1993May11.095234.3734@gleap.jpunix.com> Date: Tue, 11 May 1993 09:52:34 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software I'm looking for an example of how to write an NXCharFilterFunc? I want to be able to treat tab as a "next field" and all other chars the way Text normally does. I found no docs on how to write one of these filters. Thanks, Charles -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 363-0887 (713) 363-0936 (fax)
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: NeXTSTEP Medical Developers' Symposium Date: 11 May 1993 16:38:00 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1sokp8INN6cf@darkstar.UCSC.EDU> I attended the Medical Developers' Symposium last year the day before the Expo and found it to be quite informative. It's going to be held again this year on Monday, 24 May. I'm not on the invitation list because I'm a contractor working on healthcare software, but my client did get an invitation. This isn't an official announcement, but I'd like to see as many healthcare developers attend as possible, so if you'd like to attend, contact the organizer, Walter Wieners (I believe he pronounces his name wee'ners), and ask for an invitation (I have no idea whether he'll expand his invitation list, but it's worth a try, right?). He can be reached at +1 415 331 7832. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NeXT software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Thanks to.... Message-ID: <1993May11.152237.14839@afs.com> Sender: greg@afs.com References: <C6soJA.1n0@pyrian.com> Date: Tue, 11 May 1993 15:22:37 GMT In article <C6soJA.1n0@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: > I want to thank everyone that has taken the time to help me with my > beginners questions. [munch] I DO NOT appreciate the > individual that says I should not waste everyones time by asking them. Hey, Ian, let me know who's flaming you about using this group FOR ITS INTENDED PURPOSE, and I'll send over a few of the "Victors" (if you know what I mean) to straighten them out. Us guys from Philly know how to help our friends in their time of need. 8^) -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: mdixon@parc.xerox.com (Mike Dixon) Subject: Re: Question: Shell windows Message-ID: <mdixon.737143668@thelonius> Sender: news@parc.xerox.com Organization: Xerox PARC References: <1993May8.130016.23264@yang.earlham.edu> <1993May10.205130.23292@yang.earlham.edu> Date: 11 May 93 18:07:48 GMT > And so far the people who replied to this post told me to use Stuart2.4 > which they claim is a lot better than terminal. I have got it via ftp > from nova.cc.purdue.edu and I'm gonna try and see if I can solve my > problem using it, but I don't think it would allow me to open more than > one window automaticaly whenever I login .. which is what I asked about > initialy. sure it will. read the on-line manual. (or just set up the windows the way you want and hit the 'Write Stuartrc file' menu entry.) (my Stuart opens two windows of different sizes, positions, font sizes, and titles every time i log in. i've also got shell commands that open additional windows automatically rlogin'd to other machines.) .mike.
Newsgroups: comp.sys.next.programmer From: guy@infotec.ch (Guy Roberts) Subject: Re: Automatic man page generator, corrupt file fixed. Message-ID: <1993May11.220619.29283@infotec.ch> Keywords: RTF man pages header files Organization: Infotec S.A. References: <1993May11.085747.807@infotec.ch> Distribution: comp.sys.next.programmer Date: Tue, 11 May 1993 22:06:19 GMT I apologise to people who took ManPagesFromHeaderFiles.tar.Z from pub/next/submissions on sonata.cc.purdue.edu, it was corrupt. The problem is now fixed, guess who had forgotten the binary switch of ftp ??? Sorry to have wasted your time. Guy Roberts, Infotec, guy@infotec.ch guy@infotec.demon.co.uk -- Guy Roberts (guy@infotec.ch)Infotec S.A. phone: +41 22 738 44 36 5, Place Cornavin, fax: +41 22 738 29 12 Geneve, Switzerland.
From: mikes@haas.berkeley.edu (Michael Smith) Newsgroups: comp.sys.next.programmer Subject: Help needed with sockets... Date: 11 May 1993 23:38:09 GMT Organization: Haas School of Business, Berkeley Distribution: world Message-ID: <1spdd1$rrp@agate.berkeley.edu> I am trying to run a dikumud on a Color NeXTStation after finally getting the code to compile (NeXT seems to have a non-standard C library system), I connect to the game, it gives me the opening message and then kicks you off the system (Connection closed by foreign host) before it gives you the enter name prompt. the log in the game server shows: Tue May 11 15:55:57 1993 :: Sock.sinaddr: 128.32.162.106 Write to socket: Operation would block Tue May 11 15:55:57 1993 :: Losing descriptor without char. Does anyone have any ideas on how I can prevent the game from kicking me off before I can even log on? I'm fairly certain that it is not a bug in my code since 1) It works fine on Ultrix and 2) I did manage to get the game running on one of the NeXT's when we first got them, but I guess some modifications have been done to the system since then, since my game doesn't work anymore. What did we unknowingly change here? Please email me if you have any ideas.... thanks, Mike. mikes@haas.berkeley.edu
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: NextStep programmer seeks recruiting possibilities at Expo Date: 11 May 1993 21:39:54 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1sp2uq$2hl@steffi.demon.co.uk> I am deciding wether to attend Expo. As I have to make an expensive a trip across the ocean I would like to make it worth my while by investigating the possibility of recruitment as a NextStep programmer. If anybody would like to extend an invitation to me regarding this matter then please feel welcome to contact me. Cheers. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: benkt@ie1next.me.umn.edu () Subject: How to store an Array in a file? Message-ID: <C6w9n3.H3K@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Wed, 12 May 1993 03:27:25 GMT Hi: I am trying to write an array as a NXTypedStream, (NXWriteArray and NXReadArray) and save it to a file. I simply cannot get it to work. Can somebody shed some light on this subject? Thanks Ben
Newsgroups: comp.sys.next.programmer From: zeke@znext.cts.com (james dehnert) Subject: Anyone have a working f2c? Message-ID: <1993May12.041158.7526@znext.cts.com> Sender: zeke@znext.cts.com (james dehnert) Organization: pnet Date: Wed, 12 May 1993 04:11:58 GMT I have compiles vesion f2c-1993.04.28 of f2c on my 25mhz 040 cube, bit it still dosen't seem to work. I seem to be missing the following programs, getopt elf lcc Unfortunatley there is no g77 compiler available so I have to go with f2c. I'm not a big fan of fortran and would prefer to code on C, BUT, the professor of my numerical analysis class has decided that we have to use fortran because "Thats the only language I know" If anyone can give me a few pointers, or even better NeXT mail me a .tar file with a working configuration, that would be great. Many AtDhVaAnNkCsE Zeke -- +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+\|/+= Eschew Obfuscation Next Mail Welcome =+\|/+= +=/|\=+ James "Zeke" Dehnert zeke@znext.cts.com +=/|\=+
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.hardware From: avery@gestalt.Stanford.EDU (Avery Wang) Subject: Bug Fix (was Re: Software Floating Pt Coprocessor for NeXTs) Message-ID: <1993May12.074258.17704@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Wed, 12 May 93 07:42:58 GMT Hi everyone- Thanks to Frank Zhang, I've been alerted to some bugs in the software math coprocessor for the 68040 NeXT hardware. It turns out that log10() was broken. Additionally, I determined that pow() was also foo-bar. And floor() failed my testing for negative integers. I simply didn't bother checking the validity of the funtions in the original libjv.a package from which I made my modifications. I did several hours of numerical verifications on the libraries tonight and they seem to do the right thing now. Please read the README file included with the package describing the stuff. I've explained in a little more detail what this library can do, and what its limitations are. Anyway, I went ahead and fixed the bugs and reposted the new versions on sonata.cc.purdue.edu under the name /pub/next/submissions/SoftwareMathCoprocFor68040.2.tar.Z (note the "2" before the "tar.Z.") I apologize for any inconvenience this may have caused people. I hope nobody was using it to design space shuttles, etc. I would like again to thank Jos Vermaseren, who wrote the original package, "libjv", which you can still pick up from sonata.cc.purdue.edu. This thing wouldn't be possible without his original input. For those of you who missed my earlier message and have no idea what I'm talking about, here's what SoftwareMathCoprocFor68040.2.tar.Z can do for you: > Date: Thu, 6 May 93 12:17:23 -0700 > Subject: Software Floating Pt Coprocessor for NeXTs posted on Sonata > > Hi- > I posted a modified version of Jos Vermaseren's software math > coprocessor on sonata.cc.purdue.edu. My modifications > make it possible to link his library into a NS 3.0 project. > Transcendental calls can now go more than twice as fast > because there is no overhead for doing f-line system traps on > machines without 68882 math coprocessors (which is most of > their machines anyway). > > Unfortunately NeXT hasn't fixed this yet. The functions that are included are: acos(), asin(), atan(), atan2(), cos(), exp(), floor(),fmod(),log(), log10(), pow(), sin(), and tan(). Functions that are not included in this list are either already implemented on the 68040's on-chip FPU or too esoteric to be worthwhile. By the way, this software will run very slowly on a 68030/68882 cube... just so you know. Please send comments. Flames to /dev/null. Enjoy, Avery Wang Rains Apt. #15a 704 Campus Dr. Stanford, CA 94305 Tel: +1 (415) 497-7213 Fax: +1 (415) 723-8468 email: avery@ccrma.stanford.edu
Newsgroups: comp.sys.next.programmer Subject: Opener under 3.0 and gzip Message-ID: <1993May12.071140.17698@urz.unibas.ch> From: frank@ifi.unibas.ch (Robert Frank) Date: Wed, 12 May 1993 07:11:40 GMT Sender: news@urz.unibas.ch (USENET News System) Organization: Institut fuer Informatik Hello everybody I've been trying to coax Opener to use the 'new' gnu compression/uncompression method (gzip) without success. I've tried to contact the author to no avail. Has anybody done a successful port to 3.0? -Robert -- Robert Frank tel. + (061) 321 99 67 Institut fuer Informatik fax + (061) 321 99 15 University of Basel, Switzerland Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT mail accepted) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch ( if all fails try frank@urz.unibas.ch )
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: cmsg cancel <1sp2uq$2hl@steffi.demon.co.uk> Control: cancel <1sp2uq$2hl@steffi.demon.co.uk> Date: 12 May 1993 09:19:34 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1sqbun$5lk@steffi.demon.co.uk> References: <1sp2uq$2hl@steffi.demon.co.uk> <1sp2uq$2hl@steffi.demon.co.uk> was cancelled from within trn. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: NextStep programmer seeks recruiting possibilities at Expo Date: 12 May 1993 09:23:34 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1sqc66$5no@steffi.demon.co.uk> I am deciding whether to attend Expo. As I have to make an expensive a trip across the ocean I would like to make it worth my while by investigating the possibility of recruitment as a NextStep programmer. If anybody would like to extend an invitation to me regarding this matter then please feel welcome to contact me. Cheers. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: titmouse!bshirley (C. William Shirley) Newsgroups: comp.sys.next.programmer Subject: Re: Looking for NXStream implementation of fgets Message-ID: <1993May12.043734.17899@gleap.jpunix.com> Date: Wed, 12 May 1993 04:37:34 GMT References: <1993May10.070210.1717@digifix.com> Sender: bshirley@gleap.jpunix.com Organization: The Republic of Texas In comp.sys.next.programmer article <1993May10.070210.1717@digifix.com> you wrote: > C. William Shirley writes > > In article <1993May9.050326.852@digifix.com> sanguish@digifix.com (Scott > > Anguish) writes: > > > Does anyone have a functional equivalent of fgets that works with NXStreams > > > instead of normal files? > > > > Hmm... > > I guess that would be > > > > NXScanf(input,"%[^\n]\n",buffer); aww.. picky, picky,... How about this... buffer[0]='\0'; NXScanf(input,"%[^\n]",buffer); NXGetc(input); > > The only problem there is that blank lines are skipped. I don't want > to through those away, infact I need to notice them specifically. > > Dave Griffiths sent me this (he didn't test it, and I haven't either) > > char * > NXGets(char *s, int n, NXStream *stream) > { > int c, i = 0; > > while ((c = NXGetc(stream)) != EOF && i < n-1) { > s[i++] = c; > if (c == '\n') > break; > } > s[i++] = 0; > > return i > 1 ? s : NULL; > } > > > Comments? It'd be interesting to see if many NXGetc calls are faster than one NXScanf call. It may be the case. I expect than NeXT optimized the streams, but you never know. I like the shorter imp, just for aesthetics. > -- > - Scott Anguish - > sanguish@digifix.com (NextMail) > next-announce@digifix.com (comp.sys.next.announce submissions) > -good luck -- Bill Shirley (NXceptable) BShirley@GLeap.jpunix.com (home) | BShirley@ATG.WilTel.com (work) ``Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of.'' - TMBG
From: rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: Little-endian is upon us Date: 12 May 1993 12:56:14 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9305121101.AA01830@flexus> LS, Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like multiplying n with 2^p. Does this apply to i486 processors as well? That would mean that they use big-endian inside the processor, little-endian in memory. Weird. Does anyone know why little-endian came into being? Graphics are already big-endian at the bit level for all architictures (right?), so bitfield processor types must be bigendian too, it seems (are they?). There's the obvious human lexical convention to follow, to ease recognising features in hexadecimal dumps... Any reason at all for little-endian? Is there a porting guide in the 3.1 documentation? Does anyone know of any tool to take a C header, say, <mach-o/loader.h>, and produce other headers or functions or macros to easily access materials that have the opposite byte order? Just a wild shot: 1. A program that converts a header, e.g., <mach-o/loader.h> into another header with the same structure types, but different elementary types, like ``int'' becoming ``byte_order_int''. 2. Using Makefile or Makefile.preamble to do this conversion. 3. Changing the import statements to import the locally changed header (oh well, it's not totally transparent). 4. Using C++ and a linked library of explicit casting functions that use information about which part of memory the item resides in to decide how to convert, to, in the code itself, transparently get the correct values? The byte order has to be made known to the casting library just once. 5. Disclaimer: I've never written any C++. Other tools, tips? Thanks already, Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at'' Nederlands, English, Francais, Deutsch a.o.
From: whalenm@tsg.com (Matthew Whalen) Newsgroups: comp.sys.next.programmer Subject: Re: chown programmatically? Date: 10 May 1993 20:08:57 GMT Organization: Telos Systems Group, Chantilly, VA Distribution: usa Message-ID: <1smcop$2co@obelix.tsg.com> References: <C6sLy7.1JE@pyrian.com> In article <C6sLy7.1JE@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: > Is it possible to do this: > > chown -R user1.group3 /somefile > > I need to be able to do it recrusive and use names > instead of numbers. (the numbers do not seem to be consistent through > versions 1.0 -> 3.1) > > Any suggestions? > -- > Ian H. Stewart | voice/fax 415-664-1170 > Pyrian Software Group | Net Ian_Stewart@pyrian.com > NeXTSTEP Consulting | Isn't LiFE more like RiSK? why not: find /somefile -depth -exec chown user1.group3 {} \; just an idea -matthew whalenm@tsg.com -- When a dog bites a man that is not news, but when a man bites a dog that is news. - JOHN B. BOGART 1845P1921
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Getting a file by dropping its icon Message-ID: <12MAY93.20130306@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Thu, 13 May 1993 01:13:03 GMT I am trying to create an object that will send the name of a file icon that has been dropped on it. I know that it has something to do with the iconReleasedAt:: method, but I can not seem to find ANY documentation on it. If anyone knows of an object that has allready been created, I definitely would like to know about it (Why re-create the wheel??), and anyone who can tell me where this documentation is located I would appreciate it. I have been off the NeXT for a year, and NS Ver 3.0 is very new (and fun, I might add), to me. Thanks for your help!!! Kevin
Newsgroups: comp.sys.next.programmer From: druck@afit.af.mil (Dennis W. Ruck) Subject: DBModeler / Oracle Authentication Problem Message-ID: <1993May12.193021.5029@afit.af.mil> Sender: news@afit.af.mil Organization: Air Force Institute of Technology Date: Wed, 12 May 1993 19:30:21 GMT Hello, I am toying around with the DBModeler but not having much success. I keep getting this panel asking for Oracle server id, hostname, username, and password. I believe I have entered the correct data, but when I hit return, I just get the same panel back. Any ideas what I am doing wrong or how to get DBModeler working? There doesn't appear to be any help built into DBModeler and the on-line documentation is sketchy on the authentication panel. Any help is appreciated. aTdHvAnNcKeS, Dennis -- Dennis W. Ruck Air Force Institute of Technology druck@afit.af.mil Wright-Patterson AFB, Ohio (NeXTmail Welcome) AFIT/ENG, Bldg 642 2950 P ST Wright-Patterson AFB OH 45433-7765
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: Is NeXT better than sex? Message-ID: <1993May12.163701.13668@ac.dal.ca> Date: 12 May 93 16:37:01 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hello I'm working on a graphical program on the NeXT, and I'm wondering if someone had some suggestions on how I can input and output data files. I'm having a big problem doing this AND using the OpenPanel class. If someone some code, suggestions or simple examples I will worship the ground you walk on Mail me at lisag@ac.dal.ac OR grandyaw@newton.ccs.tuns.ca Thanks Anthony Grandy-Electrical Engineering-T.U.N.S.
From: dyu@maple.circa.ufl.edu Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: dspwrap Date: 12 May 1993 21:13:41 GMT Organization: Center for Instructional and Research Computing Activities Message-ID: <1srpa5INN8ge@no-names.nerdc.ufl.edu> Does anyone have experience using DSPwrap, or know of good sources for documentation and examples? Thank you David Yu
From: eric@skatter.usask.ca Newsgroups: comp.sys.next.programmer Subject: Re: Little-endian is upon us Date: 12 May 1993 21:06:58 GMT Organization: University of Saskatchewan Message-ID: <1sroti$o5s@access.usask.ca> References: <9305121101.AA01830@flexus> If you want to read about endians here are two excellent references: "Data Format and Bus Compatibility in Multiprocessors", IEEE MICRO Magazine, V.3, N.4, pp. 32, August 1983. - The title sounds a little dry, but the article is really enjoyable. "On Holy Wars and a Plea for Peace", IEEE Computer Magazine, V.14, N.10, pp 48, October, 1981. - A classic. -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory University of Saskatchewan Saskatoon, Canada. NeXTMail accepted.
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: DSP question Message-ID: <16BCCFFCE.UC512052@mizzou1.missouri.edu> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Wed, 12 May 1993 23:11:25 GMT Hello, Before I try to rewrite my ray tracer so that it uses the matrix calculation capabilities of the DSP, I want to find out if: 1) the DSP will be accessible even if one is not logged on the console 2) how will it affect sound generation (is it possible to have both?) Regards, David K. Drum c512052@monad.missouri.edu (NeXTmail ok) uc512052@mizzou1.missouri.edu (no NeXTmail)
Newsgroups: comp.sys.next.programmer From: Gregory W. Gee <gee@gaul.csd.uwo.ca> Subject: hooks for apps? Organization: Relayed-by-Sendmail Date: Thu, 13 May 1993 03:14:56 GMT Message-ID: <9305130314.AA29775@gaul.csd.uwo.ca> To: comp.sys.next.programmer@newshost.uwo.ca Sender: daemon@julian.uwo.ca (Julian System Daemon Account) I was wondering if there was something similar to LoginHook and LogoutHook for apps? Is this possible? Thanks. **************************************************************************** Greg Gee gee@gaul.csd.uwo.ca Honours Computer Science, ggee@hi_presure_lab.gp.uwo.ca University of Western Ontario NeXT Mail accepted >>> Developing in the NeXT generation <<< ****************************************************************************
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Online C syntax documentation?? Message-ID: <1993May13.040845.6447@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Thu, 13 May 1993 04:08:45 GMT I'm looking for an electronic version of a C reference manual... something a little more complete than the man pages. I've checked the Gutenberg etext archives and everywhere else I could think of, but no luck. Any suggestions? -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Mail.app proprietary pasteboard format Message-ID: <1993May13.095403.9560@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Thu, 13 May 1993 09:54:03 GMT If you select a letter in the scrolling list of Subject titles in Mail.app, Edit.app has a service that can act on the data. It is not a standard ASCII pasteboard, but "NextMail message paseboard type". I want to beable to accept that PboardType in my app. Does anyone have the format, or know of a way to figure it out? Is there an app out there that will let you examine different Pboard types, and the data that they have on/in them? Thanks Scott -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: chown programmatically? In-Reply-To: whalenm@tsg.com's message of 10 May 1993 20:08:57 GMT To: whalenm@tsg.com (Matthew Whalen) Message-ID: <CEDMAN.93May12195101@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <C6sLy7.1JE@pyrian.com> <1smcop$2co@obelix.tsg.com> Distribution: usa Date: Wed, 12 May 1993 23:51:01 GMT In article <1smcop$2co@obelix.tsg.com> whalenm@tsg.com (Matthew Whalen) writes: In article <C6sLy7.1JE@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: > Is it possible to do this: > > chown -R user1.group3 /somefile > > I need to be able to do it recrusive and use names > instead of numbers. (the numbers do not seem to be consistent through > versions 1.0 -> 3.1) > > Any suggestions? > -- > Ian H. Stewart | voice/fax 415-664-1170 > Pyrian Software Group | Net Ian_Stewart@pyrian.com > NeXTSTEP Consulting | Isn't LiFE more like RiSK? why not: find /somefile -depth -exec chown user1.group3 {} \; just an idea Maybe because: % find cvs-1.3 -depth -exec chown root.wheel {} \; 22.757s real 0.530s user 14.560s system 66% while % chown -R root.wheel cvs-1.3 2.575s real 0.000s user 0.484s system 18% and is faster to type too ? Carl Edman
From: somaiya@csgrad.cs.vt.edu (Sandeep Somaiya) Newsgroups: comp.sys.next.programmer,comp.databases,comp.databases.sybase Subject: Some SYBASE questions Message-ID: <4476@creatures.cs.vt.edu> Date: 13 May 93 18:58:26 GMT Sender: usenet@creatures.cs.vt.edu Followup-To: comp.sys.next.programmer Organization: VPI&SU Computer Science Department, Blacksburg, VA Hi! Some Sybase questions: 1. Does Sybase embedded SQL use ANSI standard SQL calls and ANSI standardmreturn codes? 2. Does Sybase allow access to a tuple id through embedded SQL? 3. Sybase has stated that their software doesnot have row-level locking. If I have an application with one critical table that needs row-level locking to perform acceptably using another RDMS, why should I expect Sybase to perform acceptably without row-level locking? Thanx in advance, Sandeep Somaiya 703 231 3605 Voice 703 231 3648 Fax VTLS Inc. somaiya@csgrad.cs.vt.edu NextMail-root@next2.vtls.com
From: sawtelle@mariposa.stonecutter.com (Don Sawtelle) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.software Subject: apparently one must register by May 14th to rcv SW -at- expo [was Re: May Update: NeXTWORLD Expo Info Bulletin (Special Offers and Full Agenda)] Date: Thu, 13 May 93 14:38:30 PDT Organization: Stonecutter Software Message-ID: <01050131.1g3f67@mariposa.stonecutter.com> Distribution: world In article <1s4c31$859@rosie.next.com> (comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.software), Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups) writes: > -OR- Call Toll-Free: 800/767-2336 (US only: 8:30a.m.- 6:00p.m. EST) A person at this number said, INCORRECTLY, that there is a cut-off date of tomorrow (May 14th) for the $995 deal, and if you don't make full payment by that time you have to register on-site at $1095 to get the deal that includes NEXTSTEP 486. My subsequent conversation with this person was not totally clear so I called 800-848-NEXT and talked to Lisa, who didn't know whether the cutoff existed, but referred me to 415-366-0900; a person at this number referred me to expo information at 800-767-2336. The person at this last number (800-767-2336) said that you can register anytime before the conference for $995 and get the software, but if you don't register by tomorrow (May 14th) the software may not be there for you at the conference (I assume it would be backordered and shipped later). So apparently a cutoff does exist, but it is one involving the guarantee of a software package actually being available for you at the Expo, not a question of $995 .vs. $1095. --- Don Sawtelle:Stonecutter Software:Mariposa, CA sawtelle@stonecutter.com
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: asm@eecg.toronto.edu (Anees S. Munshi) Subject: DSP56000 Gnu compiler wanted Message-ID: <1993May13.195611.14070@jarvis.csri.toronto.edu> Organization: Department of Electrical and Computer Engineering, University of Toronto Date: 13 May 93 23:56:11 GMT Has anyone compiled the Gnu compiler for the DSP56000? If so, please email me a note saying you have it (since I don't read the net very often these days). I'd like to get a copy, and I'm not sure I need all the libraries and support (?) that the C$700.00 commercial package gets me. Regards, ------------------------------------------------------------------------- Anees Munshi, University of Toronto, Department of Electrical Engineering Email:asm@eecg.toronto.edu (NeXTMail accepted) Telephone: 416.929.5754 (Toronto), Fax: 416.929.5744 -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: sah@codex.oz.au (Sean Hiscock) Subject: Follow-up on db reporting tools Message-ID: <1993May13.231456.4543@codex.oz.au> Sender: sah@codex.oz.au (Sean Alexander Hiscock) Organization: Codex Software Development Pty Ltd Date: Thu, 13 May 93 23:14:56 GMT This is a follow up to an item I posted about a week ago pleading for help with reporting tools for Sybase on the NeXT. I would like to say thanks to the avalanche of people who responded. Here is a summary of what I received: - Currently people are confined to Spreadsheets which link into the db (Mesa) or products which enhance the functionality of existsing applications to use the db. The two which sounded good were SQRL from Integrity Solutions, which links with any application that uses rtf and also links with Framemaker, and OTProvide for Sybase which enhances the functionality of Improv to make use of the database. Many of the people who responded said that they used a suit of tools for their db reporting ' ... We have also been successful in using Parabase and Improv/WingZ to do reporting, instead of trying to do it in a "pure" report writer tool.' - Chris Walters. - A number of products are set for release/demonstration at NeXTWORLD, which address the perceived gap in the reporting side of db-kit. * Impress from Objective Technologies (Man! Did I get alot of people telling me about this product!) * ReportPainter from Integrity Solutions (Not the official product name, but it is going into beta after NeXTWORLD and boasted a pretty mean feature list!) * An unnamed product from M. Onyschuk and Associates Inc. Toronto (Nice feature list too!) Being at NeXTWORLD would appear to be the best way to get a look at these new tools. - Finally there were a number of tools which were mentioned which did not exactly cover what I was looking for. However they sounded pretty cool and might provide others with some of the db solutions they are looking for: Parabase QuickBase DBInspector (check out the Feb/Mar 1993 edition of NeXTWORLD Mag. Data Dashboards article gives you a good run down of what is out there) Thanks again for all the responses. I have e-mail addresses for people inside many of the companies who developed these products. I figured they may not want to be swamped with mail, but if you are reeeally keen to find out more, just mail me and I'll send you the address. Hope this helps others, Sean Hiscock.
From: jimc@tau-ceti.isc-br.com (Jim Cathey) Newsgroups: comp.sys.next.programmer Subject: Re: Little-endian is upon us Message-ID: <3495@tau-ceti.isc-br.com> Date: 14 May 93 01:38:42 GMT References: <9305121101.AA01830@flexus> Organization: Olivetti North America, Spokane, WA In article <9305121101.AA01830@flexus> RfSchtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu writes: >Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like >multiplying n with 2^p. Does this apply to i486 processors as well? >That would mean that they use big-endian inside the processor, >little-endian in memory. Weird. Not really. Endian only relates an address to the relative significance of what's stored there, assuming that addresses _within_ an element are possible. Byte addresses of bigger-than-byte quantities are one, and bit-addresses are another. Within registers (for example) bit addresses are usually little-endian, which gives you something of an anomaly on (for example) the 68000, a big-endian machine. >Does anyone know why little-endian came into being? Graphics are Yep. A little-endian part (like the 6502) is a little easier to design fast and small than a big-endian equivalent part. With a single adder that's narrower than the address bus, you can generate a memory address that's the sum of a pointer stored in memory and an offset from a register (or vice-versa) _as_you_pick_it_up_ with the autoincrement PC. That is, (in pseudo-C): p.lo = add(*pc++, reg.lo); p.hi = addc(*pc++, reg.hi); a = *p; All of which can be done with extremely simple hardware. To do it big- endian, it would be something more like: p.lo = add(*(pc+1), reg.lo); p.hi = addc(*pc, reg.hi); pc += 2; a = *p; which is a lot harder. If you have a wider ALU (or at least a wide adder), then the problem is a lot simpler. Another (smallish) reason for preferring little-endian is that you can do multiple-precision integer addition and subtraction more simply, using the full width of the ALU --- the same sort of conditions shown above apply. Think about how to write (in assembly) a routine that adds two arrays of 64-bit integers. On a little-endian machine, an add *p++,*q**/addc *p++,*q++ inside a loop is all you need. Fast. On the other hand, a big-endian machine is much less forgiving about variable type mismatching, so that's a help in making correct programs. (So is lint! :-) We ported a number of programs from the Vax that didn't work on 68K, and the problem turned out to be 'int' in some places and 'char' in others, which sort-of works OK in little-endian. These days, there is little reason to prefer one over the other. I've used both, and I think I prefer little-endian in the abstract, but that's not enough to make me prefer Intel over Moto! >already big-endian at the bit level for all architictures (right?), Not really. The TMS34010 graphics coprocessor is strictly little-endian. The LSB is assumed to be shifted to the screen first. If it isn't, the line-drawing routines don't work right, etc. It is a bit-addressed part, and is internally self-consistent (unlike the 68K). The (as I've seen it called) "ritual complementing of the bit address" needed for the 68k on a MSB-first graphics framebuffer could be avoided, the bit instructions would be a lot handier. This could have been cured with an LSB-first video shift register. Faster code, but harder to work with in human terms with little bitmaps plotted on grid paper and converting to hex (which is MSB to the left). They'd all be mirrored. >so bitfield processor types must be bigendian too, it seems (are >they?). There's the obvious human lexical convention to follow, to >ease recognising features in hexadecimal dumps... Any reason at all >for little-endian? If you turn your dumps around, little-endian works OK too. 7 6 5 4 3 2 1 0 Addr ASCII DDDD DDDD DDDD DDDD : 0000 "AAAAAAAA" DDDD DDDD DDDD DDDD : 0008 "AAAAAAAA" It's just a convention, and you could get used to either one. -- +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ One Design to rule them all; one Design to find them. One Design to bring them all and in the darkness bind them. In the land of Mediocrity where the PC's lie.
From: jimc@tau-ceti.isc-br.com (Jim Cathey) Newsgroups: comp.sys.next.programmer Subject: Re: chown programmatically? Message-ID: <3496@tau-ceti.isc-br.com> Date: 14 May 93 01:39:51 GMT References: <C6sLy7.1JE@pyrian.com> <1smcop$2co@obelix.tsg.com> <CEDMAN.93May12195101@capitalist.princeton.edu> Distribution: usa Organization: Olivetti North America, Spokane, WA In article <CEDMAN.93May12195101@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes: >Maybe because: > >% find cvs-1.3 -depth -exec chown root.wheel {} \; >22.757s real 0.530s user 14.560s system 66% > >while > >% chown -R root.wheel cvs-1.3 >2.575s real 0.000s user 0.484s system 18% > >and is faster to type too ? There is also the in-between one famed in SysV circles: find cvs-1.3 -depth -print | xargs chown root.wheel -- +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ One Design to rule them all; one Design to find them. One Design to bring them all and in the darkness bind them. In the land of Mediocrity where the PC's lie.
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: chown programmatically? In-Reply-To: jimc@tau-ceti.isc-br.com's message of 14 May 93 01:39:51 GMT To: jimc@tau-ceti.isc-br.com (Jim Cathey) Message-ID: <CEDMAN.93May13223622@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <C6sLy7.1JE@pyrian.com> <1smcop$2co@obelix.tsg.com> <CEDMAN.93May12195101@capitalist.princeton.edu> <3496@tau-ceti.isc-br.com> Distribution: usa Date: Fri, 14 May 1993 02:36:22 GMT In article <3496@tau-ceti.isc-br.com> jimc@tau-ceti.isc-br.com (Jim Cathey) writes: In article <CEDMAN.93May12195101@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes: >Maybe because: > >% find cvs-1.3 -depth -exec chown root.wheel {} \; >22.757s real 0.530s user 14.560s system 66% > >while > >% chown -R root.wheel cvs-1.3 >2.575s real 0.000s user 0.484s system 18% > >and is faster to type too ? There is also the in-between one famed in SysV circles: find cvs-1.3 -depth -print | xargs chown root.wheel Yes, but that one can be a security hole. (Hint: There are only two chars which are invalid in a UNIX filename.) And in addition, we are all so very happy that we run the UN*X for real programmers, aka BSD, on our NeXTs. Carl Edman
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Re: Little-endian is upon us Message-ID: <1993May14.013151.1545@godel.questor.wimsey.bc.ca> Date: Fri, 14 May 1993 01:31:51 GMT References: <9305121101.AA01830@flexus> Sender: aberno@godel.questor.wimsey.bc.ca In article <9305121101.AA01830@flexus> rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU writes: > LS, > > Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like > multiplying n with 2^p. Does this apply to i486 processors as well? > That would mean that they use big-endian inside the processor, > little-endian in memory. Weird. That is an excellent question, the answer to which I don't know. But if K+R say so, I believe it. That's too obvious a bug to have survived into recent versions. > Does anyone know why little-endian came into being? Yes. Little-endian simplifies processor architectures by not needing such a complicated alignment network. Assuming a 32 bit processor which can only do word-aligned reads, the least significant 8 or 16 bits will always be in the same place regardless of how long the data "really" is. Compare this to a big-endian chip, where the least significant 8 bits of a value could be in three different places. This is kind of a feeble advantage, I know, but when the Intel chips were designed, there may not have been any good reason to do it otherwise. -Anthony
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: Little-endian is upon us Message-ID: <1993May14.061514.19115@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <9305121101.AA01830@flexus> Date: Fri, 14 May 1993 06:15:14 GMT In article <9305121101.AA01830@flexus> RfSchtkt%banruc60.bitnet@ohstvma.acs.ohio-state.edu writes: >LS, > >Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like >multiplying n with 2^p. Does this apply to i486 processors as well? >That would mean that they use big-endian inside the processor, >little-endian in memory. Weird. >Does anyone know why little-endian came into being? Your comment is accurate in a sense. The only place the concept of little endian/big endian is really considered relevant is in memory storage of data because this is where you can access the individual bytes of a multi-byte object like an int or float and be confused by the order of the bits. When an item is in register (in most machines) you really have no concept of endianism. In the x86 architecture and every other architecture I know of, a bit shift of a register will be numerically what you expect as long as only a single register is involved no matter what the endianess of the memory system is. Whether the actual registers are maintained big or little is of no real consequence. As I understand it (and I might be slightly off here), the concept of byte swapping of multi-byte objects comes from hardware requirements of various memory buses. The 8080, for instance, had 16-bit registers but accessed memory one byte at a time. Apparently, it was easier in hardware to pick up the bytes from memory in swapped order. Jon Rosen
Newsgroups: comp.sys.next.programmer From: Neil Greene <neil@kynug.org> Subject: Re: DBModeler / Oracle Authentication Problem Message-ID: <1993May13.140603.12421@kynug.org> Sender: neil@kynug.org (Neil Greene) Organization: Kentucky NeXT User Group, Inc. References: <1993May12.193021.5029@afit.af.mil> Date: Thu, 13 May 1993 14:06:03 GMT In article <1993May12.193021.5029@afit.af.mil> druck@afit.af.mil (Dennis W. Ruck) writes: > Hello, > > I am toying around with the DBModeler but not having much success. I keep > getting this panel asking for Oracle server id, hostname, username, and > password. I believe I have entered the correct data, but when I hit return, I > just get the same panel back. Any ideas what I am doing wrong or how to get > DBModeler working? There doesn't appear to be any help built into DBModeler and > the on-line documentation is sketchy on the authentication panel. Any help is > appreciated. > > aTdHvAnNcKeS, Assuming SQL*net is installed correctly on the server and running, the answer to your question should be the following, consult your DBA just to make sure. Sever ID = This is the name of the Oracle instance or database. Hostname = Machine name you are connecting to. Username = A valid Oracle account/user login Password = A valid password for the above account. For example: Server ID = "marketing" Hostname = "marketing_server" Username = "neil" Password = "guest" Again, consult your DBA if necessary. -- Neil Greene President, Kentucky NeXT User Group, Inc. Email: neil@kynug.org [NeXTMail]
Message-ID: <&g$@byu.edu> Date: Fri, 14 May 93 08:30:53 MDT From: yackd@idaho.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world Organization: Brigham Young University, Provo UT USA Subject: Palette question/baffler Keywords: palettes, interface builder, String object I have a question/problem with a palette I've been working on and wondered if there might be someone out there who might know what I'm missing... Here's what I'm trying to do: put my String object on a palette. What doesn't work: dragging it off the palette into the window where non-view objects go. It seems like IB tries to instantiate the object but the object never appears in the window; instead I am left with a blank space where the object would be and an empty selection. What does work: I can instantiate the object from the pull down menu fine and the inspector for the object works fine on it, too. It would seem that the problem has something to do with the -associateObject:type:with: method which is supposed to be in the -finishInstantiate method of the palette subclass, but I can't see anything wrong with what I've done. In trying to find the problem, I looked at the PAStringList palette on the archives, since it successfully puts a non-view object on a palette...but the only difference I found is that it uses an undocumented method called -associateObject:type:to: (note the to: rather than with:). My palette doesn't work if I use that method either, strangely enough, and I can't find any other differences between the two palettes, yet for some reason mine doesn't work. I would be interested to know what the difference is between the two methods, though, and why Jeff Martin used an undocumented one instead of what's in the docs... If anyone has run into a similiar problem before and has solved it, I'd really like to know how to fix it. If you are really curious about what I've done, and want to end up as puzzled as I am, feel free to take a look at my code; I have placed it on ftp.byu.edu in /pub/next as DAYString.tar.Z. When I finally get this thing working, I will make it available on sonata and orst. (By the way, if you are currently using my String object, you may wish to grab this anyway for an updated version which has several bug fixes and a few new methods added to it...though, as I said, I will make an official release when the palette part works. Note that the class name has changed from "String" to "DAYString" so as to avoid _any_ possible name conflicts with other objects.) Well, if you can help, thanks in advance! Later, Don_Yacktman@byu.edu
From: tim@apple.com (Tim Olson) Newsgroups: comp.sys.next.programmer Subject: Re: Little-endian is upon us Followup-To: comp.sys.next.programmer Date: 14 May 1993 14:32:11 GMT Organization: Apple Computer, Inc. / Somerset Distribution: world Message-ID: <tim-140593092445@129.38.222.43> References: <9305121101.AA01830@flexus> <1993May14.013151.1545@godel.questor.wimsey.bc.ca> In article <1993May14.013151.1545@godel.questor.wimsey.bc.ca>, aberno@godel.questor.wimsey.bc.ca (Anthony Berno) wrote: > > In article <9305121101.AA01830@flexus> > rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU writes: > > Does anyone know why little-endian came into being? > > Yes. Little-endian simplifies processor architectures by not needing such > a complicated alignment network. Assuming a 32 bit processor which can > only do word-aligned reads, the least significant 8 or 16 bits will always > be in the same place regardless of how long the data "really" is. Compare > this to a big-endian chip, where the least significant 8 bits of a value > could be in three different places. Little-endian implementations don't have simpler alignment networks; they need to be able to shuffle any byte or halfword on the bus to the least-significant bits on a read (and vice-versa), just as a big-endian processor does. True, the input to the alignment muxes only needs to be the base address of the data for little-endian implementations (big-endian needs both base address + data length), but this is pretty minimal. The real reason little-endian is/was so popular in microprocessors is that it was easy to implement extended-length ADD and SUB by picking up the least-significant bits first. -- Tim Olson Apple Computer Inc. / Somerset
Newsgroups: comp.sys.next.programmer From: nigelm@ohm.york.ac.uk (Nigel Metheringham) Subject: Re: Little-endian is upon us Message-ID: <1993May14.123806.9878@ohm.york.ac.uk> Organization: Electronics Department, University of York, UK References: <9305121101.AA01830@flexus> Date: Fri, 14 May 93 12:38:06 GMT In <9305121101.AA01830@flexus> rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU writes: >Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like >multiplying n with 2^p. Does this apply to i486 processors as well? >That would mean that they use big-endian inside the processor, >little-endian in memory. Weird. Well actually thats a compiler issue (how the compiler choses to code a << or a >> is its problem). However the << operator maps simply to an aritmetic shift operation, which treats data as you would expect. I think you are confusing the terms "big/little endian" and the "right/left" used in shift operations. Even intel processors will get this sort of operation right despite being totally brain damaged in memory organisation (add :-) for the big-endian impaired). >Does anyone know why little-endian came into being? Graphics are >already big-endian at the bit level for all architictures (right?), >so bitfield processor types must be bigendian too, it seems (are >they?). There's the obvious human lexical convention to follow, to >ease recognising features in hexadecimal dumps... Any reason at all >for little-endian? Remember that many things get the order of bits in a byte correct, but the order of bytes in a word wrong. If you are goiing to do things wrong at least do it consistantly. >Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium >(real, i.e., with triangle in the Deliver button) NeXT Mail >preferred >I can't reach sites with ! or % in their address, or ending in >``at'' >Nederlands, English, Francais, Deutsch a.o. Maybe your mailer needs work. Nigel. -- # Nigel Metheringham -- (NeXT) EMail: nigelm@ohm.york.ac.uk # # System Administrator, Electronics Dept, University of York # # York YO1 5DD. Phone: +44 904 432374, Fax: +44 904 432335 #
Newsgroups: comp.sys.next.programmer From: gcolello@biosphere.Stanford.EDU (Greg Colello) Subject: Re: DBModeler / Oracle Authentication Problem Message-ID: <1993May14.201748.22933@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993May13.140603.12421@kynug.org> Date: Fri, 14 May 93 20:17:48 GMT In comp.sys.next.programmer article <1993May13.140603.12421@kynug.org> you wrote: > [chomp] > > Assuming SQL*net is installed correctly on the server and running, the > answer to your question should be the following, consult your DBA just > to make sure. > > [chomp] > > Neil Greene > President, Kentucky NeXT User Group, Inc. > Email: neil@kynug.org [NeXTMail] What gives here? I was told by DB adaptor vendors (like DATALINK) that SQL*net was not needed. The server only needs the SQL engine which talks through port 1525 or something like that. Lots of sites don't use SQL*net. They only allow telnet sessions that connect to an account with a startup shell that executes a script menu where SQL is available somewhere off the menu (like the VAX/Oracle Pilot Land Data System (PLDS) at Goddard). Does that mean we'll never be able to connect with PLDS through one of these DB adaptors on NextStep? I'm getting VERY confused, because I can't get the same story from two people on this subject (including the vendors). Will someone please give a DEFINITIVE technical presentation on this "Next-based DB adaptors over TCP/IP to a DB server" stuff? Like for example what happens when you fill out the DBModeler Panel and press return? What does it do? What does the data base server do with all that info that goes in the panel? What's happening on the net and the ports? Note here that many NextStep compatible products (for example DATALINK and DBInspector) do not use the NextStep DBKit adaptors. They wrote their own. Unfortunately the vendors won't let me talk to the programmers who wrote these adaptors, and the people I get on the phone don't understand the technical details. Everybody keeps saying, "IT JUST WORKS. DON'T WORRY." Sigh. Unfortunately DB administrators (like at PLDS) want to know the technical details before they will give me the Server ID, Hostname, Username, and Password information. :-) So please get dangerously technical! ----------------------------------------------------------------- Greg Colello Carnegie Institution, Department of Plant Biology Stanford University gcolello@biosphere.stanford.edu (NeXT mail OK)
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: DBModeler / Oracle Authentication Problem Date: Fri, 14 May 1993 19:50:56 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <Efx31U200WA75b985o@andrew.cmu.edu> In-Reply-To: <1993May14.201748.22933@leland.Stanford.EDU> Excerpts from netnews.comp.sys.next.programmer: 14-May-93 Re: DBModeler / Oracle Auth.. by Greg Colello@biosphere.S >What gives here? I was told by DB adaptor vendors (like DATALINK) that >SQL*net was not needed. The server only needs the SQL engine which talks >through port 1525 or something like that. I initially thought that DBKit needed SQL*NET too, so I'm not surprised at the confusion.. It turns out that all it really needs is the server-process orasrv running on the oracle-database's machine. This program must be started seperately from starting oracle. It is part of SQL*NET. (The part that allows remote accessing.) But SQL*NET is far more than just this server-process... If you buy/aquire/whatever Oracle for a NeXT system, orasrv is included. (tcpctl, sqlplus, etc. are not, but thats all part of SQL*NET, which we don't need.) I think (suspect) the DBKit OracleAdaptor works just like SQL*PLUS would in accessing the database, talking to it, accessing it, modifying it, etc... (I suspect it was written with Pro*C -- Oracle's C-programming package. But that's just a wild guess...) If you implement: - (BOOL)db:aDb willEvaluateString:(const unsigned char*)aString usingBinder:aBinder { #ifdef DEBUG fprintf(stderr, "\nSQL Query: %s\n", (char *)aString); #endif return YES; } inside an object, and make that object the delegate of your DBDatabase object, you can see the oracle-sql code that is being sent back to the database... It looks like pretty standard sql code... The DBModeler login screen appears to ask for the necessary information, (Oracle SID, Oracle machine name (or IP Address?), Oracle account, Oracle account passwd), and tries to login to the Oracle-Database. If there's any problems, it has you try again. This is annoying since you don't know what you did wrong... Usually it's something simple, like using the wrong case (upper/lower) somewhere, not having "orasrv 1525/tcp oracle" in the netinfo services, not having a working network connection, not having the database up on the remote system, or not having orasrv running on the remote system... Basically, blind mans bluff until you get through... Good luck.... -David. P.S> ':'s inside DBQualifiers are REALLY NASTY with Oracle...
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Palette question/baffler Date: Fri, 14 May 1993 21:00:31 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <gfx42jK00WA7Bb990=@andrew.cmu.edu> Ouch -- thats quite a bug you have... First off, try changing: #import <daymisckit/DAYString.h> to: #import "DAYString.h" And Adding: - (NXImage *)getIBImage { return [NXImage findImageNamed:"DAYString"]; } in DAYString.m. Then start examining DAYString! If you add "fprintf(stderr, "Test-1");" statements at the begining & end of read: , write: , and init you can see the methods being called. (They show up in the File-Viewer's Console window.) When you first fire up the palette, it init's a "original" object instance. When you drag it over to the objects window, it archives the original instance, and then unarchives the archive to create a new copy... The archiving dies in read. Examination of write:/read: shows: NXWriteTypes(stream, "i*", &_length, &buffer); NXReadType(stream, "i", &tempLength); NXReadType(stream, "*", &buffer); Now, call me silly, but these two don't look identical to me.... Changing the write: to: NXWriteTypes(stream, "i", &_length); NXWriteTypes(stream, "*", &buffer); Greatly improves the situation... (Don't ask me how the typed streams are doing stuff, but they seem to need to balance out EXACTLY -- one read for each write, and vice versa...) Excerpts from netnews.comp.sys.next.programmer: 14-May-93 Palette question/baffler by Don Yacktman@idaho.et.by >Well, if you can help, thanks in advance! Welcome. Hopefully it gets you going again... -David. P.S> Is orderTable being archived correctly? (??)
Newsgroups: comp.sys.next.programmer From: ctm@ardi.com Subject: Hypothetical Situation compiling gnu tar Message-ID: <C71tG4.CAu@cobra.cs.unm.edu> Sender: news@cobra.cs.unm.edu Organization: ARDI Date: Sat, 15 May 1993 03:24:06 GMT If you ever find yourself trying to compile FSF sources on a machine that has a "dirent.h" include file that looks something like this: ... #ifdef _POSIX_SOURCE #include <sys/dir.h> #include <sys/dirent.h> #endif ... You may find it a lot easier if you insert the following two lines before the "#endif": #else /* !_POSIX_SOURCE */ #error "Without _POSIX_SOURCE defined, dirent.h is misleading at best" Of course I can't say that I've seen such a machine*, but if you do, you'll know what to consider. --Cliff __________________ *Heck, I can't even say that I've tried my suggested patch and it seems to have only good effects.
Newsgroups: comp.sys.next.programmer Subject: Re: Palette question/baffler Message-ID: <SCOTT.93May15012329@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 15 May 93 01:23:29 References: <gfx42jK00WA7Bb990=@andrew.cmu.edu> Organization: Is a sign of weakness In-reply-to: David Apfelbaum's message of Fri, 14 May 1993 21:00:31 -0400 In article <gfx42jK00WA7Bb990=@andrew.cmu.edu>, David Apfelbaum <da0g+@andrew.cmu.edu> writes: >Examination of write:/read: shows: >NXWriteTypes(stream, "i*", &_length, &buffer); > >NXReadType(stream, "i", &tempLength); >NXReadType(stream, "*", &buffer); > >Now, call me silly, but these two don't look identical to me.... > >Changing the write: to: >NXWriteTypes(stream, "i", &_length); >NXWriteTypes(stream, "*", &buffer); > >Greatly improves the situation... > >(Don't ask me how the typed streams are doing stuff, but they seem >to need to balance out EXACTLY -- one read for each write, and vice >versa...) They must be identical. NXWriteTypes() writes the string which declares the types, then each type in order, like types/data/data. Meanwhile, with separate writes you'll get type/data, type/data. Of course, the encoding is a _bit_ more complicated than that, but this gives the general idea. Later, -- scott hess <shess@ssesco.com> <To the BatCube, Robin> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime!
From: schmidt@rz.uni-passau.de (Schmidt Guido) Newsgroups: comp.sys.next.programmer Subject: Problems with X: Mouse buttons? Date: 15 May 1993 12:58:44 GMT Organization: University of Passau, Germany Message-ID: <1t2pe4INNm84@tom.rz.uni-passau.de> Keywords: X, mouse Hello! I don t know if this is the right newsgroup, but I ll try anyway. Our installation of X on the NeXT works fine except for the mouse buttons: * left button does not work on frames * right button does not work at all Has anybody had similar problems? I m thankful for any pointers. Please repond via email. I ll post a summary if appropriate. Guido -- Guido Schmidt (stud. CS, Math., 3rd) schmidt@rz.uni-passau.de University of Passau, Germany
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Little-endian is upon us Message-ID: <1993May13.103623.8481@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <9305121101.AA01830@flexus> Date: Thu, 13 May 93 10:36:23 GMT In article <9305121101.AA01830@flexus> rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU writes: > LS, > > Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like > multiplying n with 2^p. Does this apply to i486 processors as well? > That would mean that they use big-endian inside the processor, > little-endian in memory. Weird. > Does anyone know why little-endian came into being? Graphics are > already big-endian at the bit level for all architictures (right?), > so bitfield processor types must be bigendian too, it seems (are > they?). There's the obvious human lexical convention to follow, to > ease recognising features in hexadecimal dumps... Any reason at all > for little-endian? Little-endian came about so that an integer that is 4 bytes but only holds less bytes can be addressed at the same address and still loaded by each data type. Thus a 2 byte value in a 4 byte area can be loaded as either using the same address. > Thanks already, > > Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium > (real, i.e., with triangle in the Deliver button) NeXT Mail > preferred > I can't reach sites with ! or % in their address, or ending in > ``at'' > Nederlands, English, Francais, Deutsch a.o. > -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Mail.app proprietary pasteboard format Organization: Primitive Software Ltd. References: <1993May13.095403.9560@digifix.com> Date: Sat, 15 May 1993 09:27:52 +0000 Message-ID: <1993May15.092752.16275@prim> Sender: usenet@demon.co.uk In article <1993May13.095403.9560@digifix.com> sanguish@digifix.com writes: >If you select a letter in the scrolling list of Subject titles in Mail.app, >Edit.app has a service that can act on the data. It is not a standard ASCII >pasteboard, but "NextMail message paseboard type". > >I want to beable to accept that PboardType in my app. Does anyone have the >format, or know of a way to figure it out? > It appears that if you implement a service to receive this pasteboard type you actually get offered the data in two types - RTF and the Nextmail type. The RTF data is just an RTF version of the message, just as though you'd selected all and then copied (it includes the From, Subject, etc lines); the Nextmail data has a length of zero for some reason. This means that you could implement a service that would read the RTF message and then use the MailSendDemo Listener to pop up a reply compose window with a nicely quoted and formatted body. You know, the sort of thing Mail should do anyway. One odd thing is that if you declare only the RTF send type for your service, it isn't enabled! Has anyone managed to pursuade NeXT to allow us (bites tongue:-) to write services that have neither Send or Return types? Dave Griffiths
Newsgroups: comp.sys.next.programmer From: kim@magician (Kim Shrier) Subject: Problem unregistering a distributed object Message-ID: <1993May14.023654.20212@media.com> Sender: usenet@media.com Organization: Multimedia Learning, Inc. Date: Fri, 14 May 1993 02:36:54 GMT I am developing a client-server application using distributed objects. Needless to say, my first attempt was less than perfect. What I have managed to do is have my server register a root object and then crash, which has apparently left the root object registered in the name server. When I run my server, the registerRoot:withName: method fails. This problem only happens on the machine that I crashed on earlier. I have been unable to discover how to "unregister" a name from the name server. Can anyone out there provide enlightenment? Thanks in advance, Kim Shrier kim@media.com
From: Matthias Imhof <gondwana@basalt.mit.edu> Newsgroups: comp.sys.next.programmer Subject: fat binaries and size of programs Date: 15 May 1993 16:35:34 GMT Organization: Massachvsetts Institvte of Technology Message-ID: <1t364mINNqjm@senator-bedfellow.MIT.EDU> i am a little confused about the fat binaries. are they just a convenient way to distribute binaries for 680x0 and 80x86? what do i actually have on my machine after installing a program? the version running on my machine or do i have the same binary twice, once for motorola and once for the intel processor? this would be bad news the diskspace. is it possible to strip the version not needed? i would appreciate if someone could explain these points to me matthias ---
Newsgroups: comp.sys.next.programmer From: karthy@dannug.dk (Karsten Thygesen) Subject: Re: fat binaries and size of programs In-Reply-To: Matthias Imhof's message of 15 May 1993 16:35:34 GMT Message-ID: <KARTHY.93May15210203@dannug.dannug.dk> Sender: news@dannug.dk (Usenet news owner) Organization: Dannug - Danish NeXT Users Group References: <1t364mINNqjm@senator-bedfellow.MIT.EDU> Date: Sat, 15 May 1993 20:02:03 GMT >>>>> On 15 May 1993 16:35:34 GMT, Matthias Imhof <gondwana@basalt.mit.edu> said: Matthias> i am a little confused about the fat binaries. are they just a convenient way Matthias> to distribute binaries for 680x0 and 80x86? Yes it is. The binary contains both the i386 and the 68k code in seperate segments. Matthias> what do i actually have on my machine after installing a program? the version Matthias> running on my machine or do i have the same binary twice, once for motorola and Matthias> once for the intel processor? this would be bad news the diskspace. is it Matthias> possible to strip the version not needed? Yes. Once you install a fat binary, you will have both kind of codes floating around on your harddisk. In NeXTSTEP 3.1PR1 there is an utility called lipo. It is undocumented, but it work. Here is what happens if you just type lipo: lipo: one of -create, -thin <arch_type>, -extract <arch_type>, -remove <arch_type>, -replace <arch_type> <file_name>, -info or -detailed_info must be specified lipo: Usage: lipo [input_file] ... [-arch <arch_type> input_file] ... [-info] [-detailed_info] [-output output_file] [-create] [-thin <arch_type>] [-extract <arch_type] ...[-remove <arch_type>] ... [-replace <arch_type> <file_name>] ... At least it tells a little about what it can do. I tried to strip the Yap utility: 155:/tmp/Yap.app> file Yap Yap: fat file with 2 architecture(s) Yap (for architecture m68k): Mach-O executable Yap (for architecture i386): Mach-O executable 156:/tmp/Yap.app> lipo Yap -remove i386 -output Yap.new 157:/tmp/Yap.app> ll Yap Yap.new -rwxr-xr-x 1 karthy wheel 106496 Feb 15 13:58 Yap* -rwxr-xr-x 1 karthy wheel 57344 May 15 20:58 Yap.new* And after move Yap.new to Yap the application still works. But please: this was done on the prerelease and it is undocumented, so I won't promise it will work the same way in 3.1, but I am convinced that there will be some way to strip the binaries. Regards, Karsten.
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Text Object wrapping question Message-ID: <1993May15.223204.5154@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Sat, 15 May 1993 22:32:04 GMT Is it possible to read a text file into the text object, with long lines and with setCharWrap: enforcing the wrapping, and then when I write out the text again, have those "soft" returns converted into real returns? I figure it would be possible to get the text a line at a time, add a return, and then get the next line, but that seems like a kludge. Thanks again...! -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: gerben@rna.indiv.nluug.nl Subject: Re: fat binaries and size of programs Message-ID: <1993May16.090335.17855@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <1t364mINNqjm@senator-bedfellow.MIT.EDU> Date: Sun, 16 May 1993 09:03:35 GMT In article <1t364mINNqjm@senator-bedfellow.MIT.EDU> Matthias Imhof <gondwana@basalt.mit.edu> writes: > i am a little confused about the fat binaries. are they just a convenient way > to distribute binaries for 680x0 and 80x86? > > what do i actually have on my machine after installing a program? the version > running on my machine or do i have the same binary twice, once for motorola and > once for the intel processor? this would be bad news the diskspace. is it > possible to strip the version not needed? > > i would appreciate if someone could explain these points to me > > matthias > --- Programs consist of data and code. The code is in instructions for you particular processor. All this is in one file (an executable) and there are several segments in that file. The loader just looks in the file for a segment with the right name (something like __CODE) and assumes it is code for the processor. What NeXT did was add a new segment called something like __486_CODE and the loader on 486 systems uses that segment instead of the ordinary. That is exactly why fat binaries will run on 3.0 systems, the 3.0 system ignores that 486 segment. Especially with NeXT apps, where a lot of the program is data-driven you have less code. The nib parts for instance are architecture-independent and thus are the same for both architectures. The same goes for unitialized data, I suppose. I am not certain how they did it with initialized data and different data formats (endianness). Anyway, fat binaries won't be twice the size of nonfat binaries. Steve claimed it would be 20% more, but I assume that is in very special cases where the code part ith respect to the data part is very small. I expect fat binaries to take up from 20% to 40% more space. The good news if you are short on disk space. There will be a tool to strip the segments that are no use for your machine from the binaries, thus reducing them to their minimal size. -- Gerben Wierda [NeRD:7539] Tel. (+31) 35 833539 "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
From: karthy@dannug.dk (Karsten Thygesen) Newsgroups: comp.sys.next.programmer Subject: cancel <KARTHY.93May15210203@dannug.dannug.dk> Message-ID: <KARTHY.93May16183632@dannug.dannug.dk> Date: 16 May 93 17:36:32 GMT Control: cancel <KARTHY.93May15210203@dannug.dannug.dk> Sender: news@dannug.dk (Usenet news owner) Organization: Dannug - Danish NeXT Users Group
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: alex@hal.rhein-main.de (Alexander Lehmann) Subject: optimizer bug with gzip Content-Type: text/plain; charset=ISO-8859-1 Message-ID: <C72HF3.qJ@hal.rhein-main.de> Content-Transfer-Encoding: 8bit Mime-Version: 1.0 Date: Sat, 15 May 1993 12:01:49 GMT Hello all, I found a bug in gzip that occurs due to a bug with the optimizer of the NS3.0 cc. The bug makes gzip cause a segment violation when zcat'ing a file that was created on another OS (e.g. Messy). Apparently, gzip stores the original filename when it cannot be restored due to filesystem restrictions. When uncompressing to stdout, the filename is skipped with a simple while loop that in compiled incorrectly. As code piece that displays the bug is the following (more or less from gzip): unsigned char inbuf[1000]; unsigned inptr; unsigned insize; int fill_inbuf(void); #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) main(void) { while(get_byte()!=0) ; } The resulting assembler code looks like this: #NO_APP .text .align 1 .globl _main _main: link a6,#0 movel _inptr,d1 cmpl _insize,d1 jcc L4 lea _inbuf,a1 movel _inptr,a0 jra L7 --- (1) L4: jbsr _fill_inbuf tstl d0 jeq L3 L2: movel _inptr,d1 cmpl _insize,d1 jcc L4 lea _inbuf,a0 movel _inptr,d0 L7: moveb a0@(d0:l),d0 --- (2) andl #0xFF,d0 addql #1,_inptr tstl d0 jne L2 L3: unlk a6 rts .comm _inbuf,1000 .comm _inptr,4 .comm _insize,4 When jumping to label L7 (1), the address of the char array is in a1 and the offset is in a0, but the move instruction (2) uses a0 and d0 as address. Since this register is not initialized, anything can happen. A slight change in the code makes it work: main(void) { char c; while((c=get_byte())!=0) ; } If the optimizer is not used, the code is also correct. I have fixed gzip.c as follows: *** ../gzip-1.0.7./gzip.c Thu Mar 18 19:14:56 1993 --- gzip.c Sat May 15 13:32:18 1993 *************** *** 1056,1062 **** if ((flags & ORIG_NAME) != 0) { if (to_stdout || part_nb > 1) { /* Discard the old name */ ! while (get_byte() != 0) /* null */ ; } else { /* Copy the base name. Keep a directory prefix intact. */ char *p = basename(ofname); --- 1056,1063 ---- if ((flags & ORIG_NAME) != 0) { if (to_stdout || part_nb > 1) { /* Discard the old name */ ! char c; /* fix for NeXTstep 3.0 cc optimizer bug */ ! while ((c=get_byte()) != 0) /* null */ ; } else { /* Copy the base name. Keep a directory prefix intact. */ char *p = basename(ofname); bye, Alexander Lehmann -- Alexander Lehmann, alex@hal.rhein-main.de | "Wopp" or alexlehm@iti.informatik.th-darmstadt.de | - ( THHGTTG Pt.3 )
From: aking@BBN.COM (Allen King) Newsgroups: comp.sys.next.programmer Subject: -declareTypes using a properly -free'd view Date: 16 May 1993 20:02:10 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA Distribution: world Message-ID: <lvd7e2INNeaj@news.bbn.com> It seems like some of the viewing hierarcy must be cached in the Appkit before -mouseDown is called, because if a view is freed in that method and then PastBoard's -declareTypes is called (e.g. in preparation for a dragImage), -declareTypes tries to message the freed view and dies! Curiously, this behavior only happens if the deleted view was previously dragged. The following mini-program exhibits the problem. It was isolated from a much larger program (about 6K lines, a process that took a good day). Use IB to make a window with a PiecePart view, and change the string "figA" to some tiff file in the directory, and see for yourself. If you drag the little red box first, drags of the big green box will exhibit the error. However drags to the big green box by themselves are okay. So what's going on here? My head hurts! Is this a bug in -declareTypes, or in my code? Thanks for your help. Allen King -------- PiecePart.h: ---------- #import <appkit/appkit.h> @interface PiecePart:View { int piecePartType; # define PPLittle 1 # define PPBig 2 } @end -------- PiecePart.m: ---------- #import <objc/Storage.h> #import <math.h> #import <string.h> #import "PiecePart.h" PiecePart *bigBox, *littleBox, *dragObject; const char *pbTypes[3]; int npbTypes=1; @implementation PiecePart - mouseDown :(NXEvent *)theEvent { NXPoint mouseOffset = {0,0}; id anImage, pboard; if (![superview isKindOf :[PiecePart class]]) // can't drag root view return [super mouseDown:(NXEvent *)theEvent]; printf("%x: dragging\n", (unsigned)self); if (piecePartType&PPBig) { [littleBox unregisterDraggedTypes]; //** just in case **// [littleBox free]; //** this statement breaks it! **// printf("%x: unregisterDraggedTypes and freed\n", (unsigned)littleBox); littleBox = nil; } dragObject = self; printf("%x: unregisterDraggedTypes\n", (unsigned)self); anImage = [[NXImage alloc] initFromSection :"figA"]; //use any .tiff pboard = [Pasteboard newName :NXDragPboard]; [pboard declareTypes :pbTypes num :1 owner :self]; [pboard writeType :NXAsciiPboardType data :"abc" length :3];// unused data [self dragImage :anImage at :&bounds.origin offset:&mouseOffset event :theEvent pasteboard :pboard source :self slideBack :YES]; return self; } - (NXDragOperation)draggingSourceOperationMaskForLocal :(BOOL)isLocal { return NX_DragOperationAll; } - (NXDragOperation)draggingEntered :(id <NXDraggingInfo>)sender { return NX_DragOperationAll; } - (BOOL)prepareForDragOperation :(id <NXDraggingInfo>)sender { return YES; } - (BOOL)performDragOperation :(id <NXDraggingInfo>)sender { NXPoint origin = [sender draggedImageLocation]; NXPoint cursor = [sender draggingLocation]; id pBoard = [sender draggingPasteboard]; const char *actual = [pBoard findAvailableTypeFrom :pbTypes num:npbTypes]; char *p; int len; printf("%x: dropping\n", (unsigned) dragObject); [pBoard readType :actual data :&p length :&len]; [pBoard deallocatePasteboardData :p length :len]; [self convertPoint :&origin fromView :nil]; [self addSubview :dragObject]; [dragObject moveTo :origin.x :origin.y]; [window display]; return YES; } - drawSelf:(const NXRect *) rects :(int)cnt { if (![superview isKindOf :[PiecePart class]]) // root view is white { NXSetColor(NX_COLORWHITE); if (bigBox==nil) { NXRect ppFrame = {10, 10, 20, 20}, dRect = {50,50, 5,5}; pbTypes[0] = NXAsciiPboardType; [self registerForDraggedTypes :pbTypes count :npbTypes]; printf("%x: registerForDraggedTypes\n", (unsigned)self); bigBox = [[PiecePart alloc] initFrame :&ppFrame]; [self addSubview :bigBox]; bigBox->piecePartType |= PPBig; littleBox = [[PiecePart alloc] initFrame :&dRect]; [self addSubview :littleBox]; littleBox->piecePartType |= PPLittle; } } else if (piecePartType&PPLittle) // little box is red NXSetColor(NX_COLORRED); else if (piecePartType&PPBig) // big box is green NXSetColor(NX_COLORGREEN); NXRectFill(rects); return self; } @end -------- end of PiecePart.m: ----------
Newsgroups: comp.sys.next.programmer From: cedman@princeton.edu (Carl Edman) Subject: Re: Mail.app proprietary pasteboard format In-Reply-To: dave@prim.demon.co.uk's message of Sat, 15 May 1993 09:27:52 +0000 To: dave@prim.demon.co.uk (Dave Griffiths) Message-ID: <CEDMAN.93May16193633@capitalist.princeton.edu> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University References: <1993May13.095403.9560@digifix.com> <1993May15.092752.16275@prim> Date: Sun, 16 May 1993 23:36:33 GMT In article <1993May15.092752.16275@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: This means that you could implement a service that would read the RTF message and then use the MailSendDemo Listener to pop up a reply compose window with a nicely quoted and formatted body. You know, the sort of thing Mail should do anyway. A Tickleservice which does just this (using the mailapp-utilities) is part of my private (needless to say vastly superior) Mail.ts package. If somebody volunteers to start a Tickleservices archive on anon ftp, I'll donate it. Carl Edman
Newsgroups: comp.sys.next.programmer From: emurphy@cs.uno.edu (Edward Murphy) Subject: (?) gui and text interfaces to IB projects Message-ID: <1993May16.234452.840@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Sun, 16 May 1993 23:44:52 GMT howdy. i am currently working on a project in interface builder. what i would like to do is allow the program two interfaces. the first is the normal gui that i am building with IB. the second one would be a simple test based interface. i haven't ever seen anyone attempting this while i've been reading this group, so i am not sure anyone out there will be able to point me in the right direction, but all comments on the above are welcome. ed
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Little-endian is upon us Message-ID: <1993May14.114051.1701@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <9305121101.AA01830@flexus> Date: Fri, 14 May 1993 11:40:51 GMT In article <9305121101.AA01830@flexus> rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU writes: > LS, > > Kernighan&Ritchie, 2nd. ed., p. 45, says that n<<p is just like > multiplying n with 2^p. Does this apply to i486 processors as well? Sure. The 'endian' means only the order of bytes in memory. And that's usually not interesting, except if you dump some memory to disk/network etc. and read it by another computer. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de C is a language that combines all the elegance and power of assembly language with all the readability and maintainability of assembly language
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Resizing DBTableVector Message-ID: <1993May16.142741.11387@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Sun, 16 May 93 14:27:41 GMT I remember being able to resize vectors with the mouse when I first got 3.0 but now I can't recreate it. The docs say that it is possible but when I place the mouse on the edge of a vector it does not give me the expected cursor, nor does it change size if I attempt the drag the exge anyway. I have tried editable/noneditable, orderable/nonorderable to no avail. Any pointers welcom. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: Uwe Hoffmann Newsgroups: comp.sys.next.programmer Subject: Failed to compile libg++2.3 Date: 17 May 1993 09:09:32 GMT Organization: Forschungszentrum Informatik, Karlsruhe, Germany Message-ID: <1t7koc$797@gate.fzi.de> Keywords: libg++2.3 This is what it says : hoffmann@rosso: % ./config.sub next m68k-next-bsd hoffmann@rosso: % ./configure next Created "Makefile" in /disk/ROBOT0S4-2H/home/hoffmann/Developer/Libraries/libg++-2.3 ././configure: gcc: not found hoffmann@rosso: % make echo "# !Automatically generated from functions.def" "- DO NOT EDIT!" >needed2.awk grep '^DEFVAR(' < functions.def | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' >>needed2.awk grep '^DEFFUNC(' < functions.def | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' >>needed2.awk cc -c -g -I. -I./../include dummy.c (cc -o dummy dummy.o ) >errors 2>&1 || true echo "/* !Automatically generated from functions.def" "- DO NOT EDIT! */" >lconfig.h awk -f needed2.awk <errors >>lconfig.h cp lconfig.h config.h cc -c -g -I. -I./../include argv.c cc -c -g -I. -I./../include basename.c cc -c -g -I. -I./../include concat.c cc -c -g -I. -I./../include cplus-dem.c cc -c -g -I. -I./../include fdmatch.c cc -c -g -I. -I./../include getopt.c cc -c -g -I. -I./../include getopt1.c cc -c -g -I. -I./../include obstack.c cc -c -g -I. -I./../include spaces.c cc -c -g -I. -I./../include strerror.c cc -c -g -I. -I./../include strsignal.c echo "# !Automatically generated from functions.def" "- DO NOT EDIT!" >needed.awk grep '^DEF(' < functions.def | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { printf "\1.o " }|' >>needed.awk awk -f needed.awk <errors >lneeded-list echo >>lneeded-list cp lneeded-list needed-list cc -c -g -I. -I./../include getcwd.c cc -c -g -I. -I./../include strdup.c rm -rf libiberty.a ar qc libiberty.a argv.o basename.o concat.o cplus-dem.o fdmatch.o getopt.o getopt1.o obstack.o spaces.o strerror.o strsignal.o getcwd.o strdup.o ranlib libiberty.a rootme=`pwd`/ ; export rootme; CC="cc "; export CC; CXX="gcc -nostdinc++"; export CXX; CONFIG_NM="nm"; export CONFIG_NM; utils/gen-params LIB_VERSION=2.3 >tmp-params.h utils/gen-params: gcc: not found nm: dummy.o: cannot open nm: dummy.o: cannot open nm failed to find FUNC in dummy.o! utils/gen-params: -1: bad number *** Exit 1 Stop. *** Exit 1 Stop. Thanks for any help -- ---------------------------------------------- Uwe Hoffmann email : hoffmann@fzi.de FZI Karlsruhe NeXTmail welcomed Germany ----------------------------------------------
Newsgroups: comp.sys.next.programmer From: marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) Subject: Re: fat binaries and size of programs Message-ID: <1993May17.124335.3330@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: NiCE - NeXT User Group, Zuerich References: <1t364mINNqjm@senator-bedfellow.MIT.EDU> <1993May16.090335.17855@rna.indiv.nluug.nl> Date: Mon, 17 May 1993 12:43:35 GMT In article <1993May16.090335.17855@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: >In article <1t364mINNqjm@senator-bedfellow.MIT.EDU> Matthias Imhof ><gondwana@basalt.mit.edu> writes: >> what do i actually have on my machine after installing a program? the version >> running on my machine or do i have the same binary twice, once for motorola >and >> once for the intel processor? this would be bad news the diskspace. is it >> possible to strip the version not needed? > >Programs consist of data and code. The code is in instructions for you >particular processor. All this is in one file (an executable) and there are >several segments in that file. The loader just looks in the file for a segment >with the right name (something like __CODE) and assumes it is code for the >processor. What NeXT did was add a new segment called something like __486_CODE >and the loader on 486 systems uses that segment instead of the ordinary. That >is exactly why fat binaries will run on 3.0 systems, the 3.0 system ignores >that 486 segment. No, that's not the way they work. You have some additional bytes _around_ the real, unmodified binaries, that tell what architecture(s) it will run under. It would even be possible to have two entirely different binaries, one for each platform (i.e. the 'arch' program: in the Intel version, it could consist of just a 'puts("i386");', in the Motoroil version it could be a 'puts("m68k");'. 3.0 runs fat binaries, because it _knows_ about them. From what I've heard, there will be an preferences option in 3.1 installer, which lets you decide, whether you want to install full binaries or slim binaries (there is also a tool which can merge, extract or delete binaries from fat binary). The application size is not going to grow much, because all the tiffs, nibs, help files, ... are shared between all architectures. -Marcel
Newsgroups: comp.sys.next.programmer From: brown@ccit08 (Jason Brown) Subject: GDB and watchpoints Message-ID: <1993May17.131444.20459@sol.ctr.columbia.edu> Sender: nobody@ctr.columbia.edu Organization: J. Random Misconfigured Site Date: Mon, 17 May 1993 13:14:44 GMT I was wondering if someone could help me figure out how to use watchpoints under NeXTstep 3.x's version of gdb. I have an application which creates a bunch of instances of an object I created, and a few of them, always the same ones, have corrupt values in some of their instance variables. I can't, however, figure out where in my code they are getting changed. It seems to me that a watchpoint would be the perfect tool to find this. I know which instance is causing me problems, and I can set a conditional breakpoint in the init::: method of the object, but once the application stops, if I try a command like "watch bounds.size.height" gdb gives me a segmentation fault and I'm left at the shell prompt. Does anyone have any ideas? Thanks for your help --Jason Brown (NeXT Mail Welcome) brown@next.duq.edu -- ____ ___ / / ) / _, , __ /-,' ,_ __ \_/__</_/>_(_/_/\/ /__)__/__(_/__(_/_)_/\/ "Remember, be humble, always answer the phone... no matter who's in the car" --Jack Lemmon
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: Toronto Maple Leafs gona blow the Kings away! Message-ID: <1993May17.101334.13774@ac.dal.ca> Date: 17 May 93 10:13:33 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hello Again............I'm in need of color in my plotting program ..How do I do it...all I can do is white grey and black. HeLP. Anthony Grandy Electrical Engineering Technical University of Nova Scotia lisag@ac.dal.ca grandy@newton.ccs.tuns.ca grandy@192.139.2.131 (this is my NeXT account)
Newsgroups: comp.sys.next.programmer From: emurphy@cs.uno.edu (Edward Murphy) Subject: (?) having a textbased front end on an IB gui Message-ID: <1993May17.144256.26135@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Mon, 17 May 1993 14:42:56 GMT howdy. recently i inquired about how i might go about programming a text based interface into a NeXT IB project (ao that it might be used on a text-based terminal as well as a NeXT). as i suspected, it doesn't seem that anyone has had much experience doing this. the one reply i received had a good suggestions which i have attempted but am now getting a bus error. i am hoping that someone more experienced than i can see what i might be doing wrong, since the method is fairly simple. in the _main file of the project i added the indicated lines: void main(int argc, char *argv[]) { if (argc == 2) /* added */ printf("We have a text-based thing happening.\n"); /* added */ else /* added */ { /* added */ NXApp = [Application new]; [NXApp loadNibSection:"AR.nib" owner:NXApp]; [NXApp run]; [NXApp free]; } /* added */ exit(0); } when i compile and execute the program from a shell, a "Bus error" happens. when i run it from NeXTstep, the message prints to the console and the program exits (it should just launch the program). if anyone has any input that might help me with this problem, i would greatly appreciate some email. regards, ed
Newsgroups: comp.sys.next.programmer From: mrothste@foraker.csc.calpoly.edu (Mont Rothstein) Subject: Limit to allowMultipleFiles in openPanel? Message-ID: <1993May17.160429.12671@rat.csc.calpoly.edu> Date: Mon, 17 May 93 16:04:29 GMT Organization: Cal Poly, SLO I'm using the allowMultipleFiles option in openPanel but I am having a problem. When large numbers of files are selected (I've seen it happen using > 300 but don't know when it starts) files seem to be randomly dropped from the list. By random I mean that they arn't files on the end, they are scattered throughout the list, and if you run the same sequence of files the number lost won't be the same. Is this a know bug? If it is, is there a workaround? In case you are wondering I need to select this many files because I am recording them to Laser Disk (I read in a file, record it, read in the next file...). Thanks, -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: More Indexing Kit examples? Message-ID: <1993May17.220648.614@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Mon, 17 May 1993 22:06:48 GMT Hi all.. I've been messing around with the IndexKit, and have found almost everything I am looking for sample wise, but I can't locate anything that actually uses the IXFindFile type stuff. Anyone have any examples of this or anything else to do with the IndexingKit? I have the current set of examples from NextDeveloper/Examples/IndexingKit. Thanks! -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy,comp.object From: greg@afs.com (Gregory H. Anderson) Subject: AFS OMG/ObjectWorld Case Study Followup Message-ID: <1993May17.194729.434@afs.com> Sender: greg@afs.com Date: Mon, 17 May 1993 19:47:29 GMT A few weeks ago, I posted the availability of a case study I wrote for the OMG/ComputerWorld object-oriented custom applications contest. Over 300 people asked for a copy, and I got lots of great feedback. Now I have even better news: AFS is one of the top 3 finalists in the category "Best application utilizing reusable components leveraged from or for use in other projects." The winner will be announced at ObjectWorld in June. I will also be on a panel discussing the economic benefits of OOP at ObjectWorld, if you're coming to the show. If you missed the original offer, I'll repeat it, because many people expressed interest in using our paper to justify object-oriented projects they would like to undertake. Our entry in the contest was a case study for a custom trading application we wrote in NEXTSTEP. Most of the document talks about object-oriented features used, project life cycle (analysis, development, deployment, maintenance), benefits, class hierarchies, code reuse, etc. If you would like a copy, email greg@afs.com. PLEASE INDICATE WHAT FORMAT YOU WANT, AND WHETHER YOU PREFER NEXTMAIL OR COMPRESSED/UUENCODED. The original document was written in WordPerfect 5.1, and I can also output to a PostScript file. If you need a different format, please indicate, and I'll try to accommodate you. Worst case, we might resort to snail mail. -- Gregory H. Anderson | "History, despite its wrenching pain, Commander-in-Chief | Cannot be unlived, but if faced Anderson Financial Systems | With courage, need not be lived again." greg@afs.com (Nextmail OK) | -- Maya Angelou, "On the Pulse of Morning"
Newsgroups: comp.sys.next.programmer From: hinshaw@cs.washington.edu (Kevin Hinshaw) Subject: changing the cursor's location Message-ID: <1993May18.005759.20819@beaver.cs.washington.edu> Sender: news@beaver.cs.washington.edu (USENET News System) Organization: Computer Science & Engineering, U. of Washington, Seattle Date: Tue, 18 May 93 00:57:59 GMT Here's a quick question that may or may not have an easy answer. Is there some method available for changing the location of the cursor? My situation is the following: the user wants to add points to a partially drawn curve, and there is a threshold on how close the cursor must be to an endpoint before points will be added. It would be nice to have the cursor actually move to the endpoint once it's "close enough" to it. (Basically, just like a gravity option that's available in many drawing packages.) This way, subsequent points would be relative to the actual endpoint rather than to the point that was "close enough". Thanks for any suggestions! -Kevin
Organisation: Westfaelische Wilhelms-Universitaet, Muenster, Germany Date: Friday, 14 May 1993 16:36:21 MES From: christoph heising <HEISINC@DMSWWU1A.UNI-MUENSTER.DE> Message-ID: <93134.163621HEISINC@DMSWWU1A.UNI-MUENSTER.DE> Newsgroups: comp.sys.next.programmer Subject: Strange Bug?!? Hello! I DO have some real trouble with my application. Without any reason(?) it started crashing displaying the error _class_lookupMethodAndLoadCache. The debugger doesn't help much, since I can't find any bug. Moreover, exactly the same code works(!) when opening another window first. This bug occurs in a different location when clicking into a view. This view works in a different window, too! Any comments?? Thanks, Chris
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: DPS error Date: 18 May 1993 03:25:54 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1t9l02INNhr5@darkstar.UCSC.EDU> References: <1t9kkmINNhll@darkstar.UCSC.EDU> Code which worked fine under 3.0 now writes all over various GUI objects under 3.1 (e.g., menu and button titles disappear). The console reports repeated errors: May 17 14:07:28 nextcube CaseServ[896]: DPS client library error: PostScript program error, DPSContext 2d30ac May 17 14:07:28 nextcube CaseServ[896]: %%[ Error: undefinedresult; OffendingCommand: bin obj seq, type=128, elements=5, size=44 ]%% May 17 14:07:28 nextcube CaseServ[896]: DPS client library error: PostScript program error, DPSContext 2d30ac May 17 14:07:28 nextcube CaseServ[896]: %%[ Error: undefinedresult; OffendingCommand: bin obj seq, type=128, elements=43, size=348 ]%% etc. The app quickly dies a sad death as many of its controls and menus no longer function. I may be overwriting memory somewhere in my code, I guess, but I haven't been able to find a culprit. How do I interpret these error messages? Can Objective-C code be so bad as to cause DPS corruption like I'm seeing? Seems that there should be better separation between Objective-C and DPS. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
From: besler@vitalstatistix.gdss.commerce.ubc.ca (Steven Besler) Newsgroups: comp.sys.next.programmer Subject: Unix Tabs and Text Objects (HELP!!!) Date: 18 May 1993 04:46:08 GMT Organization: The University of British Columbia Distribution: world Message-ID: <1t9pmgINNra0@iskut.ucs.ubc.ca> Keywords: tabs, Text, help Can someone give me some advice on how to make "normal text with tabs" look proper when written into a Text Object? I tried lots of stuff and it just didn't seem to work. If I go to a shell and "cat" a file, Terminal displays it nicely, keeping all neato ascii pictures intact. How can I get this to happen inside a Text object? Yes, I am using a monospace font, yes I tried clearing and setting the tabs in the object using setSelProp: NX_REMOVETAB and NX_ADDTAB. So before I do a really ugly hack like: system("/bin/expand /tmp/nifty-ascii-graphics-with-tabs > /tmp/no-tabs"); blah; blah; Someone please tell me "The Proper Way To Do It (TM)" Cheers, Steven Besler besler@gdss.commerce.ubc.ca Novice NeXT Programmer PS. Email or post, Content matters most. ;-)
Newsgroups: comp.sys.next.programmer From: termite@leland.Stanford.EDU (David Paik) Subject: DSP (not DPS) and cthread problem Message-ID: <1993May18.063011.19535@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSG, Stanford University, CA 94305, USA Date: Tue, 18 May 93 06:30:11 GMT I'm having a problem using the DSP chip in a cthread. I cthread_fork and cthread_detach the thread and then try and use the DSP. Everything works ok until I try to DSPAPReadFloatArray where it just never returns. It works fine in the main thread but halts only in a separate thread? Can anyone help? I'm using 2.0 if it makes a difference. Thanks in advance, David
From: rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: Re: fat binaries and size of programs Date: 18 May 1993 03:22:05 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9305180716.AA05800@flexus> LS, Without needing any inside information it is obvious from a bit of knowledge about what applications currently look like and from the header <mach-o/fat.h> that fat binaries are not a technology to be revered, rather a *hack* (they're not called ``fat'' for nothing). Oh well. Let's end the fuss, though. Here's what you'll get: A fat file starts with an identifier that says ``I am fat.'', and an array of pointers to further in the file, each pointer accompanied by some numbers identifying the processor supported. Cost: the sum of the executables (which are copied ``bitterally'' from the original executables), plus 8 kB (the first executable start on a page alignment). Maybe if we're lucky, the file system will use holes for the wasted 7 kB+, which are just zeroes, I don't know that (the same applies to current EXECUTABLE Mach-O's, whose sectors are memory page aligned, trading quite some bytes for performance). To be clear: all strings, which would be a prime candidate for sharing, all tiffs in the __ICON department, all Objective-C strings and other information will be replicated for every architecture the file supports! Even clearer: binaries will be *more* than twice the size of nonfat binaries (for the current couple of processors supported anyway). There's no such thing as a __486_CODE segment: the fatness is the outer shell, not something inside. The only relief is that NeXTSTEP applications currently come in an application wrapper that's based on the file system: they are a directory now. And that's why the nib files, and the bulk of the tiffs, and snd and other materials that you'll currently (since 3.0) always find inside the application wrapper, will be stored only once (only the internal file format of any Mach-O file will change). Let's take a central NeXTSTEP application: Mail. That's .68 MB now (with just the Engish.lproj installed). .462 MB of that is executable. .68+.462+7.9/1024=1.15: a 70% inflation (rough estimate: I don't know the relative size of Intel code compared to Motorola code, I'm assuming it's the same). When you'll copy an application directly from a medium, all architectures will remain present (there's no support for detecting a copy operation and triggering an action from it in this Unix-based system). Technically it would be possible to detect the coming of a new application *in the application path* if Workspace Manager is used (that which now adds registered file types and services and so), and put up a panel asking what to do with the fat stuff, but I bet this will not be the case. What you will have is some utility to extract just the current architecture that you'll have to invoke explicitly. Probably it will be GUI-accessible from Installer.app. Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in ``at'' Nederlands, English, Fran[ais, Deutsch a.o.
From: sritchie@cs.ubc.ca (Stuart Ritchie) Newsgroups: comp.sys.next.programmer Subject: Re: Subprocess & proper way to continue. Date: 18 May 1993 00:34:06 -0700 Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1ta3heINNsef@stephen.cs.ubc.ca> References: <C6LMGG.11n@pyrian.com> In article <C6LMGG.11n@pyrian.com> ian@pyrian.com (Ian H. Stewart) writes: >I want to all of the following in the listed order: > >1). I want to run a shell script from my app, I am going to use >Subprocess(unless there is a better way for what I am doing) [munch] > >I am currently using Subprocess that is included in the NS3.0 demos. Warning, the Subprocess implementation that shipped on my 2.1 and 3.0 machine contains a rather sporadic bug. The bug does not appear in all cases. But when it does, it affects other pty terminal sessions on the local machines in weird ways. It also causes the particular instance to go wonky and operate incorrectly, causing your application to become fatally confused. I strongly recommend people using a virgin Subprocess to apply a bug fix!! The bug is within the get_ptys() function in Subprocess.m. In there you'll find a couple loops that iterate through the /dev/pty filenames until an unused pty if found. The string "device" contains the current pty device filename. Inside the loop, the filename is open()'d. The bug occurs when this open() fails: the loop is reiterated, but the value of "device" has been trashed to "/dev/tty..." rather than "/dev/pty...". This causes the next iteration to open "/dev/tty..." as the master! The author of this code has essentially been bitten by the "writing a string constant" bug. It seems that this bug was discovered when compiling the code in a environment with a non-writable data segment, hence the initial strcpy() of device. But all this does is move the constant to a writable portion of memory. To fix the bug, modify get_ptys() to preserve "device" on each iteration, not just each invocation. I have code if anyone is interested, it's just a line or two though. Other than that, I find Subprocess to be a very useful object. My own version of this class is a permanent fixture in my library. Stuart
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: fat binaries and size of programs Message-ID: <1993May16.191332.3784@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1993May16.090335.17855@rna.indiv.nluug.nl> Distribution: na Date: Sun, 16 May 1993 19:13:32 GMT In article <1993May16.090335.17855@rna.indiv.nluug.nl> gerben@rna.indiv.nluug.nl writes: > Anyway, fat binaries won't be twice the size of nonfat binaries. Steve claimed > it would be 20% more, but I assume that is in very special cases where the code > part ith respect to the data part is very small. I expect fat binaries to take > up from 20% to 40% more space. Fat binaries that have few nibs can be *more* than twice the size of a Motorola binary. This is because Intel executables require more instructions than Motorola executables because Intel CPUs have only three registers. M Carling President, Bay Area NeXT Group
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.misc From: edmtl@taxus.uib.no (Thor Legvold) Subject: SLIP/PPP information/installation help? Message-ID: <1993May18.123105.25285@alf.uib.no> Sender: edmtl@alf.uib.no (Thor Legvold) Organization: University of Bergen, Norway Date: Tue, 18 May 93 12:31:05 GMT Hi! Well, I am still trying to get SLIP to work, and I have some questions to you gurus out there. So far (due to many things) SLIP doesn't work. Or maybe it's the modems, I don't know. But in the meantime I've obtained a beta (alpha?) version of PPP (Merit.edu PPP distribution) which I would like to try out. I've spoken to the sysadmins who control our net, and found out that a possibility exists for running PPP from my home machine to a Cisco router (via a 9600 or 14.4 baud modem connected to the Cisco) which supports PPP. My problem: could someone point me to a FAQ, or a reasonable introduction to what PPP is, how it differs from SLIP, and what it can be used for? My net-knowledge is limited at this level. Do I need to do any special configuring? Can I simply send an IP datagram after starting PPP, and have everything work? (Of course I'll configure a username/passwd on the Cisco first :-) Is PPP a protocoll at the same level as SLIP? Do I need to run some sort of packet protocoll on top of PPP (it seems that PPP is a lower level protocoll than SLIP - is this correct?) I'm generally in the dark here (if you haven't already guessed), and would really like some info to get me started (and hopefully running :-) I'd like to do this this week (I'm free this week :-), so please email replies directly to me. Regards, Thor -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
From: d1h1883@sc.tamu.edu Newsgroups: comp.sys.next.programmer Subject: awakeFromNib question... Date: 18 May 1993 15:45:17 GMT Organization: Texas A&M University, College Station, TX Distribution: world Message-ID: <1tb0ad$8k7@tamsun.tamu.edu> Anybody know why File's Owner gets sent this when a nib archive is loaded? I have a valid - awakeFromNib method that gets called when Object #1 is loaded that finishes off initialization of Object #1. Then when Object #1 goes to load another nib containing Object #2, Object #1's - awakeFromNib gets called again. This sort of makes sense but seems like a silly thing to do. The code that loaded the archive in the first place should take care of any needed initialization. Anybody know a work around for this (how do I detect the difference in the calls without some kind of kludge "init var") or what it is I don't understand about this behavior? Thanks. Dave -- David K. Hess Graduate Assistant David-Hess@tamu.edu Supercomputer Center (409) 845-6907 (work) Texas A&M University
Newsgroups: comp.sys.next.programmer From: kiwi@stud.ee.ethz.ch (Rene Mueller) Subject: Next Icons for X11 ... Message-ID: <kiwi.737740082@tardis-b4> Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH Distribution: comp Date: Tue, 18 May 1993 15:48:02 GMT I would like to have some of these colored 'wonderful' icons of the NeXT window-system on my X11 window-manager, can someone of send me these icons, or maybe only a snapshot of the screen with a lot of them? Thank's for your help! , Rene (kiwi@iis.ethz.ch)
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: DBTableView without DBKit example? Message-ID: <1993May18.140132.283@afs.com> Sender: Michael_Pizolato@afs.com Date: Tue, 18 May 1993 14:01:32 GMT Someone posted a while ago about having an example of using a DBTableView without using the rest of DBKit to supply data. Anyone know where I can get that, or another example like it? Thanx, Michael -- Michael Pizolato michael_pizolato@afs.com poet, philosopher, programmer ~18 kyu Q16 NeXTMail appreciated
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) Subject: Re: ?: NS and disk drives > 2.0GB (Update) Message-ID: <1993May18.192807.878@bernina.ethz.ch> Followup-To: comp.sys.next.programmer Sender: news@bernina.ethz.ch (USENET News System) Organization: NiCE - NeXT User Group, Zuerich References: <1993May14.112209.1428@gamelan> <1t8qbq$2fk@gaia.ucs.orst.edu> <1993May18.013420.8979@csus.edu> Date: Tue, 18 May 1993 19:28:07 GMT In article <1993May18.013420.8979@csus.edu> eps@cs.sfsu.edu writes: >/usr/filesystems/EFS.fs/--how about it? Even if NeXT doesn't >buy in immediately, it's a perfect third party opportunity. BTW: Does anyone know how to write a loadable file system? -Marcel
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Death of an object Organization: Primitive Software Ltd. Date: Tue, 18 May 1993 11:39:00 +0000 Message-ID: <1993May18.113900.22280@prim> Sender: usenet@demon.co.uk Just dreaming about the bright future of organic extensible applications and one thing keeps troubling me: the death of an object. The great thing about Unix (or any decent OS) is that the death of one application doesn't effect the others. I wonder if it would be possible to extend this concept to objects under NeXTSTEP? Maybe there should be a standard way of reporting errors in method calls - at the moment it's a variety of ways, returning NULL or NO for example - and an object death could be a standard error return. Robust objects. Perhaps instead of returning "self" or "nil", an object should return the id of an error reporting object in the case of an error? The sort of death I'm referring to is that caused by a bug, eg de-referencing a null pointer. You can catch this sort of exception at the moment, but it's an awfully messy thing to do, and there's no standard way of recovering. Maybe in the future each object will run as a separate mach thread, and method calls will all be done as true mach messages? But then one thread can still corrupt another's memory. So how about having each class as a separate unix program, and each object as a thread within that program? All we need are faster machines. :-) Dave Griffiths
Control: cancel <C72HF3.qJ@hal.rhein-main.de> Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: alex@hal.rhein-main.de (Alexander Lehmann) Subject: cancel <C72HF3.qJ@hal.rhein-main.de> Message-ID: <C78IzB.9B@hal.rhein-main.de> Date: Tue, 18 May 1993 18:21:11 GMT cancel <C72HF3.qJ@hal.rhein-main.de> -- Alexander Lehmann, alex@hal.rhein-main.de | "Wopp" or alexlehm@iti.informatik.th-darmstadt.de | - ( THHGTTG Pt.3 )
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: alex@hal.rhein-main.de (Alexander Lehmann) Subject: optimizer bug with gzip Content-Type: text/plain; charset=ISO-8859-1 Message-ID: <C78J2p.B8@hal.rhein-main.de> Content-Transfer-Encoding: 8bit Mime-Version: 1.0 Date: Tue, 18 May 1993 18:23:11 GMT [ Article crossposted from comp.sys.next.bugs,comp.sys.next.programmer ] [ Author was Alexander Lehmann (alex@hal.rhein-main.de) ] [ Posted on Sat, 15 May 1993 12:01:49 GMT ] [ It seems that the article didn't leave my machine, so I'm posting it again ] [ If you see this article twice, please forgive me, but my news system ] [ (semi)crashed when I posted it ] Hello all, I found a bug in gzip that occurs due to a bug with the optimizer of the NS3.0 cc. The bug makes gzip cause a segment violation when zcat'ing a file that was created on another OS (e.g. Messy). Apparently, gzip stores the original filename when it cannot be restored due to filesystem restrictions. When uncompressing to stdout, the filename is skipped with a simple while loop that in compiled incorrectly. As code piece that displays the bug is the following (more or less from gzip): unsigned char inbuf[1000]; unsigned inptr; unsigned insize; int fill_inbuf(void); #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) main(void) { while(get_byte()!=0) ; } The resulting assembler code looks like this: #NO_APP .text .align 1 .globl _main _main: link a6,#0 movel _inptr,d1 cmpl _insize,d1 jcc L4 lea _inbuf,a1 movel _inptr,a0 jra L7 --- (1) L4: jbsr _fill_inbuf tstl d0 jeq L3 L2: movel _inptr,d1 cmpl _insize,d1 jcc L4 lea _inbuf,a0 movel _inptr,d0 L7: moveb a0@(d0:l),d0 --- (2) andl #0xFF,d0 addql #1,_inptr tstl d0 jne L2 L3: unlk a6 rts .comm _inbuf,1000 .comm _inptr,4 .comm _insize,4 When jumping to label L7 (1), the address of the char array is in a1 and the offset is in a0, but the move instruction (2) uses a0 and d0 as address. Since this register is not initialized, anything can happen. A slight change in the code makes it work: main(void) { char c; while((c=get_byte())!=0) ; } If the optimizer is not used, the code is also correct. I have fixed gzip.c as follows: *** ../gzip-1.0.7./gzip.c Thu Mar 18 19:14:56 1993 --- gzip.c Sat May 15 13:32:18 1993 *************** *** 1056,1062 **** if ((flags & ORIG_NAME) != 0) { if (to_stdout || part_nb > 1) { /* Discard the old name */ ! while (get_byte() != 0) /* null */ ; } else { /* Copy the base name. Keep a directory prefix intact. */ char *p = basename(ofname); --- 1056,1063 ---- if ((flags & ORIG_NAME) != 0) { if (to_stdout || part_nb > 1) { /* Discard the old name */ ! char c; /* fix for NeXTstep 3.0 cc optimizer bug */ ! while ((c=get_byte()) != 0) /* null */ ; } else { /* Copy the base name. Keep a directory prefix intact. */ char *p = basename(ofname); bye, Alexander Lehmann -- Alexander Lehmann, alex@hal.rhein-main.de | "Wopp" or alexlehm@iti.informatik.th-darmstadt.de | - ( THHGTTG Pt.3 )
Control: cancel <C78ILu.6J@hal.rhein-main.de> Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: alex@hal.rhein-main.de (Alexander Lehmann) Subject: cancel <C78ILu.6J@hal.rhein-main.de> Message-ID: <C78J6M.Cp@hal.rhein-main.de> Date: Tue, 18 May 1993 18:25:34 GMT cancel <C78ILu.6J@hal.rhein-main.de> -- Alexander Lehmann, alex@hal.rhein-main.de | "Wopp" or alexlehm@iti.informatik.th-darmstadt.de | - ( THHGTTG Pt.3 )
From: rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: Summary: Little-endian is upon us Date: 18 May 1993 18:51:18 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9305181202.AA06489@flexus> LS, Thanks to Subrata Sircar, Eric Norum, Ted Slupesky, and the others who really ought to have responded to the person with the problem. BTW, my problem was that I wanted some tools to easily deal with endians, but all reactions were to my introductory questions. Well, now at least I know a bit of history and some hard facts... I'll just figure something out myself. The following is from the messages, more from the second article mentioned by Eric Norum, of which Ted Slupesky sent me a copy (it should be available on some ftp site also), and mostly from my own power of reasoning (well, everyone thinks to have that). I'm not giving any direct reactions to what people have said (misconceptions, things I don't agree with), to save bandwidth (what am I saying?). Here it goes: Current computers are manipulators of bits, and of lists of bits. Except for conceptual models (trees, linked lists), all work is done on lists of bits, or bit streams (lists of similar elements are streams): communication, files, the memory model... Bits are addressed by a binary number. Various amounts of bits can be dropped off the least significant side of that number, producing corresponding levels of a hierarchy on top of the bit stream: bytes, words, sectors, pages, whatever. Usually, 3 bits are dropped, and memory is addressed as bytes, because these were convenient units to store English text during the early years of computing (even if people would have thought ahead, memory was too expensive to allocate the 16 bits per unit that international alphabet support requires). All models agree on the meaning of this addressing: it's a time dimension. That is clear from the way text is encoded: whether you have a roman script, or Hebrew/Arabic, or the traditional Japanese arrangement which is top-down columns from right to left, characters are stored from information unit 0 to higher addresses. There is another concept where addresses are used: numbers. In a positional number system, the addresses are the significance of the digits, denoting the power to which the radix is raised for this digit, from 0 for the LSD (least significant digit) up to the MSD. The trouble consists of the following: should significance follow time, or not? The first view is called Little-Endian, the second is called Big-Endian. If my current perception that Danny Cohen, the author of the article mentioned above, is at the origin of the use of these terms from Gulliver's Travels in the bits and bytes arena, will somebody please tell me? Let's call the addresses stream addresses and positional addresses (my terms). Why the established big-endian in conversation and text? To semantically process a number (to ``understand'' it), it is best to get to know its size first, and the details later, hence big-endian in conversation. Written text follows that convention, with one complication: the reader has to scan ahead to learn what rank the first digit has. But this has a very small cost, because human reading happens with larger units than characters anyway. That's why I think that right-to-left languages that write their numbers like we do and thus have a little-endian order, still use a big-endian order for pronouncing them (right? overview anyone?). Microprocessors use both stream and positional addressing. In the Intel kind, these addresses match (their supporters will call the use of positional addresses merely self-inconsistent); in the Motorola kind, these addresses run counterdirectional. (I'm using the brand names for the parts that NeXTSTEP runs on; Motorola's 88100 for instance is capable of both little-endian and big-endian operation.) They all use the convention of English to name bit-shifting operations' mnemonics (MSD to the left), and supporters of the bigendian model would call *that* inconsistent on Intel processors. (Side note: some models mix things up, like VAX floating point numbers and binary coded decimals, and languages like Dutch and German which pronounce first hundreds, then units, then tens, in each group of 3 digits: ``two-and-seventy thousand hundred four-and-thirty''.) Which to choose? Here comes the opinion of (still) a big-endian guy, so the outcome is all the more remarkable. The obvious choice that should have been taken is little-endian all the way, including in listing binary numbers. People should have been accustomed to reading those numbers ``from right to left''. Then the only trouble would have been that lexical order is not usable on numbers: ordering numbers has to start at the MSD. Instead, little-endian people have done their case a disservice with all these ugly right-to-left and top-to-bottom diagrams, to preserve the left-to-right number ordering. When text is mixed with numbers, the text is printed right-to-left; hexadecimal digits inside bytes are still bigendian; the people who draw these diagrams don't think it necessary to clearly indicate direction, etc. Another problem is graphics hardware: this will always scan the way a TV does: left-to-right rows, from top to bottom, and this doesn't match these diagrams. What's the situation after putting these diagrams out of service? Big-endian. Languages using the roman script, both written and pronounced, and probably most others for pronouncing these numbers. Easy ordering of numbers with lexical means (that's probably also why ISO defined a date format that looks like 1993-05-16). The C shift operators << and >>, which comes to bear when accessing video memory, or poking around inside numbers. Little-endian. Consistent model when ignoring linguisticly established conventions, matching stream with positional addressing. Easier to implement multiple-precision addition/subtraction (that includes pointer operations on processors with narrow data buses, but that is an outdated argument). Interesting. TIFF format supports both bit orders (byte order is only adaptable inside numbers, columns are always left to right). Right? The final judgement now. It is obvious that both architectures use the same bit order, only the bytes have to be switched. So one of both is internally inconsistent. Now which is it? The MC68040 uses positional addresses on the data bus. The i486 does this as well. How to relate bit stream order to byte stream order? Communication doesn't say much: these devices are only accessible on a byte-by-byte interface. Another is graphics. Let's look at TIFF. Sure enough, there's a FillOrder field. Now which architecture is favoured by the default? The Motorola! I've already asked what video hardware does, and Jim Cathey named TMS34010 as a little-endian device at the bit level. So probably all the rest, even PC video systems is big-endian, right (I'll summarise any negative reactions, this is a gamble)? What a kludge, to read columns 0 to 15 (on-screen left-to-right order), and get them in a register as 7..0|15..8 or 8..15|0..7. No bit shift will do anything sensible: you can only work with bytes. So at least the big-endian processors are internally consistent throughout, even with having to convert between positional and stream addressing for graphic operations.
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: DPS error Message-ID: <1218@rtbrain.rightbrain.com> Date: 18 May 93 23:49:41 GMT References: <1t9l02INNhr5@darkstar.UCSC.EDU> Sender: glenn@rightbrain.com Art Isbell writes > May 17 14:07:28 nextcube CaseServ[896]: DPS client library error: PostScript > program error, DPSContext 2d30ac > May 17 14:07:28 nextcube CaseServ[896]: %%[ Error: undefinedresult; > OffendingCommand: bin obj seq, type=128, elements=5, size=44 ]%% The error you're seeing, "undefinedresult", is basically a divide by 0 problem. The most common cause of this is sending floating point values to PSWraps that are "Nan" or "0". Run your program with the -NXShowPS option and carefully look through the code to see if there are "Nan" or "0 scalefont" kinds of things that you notice. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.programmer From: petcher@ebenezer.wustl.edu (Donald N. Petcher) Subject: problem with g++ under NS 3.0 Message-ID: <1993May19.003025.3936@wuphys.wustl.edu> Sender: usenet@wuphys.wustl.edu (USENET) Organization: Washington U. Physics Dept Date: Wed, 19 May 1993 00:30:25 GMT After upgrading from NS 2.1 to NS 3.0 and compiling the folowing program: #include <builtin.h> main() {} I get the following errors from g++: % g++ -c aap.cc In file included from /usr/local/lib/g++-include/std.h:29, from /usr/local/lib/g++-include/builtin.h:32, from aap.cc:1: /usr/local/lib/g++-include/stdio.h:69: stdio.h: No such file or directory In file included from /usr/local/lib/g++-include/std.h:30, from /usr/local/lib/g++-include/builtin.h:32, from aap.cc:1: /usr/local/lib/g++-include/errno.h:9: errno.h: No such file or directory In file included from /usr/local/lib/g++-include/std.h:31, from /usr/local/lib/g++-include/builtin.h:32, from aap.cc:1: /usr/local/lib/g++-include/fcntl.h:14: fcntl.h: No such file or directory The program compiles fine under 2.1. I am running g++ 2.2.2 along with its associated g++lib which I installed myself under NS 2.1 and it resides in /usr/local in parallel with the distributed version of gcc in /bin. As far as I know, nothing has changed in the setup of paths, etc. and all the same files are in the same places (e.g. stdio.h is in /usr/local/lib/g++-include as well as in /usr/include). The same problem occurrs on a new Turbo that came with NS 3.0 installed and on which I put g++ 2.2.2 (did not install it - just copied it over from the 2.1 machine). Does anyone know what is going on? Must I reinstall g++ specifically on gcc 3.0 or is there some other explanation? (It'll be nice to get the g++ support built into NS 3.1 but I can't wait until then.) -- Don Petcher, petcher@wuphys.wustl.edu, petcher@ebenezer.wustl.edu Department of Physics, Washington University, Saint Louis, Missouri 63130
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: ?: NS and disk drives > 2.0GB (Update) Message-ID: <1993May19.020913.7421@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993May14.112209.1428@gamelan> <1t8qbq$2fk@gaia.ucs.orst.edu> <1993May18.013420.8979@csus.edu> <1993May18.192807.878@bernina.ethz.ch> Date: Wed, 19 May 1993 02:09:13 GMT In article <1993May18.192807.878@bernina.ethz.ch> marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) writes: >BTW: Does anyone know how to write a loadable file system? NeXT does. (i.e. you'd probably need to sign a nondisclosure agreement) -=EPS=-
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: DBKit -- Beta test anyone?? Date: Tue, 18 May 1993 22:07:17 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <IfyNNJG00WA7ALlbsO@andrew.cmu.edu> I've managed to palattize a subclass DBModule that offers some "interesting" features. I'm planning on releasing it to the archives shortly... But before I do, I was hoping I could talk someone into actually trying it with a system configuration other than my own. (So far, it's only been tested with NextStep 3.0 & Oracle.) Any takers? For what it's worth, the "features" include support of a Qualifications Protocol to allow this QualifiedDBModule to build a DBQualifier by querying the User-Interface objects that support this Protocol. (So far, only TextFields support this Protocol. But it's fairly easy to add others...) Relational-based searches are supported when this DBQualifier is built. Newly added rows are checked for key-uniqueness. Editing of key-attributes in UI-objects is prohibited after they have been "saved" to the database. QualifiedDBModule automatically becomes the delegate of all it's DBFetchGroups, and forwards their messages to it's own delegate. (As well as making use of them itself in some cases...) Also, clearing of all data is provided by a target/action message. (Usually the way to enter build-qualifier mode.) Testing consists of dragging a QualifiedDBModule, DBTableView(s), two Buttons, and several TextFields into a Window. Opening the QualifiedDBModule editor. (Which is Exactly the same as DBModule's Editor -- isn't inheritance great!) Dragging a few attributes from the QualifiedDBModule onto the DBTableView(s) and TextFields. Connecting the Buttons target's to x_clear: and x_buildQualifierAndFetch: in the QualifiedDBModule. And playing around in IB's test-mode. QualifiedDBModule will connect the TextField delegates up to itself through the Qualifications Protocol after QualifiedDBModule is sent a fetch command. Since DBTableView has not yet been modified to accept the Qualifications Protocol, it would need to have it's target set to the QualifiedDBModule if you wantted to use it for editting data. As this is going into the Public domain very shortly, I'd also like to ask if anyone out there can think of any other nifty features to add? -David Apfelbaum. ----------------<Present Qualifications Protocol>-------------------- ---------<(It will probably change slightly before release)>--------- @protocol Qualifications - (BOOL)setDefaultValue; /* Returns YES if it just set a default value. */ /* Message sent whenever a new row is created. */ - (BOOL)hasQualification; - (DBQualifier *)qualification:(DBQualifier *)aDBQualifier forPropertyString:(char*)aPropertyString inEntity:(id<DBEntities>)aDBEntity type:(id<DBTypes>)aDBType; - (DBQualifier *)qualification:(DBQualifier *)aDBQualifier forPropertyString:(char*)aPropertyString inEntity:(id<DBEntities>)aDBEntity type:(id<DBTypes>)aDBType withOperator:(enum COMPARISON_OPERATORS)aOperator; - setBuildQualificationMode; /* Clear Mode */ - setEditDataInDatabaseModeWithNotificationObject:aObject; /* Edit Mode */ - currentNotificationObject; @end
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: DBTableView without DBKit example? Message-ID: <1993May19.105539.24877@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <1993May18.140132.283@afs.com> Date: Wed, 19 May 1993 10:55:39 GMT In article <1993May18.140132.283@afs.com> Michael_Pizolato@afs.com writes: > Someone posted a while ago about having an example of using > a DBTableView without using the rest of DBKit to supply > data. Anyone know where I can get that, or another example > like it? > I have uploaded DBTVTest.tar.Z a week ago to sonata. I think it has been moved from submissions somewhere else. -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
From: david@postman.gr.osf.org (David George) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1td2lf$j41@paperboy.osf.org> Control: cancel <1td2lf$j41@paperboy.osf.org> Date: 19 May 1993 10:41:58 GMT Organization: Open Software Foundation Distribution: world Message-ID: <1td2tm$j8v@paperboy.osf.org> References: <1993May18.113900.22280@prim> <1td2lf$j41@paperboy.osf.org>
From: hacker@access.digex.net (Dark Hacker) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: What *is* it with Pencom X Windows keycodes (or am I stupid?) Date: 19 May 1993 09:14:38 -0400 Organization: Express Access Online Communications, Greenbelt, MD USA Message-ID: <1tdbru$2n5@access.digex.net> Well I upgraded to Pencom's X Windows version 3.0 and I find that all the key codes for my keyboard have changed! AGAIN! Now am I stupid or shouldn't these keycodes be the same across X Windows implementations and version of the same implementation? I can't look at character codes for my application because I need to see such non-character generating keys like shift and control and stuff like that. Besides... my app is already key code based and that's that. So should I be using a Symbol data base (there's a file called something like XSymbolDB in /usr/lib/X/mumble) that's common across platforms? Last I looked I don't think Pencom supplied one. Well... I think you get the point. I'm just trying to determine if Pencomis falling asleep at the switch here or if I need to provide some kind of key code mapping that will gaurenttee consistancy. Is there an accepted "standard" for key codes? As a point of refernce, I've also used MouseX and my program works perfectly with this so that's why I'm concluding that maybe Pencom has a problem. - Hacker -- Dark Hacker @ Black Silicon, Fortress Of Computation hacker@black-silicon.mclean.va.us "Life itself is... COMPUTATION!"
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: comp.sys.next.programmer at Expo on CD????? Date: 19 May 1993 10:15:06 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1tctqq$je@steffi.demon.co.uk> Is anybody selling "an uptodate as of last month say" comp.sys.next.* news CD at Expo? Most of the ones cut early only had up till late 1991 on them. I'm really only after comp.sys.next.programmer but the rest would be nice also. I trust there is a DL index on the CD too with the option of storing the index on HD. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: emurphy@cs.uno.edu (Edward Murphy) Subject: (?) popuplist examples. Message-ID: <1993May19.164437.8598@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Wed, 19 May 1993 16:44:37 GMT howdy. can anyone send to me an example of how one might add an item to a popuplist object in the interface builder? being the first time i have used popuplists, i am somewhat confused by the fact that the popuplist is actually a button of some sort and not a "popuplist". the trouble that has stumped me is that the object that is my popuplist will not respond to the "addItem" message saying that... error: Button does not recognize selector -addItem: the code which produces the error is [popuplistobj additem:"Some Title"]; any help on the above or related topics will be greatly appreciated ed murphy grad slave from mars
From: fstevens@idiotix.cs.uoregon.edu (Fred C Stevens) Newsgroups: comp.sys.next.programmer Subject: gcc c++ (2.3.3) and objective-C ... How to mix? Message-ID: <1993May19.180712.15557@cs.uoregon.edu> Date: 19 May 93 18:07:12 GMT Article-I.D.: cs.1993May19.180712.15557 Sender: fstevens@cs.uoregon.edu Organization: University of Oregon Computer and Information Sciences Dept. Is there any way to compile c++ code using gcc 2.3.3, and then link it effectively with objective C code (interface builder code). I'm trying to do this (I'm porting a big C++ program), but when I link none of the static C++ objects are initialized. If I just write a simple C++ driver and use straight text IO, then the static C++ objects are initialized. But it is rather nasty to have code you can only use on an ascii terminal. If you have any clue how to fix this problem, please send info to fstevens@cs.uoregon.edu. Thanks in advance...
From: me@galois.uoregon.edu (My Account) Newsgroups: comp.sys.next.programmer Subject: Can't initialize new NeXT optical disks Date: 19 May 1993 19:16:14 GMT Organization: University of Oregon Network Services Message-ID: <1te11u$o8g@pith.uoregon.edu> Keywords: od, optical disk Greetings, I just got two bran new Optical Disks and neither of them are recognized by my drive. I put them in and the spin and stop and spin and stop. It never brings up the "Initialize disk" window. Every time the drive stops my computer locks. The only way for me to get them out is to go into the Next> and ej them. I did have a problem with my drive being dusty but that was quickly fixed. If you have any ideas on either how to fix the drive problem or how to get around initializing them from NS. Thanks Boyd! P.S. This is my first posting so if I have forgotten to send something vital like my address or something, don't be upset. This is the first time I have used grazer. Cheers, ta luv!
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: DBTableView without DBKit example? Message-ID: <1993May19.174105.799@afs.com> Sender: Michael_Pizolato@afs.com References: <1993May18.140132.283@afs.com> Date: Wed, 19 May 1993 17:41:05 GMT In article <1993May18.140132.283@afs.com> I write: > Someone posted a while ago about having an example of using > a DBTableView without using the rest of DBKit to supply > data. Anyone know where I can get that, or another example > like it? Thanks to everyone who responded, especially Scott Anguish, Kjell Lundesten, Eric Kay, and Paul DeNys who sent copies of the two relevant examples, TubeTester and DBTVTest (using NeXTMail, the greatest mailing system in the world, courtesy of the World's Greatest OS, so much better than ANY OTHER SYSTEM THAT IT'S UNBELIEVABLE. WINDOWS? HAH! YOU CAN TAKE WINDOWS, OR NT, OR ANY OTHER THIRD-RATE EXCUSE FOR AN OS AND SHOVE... Oh, sorry, uh, lost control for a bit there, thought I was in c.s.n.advocacy). Anyway, now all my dreams have come true... ;-) -- Michael Pizolato michael_pizolato@afs.com poet, philosopher, programmer ~18 kyu Q16 NeXTMail appreciated
From: john@youngtown.az.stratus.com (John Acuna) Newsgroups: comp.sys.next.programmer Subject: Anyone ported a GIF or JPEG viewer to NSintel Date: 20 May 1993 00:41:33 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <1tek3t$b2o@transfer.stratus.com> Keywords: 486, gif, jpg Hello, I tried to compile NeXTGIF and ViewGIF2 on the 486 and they compile cleanly (with a few minor changes), but they aren't able to correctly decode the image. It displays a few raster lines and that is it... Has anyone out there ported any image viewer? If you have could you let me in on what needed to be changed or drop me the source? I have a feeling that it might have something to do with the endian-ness of the 486, but I am not sure and before I go digging to far I wanted to see if anyone else might have already fought this battle. Any help would be appreciated. Thanks. -- John Acuna Software Systems Engineer VOS Mail: John_Acuna@vos.stratus.com Customer Assistance Center NeXT Mail: john@youngtown.az.stratus.com Telecommunications Division Customer Service: (800) 828-8513 Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: cleelacj@agedwards.com (Chris Cleeland) Subject: Re: What *is* it with Pencom X Windows keycodes (or am I stupid?) Message-ID: <C7Av4I.5xD@agedwards.com> Date: Thu, 20 May 1993 00:38:41 GMT References: <1tdbru$2n5@access.digex.net> Organization: A. G. Edwards & Sons, Inc. NOTE: This is posted only because I think it proper to point that Pencom is most likely not in the wrong in the situation below. hacker@access.digex.net (Dark Hacker) writes: >Well I upgraded to Pencom's X Windows version 3.0 and I find that all >the key codes for my keyboard have changed! AGAIN! Now am I stupid or >shouldn't these keycodes be the same across X Windows implementations >and version of the same implementation? I can't look at character >codes for my application because I need to see such non-character >generating keys like shift and control and stuff like that. Besides... >my app is already key code based and that's that. If you are indeed using keycodes in an X app, then shame on you :-) *Keycodes* are notoriously non-portable, even between hardware from the same vendor, revs of X, etc. Every book that I have read on X programming (most notably the O'Reilly series) has stressed the point that one should use KeySyms over KeyCodes in every case. If you, for some reason, believe that KeyCodes are the savior of mankind and simply must be used, resolve the Sym to its Code and use that. If you want to talk about this more, I'll be glad to take it to mail, give manual pointers, etc. I just wanted to stick up for Pencom at this point (no association with Pencom, though). -cj -- ============================================================================== Chris Cleeland | Internet: cleelacj@agedwards.com BOS Dev. Team | USnail: 3878 Connecticut St. Louis 63116 | BellNet: (314) 289-5372
From: kline@cs.arizona.edu (Nick Kline) Newsgroups: comp.sys.next.marketplace,comp.sys.next.advocacy,comp.sys.next.programmer Subject: ns for intel wanted from expo Message-ID: <40202@optima.cs.arizona.edu> Date: 20 May 93 08:45:05 GMT Sender: news@cs.arizona.edu Followup-To: poster I'm interested in buying nextstep intel from someone going to the expo. I will of course pay the $300 cost plus something to cover your trouble. I've tried sending mail to the people who advertised, but perhaps they are overwhelmed. I am a student, but my university won't commit to allowing me to buy nextstep! They say they have a contract with the company that will distribute it, but aren't sure if its "worth it". I'd also like to buy a copy of the commerical version since I am (like almost every cs student it seems) a fledgleing developer. If I can only buy the university version, I'm not sure what I will do. At least I will be able to use nextstep, even if I can't develop commerical apps. There's no way I can afford the full commerical price. The university price is a godsend, but it may not be available. thanks, nick kline kline@cs.arizona.edu
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Re: (?) popuplist examples. Message-ID: <1993May20.123200.28954@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory References: <1993May19.164437.8598@cs.uno.edu> Date: Thu, 20 May 1993 12:32:00 GMT In article <1993May19.164437.8598@cs.uno.edu> emurphy@cs.uno.edu (Edward Murphy) writes: > howdy. > > can anyone send to me an example of how one might add an item to a > popuplist object in the interface builder? being the first time i have > used popuplists, i am somewhat confused by the fact that the popuplist is > actually a button of some sort and not a "popuplist". the trouble that has > stumped me is that the object that is my popuplist will not respond to the > "addItem" message saying that... > > error: Button does not recognize selector -addItem: > > the code which produces the error is > > [popuplistobj additem:"Some Title"]; > > any help on the above or related topics will be greatly appreciated > You need to read the section of DL on popuplists. You must make the list the target rather than the button itself. Here is how I did it. id objList; // id of popupbutton in IB - awakeFromNib { objList = [objList target]; [objList setTarget:self]; [objList setAction:@selector(setType:)]; return self; } later when adding an item... { [objList addItem:className]; [[objList itemList] setTag:([objectList count]-1) at:([objectList count]-1) :0]; [objList sizeToFit]; } - - - - - - - - - J. W. Wooten
From: hacker@access.digex.net (Dark Hacker) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Re: What *is* it with Pencom X Windows keycodes (or am I stupid?) Date: 20 May 1993 09:45:51 -0400 Organization: Express Access Online Communications, Greenbelt, MD USA Message-ID: <1tg22f$s71@access.digex.net> References: <1tdbru$2n5@access.digex.net> <C7Av4I.5xD@agedwards.com> In article <C7Av4I.5xD@agedwards.com> cleelacj@agedwards.com (Chris Cleeland) writes: >NOTE: This is posted only because I think it proper to point that Pencom >is most likely not in the wrong in the situation below. > >If you are indeed using keycodes in an X app, then shame on you :-) >*Keycodes* are notoriously non-portable, even between hardware from >the same vendor, revs of X, etc. Every book that I have read on >X programming (most notably the O'Reilly series) has stressed the >point that one should use KeySyms over KeyCodes in every case. If >you, for some reason, believe that KeyCodes are the savior of mankind >and simply must be used, resolve the Sym to its Code and use that. > >If you want to talk about this more, I'll be glad to take it to mail, >give manual pointers, etc. I just wanted to stick up for Pencom at >this point (no association with Pencom, though). I'm not blaming Pencom simply because I don't know if I'm at fault or if it's Pencom's implementation. That's why I'm asking if anyone else out there has had similar experiences. I suspect Pencom because the software I'm using is portable between many other X Windows implementations (as I had pointed out) but not Co-Xist. Also, Pencom's key codes HAVE been out of spec with the X Windows standard (returning codes less than 8) which makes me somewhat suspcious. And I think I am resolving key syms but that's a good point and I should double check it to make sure. So if anyone has had similar experiences with Co-Xist, give me a yell. - Hacker -- Dark Hacker @ Black Silicon, Fortress Of Computation hacker@black-silicon.mclean.va.us "Life itself is... COMPUTATION!"
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: Animation.....no not Disney. Message-ID: <1993May20.103033.13846@ac.dal.ca> Date: 20 May 93 10:30:33 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada on the graphing program I'm working on. I need to make it fast and of high quality. Anthony Grandy Burchill Communication Research Group grandy@192.139.2.131(NeXT) lisag@ac.dal.ca (vax) grandyaw@newton.ccs.tuns.ca (unix)
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: loading a nib file from an inited object. Message-ID: <1993May20.152723.11126@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Thu, 20 May 1993 15:27:23 GMT I've built an app that is supposed to pop up a "Properties Panel" if I click on an object in the view. I can tell that my click is being handled and that the message is being sent to the "Propert" object to alloc and init itself. In the init method of Property, it has: - init { [super init]; [NXApp loadNibSection:"Property" owner:self]; [window makeKeyAndOrderFront:self]; printf("Property window should be on screen\n"); return self; } According to the DL stuff I read, if Property.nib cannot be located in the main app bundle, it should look in the lproj for the proper language (English) for a file named Property.nib and load it. I have such a file in lproj (put it there with PB). I think I have all the connections for the Property.nib correct but I don't get a window and instead get Assertion failed: loadNIBSection: could not find data Property window should be on screen (I'm starting app from command line to see printouts). I've also tried loadNIBFile: and I don't get the Assertion failed message, just no window. Any clues? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: name length restrictions on bundle names? Message-ID: <1993May20.162846.14433@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Thu, 20 May 1993 16:28:46 GMT I'm not sure why, but I just found that a copy of a bundle which had been named MovingObject would not load if named (consistently of course) AvoidingObject, BUT when renamed AvoidObject, it worked fine. What is the actual restriction here? The variable I use for the className is set to className[30], and the classNamePath is set to classNamePath[MAXPATHLEN+1]. - - - - - - - - - J. W. Wooten
From: dbora@ils.nwu.edu (Donald Bora) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.hardware Subject: Terminal problems Date: 20 May 1993 14:13:13 GMT Organization: The Institute for the Learning Sciences Distribution: world Message-ID: <1tg3lp$3ff@anaxagoras.ils.nwu.edu> I just picked up an ampex 230 terminal and am trying to hook it up to my NeXT computer. I was wondering if there is anything special one had to do to get the thing to work. I have set the term to be ampex.. I did the kill -HUP 1... I get nothing but: copyright 1984,1985 amaitix & associates inc. 005436 copyright 1983 ampex corporation rom level 1.2p term 1 adr 04 spd 01 term 2 adr of printer adr 06 spd 02 typ 02 I am pretty lost and anything anything can do to steer me in the right direction would be greatly appreciated. thanks in advance -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Donald F. Bora | | | The Institute for the Learning Sciences | . | O | Northwestern University | (--|--) Evanston, Ill | | e-mail: dbora@ils.nwu.edu | / \ work: (708) 467-1972 | --------Be excellent to each other--------
Newsgroups: comp.sys.next.programmer From: achafir@misha (Alex Chafir) Subject: Re: gcc c++ (2.3.3) and objective-C ... How to mix? Message-ID: <1993May20.153938.406@fnbc.com> Keywords: gcc,c++ Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993May19.180712.15557@cs.uoregon.edu> Date: Thu, 20 May 93 15:39:38 GMT In article <1993May19.180712.15557@cs.uoregon.edu> fstevens@idiotix.cs.uoregon.edu (Fred C Stevens) writes: > Is there any way to compile c++ code using gcc 2.3.3, and then link it > effectively with objective C code (interface builder code). I'm > trying to do this (I'm porting a big C++ program), but when I link > none of the static C++ objects are initialized. > > If I just write a simple C++ driver and use straight text IO, then > the static C++ objects are initialized. But it is rather nasty to > have code you can only use on an ascii terminal. > > If you have any clue how to fix this problem, please send > info to fstevens@cs.uoregon.edu. > > Thanks in advance... -- I watch closely this group postings for about 6 month. I've seen lots of qestions from people who'd like to use C++ code, compiled by an up-to-date C++ compiler (like gcc 2.3.3), combined with Objective-C and who want the full ProjectBuilder support for the combined code. What I've never seen is any reaction or feedback to theese postings from the NeXT programmer's community or NeXT,Corp. It looks like that they don't want even to see the problem, or to understand that NeXT's level of C++ support is entirely inadequate. Currently NeXTSTEP 3.0 still uses an unbelievably ancient version (1.93) of gcc C++ compiler. In NeXTSTEP 3.1 they presented as the invaluable gift gcc-2.2 compiler and libg++-2.3 library, just to look at the code, because it can't even be compiled by the gcc-2.2. It doesn't seem likely that NeXT will ever be able to provide the up-to-date level of support for C++. And furthermore, even if you grab and compile gcc-2.3 or 2.4 on your own, the latest versions of the gdb debugger (gdb-4.8 and 4.9) can't be compiled for next-mach-bsd. So, good luck with C++ on NeXT. -- achafir@fnbc.com
Newsgroups: comp.sys.next.programmer From: pkim@cory.Berkeley.EDU (P. Kim) Subject: ixkit problem Message-ID: <1993May20.175624.22595@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Thu, 20 May 1993 17:56:24 GMT NOTE: i am posting this for a friend so do not send any replies to me. the reply address is at the end of the article. ---------------------------------------------------------------------- Does anybody see anything wrong with this Indexing kit snippet (besides a lack of error checking, I know that!)? This very simply creates an IXStoreFile (through IXRecordManager) if the .store file does not exist yet, and writes into it 10 simple objects. The symptom is that writing seems to work fine, in fact I can read the created .store file with no problems, and fetch back my objects into an IXPostingList. The first time the method is invoked (if the .store file does not exist), it works as expected. If it is called again (i.e. the .store file exists, so we end up creating the IXRecordManager with initFromName:inFile:forWriting: instead of initWithName:inFile:), then it works fine up until I attempt to free the IXRecordManager instance (so that the database will unlock and other processes can write it). The [recordManager free] blows me away with a memory access exception and a stack backtrace looking like this: #0 0xa013bce in -[IXAttribute free] () #1 0xa0140ec in -[IXMethodAttribute free] () #2 0xa039bc4 in _mapFreeValue () #3 0x503425e in NXResetMapTable () #4 0x5033c8a in NXFreeMapTable () #5 0xa0387e2 in -[IXRecordManager free:] () #6 0xa038864 in -[IXRecordManager free] () #7 0x3dc6 in -[Controller dumpToDatabase:] etc... The objects get written into the database just fine. I can fetch them by restarting the program. If I comment out the [recordManager addRecord:obj] line (never writing anything to the IXStoreFile), the free no longer fails. On the other hand, if I comment out the [storeFile commitTransaction] so that I do not commit the records written, the free still fails. If anyone has any ideas what could be causing this, I would appreciate the help. - dumpToDatabase:sender { unsigned handle; int i, j; BogusSave *obj; IXRecordManager *recordManager = NULL; IXStoreFile *storeFile = NULL; recordManager = [[IXRecordManager alloc] initFromName:"TestLocalDatabase" inFile:STOREFILE_PATH forWriting:YES]; if (recordManager) { /* Open the local database. */ [recordManager getBlock:&handle andStore:&storeFile]; } else { /* We need to create a store file. */ recordManager = [[IXRecordManager alloc] initWithName:"TestLocalDatabase" inFile:STOREFILE_PATH]; [recordManager getBlock:&handle andStore:&storeFile]; [recordManager addAttributeNamed:"OurCount" forSelector:@selector(count)]; /* Enable transactions. */ [storeFile startTransaction]; [storeFile commitTransaction]; } [storeFile startTransaction]; for (i = 0; i < 10; i++) { obj = [[BogusSave alloc] init]; for (j = 0; j < i; j++) [obj incCount]; /* Write objects to database! */ [recordManager addRecord:obj]; } [storeFile commitTransaction]; /* Unlock our IXStoreFile. */ if (recordManager) { [recordManager free]; recordManager = NULL; } return self; } charlie conklin mtcoak!cc@netcom.com (NeXTmail preferred)
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: Text on custom View Message-ID: <1993May20.153324.13858@ac.dal.ca> Date: 20 May 93 15:33:24 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada How do you put text with postscript graphics on a custom view? Anthony Grandy...T.U.N.S. EOF]
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.misc,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Expo Schedule partly completed require assistance Date: 20 May 1993 18:11:57 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1tge4t$2ao@steffi.demon.co.uk> cc: cgeiger@next.com Here's my bit for NeXTWORLD Expo In an effort to plan my Expo trip properly I have completed the Developers Conference part of Conrad's post and fully timetabled each conference. Also, I have included some of the lighter activities as well. I would appreciate it if somebody will 1. Comment one how this is, ie. is it visible on a printer? 2. Complete the other parts User Conference User Group stuff. I can provide you with the spreadsheet file if you wish to do this. 3. Check the validity of this and get back to me. If this is done before Sunday I will post it out so everybody can have a copy. 4. If you have already done this properly (Conrad?) already then please post it to the world and NeXTMail it to me. Developers will want to take a look at this and notice the signicant overlaps and clashes there are. To the Expo people It would be great if you could publish what you have done on this before we arrive at Expo. There are a lot of clashes just in the Developer part alone that would be rather hectic to sort out once we are there. I've tried to ensure that this is accurate but you will need Conrads post at Expo. This is just to show you the extent of the clashes in the Developer Conference only. Can you tell I don't use NewsGrazer? :-) begin 644 schedule.ps.Z M'YV0)4)`F=(B")DW8LJTD.$"AH(2):BDH<.FC`X0#TL,D5,F#)TW<BXF:0-' MSAL[&3=VI)/FC1LB'BV"H(*F#H@F8?*`D`$#1(P;.FK8T#&CAL\<.69D-`+R MHLF$<NAD)/)F3)TV9=S08:IUSD44,=V029$12I@S9;R"`$LGZUB?&86\J2,V MC9LS<O%\#3MV:M6K6>F8A5-&SI0T>M)>9%*&3ELY&9_(21/88TLW%Z&`I",G MS,2,3K`X*8.'SI2V<*P4GG/YXHR&&8N('?*F#=:N"N*6.6,7BLDQ4QI??%%G MCIP7;-*(>3&Z].DR<%Z4M"LXS)@U9\NX@#,'Q&N'`1^"&(V%"@C?U.V>.6\= M.UKQJN6P=ND:=@D0M.'DF7P	V+,>2``PXLC%=&>04FX<88+N3VPA=?A$9& M&6;L$0,(=DV(!PAWH%%8&7O`\08<((A(HHE][#&A&7V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L3)B MTU);;4MA//DFINL[O/-+]6T4<#PU1>_Q/<@B_26>J.=[TL>F\)WI+U,=I#(3 MO!#'IE6_P5-3`&_U5_A.X/I:GT@;^*ZOP[W#MSSP=I7L]WP&7Z@=/$5_^A-> MZB<V#(_?@[C7I_L:WK]?4Z?\X3FFY#SQ`O7O1W!:3[2OTZVOE9M<DW=QX);E M$?]S%>5Y=9F35JVJ.%]Y&6?D:+R6<]9L/E7=N.1_ZX9<>09S/!Y3T3@??ZW( M')![?F[.R]VJ+Z?\GA.:]U:P6OK'JC4WJ\85EP=RUF_KWSHHS^20__$CUD[> MM#$Y)\?RQUZ+B_,N_E-??Z$GXQU_FL]R1V[+T2IR[?*VWOF+\=$_S&D;-:]+ MQASUYWYMCOT/?^CWE++_J_Y6[S_]-3\VM_ZYO/Q7<M?OVL*YXL>TC'W*GW." M7=W5>:EDY]X5/A=>'6ODU3P'7Y50ZI4[=^EY?0-=/??035C;37TET%ET#F#2 M9N)A=!*=&C)@X5<'('\%T>%S&6"OI"%1@!H@$(0!0GD=5`&(J#Q8Z1*3-UK- M?RI$24=BG34GEDHG9K5T']9+%]/)6#1="5!C`09:`92UTXTW&<$..-/Y!396 @$)C3Y5BRUM@V9*D%DTM<,!<867@!40?6+5F8U5.3&P"U ` end -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: jimb@access.digex.net (Jim Brooking) Newsgroups: comp.sys.next.programmer Subject: Oracle DBKit Problem Date: 20 May 1993 14:28:54 -0400 Organization: Object oriented Distribution: usa Message-ID: <1tgil6$7d@access.digex.net> I'm having a perplexing time trying to figure out this problem... When attempting to update a record (with [dbModule saveChanges:self]), the adaptor seems to be generating SQL which looks like this: UPDATE DOCUMENTS SET A=X,B=Y,C=Z WHERE ROWID='(null pointer)' This causes the transaction to fail. Does anybody know why ROWID is null? The problem doesn't happen all the time. ROWID isn't a field in the DOCUMENTS table. The adaptor creates it, apparently, and it is usually of the form: '000000D6.0002.0002'. Thanks for any info... -- jimb+@digicon.com | NeXTSTEP Developer | MARRC Cornerworker NeXTMail welcome | Bethesda, Maryland | Summit Point Raceway, WV ----------------------+----------------------------+-------------------------- 1993 Suzuki GSX600FP Katana -- Rubber Side Down, Shiny Side Up
Newsgroups: comp.sys.next.programmer From: lmccullo@nyx.cs.du.edu (Michael McCulloch) Subject: Re: Can't initialize new NeXT optical disks Message-ID: <1993May20.214339.18125@mnemosyne.cs.du.edu> Keywords: od, optical disk Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept. References: <1te11u$o8g@pith.uoregon.edu> Date: Thu, 20 May 93 21:43:39 GMT In article <1te11u$o8g@pith.uoregon.edu> me@galois.uoregon.edu (Boyd ?) writes: > I just got two bran new Optical Disks and neither of them are recognized > by my drive. I put them in and the spin and stop and spin and stop. It > never brings up the "Initialize disk" window. Every time the drive stops > my computer locks. The only way for me to get them out is to go into the > Next> and ej them. > I did have a problem with my drive being dusty but that was quickly fixed. > If you have any ideas on either how to fix the drive problem or how to get > around initializing them from NS. Before I sold my Cube, I had the same problem. The answer? Be patient. Put the OD in the Cube, and go off and do something else for a while. I once had to wait through about 20 spin-ups until the initialize panel popped up. Yeah, I know this is not what you wanted to hear... The problem was worst with the Canon double-sided ODs. -- Michael McCulloch mmcculloch@nebula.tbe.com (NextMail Accepted!) Huntsville, Alabama
From: bchen@cco.caltech.edu (Bing-Qing Chen) Newsgroups: comp.sys.next.programmer Subject: CPU type in 3.1 Date: 20 May 1993 19:06:47 GMT Organization: California Institute of Technology, Pasadena Distribution: na Message-ID: <1tgks7INNb1m@gap.caltech.edu> Anyone knows how to get the info about the current cpu type in 3.1? I could not find any related function calls in the header files or the libraries. Any help will be greatly appreciated. Bing Chen bchen@cco.caltech.edu
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: NeXT Objective-C vs. GNU Objective-C Date: 21 May 1993 00:25:15 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1th7hb$f5j@cs.ubc.ca> It seems odd that there are two independent efforts going on to maintain standardized Objective-C implementations: the GNU way, and the NeXT way. Is NeXT making any effort to consolidate the two? NeXT seems to be missing out on a golden opportunity to spread the acceptance of Objective-C (thus furthering NEXTSTEP's acceptance) by not fully integrating with the GNU project. NeXT should be the official site for the GNU Objective-C implementation. This would mean that: * NeXT could ensure that the latest gcc and gdb releases would always be fully compatible with NEXTSTEP, so that NEXTSTEP developers could always use the latest GNU technology without waiting for major releases from NeXT. * AppKit-independent programs written under NEXTSTEP would be instantly portable to other platforms running recent versions of gcc. * NeXT would have a major influence on the direction and standardizing of the Objective-C language and Standard Classes (i.e. the Common classes). This would also mean that NeXT's compiler development team would be working solely to produce GNU software to be given away for free. More than that, NeXT would have to accept the GNU distribution as authoritative for NEXTSTEP systems, yielding their control of a critical component of their system. By current corporate standards, where suspicion is the rule and "good faith" is all but non-existent, this may seem like bad business, but it seems to me like such a step can only be _good_ business. NeXT isn't out to sell Objective-C implementations; its baby is the AppKit and the NEXTSTEP development environment. They do, however, have a substantial interest in the widespread acceptance of Objective-C. Because of their heavy reliance on it, they also need to be able to influence its development. The most effective way doing this is to actively contribute to the GNU project, rather than by maintaining a proprietary in-house version. (When the source costs $10K, it's proprietary.) By maintaining the official GNU Objective-C site, NeXT can: * ensure that they still have a degree of editorial control over its development and that it is completely compatible with NEXTSTEP. * draw on the vast resources of hundreds of experienced programmers to fix bugs and make improvements. * eliminate the entire problem of keeping current with the GNU distribution. * foster the growth of standardized Common (AppKit- independent) classes that NeXT can take advantage of in their projects. * encourage the use of Objective-C on all systems, giving NEXTSTEP the edge. What do the NeXT compiler folks have to say about this? Of what benefit to NeXT is the current "closed system" policy? -- Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group Dept. of Computer Science, University of British Columbia, Canada
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Is a List class available for gcc 2.4? Date: 21 May 1993 00:27:11 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1th7kv$f5p@cs.ubc.ca> I'm disappointed to find that gcc 2.4 doesn't include versions of NeXT's Common classes: List, Storage, and HashTable. Has anyone written any of these (at least List) that they've made available? It sure would make it easier to port AppKit-independent Objective-C programs to other platforms. -- Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group Dept. of Computer Science, University of British Columbia, Canada
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: CPU type in 3.1 Message-ID: <1993May20.222759.29195@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1tgks7INNb1m@gap.caltech.edu> Distribution: na Date: Thu, 20 May 93 22:27:59 GMT In article <1tgks7INNb1m@gap.caltech.edu> bchen@cco.caltech.edu (Bing-Qing Chen) writes: > Anyone knows how to get the info about the current cpu type in 3.1? > I could not find any related function calls in the header files or > the libraries. Any help will be greatly appreciated. Look for host_info in Digital Librarian. You call this to get the CPU type and other useful tidbits (# CPUs, etc.) > Bing Chen > bchen@cco.caltech.edu -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: andrew@stone.com (Andrew Stone) Subject: To get your Invitation To Stone & Barlow Bash.... Message-ID: <1993May21.025926.1633@stone.com> Keywords: new edge Sender: andrew@stone.com Organization: Stone Design Corp Date: Fri, 21 May 1993 02:59:26 GMT Since everything is running "so close to just in time it's painful", we didn't send mail out any invites. Stop by our booth (# 408) to get one to our party Wednesday night - Thursday dawn. Our way of saying thank you to all of you early adopters and net-friends! andrew -- ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>|| !! Andrew Stone !! (505) 345-4800 !! !! andrew@stone.com <> Stone Design Corp !! ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>||
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: andrew@stone.com (Andrew Stone) Subject: Re: To get your Invitation To Stone & Barlow Bash.... Message-ID: <1993May21.031400.1993@stone.com> Sender: andrew@stone.com Organization: Stone Design Corp References: <1993May21.025926.1633@stone.com> Date: Fri, 21 May 1993 03:14:00 GMT In article <1993May21.025926.1633@stone.com> andrew@stone.com (Andrew Stone) writes: > Since everything is running "so close to just in time it's painful", we > didn't send mail out any invites. We also haven't bothered to sleep, either, so what I meant to say was: "We didn't mail out any invites, so no, we weren't snubbing you!" See you there! -- ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>|| !! Andrew Stone !! (505) 345-4800 !! !! andrew@stone.com <> Stone Design Corp !! ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>||
Newsgroups: comp.sys.next.programmer From: burchard@horizon.math.utah.edu (Paul Burchard) Subject: Re: NeXT Objective-C vs. GNU Objective-C Message-ID: <C7D6Fo.n0F@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota References: <1th7hb$f5j@cs.ubc.ca> Date: Fri, 21 May 1993 06:34:18 GMT In article <1th7hb$f5j@cs.ubc.ca> croehrig@cs.ubc.ca (Chris Roehrig) writes: > > It seems odd that there are two independent efforts going on to > maintain standardized Objective-C implementations: the GNU way, and > the NeXT way. Is NeXT making any effort to consolidate the two? Yes, NeXT has in fact been actively involved with the GNU Objective-C effort---beyond the mere call of duty. For example, it is basically due to NeXT's efforts that Protocols are included in gcc 2.4.0. On the other side, the designers of the GNU runtime have also made a lot of effort to upgrade to something essentially NeXT-compatible. If you are concerned about the direction of GNU Objective-C, I would encourage you to subscribe to the gnu-objc mailing list (I think the address for subscription requests is gnu-objc-request@gnu.ai.mit.edu). > NeXT isn't out to sell Objective-C implementations; its > baby is the AppKit and the NEXTSTEP development > environment. They do, however, have a substantial > interest in the widespread acceptance of Objective-C. After being involved in the GNU Objective-C effort, it is my feeling that the key people at NeXT do understand the importance of spreading the Objective-C religion. Still, there are some aspects of Objective-C that they may want to commercialize; I believe they have stated the intention to commercialize Portable Distributed Objects. This isn't necessarily a bad thing, as robust D.O. is non-trivial and worth good money (e.g., you're already paying thousands for that DBMS server...). Just to whet your appetite with a juicy rumor, though, that doesn't mean there won't ever be GNU Distributed Objects.... -- -------------------------------------------------------------------- Paul Burchard <burchard@geom.umn.edu> ``I'm still learning how to count backwards from infinity...'' --------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: sksircar@phoenix.Princeton.EDU (Subrata Sircar) Subject: PopUpList FAQ entry (first draft) Message-ID: <1993May21.135325.20783@Princeton.EDU> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: SPAMIT Date: Fri, 21 May 1993 13:53:25 GMT This should probably go into the FAQ. Here's my first attempt at a suitable FAQ entry: ***** PopUpLists PopUpLists in the AppKit are actually a collection of objects which together serve as the familiar user interface to a number of choices, only one of which is displayed at a time. There are several pitfalls and tricks to using PopUpLists in the AppKit, some of which are discussed below. In Interface Builder, the object which one can drag into a window or panel is actually a Button whose target is a PopUpList. This button (referred to as a "coverButton") acts as a cover for the PopUpList (referred to as a "popup"), and does the display work. Hence, if you actually want to talk to the popup itself, you must address your messages to the coverButton's target. The following sample is taken from the AppKit documentation for PopUpList in 3.0: >>>>> - awakeFromNib { [super awakeFromNib]; if (![popup isKindOf:[PopUpList class]]) popup = [popup target]; /* other setup code */ return self; } >>>> The popup can then be manipulated directly. [I prefer the -setOutlet:anObject method of connection myself, since this allows me to perform this action as soon as the outlet variable is valid, avoiding the possibility of messaging the coverButton instead of the popup.] To create a PopUpList programmatically, you must also create an object to act as its trigger (usually a Button or ButtonCell) and attach the two. The procedures is discussed in the documentation for PopUpList, under "Creating a PopUpList Programmatically", as well as NeXTAnswers' appkit.503. PopUpList itself is a collection of a matrix of cells and inherits from Menu. This means that if the popup sends a target/action message, the "sender" argument to the resulting method is *not* the id of the popup, but the id of the underlying matrix. This can be both confusing and powerful, depending on which entity you wish to manipulate. More about this is discussed in the PopUpList documentation under the heading "Working with a PopUpList". This collection of objects results in several bits of peculiar behavior. One is that the title of the coverButton is normally kept in sync with the selected item in the popup. However, if the title of the coverButton is set directly, that will not update the selected item in the popup. For example, given a tag and the ids of both the button and popup: id matrix = [myPUList itemList]; [matrix selectCellWithTag:tag]; [coverButton setTitle:[[matrix selectedCell] title]]; will keep both the popup and the coverButton in sync. NeXTAnswers appkit.639 implies that all that is necessary is to set the title of the coverButton, but if you then ask the PopUpList for its selectedItem, it will return the item currently selected in the matrix, which is not changed by a setTitle: message to the coverButton. Another matter to remember is that if you change the title of the coverButton to an entry not in the popup, that entry will be added to the popup whenever the popup:trigger method is next sent. (See the documentation for that method for further details). Enabling and disabling PopUpLists is also somewhat problematic. I have found that the best way to disable/enable a popup is to enable/disable the underlying matrix and the coverButton, so as to make sure that the matrix doesn't continue to think that it is active. To enable specific entries/titles in the popup, I manipulate the underlying matrix to enable or disable the corresponding cells. [Because of this, I find it handy to use tags instead of cell titles.] This implementation also means that simply freeing the coverButton will not free the popup. If you free the coverButton without freeing its target, there will be pointers to the popup in the application's windowList, and this could eventually cause the application to crash. The workaround is to explicitly free the popup whenever the coverButton is freed. I've written a "wrapper" for PopUpList with which I communicate. Using this object ensures that the above behavior is taken into account. When I figure out how to do so "nicely", I'll turn it into a palette and put it on the archives. If you have any further questions, let me know and I'll try to answer them. ***** Please add your own comments, questions, code samples, etc. --- Subrata Sircar|ssircar@canon.com (NextMail ok)|Prophet & SPAMIT Charter Member Canon Information Systems and I do not share the same views on everything. "I'm just mad that I missed the sexual revolution." - me "Yes, but you dress much better as a result." - Mike -- Subrata Sircar | ssircar@canon.com | Prophet & SPAMIT Charter Member Canon Information Systems and I do not speak for each other on all things. "I wish people wouldn't instantly assume that I am an idiot." (Valentine) "A restaurant is a whorehouse that does food instead of sex." (Roger Lustig)
Control: cancel <21MAY93.15385203@enh.nist.gov> Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Delete news item. Message-ID: <21MAY93.15580882@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Fri, 21 May 1993 20:58:08 GMT This article was probably generated by a buggy news reader.
From: rogata@is-next.umd.edu (Richard Scott Ogata) Newsgroups: comp.sys.next.programmer Subject: Re: loading a nib file from an inited object. Date: 21 May 1993 14:59:47 GMT Organization: Los Alamos National Laboratory, NM Message-ID: <1tiqp3$5fv@umd5.umd.edu> References: <1993May20.152723.11126@ornl.gov> In article <1993May20.152723.11126@ornl.gov> woo@ornl.gov writes: >In the init method of Property, >it has: > >- init >{ > [super init]; > [NXApp loadNibSection:"Property" owner:self]; ^^^^^^^^ Change the above to "Property.nib" and it should work. Kinda stupid, I know. 8-( > [window makeKeyAndOrderFront:self]; > printf("Property window should be on screen\n"); > return self; >} > >I have such a file in lproj (put it there with PB). >I think I have all the connections for the Property.nib correct but I >don't get a window and instead get > >Assertion failed: loadNIBSection: could not find data >Property window should be on screen > >(I'm starting app from command line to see printouts). > >I've also tried loadNIBFile: and I don't get the Assertion failed >message, just no window. > >Any clues? Rich Ogata
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: PSshow inverts my text...WHY :( Message-ID: <1993May21.120757.13886@ac.dal.ca> Date: 21 May 93 12:07:57 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hello again..PSshow puts my text on my custom views...BUT inverted (like in a mirror)...how can I fix this? please help! Anthony Grandy T.U.N.S. lisag@ac.dal.ca
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT Objective-C vs. GNU Objective-C Date: 21 May 1993 17:56:37 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <1tj54l$jq1@cs.ubc.ca> References: <C7D6Fo.n0F@news2.cis.umn.edu> In article <C7D6Fo.n0F@news2.cis.umn.edu> burchard@horizon.math.utah.edu (Paul Burchard) writes: :>Yes, NeXT has in fact been actively involved with the GNU :>Objective-C effort---beyond the mere call of duty. For example, it :>is basically due to NeXT's efforts that Protocols are included in :>gcc 2.4.0. :>On the other side, the designers of the GNU runtime have also :>made a lot of effort to upgrade to something essentially :>NeXT-compatible. :>Still, there are some aspects of Objective-C that they may want :>to commercialize; I believe they have stated the intention to :>commercialize Portable Distributed Objects. :>Just to whet your appetite with a juicy rumor, though, that doesn't :>mean there won't ever be GNU Distributed Objects.... That's just my point: each side (GNU, NeXT) is playing "catch-up" with the other to remain compatible. I'm not saying NeXT is not contributing to GNU; they certainly have. But it would make more sense for both parties concerned to have NeXT contributing _directly_ to the GNU project, so that the latest GNU release not only is the authoritative compiler for NEXTSTEP, but also includes *all* of NeXT's Objective-C implementation. NeXT may have to spend extra effort working with others to ensure that Objective-C works on other platforms for each GNU release, but that would be easily balanced by the fact that they'd always have a current GNU implementation, and would never have to spend effort integrating their changes with the GNU version, eliminating this whole "catch-up" problem. And that the entire 'net would be involved in maintaining their compiler. And that they wouldn't be left behind by being incompatible with "GNU Distributed Objects". -- Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group Dept. of Computer Science, University of British Columbia, Canada
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Sudden Confusion on superClasses Instance variables Message-ID: <1993May21.185944.13417@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Fri, 21 May 1993 18:59:44 GMT Thanks for all the suggestions on the problem of loading the nib section. The problem turned out to be that the nib file was not in the project via the project builder, but was located in the English.lproj. The documentation seems to imply it'll look there, but when I included it into the PB and then re made it, it worked "Property.nib" style. Now, sudden confusion... Class has instance variable char *type; in the Classes -init method type = NXCopyStringBuffer("Generic"); Then in a subclass, I have in the init method [super init]; free(type); type = NXCopyStringBuffer("Special"); later when I ask for the type from the "Special" subclass, I get "Generic". I did not overwrite the type method which returns type. Was Gibts? - - - - - - - - - J. W. Wooten
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: fedor@csn.org (Adam Fedor) Subject: Re: NeXT Objective-C vs. GNU Objective-C Message-ID: <1993May21.182345.2147@colorado.edu> Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado, Boulder References: <1th7hb$f5j@cs.ubc.ca> Date: Fri, 21 May 1993 18:23:45 GMT In article <1th7hb$f5j@cs.ubc.ca> croehrig@cs.ubc.ca (Chris Roehrig) writes: > > >It seems odd that there are two independent efforts going on to >maintain standardized Objective-C implementations: the GNU way, and >the NeXT way. Is NeXT making any effort to consolidate the two? > Actually, there are three efforts. Don't forget Stepstone... >NeXT seems to be missing out on a golden opportunity to spread the >acceptance of Objective-C (thus furthering NEXTSTEP's acceptance) by >not fully integrating with the GNU project. NeXT should be the >official site for the GNU Objective-C implementation. This would [munch] > * NeXT would have a major influence on the direction and >standardizing of the Objective-C language and Standard Classes (i.e. >the Common classes). > Well I hate to be a spoil sport, because I agree with most of the post, but NeXT already has a major influence on the direction and standardization of Objective-C. Most of the improvements and changes in the new GNU Obj-C were made to be compatible with NeXT's Obj-C. I doubt any other company has written more lines of Obj-C code and is in a better position to direct the change of Obj-C (and they have). By doing this, they don't constrain themselves to programming within a framework that may be to rigid. Of course this may change in the future as Obj-C becomes more accepted and other people have the opportunity to suggest improvements based on more extensive experience. -- Adam Fedor. CU, Boulder | Fudd's Law of Opposition: Push something fedor@boulder.colorado.edu (W) | hard enough and it will fall over. adam@bastille.rmnug.org (H,NeXTMail)|
From: blake015@mc.duke.edu (Denise Blakeley) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: What source/version control software is available? Message-ID: <15220@news.duke.edu> Date: 21 May 93 19:27:54 GMT Sender: news@news.duke.edu Followup-To: comp.sys.next.programmer On NeXTSTEP development projects involving more than a couple of people, coordination of changes gets to be a headache. What source/version control software is everyone using? I know of RCS, SCCS, and GNU CVS, but have heard mixed opinions about all of them. I'd appreciate any advice on what to use. We need _something_ before we get burned, but we don't want to spend a lot of time managing the source manager, either! Maybe somebody is writing a NeXT app that will not only revolutionize source control but handle nibs as easily as headers?!? Thanks-- Denise -- Denise Blakeley | PROGRAM, tr. v., An activity similar Duke Med Center Info Systems | to banging one's head against a wall, Durham, NC | but with fewer opportunities for (919) 282-6468 W | reward. blake015@mc.duke.edu |
Newsgroups: comp.sys.next.programmer From: robin (Robin D. Wilson) Subject: windowDidMove doesn't seem to happen... Message-ID: <1993May21.140605.24192@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Fri, 21 May 1993 14:06:05 GMT I am having a small problem with 'windowDidMove'. According to Digital Librarian, "Invoked when the user finishes moving the sender Window". Likewise, the 'windowDidResize' is "Invoked when the user finishes resizing the sender Window". In my app, I implement a 'windowDidResize' AND and 'windowDidMove'. I get the 'windowDidResize' just fine, but I never get any 'windowDidMove' messages. What gives? (Right now, I am just trying to pop an "NXRunAlertPanel" when I get the "windowDidMove". I do other things in the 'windowDidResize', so I know it's working.) Anybody have any ideas? -- robin "Batman really hates 'bats', but 'Frogman' was already taken..." robin@pencom.com Standard Disclaimer #37...
Newsgroups: comp.sys.next.programmer From: shill@ccsi.com (Sean L. Hill) Subject: getting the tag of the supermenucell Message-ID: <1993May21.190224.1152@ccsi.com> Sender: shill@ccsi.com Organization: Crystal Computer Systems, Inc. Date: Fri, 21 May 1993 19:02:24 GMT Hi I am trying to figure out a way to get the tag of the supermenu's cell that sent the message to open a particular submenu. This seems to require getting the menu id from the sender matrix. I can get the supermenu from the menu object. But I want to reverse transverse the menu structure to find out the cells that activated the submenus to get to the currently selectedCell. ANY IDEAS? This would make life possible on a complex project. Thanks! -sean --- Sean L. Hill Ergo Science Incorporated shill@ccsi.com Compuserve: 73667,3355 -- Sean L. Hill Ergo Science Incorporated shill@ccsi.com Compuserve: 73667,3355
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: NeXT Objective-C vs. GNU Objective-C Message-ID: <67835@mimsy.umd.edu> Date: 21 May 93 21:17:01 GMT References: <1th7hb$f5j@cs.ubc.ca> Sender: news@mimsy.umd.edu Followup-To: comp.lang.objective-c Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1th7hb$f5j@cs.ubc.ca> croehrig@cs.ubc.ca (Chris Roehrig) writes: > It seems odd that there are two independent efforts going on to > maintain standardized Objective-C implementations: the GNU way, and > the NeXT way. Is NeXT making any effort to consolidate the two? NeXT donated their compiler mods to the FSF and according to the early reports from the FSF effort were supportive. How much further can you expect them to go, other than to try to keep merged and as up to date as possible? > NeXT should be the official site for the GNU Objective-C implementation. I doubt the Free Software Foundation would cede control over gcc to NeXT. They would certainly welcome cooperation on technical matters and contributions. dont sweat, they are getting closer over time. if anything, I would expect NeXT to stop making gcc/gdb mods at some point and just leave it all in FSF's hands. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: herring@iesd.auc.dk (B. Erickson Herring) Subject: Re: Is a List class available for gcc 2.4? In-Reply-To: croehrig@cs.ubc.ca's message of 21 May 1993 00:27:11 GMT Message-ID: <HERRING.93May22004440@fermat.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1th7kv$f5p@cs.ubc.ca> Date: 21 May 1993 23:44:40 GMT Chris> I'm disappointed to find that gcc 2.4 doesn't include versions of Chris> NeXT's Common classes: List, Storage, and HashTable. Has anyone Chris> written any of these (at least List) that they've made available? Chris> It sure would make it easier to port AppKit-independent Objective-C Chris> programs to other platforms. Efforts are underway to produce a class library to use with the compiler. I do not know what degree of NeXT compatibility is intended, but I can assure you that your kind offer to help is appreciated -- please do HashTable. If you begin now, you should be done by the time gcc-2.5 goes out the door. Erick -- ----- Erick Herring | Computation is the art of carefully throwing H Data, Aalborg | away information [and] Life is the art of UNIX Consulting | carefully throwing away opportunities, an SysAdmin & Programming | interesting coincidental parallel. herring@iesd.auc.dk | - Guy L. Steele Jr.
From: Lennart_Lovstrand@NeXT.COM Newsgroups: comp.sys.next.programmer Subject: Re: CPU type in 3.1 Date: 22 May 1993 02:45:44 GMT Organization: NeXT Computer, Inc. Message-ID: <1tk44p$i04@efficacy.home.vix.com> References: <1tgks7INNb1m@gap.caltech.edu> <1993May20.222759.29195@fnbc.com> In article <1993May20.222759.29195@fnbc.com> drew@fnbc.com writes: >In article <1tgks7INNb1m@gap.caltech.edu> bchen@cco.caltech.edu (Bing-Qing >Chen) writes: >> Anyone knows how to get the info about the current cpu type in 3.1? >> I could not find any related function calls in the header files or >> the libraries. Any help will be greatly appreciated. > >Look for host_info in Digital Librarian. You call this to get the CPU type a! >other useful tidbits (# CPUs, etc.) There is also a new API called NXArchInfo that is useful for mapping between architecture names and their properties. NXLocalArchInfo() will return the local architecture. Do "man 3 arch" for more info. --Lennart -- (require 'disclaimer) ;; Speaking for, by, with, and behalf of myself (multiple-value-list 'lennart_lovstrand@next.com 'software-engineering 'next-computer-inc)
From: jjfeiler@relief.com (John Jay Feiler) Newsgroups: comp.sys.next.programmer Subject: Re: Is a List class available for gcc 2.4? Message-ID: <1993May22.040938.18432@relief.com> Date: 22 May 93 04:09:38 GMT Article-I.D.: relief.1993May22.040938.18432 References: <1th7kv$f5p@cs.ubc.ca> Sender: jjfeiler@relief.com Organization: relief consulting In article <1th7kv$f5p@cs.ubc.ca> croehrig@cs.ubc.ca (Chris Roehrig) writes: > > I'm disappointed to find that gcc 2.4 doesn't include versions of > NeXT's Common classes: List, Storage, and HashTable. Has anyone > written any of these (at least List) that they've made available? > It sure would make it easier to port AppKit-independent Objective-C > programs to other platforms. The following message just went out over the gnu-objc mailing list: Date: Fri, 21 May 93 18:59:26 -0400 From: mccallum@cs.rochester.edu To: gnu-objc@gnu.ai.mit.edu Subject: Alpha release of Objective-C Collection library Here's the README. Enjoy. I look forward to your feedback. -- Andrew ------------------------------------------------------------------ Alpha Release of the Collection Library for GNU Objective-C WARNING: This library has not been tested, and I would be surprised if it were usable at this point. I am making it public now in order to get feedback on design issues. ------------------------------------------------------------------ * Where can you get it? By anonymous ftp at iesd.auc.dk:pub/ObjC/libcoll-??????.tar.z, where ?????? is some string of numbers specifying its date. [For a brief time (until we can get some file permission issues worked out at iesd.auc.dk), libcoll will also be available by anonymous ftp at: cs.rochester.edu:pub/libcoll-930521.tar.z ------------------------------------------------------------------ * What is the Collection library? It's a library of Objective-C objects with similar functionality to Smalltalk's Collection objects. It includes: Set, Bag, Array, LinkedList, LinkList, CircularArray, Queue, Stack, SortedArray, MappedCollector, GapArray and DelegateList. Outside of its main heirarchy it also includes List, HashTable and Storage objects compatible with NeXT's objects of the same name. The library is built around several protocols: Here are some explanatory comments from the protocol .h files: The <Collecting> protocol is root of the collection protocol heirarchy. The <Collecting> protocol defines the most general interface to a collection of elements. Elements can be added, removed, and replaced. The contents can be tested, enumerated, and copied with various modifications. Elements may be objects, or any C type included in the "elt" union given below, but all elements of a collection must be of the same C type. [NOTE: for examples see Set and Bag.] The <KeyedCollecting> protocol inherits from the <Collecting> protocol. The <KeyedCollecting> protocol defines the interface to a collection of elements that are accessible by a key, where the key is some unique element. Pairs of (key element, content element) may be added, removed and replaced. The the key and value contents may be tested, enumerated and copied. [NOTE: for examples see Dictionary and MappedCollector.] The <IndexedCollecting> protocol inherits from the <KeyedCollecting> protocol. The <IndexedCollecting> protocol defines the interface to a collection of elements that are accessible by a key that is an index, where the indeces in a collection are a contiguous series of unsigned integers beginning at 0. This is the root of the protocol heirarchy for all collections that hold their elements in some order. Elements may be accessed, inserted, replaced and removed by their index. [NOTE: for examples see Array and LinkList.] The <ComparedCollecting> protocol inherits from the <IndexedCollecting> protocol. The <ComparedCollecting> protocol defines the interface to a collection of elements whose sequence is affected by some comparison operator. [NOTE: for an example see SortedArray.] The <ListLinking> protocol defines the interface to an object that may be an element in a LinkList. LinkList is a collection object based on a doubly linked list. [NOTE: for an example see ListLink.] Here is the object inheritance heirarchy. All collection abtract superclasses (classes which are not usable without subclassing) end with "Collection"; all protocols end with "ing"; all collection protocols end with "Collecting". Collection <Collecting> Set Bag KeyedCollection <KeyedCollecting> Dictionary MappedCollector IndexedCollection <IndexedCollecting> Array Stack GapArray CircularArray Queue SortedArray <ComparedCollecting> LinkList LinkedList ListLink <ListLinking> EltListLink DelegateList HashTable List Storage ------------------------------------------------------------------ * The design philosophy. Objective C is not Smalltalk. Differences that matter to the Collection heirarchy: - There can be only one set of argument types with each selector. (For instance in Objective C we can't have "-(double)data" and "-(char)data". I can't stand it when some library that I'm forced to load already defines a selector that I want to use with different types.) This isn't an issue in Smalltalk because everything is an object. * I make the Collection method names a little more descriptive, while keeping them close to Smalltalk. (For instance I think there is a good reason for using "-addObject:" instead of "-add:") - We will want collections of int's, float's, and other non-Objects. Using Objective C wrappers around these C primitive types (i.e. Integer and Float objects) is not an efficient enough option for all cases. * We could create two parallel heirarchies, one for Objects and one for elements passed as void*, but since so much of the functionality overlaps, I have merged them, and it doesn't actually look all that bad. - Objective C doesn't have Smalltalk Blocks. * Passing selectors and pointers to functions are both reasonable substitutes. I make both options available. They are distinguished as "-detectByCalling:" and "-detectByPerforming:", for example. - Smalltalk does automatic garbage collection; Objective C doesn't. * I think it should be made obvious which methods allocate a new object. Hence "-shallowCopyAs:[Bag class]" instead of "as:[Bag class]", and "-shallowCopySelect..." instead of "-select...". - We have usable Collection classes (Set, Bag, Array, etc) with functionality matching Smalltalk's objects, but there are good reasons for not having the abstract superclass structure match Smalltalk exactly. ------------------------------------------------------------------ * If you have any suggestions or bug reports, please contact: R. Andrew McCallum ARPA: mccallum@cs.rochester.edu Computer Science Department UUCP: uunet!cs.rochester.edu!mccallum University of Rochester VOX: (716) 275-2527 Rochester, NY 14627-0226 FEET: CSB Rm. 625 > > -- > Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group > Dept. of Computer Science, University of British Columbia, Canada -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-4433 Independent NeXTSTEP Developer
From: otto@coactive.com (otto lind) Newsgroups: comp.sys.next.programmer Subject: Re: gcc c++ (2.3.3) and objective-C ... How to mix? Date: 22 May 1993 03:44:00 GMT Organization: Coactive Aesthetics Inc. Message-ID: <1tk7i0INN976@disc.coactive.com> References: <1993May20.153938.406@fnbc.com> In article <1993May20.153938.406@fnbc.com> achafir@misha (Alex Chafir) writes: > It doesn't seem likely that NeXT will ever be able to provide the > up-to-date level of support for C++. And furthermore, even if you grab and > compile gcc-2.3 or 2.4 on your own, the latest versions of the gdb > debugger (gdb-4.8 and 4.9) can't be compiled for next-mach-bsd. > > So, good luck with C++ on NeXT. Sigh... It just got worse with the release of gcc-2.4.0. The compiler will emit debug info that gdb (3.95) can't deal with. So, you are forced to compiled with -gstabs, which results in severely brain damaged debug info. I'm thinking it's time to get rid of my NeXT and get another system with better support. -- Otto Lind Coactive Aesthetics otto@coactive.com P.O. Box 425967, San Francisco, CA 94142 netcom!coactive!otto voice:(415)626-5152 fax:(415)626-6320
From: wilson@mimsy.umd.edu (Anne Wilson) Newsgroups: comp.sys.next.misc,comp.sys.next.software,comp.sys.next.programmer Subject: Follow up: Scrollback buff in Terminal floods, machine crashes Message-ID: <67850@mimsy.umd.edu> Date: 22 May 93 15:40:31 GMT Followup-To: comp.sys.next.misc Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Many thanks to those who responded to my posting of two weeks ago about the scrollback buffer in the Terminal app filling up and crashing the machine. Here's the scoop: (1) The size of the scrollback buffer can be set in 3.0 but not 2.0. (2) There is some shareware available for about $40 called Stuart.app, available at one of the archive sites, in which you can set the size of the scrollback buffer. Several people mentioned they like this better than Terminal (I haven't tried this yet.) Thanks again! Anne
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware From: ali@elm.uucp (Ali Sidani) Subject: Help!! File System FULL Message-ID: <1993May22.162821.7977@cs.ucf.edu> Sender: news@cs.ucf.edu (News system) Organization: Intelligent Simulation and Training Systems Date: Sat, 22 May 1993 16:28:21 GMT Hi, I have a NeXTStation 8/200 with NS 3.0. I was running some programs and it hanged. I tried to reboot then after the checking disk said "File system clean", it gave the following error. /: File system full IO error on pageout: error = 28 vnode_pageout: failed! How can I correct this problem? I need to delete some files on the system, but how can I get access to the harddisk? Your assistance is greatly appreciated. Please reply ASAP :-( thanks ali
Newsgroups: comp.sys.next.programmer From: M_Carling@BlueRose.com (M Carling) Subject: Re: NeXT Objective-C vs. GNU Objective-C Message-ID: <1993May21.181221.11198@bluerose.com> Sender: m@bluerose.com Organization: Blue Rose Systems, Inc. References: <1th7hb$f5j@cs.ubc.ca> Distribution: na Date: Fri, 21 May 1993 18:12:21 GMT In article <1th7hb$f5j@cs.ubc.ca> croehrig@cs.ubc.ca (Chris Roehrig) writes: [Why NeXT should give their ObjC implementation to GNU] They already have. M Carling President, Bay Area NeXT Group
From: mcgredo@nntp.crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Re: changing the cursor's location Date: 18 May 1993 22:45:14 -0700 Organization: CRL Internet Dialup Access (415-389-UNIX login: guest) Message-ID: <1tchha$8qo@crl.crl.com> References: <1993May18.005759.20819@beaver.cs.washington.edu> In article <1993May18.005759.20819@beaver.cs.washington.edu> hinshaw@cs.washington.edu (Kevin Hinshaw) writes: > >My situation is the following: the user wants to add points to a partially >drawn curve, and there is a threshold on how close the cursor must be >to an endpoint before points will be added. It would be nice to have >the cursor actually move to the endpoint once it's "close enough" to it. > I'd avoid that solution, from a UI standpoint. (Just got off a Sun, where the mouse pointer was moving all over the place in scroll bars and elsewhere, and I found it disconcerting.) The mouse pointer is supposed to be under the control of the user, according to the holy writ of the Apple Desktop Interface guidelines. I think the NeXT follows the same conventions. Why not just have the line react _as if_ the mouse pointer was within tolerance? So if you click within x pixels of the endpoint the point gets added to the line, even if the mouse pointer isn't exactly on top of it. Lots of people do something similar to this for hit-testing lines. -- Don McGregor | Prodigy is to USENET as croquet is to mcgredo@crl.com| professional wrestling.
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: krab@iesd.auc.dk (Kresten Krab Thorup) Subject: Re: Is a List class available for gcc 2.4? In-Reply-To: croehrig@cs.ubc.ca's message of 21 May 1993 00:27:11 GMT Message-ID: <KRAB.93May22200837@xiv.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1th7kv$f5p@cs.ubc.ca> Date: 22 May 1993 19:08:36 GMT >>>>> On 21 May 1993 00:27:11 GMT, croehrig@cs.ubc.ca (Chris Roehrig) said: Chris> I'm disappointed to find that gcc 2.4 doesn't include versions of Chris> NeXT's Common classes: List, Storage, and HashTable. Has anyone Chris> written any of these (at least List) that they've made available? Chris> It sure would make it easier to port AppKit-independent Objective-C Chris> programs to other platforms. Beta releases of the GNU Objective C Collection library is available from iesd.auc.dk:/pub/ObjC/libcoll-SOME_DATE.tar.z This library contains NeXT compatible implementations of List, HashTable and Storage, but the primary content is a Smalltalk like collection library including Set, Bag, Dictionary, LinkedList, LinkList, Array, CircularArray, GapArray, Stack, Queue, MappedCollector and DelegateList. All classes handle both simple types and objects in the style of NeXT's HashTable. As of now it should not be considered stable for production use, but we'd surely like any kind of input on it. It will get much better if *you* help. /Kresten -- [Kresten krab: Thorup] | / | E-mail : krab@iesd.auc.dk Dept. for Math and Computer Sc. | ,-'/( | S-mail : Sigrid Undsetsvej 226A Aalborg University | / | \ | 9220 Aalborg \O Fr. Bajers vej 7, DK-9220 Aalb | A U C | Denmark ------------------------------------------------------------------------------- Member of The League for Programming Freedom
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware From: karthy@dannug.dk (Karsten Thygesen) Subject: Re: Help!! File System FULL In-Reply-To: ali@elm.uucp's message of Sat, 22 May 1993 16:28:21 GMT Message-ID: <KARTHY.93May22204008@dannug.dannug.dk> Sender: news@dannug.dk (Usenet news owner) Organization: Dannug - Danish NeXT Users Group References: <1993May22.162821.7977@cs.ucf.edu> Date: Sat, 22 May 1993 19:40:08 GMT >>>>> On Sat, 22 May 1993 16:28:21 GMT, ali@elm.uucp (Ali Sidani) said: Ali> Hi, Ali> I have a NeXTStation 8/200 with NS 3.0. I was running some programs Ali> and it hanged. I tried to reboot then after the checking disk said Ali> "File system clean", it gave the following error. Ali> /: File system full Ali> IO error on pageout: error = 28 Ali> vnode_pageout: failed! Ali> How can I correct this problem? I need to delete some files on the system, Ali> but how can I get access to the harddisk? Ali> Your assistance is greatly appreciated. Ali> Please reply ASAP :-( You has been offer to the usual problem. The swapfile has grown beyond bounds and filled the harddisk to mush. There is only one thing to do: boot from another device like CD, floppy or borrow another harddisk, then remove the swapfile (/private/vm/swapfile) and reboot. To ensure that it will not happen again, you can install a highwater mark in /etc/swaptab - take a look at the manual page. Good luck, Karsten.
Newsgroups: comp.sys.next.programmer From: olson@dalek.mcs.anl.gov (Bob Olson) Subject: Anyone know about libFaxD.a? Message-ID: <73811035422784@dalek.mcs.anl.gov> Sender: usenet@mcs.anl.gov Organization: Argonne National Laboratory, Chicago, Illinois Date: Sat, 22 May 1993 22:39:13 GMT I've been gazing at the guts of the FaxReader.app/fax server relationship a bit, and am entranced by this: (fazer) % nm -g /usr/lib/NextPrinter/libFaxD.a |grep ' [DT] ' .. 00000000 T _faxConnect 000003ca T _faxList 00000172 T _incomingFax .. Does anyone know if there is any documentation on this interface? I assume that if there is a library included on the machine, we might be able to make use of it. Also, does anyone know what the network conversations between fax clients and the server look like? I notice that the client always connects to TCP port 2453 on the fax server, connecting from port 2622. One of the things that I want to do is write a fax access program that will run on non-NeXT platforms. If I can use NeXT's fax server to do so, that'll save me from writing one. --bob
Newsgroups: comp.sys.next.programmer From: chuck@nighthawk.jhuapl.edu (Chuck Waltrip) Subject: Help with a Browser Message-ID: <C7Gorn.E57@netnews.jhuapl.edu> Sender: usenet@netnews.jhuapl.edu Organization: JHU/Applied Physics Laboratory Date: Sun, 23 May 1993 04:06:58 GMT My son is working on a program and has run into a problem. I haven't done enough NEXTSTEP programming to help him so am hoping someone out there will be kind enough to offer help. He states his problem below. Environment: NEXTSTEP 3.0; Project Builder; Interface Builder. Problem: Trying to make a browser work. My browser is a "normal" browser as opposed to "lazy" or "very lazy" and it uses the browser:fillMatrix... method to load its cells. The browser characteristics are defined in initBrowser. browserHit is a method set to be the browser's action via the setAction:action message of initBrowser. My problem is this: from reading the NXBrowser documentation, it appears that simply clicking on a cell or in a column of the browser should cause the browser's action (browserHit, in my case) to be sent. However, this action is never sent as a result of simply clicking the browser cell (which does select the cell) but must be followed by a keyboard carriage return. The relevant (I think) code fragment follows. Any help would be greatly appreciated. - initBrowser:sender { SEL action; const char *astring; NXBrowserCell *aCell; id matrix; action = @selector(browserHit:); [GroupsBrowser setEnabled:YES]; [GroupsBrowser setMaxVisibleColumns:1]; [GroupsBrowser setTarget:self]; [GroupsBrowser setAction:action]; [GroupsBrowser setDoubleAction:action]; [GroupsBrowser useScrollButtons:YES]; [GroupsBrowser useScrollBars:YES]; [GroupsBrowser setDelegate:self]; [GroupsBrowser loadColumnZero]; [GroupsBrowser displayColumn:0]; return self; } - browserHit:sender { id matrix; id window; id cell; id editor; int col = 0; int row = 0; int fd; const char *plus; const char *newstring; [groupsField setStringValue:[[[GroupsBrowser matrixInColumn:0] selectedCell] stringValue]]; [GroupsBrowser sendAction:@selector(browserHit:) to:self]; return self; } - browser:sender fillMatrix:matrix inColumn:(int)column { struct group *grp; char grpname[80]; char **grpmem; const char *username; char *astring; char *append = "\0"; int cellcount = 0; gid_t egid; int groupid; id cell; int row = 0; int col = 0; int len = 0; username = NXUserName(); egid = getegid(); while ( grp = getgrent()) { groupid = (*grp).gr_gid; if (egid == groupid) { strcpy(grpname,(*grp).gr_name); setgrent(); endgrent(); break; } } [matrix setMode:NX_RADIOMODE]; [matrix setEmptySelectionEnabled:YES]; while (grp = getgrent()) { grpmem = (*grp).gr_mem; while (*grpmem) { if (strcmp(username,*grpmem) == 0) { astring = (*grp).gr_name; [matrix addRow]; cell = [matrix cellAt:row:col]; [cell initTextCell:astring]; [cell setEnabled:YES]; [cell setLoaded:YES]; [cell setLeaf:YES]; [cell setSelectable:YES]; [cell setEditable:NO]; if (strcmp(grpname,astring) == 0) { [matrix selectCellAt:row :col]; [groupsField setStringValue:astring]; } cellcount++; row++; } grpmem++; } } setgrent(); endgrent(); return cellcount; } -- _/_/_/_/ _/_/_/__/ _/ _/ _/ _/ _/_/_/_/_/_/_/_/_/ _/ _/_/_/_/ _/ cfwaltrip _/ _/_/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ _/_/_/ _/ _/ _/_/_/_/ _/ _/_/_/_/ _/NeXTmail: <chuck@nighthawk.jhuapl.edu>_/ _/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ _/_/_/_/_/ _/ _/ _/ _/
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.programmer Subject: Why doesn't NeXT adopt the GNU compiler? Date: 22 May 1993 22:06:59 -0700 Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Distribution: na Message-ID: <1tn0pjINN10v@jax.cs.ubc.ca> References: <1th7hb$f5j@cs.ubc.ca> <1993May21.181221.11198@bluerose.com> In article <1993May21.181221.11198@bluerose.com> M_Carling@BlueRose.com (M Carling) writes: >In article <1th7hb$f5j@cs.ubc.ca> [NeXT Objective-C vs GNU Objective-C] >croehrig@cs.ubc.ca (Chris Roehrig) writes: > >[Why NeXT should give their ObjC implementation to GNU] > >They already have. > Sigh. I wasn't suggesting that NeXT hasn't contributed to GNU, or that they haven't been very cooperative. But while the NEXTSTEP compiler is *based* on the GNU compiler, it IS NOT the GNU compiler. What I was suggesting is that NeXT fully adopt the *GNU* compiler. Which means that when I ftp gcc2.4, I get the latest *NEXTSTEP* compiler. This sounds like it would be much less hassle for both NeXT (who wouldn't have to play "catch-up" with GNU) as well as the GNU Objective-C community (who wouldn't have to play "catch-up" with NeXT), and would greatly benefit both. After all, it does appear as if both groups intend to remain compatible with each other. Why not eliminate the distinction? And I can't think of a reason why NeXT would not do this, except for the corporate fear and suspicion of giving up control over a critical system component to another organization. My previous post argued that this fear was unjustified and the benefits outweighed any apparent risk. It's not like NeXT could ever lose money to or get screwed by FSF: the FSF represents the very same community of developers that NeXT is catering to. --- Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group Dept. of Computer Science, University of British Columbia, Canada -- Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group Dept. of Computer Science, University of British Columbia, Canada
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: PSshow inverts my text...WHY :( Message-ID: <1993May22.172603.740@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993May21.120757.13886@ac.dal.ca> Date: Sat, 22 May 93 17:26:03 GMT In article <1993May21.120757.13886@ac.dal.ca> lisag@ac.dal.ca writes: > Hello again..PSshow puts my text on my custom views...BUT inverted (like > in a mirror)...how can I fix this? please help! > Anthony Grandy > T.U.N.S. > lisag@ac.dal.ca You need to use the correct matrix in the FONT object for the coordinate system of your view. Flipped coordinates (0 y on top) need flipped fonts. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Re: Help!! File System FULL Message-ID: <1993May23.124343.21142@news.csuohio.edu> Followup-To: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University References: <KARTHY.93May22204008@dannug.dannug.dk> Date: Sun, 23 May 1993 12:43:43 GMT Karsten Thygesen (karthy@dannug.dk) wrote: : You has been offer to the usual problem. The swapfile has grown : beyond bounds and filled the harddisk to mush. There is only one thing : to do: boot from another device like CD, floppy or borrow another : harddisk, then remove the swapfile (/private/vm/swapfile) and reboot. Isn't it possible to just do the removal from the ROM monitor, without having to resort to booting from another drive? -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library j.rosenfeld@csuohio.edu
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Help!! File System FULL Message-ID: <67871@mimsy.umd.edu> Date: 23 May 93 19:18:24 GMT References: <KARTHY.93May22204008@dannug.dannug.dk> <1993May23.124343.21142@news.csuohio.edu> Sender: news@mimsy.umd.edu Followup-To: comp.sys.next.sysadmin Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Karsten Thygesen (karthy@dannug.dk) wrote: : You has been offer to the usual problem. The swapfile has grown : beyond bounds and filled the harddisk to mush. There is only one thing : to do: boot from another device like CD, floppy or borrow another : harddisk, then remove the swapfile (/private/vm/swapfile) and reboot. cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: > Isn't it possible to just do the removal from the ROM monitor, without > having to resort to booting from another drive? I dont think you can do this from the monitor, but you are right. There is no need to boot from another device. just boot in single user mode (bsd -s) and then remove the swapfile -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: To those who responded to the inverted text prob... Message-ID: <1993May23.163426.13936@ac.dal.ca> Date: 23 May 93 16:34:26 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada I got such a huge response to my question..I could not mail you all a thank you letter. I just want to say thanks to all of you...your suggestions a great help. Anthony Grandy
From: matthews@is-next.umd.edu (Mike Matthews) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Help!! File System FULL Date: 23 May 1993 22:08:15 GMT Organization: Los Alamos National Laboratory, NM Message-ID: <1toskf$i1v@umd5.umd.edu> References: <1993May22.162821.7977@cs.ucf.edu> In article <1993May22.162821.7977@cs.ucf.edu> ali@elm.uucp (Ali Sidani) writes: >Hi, Yo >/: File system full >IO error on pageout: error = 28 >vnode_pageout: failed! >How can I correct this problem? I need to delete some files on the system, >but how can I get access to the harddisk? If your machine won't boot, you have to do the following: From the ROM monitor, bsd -sb That puts you into reallyreallyraw single-user mode. So raw, in fact, that your root partition is still mounted readonly (the -b in the boot command tells the NeXT not to source /etc/rc.boot, which mounts / readwrite and tries to write to / as a side effect). So, mount -o remount,rw / Now you're free to go in and blow away what you want gone. Don't get too carried away, though. :-> >Your assistance is greatly appreciated. >Please reply ASAP :-( Your Email address may need some fixing. ali@elm.uucp *might* work but I'm going the Followup route. >thanks >ali ------ Mike Matthews, matthews@ectds.com (NeXTmail accepted) ------ "We dedicated ourselves to a powerful idea -- organic law rather than naked power. There seems to be universal acceptance of that idea in the nation." -- Supreme Court Justice Potter Steart
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware From: karthy@dannug.dk (Karsten Thygesen) Subject: Re: Help!! File System FULL In-Reply-To: cowboy@trans.csuohio.edu's message of Sun, 23 May 1993 12:43:43 GMT Message-ID: <KARTHY.93May23222710@dannug.dannug.dk> Followup-To: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware Sender: news@dannug.dk (Usenet news owner) Organization: Dannug - Danish NeXT Users Group References: <KARTHY.93May22204008@dannug.dannug.dk> <1993May23.124343.21142@news.csuohio.edu> Date: Sun, 23 May 1993 21:27:10 GMT >>>>> On Sun, 23 May 1993 12:43:43 GMT, cowboy@trans.csuohio.edu (Joe Rosenfeld) said: Joe> Karsten Thygesen (karthy@dannug.dk) wrote: Joe> : You has been offer to the usual problem. The swapfile has grown Joe> : beyond bounds and filled the harddisk to mush. There is only one thing Joe> : to do: boot from another device like CD, floppy or borrow another Joe> : harddisk, then remove the swapfile (/private/vm/swapfile) and reboot. Joe> Isn't it possible to just do the removal from the ROM monitor, without Joe> having to resort to booting from another drive? How would you do that? The filesystem is not loaded at that time which means that you have to treat the disk as a raw SCSI disk. It is NeXTSTEP which shows the disk as a nice tree structure with files and directories, so unless you are realy smart and knows how to handfixes the i-nodes, then don't even try. Try to get a bootfloppy, CD or another harddisk to bring up an Unix and let that interpret the data as a filesystem. Good luck, Karsten.
From: nico@imani.cam.org (Nicolas Dore) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Help!! File System FULL Message-ID: <1993May23.175311.6304@imani.cam.org> Date: 23 May 93 17:53:11 GMT References: <1993May23.124343.21142@news.csuohio.edu> Sender: nico@imani.cam.org In article <1993May23.124343.21142@news.csuohio.edu> cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: > Karsten Thygesen (karthy@dannug.dk) wrote: > > : You has been offer to the usual problem. The swapfile has grown > : beyond bounds and filled the harddisk to mush. There is only one thing > : to do: boot from another device like CD, floppy or borrow another > : harddisk, then remove the swapfile (/private/vm/swapfile) and reboot. > > Isn't it possible to just do the removal from the ROM monitor, without > having to resort to booting from another drive? > Not the ROM monitor, but in single-user mode, I think. Type "bsd -s" at boot time in verbose mode. Ciao Nicolas > -- > > | Joe Rosenfeld cowboy@trans.csuohio.edu > | CSU Law Library j.rosenfeld@csuohio.edu
Newsgroups: comp.sys.next.programmer From: wlee@fechner.SPEECH.CS.CMU.EDU (Wonseok Lee) Subject: SNDFree problem Message-ID: <C7I4zs.Enq.1@cs.cmu.edu> Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon Date: Sun, 23 May 1993 22:55:03 GMT I need help from anyone who has understanding of SNDSoundStructure in NeXT. I am buliding a program that deals with sound. This is what I do. I read a .snd file, play it until the user hits a key to stop playing. After that I like to free the pointer to the SNDSoundStructure but the program dies if I try. Removing SNDFree comman d from the program solves the problem. That is fine with me but I am curious why it does not free the pointer properly. Following is a sample of the program. The program reads a .snd file, plays it. err = SNDReadSoundfile("500.snd", &puretone); if (err) panic("Unable to load SND file"); SNDSetVolume(VOLUME, VOLUME); [earPlaysound continuousPlaySound: puretone]; A user hits a key to stop the playing. keep_playing = 0; SNDFree(puretone); This is what gdb tells me, Program generated(1): Memory access exception on address 0x134000 (invalid address). 0x501b3d6 in calc_play_mode () Have any idea what it means? Address 0x134000 is what the pointer was pointing at. Any suggestions welcomed. Reply by e-mail. Thanks in advance. W. Lee ------------------------------------------------------------------------- wlee@fechner.speech.cs.cmu.edu NeXt mail welcomed. ******* * source code for the method. ********* - continuousPlaySound:(SNDSoundStruct *)stimulus { int i, sdur; short *ptr; if(keep_playing) return self; wait_ms(99,2000.); keep_playing = 1; if(stimulus == NULL){ SNDAlloc(&stimulus, 44100*2, SND_FORMAT_LINEAR_16, (int)SAMPLE_RATE, 2, 0); ptr = (short *) ((char *)stimulus+stimulus->dataLocation); for(i=0; i<44100; i++) ptr[i] = DC; } else { int_ptr = (short *) ((char *)stimulus+stimulus->dataLocation); sdur = stimulus->dataSize/2; for(i=0; i<sdur; i++) int_ptr[i]+=DC; } cthread_detach(cthread_fork((cthread_fn_t)contplay, (any_t)stimulus)); err = cthread_priority(cthread_self(), 0, TRUE); if (err!=KERN_SUCCESS) printf("Call to cthread_priority() failed"); return self; } void contplay(SNDSoundStruct *stimulus) { do { SNDWait(1); err = SNDStartPlaying(stimulus, 1, 100, 0, 0, 0); if (err) { fprintf(stderr,"Error : %s\n",SNDSoundError(err)); exit(1); } // cthread_yield(); } while(keep_playing); SNDWait(0); return; }
From: heading@signal.dra.hmg.gb (Anthony J.R. Heading) Newsgroups: comp.sys.next.programmer Subject: Emacs 19 Date: 24 May 1993 00:48:46 +0100 Organization: Defence Research Agency Message-ID: <1tp2guINN2ep@whirl.dra.hmg.gb> Emacs 19 seems now to have been released. Is anyone going to volunteer to write the NeXTstep port? Anthony
From: ricardo@thunder (Ricardo Parada) Newsgroups: comp.sys.next.programmer Subject: Changing font in a custom view object using IB's font panel!! Message-ID: <1993May23.215933.27515@pencom.com> Date: 23 May 93 21:59:33 GMT Sender: usenet@pencom.com (Usenet Pseudo User) Organization: Pencom Software Has anybody done a palette containing a custom view object that allows to set the font of a string shown within the itself by using Interface Builder's font panel? Does the font panel send a message to the custom view object? Thanks in advance, -- + Ricardo J. Parada
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: changing the cursor's location Message-ID: <1993May23.123358.1187@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1tchha$8qo@crl.crl.com> Date: Sun, 23 May 93 12:33:58 GMT In article <1tchha$8qo@crl.crl.com> mcgredo@nntp.crl.com (Donald R. McGregor) writes: > In article <1993May18.005759.20819@beaver.cs.washington.edu> hinshaw@cs.washington.edu (Kevin Hinshaw) writes: > > > >My situation is the following: the user wants to add points to a partially > >drawn curve, and there is a threshold on how close the cursor must be > >to an endpoint before points will be added. It would be nice to have > >the cursor actually move to the endpoint once it's "close enough" to it. > > > > I'd avoid that solution, from a UI standpoint. (Just got off a Sun, where > the mouse pointer was moving all over the place in scroll bars and elsewhere, > and I found it disconcerting.) The mouse pointer is supposed to be under > the control of the user, according to the holy writ of the Apple Desktop > Interface guidelines. I think the NeXT follows the same conventions. > > Why not just have the line react _as if_ the mouse pointer was within > tolerance? So if you click within x pixels of the endpoint the point > gets added to the line, even if the mouse pointer isn't exactly on top > of it. Lots of people do something similar to this for hit-testing > lines. > > -- > Don McGregor | Prodigy is to USENET as croquet is to > mcgredo@crl.com| professional wrestling. This type of griding behavior is typical in drawing programs when resizing or moving objects. My suggestion is that when the mouse down occurs if the mouse is in tollerance THEN move the mouse as part of the tracking loop. Alternatively you can change the cursor when the mouse is in tollerance. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't NeXT adopt the GNU compiler? Message-ID: <67872@mimsy.umd.edu> Date: 23 May 93 19:53:44 GMT References: <1th7hb$f5j@cs.ubc.ca> <1993May21.181221.11198@bluerose.com> <1tn0pjINN10v@jax.cs.ubc.ca> Sender: news@mimsy.umd.edu Distribution: na Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1tn0pjINN10v@jax.cs.ubc.ca> croehrig@cs.ubc.ca (Chris Roehrig) writes: > What I was suggesting is that NeXT fully adopt the *GNU* compiler. > Which means that when I ftp gcc2.4, I get the latest *NEXTSTEP* compiler. things are moving in this direction, but even if NeXT completely stops enhancing the compiler, the compiler shipped by NeXT will always be behind the GNU release. If the definition of C++ ever stabilizes, then this will be less of a problem. > And I can't think of a reason why NeXT would not do this, except for the > corporate fear and suspicion of giving up control over a critical system > component to another organization. have you ever worked on a large project delivering shrink wrapped software? NeXT has to test the development environment, which requires rebuilding and controlling which version of the compiler is used, then a period of beta testing, fixes, regression tests and then release - and still bugs will go through. this process takes time, but is essential. if you introduce a new compiler version in the middle of the testing process, you must take the time to retest some significant portion of the release (or accept a high degree of risk) so at some point, they have to freeze the compiler version for the next NS release. with practice, good process and automation, the testing process can become fast, smooth and reliable (in theory) - allowing the freeze time to be later in the pipeline and making it easier to make last minute changes without introducing chaos. But the delay can never reach zero. You cant expect the FSF to stop work because NeXT and other vendors have schedules to keep can you? look it bugs me too to have to wait for the latest version of something and I am not saying there is not room for improvement. NeXT could for example provide patches to FSF between releases so that when you get the latest gcc, it would still work with the NeXT tools - even though it hadnt been through NeXT QA. I'm sure this will continue to improve. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.sys.next.programmer From: vlahos@cubism.portal.com (Harry Vlahos) Subject: Sound I/O Message-ID: <1993May23.174744.491@cubism.portal.com> Keywords: sound, speaker, SNDConvertSound Sender: vlahos@cubism.portal.com (Harry Vlahos) Organization: -Independent NeXT Developer- Date: Sun, 23 May 1993 17:47:44 GMT I am trying to write a simple program that connects the microphone to the speaker. Anything that I speak in the microphone, immediately is echoed on the speaker. What I am finding is that there is a delay between that time that the buffer is received from the mic input, converted to 22KHz linear from 8-bit MuLaw, and played. I am using the NXSoundDevice and NXSoundStream classes to do this. Is there a better and faster way to keep the data flow synchronized? Thanks.
Newsgroups: comp.sys.next.programmer From: emurphy@cs.uno.edu (Edward Murphy) Subject: Two Followups: text interfaces and popup lists Message-ID: <1993May24.144301.12806@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Mon, 24 May 1993 14:43:01 GMT Howdy. ----- Followup 1: (?) having a textbased front end on an IB gui This one was simple. As was pointed out to me by Art Isbell, all I needed to do was code something into the "main" file which looked for command line options. If the program found the proper switch to activate the text based interface then it should run the program as a NeXT app but as a test based interface. I had some problems with a "bus error" but after trying the method on a simpler app, i got it to work. ----- Followup 2: (?) popuplist examples. Thanks to all who replied. The problem I was having stemmed from me not understanding that the popuplist object was actually a "button" that was connected to the popup list. An example of how an item would be added to the list is [[popuplistobject target] addItem:"a title"] where popuplistopbject is the *button* and [popuplistobject target] is the popup list. I also needed to be able to delete the currently shown item from the popup list. This was also confusing since the code I wrote was, to all appearances, correct. However, the "feature" that was causing me problems is when I selected the item, and issued the removeItem message it seemed to work, but it didn't actually remove the item's title from the button. When I popped up the lists again, it looked at the button's title, said "hey that item isn't there (because I just removed it)" and promptly added it to the list. The solution here was to just do the remove and then change the title of the button to an item that was still in the list (usually the first item will do). ----- Thanks to all who replied. Regards, Ed Murphy Grad Slave from Mars
Newsgroups: comp.sys.next.programmer From: prz@watson.ibm.com (Antoni B. Przygienda) Subject: How to have in IB several DBFetchGroup from same DBModule ? Sender: news@watson.ibm.com (NNTP News Poster) Message-ID: <1993May24.154618.16473@watson.ibm.com> Date: Mon, 24 May 1993 15:46:18 GMT Disclaimer: This posting represents the poster's views, not necessarily those of IBM References: <IfyNNJG00WA7ALlbsO@andrew.cmu.edu> Organization: IBM T.J. Watson Research Center Keywords: IB, DBKIT Hello, sorry if it's a FAQ but I couldn't find FAQ's, someone could send them to me if appriopriate I'm doing DBKit hacking and basic question is: How do I bring IB to allocate several DBFetchGroup to the same DBModule ?? For example, I have a relation shown in one view and want to have it's 1-n relation (part list of a element) content be shown in second view. Something like /* first window */ SELECT * from A; /* row with a1=='??' selected then */ /* second window */ SELECT * from B WHERE B.a1='??'; Docu says that this is supported via multiple DBFetchGroups but how do I do that in IB if at all ? If not, anyone can post me a example to do that via hard objective-c (the examples with nextstep 3.0 for dbkit are _LOUSY_, they should have a look at borland or microsoft, not that I love them better than NeXT ;-) Otherwise, NeXTStep is _IT_ ! (excuse me, lost control for a while ;-) Tony
Newsgroups: comp.sys.next.programmer From: A Ried Thiel (ried@NorthStar.com) Subject: Re: Help!! File System FULL Message-ID: <C7JIq5.GEv@northstar.com> Sender: usenet@northstar.com (usenet) Organization: NorthStar Technologies, Inc. References: <KARTHY.93May22204008@dannug.dannug.dk> Date: Mon, 24 May 1993 16:49:16 GMT In article <KARTHY.93May22204008@dannug.dannug.dk> karthy@dannug.dk (Karsten Thygesen) writes: > > >>>>> On Sat, 22 May 1993 16:28:21 GMT, ali@elm.uucp (Ali Sidani) said: > > > Ali> Hi, > > Ali> I have a NeXTStation 8/200 with NS 3.0. I was running some programs > Ali> and it hanged. I tried to reboot then after the checking disk said > Ali> "File system clean", it gave the following error. > > Ali> /: File system full > Ali> IO error on pageout: error = 28 > Ali> vnode_pageout: failed! > > Ali> How can I correct this problem? I need to delete some files on the system, > Ali> but how can I get access to the harddisk? > > Ali> Your assistance is greatly appreciated. > Ali> Please reply ASAP :-( > > You has been offer to the usual problem. The swapfile has grown > beyond bounds and filled the harddisk to mush. There is only one thing > to do: boot from another device like CD, floppy or borrow another > harddisk, then remove the swapfile (/private/vm/swapfile) and reboot. > > To ensure that it will not happen again, you can install a highwater > mark in /etc/swaptab - take a look at the manual page. > > Good luck, > > Karsten. > The highwater setting on a NeXT does not work. Once you reboot the swapfile is set back to the lowater mark so I do not believe his problem is the swapfile at this point. However you are right about booting from another device. There are instructions for creating a boot floppy on the archives. If you,Ali, do not have access to the archives I will gladly mail you the instructions.
From: croehrig@cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't NeXT adopt the GNU compiler? Date: 24 May 1993 02:41:18 -0700 Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Distribution: na Message-ID: <1tq57uINN20o@jax.cs.ubc.ca> References: <1993May21.181221.11198@bluerose.com> <1tn0pjINN10v@jax.cs.ubc.ca> <67872@mimsy.umd.edu> In article <67872@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes: >have you ever worked on a large project delivering shrink wrapped software? >NeXT has to test the development environment, which requires rebuilding >and controlling which version of the compiler is used, then a period of >beta testing, fixes, regression tests and then release - and still bugs >will go through. True enough (I have worked on the Waterloo Pascal project through the same development/test/release cycle), but doesn't GCC go through the same thing? If bugs are found, the latest GNU source is always available for modification, and patches can be posted. It just seems like a more productive and efficient system. Maybe NeXT is heading in that direction, and will finally give all their compiler and debugger source to FSF and continue to contribute their changes through the GNU project, so that the compiler that ships with NEXTSTEP really is a gcc compiler, and the latest gcc version will be the latest NEXTSTEP compiler. I'm doubtful, though. I suspect NeXT would be reluctant to give up control over their compiler. But what would they actually be giving up? Would it hold up NEXTSTEP development? Do their compiler changes really move too fast to wait for a GNU release before making a NEXTSTEP release? Maybe I'm just being naive, but I like to believe that merging the two versions and cooperating on a single common project would be the most productive for BOTH groups. And I don't see any reasons why it couldn't work or why NeXT (or GNU for that matter) would lose by such an arrangement. >look it bugs me too to have to wait for the latest version of something What bugs me more is that this seems like something NeXT could only benefit from, and would encourage the widespread acceptance of Objective-C and NEXTSTEP. -- Chris Roehrig (croehrig@cs.ubc.ca) Small Neural Systems Group Dept. of Computer Science, University of British Columbia, Canada
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: How to have in IB several DBFetchGroup from same DBModule ? Message-ID: <1993May25.144537.4788@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <1993May24.154618.16473@watson.ibm.com> Date: Tue, 25 May 1993 14:45:37 GMT I tried sending this email, but it seems IBM is even more worried about email security than market share... ;-) In comp.sys.next.programmer article <1993May24.154618.16473@watson.ibm.com> you wrote: > How do I bring IB to allocate several DBFetchGroup to the > same DBModule ?? > For example, I have a relation shown in one view and want > to have it's 1-n relation (part list of a element) content > be shown in second view. Something like > /* first window */ SELECT * from A; > /* row with a1=='??' selected then */ > /* second window */ SELECT * from B WHERE B.a1='??'; > > Docu says that this is supported via multiple DBFetchGroups > but how do I do that in IB if at all ? Yep, it's some of the cool stuff in DBKit that 'Just Works'. First you need to describe the relationship between the two entities in your model (using DBModeler). Then in IB get yourself a DBModule and two DBTableViews (in separate windows if you want). From the browser that represents your DBModule, pick the model you created, then the first entity (your A above). There's no shortcut for "select *"; you'll have to drag each field you want from the Module browser one by one to columns in the first DBTableView (not extreme hardship). Along with the other properties of A (a1 etc) you should find the relationship you described, and if you correctly described it as 1:many you'll see a little double arrow in the browser next to the relationship name. Click on that and in the next browser column you'll see all the properties of B. Now one by one drag the properties you want from B to columns in the second DBTableVIew. And that's all there is to it. When you dragged the first property from B onto a GUI object, IB/DBKit automatically created a second DBFetchGroup belonging to your module. Now either compile or run in test mode in IB: after you fetch, every time you highlight a different row in the first DBTV, DBKit will do the second select you described (with the new value of a1) and show the results in the second DBTV. Good luck, Colin
Newsgroups: comp.sys.next.programmer From: adunham@commanders.cs.uno.edu (dunham) Subject: NeXT Obj-C Book Message-ID: <1993May25.170226.25066@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Tue, 25 May 1993 17:02:26 GMT Hi, After reading the traffic about NeXT and C++ problems, I've decided to learn NeXT Objective-C. Do you think this is a prudent choice? Do you have a NeXT Obj-C book that you can suggest to me? -- * AndREa * Andrea Dunham email: adunham@cs.uno.edu
From: bill@ganesha.cognet.ucla.edu (William Eldridge) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Major hint on mailboxes Date: 25 May 1993 17:44:22 GMT Organization: UCLA Cognitive Science Research Program Message-ID: <1ttltm$2rq@alamut.cognet.ucla.edu> Perhaps most people know this, but if you don't: I just discovered that Nextmail doesn't delete mail you click delete on. You have to then hit Command-k, or the compact option under Utilities for that to happen. If you get a lot of mail, you could have a lot of "deleted" files still saved that you don't realize haven't been erased. I had 5.5 Meg extra, my boss had about 20 Meg extra. -- Bill Eldridge bill@cognet.ucla.edu *** He who remembers the past is condemned to misread it. *** - George Santana
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: "Joy Stick" object? Message-ID: <1993May25.192243.5118@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory Date: Tue, 25 May 1993 19:22:43 GMT I'm looking for a replacement for vertical and horizontal sliders that would behave something like a joy stick. I need to be able to steer around in a view object and find using vertical and horizontal sliders cumbersome. I'd like an object that was perhaps circular. Clicking on the right[left] side would cause the x-value of the object to increase[decrease]. Likewise for clicking on the top[bottom] causing a similar change in the y-value of the object. Clicking at 45 degrees increases both the x and y values, etc. Has anyone seen such an object ? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: ScrollView magic (mess?) Message-ID: <25MAY93.22264893@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Wed, 26 May 1993 03:26:48 GMT It has been about a year since I have messed with scroll views (I know most of you are groaning now), and I seem to have forgotten something that should be very obvious: I want to have an expandible matrix within a scroll view. The problem is that now, the clipView, scroll view, document view ??? whatever is "pinned" at the lower left hand corner, as are most standard NeXT views. I need the view to be pinned at the top left hand corner. I think this is just a matter of calling the setFlipped method to the appropriate view, but I am not sure which one, which combination, or even if that is the correct fix. Could somebody PLEASE mail me on this issue? Thanks in advance. Kevin
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: ali@elm.uucp (Ali Sidani) Subject: Thanks for: Help!! File System FULL Message-ID: <1993May25.235033.2564@cs.ucf.edu> Sender: news@cs.ucf.edu (News system) Organization: Intelligent Simulation and Training Systems Date: Tue, 25 May 1993 23:50:33 GMT Thank you all for your help. I have recovered my hard disk. It was the swapfile. I tried booting from the CD drive that did not help since I could not see my hard drive. I tried all suggestions and what worked is the following : >If your machine won't boot, you have to do the following: >From the ROM monitor, bsd -sb >That puts you into reallyreallyraw single-user mode. So raw, in fact, that >your root partition is still mounted readonly (the -b in the boot command >tells the NeXT not to source /etc/rc.boot, which mounts / readwrite and tries >to write to / as a side effect). So, >mount -o remount,rw / >Now you're free to go in and blow away what you want gone. Don't get too >carried away, though. :-> Thanks Mike , Karsten, Alex, Nicolas and Reid Next time I will not clutter other groups with my posting (the reason I did, beginners panic + my thesis is on the line) Ali ali@ists.engr.ucf.edu
Newsgroups: comp.sys.next.programmer From: mabroa01@orion.spd.louisville.edu (Morgan Broadhead) Subject: SNDFunction Help Needed Sender: news@netnews.louisville.edu (Netnews) Message-ID: <mabroa01.738386295@starbase.spd.louisville.edu> Date: Wed, 26 May 1993 03:18:15 GMT Organization: University of Louisville Keywords: sound Oh great and all knowing programmers of the mystic black hardware... I am trying to do some manipulation of data contained in soundfiles on the NeXT using the C library functions. I am currently accomplishing this via the lseek and read functions. (I know, I know, really ugly...) Today I discovered the SNDGetDataPointer() function, which looks like a better solution. However, the function does not appear to be functioning as it should.The documentation given in the DigitalLibrarian does not appear to have been updated correctly (NS3.0). The definition runs: SNDGetDataPointer(SNDSoundStruct *sound, char **ptr, int *size, int *width) But the text claims that the pointer is returned by reference in 'sound', the size of the file in 'samples', and the size of each sample in 'width'. This is clearly incorrect. I assumed that the pointer is returned in 'ptr', the size in'size', and that 'sound' is the sound I am trying to get a pointer to. Unfortunately, my assumption appears to be wrong. While i get no complaints from the compiler, the address returned in 'ptr' does not appear to be the beginning of the data. In my old code, I used lseek to seek dataOffset bytes from the beginning of the soundfile. Comparing the address of this location with that returned to 'ptr' reveals fairly large discrepancies. The data I get with lseek looks like the right stuff... Also, SNDGetDataPointer() (as well as lseek) will only work on unfragmented data. So I tried using SNDCompactSamples() to make sure my data is continuous. The entry in the DLibrarian says that SNDCompactSamples() creates and returns the new structure, so I assumed that I did not need to allocate it. Again, thisappears to be incorrect, as the program compiles, but the new sound structure 'created' is not recognized as a sound... What am I doing wrong? I could post the code, but I don't think it will be of any assistance - my problem seems to be with the documentation. May your merciful debugging rain down from the Ethernet like manna from heaven, Alex -- ------------------------------------------------------------------------------ The Mighty Rev. M. Alexander Broadhead mabroa01@starbase.spd.louisville.edu ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: hd@sandbox.bsd.uchicago.edu (Harvey Dytch) Subject: DBkit / VMS Oracle Message-ID: <1993May25.175041.13546@midway.uchicago.edu> Keywords: DBkit, VMS, Oracle, database Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations Distribution: usa Date: Tue, 25 May 1993 17:50:41 GMT I'd like to use DBkit to access an Oracle database on a VAX VMS system which is currently running or about to implement TCP/IP. I'm currently in the discussion stage with the VAX powers that be and need to know what questions I need to ask to make sure that this will all work. I'm not that familiar with the Oracle/VMS end of things, so I'd appreciate really explicit information, like: what needs to be running on the VMS side? any particular flavors of TCP/IP on VMS needed? DBkit says must be socket 1525 -- where is this set on VMS end? what needs to be running on the Oracle end? (SQL*Net / TCP/IP version, but what specifically) (... and how do I check if it's there) If anyone has any experience with any of this, or even any educated guesses I'd be really grateful. Thanks in advance.
From: rognant@taloa.unice.fr (Rognant) Newsgroups: comp.sys.next.programmer Subject: saving a N3DCamera in tiff or eps files Date: 26 May 1993 10:02:58 +0200 Organization: Universite de NICE SOPHIA-ANTIPOLIS (FRANCE) Distribution: world Message-ID: <1tv87iINNf0d@taloa.unice.fr> i am looking for methods that save a N3DCamera into tiff and eps files . i am working on NeXT with a N3DCamera and i have to save my results to files , so please , if if you got them send them me at rognant@kurosawa.unice.fr . thank you LOIC ROGNANT
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: ecm9093@aston.ac.uk (J.P.FLETCHER) Subject: Re: Is a List class available for gcc 2.4? Message-ID: <ecm9093.110@aston.ac.uk> Sender: usenet@aston.ac.uk (Usenet administrator) Organization: Aston University References: <1th7kv$f5p@cs.ubc.ca> <KRAB.93May22200837@xiv.iesd.auc.dk> Date: Wed, 26 May 1993 11:05:59 GMT In article <KRAB.93May22200837@xiv.iesd.auc.dk> krab@iesd.auc.dk (Kresten Krab Thorup) writes: >Beta releases of the GNU Objective C Collection library is available >from iesd.auc.dk:/pub/ObjC/libcoll-SOME_DATE.tar.z >This library contains NeXT compatible implementations of List, >HashTable and Storage, but the primary content is a Smalltalk like >collection library including Set, Bag, Dictionary, LinkedList, >LinkList, Array, CircularArray, GapArray, Stack, Queue, >MappedCollector and DelegateList. All classes handle both simple >types and objects in the style of NeXT's HashTable. >As of now it should not be considered stable for production use, but >we'd surely like any kind of input on it. It will get much better if >*you* help. Thank you for this information. One question: Is this designed to work with GCC 2.3.3 or only with GCC 2.4.0? John -------------------------------------------------------------- Dr John P. Fletcher Department of Chemical Engineering and Applied Chemistry, Aston University, Tel: (44) 21 359 3611 ext 4625 Aston Triangle, Email(Janet): J.P.FLETCHER@UK.AC.ASTON BIRMINGHAM B4 7ET U.K. Email(Other): J.P.FLETCHER@ASTON.AC.UK --------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: uv94002@black.ox.ac.uk (Matt Millar) Subject: Detecting NeXTSTEP or Character terms Message-ID: <1993May26.104803.22154@black.ox.ac.uk> Summary: How to detect a remote character login or a NeXTSTEP login Originator: uv94002@black Organization: Oxford University Computing Services, Oxford, U.K. Date: Wed, 26 May 1993 10:48:03 GMT I have been wondering how to detect if a program is run from its icon (i.e. on a graphical display) Or if it has been invoked from it's binary from a character terminal, so I could write a GUI for NeXTSTEP users and a character interface for remote users. Any ideas? Reply to either this newsgroup or to xmillar@teaching.physics.ox.ac.uk (NeXTMAIL OK) -- /\/\att uv94002@black.ox.ac.uk #include "silly.ascii.graphics"
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: krab@iesd.auc.dk (Kresten Krab Thorup) Subject: Re: Is a List class available for gcc 2.4? In-Reply-To: ecm9093@aston.ac.uk's message of Wed, 26 May 1993 11:05:59 GMT Message-ID: <KRAB.93May26144756@xiv.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1th7kv$f5p@cs.ubc.ca> <KRAB.93May22200837@xiv.iesd.auc.dk> <ecm9093.110@aston.ac.uk> Date: 26 May 1993 13:47:54 GMT John> Thank you for this information. One question: John> Is this designed to work with GCC 2.3.3 or only with GCC 2.4.0? It is implemented for gcc 2.4.x. I have rewritten the runtime for GNU Objective C runtime completely since 2.3.3, and no one should really use 2.3.3 for anything, that runtime numerous bugs, and is incomplete. The 2.4.x GNU Objective C supports many new features including protocols and archiving. The upcomming GNU Bulletin (june 93) lists all the new features. /Kresten -- [Kresten krab: Thorup] | / | E-mail : krab@iesd.auc.dk Dept. for Math and Computer Sc. | ,-'/( | S-mail : Sigrid Undsetsvej 226A Aalborg University | / | \ | 9220 Aalborg \O Fr. Bajers vej 7, DK-9220 Aalb | A U C | Denmark ------------------------------------------------------------------------------- Member of The League for Programming Freedom
Newsgroups: comp.sys.next.programmer From: spagiola@frinext.stanford.edu (Stefano Pagiola) Subject: NS Developer for $299! Message-ID: <1993May26.154218.5468@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Wed, 26 May 93 15:42:18 GMT Announced at NeXTWorld Expo: * $299 Developer bundle. Special offer for developers: complete NS user environment, complete NS developer environment (but no docs), and a copy of Garfinkel and Mahoney's programming book for $299. This is not a typo. $299. The offer runs to July 31 and does NOT include a free upgrade to 3.2. -- - Stefano Pagiola Food Research Institute, Stanford University spagiola@frinext.stanford.edu (NeXTMail encouraged) spagiola@FRI-nxt-Pagiola.stanford.edu (NeXTMail encouraged)
Newsgroups: comp.sys.next.programmer From: ian@ohm.york.ac.uk (I Stephenson) Subject: Re: "Joy Stick" object? Message-ID: <1993May26.092040.6279@ohm.york.ac.uk> Sender: ian@ohm.york.ac.uk (D I Stephenson) Organization: Electronics Department, University of York, UK References: <1993May25.192243.5118@ornl.gov> Date: Wed, 26 May 93 09:20:40 GMT In article <1993May25.192243.5118@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > I'm looking for a replacement for vertical and horizontal sliders that > would behave something like a joy stick. I need to be able to steer > around in a view object and find using vertical and horizontal sliders > cumbersome. I'd like an object that was perhaps circular. Clicking on > the right[left] side would cause the x-value of the object to > increase[decrease]. Likewise for clicking on the top[bottom] causing a > similar change in the y-value of the object. Clicking at 45 degrees > increases both the x and y values, etc. > > Has anyone seen such an object ? > - - - - - - - - - > J. W. Wooten I wrote a Joystick object a while back - it needs work, but the source is in the submissions directory on sonata (JS.tar.Z). If you click within the square then the cursor will track the mouse. Upon release the cursor drifts back to the center postion (though this can be disabled). It's currently a 2.0 palette I haven't tried it with 3.0. I make no claims as to its effeiciency, or to its asthetics, both of which could probably be improved. Ian Stephenson
From: aaron@ouray.mines.colorado.edu (Aaron Gordon) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT Obj-C Book Message-ID: <1993May26.190601.43350@slate.mines.colorado.edu> Date: 26 May 93 19:06:01 GMT References: <1993May25.170226.25066@cs.uno.edu> Sender: news@slate.mines.colorado.edu Organization: Colorado School of Mines In article <1993May25.170226.25066@cs.uno.edu> adunham@commanders.cs.uno.edu (dunham) writes: > > Hi, > After reading the traffic about NeXT and C++ problems, I've decided > to learn NeXT Objective-C. Do you think this is a prudent choice? > Do you have a NeXT Obj-C book that you can suggest to me? > I just got "NeXTSTep Object-Oriented Programming and The Objective C Language" which is part of the NeXTStep Developer's Library from NeXT Computer, Inc. The book is published by Addison-Wesley. ISBN 0-201-63251-9 It looks reasonable and even includes some ideas on integrating Objective-C with C++ on the NeXT. Other Objective-C books you might want to consider include: "Objective-C" by Wiener & Pinson and "Object Oriented Programming: An Evolutionary Approach" 2nd edition by Cox & Holzinger I don't have these infront of me right now so I can't tell you other details such as the publisher. -- Aaron Gordon Hilltop Computing 100 S. Clermont St. Denver, CO 80222 303-331-9612
Newsgroups: comp.sys.next.programmer From: klinger@marathon.cs.ucla.edu (Dr. Allen Klinger) Subject: Pascal Compiler for NeXT Message-ID: <1993May26.210234.24300@cs.ucla.edu> Keywords: pascal Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Date: Wed, 26 May 93 21:02:34 GMT Is there a Pascal compiler for NeXT? I've used ThinkPascal for the MacIntosh and was hoping there was something that would speed programming ... but would be happy for a pointer to anything I can use. - Allen Klinger
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: boardman@casbah.acns.nwu.edu (Michael Boardman) Subject: ixBuild and gopherd Message-ID: <boardman.738428636@news.acns.nwu.edu> Summary: Need 2.x ixBuild and /usr/lib/indexing/* Keywords: gopher, ixBuild, NS 3.0 Sender: usenet@news.acns.nwu.edu (Usenet on news.acns) Organization: Northwestern University, Evanston, Illinois, USA Distribution: usa Date: Wed, 26 May 1993 15:03:56 GMT I am running a gopher server under NS 3.0. Earlier I posted the problem about full text indexing on NeXT under 3.0... the current gopher distribution only supports through NS 2.2. My machine came with NS 2.1 so I have a LICENSE for this system. I have since upgraded to 3.0 and all the indexing files (ixBuild, ixClean, etc...) have been trashed for the new indexing scheme. The gopher distributors tell me that if I want to use NeXT indexing, I need to get a hold of the old files. I have received responses from folks (thanks to all of you) telling me that they use these old 2.2 files under 3.0 with no problem. I called NeXT and the customer support person said "I don't know how to help you." Not entirely satisfactory... Does anyone have some advice about how to get these files (for which I own a license)? Michael Boardman e-mail: boardman@davinci.lfc.edu (NeXT mail accepted gladly) Lake Forest College
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT Obj-C Book Message-ID: <67972@mimsy.umd.edu> Date: 27 May 93 00:27:45 GMT References: <1993May25.170226.25066@cs.uno.edu> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <1993May25.170226.25066@cs.uno.edu> adunham@commanders.cs.uno.edu (dunham) writes: > After reading the traffic about NeXT and C++ problems, I've decided > to learn NeXT Objective-C. Do you think this is a prudent choice? > Do you have a NeXT Obj-C book that you can suggest to me? yes its a good idea. Obj-C is useful, a very clear way to practice a host of OO techniques. It is also amazingly simple a straightforward language - though using it well requires practice with various design techniques. learning obj-C will take you less than a day easy if you are familiar with OO concepts and C. contrast that with C++ which takes much longer, is much more complex and arcane, and full of special cases. it will surely take you much longer to become skilled in C++. if you learn Obj-C first, you will have some solid skills in a more "pure" OO language as a foundation before you tackle the complex C++ beast. take a look at the Objective C document shipped with NeXT developer docs, under Concepts. its very clear. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.sys.next.programmer From: vlahos@cubism.portal.com (Harry Vlahos) Subject: Re: NeXT Obj-C Book Message-ID: <1993May26.051605.2719@cubism.portal.com> Sender: vlahos@cubism.portal.com (Harry Vlahos) Organization: -Independent NeXT Developer- References: <1993May25.170226.25066@cs.uno.edu> Date: Wed, 26 May 1993 05:16:05 GMT In article <1993May25.170226.25066@cs.uno.edu> adunham@commanders.cs.uno.edu (dunham) writes: > > Hi, > After reading the traffic about NeXT and C++ problems, I've decided > to learn NeXT Objective-C. Do you think this is a prudent choice? > Do you have a NeXT Obj-C book that you can suggest to me? > > -- > * AndREa * > Andrea Dunham > email: adunham@cs.uno.edu DEFINITELY. NeXTSTEP Programming Step One: Object Oriented Applications by Simson L. Garfinkel & Machael K. Mahoney
Newsgroups: comp.sys.next.programmer From: vlahos@cubism.portal.com (Harry Vlahos) Subject: Re: "Joy Stick" object? Message-ID: <1993May26.051850.2775@cubism.portal.com> Sender: vlahos@cubism.portal.com (Harry Vlahos) Organization: -Independent NeXT Developer- References: <1993May25.192243.5118@ornl.gov> Date: Wed, 26 May 1993 05:18:50 GMT In article <1993May25.192243.5118@ornl.gov> woo@ornl.gov (John W. Wooten) writes: > I'm looking for a replacement for vertical and horizontal sliders that > would behave something like a joy stick. I need to be able to steer > around in a view object and find using vertical and horizontal sliders > cumbersome. I'd like an object that was perhaps circular. Clicking on > the right[left] side would cause the x-value of the object to > increase[decrease]. Likewise for clicking on the top[bottom] causing a > similar change in the y-value of the object. Clicking at 45 degrees > increases both the x and y values, etc. > > Has anyone seen such an object ? > - - - - - - - - - > J. W. Wooten How about something like a Hand. Grab the inside of the View and scroll it in any direction you want. Look at most drawing or image processing packages on Macs. It is actually pretty easy to code. HV
Newsgroups: comp.sys.next.programmer From: dlm40629@uxa.cso.uiuc.edu (Daniel L. Marks) Subject: FINAL ANNOUNCEMENT NextSTEP Course in Chicago Area June-August Date: Thu, 27 May 1993 00:51:15 GMT Message-ID: <C7nuDF.AAn@news.cso.uiuc.edu> Distribution: usa Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Keywords: Nextstep Chicago 486 Summer June August Organization: University of Illinois at Urbana A NeXTstep Course will be given by LearningLink, Co. It will be held in the NeXT Lab at Glenbrook South High School, in Glenview, Illinois, and teach both the basics and more advanced techniques of NeXTstep programming with the Interface Builder, Project Builder, and various kits. The class will start June 22nd and last through August 5th, and will be held twice a week on Tuesday and Thursday between 5PM and 8 PM. The lab will be open an additional hour both before and after the class to allow for the completion of assignments. We recommend a minimum knowledge of elementary "C" programming for those who wish to enroll. The topics that will be covered include: x Introduction to the NeXTstep graphical environment x Creating Applications with the Project Builder x Introduction to Object Oriented Programming x Construction of graphical interfaces with Interface Builder x Objective-C and a brief review of C programming x Digital Librarian and NextDeveloper on-line documentation x Many Application Kit Classes x Display Postscript and pswraps x Mouse and Keyboard Handling and Events x Distributed Objects x Introduction to Mach (Streams and Threads) x Introduction to DB Kit, Indexing Kit, and 3D Kit x Porting to NeXTstep/FIP The cost of the course is $995, with a $695 educational price. Please reserve your spot in the course soon, as we must have an enrollment of at least eight to hold the course. Maximum enrollment is fifteen. Any payment is 100% refundable on or before the first day of the course, and is 100% refunded if the course is cancelled because of inadequate enrollment. Please make out your check to LearningLink, Co. and send it to the address listed below. NeXTstep programmers David Jeske (jeske@ux4.cso.uiuc.edu), and Daniel L. Marks (d-marks1@uiuc.edu), formerly with the Mathematics Visualization Project of Argonne National Laboratory, will be the primary instructors for the course. This course was previously taught for credit by the same instructors at the University of Illinois at Chicago. Glenbrook South High School is at 2000 W. Lake St in Glenview, at the corner of Lake and Pfingsten streets. For more information or to reserve your workstation contact Fred Siegeltuch at: LearningLink, Co. fbs@cenplus.com 9134 Kildare Avenue (708) 674-7155 Skokie, IL 60076-1655
From: charles@ozstar.cc.vt.edu (Chuck Esterbrook) Newsgroups: comp.sys.next.programmer Subject: Object Oriented Editor Keywords: oop, editing, NeXTSTEP Message-ID: <4542@creatures.cs.vt.edu> Date: 27 May 93 15:07:46 GMT Sender: usenet@creatures.cs.vt.edu Hi everyone, Does anybody have an object-oriented editor for Objective C and NeXTSTEP that they would be willing to share? I'm looking for something similar to the Smalltalk code browser and compatible with Project Builder. For example, I picture that the edit window would have a browser with 3 columns. The first would be a list of classes, the second a list of method categories and the third would contain the names of the methods. Underneath the browser would be a text editing view. I could do this myself, but I'm sure someone already has.... Thanks in advance, Chuck Esterbrook NeXTSTEP Programmer Dept of Computer Sci Virginia Tech charles@ozstar.cs.vt.edu
From: sanchezp@bigdog.engr.arizona.edu (Paul J. Sanchez) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Directory flipped over to file! Summary: Help! Keywords: work lost, I'm screwed Message-ID: <1993May27.163041.20346@organpipe.uug.arizona.edu> Date: 27 May 93 16:30:41 GMT Sender: news@organpipe.uug.arizona.edu Organization: University of Arizona One of my directories suddenly changed into a file. I have a backup, but not from last night, and I'd really like to recover some work out of that directory. Is there any way to change the file attribute so it is a directory again? Any help would be appreciated. --paul
From: dwatola@bvd.jpl.nasa.gov (David A. Watola) Newsgroups: comp.sys.next.programmer Subject: crippled gdb under ns 3.0 ? Date: 28 May 1993 00:01:43 GMT Organization: Jet Propulsion Laboratory Distribution: world Message-ID: <1u3kp7$7p9@elroy.jpl.nasa.gov> has gdb under ns 3.0 been crippled or what? some important (to me) features are apparently missing: - the pclass command is gone - info sel gives selector names (the regexp parser seems broken though), but no other info even though the manual says it will also give the unique id (SEL) number. aaaaaauuuuuughh! anybody know if these features are merely tucked away under some new obscure names, or are they really gone? very irritating. dave
Newsgroups: comp.sys.next.programmer From: ddurbin@.is.rpslmc.edu (Dave Durbin) Subject: textfield attributes Message-ID: <1993May27.194235.27905@rpslmc.edu> Sender: news@rpslmc.edu Organization: Rush-Presbyterian-St. Luke's Medical Center Distribution: usa Date: Thu, 27 May 1993 19:42:35 GMT This may be a stupid "newbie" question, but how can I force the text in a textfield or textfieldcell to be upper case? Thanks in advance. dave -- Dave Durbin Organization: Rush-Presbyterian-St.Luke's Medical Center Department: Advanced Technology Center Voice: 312-942-2562 Fax: 312-942-2344 Internet: ddurbin@is.rpslmc.edu The opinions expressed are my own and not necessarily that of my employer
From: Uwe Hoffmann Newsgroups: comp.sys.next.programmer Subject: Re: Failed to compile libg++2.3 Date: 28 May 1993 09:14:11 GMT Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany Message-ID: <1u4l53$c60@gate.fzi.de> References: <1t7koc$797@gate.fzi.de> Thanks to all who responded. I had a few problems with my mailer, so I got the mails from a week or so today. -- ---------------------------------------------- Uwe Hoffmann email : hoffmann@fzi.de FZI Karlsruhe NeXTmail welcomed Germany ----------------------------------------------
From: krause@math.tu-berlin.de Newsgroups: comp.sys.next.programmer Subject: How to control the slider of a browser? Date: 28 May 1993 12:18:12 GMT Organization: TUBerlin/ZRZ Message-ID: <1u4vu4$418@mailgzrz.TU-Berlin.DE> Hello, I would like to change the contents of a browser without changing the position of the slider. How can I position the slider of an browser arbitrary? scrollToVisible isn't sufficient. Does anyone have any experience? Thanks in advance Martin -------------------------------------------------------------------- Martin Krause Technische Universitaet Berlin email : krause@math.tu-berlin.de
Newsgroups: comp.sys.next.programmer From: vlahos@cubism.portal.com (Harry Vlahos) Subject: NS-Intel Product Idea Message-ID: <1993May28.021341.4698@cubism.portal.com> Sender: vlahos@cubism.portal.com (Harry Vlahos) Organization: -Independent NeXT Developer- Date: Fri, 28 May 1993 02:13:41 GMT If there is anyone out there that knows about networking and NFS, I think that there is some money to be made in a simple product that would allow a NeXT computer (Motorola or Intel) to be connected to a Windows for Workgroups and Windows NT network. It must be able to mount shared directories from the Windows computer and access the files with all the same tools that are in NeXTSTEP (Open Panel, Save Panel, Workspace Manager, etc.) Just as if this was an NFS mounted directory. Maybe NeXT can put this in NS 3.2 ? As much as I hate Windows, I am forced to share information with a network of PCs. This would sure make it easy to transfer information back and forth. Oh, by the way, it would be nice if the NeXT was able to export its directories for access from a Windows computer. The long file names can be handled the same way PC-NFS does. Even though Windows NT has TCP/IP, and yeah it would be easier to just use Windows NT to connect to a NeXT, there is a much larger installed base of Windows users that cannot run Windows NT due to hardware limitations, than there are Windows NT users. Just a thought. I don't expect any royalties if you end up commercializing such a product. Harry
From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: comp.sys.next.programmer Subject: Using Distributed Objects Date: Fri, 28 May 1993 12:03:17 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Message-ID: <Qg1XT5a00iMF8YKURU@andrew.cmu.edu> I am starting to learn how to use Distributed Objects. I would like to make a set of networked client/server applications, where the server and clients are on different machines on the internet. But I saw nothing in the documentation on how to specify an IP address or machine name for a client to connect to. For example, a client/server model where one process on one machine could trigger client processes on a set of other machines that each make a beep on the speaker. Could Distributed Objects technology accomplish this, or should I just program "traditional" BSD Sockets? Thanks in Advance! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |Jeremy Mereness | Support | Ye Olde Disclaimer: | |zonker+@cmu.edu (internet) | Free | The above represent my| | FAST Project, CMU-GSIA | Software| opinions, alone. | |B.S. Mechanical Engineering, CMU| | Ya Gotta Love It. | | Every Silver Lining's Got a Touch of Grey | ------------------------------------------------------------------------ This year marks the 200th anniversary of the Bill of Rights
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Using GDB and select() Message-ID: <1993May26.132038.494@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <C7JK8z.KwI@agora.rain.com> Date: Wed, 26 May 1993 13:20:38 GMT In article <C7JK8z.KwI@agora.rain.com> bobb@agora.rain.com (Bob Beauchemin) writes: > > I'm looking for some pointers on how to use GDB to debug a program that > uses select(). When attempting to debug a server program using GDB, the > program never responds to a network message. When I stop GDB using Ctrl-c, > the program always responds that it was "in select()". > Any hints would be greatly appreciated. GDB showed you that your program was inside a select system call. What do you want more ? It means: The select call didn't return yet, as there was no input available from the selected sockets. You have to trace down this, but GDB can't do more than it is already doing .... (BTW: Yes, NeXT should deliver the General Problem Solver .... )
From: olav@emerson.physics.ubc.ca Newsgroups: comp.sys.next.programmer Subject: What does this mean "too many args to macro rindex" Date: 28 May 1993 17:44:26 GMT Organization: The University of British Columbia Distribution: world Message-ID: <1u5j1qINNpim@iskut.ucs.ubc.ca> Hi all, I was compiling and got this message "too many args to macro rindex" and I don't know what it means. I was doing the Garfinkel, Mahoney thing ch 11 Mathpaper. ________________________________________________________ B.Olav Anderson Autodidact NeXTSTEP Cyber Cruzer e-mail olav@emerson.physics.ubc.ca "I know of no more encouraging fact than the unquestionable ability of man to elevate his life by a conscious endeavour." H.D.Thoreau
Newsgroups: comp.sys.next.programmer,comp.sys.next.marketplace From: pkim@cory.Berkeley.EDU (P. Kim) Subject: WANTED: NeXTstep programmer (Bay Area) Message-ID: <1993May28.172427.25112@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Fri, 28 May 1993 17:24:27 GMT i'm posting this for someone else (for the n-th time) so, again, don't send any responses to me. --------------------------------------------------------------------------- Exciting NeXTSTEP Development Opportunity in California! Marine Terminals Corporation, a major west coast stevedoring company with offices in SF and Oakland, is currently developing a NeXTSTEP-based graphical planning system. This highly-interactive, application will be used on a WAN connecting 3 sites around California. MTC is looking for a creative, self-motivated developer with demonstrable Objective-C and NeXTstep experience to participate in the development effort for this innovative product. Please contact: Steve Longbotham (415) 267-1138 Marine Terminals Corporation mtcoak!steve@netcom.com 600 Harrison Street, Suite 200 (NeXT mail accepted) San Francisco CA, 94107
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: Using ProjectBuilder for non-apps? Message-ID: <8798@ucsbcsl.ucsb.edu> Date: 28 May 93 17:53:36 GMT Sender: root@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, U.C.S.B. Does anyone know if there would be any problems using ProjectBuilder to control the compilation/installation of non-app programs? That is, is it flexible enough to be used to create any kind of multi-file software program? Thanks. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: olav@emerson.physics.ubc.ca Newsgroups: comp.sys.next.programmer Subject: Re: What does this mean "too many args to macro rindex" Date: 28 May 1993 18:09:08 GMT Organization: The University of British Columbia Distribution: world Message-ID: <1u5kg4INNpmd@iskut.ucs.ubc.ca> References: <1u5j1qINNpim@iskut.ucs.ubc.ca> In article <1u5j1qINNpim@iskut.ucs.ubc.ca> olav@emerson.physics.ubc.ca writes: :-> :-> Hi all, :-> I was compiling and got this message "too many args to macro rindex" and :-> I don't know what it means. I was doing the Garfinkel, Mahoney thing ch 11 :-> Mathpaper. :-> ________________________________________________________ :-> B.Olav Anderson :-> Autodidact :-> NeXTSTEP Cyber Cruzer :-> e-mail olav@emerson.physics.ubc.ca :-> :-> "I know of no more encouraging fact than the unquestionable ability of man to :-> elevate his life by a conscious endeavour." :-> H.D.Thoreau -- Never mind- I got it :-) ________________________________________________________ B.Olav Anderson Sun Campus Consultant University of British Columbia Computer Science Building Room 416 - 6356 Agriculture Road
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: Using ProjectBuilder for non-apps? Message-ID: <1993May28.185704.28181@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <8798@ucsbcsl.ucsb.edu> Date: Fri, 28 May 1993 18:57:04 GMT Douglas Scott writes > Does anyone know if there would be any problems using ProjectBuilder > to control the compilation/installation of non-app programs? > That is, is it flexible enough to be used to create any kind of > multi-file software program? Sure, but it can be a little tricky convinging PB to do some things. I have, for example, a Makefile.postamble that I can drop into any directory that lets me automatically do a BackSpace module. With the right names, and everything (set the project type to Bundle, Name to XXX.BackO). The technique can be used for any bundle-type project. (It's not totally clean - it complains about tweaking PRODUCT_ROOT after the central makefile, but it still does what I want.) There are some neat .table files in the ProjectBuilder.app directory, but I haven't poked around with those too much yet. Anybody? --- cut here --- # # Makefile.postamble for BackSpace modules. # PRODUCT_ROOT = $(BUNDLE_DIR:.BackO.bproj=.BackModule) INSTALLDIR = ~/Library/BackSpaceViews OTHER_GARBAGE = $(PRODUCT_ROOT) -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: ddurbin@.is.rpslmc.edu (Dave Durbin) Subject: design tools Message-ID: <1993May28.150334.10788@rpslmc.edu> Sender: news@rpslmc.edu Organization: Rush-Presbyterian-St. Luke's Medical Center Distribution: usa Date: Fri, 28 May 1993 15:03:34 GMT Does anyone know of a good design tools that can graphically layout entity relationship diagrams? It doesn't need to be full fledged CASE, but something better that Diagram for this. Thanks in advance. dave durbin -- Dave Durbin Organization: Rush-Presbyterian-St.Luke's Medical Center Department: Advanced Technology Center Voice: 312-942-2562 Fax: 312-942-2344 Internet: ddurbin@is.rpslmc.edu The opinions expressed are my own and not necessarily that of my employer
Newsgroups: comp.sys.next.programmer From: suckow@uropax.contrib.de (Ralf Suckow) Subject: How to get keydown inside pswrap functions or callback to Obj-C? Message-ID: <1993May28.221120.20863@uropax.contrib.de> Keywords: pswrap keyboard callback Organization: Contributed Software GbR Date: Fri, 28 May 1993 22:11:20 GMT Does anybody know if it's possible (and how) to access keyboard events or current keys state from postscript (means pswrap functions)? I do Icon dragging with an (extended) TransparentWindow class from the WhatADrag demo by Jayson Adams. A "dragWindow" pswrap-function is called inside a mouse down method. It waits in a very reactive loop for a mouse drag, then drags the transparent window (compositing all the window and background pixels around), and returns. That means, while waiting for the drag, cannothandle keyboard events. So the events are delayed to the next (at least one-pixel) move. Of course, there are other designs for modal event loops, but Jaysons method is very fast for image dragging, and clean (no "flashes" or other dirt), and even easy to use (you only have to prevent windows from flushing between calls to "dragWindow"), and I'm really not a postscript expert. If it appears not to be possible to access the keyboard events or state from postscript, I will use a timeout to handle keyboard events after a dragging pause of, let's say, 100 ms. But this seems to be not so clever -- hate polling. Another, related question - is it possible to "Call Back" C routines from psw postscript functions? If yes, do I have the Obj-C context ("self" etc)?. This would be the solution. I scanned all documentation available and found nothing, but neither the redbook nor the pswrap documentation is available to me, so may be there is something else. Please post any suggestions or send them to suckow@contrib.de. Thanks in advance. -- Ralf Suckow, Berlin | suckow@contrib.de | Do you think it's difficult to speak Russian? Contributed Software | Every Moscow kid aged 5 years speaks it perfectly. only delivers my mail.|
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Same object, different access Message-ID: <1993May28.203143.538@afs.com> Sender: Michael_Pizolato@afs.com Date: Fri, 28 May 1993 20:31:43 GMT Here's the situation: @interface Foo:Object { id bar; } - bar; - setBar:aBarObject; @end @interface Bar:Object { int value; } - (int)value; - setValue:(int)aValue; - incrementValue; @end Objects of class Foo have an instance of class Bar. Any object can get the id of that Bar object. But only certain objects are allowed to send -setValue: or -incrementValue messages to Bar objects, probably but not necessarily and not limited to Foo objects. How to I restrict access to those messages in the Bar class? I'd rather not resort to using -isKindOf: messages within the Bar class, because it is not possible to know what classes may be allowed to send the messages (they may just have to conform to a protocol, although not all conforming objects will be allowed to send the messages, either). Clear as mud, I know. Thanks in advance for any help. Michael -- Michael Pizolato michael_pizolato@afs.com NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Using the new Text Object with custom graphic cells Message-ID: <1993May28.055447.235@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Fri, 28 May 1993 05:54:47 GMT Hi all. I am having a problem figuring something out here. Basically, I want to implement the 3.0 TextObject, but I with different directives (not \attachment which is the default)... but.. I want to have all the capabilities of the existing objects. Does anyone have any ideas?? -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
From: tiggr@wft.stack.urc.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: Object Oriented Editor Date: 28 May 1993 20:14:08 GMT Organization: Eindhoven University of Technology, the Netherlands Message-ID: <1u5rqg$280@tricky.wft.stack.urc.tue.nl> References: <4542@creatures.cs.vt.edu> In article <4542@creatures.cs.vt.edu> charles@ozstar.cc.vt.edu (Chuck Esterbrook) writes: > I could do this myself, but I'm sure > someone already has.... Indeed. It is called /NextDeveloper/Demos/HeaderViewer.app. -Tiggr
Newsgroups: comp.sys.next.programmer From: krarick@eng1 (Kevin C. Rarick) Subject: Re: design tools Message-ID: <1993May28.183542.3785@dakota.hsd.com> Sender: news@dakota.hsd.com Organization: HSD Microcomputer U.S., Inc. References: <1993May28.150334.10788@rpslmc.edu> Distribution: usa Date: Fri, 28 May 1993 18:35:42 GMT In article <1993May28.150334.10788@rpslmc.edu> ddurbin@.is.rpslmc.edu (Dave Durbin) writes: > > Does anyone know of a good design tools that can graphically layout entity > relationship diagrams? It doesn't need to be full fledged CASE, but > something better that Diagram for this. > > Thanks in advance. > > dave durbin > > -- > Dave Durbin > In comp.sys.next.programmer article <1993May28.150334.10788@rpslmc.edu> you wrote: > > Does anyone know of a good design tools that can graphically layout entity > relationship diagrams? It doesn't need to be full fledged CASE, but > something better that Diagram for this. > Try Diagram!2 of LigthHouse Design. Very impressive demo at NeXTWorld. Kevin Rarick -- kevin@imw.com (Kevin C. Rarick) -- formerly of the now defunct HSD Microcomputer:
Newsgroups: comp.sys.next.programmer From: mikem@afs.com (Mike Matlack) Subject: Re: design tools Message-ID: <1993May28.194548.468@afs.com> Sender: mikem@afs.com References: <1993May28.150334.10788@rpslmc.edu> Distribution: usa Date: Fri, 28 May 1993 19:45:48 GMT In article <1993May28.150334.10788@rpslmc.edu> ddurbin@.is.rpslmc.edu (Dave Durbin) writes: > > Does anyone know of a good design tools that can graphically layout entity > relationship diagrams? It doesn't need to be full fledged CASE, but > something better that Diagram for this. > In comp.sys.next.programmer article <1993May28.150334.10788@rpslmc.edu> you wrote: > > Does anyone know of a good design tools that can graphically layout entity > relationship diagrams? It doesn't need to be full fledged CASE, but > something better that Diagram for this. > What about Diagram! with a palette of entity objects, e.g. an OMG palette? Some local developers had a palette like this. If you are interested, let me know and I'll see if they would make it available. The other thing to keep in mind about Diagram is that you can dump the diagram out and read it in programatically to some other process you might write, e.g. a parser to maintain code based on the diagram. mikem -- Michael J. Matlack Anderson Financial Systems Mike_Matlack@afs.com (NeXTmail OK)
From: thor@sushi.uib.no Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.dcom.modems Subject: SLIP is up, News works, _Mail_ chokes... Keywords: SLIP, slip, sendmail, mail Message-ID: <1993May29.204855.7265@alf.uib.no> Date: 29 May 93 20:48:55 GMT Sender: usenet@alf.uib.no (Bergen University Newsaccount) Organization: University of Bergen, Norway Hi kids! Well, my SLIP connection is taking form. Now I can ping, telnet, rlogin, ftp, etc etc etc over the whole world without problems. I have even received mail sent from my University acount to my home machine (I'm registered in the NIS database now), and am sitting and reading NetNews via NewsGrazer at this moment. Life is good :-) One thing that isn't working 100% yet is mail from my home machine out to that world. I have read all I can find on sendmail, and have tried running both mail and sendmail by hand - that works, the mailhost accepts my machine and user as valid and everything goes O.K. However, if I type: sushi> mail joe@site.edu I get an error message. The same happens when I use Mail.app. Here is a short transcript of the error message from the mailhost: ----- Transcript of session follows ----- 550 edb (ether)... 550 Host unknown 554 Thor Legvold <T.Legvold@edb.uib.no>... 550 Host unknown (Valid name but no A or MX record) ----- Unsent message follows ----- (This is the usual message I get) And here is what happened when I tried with a slightly different address (one that really shouldn't work, but sometimes does anyway ;-) ----- Transcript of session follows ----- While connected to mailhost: >>> MAIL From:<thor@sushi> <<< 501 Unknown domain 'sushi' 554 edmtl@uib.no... 554 Remote protocol error ----- Unsent message follows ----- I'm going to take a look at sendmail.cf, but thats a type of Wizardry I'd rather not learn... ;-) (Writing disktabs was enough excercise, and both a humbling and learning Unix experience :-) If anyone has (knowlegable) advice, please e-mail. Just for kicks, try thor@sushi.uib.no in the Cc: field just to see if it gets through. My regular (i.e. stable :-) mail address is: edmtl@edb.uib.no. Regards, Thor "No problem, this one's only _two_ partitions..." Legvold
Newsgroups: comp.sys.next.programmer From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz) Subject: Re: What source/version control software is available? In-Reply-To: blake015@mc.duke.edu's message of 21 May 93 19:27:54 GMT Message-ID: <PFKEB.93May29210018@kaon.SLAC.Stanford.EDU> Followup-To: comp.sys.next.programmer Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <15220@news.duke.edu> Date: Sun, 30 May 1993 04:00:20 GMT >>>>> On 21 May 93 19:27:54 GMT, blake015@mc.duke.edu (Denise Blakeley) said: > Followup-To: comp.sys.next.programmer > Nntp-Posting-Host: olympus.mc.duke.edu > On NeXTSTEP development projects involving more than a couple of people, > coordination of changes gets to be a headache. What source/version > control software is everyone using? I know of RCS, SCCS, and GNU CVS, > but have heard mixed opinions about all of them. I'd appreciate any > advice on what to use. We need _something_ before we get burned, but > we don't want to spend a lot of time managing the source manager, > either! Because the InterfaceBuilder generates nib directories, you really have to use CVS. Even the simpliest of applications is a huge mess of directories as far as RCS/SCCS is concerned. But CVS, with the latest release of RCS handles it fine. Do get Art Isbell's cvs.postamble from the archives to go along with CVS, however. -- Paul F. Kunz Paul_Kunz@slac.stanford.edu (NeXT mail ok) Stanford Linear Accelerator Center, Stanford University Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.dcom.modems From: thor@sushi.uib.no Subject: Re: SLIP is up, etc... Message-ID: <1993May30.114333.7985@alf.uib.no> Keywords: SLIP, sendmail, PPP Sender: usenet@alf.uib.no (Bergen University Newsaccount) Organization: University of Bergen, Norway Date: Sun, 30 May 93 11:43:33 GMT Hi again. Thanks for all the replies. Unfortunately, all the replies were asking for similar help :-) I am in the middle of writing a SLIP autobiography, and documenting how SLIP may be set up for those who aren't NetGods or network Wizards. This paper is primarily aimed at people who are setting up the server end of things, primarily because that is where I've been having problems, and that is the end where I have found about _no_ documentation - everything simply says "see/ask your sysadmin about setting up/finding out about SLIP/PPP". That doesn't help me when _I_ have to set things up (as a part time sysadmin :-) I have received lots of knowledgeable and friendly help, advice, tips, etc in the proper configuration of SLIP/PPP, and have (with the various individuals permission) already began work to put all this together into a somewhat comprehensive installation guide. I hope to have a rough copy available to those in need :-) within a week. I hope it's helpful. If anyone needs specific advice _now_ (i.e. you just can't wait a week) e-mail me and I'll see if I can help :-) Regards, Thor -- Thor Legvold | "This is the strangest life NorNeXT User Group leader | I've ever known..." University of Bergen | -Jim Morrison, The Doors NORWAY | edmtl@edb.uib.no says "see/ask your sysadmin about setting up/finding out about SLIP/PPP". That doesn't help me when _I_ have to set things up (as a part time sysadmin :-) I have received lots of knowledgeable and friendly help, advice, tips, etc in the proper configuration of SLIP/PPP, and have (with the various individuals permission) already began work to put all this together into a somewhat comprehensive installation guide. I hope to have a rough copy available to those in need :-) within a week. I hope it's helpful. If anyone needs specific$BY$(J
From: gbol@rglnext.geol.vt.edu (Gregory Lampshire) Newsgroups: comp.lang.postscript,comp.sys.next.programmer Subject: continuous color variation fill in a rectangle Date: 30 May 1993 15:21:43 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <1uaje7$11i@vtserf.cc.vt.edu> I have been experimenting with filling a rectangle with a continuously varying color but have not made much progress. Graphically what I want to do is this: +------------------------+ | | <-end on color B | lin. variation | | from A to B | | <------------------> | +------------------------+ ^ | +----start on color A I can approximate this by using narrow rects and filling with different colors and I have been experimenting with ``image'' but with no success. This is being used for a NeXT with an interactive program so the fill has to be low bandwidth and fast. Does anybody have any suggestions or code they might share about different efficient ways to do this? Much appreciated. Gregory Lampshire gbol@rglnext.geol.vt.edu
Newsgroups: comp.sys.next.hardware,comp.sys.next.programmer From: bkr@drdhh.hanse.de (Bjoern Kriews) Subject: ioctl() on pty / Termserver Message-ID: <1993May30.172630.20248@drdhh.hanse.de> Summary: Possible to do ioctl(DTR) on a NeXT pty ? Keywords: ioctl, pty, Terminalserver Organization: Digital Island Date: Sun, 30 May 1993 17:26:30 GMT Hi ! I have a Livingston PortMaster Terminalserver using a daemon running under SunOS. This daemon has the option of emulating real ttys - meaning you can do speed setting, DTR control etc. as on a on-board device. I have read the pty man page and discovered only an option to pass USER-ioctl (_IO('u'...). So I wonder if it is possible to implement these features on a NeXT. Any help or pointers appreciated and thanks for your time, Bjoern Please answer by mail, I'll post a summary. -- bkr@drdhh.hanse.de - Bjoern Kriews - Stormsweg 6 - D-2000 Hamburg 76 - FRG ------------------------------------------------------------------------------ Yesterday Moelln, Solingen today. Do we need tomorrow ? Yes, a better one.
From: wjs@blorf.omnigroup.com (William Shipley) Newsgroups: comp.sys.next.programmer Subject: Re: What source/version control software is available? Message-ID: <1ucnfhINNfe3@news.u.washington.edu> Date: 31 May 93 10:42:57 GMT Article-I.D.: news.1ucnfhINNfe3 References: <PFKEB.93May29210018@kaon.SLAC.Stanford.EDU> Organization: University of Washington Paul F. Kunz writes > Because the InterfaceBuilder generates nib directories, you really > have to use CVS. Even the simpliest of applications is a huge > mess of directories as far as RCS/SCCS is concerned. But CVS, > with the latest release of RCS handles it fine. Do get Art Isbell's > cvs.postamble from the archives to go along with CVS, however. Our company has encountered some problems with the latest version of CVS under NEXTSTEP 3.1beta. If there are too many files in a single directory, the "tmpnam(3s)" call fails after TMP_MAX times, which is defined to be: #define TMP_MAX 25 /* min unique file names */ /* from tmpnam */ The symptom is that when you update a directory with 25+ files, after the 25th the files simply start blatting out to the screen. The fix is to replace all calls to tmpnam(3s) with mktmp(3), which requires a little programming but not too much. Credit for this fix goes to Ken Case, a partner here at The Omni Group. We will be submitting this fix back to GNU, but figured it might be especially timely and relevant to readers of this group since NeXT's tmpnam craps out so early. -William Shipley The Omni Group
From: mstankus@oba.ucsd.edu (Mark Stankus) Newsgroups: comp.sys.next.programmer Subject: How to get description of objects for free? Message-ID: <50296@sdcc12.ucsd.edu> Date: 31 May 93 16:16:54 GMT Sender: news@sdcc12.ucsd.edu Organization: Mathematics @ UCSD There is a NeXT book which has a description of all of the built-in objects and their methods. This costs money and I am cheap -- also I would like to start by just dabbling in ib. Is there a way to getthis stuff for free? Can I do this myself using Header.app in the demos directory? (I haven't spent much time with this application or with AppInspector....if you want to educate me, send me e-mail.) I going to get the Garfinkel & Mahoney book in a week or two (they are special ordering it for me at a bookstore). The few ib postscript help files I have all seem out of date. I have not looked at Concepts yet. Are there any you would recommend? Thanks, Mark Stankus
From: lpratt@slate.mines.colorado.edu (Lorien Pratt) Newsgroups: comp.sys.next.programmer Subject: Does anybody have weather background software? Message-ID: <1993May31.182952.45069@slate.mines.colorado.edu> Date: 31 May 93 18:29:52 GMT Sender: lpratt@slate.mines.colorado.edu (Lorien Pratt) Distribution: na Organization: Colorado School of Mines Hi. I'm struggling with wxget and background to try to get them to display an up-to-date weather map on my background, and to go to purely that background after a certain amount of idle time. I thought I'd ask if anybody knew of software to do this already before I put much time into this. Thanks for any pointers! --L. Pratt -- L. Y. Pratt Dept. of Math and Computer Science lpratt@franklinite.mines.colorado.edu Colorado School of Mines (303) 273-3878 (work) 402 Stratton (303) 278-4552 (home) Golden, CO 80401, USA
Newsgroups: comp.sys.next.programmer From: kgnome@cs.concordia.ca (S. Matis, 13th Generation) Subject: UHOPP 3.03 ... in PS ? Please. Message-ID: <C7x447.2v9@newsflash.concordia.ca> Sender: usenet@newsflash.concordia.ca (USENET News System) Organization: Wolfnet Date: Tue, 1 Jun 1993 01:00:07 GMT I need a small favor folks. On the archives (sonatta, etc ..) you can find the UHOOP 3.03 package by John R. Glover. He wrote everything in WriteNow, and I have no access to said WordProcessor ... and probably wouldn't want to either ... since Appsoft isn't friendly on the subject. So, would some good sole upload a PS version of the whole instructional course ? Also, any pointers to non-IB Obj-C instructions ... like something that compares and contrasts old C and new Obj-C doing 'traditional' things like "bogus" Inventory tracking or some such. I need to write "non-IB", because during the day, my machine is at home, and I can only access it through a modem. Yes, :) I'm self educating while waiting 'Interupt Driven' at work. Thanks, +---------------------------------+ ___ ___ ___ | Stephane I. Matis | / \_BATLLETECH /\__\ Viva NeXT! | E-Mail : kgnome@cs.concordia.ca | \___/ \___/ \/__/ NeXTSTEP 3.0! | "It Just Works..." - Steve Jobs | \___/ +---------------------------------+ Wolfnet Operative & NeXThead
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Adding Instance Variables in a Category (contains RTF) Message-ID: <1993Jun1.021505.9028@gleap.jpunix.com> Date: Tue, 1 Jun 1993 02:15:05 GMT Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Adding Instance Variables in a Category. Who says you can't add instance variables in a category? NeXT does. But I say you can and here's how. This is a discussion of the concepts for an idea I had today which allows you to add instance variables to a class via a category. This applies to NeXT's classes as well as your own. However, this cannot be used on objects which are created via IB and loaded from a nib -- objects must be created via the "+alloc" message and objects which come from a nib are not created in this way. This idea takes advantage of indexed instance vars. Any instance of a particular class can have added to it several slots which can be used as instance variables. These slots cannot be accessed by name, but must be accessed via a method. This is the preferred way to access an instance variable anyway. To add instance variables, the category you create should define a method called +catInstVarCount which returns the number of instance variables added by this category. All instance variables should be four bytes and hold only id types (under the current implementation). There is a new +alloc method of the object class which uses +catInstVarCount to call class_createInstance(Class aClass, unsigned int indexedIvarBytes) whenever a new instance is to be created. Also, there are new Object methods which allow access to indexed instance variables, indexedAt: and indexedAt: put:. Finally, your category needs to define accessor methods for the new instance variables. For example, say we want to add two new instance variables fred and barney to the Window class. Below is the implementation of the category which adds these two instance variables. Note that I do no bounds checking here, so you may want to modify this to suit your needs. Note: The simplest implementation of this idea only allows instance vriables to be added through a single category. If two categories of the same class try to add instance variables, the last one added by the linking loader would be the one that succeeds. In order for several categories to be able to define instance variables, a more complex scheme would have to be devised. By the same token, a class which already uses indexed instance vars for whatever reason will not work with this approach. Perhaps some modified version of this approach could be made to work, but you would have to have the details about the class' use of indexed instance variables. To my knowledge, none of NeXT's appkit classes use indexed instance variables, but its up to you to check. Also, I have tried this idea in a small test app and it appears to work as expected. I have not, however, tried this idea in a large system and cannot comment on the applicability of this idea in anything other than a test system. I have no reason to believe that there'd be any problems, but you should keep in mind these notices. ///////////////////////////////////////////////////////////////////// ////////// // Window (NewIvars) ///////////////////////////////////////////////////////////////////// ////////// @implementation Window (NewIvars) +(int)catInstVarCount { return 2; } -setFred: anObject { return [self indexedAt: 0 put: anObject]; } -fred { return [self indexedAt: 0]; } -setBarney: anObject { return [self indexedAt: 1 put: anObject]; } -barney { return [self indexedAt: 1]; } @end ///////////////////////////////////////////////////////////////////// ////////// // Object (NewIvars) ///////////////////////////////////////////////////////////////////// ////////// @implementation Object (NewIvars) +alloc { return class_createInstance([self class], [self catInstVarCount]*sizeof(id)); } +(int)catInstVarCount { //The default amount of indexed I vars is 0; return 0; } -indexedAt:(int)index { id *indexedIvars = object_getIndexedIvars(self); return indexedIvars[index]; } -indexedAt:(int)index put: anObject { id *indexedIvars = object_getIndexedIvars(self); indexedIvars[index] = anObject; return self; } @end -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C%<9FYI;"!4:6UE<RU2;VUA;CM<9C!< M9FUO9&5R;B!#;W5R:65R.WT*7&UA<F=L,3(P"EQM87)G<C$R,`I[7&-O;&]R M=&)L.UQR960P7&=R965N,%QB;'5E,#M]"EQP87)D7'1X-38P7'1X,3$R,%QT M>#$V.#!<='@R,C0P7'1X,C@P,%QT>#,S-C!<='@S.3(P7'1X-#0X,%QT>#4P M-#!<='@U-C`P7&8Q7&)<:3!<=6QN;VYE7&9S,CA<9F,P7&-F,"!!9&1I;F<@ M26YS=&%N8V4@5F%R:6%B;&5S(&EN(&$@0V%T96=O<GD*7&(P("Y<"EP*5VAO M('-A>7,@>6]U(&-A;B=T(&%D9"!I;G-T86YC92!V87)I86)L97,@:6X@82!C M871E9V]R>3\@($YE6%0@9&]E<RX@($)U="!)('-A>2!Y;W4@8V%N(&%N9"!H M97)E)W,@:&]W+EP*7`I<"E1H:7,@:7,@82!D:7-C=7-S:6]N(&]F('1H92!C M;VYC97!T<R!F;W(@86X@:61E82!)(&AA9"!T;V1A>2!W:&EC:"!A;&QO=W,@ M>6]U('1O(&%D9"!I;G-T86YC92!V87)I86)L97,@=&\@82!C;&%S<R!V:6$@ M82!C871E9V]R>2X@(%1H:7,@87!P;&EE<R!T;R!.95A4)W,@8VQA<W-E<R!A M<R!W96QL(&%S('EO=7(@;W=N+B`@2&]W979E<BP@=&AI<R!C86YN;W0@8F4@ M=7-E9"!O;B!O8FIE8W1S('=H:6-H(&%R92!C<F5A=&5D('9I82!)0B!A;F0@ M;&]A9&5D(&9R;VT@82!N:6(@+2T@;V)J96-T<R!M=7-T(&)E(&-R96%T960@ M=FEA('1H92`B*V%L;&]C(B!M97-S86=E(&%N9"!O8FIE8W1S('=H:6-H(&-O M;64@9G)O;2!A(&YI8B!A<F4@;F]T(&-R96%T960@:6X@=&AI<R!W87DN7`I< M"E1H:7,@:61E82!T86ME<R!A9'9A;G1A9V4@;V8@:6YD97AE9"!I;G-T86YC M92!V87)S+B`@06YY(&EN<W1A;F-E(&]F(&$@<&%R=&EC=6QA<B!C;&%S<R!C M86X@:&%V92!A9&1E9"!T;R!I="!S979E<F%L('-L;W1S('=H:6-H(&-A;B!B M92!U<V5D(&%S(&EN<W1A;F-E('9A<FEA8FQE<RX@(%1H97-E('-L;W1S(&-A M;FYO="!B92!A8V-E<W-E9"!B>2!N86UE+"!B=70@;75S="!B92!A8V-E<W-E M9"!V:6$@82!M971H;V0N("!4:&ES(&ES('1H92!P<F5F97)R960@=V%Y('1O M(&%C8V5S<R!A;B!I;G-T86YC92!V87)I86)L92!A;GEW87DN7`I<"E1O(&%D M9"!I;G-T86YC92!V87)I86)L97,L('1H92!C871E9V]R>2!Y;W4@8W)E871E M('-H;W5L9"!D969I;F4@82!M971H;V0@8V%L;&5D("MC871);G-T5F%R0V]U M;G0@=VAI8V@@<F5T=7)N<R!T:&4@;G5M8F5R(&]F(&EN<W1A;F-E('9A<FEA M8FQE<R!A9&1E9"!B>2!T:&ES(&-A=&5G;W)Y+B`@06QL(&EN<W1A;F-E('9A M<FEA8FQE<R!S:&]U;&0@8F4@9F]U<B!B>71E<R!A;F0@:&]L9"!O;FQY(&ED M('1Y<&5S("AU;F1E<B!T:&4@8W5R<F5N="!I;7!L96UE;G1A=&EO;BDN("!4 M:&5R92!I<R!A(&YE=R`K86QL;V,@;65T:&]D(&]F('1H92!O8FIE8W0@8VQA M<W,@=VAI8V@@=7-E<R`K8V%T26YS=%9A<D-O=6YT('1O(&-A;&P@"EQB(&-L M87-S7V-R96%T94EN<W1A;F-E*`I<8C`@0VQA<W,@"EQI(&%#;&%S<PI<:3`@ M+"!U;G-I9VYE9"!I;G0@"EQI(&EN9&5X961)=F%R0GET97,*7&)<:3`@*0I< M8C`@('=H96YE=F5R(&$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<FEA8FQE<RP@=&AE(&QA<W0@;VYE(&%D9&5D(&)Y('1H92!L:6YK M:6YG(&QO861E<B!W;W5L9"!B92!T:&4@;VYE('1H870@<W5C8V5E9',N("!) M;B!O<F1E<B!F;W(@<V5V97)A;"!C871E9V]R:65S('1O(&)E(&%B;&4@=&\@ M9&5F:6YE(&EN<W1A;F-E('9A<FEA8FQE<RP@82!M;W)E(&-O;7!L97@@<V-H M96UE('=O=6QD(&AA=F4@=&\@8F4@9&5V:7-E9"Y<"EP*"4)Y('1H92!S86UE M('1O:V5N+"!A(&-L87-S('=H:6-H(&%L<F5A9'D@=7-E<R!I;F1E>&5D(&EN M<W1A;F-E('9A<G,@9F]R('=H871E=F5R(')E87-O;B!W:6QL(&YO="!W;W)K M('=I=&@@=&AI<R!A<'!R;V%C:"X@(%!E<FAA<',@<V]M92!M;V1I9FEE9"!V M97)S:6]N(&]F('1H:7,@87!P<F]A8V@@8V]U;&0@8F4@;6%D92!T;R!W;W)K M+"!B=70@>6]U('=O=6QD(&AA=F4@=&\@:&%V92!T:&4@9&5T86EL<R!A8F]U M="!T:&4@8VQA<W,G('5S92!O9B!I;F1E>&5D(&EN<W1A;F-E('9A<FEA8FQE M<RX@(%1O(&UY(&MN;W=L961G92P@;F]N92!O9B!.95A4)W,@87!P:VET(&-L M87-S97,@=7-E(&EN9&5X960@:6YS=&%N8V4@=F%R:6%B;&5S+"!B=70@:71S M('5P('1O('EO=2!T;R!C:&5C:RY<"EP*"4%L<V\L($D@:&%V92!T<FEE9"!T M:&ES(&ED96$@:6X@82!S;6%L;"!T97-T(&%P<"!A;F0@:70@87!P96%R<R!T M;R!W;W)K(&%S(&5X<&5C=&5D+B`@22!H879E(&YO="P@:&]W979E<BP@=')I M960@=&AI<R!I9&5A(&EN(&$@;&%R9V4@<WES=&5M(&%N9"!C86YN;W0@8V]M M;65N="!O;B!T:&4@87!P;&EC86)I;&ET>2!O9B!T:&ES(&ED96$@:6X@86YY M=&AI;F<@;W1H97(@=&AA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0IJ ` -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 292-2442 or 363-0887 (Hou) (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Including other source code object files in C with PB Message-ID: <1JUN93.17000744@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Tue, 1 Jun 1993 22:00:07 GMT I have several source files which are written in FORTRAN (Yuck), which I need to port over to the NeXT. I have the Fortran77 compiler, and can create object code, but I seem to have two problems. First, when I attempt to compile a small test program using cc myforobj.o mytestc.c -o test.out, I am getting errors about undefined symbols. It appears that the fortran compiler is not combining the Fortran function libraries in the object file it creates. I could use ld to link the fortran object libraries, and my fortran object file together... and I am pretty sure this will solve the problem. Which brings us to the second problem: When I try to use this object code in an application using Project Builder, it refuses to see the symbol _trnw80 (which is the fortran function name). I have placed it in the Other Resources briefcase, and it appears in the make file under the heading : GLOBAL_RESOURCES. However, it does not actually include the object file in the compilation... perhaps I need to add a preamble, or something, but I am completely at a loss. Any help would be much appreciated. Thanks in advance, Kevin
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: continuous color variation fill in a rectangle Message-ID: <1993Jun1.180325.27345@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1uaje7$11i@vtserf.cc.vt.edu> Date: Tue, 1 Jun 1993 18:03:25 GMT Gregory Lampshire writes > I can approximate this by using narrow rects and filling with > different colors and I have been experimenting with ``image'' but > with no success. Go ahead and go back to images. Basically what you want to do is set the rectangle as a temporary clipping path, and then do a rotated image with a mechanically constructed string. For eample (off the top of my head - may need some fixing): /str 256 string def 0 1 255 { str exch dup put } for gsave 100 100 200 200 rectclip 100 200 translate 200 200 scale 45 rotate <</ImageType 1 /Width 256 /Height 256 /BitsPerComponent 8 /Decode [0 1 0 1 0 1] /ImageMatrix [256 0 0 -256 0 256] /DataSource { str } >> image grestore The idea is to use the clipping path to define the shape, and the image command to quickly place the values. If a linear gradient isn't sufficient, more complex input as data to the iamge command can be used. Extending this example to color is left as an exercise for the reader :-). -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: ganek@apollo.hp.com (Daniel E. Ganek) Subject: tip and IBM AIX Sender: usenet@apollo.hp.com (Usenet News) Message-ID: <C7yGEJ.88w@apollo.hp.com> Date: Tue, 1 Jun 1993 18:23:06 GMT References: <1993Jun1.155142.6932@cs.uno.edu> Organization: Hewlett-Packard Corporation, Chelmsford, MA I'm having a problem using "tip" when connected to an IBM rs/6000 running AIX. I.e. the IBM machine doesn't like/see the carriage return. If I connect to a Sun, everything is OK. If I us "cu", the IBM machine is happy. Is this a parity problem??? The man pages say nothing about parity or char mapping. (as if man pages, ever say anything useful :-( While I have your attention I have another problem. I just got a fax/data modem and have been trying to hook it up. I also have had an HP LJ IIIP hooked up on port A for almost a year. It's has run flawlessly (once I got the the right cable). In the process of playing with the modem, tip and cu, I was switching the modem and printer between port A and B. Accidently sending modem commands to the printer and vica-versa, of course. After I got everything working (with no help from the man pages, as you can tell I'm NO unix afficiando), the printer started to act up. It was like I lost flow control, i.e. just like having the wrong printer cable. I figured one of three things happened. 1) with all the switching, I damaged the printer cable. 2) some configuration table for the printer got screwed up, I'm using the HPLJ driver. 3) I accidently sent some sort of modem string to the printer which reconfigured the printer. 2 and 3 seem unlikely. I'll check the cable tonight. And, yes, I rebooted. My basic question is "Could I have done something wrong or is it just the cable?" Thanks for the help. NeXTStep is almost as good as VUE :-) /dan ganek ganek@apollo.hp.com
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com Subject: Re: Same object, different access Message-ID: <1993Jun1.164723.438@afs.com> Sender: Michael_Pizolato@afs.com References: <1993May28.203143.538@afs.com> Date: Tue, 1 Jun 1993 16:47:23 GMT In article <1993May28.203143.538@afs.com> Michael_Pizolato@afs.com writes: >Here's the situation: > >[problem description deleted...] > >Clear as mud, I know. Thanks in advance for any help. I was right, it's clear as mud. I got a number of responses, all sort of on the mark, but nothing quite right. Since I failed to describe the problem abstractly, I'll try to re-state it concretely: I have a Game object which owns Player objects (it doesn't matter what the game is, the problem is the same for chess, Chinese checkers, or any game where the players take turns). I want the Player objects to be able to find out certain things about each other, such as name and skill level, _without_ having to implement methods in the Game object for every item of info the players can get about each other. I would prefer that the players ask each other those questions directly. However, one of the methods a Player object can have is -move:, which is the signal from the Game object that it is that player's turn. I _do_not_ want players sending each other -move: messages, for obvious reasons. There may be other Player methods that I want only the Game to be able to send as well. The key to this problem is that I will not have control over every possible Player subclass, because my intent is to define a protocol that other developers can use to implement new Player classes (different strategies, terminal instead of NEXTSTEP interfaces, etc.). I must prevent developers who want to write objects that cheat from attempting to send -move: and other protected messages. The best solution so far is one I came up with (no offense to the responders, who were suffering from my earlier poor description). I create a PlayerProxy class which implements the subset of Player methods that I want to allow. When a Player or Player subclass object asks the Game object for an opponent's id, it gets the id of a PlayerProxy object instead. The PlayerProxy object just passes all its messages to its corresponding Player object and returns the results the Player object gives. As far Player objects are concerned, they get all the allowable info directly from opponent Player objects, and I don't have to worry about prohibited messages being sent to the actual Player objects. If there's a flaw in my solution (I'm already starting to think of some), or if you have a better one, please let me know. Thanx, Michael -- Michael Pizolato michael_pizolato@afs.com NeXTMail appreciated
From: charles@ozstar.cc.vt.edu (Chuck Esterbrook) Newsgroups: comp.sys.next.programmer Subject: Re: Object Oriented Editor Message-ID: <4558@creatures.cs.vt.edu> Date: 1 Jun 93 18:34:31 GMT References: <1u5rqg$280@tricky.wft.stack.urc.tue.nl> Sender: usenet@creatures.cs.vt.edu In article <1u5rqg$280@tricky.wft.stack.urc.tue.nl> tiggr@wft.stack.urc.tue.nl (Pieter Schoenmakers) writes: > In article <4542@creatures.cs.vt.edu> charles@ozstar.cc.vt.edu (Chuck > Esterbrook) writes: > > > I could do this myself, but I'm sure > > someone already has.... > > Indeed. It is called /NextDeveloper/Demos/HeaderViewer.app. -Tiggr (1) How do you get HeaderView to activate instead of Edit when you click an error message in the Project Builder? (2) When I click name a Class name, I don't want to see the header, but a list of categories and their methods which I can then select and then edit individually. (3) HeaderViewer doesn't allow editing. In short, HeaderView "grew out of frustration that "greping through the UNIX file system" is not adequate for NeXTSTEP program development" as it says in the Info Panel. This application is a browser, not an editor. -Chuck
From: rfschtkt%banruc60.BITNET@ohstvma.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: (Save/Open)Panel's runModalFor... methods Date: 1 Jun 1993 15:34:37 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9305301927.AA13274@flexus> LS, To help you avoid the same trouble that I had in your ``mission-critical applications'' (I was so lucky not to be programming one when I had to test these things out), here's an excerpt from an upcoming issue of knownbugsin3.XvX.rtf.Z (be sure to get the latest version from cs.orst.edu or sonata.cc.purdue.edu, and to send me your reports about bugs that aren't covered yet). This doesn't seem to have been reported on this channel before. Sorry for the length of it, but I got a suggestion to include ``a small piece of code'' to verify it, and I couldn't get it much smaller than this; the good side of it is that you can copy-paste it to your programs. NextDev/GeneralRef/02_ApplicationKit/Classes/SavePanel.rtf KBNS.10.2.023_o3.0o A recipy for crashes and spurious behaviour I have investigated only OpenPanels, but since all runModal... methods ultimately derive their result from this one... >>>>> runModalForDirectory:file: - (int)runModalForDirectory:(const char *)path file:(const char *)filename Initializes the panel to the file specified by path and name, then displays it and begins its modal event loop. Invokes Application's runModalFor: method with self as the argument. Returns the constant returned by that method, depending on the method used to stop the modal event loop. <<<<< The only significance of this reference to runModalFor: is if the programmer is allowed to stop the session from within a delegate method (who has tried this already, please tell me?). But vital information on the values returned by the SavePanel (or a subclass) itself is missing. Here's a piece of code to make that clear; it was obtained from the source of a working program (can be copy-paste'd to other programs), and the diagnostic output always matched what happened so I'm quite confident about this. (Another possibility to explain all I found so far is a bug in filenames only, but then why the different results from runModal...? Anyone to try this on a SavePanel? NeXT?) /*a more elegant multi-clause selector*/ #define CASES if(0){ #define IFCASE(d) }else if(d){ #define IFDEFAULT }else{ #define ENDCASES } /*overriding fall-through as the default in a switch statement*/ #define CASE break;case #define DEFAULT break;default #define BUGVERIFICATION 1 switch([openPanel runModalForDirectory:filename file:NULL]){ case 0:{ // that's 3.0's way of telling Cancel was clicked #ifdef BUGVERIFICATION /*var*/ const char* const * ppc=[openPanel filenames]; CASES IFCASE(ppc==NULL) fprintf(stderr, "BUGVERIFICATION: Cancel was clicked on an OpenPanel that\n" "BUGVERIFICATION: had never returned other than through\n" "BUGVERIFICATION: Cancel before. (This would have crashed\n" "BUGVERIFICATION: your application.)\n"); IFCASE(*ppc==NULL) fprintf(stderr, "BUGVERIFICATION: This is what I would have expected, but\n" "BUGVERIFICATION: it has never happened.\n"); IFDEFAULT fprintf(stderr, "BUGVERIFICATION: Cancel was clicked on an OpenPanel that\n" "BUGVERIFICATION: has returned the following selection before.\n" "BUGVERIFICATION: (The program would have spuriously\n" "BUGVERIFICATION: (re)opened some files, or got non-existent\n" "BUGVERIFICATION: paths if another directory was selected\n" "BUGVERIFICATION: (the directory method is always\n" "BUGVERIFICATION: up-to-date).\n"); for(/*ppc already initialised*/;*ppc!=NULL;++ppc){ fprintf(stderr,"BUGVERIFICATION: %s\n",*ppc); } ENDCASES #endif return NO; } CASE 1:{ // that's 3.0's way of telling one or more files were selected /*some declarations in my code*/ #ifdef BUGVERIFICATION fprintf(stderr, "BUGVERIFICATION: 1 was returned.\n"); #endif /*my code did something useful with filenames here, including a return*/ } DEFAULT: #ifdef BUGVERIFICATION fprintf(stderr, "BUGVERIFICATION: runModal... returned something else than 0\n" "BUGVERIFICATION: or 1. This has never happened before.\n"); #endif SHOULDNTHAPPEN return NO; } Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in .at or .uucp Nederlands, English, Francais, Deutsch a.o.
Newsgroups: comp.sys.next.programmer From: heidelj@alleg.edu (Jason Heideloff) Subject: Show and Tell Message-ID: <1993Jun1.185247.15024@alleg.edu> Sender: news@alleg.edu Organization: Allegheny College Date: Tue, 1 Jun 1993 18:52:47 GMT Can someone out there please let me know if Show and Tell works under 3.0 (consistently)? If not what do people use to do sound and graphical demos of programs? Thanks, Jason Heideloff heidelj@alleg.edu
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: mccallum@ngoma.cs.rochester.edu (R. Andrew McCallum) Subject: Alpha release of Collection Library for GNU Objective-C Message-ID: <1993Jun1.195827.21823@cs.rochester.edu> Sender: news@cs.rochester.edu (Usenet news) Organization: University of Rochester Computer Science Dept Date: Tue, 1 Jun 1993 19:58:27 GMT Alpha Release of the Collection Library for GNU Objective-C WARNING: This library has not been tested, and I would be surprised if it were usable at this point. I am making it public now in order to get feedback on design issues. A further warning: The API may still change before the first official release---if you write code based on this library you may later have to update your code to match. ------------------------------------------------------------------ * Where can you get it? How can you compile it? By anonymous ftp at iesd.auc.dk:pub/ObjC/libcoll-??????.tar.z, where ?????? is some string of numbers specifying its date. The library requires gcc-2.4.0 or higher. ------------------------------------------------------------------ * What is the Collection library? It's a library of Objective-C objects with similar functionality to Smalltalk's Collection objects. It includes: Set, Bag, Array, LinkedList, LinkList, CircularArray, Queue, Stack, Heap, SortedArray, MappedCollector, GapArray and DelegateList. Outside of its main heirarchy it also includes List, HashTable and Storage objects compatible with NeXT's objects of the same name. This release also includes a very preliminary version of a String object. I threw it together mostly as a thought-experiment to make sure that my changes to the IndexedCollection abstract superclass would fit well with a String class. Many methods are left unimplemented; it is not useable. As an extra plus, the .tar file includes classes Magnitude and Time. Eventually the .h files for these will be moved outside of the "coll" directory. See the ChangeLog for notes about the differences between this release and the last. The library is built around several protocols: Here are some explanatory comments from the protocol .h files: The <Collecting> protocol is root of the collection protocol heirarchy. The <Collecting> protocol defines the most general interface to a collection of elements. Elements can be added, removed, and replaced. The contents can be tested, enumerated, and copied with various modifications. Elements may be objects, or any C type included in the "elt" union given in elt.h, but all elements of a collection must be of the same C type. You may also specify the function used to compare elements. [NOTE: for examples see Set and Bag.] The <KeyedCollecting> protocol inherits from the <Collecting> protocol. The <KeyedCollecting> protocol defines the interface to a collection of elements that are accessible by a key, where the key is some unique element. Pairs of (key element, content element) may be added, removed and replaced. The keys and contents may be tested, enumerated and copied. [NOTE: for examples see Dictionary and MappedCollector.] The <IndexedCollecting> protocol inherits from the <KeyedCollecting> protocol. The <IndexedCollecting> protocol defines the interface to a collection of elements that are accessible by a key that is an index, where the indeces in a collection are a contiguous series of unsigned integers beginning at 0. This is the root of the protocol heirarchy for all collections that hold their elements in some order. Elements may be accessed, inserted, replaced and removed by their index. [NOTE: for examples see Array and LinkList.] The <ListLinking> protocol defines the interface to an object that may be an element in a LinkList. LinkList is a collection object based on a doubly linked list. [NOTE: for an example see ListLink.] Here is the object inheritance heirarchy. All collection abtract superclasses (classes which are not usable without subclassing) end with "Collection"; all protocols end with "ing"; all collection protocols end with "Collecting". Collection <Collecting> Set Bag KeyedCollection <KeyedCollecting> Dictionary MappedCollector IndexedCollection <IndexedCollecting> Array Stack GapArray CircularArray Queue Heap SortedArray LinkList LinkedList String ListLink <ListLinking> EltListLink IdListLink <ListLinking> DelegateList HashTable List Storage ------------------------------------------------------------------ * The design philosophy. Objective C is not Smalltalk. Differences that matter to the Collection heirarchy: - There can be only one set of argument types with each selector. (For instance in Objective-C we can't have "-(double)data" and "-(char)data". I can't stand it when some library that I'm forced to load already defines a selector that I want to use with different types.) This isn't an issue in Smalltalk because everything is an object. * I make the Collection method names a little more descriptive, while keeping them close to Smalltalk. (For instance I think there is a good reason for using "-addObject:" instead of "-add:") - We will want collections of int's, float's, and other non-Objects. Using Objective C wrappers around these C primitive types (i.e. Integer and Float objects) is not an efficient enough option for all cases. * We could create two parallel heirarchies, one for Objects and one for elements passed as void*, but since so much of the functionality overlaps, I have merged them, and it doesn't actually look all that bad. - Objective C doesn't have Smalltalk Blocks. * Passing selectors and pointers to functions are both reasonable substitutes. I make both options available. They are distinguished as "-detectByCalling:" and "-detectByPerforming:", for example. - Smalltalk does automatic garbage collection; Objective C doesn't. * I think it should be made obvious which methods allocate a new object. Hence "-shallowCopyAs:[Bag class]" instead of "as:[Bag class]", and "-shallowCopySelect..." instead of "-select...". - We have usable Collection classes (Set, Bag, Array, etc) with functionality matching Smalltalk's objects, but there are good reasons for not having the abstract superclass structure match Smalltalk exactly. ------------------------------------------------------------------ * If you have any suggestions or bug reports, please contact: R. Andrew McCallum ARPA: mccallum@cs.rochester.edu Computer Science Department UUCP: uunet!cs.rochester.edu!mccallum University of Rochester VOX: (716) 275-2527 Rochester, NY 14627-0226 FEET: CSB Rm. 625
From: charlie@snowflake.az.stratus.com Newsgroups: comp.sys.next.programmer Subject: Re: Using Distributed Objects Date: 1 Jun 1993 20:31:07 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <1ugeab$6po@transfer.stratus.com> References: <Qg1XT5a00iMF8YKURU@andrew.cmu.edu> In article <Qg1XT5a00iMF8YKURU@andrew.cmu.edu> "Jeremy G. Mereness" <zonker+@CMU.EDU> writes: > > clients are on different machines on the internet. But I saw nothing in > the documentation on how to specify an IP address or machine name for a > client to connect to. the client uses [NXConnection connectToName:"Servername" onHost:"*"] the Servername is whatever the server process passed to [NXConnection registerRoot:self withName:"Servername"] the withName is either * (which means the local net) or hostname (either name or internet number format). -- Charles Spitzer charlie@snowflake.az.stratus.com Telecom Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: How can you make a Table/List of choices? Message-ID: <1993Jun1.165356.14119@ac.dal.ca> Date: 1 Jun 93 16:53:56 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hi...I got a problem. I'm writing a program which opens files that consists of any number of individual data sets. I know how access each data set separately in a given file ...that includes the label alloted to that set. I want to create a scrolling table to list all the the labels of all the data sets when I open a file. I know how to get the labels, and store them....but I can't make the table. I want it to list the labels and allow me to choose the label name with the mouse...ie return the choosen name to the program. I can only seem to find complicated examples. Does anyone have an easy way to create this table...I'm sure there is a way. HELP!!!!!!! Anthony Grandy Burchill Communication Research Group lisag@ac.dal.ca or grandyaw@newton.ccs.tuns.ca (sorry my NeXT mail is down)
From: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar) Newsgroups: comp.sys.next.programmer Subject: What version of GDB works on the NeXT? Date: 1 Jun 1993 21:49:12 GMT Organization: California Institute of Technology, Pasadena Distribution: world Message-ID: <1ugispINNieq@gap.caltech.edu> Hello, I was trying to debug g++ 2.4 code on my (3.0) NeXT, and it seemed that the installed version of gdb (3.95, I think) couldn't handle it. Given all that's changed with gcc since 1.96, that made sense. So, I wandered over to my friendly archive and picked up gdb 4.9 (which I believe is the latest version), and to my horror I realize that it does not support next!?!?! Has anyone else noticed this? Am I using the wrong version? What gdb ships with 3.1Dev? If anybody could point me to NeXT-compatible gdb that works with gcc/g++ 2.4.x, I would greatly appreciate it. Thanks, - Ernie P. -- Ernest N. Prabhakar Caltech High Energy Physics Member, League for Programming Freedom (league@prep.ai.mit.edu) CaJUN President NeXTMail:ernest@pundit.cithep.caltech.edu "...and ourselves, your servants for Jesus sake." - II Cor 4:5b #import <std/disclaimer.h>
Newsgroups: comp.sys.next.programmer From: bob@bobsled.glv.com (Bob Lunney) Subject: Re: design tools Message-ID: <1993Jun1.193809.11058@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993May28.194548.468@afs.com> Distribution: usa Date: Tue, 1 Jun 1993 19:38:09 GMT In article <1993May28.194548.468@afs.com> mikem@afs.com (Mike Matlack) writes: In article <1993May28.150334.10788@rpslmc.edu> ddurbin@.is.rpslmc.edu (Dave Durbin) writes: > > Does anyone know of a good design tools that can graphically layout > entity relationship diagrams? It doesn't need to be full fledged CASE, > but something better that Diagram for this. > Check out SchemaE by Schema Research Corporation. It not only does graphical ER diagramming, it will also * update the database schema and * preserve your data as you change * the schema. Viola! automated schema evolution. If you like this, there are other spiffy tools available from Schema Research. Schema Research Corp. 460 Seaport Court Suite 202 Redwood City, CA 94063 415-368-8477 (vox) 415-368-8479 (fax) It goes without saying, but my lawyer tells me I have to say it: I am not affiliated with Schema Research Corporation and gain no remuneration from the above tip. I'm just a satisfied customer. -- Bob Lunney Encompass +1 919 460 3274 bob@bobsled.glv.com NeXTmail preferred!
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: brad@instep.wimsey.bc.ca Subject: Looking for SQL Report Generator for NEXTSTEP Message-ID: <1993Jun2.001127.1345@instep.wimsey.bc.ca> Sender: brad@instep.wimsey.bc.ca (Bradley Head) Organization: InStep Mobile Communications Inc. Date: Wed, 2 Jun 1993 00:11:27 GMT Can anyone direct us towards a shrink-wrapped product or development kit that would enable us to do SQL Database (in particular Sybase) report generation? It would be preferable if it was a development kit that is either built on its own or an enhancement to DBKit. Currently, we are using OTProvide that extends Lotus Improv. Since Lotus will not be porting Improv to NS/FIP, we will not be able to use OTProvide on Intel machines. thanks in advance. brad. -- Bradley Head Software Developer, InStep Mobile Communications Inc. brad@instep.wimsey.bc.ca (NeXTmail accepted) 604 872-7116 fax: 604 872-7125
Newsgroups: comp.sys.next.programmer From: emurphy@cs.uno.edu (murphy) Subject: followup: (?) looking for disk recovery application Message-ID: <1993Jun2.043255.7112@cs.uno.edu> Organization: University of New Orleans Date: Wed, 2 Jun 1993 04:32:55 GMT howdy. thanks to all who reponded to my query (as per the subject). i have the needed information. by the by, every response basically say "there does not exist any way to recover deleted files -- hope you had backups". regards, ed
Newsgroups: comp.sys.next.programmer From: clu@malihh.hanse.de (Carsten Lutz) Subject: View to display a bitmap ? Organization: malihh, Hamburg, Germany Date: Tue, 1 Jun 1993 16:04:44 GMT Message-ID: <C7y9zz.4xv@malihh.hanse.de> Hi, folx! I need a view-subclass to display a bitmap. Not a TIFF, not a GIF, not an EPS, just a simple or even raw bitmap format. And I want to feed it into the view-object from memory, not from a file or an app-section. I think someone must have done this before, so I'd be glad if anyone could give me hints or pointers. greetings, Wutz p.s.: As I understand the NeXTstep-docs, this should also be possible by defining an NXImageRep-subclass. This would help,too. -- * Carsten Lutz, Rellingen, FRG / clu@malihh.hanse.de ( NeXTmail accepted ) * * Voice : +49 4101 512493 Fax: +49 4101 27757 Traily : +49 4101 22306 * * Our ( humans ) history as it's portrayed is just a recipe for hate. *
Newsgroups: comp.sys.next.programmer From: t8221ba@next2.lrz-muenchen.de () Subject: Problem in Project-Builder Message-ID: <1993Jun2.103549.21336@news.lrz-muenchen.de> Sender: news@news.lrz-muenchen.de (Mr. News) Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Date: Wed, 2 Jun 1993 10:35:49 GMT Hallo We, a group working on a big project, have an unsolved problem with the Project-Builder. In our application we have built an own Editor. Now we need the functionality like the NeXT-Step Editor, to put the ikon of a document, for example also from Editor or Diagram!, into a document of our own Editor, and allow the user to open this document with doubelklicking the icon. Is this possible and if, how ??????? Very much thanks and if possible write to my email-address: t8221ba@next1.lrz-muenchen.de (Markus Biermeier)
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: RE: What version of GDB works on the NeXT? Message-ID: <2JUN93.14553782@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST References: <1ugispINNieq@gap.caltech.edu> Date: Wed, 2 Jun 1993 19:55:37 GMT I am not sure if you have heard of it, but a great alternative is FX from Absoft... You may want to check it out, although it is not public domain. Have a great day! Kevin
From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: How can you make a Table/List of choices? Date: 2 Jun 1993 14:59:44 GMT Organization: Georgia Institute of Technology Message-ID: <1uif90INN58l@mephisto.gatech.edu> References: <1993Jun1.165356.14119@ac.dal.ca> In article <1993Jun1.165356.14119@ac.dal.ca> lisag@ac.dal.ca writes: > I want to create a scrolling table to list all the the labels of all > the data sets when I open a file. I know how to get the labels, and > store them....but I can't make the table. I want it to list the labels > and allow me to choose the label name with the mouse...ie return the > choosen name to the program. I just happened to be doing this yesterday; this is from my notes: In IB, drag in a Panel. Then, drag in a Button, set type to Momentary Light (it would seem On/Off would be the correct choice, but Momentary Light is what works at least on my version of the software), title alignment left, bordered NO, no icon, height 13. Alt-drag the center bottom to create a Matrix of two or three buttons. In the Matrix, set mode to List (or Radio to disallow multiple choices), cells autosize, selection by rect; Command-drag the center bottom up to set the intercell gap to zero. Set width-sizable and max-Y-margin-sizable. Set a target, if desired. Connect some outlet to the Matrix. Group in ScrollView, de-select horizontal scrolling, set width- and height-sizable, line scroll amount to 13, page scroll amount to 0. Add OK and Cancel buttons to the Panel, set the Cancel tag to 1, and target both to a "buttonHit" method in your code that does a stopModal:[sender selectedTag] and an orderOut:self on the Panel. To load the choices, you can send the Matrix renewRows:0 cols:0, then for each item, addRow and and [cellAt:row:0] setTitle:item. Then, sizeToCells, display, and runModalFor: the Panel. If you get a zero return (NX_OKTAG), use getSelectedCells:nil on the Matrix and use "title" on each object in the returned List; then "free" the List. -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: Using GDB and select() Message-ID: <1993Jun1.210304.5637@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <1993May26.132038.494@gamelan> Distribution: na Date: Tue, 1 Jun 93 21:03:04 GMT In article <1993May26.132038.494@gamelan> thf@zelator.in-berlin.de (Thomas Funke) writes: > In article <C7JK8z.KwI@agora.rain.com> bobb@agora.rain.com (Bob Beauchemin) > writes: > > > > I'm looking for some pointers on how to use GDB to debug a program that > > uses select(). When attempting to debug a server program using GDB, the > > program never responds to a network message. When I stop GDB using Ctrl-c, > > the program always responds that it was "in select()". > > Any hints would be greatly appreciated. > > GDB showed you that your program was inside a select system call. What do you > want more ? It means: The select call didn't return yet, as there was no input > available from the selected sockets. You have to trace down this, but GDB can't > do more than it is already doing .... > > (BTW: Yes, NeXT should deliver the General Problem Solver .... ) One note here, you might want to do tl to get the list of threads. Sometimes you end up in select in one thread, with one or more threads doing something else. I think it's caused by DPSAddFd. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: What source/version control software is available? Message-ID: <1993Jun1.132411.4869@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <1ucnfhINNfe3@news.u.washington.edu> Date: Tue, 1 Jun 1993 13:24:11 GMT In article <1ucnfhINNfe3@news.u.washington.edu> wjs@blorf.omnigroup.com (William Shipley) writes: > Our company has encountered some problems with the latest version of CVS > under > NEXTSTEP 3.1beta. If there are too many files in a single directory, the > "tmpnam(3s)" call fails after TMP_MAX times, which is defined to be: > > #define TMP_MAX 25 /* min unique file names */ > /* from tmpnam */ Can't believe it. tmpnam() was totally broken under 2.x. For CVS I wrote my own version, about 3-4 lines of code :-)) It seems, that NeXT is hiring engineers from IBM. (AIX-developers) :-) -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Control: cancel <2JUN93.14553782@enh.nist.gov> Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Delete news item. Message-ID: <2JUN93.17083466@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Wed, 2 Jun 1993 22:08:34 GMT This article was probably generated by a buggy news reader.
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: dal@netcom.com (Dana Andre Letendre) Subject: Re: Looking for SQL Report Generator for NEXTSTEP Message-ID: <dalC80L2A.FCJ@netcom.com> Followup-To: comp.sys.next.programmer,comp.sys.next.software Organization: NETCOM On-line Communication Services (408 241-9760 guest) References: <1993Jun2.001127.1345@instep.wimsey.bc.ca> Date: Wed, 2 Jun 1993 21:58:57 GMT I saw a product from OTI called Impress that will generate reports from SQL compatible databases. mail them at info@object.com
From: aking@BBN.COM (Allen King) Newsgroups: comp.sys.next.programmer Subject: PastBoard's -declareTypes Date: 2 Jun 1993 23:46:49 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA Distribution: world Message-ID: <m0qev9INNfqm@news.bbn.com> /* About a week ago, I (aking@bbn.com) posted: > It seems like some of the viewing hierarcy must be cached in the Appkit > before -mouseDown is called, because if a view is freed in that method and > then PastBoard's -declareTypes is called (e.g. in preparation for a > dragImage), -declareTypes tries to message the freed view and dies! > Curiously, this behavior only happens if the deleted view was previously > dragged. > > The following mini-program exhibits the problem. It was isolated from a > much larger program (about 6K lines, a process that took a good day). Use IB > to make a window with a PiecePart view, and change the string "figA" to some > tiff file in the directory, and see for yourself. If you drag the little red > box first, drags of the big green box will exhibit the error. However drags > to the big green box by themselves are okay. > > So what's going on here? My head hurts! Is this a bug in -declareTypes, > or in my code? Thanks for your help. > > Allen King > > [mini-program deleted] > Thanks to Matt Watson from Next, and Bob Vadnais, both of whom suggested NXApp -delayedFree. That fixes that problem. Great! And let's hear it for Next support on the net! +++ H O W E V E R: It after furthur testing a more subtle problem with very similar symptoms appeared: It appears that if a once-draged objected is subsequently freed, and then a different object is dragged, in certain cases the PastBoard -declareTypes::: method tries to message the first object. The following is a second version of the mini-program which exhibits the more subtile bug. Here's how to get it to fail: 1. TheContentView contains only one subviews for this bug: theBox. 2. Drag theBox. Now PastBoard -declareTypes::: has "handled" theBox. It seems as though the AppKit should forget all state from this transaction once the mouse is let up, but it seems like it doesn't! 3. Right click anywhere in the window. This re-allocates theBox. 4. Attempt to drag theBox again. PastBoard -declareTypes::: for some reason dies trying to reference to reference the first theBox! If you skip step 2, things work great -- PasteBoard never gets to handle the object which will get deleted. If you skip step 3, things also work great -- you never delete the once-dragged object. I'm hopeing that someone will have some ideas about this bug from this description. Is there some "purge" command that should be given the AppKit after step 3? Again, I appreciate your help. Allen King aking@bbn.com */ #import <appkit/appkit.h> @interface PiecePart:View { int piecePartType; # define PPBox 1 } @end PiecePart *theBox, *theContentView, *dragObject; NXRect theBoxesFrame = {10, 10, 20, 20}; const char *pbTypes[1]; @implementation PiecePart - rightMouseDown :(NXEvent *)theEvent { [theBox getFrame :&theBoxesFrame]; [NXApp delayedFree :theBox]; printf("%x: freed", (unsigned)theBox); theBox = [[PiecePart alloc] initFrame :&theBoxesFrame]; [theContentView addSubview :theBox]; theBox->piecePartType |= PPBox; printf(", %x: allocated in its place\n", (unsigned)theBox); return self; } - mouseDown :(NXEvent *)theEvent { NXPoint mouseOffset = {0,0}; id anImage, pboard; if (self == theContentView) // can't drag root view return [super mouseDown:(NXEvent *)theEvent]; printf("%x: dragging\n", (unsigned)self); dragObject = self; anImage = [[NXImage alloc] initFromSection :"figA"]; //use any .tiff pboard = [Pasteboard newName :NXDragPboard]; [pboard declareTypes :pbTypes num :1 owner :self]; [pboard writeType :NXAsciiPboardType data :"abc" length :3];// unused data [self dragImage :anImage at :&bounds.origin offset:&mouseOffset event :theEvent pasteboard :pboard source :self slideBack :YES]; return self; } - (NXDragOperation)draggingSourceOperationMaskForLocal :(BOOL)isLocal { return NX_DragOperationAll; } - (NXDragOperation)draggingEntered :(id <NXDraggingInfo>)sender { return NX_DragOperationAll; } - (BOOL)prepareForDragOperation :(id <NXDraggingInfo>)sender { return YES; } - (BOOL)performDragOperation :(id <NXDraggingInfo>)sender { NXPoint origin = [sender draggedImageLocation]; NXPoint cursor = [sender draggingLocation]; id pBoard = [sender draggingPasteboard]; const char *actual = [pBoard findAvailableTypeFrom :pbTypes num :1]; char *p; int len; printf("%x: dropping\n", (unsigned) dragObject); [pBoard readType :actual data :&p length :&len]; [pBoard deallocatePasteboardData :p length :len]; [self convertPoint :&origin fromView :nil]; [self addSubview :dragObject]; [dragObject moveTo :origin.x :origin.y]; [window display]; return YES; } - drawSelf:(const NXRect *) rects :(int)cnt { if (![superview isKindOf :[PiecePart class]]) // root view is white { NXSetColor(NX_COLORWHITE); if (theContentView == nil) { theContentView = self; pbTypes[0] = NXAsciiPboardType; [self registerForDraggedTypes :pbTypes count :1]; printf("%x: theContentView\n", (unsigned)self); theBox = [[PiecePart alloc] initFrame :&theBoxesFrame]; [self addSubview :theBox]; theBox->piecePartType |= PPBox; } } else if (piecePartType&PPBox) // theBox is green NXSetColor(NX_COLORGREEN); NXRectFill(rects); return self; } @end
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Copy protection for objects Date: 2 Jun 1993 23:54:49 GMT Organization: Abstract Software Distribution: world Message-ID: <1ujek9INN5jm@news.u.washington.edu> I have a sort of spiffy palette that I'm considering making available for purchase. I'm wondering what objectware vendors have done regarding copy protection. One way I guess is to not distribute the object at all, but this doesn't allow any sort of demonstration of functionality. The other way is to just trust that users writing apps will pay for it. I'm wondering if anyone has come up with any sort of middle ground between these two. Thanks. -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Date: 3 Jun 1993 00:34:48 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1ujgv8INNocq@darkstar.UCSC.EDU> References: <1ujek9INN5jm@news.u.washington.edu> In article <1ujek9INN5jm@news.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: >I'm wondering what objectware vendors have done >regarding copy protection. This seems to be a major problem that needs a creative solution. Unfortunately, software piracy is rampant, so object piracy will probably be no different. In the huge PC market, I guess software vendors can afford a certain percentage of piracy loss, but in the much smaller NEXTSTEP object market, piracy losses probably will have a much more serious impact. The usual app licensing schemes just won't work. Consider the common situation in which different developers work on the same software. I am currently working on the behind-the-scenes code in an app that uses licensed objects. I cannot save modified nibs containing these licensed objects even if my changes don't involve the licensed objects. So a demo version of the objects is available, but their presence in the app means that the app times out in 10 minutes. This makes extensive debugging impossible (after drilling down through layers of code to get at a bug, a time-out is really irritating and wastes a lot of time). So developers really need to fully license all objects in an app even if they won't have anything to do with these objects. This becomes very expensive and limits contract programmers to only those apps containing objects for which [s]he has licenses. This just doesn't seem like the proper approach. I'd like to hear your suggestions on both object licensing schemes and marketing and support issues. Support becomes a very large issue for objects relative to their cost. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: gregory@email.teaser.com (gregory noe) Subject: IPC Message-ID: <i5350.n2.t193e91fd@email.teaser.com> Sender: news@teaser.com (News Administrator) Organization: Guest of France-Teaser, (3617 EMAIL) Date: Wed, 2 Jun 1993 22:30:05 GMT WHat are the differences between Mach and System V IPC ?? I work with system V and i use IPC (share memories,semaphores...) is Mach on Ne t has the same functions ? -- *-*-*-*-*-*-*-*-*-*-*-*-*-*- gregory@email.teaser.com - Gregory NOE * ________________________ * PARIS (France) - -*-*-*-*-*-*-*-*-*-*-*-*-*-*
Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: clp@home.HarvardSq.COM (Charles L. Perkins) Subject: A B I G Apology to attendees of my BOF at N.W. Expo. Message-ID: <1993Jun3.051335.1962@das.harvard.edu> Sender: usenet@das.harvard.edu (Network News) Organization: Division of Applied Sciences, Harvard University Date: Thu, 3 Jun 1993 05:13:35 GMT (I haven't been near the Internet 'til now, but even though I'll be home in only a few days, I thought I should get this apology out ASAP...) I have to make a R E A L L Y B I G apology to any of you who attended my BOF and didn't get a chance to see me there!?! I was bidding on everything in sight at the NOIR auction and in particular, absolutely HAD to have the NeXT-cable dies from the factory, which didn't go on the "bidding block" until after 8 pm (the order was random). I offered to do a dinner BOF but couldn't get everyone together in time. Maybe we can start a mailing list for my BOF topic and for Voila? Let me know what you all think... Again, I am truly sorry! Charles
From: ftqz@aurora.alaska.edu Newsgroups: comp.sys.next.programmer Subject: Help with decryption formula Message-ID: <1993Jun3.014010.1@aurora.alaska.edu> Date: 3 Jun 93 09:40:10 GMT Article-I.D.: aurora.1993Jun3.014010.1 Sender: news@raven.alaska.edu (USENET News System) Organization: University of Alaska Fairbanks I need help in solving a mathematical formula. With this formula I have two examples of input numbers and their respective results. input one ... 339-909-012 result ... 375-345-153 input two ... 088-250-713 result ... 026-832-896 Can anyone help me to solve for the equation that produces the above results. To compound matters, I suspect an interaction between the three subsets of numbers as modifiers of the others. Also, the equation may be performed in binary or octal. Thanks, Gene @ ftqz@acad3.alaska.edu
Newsgroups: comp.sys.next.programmer From: mheubi@itr.ch (Matthias Heubi) Subject: Re: crippled gdb under ns 3.0 ? Message-ID: <1993Jun3.121019.25402@itr.ch> Sender: usenet@itr.ch Organization: Interkantonales Technikum Rapperswil (ITR) Switzerland References: <1u3kp7$7p9@elroy.jpl.nasa.gov> Date: Thu, 3 Jun 1993 12:10:19 GMT David A. Watola writes > has gdb under ns 3.0 been crippled or what? some important (to me) > features are apparently missing: > > - the pclass command is gone > > - info sel gives selector names (the regexp parser seems broken though), > but no other info even though the manual says it will also give the > unique id (SEL) number. > Even worse: Under NS/FIP the data-break command seems to be gone. This might be due to some less intelligent memory management hardware (just an idea). I think that data breakpoints were some of the most powerful features of gdb and that they are really needed as long as people have to program in "pointer-C" ;-) I always get back to my cube whenever suspicious memory trashing appears (luckily not that often) -- Matthias Heubi mheubi@itr.ch (NeXT-Mail welcome!)
Newsgroups: comp.sys.next.programmer From: shill@ccsi.com (Sean L. Hill) Subject: Re: Copy protection for objects Message-ID: <1993Jun3.130100.2810@ccsi.com> Sender: shill@ccsi.com Organization: Crystal Computer Systems, Inc. References: <1ujgv8INNocq@darkstar.UCSC.EDU> Date: Thu, 3 Jun 1993 13:01:00 GMT In article <1ujgv8INNocq@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > In article <1ujek9INN5jm@news.u.washington.edu> > zeno@phylo.genetics.washington.edu (Sean Lamont) writes: > >I'm wondering what objectware vendors have done regarding copy > >protection. > > [Thoughts on licensing objects chomped] What about including code in the object so that in order to instantiate an object one would have to initialize the object with a license code. [[MyProtectedObject alloc] initWithLicense:myLicenseString] The license string would have to be entered via an inspector in Interface Builder. UGGH What am I saying. That would drive me crazy. I probably would choose a different palette in an instant if I had to deal with licensing every single instantiation, but maybe one license server object could be instantiated that all the objects would check to see if it was there and registered (via Distributed Objects). Anyone could run without the license server being registered but they could fizzle after ~XX minutes. Palettize the license server object and have the license string entered once in an IB inspector. I could deal with that. Any other ideas? -Sean --- Sean L. Hill Ergo Science Incorporated shill@ccsi.com Compuserve: 73667,3355 -- Sean L. Hill Ergo Science Incorporated shill@ccsi.com Compuserve: 73667,3355
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Date: 3 Jun 1993 15:35:17 GMT Organization: Cubic Solutions - NeXT software development and consulting Message-ID: <1ul5nlINN9nf@darkstar.UCSC.EDU> References: <1ujgv8INNocq@darkstar.UCSC.EDU> <1993Jun3.130100.2810@ccsi.com> In article <1993Jun3.130100.2810@ccsi.com> Sean_Hill@ccsi.com writes: >I probably would choose a different palette in an instant if I had to deal >with licensing every single instantiation, but maybe one license server >object could be instantiated that all the objects would check to see if it >was there and registered (via Distributed Objects). Anyone could run >without the license server being registered but they could fizzle after >~XX minutes. Palettize the license server object and have the license >string entered once in an IB inspector. I could deal with that. How would this work for me, the contract programmer, working on part of an app that uses licensed objects but not using the licensed objects in my part of the development effort? I don't want to be crippled by this licensing scheme. Maybe NEXTSTEP needs to include a standard object license server that won't impose licensing restrictions whenever an app is running under gdb. Then, at least developers could run under gdb and get their work done. This area of object licensing is really complex. I'd like to see the object vendors and NeXT get together and come up with a standard licensing scheme that would protect object vendors, would be invisible to end users, and wouldn't prevent developers from getting their jobs done. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
From: ed@vvi.com Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Date: 3 Jun 1993 16:25:51 GMT Organization: VVimaging, Inc. Message-ID: <1ul8mf$g3i@gateway.vvi.com> References: <1ul5nlINN9nf@darkstar.UCSC.EDU> In article <1ul5nlINN9nf@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > In article <1993Jun3.130100.2810@ccsi.com> Sean_Hill@ccsi.com writes: [deleted ...] You can put the static string in each of your *.o files ... static char *MyDistributionPolicy = "This is copyrighted, if you use this you need a distribution license..." then define an action method ... - MyDistributionPolicy:sender { printf("%s\n", MyDistributionPolicy); return self; } This method will show up on the IB connection inspector. Simple and it gets the word out. In addition the static variable shows up in each *.o file and each executable using the *.o file. In addition you can put a password scheme in any +initialize method. -Ed
From: pauls@css.itd.umich.edu (Paul Southworth) Newsgroups: comp.infosystems.wais,comp.sys.next.programmer Subject: Patches for Wais Server on a NeXT? Followup-To: comp.infosystems.wais Date: 3 Jun 1993 16:51:41 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1ula6t$hpt@terminator.rs.itd.umich.edu> Well Wais 8-b5 obviously doesn't just fly together under NeXT Step 3.0 on my plain 040-25 slab (20/990) with either /bin/cc or with gcc-2.3.3. I don't imagine I'm the first person to build this, so has anyone put together either diffs or just notes on getting it built properly? I'm really just interested in the server. Email please. ta
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: View as a Distributed Object Organization: Primitive Software Ltd. Date: Thu, 3 Jun 1993 09:23:15 +0000 Message-ID: <1993Jun3.092315.5017@prim> Sender: usenet@demon.co.uk Does anybody know if it would be possible to have a View as a distributed object? (As a proxy, not as a copy). For this newsreader I'm writing, it would be really cool to have a "generic" front end with the browser and scroll view and have it connect to a news source. The source could supply the cells to be loaded into the browser and a View of an article to display in the scroll view. Another example where this would be useful is in contents inspectors for a file browser - rather than the WM loading bundles to enable it to view postscript files (for example), it could ask Preview for a view of the file. Doesn't this sound like a good general solution? Just have one application that knows how to render a file type and it supplies views to whoever needs them. Another example is object pasting and linking. As I understand it, if you want to include a Draw diagram into your RTF document, it involves transferring the EPS over the pasteboard. But how about if Draw simply provided a remote View containing the required data? Does anyone have enough knowledge of NeXTSTEP internals to say if this is possible? When a View is asked to draw itself, it just spits out postscript, so all it need to do is somehow output it to the right window. Sounds easy don't it? Dave Griffiths PS: Haven't seen many questions about DO's here recently. Does that mean not many people are using them, or does everyone find them easy to use?
Newsgroups: comp.sys.next.programmer From: noer@carnegie.swarthmore.edu (Geoffrey J. Noer) Subject: Source code with icon dragging wanted Message-ID: <C824DG.5L4@cc.swarthmore.edu> Sender: news@cc.swarthmore.edu (USENET News System) Organization: Swarthmore College Date: Thu, 3 Jun 1993 17:53:39 GMT I'm writing an app which requires a palette of icons which can be dropped onto a separate workspace window. Does anybody have any examples of this or examples of dragged objects in general? Thanks, Geoff Noer, Swarthmore College noer@carnegie.swarthmore.edu (NeXTmail ok)
Newsgroups: comp.sys.next.programmer From: nash@visus.com (Richard V. Nash) Subject: Re: crippled gdb under ns 3.0 ? Message-ID: <1993Jun3.172406.7864@visus.com> Sender: usenet@visus.com (Usenet news reciever) Organization: Visual Understanding Systems, Pgh PA References: <1993Jun3.121019.25402@itr.ch> Date: Thu, 3 Jun 1993 17:24:06 GMT In article <1993Jun3.121019.25402@itr.ch> mheubi@itr.ch (Matthias Heubi) writes: > Even worse: Under NS/FIP the data-break command seems to be gone. This > might be due to some less intelligent memory management hardware (just an > idea). > > I think that data breakpoints were some of the most powerful features of > gdb and that they are really needed as long as people have to program in > "pointer-C" ;-) > > I always get back to my cube whenever suspicious memory trashing appears > (luckily not that often) > > -- > Matthias Heubi > mheubi@itr.ch (NeXT-Mail welcome!) Mach gives you the ability to protect a page for read-only. With this capability, gdb sould be able impliment the data breakpoints on any architechture. What am I missing? Simply do this.. 1. When a data breakpoint is set protect the page that the address in question is on. 2. Take a segmentation fault when someone attempts to write that page. 3. If the address is not the address you wanted but is some other address on the page, unprotect the page, re-execute the faulting instruction, re-protect the page, and go on. 4. If the address is the breakpointed address, just break. This might be slow if there is a large amount of activity on the page, but its better than nothing. -- +---------------------------------------------------------------+ | Richard V. Nash | Visual Understanding Systems, Inc. | | nash@visus.com | Tel. (412)-488-3600 Fax. (412)-488-3611 | +---------------------------------------------------------------+
From: alvin@arapaho.ucsc.edu (Alvin Jee) Newsgroups: comp.sys.next.programmer Subject: Distributed Objects Date: 3 Jun 1993 18:45:43 GMT Organization: UC Santa Cruz CIS/CE Sender: alvin@arapaho (Alvin Jee) Distribution: world Message-ID: <1ulgsnINNd3r@darkstar.UCSC.EDU> Hello All! Exactly how does (or will) distributed objects work? Will I be able to write a program such that all the objects are created on various other machines? That way, my machine only has to deal with the id's of objects and not the actual storage of the objects and then my program can create and use many more objects than can be stored in the given swap space on my machine. What I think would be neat is, if the OS finds that the machine it is running on is getting tight on swap space, it can start having newly created objects be actually alloc's on another machine. This means that I can run programs that use an enourmous amount of memory even if my local machine doesn't have that much swap space. I could then have some object server with tons of memory that will contain most of the objects. When that guy fills up, objects can get created on some other machine on the network. Of course, this may run real real slow, due to network response times, but that may not be such a big issue since it may allow me to do something that I can't do now at all. Any ideas or comments? Is this way out in left field somewhere? Alvin Jee alvin@cse.ucsc.edu
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: View as a Distributed Object Date: 3 Jun 1993 18:55:22 GMT Organization: Cubic Solutions - NeXT software development and consulting Message-ID: <1ulheqINNdlf@darkstar.UCSC.EDU> References: <1993Jun3.092315.5017@prim> In article <1993Jun3.092315.5017@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >PS: Haven't seen many questions about DO's here recently. Does that mean not >many people are using them, or does everyone find them easy to use? Maybe it's because some of us are too embarrassed to ask stupid questions :-) But I've already done a couple of dumb things today, so I might as well concentrate all dumbassity in a single day so that tomorrow will be brilliant. It appears that vendors of distributed objects must register with the Network Name Server to be known to other apps. Does this mean that an app must be running in order to vend objects? Or does Workspace do something clever like look through all apps in the standard app path at login time registering vendor names? And what happens when more than a single instance of a D.O. vendor is running on the same network? From which vendor are the objects vended? I'd like to have a security and database connection vendor that several apps must consult to get access to a secure database. Once a user has received a security token, [s]he can launch other apps without being required to receive another security token, and the same DBDatabase object is vended to all the apps thus eliminating multiple database connections for the same user. Seems like a good D.O. candidate, but what do I know? -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: How to have in IB several DBFetchGroup from same DBModule ? Message-ID: <1993Jun3.161054.3939@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993May24.154618.16473@watson.ibm.com> Date: Thu, 3 Jun 93 16:10:54 GMT In article <1993May24.154618.16473@watson.ibm.com> prz@watson.ibm.com (Antoni B. Przygienda) writes: > Hello, sorry if it's a FAQ but I couldn't find FAQ's, someone > could send them to me if appriopriate > > I'm doing DBKit hacking and basic question is: > > How do I bring IB to allocate several DBFetchGroup to the > same DBModule ?? > For example, I have a relation shown in one view and want > to have it's 1-n relation (part list of a element) content > be shown in second view. Something like > /* first window */ SELECT * from A; > /* row with a1=='??' selected then */ > /* second window */ SELECT * from B WHERE B.a1='??'; > > Docu says that this is supported via multiple DBFetchGroups > but how do I do that in IB if at all ? If not, anyone can > post me a example to do that via hard objective-c (the > examples with nextstep 3.0 for dbkit are _LOUSY_, they > should have a look at borland or microsoft, not that I love > them better than NeXT ;-) > > Otherwise, NeXTStep is _IT_ ! (excuse me, lost control for > a while ;-) > > Tony Just connect the properties from the relationship to a second table view and DBKit takes care of the fetch group stuff. For each record you select from the base table the second table will list the related records. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: Tony Zamora <azamora@hexagon.cs.indiana.edu> Subject: Freeing the key of an HashTable Message-ID: <9306032024.AA11821@hexagon.cs.indiana.edu> Organization: Computer Science, Indiana University Date: Thu, 3 Jun 93 15:24:53 -0500 I am using a HashTable that uses dynamically allocated strings (obtained using malloc) as keys. I want to be able to free this string when I remove the key from the HashTable. Unfortunately, the removeKey: method always returns nil, so I can't use that to get the key so that I can free it. I'd rather not iterate through the table. Is there any way to get the key so that I can free it. Tony
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: Re: View as a Distributed Object Date: 3 Jun 1993 20:51:40 GMT Organization: The Aerospace Corporation Message-ID: <1ulo8s$ekn@news.aero.org> References: <1993Jun3.092315.5017@prim> <1ulheqINNdlf@darkstar.UCSC.EDU> In article <1ulheqINNdlf@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > >It appears that vendors of distributed objects must register with the Network >Name Server to be known to other apps. Does this mean that an app must be >running in order to vend objects? Or does Workspace do something clever like >look through all apps in the standard app path at login time registering vendor >names? And what happens when more than a single instance of a D.O. vendor is >running on the same network? From which vendor are the objects vended? You are correct. The application must be running for it's objects to be available. I suppose you could run an "application starter" application and have your distributed objects contact that server to get applications running. If there are multiple servers vending objects with the same name and you ask for objects onHost:"*" then you get the first object that responds. Once again you can make a server application that other objects register with, and which you ask when you want specific objects. >I'd like to have a security and database connection vendor that several apps >must consult to get access to a secure database. Once a user has received a >security token, [s]he can launch other apps without being required to receive >another security token, and the same DBDatabase object is vended to all the >apps thus eliminating multiple database connections for the same user. Seems >like a good D.O. candidate, but what do I know? Yes. That's a fine thing to do with distributed objects. The trick in doing security that way is to use the protocol checker object. First you register an object that only adhere's to the "registration protocol" by using the protocol checker. The "registration protocol" has very few methods, just providing the ability to authenticate a user. Once the user is authentcated the registration object returns a new database object which the user can then access directly.
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: athan@object.com Subject: Re: Looking for SQL Report Generator for NEXTSTEP Message-ID: <1993Jun3.201316.16316@object.com> Sender: athan@object.com Organization: Objective Technologies,Inc. References: <dalC80L2A.FCJ@netcom.com> Date: Thu, 3 Jun 93 20:13:16 GMT In article <dalC80L2A.FCJ@netcom.com> dal@netcom.com (Dana Andre Letendre) writes: > I saw a product from OTI called Impress that will generate reports > from SQL compatible databases. > > mail them at info@object.com Impress is indeed a report writer, however, it is not depended on SQL compatible databases. Impress is written to work through the DBKit, and thus, through any available adaptor. The query builder works through available DBKit models. Impress is a stand alone report writing application geared towards both novice and expert end users, and includes a powerful OO-flavor scripting language (which novices don't have to deal with). The language allows you to generate and query derived data--thus, you are not dependent on your database server for these tasks. Impress has a robust API which allows Impress to be used from other applications as a data presentation engine. The API also allows you to write custom report elements which can be incorporated into Impress layouts and palettes. For more information on Impress, please email info@object.com. A 24 page product description is available. Andrew Athan Objective Technologies, Inc. -- aca (Squish) -- athan@object.com Objective Technologies, Inc.
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: Copy protection for objects Message-ID: <1993Jun3.203653.10843@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1ujek9INN5jm@news.u.washington.edu> <1993Jun3.152839.3735@afs.com> Date: Thu, 3 Jun 1993 20:36:53 GMT In article <1993Jun3.152839.3735@afs.com> greg@afs.com writes: >In article <1ujek9INN5jm@news.u.washington.edu> >zeno@phylo.genetics.washington.edu (Sean Lamont) writes: >> I have a sort of spiffy palette that I'm considering making available >> for purchase. I'm wondering what objectware vendors have done >> regarding copy protection. One way I guess is to not distribute the >> object at all, but this doesn't allow any sort of demonstration of >> functionality. The other way is to just trust that users writing apps >> will pay for it. I'm wondering if anyone has come up with any sort of >> middle ground between these two. > >How about the technique a few applications used to use: automatically send >off a piece of email to the home office every time the +alloc method gets >called. 8^) > >Seriously, we have several palettes that we're thinking about marketing, >and this is a real problem. So far, we're following the same rule we use >for our applications: eventually, everyone needs support and/or upgrades, >and that's when you get your chance to nail them. Until then, you just >have to trust people. It helps to have a reasonable policy about site >licenses, so people won't feel tempted to cheat and buy fewer licenses >than they actually intend to use. One thought that might be better than registering instantiations is to register Class initializations. There is a method in each class that gets run when each class and subclass is first used in an app. That method could be overridden to do the object license server registration. This would allow object vendors to keep to the 1 license/1 user approach to pricing, instead of getting into measured instantiation usage pricing which just seems too granular (and silly) to me (what are we going to charge, $.075 per instance of an object :-)?) On the other hand, standard user licensing says that if I license 5 "copies" of an object, I can have five different users using that class at any one time on the network. Using Distributed Objects, the license server would get notified when the user's app "dies" and reduce the use count by one. How does that sound? > >Nowadays, there is no excuse not to keep track of your customer base, and >you just have to insist people identify themselves properly before you >will help them. Legitimate users will not take the risk of being cut off >from support and upgrades, and the other folks aren't really users anyway. >Perhaps sending out source code upon receipt of the proof-of-purchase card >(assuming you have resellers) would be sufficient incentive for users to >send them back. > >I know releasing source code is a sensitive topic with developers, but as >a developer, I don't have a problem with it. I can tell you my experience >with selling palettes and objects so far: Many organizations choose to >reinvent the wheel rather than use 'black box' objects. (Come to think of >it, that statement in another context is equally true of NeXT as a whole!) >Source code gives them the comfort and security to use your code for >base-level functions. It also solves a revision control issue: if you >bring out a new version, and they have subclassed the previous version, >they can decide how to integrate the changes. > Jon Rosen
Newsgroups: comp.sys.next.programmer From: robin (Robin D. Wilson) Subject: windowDidMove method never sent to the delegate... Message-ID: <1993Jun03.211722.20707@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Thu, 03 Jun 1993 21:17:22 GMT Howdy y'all, (Texas Drawl...) I've been attempting to get a custom object (a subclass of window) to save it's default settings if it is resized or moved. It is a delegate of the window class, and it does receive the "windowDidResize" when the window is resized. However, it doesn't seem to get the "windowDidMove" EVER! I changed my code to look for the "windowMoved:(NXEvent)theEvent" method, and this works fine... BUT I'd like to know why "windowDidMove" just doesn't seem to work. Can anybody get it to work? Inquiring minds want to know... -- robin "Batman really hates 'bats', but 'Frogman' was already taken..." NeXTMail OK... robin@pencom.com (212) 513-7777 -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($AO=V1Y('DG86QL M+%P*7`HH5&5X87,@1')A=VPN+BXI7`I<"DDG=F4@8F5E;B!A='1E;7!T:6YG M('1O(&=E="!A(&-U<W1O;2!O8FIE8W0@*&$@<W5B8VQA<W,@;V8@=VEN9&]W M*2!T;R!S879E(&ET)W,@9&5F875L="!S971T:6YG<R!I9B!I="!I<R!R97-I M>F5D(&]R(&UO=F5D+B`@270@:7,@82!D96QE9V%T92!O9B!T:&4@=VEN9&]W M(&-L87-S+"!A;F0@:70@9&]E<R!R96-E:79E('1H92`B=VEN9&]W1&ED4F5S M:7IE(B!W:&5N('1H92!W:6YD;W<@:7,@<F5S:7IE9"X@($AO=V5V97(L(&ET M(&1O97-N)W0@<V5E;2!T;R!G970@=&AE(")W:6YD;W=$:61-;W9E(B!%5D52 M(5P*7`I)(&-H86YG960@;7D@8V]D92!T;R!L;V]K(&9O<B!T:&4@(G=I;F1O M=TUO=F5D.BA.6$5V96YT*71H945V96YT(B!M971H;V0L(&%N9"!T:&ES('=O M<FMS(&9I;F4N+BX@($)55"!))V0@;&EK92!T;R!K;F]W('=H>2`B=VEN9&]W M1&ED36]V92(@:G5S="!D;V5S;B=T('-E96T@=&\@=V]R:RX@($-A;B!A;GEB M;V1Y(&=E="!I="!T;R!W;W)K/UP*7`I);G%U:7)I;F<@;6EN9',@=V%N="!T M;R!K;F]W+BXN7`I<"BTM7`IR;V)I;@DB0F%T;6%N(')E86QL>2!H871E<R`G M8F%T<R<L(&)U="`G1G)O9VUA;B<@=V%S(&%L<F5A9'D@=&%K96XN+BXB7`I. M95A436%I;"!/2RXN+EP*<F]B:6Y`<&5N8V]M+F-O;0DH,C$R*2`U,3,M-S<W $-PI]"F%I `
Newsgroups: comp.sys.next.programmer From: kjell@oops.se (Kjell Nilsson) Subject: Re: Copy protection for objects Message-ID: <1993Jun3.203826.3032@oops.se> Sender: kjell@oops.se Organization: OOPSart - ObjectWareHouse References: <1993Jun3.152839.3735@afs.com> Date: Thu, 3 Jun 1993 20:38:26 GMT In article <1993Jun3.152839.3735@afs.com> greg@afs.com (Gregory H. Anderson) writes: > > I know releasing source code is a sensitive topic with developers, but as > a developer, I don't have a problem with it. I can tell you my experience > with selling palettes and objects so far: Many organizations choose to > reinvent the wheel rather than use 'black box' objects. (Come to think of > it, that statement in another context is equally true of NeXT as a whole!) > Source code gives them the comfort and security to use your code for > base-level functions. It also solves a revision control issue: if you > bring out a new version, and they have subclassed the previous version, > they can decide how to integrate the changes. > I'm completely with Mr. Anderson here ("thanks for the signed report":-). Not to have the source code, knowing it is not that hard to make the object yourself, does not support the thought of buying the stuff. (Not even if one have to make a palette too.) And I think that the discussion about the developer paying the bill needs a rethink. In the end after all its the enduser who have to pay the bill, so why don't we make them pay to the objectvendor direct when using the object. I know this is not an easy technical task to fulfill but I am sure there is a solution. (The Swedish government has invented some sort of a V.A.T. tax where the using part of the swedish people pays the bill, not the producers. Could they do it, why couldn't we:-) I think by having an license server in the OS, it would be possible to charge the user. At least with all those users connected to the net (and who isn't in a few years from now). I talked to Dr. B. Cox once and he said that we pay for the water we use and the electricity not the pipes and cables. Why not pay for the works of objects, not objects themselves. (If looking at the works of objects as a nature force then.... -- But then we maybe have to turn our brain neurons upside down, shake them for awhile and put them together again.:-) If this was possible the developers could have the source-code. Today we register our filename.suffix. It would be as easy to alloc init the object with an author suffix. Well my intentions are better than my solutions so I better stop here. But I am positive to it. It's usability, stupid! ----- Kjell Nilsson |"Not to identify oneself with something, or to Clown-at-Circus |associate things with "me", and to see that the OOPS - ObjectWareHouse |idea that there is a "me" which is distinct kjell@oops.se |from things is a delusion - that is true wisdom" (I love NeXTMail) |- Tsai Chih Chung
Newsgroups: ualberta.announce,comp.sys.next.programmer From: kenny@niagara.ucs.ualberta.ca (Kenny Leung) Subject: Looking for NEXTSTEP programmers. Message-ID: <1993Jun3.215809.19073@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada Date: Thu, 3 Jun 1993 21:58:09 GMT There is a company in Edmonton that *may* have NEXTSTEP programming work. Nothing is sure yet, but they are looking for people just in case. Anyone out there interested? -- ------------------------------------------------------- Kenny Leung University of Alberta kenny@niagara.ucs.ualberta.ca Ph: 403-492-9343 Fax: 403-492-1729 n case. Anyone out there interested? -- ------------------------------------------------------- Kenny Leung University of Alberta
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: View as a Distributed Object Message-ID: <1993Jun3.220819.17802@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1993Jun3.092315.5017@prim> <1ulheqINNdlf@darkstar.UCSC.EDU> Date: Thu, 3 Jun 1993 22:08:19 GMT In article <1ulheqINNdlf@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > >In article <1993Jun3.092315.5017@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >>PS: Haven't seen many questions about DO's here recently. Does that mean not >>many people are using them, or does everyone find them easy to use? > >Maybe it's because some of us are too embarrassed to ask stupid questions :-) >But I've already done a couple of dumb things today, so I might as well >concentrate all dumbassity in a single day so that tomorrow will be brilliant. > >It appears that vendors of distributed objects must register with the Network >Name Server to be known to other apps. Does this mean that an app must be >running in order to vend objects? Or does Workspace do something clever like >look through all apps in the standard app path at login time registering vendor >names? And what happens when more than a single instance of a D.O. vendor is >running on the same network? From which vendor are the objects vended? Yes, indeed, the app MUST be running in order to register and service distributed objects. Recognize that what DO really does is to provide you with a very high-level client/server or peer-to-peer communications model. It does not act like any sort of remote object repository, although if and when an object-oriented file system becomes a reality, this too might come to pass. The Workspace has nothing to do with DO. If two or more servers register the same name on the Network Name Server, only the first one will be returned in a generic request for an object (by generic, I mean where the hostname is not specified). > >I'd like to have a security and database connection vendor that several apps >must consult to get access to a secure database. Once a user has received a >security token, [s]he can launch other apps without being required to receive >another security token, and the same DBDatabase object is vended to all the >apps thus eliminating multiple database connections for the same user. Seems >like a good D.O. candidate, but what do I know? This is possible. One app can vend a proxy to an object to another app. What is really cool is that when this happens, there is NOT any three-way communications. That is, say Server registers object X. ClientA gets a proxy to X and then vends X to ClientB over another connection. In some systems, communications from ClientB to object X on Server would go through ClientA. In Distributed Objects, the system recognizes that there is no need to go through ClientA and a new NXConnection is set up between Server and ClientB. This happens automagically (in other words, "it just works!") and the programmers don't have to do anything to make it work right. Note however, that indeed extra connections are established between each client and the server. Each object must be supported by an NXConnection and there must be at least one NXConnection for each client/server or peer-to-peer communication pair. Jon Rosen
Newsgroups: comp.sys.next.programmer From: dekorte@ibm8.scri.fsu.edu (Stephen L. DeKorte) Subject: Help with IB References: <1993Jun3.152839.3735@afs.com> <1993Jun3.203826.3032@oops.se> Sender: usenet@mailer.cc.fsu.edu Organization: Supercomputer Computations Research Institute Date: Thu, 3 Jun 1993 22:15:32 GMT Message-ID: <C82GHw.IHq@mailer.cc.fsu.edu> I'm new to NS&IB and I'm trying to do 'Project Two' page 8-24 in the NeXTstep Concepts manual. I've followed the directions _exactly_ and everthing seems to work fine until I define the Calculator class, set it's Outlets and Actions and then Unparse it. The problem is, the IB doesn't create the setInputForm and setOutputForm methods as the manual says it should, and even if I write them in myself(just as they're printed in the manual) it won't compile. I get the following when I try to make it: ------------------------------------------------------- scrinext 16% make cc -O -g -Wall -c Calculator.m -o obj/Calculator.o Calculator.m: In method `calc:' Calculator.m:17: warning: cannot find method. Calculator.m:17: warning: return type for `selectTextAt:' defaults to id Calculator.m:18: warning: cannot find method. Calculator.m:18: warning: return type for `floatValueAt:' defaults to id Calculator.m:18: invalid operands to binary * Calculator.m:19: warning: cannot find method. Calculator.m:19: warning: return type for `setFloatValue:at:' defaults to id Calculator.m:16: warning: `degreesF' may be used uninitialized in this function *** Exit 1 Stop. ------------------------------------------------------- Any help would be much appreciated, -Steve
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: Distributed Objects Message-ID: <1993Jun3.230522.24214@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1ulgsnINNd3r@darkstar.UCSC.EDU> Date: Thu, 3 Jun 1993 23:05:22 GMT In article <1ulgsnINNd3r@darkstar.UCSC.EDU> alvin@arapaho.ucsc.edu (Alvin Jee) writes: >Hello All! > > Exactly how does (or will) distributed objects work? Its actually pretty simple (as the guy who did the DO presentation at Expo said, "it just takes THREE lines of code!"). First the server has to register a "root" object it wishes to "vend" to clients. Then it has to "run" the connection that it gets back when it registers the object. This is done with two lines of code: myConnection = [NXConnection registerRootObject:anObject as:"SERVER"]; [myConnection runFromAppkit]; The server is now "waiting" for another app to ask it to "vend" its root (or other) object. This incoming request will occur when the client app issues its one line of code: anObject = [NXConnection connectToServer:"SERVER" onHost:"*"]; If the Network Name server can find a registered connection called SERVER on any node of the network (this "*" tells it to check on all nodes - other options include a specific nodename, Internet address or NULL which means local only), it will return a proxy to the client application for the registered root object on the server. After "all of this code" is executed, the client sends messages to anObject just like it would any other object and gets replies back the same way. Effectively, the client can treat anObject as if it were local, even though there is a lot of stuff going on in the background to send the message to the server and get the response. It is all "way cool". > > Will I be able to write a program such that all the objects are created > on various other machines? That way, my machine only has to deal with the > id's of objects and not the actual storage of the objects and then my program > can create and use many more objects than can be stored in the given swap > space on my machine. Sort of, but you have to have a server on the other machine to handle this kind of "object storage" requirement. > > What I think would be neat is, if the OS finds that the machine it is > running on is getting tight on swap space, it can start having newly created > objects be actually alloc's on another machine. This means that I can run > programs that use an enourmous amount of memory even if my local machine > doesn't have that much swap space. I could then have some object server with > tons of memory that will contain most of the objects. When that guy fills up, > objects can get created on some other machine on the network. One limitation is that the other machine must have an application with all of the necessary code to execute the methods for each class of object. This is the responsibility of the server. I can see ways of doing this dynamically (via bundles) but it would take a good deal of thought to do it correctly. > Of course, this may run real real slow, due to network response times, but that > may not be such a big issue since it may allow me to do something that I can't > do now at all. > > Any ideas or comments? Is this way out in left field somewhere? > No, more like short centerfield :-) Jon Rosen
Newsgroups: comp.sys.next.programmer From: cleelacj@agedwards.com (Chris Cleeland) Subject: Re: crippled gdb under ns 3.0 ? Message-ID: <C82n0B.24J@agedwards.com> Date: Fri, 4 Jun 1993 00:36:11 GMT References: <1u3kp7$7p9@elroy.jpl.nasa.gov> <1993Jun3.121019.25402@itr.ch> Organization: A. G. Edwards & Sons, Inc. mheubi@itr.ch (Matthias Heubi) writes: >David A. Watola writes >> has gdb under ns 3.0 been crippled or what? some important (to me) >> features are apparently missing: >> >> - the pclass command is gone >> >> - info sel gives selector names (the regexp parser seems broken though), >> but no other info even though the manual says it will also give the >> unique id (SEL) number. >> >Even worse: Under NS/FIP the data-break command seems to be gone. This >might be due to some less intelligent memory management hardware (just an >idea). I attended the Expo Developer Conference. In the session "Zen and the Art of Debugging", Julie Zelinski covered many of these topics. The "data-break" command is gone. It was not standard gdb. Apparently it relied on some hardware wizardry in the hallowed black boxes. (Please correct me if I'm wrong -- and e-mail me, Julie, if you read this.) >I think that data breakpoints were some of the most powerful features of >gdb and that they are really needed as long as people have to program in >"pointer-C" ;-) Powerful they were, but woefully non-standard :-( >I always get back to my cube whenever suspicious memory trashing appears >(luckily not that often) This may work as long as you're going from Intel to Motorola, but once you get into the HP PA-RISC series, that's not going to work. Just from memory, their scheme is one that will confound if you have to get "down 'n' dirty" with it. Many an old HP-UX software broke on porting from the 300/400 series (68k-based) to the 600/700/800 series (PA-RISC). -- ============================================================================== Chris Cleeland | Internet: cleelacj@agedwards.com BOS Dev. Team | USnail: 3878 Connecticut St. Louis 63116 | BellNet: (314) 289-5372
Newsgroups: comp.sys.next.programmer From: root@infoman.com Subject: Indexing WriteNow Documents Message-ID: <1993Jun3.185751.1912@infoman.com> Keywords: WriteNow Sender: root@infoman.com (Operator) Organization: Information Management Inc. Distribution: usa Date: Thu, 3 Jun 1993 18:57:51 GMT I am trying to index WriteNow documents in the Digital Librarian, but even after I install the Third Party Filter, I still get flaky results. Has anyone run into similar problems. If so, any help would be much appreciated. Here is the Filter I Installed. Filter: Port: NXUNIXSTDIO Send Type: NXTypedFilenamePboardType:wn Return Type: NXRTFPboardType Executable: /LocalApps/WriteNow.app/wn-rtf Usually, I get a conversion error in the console with ID:108 thanks in advance Willi p.s: Please respond via e-mail. I do not have regular access to news. willi@infoman.com
Newsgroups: comp.sys.next.programmer From: djc@puck.fnbc.com (Dan Crimmins) Subject: Re: What source/version control software is available? In-Reply-To: blake015@mc.duke.edu's message of 21 May 93 19:27:54 GMT Message-ID: <DJC.93Jun3154247@puck.fnbc.com> Followup-To: comp.sys.next.programmer Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago, IL References: <15220@news.duke.edu> Date: 3 Jun 93 15:42:47 (apologies if this is a repost, gnus is not cooperating...) denise, you may also want to check out DevMan from VNP Software. this is a forthcoming product that will be a godsend when it comes to managing NEXTSTEP development projects. the new third-party guide shows they should be shipping this summer. contact DevMan_info@vnp.com for more information. --dan. -- dan crimmins djc@fnbc.com
Newsgroups: comp.sys.next.programmer From: mrothste@foraker.csc.calpoly.edu (Mont Rothstein) Subject: Re: Copy protection for objects Message-ID: <1993Jun04.054548.25712@rat.csc.calpoly.edu> Date: Fri, 04 Jun 93 05:45:48 GMT Organization: Cal Poly, SLO References: <1993Jun3.203826.3032@oops.se> Having pirated my share of software as a teenager and having worked in our school bookstore computer dept (where I learned just how much people pirate), and beeing a computer science major, I have a few thoughts on the matter. I like the fact that there is very little object ware that is priced per copy of software sold that the object is included in. This would keep me from buying the object. Source code is nice to have even if you arn't supposed to need it (it's that security blanket thing :) Beeing able to see/try/use an object before buying it is nice. I wonder just how much pirating programmers would do. I don't mean students and high school kids (who I wouldn't consider a potential market and thus not lost revanue), but actual bonafied programmers. I only consider it piracy if the person would have bought it if they couldn't copy it. Mabey I'm being idealistic but most of the programmers I know wouldn't/don't pirate software. I like Greg's suggestion with a small change, a licensing object that doesn't inforce if compiling with the -debug flag. This would allow for testing and debugging but before a normal or optimized compile could be done the object would have to be licensed. I don't really see any problems with this method (besides the problem of writing the licensing object), if fact it solves some other problems. I am currently working on a program that uses the API to a program but in the process of coding-compiling-killing-coding the program we keep fighting the copy protection of the software. If the -debug flag disabled that copy protection that would be great. I see ObjectWare as being as important if not more important that general OOP. If in doing a project I can plan it out abd then go through a catalog and buy the objects for much of it that would save time/money. If objects are inexpensive enough then I really don't see piracy as a problem. Piracy is largely prevalant because of software that costs hundreds of dollars. The license object would serve as a reminder to license the object just in case the programmer forgets. If we can agree on this then I think we ought to approach NeXT with the idea. Let's not just talk about it. -Mont NeXTmail OK :-) President CP-NUG (Cal Poly NeXT User Group, SLO) mrothste@data.acs.calpoly.edu
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: samples that use registerDirective:forClass: Message-ID: <1993Jun3.070924.1277@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Thu, 3 Jun 1993 07:09:24 GMT I'm having a heck of a time implementing an GraphicCell for use in the Text object. I can [myText replaceSelWithCell:[[GraphicCell alloc] init]] and the graphic shows up in the Text as you would expect but if I do this [Text registerDirective:"attachment" forClass:[GraphicCell class]]; and then read a file in that has the \attachment directive in it, it is ignored. How can I tell if the registerDirective:forClass: was successful? I've used this before, but I can't get it working now. Does anyone have any samples or experience with this? Thanks Scott -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: b44729@achilles.ctd.anl.gov (Samuel Pigg) Subject: 3.0 services pasteboard problems. Message-ID: <B44729.93Jun3151913@achilles.ctd.anl.gov> Sender: usenet@mcs.anl.gov Organization: /Net/achilles/files3/b44729/.organization Distribution: usa Date: Thu, 3 Jun 1993 21:19:13 GMT I am trying to make a service that reads data from the pasteboard, brings up a requester panel and waits for some user input, performs an action on the data, and returns the results to the pasteboard. This worked for me under 2.1 fairly easily, but under 3.0 I have a problem. When the service is invoked, the service method activates the service provider, brings up the prompt panel and then returns (to wait for the user to hit the 'ok' button when finished typing). The action of the 'ok' button calls a method that does the actual work and tries to send the data to the pasteboard. The problem is that the second method does not seem to be able to access the pasteboard. When it tries to write the data back, it uses the declareTypes: method, but this bombs and I get an error message saying that it tried to access a freed object. It seems somehow that when I return from the service method, and wait for the user input in the prompt panel, the pasteboard object gets freed. I've heard that Scott Hess' TickleServices is able to do this..? Has anyone had similar problems? If so, how did you deal with this? Thanks, Sam (b44729@achilles.ctd.anl.gov)
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: What version of GDB works on the NeXT? Message-ID: <1993Jun3.175727.27331@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1ugispINNieq@gap.caltech.edu> Date: Thu, 3 Jun 93 17:57:27 GMT In article <1ugispINNieq@gap.caltech.edu> ernest@pundit.cithep.caltech.edu (Ernest Prabhakar) writes: > Hello, > > I was trying to debug g++ 2.4 code on my (3.0) NeXT, and it seemed that > the installed version of gdb (3.95, I think) couldn't handle it. > Given all that's changed with gcc since 1.96, that made sense. > > So, I wandered over to my friendly archive and picked up gdb 4.9 (which > I believe is the latest version), and to my horror I realize that it > does not support next!?!?! Has anyone else noticed this? > Am I using the wrong version? What gdb ships with 3.1Dev? 3.1 NS/FIP used gdb 4.7. Hope this helps. > If anybody could point me to NeXT-compatible gdb that works with > gcc/g++ 2.4.x, I would greatly appreciate it. Thanks, > > - Ernie P. > > -- > Ernest N. Prabhakar Caltech High Energy Physics > Member, League for Programming Freedom (league@prep.ai.mit.edu) > CaJUN President NeXTMail:ernest@pundit.cithep.caltech.edu > "...and ourselves, your servants for Jesus sake." - II Cor 4:5b > #import <std/disclaimer.h> -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: hsg@duke.cs.duke.edu (Henry Greenside) Newsgroups: comp.sys.next.programmer Subject: How to compile GNU Make and other GNU software? Message-ID: <739160305@bronto.cs.duke.edu> Date: 4 Jun 93 02:18:26 GMT Organization: Duke University Computer Science Dept.; Durham, N.C. I tried to install GNU Make on my Nextstation with NS 3.0 but ran into a can of worms. I ran the "configure" file without trouble but typing "make" generated many errors of not being able to find various .h files. Here is an example: cc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -c -I. -I. -I./glob -g getloadavg.c /NextDeveloper/2.0CompatibleHeaders/kern/mach_types.h:1: warning: Compatibility header file imported, use <mach/mach_types.h> /NextDeveloper/2.0CompatibleHeaders/kern/mach_types.h:2: header file 'mach/mach_types.h' not found /NextDeveloper/2.0CompatibleHeaders/machine/kern_return.h:1: warning: Compatibility header file imported, use <mach/m68k/kern_return.h> /NextDeveloper/2.0CompatibleHeaders/machine/kern_return.h:2: header file 'mach/m68k/kern_return.h' not found / Does anyone know how to patch this up or what I am doing wrong? Even more directly: does anyone have gmake already compiled so that I can simply ftp it? Thanks, Henry
Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: verket@venice.sedd.trw.com (Paul Verket) Subject: NWE NOIR auction [was: A B I G Apology to attendees of my BOF at N.W. Expo.] Message-ID: <1993Jun4.031321.13833@venice.sedd.trw.com> Sender: news@venice.sedd.trw.com (USENET News) Organization: TRW Systems Engineering & Development Division, Carson, CA References: <1993Jun3.051335.1962@das.harvard.edu> Date: Fri, 4 Jun 1993 03:13:21 GMT Charles L. Perkins (clp@home.HarvardSq.COM) wrote: : ... : I was bidding on everything in sight at the NOIR auction and in particular, : absolutely HAD to have the NeXT-cable dies from the factory, which didn't : go on the "bidding block" until after 8 pm (the order was random). : ... What sorts of things were auctioned? Does anyone remember their rough prices? Thanks... Paul Verket (NeXTmail ok
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: How can you make a Table/List of choices? Message-ID: <C8222x.FCM@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Trilithon Software References: <1uif90INN58l@mephisto.gatech.edu> Date: Thu, 3 Jun 1993 17:04:08 GMT In article <1uif90INN58l@mephisto.gatech.edu> cc100aa@xray.gatech.edu (Ray Spalding) writes: >In article <1993Jun1.165356.14119@ac.dal.ca> lisag@ac.dal.ca writes: >>[munch stuff about wanting a pick list] > >[munch stuff about how to simulate a browser with a matrix] Actually, using a one-column browser is probably easier. You don't have to go through the trouble of configuring a matrix and grouping it in a scrollview and all that. All you do is drag out a browser, connect its delegate outlet to one of your objects that knows what should be in the list. The object should have a -browser:fillMatrix:inColumn: method. This method should fill the matrix using -addRow, etc... as usual. Since the browser is the standard Appkit object for displaying lists of info like this, your app will be more familiar to people if you really use a browser. ____________________________________________________________ Mike Ferris We demand rigidly defined areas mike@lorax.com of doubt and uncertainty. Rubicon Software -Douglas Adams (510) 652-2039
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Copy protection for objects Organization: Primitive Software Ltd. References: <1ujek9INN5jm@news.u.washington.edu> Date: Fri, 4 Jun 1993 08:54:50 +0000 Message-ID: <1993Jun4.085450.9705@prim> Sender: usenet@demon.co.uk In article <1ujek9INN5jm@news.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: >I have a sort of spiffy palette that I'm considering making available >for purchase. I'm wondering what objectware vendors have done >regarding copy protection. One way I guess is to not distribute the >object at all, but this doesn't allow any sort of demonstration of >functionality. The other way is to just trust that users writing apps >will pay for it. I'm wondering if anyone has come up with any sort of >middle ground between these two. [What follows is not a solution, just some random thoughts that may generate other random thoughts :-)] It's very easy to muddle up code and actual instantiations when talking about objects. So how about if we override +alloc so that the factory class no longer creates an arbitrary number of objects, but instead unarchives persistant objects? The code (ie the .o module) is freely copyable. But to work, instead of allocating objects willy-nilly, it unarchives them from a file in a well-known (default database definable) place. There would be some sort of mechanism to count how many objects have been unarchived and stop when the limit is reached. You would have to purchase this archive file (containing a specified number of objects) from the developer to make it work. A demo file could be made available that contained objects with functionality curtailed, or that ouput some message, or whatever (by setting flags in the private data). To prevent copying of the archive file, the very first time it is used, the factory class could do something like store the encypted inode number inside it; you could only _move_ (not copy) the file by asking the factory object to move the archive file itself. Something like this would go some way towards making software objects more like objects in the real world, ie you can take them out of the cupboard, you can move them around, but you can't create new copies. Dave Griffiths
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: yiannis@prologos.nrl.navy.mil (John Michopoulos) Subject: HELP: eps -> tiff ???? Message-ID: <C83L69.2D0@ra.nrl.navy.mil> Sender: usenet@ra.nrl.navy.mil Organization: Naval Research Lab, Washington, DC Date: Fri, 4 Jun 1993 12:54:08 GMT I need to use MediaView to make a demo for a sponsor on Monday from Images generated in Mathematica. I just discovered that the "ConvertPasteboard" for TIFFs is brokem on Mathematica 3.1 on the NeXT. It generates a TIFF that instead of the magic number has blanks on the top of the file. Thus, the file.tiff cannot be opened by anything else. The eps option works and therefore it seems reasonable that if I had a "epstotiff" utility it would solve my problem. I need to do this automatically for hundreds of images. I checked pbmplus and the tiff utils and there is nothing that could help !. Before I use NXImage in my own App that I would have to develop from scratch, does ANYBODY KNOW OF A WORKING EPS TO TIFF CONVERTER ????? It sounds rediculus that I would have to make such a request under NeXTSTEP (with this great integrattion of PS and TIFFs) but I have to ! Anxiously waiting for any answers, and Thanking all of you who can provide a clue, --john m. NRL-NUG ------------------------------------------------------------------------ |Dr.John Michopoulos (yanni)| Tel: (202) 767-2165 or -2189 | | Research Scientist | Fax: (202) 767-9181 | | Naval Research Laboratory | e-mail: yiannis@prologos.nrl.navy.mil | | Code 6380 | michopoulos@ccf3.nrl.navy.mil | | 4555 Overlook Avenue, S.W.| michopoulos@anvil.nrl.navy.mil | | Washington DC 20375-5000 | send NeXTmail to prologos.nrl.navy.mil | ------------------------------------------------------------------------ | A glimpse of a dream: Let's build rational amplifiers to move facts | | swiftly and massively so instead of crafstmen we become artists of | | research and discovery in both the physical and the conceptual worlds.| | Dreams are facts in the conceptual world anyway. | ------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: edmtl@taxus.uib.no (Thor Legvold) Subject: What is zone kalloc.1024??? Message-ID: <1993Jun4.140006.12679@alf.uib.no> Sender: edmtl@alf.uib.no (Thor Legvold) Organization: University of Bergen, Norway Date: Fri, 4 Jun 93 14:00:06 GMT I am busy debugging my SLIP connection, and have gotten the following message lately in the Console: Expanding zone kalloc.1024 Expanding zone kalloc.1024 What is this, and what does it mean??? Please e-mail replies. Regards, Thor -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors
From: monty@its.COM (Montgomery Zukowski) Newsgroups: comp.sys.next.programmer Subject: Re: View as a Distributed Object, call for FAQ questions Date: 4 Jun 1993 10:46:53 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9306041422.AA05076@its.com> In comp.sys.next.programmer article <1ulheqINNdlf@darkstar.UCSC.EDU> you wrote: > It appears that vendors of distributed objects must register with the Network > Name Server to be known to other apps. Does this mean that an app must be > running in order to vend objects? YES! Right now the name has to be in server to for it to know about you, and you have to be running to register and continue running to stay registered. If you die then so does the port you registered and your name will be removed from the name server. It actually takes a little while for the name server to remove the name everywhere (it's actually using TCP/IP instead of mach messages), so if you lose a connection and try to reconnect immediately you will crash because the name server hasn't finished mourning the death. I don't know the details of why it crashes but it really does and there is no way around it than to wait, and I don't know how long. Maybe 10 sec? I guess it depends on how big the network is. > Or does Workspace do something clever like > look through all apps in the standard app path at login time registering vendor > names? Next is working on such a scheme but there are no details available yet other than they are thinking about it. Don't hold your breath. Seems like it will be after 3.2.... > And what happens when more than a single instance of a D.O. vendor is > running on the same network? From which vendor are the objects vended? It is arbitrary as far as I know other than the local machine is searched first. Note that you can have two vendors registered with the same name on the same machine, but you will only ever get one back. It is impossible to ask the net name server for a list of the names registered. It's a security thing. > I'd like to have a security and database connection vendor that several apps > must consult to get access to a secure database. Once a user has received a > security token, [s]he can launch other apps without being required to receive > another security token, and the same DBDatabase object is vended to all the > apps thus eliminating multiple database connections for the same user. Seems > like a good D.O. candidate, but what do I know? > -- It seems like a good D.O. candidate, but it could be a nightmare because of callback problems. Callback problems are big and ugly and little bit detailed to explain, so I'll do it later, maybe next week. In the meantime I'm interested in your questions because I'd like to put together a DO FAQ. Send them to monty@its.com. I will not answer your questions directly, only through the FAQ, and it will probably be a week or two before I get a first draft done. Monty
From: d91-jjo@nada.kth.se (Joakim Johansson) Newsgroups: comp.sys.next.programmer Subject: How do i accept IBViewPboardType as a valid drag&drop type in a view? Keywords: interface builder Message-ID: <1993Jun4.144504.22600@kth.se> Date: 4 Jun 93 14:45:04 GMT Sender: usenet@kth.se (Usenet) Organization: Royal Institute of Technology, NADA I have tried to create an object inspector that should include a "viewWell" object, where one is supposed to drop IB view-elements. I try to register the view in iniFrame: with the following code: - initFrame:(const NXRect *)frameRect { const char *fileType[] = {IBViewPboardType}; [super initFrame: frameRect]; [self registerForDraggedTypes:fileType count:1]; return self; } The "viewWell" wont accept dragged views from palettes. The view conforms to the NXDraggingDestination protocol, and works perfectly with other "standard" pasteboard types (like NXFilenamePboardType) when used in applications (but with the registering of dragged types in awake: instead). Am I missing something fundamental? Isn't it possible to create a view that accepts IB:s internal pasteboard types? Any pointers to solve the problem is appreciated :) /Joakim -- Joakim Johansson d91-jjo@nada.kth.se d91-jjo@nextmail.nada.kth.se <NeXTmail>
From: david@postman.gr.osf.org (David George) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Re: What is zone kalloc.1024??? Date: 4 Jun 1993 15:04:21 GMT Organization: OSF RI Grenoble Distribution: world Message-ID: <1uno9l$s14@paperboy.osf.org> References: <1993Jun4.140006.12679@alf.uib.no> In article <1993Jun4.140006.12679@alf.uib.no>, edmtl@taxus.uib.no (Thor Legvold) writes: |> I am busy debugging my SLIP connection, and have gotten the |> following message lately in the Console: |> |> Expanding zone kalloc.1024 |> Expanding zone kalloc.1024 |> |> |> What is this, and what does it mean??? Zones are bits of preallocated memory. Doing *allocs from them is faster than for normal memory. In this case you've exhausted your initial allocation and it is being expanded. I guess the message is to warn about possible memory leaks. David.
From: marcos@kaleida.com (Paul Marcos) Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Date: 4 Jun 1993 15:07:57 GMT Organization: Kaleida Labs, Inc. Distribution: world Message-ID: <1unogdINNev5@golden.kaleida.com> References: <1993Jun4.085450.9705@prim> In article <1993Jun4.085450.9705@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > In article <1ujek9INN5jm@news.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: > [What follows is not a solution, just some random thoughts that may generate > other random thoughts :-)] > [Good idead about persistent objects deleted] [What follows are more random thoughts :^)] I like Dave's idea. I could easily see having /LocalObjects, ~/Objects, and /NextObjects (more likely these would be in the Library directories, but you get the idea) directories that hold my persistent object files. This actually solves another problem that's been mulling around in my mind. The way Dave described it I could easily see a program checking a persistent object file for available instances and if none are left, try to find another object that conforms to a desired protocol. For example, if I have a program that uses an object which conforms to the <BouncingBallProtocol>, I would first check to find the PO (persistent object) file that I distribute (if I do). If there are available instances then I grab one and away I go. If not, I could start checking NXBundles using something like getPath:forResource:ofType:. If somebody else has created an object that conforms to the <BouncingBallProtocol> then I should be able to load an instance of their object if one is available. The licensing and distribution of that other object is already taken care of so if there is one available I'll just use it. If I can't find any objects that fill my need, I just bail. Just before bailing, though, it would be nice to give the user the chance to call me, license more objects, enter a license key (or something) which would add more instances to the PO file on the fly. Someday when all our banks are on the net they won't even have to call, they'll just authorize for the payment and they're on their way. Just rambling... Paul ................................................................... Paul Marcos NeXTMail encouraged! Kaleida Labs, Inc. marcos@kaleida.com
From: david@postman.gr.osf.org (David George) Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Date: 4 Jun 1993 15:31:25 GMT Organization: OSF RI Grenoble Distribution: world Message-ID: <1unpsd$s14@paperboy.osf.org> References: <1ujek9INN5jm@news.u.washington.edu> <1993Jun4.085450.9705@prim> In article <1993Jun4.085450.9705@prim>, dave@prim.demon.co.uk (Dave Griffiths) writes: |> In article <1ujek9INN5jm@news.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: |> >I have a sort of spiffy palette that I'm considering making available |> >for purchase. I'm wondering what objectware vendors have done |> >regarding copy protection. |> [What follows is not a solution, just some random thoughts that may generate |> other random thoughts :-)] |> |> The code (ie the .o module) is freely copyable. But to |> work, instead of allocating objects willy-nilly, it unarchives them from a |> file in a well-known (default database definable) place. There would be some |> sort of mechanism to count how many objects have been unarchived and stop |> when the limit is reached. You would have to purchase this archive file |> (containing a specified number of objects) from the developer to make it |> work. ... |> To prevent copying of the archive file, the very |> first time it is used, the factory class could do something like store the |> encypted inode number inside it; you could only _move_ (not copy) the file by |> asking the factory object to move the archive file itself. This doesn't prevent you copying the archive file before it is used. You would have to store the archive file on disk in encrypted form and have an installer program decrypt it and write the inode number of the installed file in some 'secret' place. This means that to copy or move the file you always have to do it from the original disk. Good copy protection schemes are hard to devise, but then other developers shouldn't be ripping off their colleagues software. It's a generic problem but you have to trust that serious developers will pay the royalties, and if not, come down on them like a ton of bricks. Personally, I would have two licenses, a 'user' license for someone who just wants to toy with your product. The object could be supplied with an installer as I've suggested above. This wouldn't prevent her copying the original install floppy and distributing that with her product, but that would make it a real pain to use - hey why have I got to install this and link your program before I use it ? On CD ROM format this is pratically impossible for the amateur. For 'developers' I would make the initial cost more expensive, I would have serial numbers for every object package sold, so I could trace pirated copies back to the developer but I would trust the developer to pay license fees. If they are a company which files accounts you should get a good idea of how much they are selling. David.
Message-ID: <ij$@byu.edu> Date: Fri, 4 Jun 93 09:53:51 MDT From: yackd@oregon.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world References: <1ulgsnINNd3r@darkstar.UCSC.EDU> <1993Jun3.230522.24214@RedBrick.COM> Organization: Brigham Young University, Provo UT USA Subject: Re: Distributed Objects In article <1993Jun3.230522.24214@RedBrick.COM>, jfr@RedBrick.COM (Jon Rosen) writes: >In article <1ulgsnINNd3r@darkstar.UCSC.EDU> alvin@arapaho.ucsc.edu (Alvin Jee) writes: >> What I think would be neat is, if the OS finds that the machine it is >> running on is getting tight on swap space, it can start having newly created >> objects be actually alloc's on another machine. This means that I can run >> programs that use an enourmous amount of memory even if my local machine >> doesn't have that much swap space. I could then have some object server with >> tons of memory that will contain most of the objects. When that guy fills up, >> objects can get created on some other machine on the network. This is a nifty idea...it would be slow, though, and really ought to be an OOFS and not done with DO, even though it's possible... > One limitation is that the other machine must have an application with > all of the necessary code to execute the methods for each class of > object. This is the responsibility of the server. I can see ways of > doing this dynamically (via bundles) but it would take a good deal of > thought to do it correctly. Interestingly enough, I'm attempting to do this with my GameKit's high score server. It uses DO (and, barring a few minor bugs, actually works!) and attempts to dynamically adjust to clients' needs. (There are several parameters that allow you to adjust the number of tables stored for a game, the number of scores in a table, and much more.) The interesting part is that I also try to adjust to what info about a game the client wants to store. All info about an instance of game play is stored in a HighScoreSlot object, which may be subclassed to add more information to the table and change how the table sorts itself. If the class isn't linked into the server, it will try to dynamically load the .o file from the directory in which the high scores are stored in the system (/usr/local/games/highscores on my machine). However, I realized that often this is a pain: a new game developer will write a new slot class and then have to get folks running servers to install the .o file, and have to worry about distributing .o files all over the place, which is a pain in the neck. My idea to solve this is to allow the server to tell the client "I don't have that object available. Please send me the appropriate code so that I can link it in." I haven't got that part written yet, but it is certainly planned. Basically, the server can then do the appropriate install once it gets the code; right now, the server just breaks the connection if it can't get the object code. Anyway, the reason I posted this is because this thread made me realize that a facility to send .o files over the net like this could be _very_ useful in quite a few situations. (Of course, issues like getting .o files for the right architecture, etc., can make this messy, but it's a neat idea.) Any comments on this? Anyone planning on writing a facility like this before I get around to it? (I figure it'll be December or so before I get the time, since I've got a lot left to do in other areas of the kit, especially wrt animation and collision detection...I've got some really neat ideas...) Well, gotta get back to work. Later, Don_Yacktman@byu.edu
From: pkron@corona.com (Peter Kron) Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Message-ID: <95.UUL1.3#16216@corona.com> Date: Fri, 4 Jun 93 08:02:04 PDT References: <1993Jun3.173228.12353@adobe.com> Organization: Corona Design, Inc., Seattle, WA > From: Scott Byer <byer@mv.us.adobe.com> > Message-ID: <1993Jun3.173228.12353@adobe.com> > Date: Thu, 3 Jun 1993 17:32:28 GMT > [and others] > > > RE: Object licensing. > > I personally would object to a key scheme. Although I would certainly > object even more to anything that tied itself to my hostid or machine > name. > > > Here's a wild suggestion: > > Have the object initialization take a visible window (such as a > splash screen) where the object can put a notice or credit before > enabling itself. The object can check to make sure the widow is > visible, can resize the window down to accomodate it's splash > portion, can make sure it's splash will show. Sort of akin to the > "marching icons" of the Mac. (But much prittier, of course). If > anything doesn't look right, the object bails. This isn't a bad idea, although I would agree with a subsequent post to put the splash in class initialization, not instantiation. Better yet would be some accepted protocol for a "splash view" contained in the info panel, eg. class initialize registers class the splash view, then supplies an icon upon request. Copyprotection schemes will require a lot of standardization to avoid becoming unacceptable to the user. Copy protection in general comes back to the "mother of all strategies", VOLUME. Almost no one copy protects in the PC world--the users have rejected it. They will reject it in NEXTSTEP too when there are enough of them to do so. IMO, our time is better spent working on those volume-generating apps than defining copyprotection standards. --------------- Peter Kron P.O. Box 51022 Corona Design, Inc. Seattle, WA 98115-1022 Peter_Kron@corona.com
Newsgroups: comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer From: yiannis@prologos.nrl.navy.mil (John Michopoulos) Subject: Re: HELP: eps -> tiff ???? Message-ID: <C83utK.731@ra.nrl.navy.mil> Sender: usenet@ra.nrl.navy.mil Organization: Naval Research Lab, Washington, DC Date: Fri, 4 Jun 1993 16:22:31 GMT I found the answer to my own question: In the distribution of ImageViewer there is a command line filter called "image" that functions like almost a universal translator and let's you translate (via a shell script that incorporates it) all the hundreds of images that one might want to translate !!! Thanks all the kind people that responded to my message anyway! Cheers, --john m. ------------------------------------------------------------------------ |Dr.John Michopoulos (yanni)| Tel: (202) 767-2165 or -2189 | | Research Scientist | Fax: (202) 767-9181 | | Naval Research Laboratory | e-mail: yiannis@prologos.nrl.navy.mil | | Code 6380 | michopoulos@ccf3.nrl.navy.mil | | 4555 Overlook Avenue, S.W.| michopoulos@anvil.nrl.navy.mil | | Washington DC 20375-5000 | send NeXTmail to prologos.nrl.navy.mil | ------------------------------------------------------------------------ | A glimpse of a dream: Let's build rational amplifiers to move facts | | swiftly and massively so instead of crafstmen we become artists of | | research and discovery in both the physical and the conceptual worlds.| | Dreams are facts in the conceptual world anyway. | ------------------------------------------------------------------------
From: bbeckwit@carrock.hw.stratus.com (Bob Beckwith) Newsgroups: comp.sys.next.programmer Subject: Re: crippled gdb under ns 3.0 ? Date: 4 Jun 1993 16:34:15 GMT Organization: Stratus Computer, Inc. Message-ID: <1unti7$b81@transfer.stratus.com> References: <1u3kp7$7p9@elroy.jpl.nasa.gov> <1993Jun3.121019.25402@itr.ch> <C82n0B.24J@agedwards.com> In article <C82n0B.24J@agedwards.com> cleelacj@agedwards.com (Chris Cleeland) writes: >I attended the Expo Developer Conference. In the session "Zen and the >Art of Debugging", Julie Zelinski covered many of these topics. The >"data-break" command is gone. It was not standard gdb. Apparently it >relied on some hardware wizardry in the hallowed black boxes. (Please >correct me if I'm wrong -- and e-mail me, Julie, if you read this.) > >>I think that data breakpoints were some of the most powerful features of >>gdb and that they are really needed as long as people have to program in >>"pointer-C" ;-) > >Powerful they were, but woefully non-standard :-( My *guess* is that the true answer behind the disappearance of data breakpoints is, in fact, that they were non-standard. Two other things may have come to bear on this: (1) While the implementation (as I understood it) didn't rely upon any type of "hardware wizardry in the hallowed black boxes", it did use Mach VM calls (basically change the access rights for a page, and then catch the exception and check the address). With the announcement of other ports, it may be that NeXT does not wish to depend upon having this Mach functionality available. (2) GNU Obj-C & GDB. In a desire to see Obj-C propagate further and also be able to take advantage of the work done by others (outside of NeXT), NeXT may be attempting to minimize the amount of reintegration that must be done in order to "keep up" with GNU Obj-C and GDB (and stuff like g++). Dropping in-house features (where appropriate) would help achieve this (also keep in mind that having to perform this reintegration is probably not making best use of NeXT's limited resources). --Bob -- Bob_Beckwith@vos.stratus.com Stratus Computer, Inc., Hardware Engineering 55 Fairbanks Blvd. Marlboro, MA 01752 USA
Newsgroups: comp.sys.next.programmer From: oliver@sphinx.gun.de (Oliver Bonk) Subject: ioctl and USCSICMD Message-ID: <1993Jun4.155129.198@sphinx.gun.de> Sender: oliver@sphinx.gun.de (Oliver Bonk) Organization: Oliver's ColorStation Date: Fri, 4 Jun 93 15:51:29 GMT Hi, well I know this is not the right area, but i do not get the area for sun programming. Sorry !!! My problem: I want to send data to a scsi-device. To do this i do an open() to open /dev/sr0 (for CDROM) I get the filedescriptor back. This works fine. Now I fill a structure with data and do a ioctl(fd,request,arg) arg is a pointer to the structur. request is RD_ONLY What I get back is: Inappropriate ioctl for device What ever I do it is always the same. Except I give a wrong filedescriptor. Then I will get another Msg. (Of course!) Anybody who can help me? Thanks a lot Bye Oliver -- * * * * * * * * * * * * * * * * * * * * * * * * * * * * NeXTmail welcome oliver@sphinx.gun.de (Oliver Bonk) Oliver Bonk Kaarst Germany * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: What version of GDB works on the NeXT? Message-ID: <1993Jun3.103210.828@gamelan> Sender: thomas@gamelan (thomas) Organization: NNU Corp. - NeXT is Not UN*X References: <1ugispINNieq@gap.caltech.edu> Date: Thu, 3 Jun 1993 10:32:10 GMT In article <1ugispINNieq@gap.caltech.edu> ernest@pundit.cithep.caltech.edu (Ernest Prabhakar) writes: > So, I wandered over to my friendly archive and picked up gdb 4.9 (which > I believe is the latest version), and to my horror I realize that it > does not support next!?!?! Has anyone else noticed this? Yes. > Am I using the wrong version? No. Almost every junk-unix is supported by gdb, but not NeXT. A major disadvantage. And even if you get a new GDB with NS3.1, it'll probably not work with the then newest gcc. Is someone working on that ? -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: strftime query? Date: 4 Jun 1993 19:16:10 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1uo3ha$3is@steffi.demon.co.uk> Ok call me stupid but aren't these two strftimes the same? strftime(buf,DATESIZE+1,"%d/%m/%Y\t%H:%m:%M",timebuf); strftime(buf,DATESIZE+1,"%d/%m/%Y\t%X",timebuf); Observe the following program. #include <sys/time.h> #define DATESIZE 19 void main(argc,argv) { time_t now,now2; char buf[DATESIZE+1]; struct tm *timebuf,*timebuf2; char buf2[DATESIZE+1]; now=time(NULL); timebuf = localtime(&now); strftime(buf,DATESIZE+1,"%d/%m/%Y\t%H:%m:%M",timebuf); printf("%s\n",buf); now2=time(NULL); timebuf2 = localtime(&now2); strftime(buf2,DATESIZE+1,"%d/%m/%Y\t%X",timebuf2); printf("%s",buf2); exit(1); } Now, the second buf2 doesn't get properly null terminated, should it? (gdb) print buf $11 = {"04/06/1993\t19:06:12\000"} (gdb) print buf2 $12 = {"04/06/1993\t19:12:33 "} (gdb) BTW: Black h/w and release 3.0 -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: A couple of interesting ideas... Message-ID: <4JUN93.19483392@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Sat, 5 Jun 1993 00:48:33 GMT First, I would like to say that the discussion of copy-protection has been very interesting to watch. I doubt that I will ever be in a position wheree it would effect me directly, but the ideas have been good so far. (I like the idea of a non-removal window splash the best....) As for royalties, etc... if someone is ethical enough to pay you once to get an application ready version of an object, they will probably be sure to stick to the licensing agreement. Don't worry about enforcing the cost per application rule, that really should be done on the honor code. Now, to get to the important things. I have been screwing around with the InspectorManager object recently, and it has some very nice functionality. One problem, though, is that adding new views has to be done programatically. In my case, this is a problem because I work only three months a year; anyone coming behind me has to be able to figure out my code in orderr to add new objects and inspectors. What I am wondering is: if I created a nib section with several windows containing views, can I access these windows by anything but application Window number. Is there anyway to find out which windows are being added to the application by the NXloadnibsection: command? Is the file owner directly accessible by each of the windows in a nib section, like NXApp is? (Random rambling begins now, as if it hadn't allready!) Perhaps by adding a category to the windows in the nib section, which could define a class that they refer to. i.e., by having a method that returns the type of object this window has an inspector view for, and then creating a hash table of classes and views... ARGH!! this gets so twisted... Anyway, has anyone thought of a way of having an easily expandible set of useable views (creatable in IB) that can reference a new object type that may be added later. What I am trying to accomplish here is an application that can have functionality added to it long after I am gone. I hope this made since, if it didn't, please ignore me. Everyone else does! Kevin
Newsgroups: comp.sys.next.programmer From: scott@parsec.mixcom.com (Scott Violet) Subject: Looking for Indexing Kit Examples Message-ID: <1993Jun4.145511.750@parsec.mixcom.com> Organization: not really... Distribution: usa Date: Fri, 4 Jun 1993 14:55:11 GMT Hi all, I was just wondering if someone might have an example of using the Indexing kit that I might be able to look at. What I would like is an example that shows how to create a store, add stuff to it, and then access it. Thanks, -Scott Violet (scott@parsec.mixcom.com)
Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: NWE NOIR auction [was: A B I G Apology to attendees of my BOF at N.W. Expo.] Message-ID: <1993Jun4.194236.29573@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1993Jun3.051335.1962@das.harvard.edu> <1993Jun4.031321.13833@venice.sedd.trw.com> Date: Fri, 4 Jun 1993 19:42:36 GMT In article <1993Jun4.031321.13833@venice.sedd.trw.com> verket@venice.sedd.trw.com (Paul Verket) writes: >Charles L. Perkins (clp@home.HarvardSq.COM) wrote: >: ... >: I was bidding on everything in sight at the NOIR auction and in particular, >: absolutely HAD to have the NeXT-cable dies from the factory, which didn't >: go on the "bidding block" until after 8 pm (the order was random). >: ... > >What sorts of things were auctioned? Does anyone remember their rough >prices? > >Thanks... >Paul Verket (NeXTmail ok Yep.... A set of juggling balls given away to NeXT employees at a company picnic and signed by master juggler and NeXT supertrainer Randy Nelson (Randy is a former member of the Flying Karamozovs juggling troupe as well as being an avid NeXT advocate) went for $275. A set of rare PS/2 NeXTstep for AIX manuals from IBM (which were printed in limited quantities and then destroyed when IBM decided not to ship NeXTstep) went to Mr. Perkins for $800. Many of the 4'x4' photo-art in NeXT's corporate headquarters went for $200 (cheapest, a picture of a NeXT slab) to $1500 (most expensive, the optical disk). Most went for between $400 and $600. Two black lab coats from the factory went for sonething like $300 each. The white lab coat went for (I heard this) $1500. Eric Scott purchased 300 (count-em!!!!) little-black-NeXT-cube- thingie-tools (if you have a cube you know what I mean) for $125!!!! Even more amazing is a few minutes later, 100 of the same tool went for $140!!!!!!!! (Of course, the latter item included the little plastic trays with the tools neatly packaged, whereas Eric's were just strewn together in a box :-) Lotsa other nice stuff was auctioned off including mass quantities of Mahoney/Garfinkel's book. And Dan Lavin was in TOP form as auctioneer. (Dan, you still owe me a backgammon game :-) Jon Rosen
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Copy protection for objects Message-ID: <1993Jun4.181456.4481@afs.com> Sender: greg@afs.com References: <1993Jun4.085450.9705@prim> Date: Fri, 4 Jun 1993 18:14:56 GMT I've given this issue some more thought, and I think a lot of the discussion over the past few days is WAY off the mark. First, there is no practical way to charge for end-user object usage by overriding +alloc. Geez, I made a joke, and people took me seriously. It's always possible for a skilled programmer to replace your class's version of +alloc in a subclass (and yes, you can "hop" over an undesirable class when you call through to [super alloc]), so what are you going to do about that? Write each of your instance methods to check for proper licensing initialization at each invocation? I wouldn't buy third-party objects with that kind of overhead. But if you really want to pursue a per-instance solution, +initialize is the way to go. That CAN'T be overridden, and the runtime system is guaranteed to call it. Second, there is no moral justification for charging for class usage on a per-object basis. When you buy a shrink-wrapped application, you pay for it up front, and you can use it as many times as you like without further charge. This idea of metering object creation just stinks of the old mainframe CPU charges. Wake up and get into the 90s! We're doing distributed computing now! Third, we all know that programmers hate to use development tools that involve royalty charges for end user copies. The examples of failed royalty schemes are too numerous to mention. Database servers are the only notable exception to this rule, and even here, DBKit levels the playing field. Forget about it. You will fail, too. So what is the solution? As usual when the category is "business success," price your objects correctly in the first place. By way of example, I'll tell you the distinctions AFS makes. We have two very different sets of objects, and our pricing is based on the question "Who benefits and how?": afskit - These are extensions to standard AppKit classes, with custom UI controls, more intelligent Windows, etc. These objects are primarily for programmers' benefit, because they make it easier to build apps of all types. Therefore, they are licensed on a per-programmer basis, and priced relative to the effort it would take to do the work from scratch. There's no point charging bazillions of dollars for these base classes, because their capabilities could be duplicated by a good NeXT programmer with moderate effort. What programmers are really buying is *time* (because they can get new projects off the ground more quickly) and *experience* (because the code is already in use, and presumably tested thoroughly). tradekit - These are financial trading objects with embedded application task functionality. In fact, if you simply compile the tradekit class library and use the basic supplied nibs, you get a sort of shrink-wrapped, minimally functional trading system. tradekit primarily benefits users, so it is licensed on a per-end-user basis at a price relative to what similar applications would cost. Since it differs only slightly from shrink-wrap, the key question is, "Do shrink-wrapped apps need copy protection?" I don't think so, but some do. In that case, put a license check in the +initialize method of some critical object, like your Application subclass or delegate, and validate each program launch. I guess the moral is that if your objects are at a sufficiently high level to represent a whole application's worth of task functionality, and you can't bear the thought that evil people might steal from you, use a per-launch licensing scheme. But for palettes of base classes, which was the original topic of this discussion, hit the programmers--the "end-users" of palette "applications"--and forget about how many times they use them in practice. By the way (here's where Greg whispers the word "plastics" in your ear), the real money to be made vending objects is in the tradekit variety. Base class ObjectWare is neat, but programmers won't pay a lot for it, and you only get paid for each programmer who uses it. Encapsulated task functionality, on the other hand, jump starts custom applications, and allows you to charge at the end-user level. Taligent calls these types of task-functional objects "Frameworks," and I think they are right to focus at this level. Of course, we'll all be millionaires by the time Taligent gets to market... 8^) -- Gregory H. Anderson | "If you've got eyes to rhythmatize Composer-in-Residence | Bring your flat hat and your ax Anderson Financial Systems | 'Cause tonight at 10 we'll be workin' again" greg@afs.com (NeXTmail OK) | -- Donald Fagen, "Teahouse on the Tracks"
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Re: What version of GDB works on the NeXT? Message-ID: <1993Jun4.204724.7364@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Jun3.103210.828@gamelan> Date: Fri, 4 Jun 93 20:47:24 GMT In article <1993Jun3.103210.828@gamelan> thf@zelator.in-berlin.de (Thomas Funke) writes: > Almost every junk-unix is supported by gdb, but not NeXT. A major > disadvantage. And even if you get a new GDB with NS3.1, it'll > probably not work with the then newest gcc. Is this true? Can someone with NS 3.1 and gcc 2.4.2 please comment? I have heard that NS 3.1 comes with gdb 4.7 and it seems likely to me that it would work, at least to some extent. After all, gdb 3.95 (NS 3.0) works ok with gcc 2.3.3 and C++ code for me (well, it does crash now and then...). It would seem that the gap between gdb 4.7 and gcc 2.4.x is much smaller than that between gdb 3.95 and gcc 2.3.x. I agree with Thomas Funke though: it would be very nice if gdb compiled under NeXTstep. It is strange, given that almost all other GNU packages compile so easily (this has really changed in the last few years; nowadays it is only Ultrix that I have consistent problems with...). -- Magnus Nordborg magnus@fisher.stanford.edu (NeXT mail preferred) Department of Biological Sciences Stanford University Stanford, CA 94305-5020 +1 (415) 723-4952 (office)
Newsgroups: comp.sys.next.programmer From: brian@pencom.com (Brian Hobbs) Subject: How do you create text with Renderman? Message-ID: <1993Jun04.182102.24607@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated Date: Fri, 04 Jun 1993 18:21:02 GMT Greetings, I'm starting to play with the 3D kit, and I've not found any references on how to create and extrude text for rendering. I have the Renderman Companion, and it says very little as well. If I had to guess, it seems that I'll need to generate it somehow, but I'm not sure even where to start... Any suggestions? Thanks much, Brian Hobbs Pencom Software brian@pencom.com
Newsgroups: comp.sys.next.programmer From: ljung@cae.wisc.edu (David Ljung) Subject: putenv on a NeXT Organization: Spawning Cow! Productions Distribution: usa Date: 4 Jun 93 18:05:05 CDT Message-ID: <1993Jun4.180505.6777@doug.cae.wisc.edu> I am trying to port a quasi-shell I wrote to a NeXT machine (not even sure which one) and much to my surprise, it seems that the NeXT sys doesn't offer putenv... What alternatives am I suppose to use to alter the environ? Thanks, Dave please email responses: ljung@cae.wisc.edu ------------------------------------------------------------------ (__) ---- David Ljung 314 N. Broom St. #3A oo ) Spawning Cow! Productions Madison, WI. 53703 moo. |_/\ ljung@cae.wisc.edu (608) 257-COWS ----------------= I program in C because it turns women on. =-----------------
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Copy protection for objects Organization: Primitive Software Ltd. References: <1993Jun4.085450.9705@prim> <1993Jun4.181456.4481@afs.com> Date: Sat, 5 Jun 1993 01:17:18 +0000 Message-ID: <1993Jun5.011718.13419@prim> Sender: usenet@demon.co.uk In article <1993Jun4.181456.4481@afs.com> greg@afs.com writes: >I've given this issue some more thought, and I think a lot of the >discussion over the past few days is WAY off the mark. > >First, there is no practical way to charge for end-user object usage by >overriding +alloc. Geez, I made a joke, and people took me seriously. It's >always possible for a skilled programmer to replace your class's version >of +alloc in a subclass (and yes, you can "hop" over an undesirable class >when you call through to [super alloc]), so what are you going to do about >that? Write each of your instance methods to check for proper licensing >initialization at each invocation? I wouldn't buy third-party objects with >that kind of overhead. But if you really want to pursue a per-instance >solution, +initialize is the way to go. That CAN'T be overridden, and the >runtime system is guaranteed to call it. > >Second, there is no moral justification for charging for class usage on a >per-object basis. When you buy a shrink-wrapped application, you pay for >it up front, and you can use it as many times as you like without further >charge. This idea of metering object creation just stinks of the old >mainframe CPU charges. Wake up and get into the 90s! We're doing >distributed computing now! > Hey Greg, dude, lighten up a little! The whole essence of brainstorming is to just bounce ideas around without worrying too much about whether they make sense or not. I wasn't advocating "metering object creation", but just responding to someone who had a problem - frankly I don't give a damn. Good point about overriding +alloc, I hadn't thought about that (and don't intend to pursue it), as for "moral justification", isn't it up to the developer to decide what is "moral" and what isn't? If a company buys a shrink-wrapped application, it usually buys a license for a certain number of copies, the same presumably will apply to objects. >afskit - These are extensions to standard AppKit classes, with custom UI >controls, more intelligent Windows, etc. These objects are primarily for >programmers' benefit, because they make it easier to build apps of all >types. Therefore, they are licensed on a per-programmer basis, and priced >relative to the effort it would take to do the work from scratch. There's >no point charging bazillions of dollars for these base classes, because >their capabilities could be duplicated by a good NeXT programmer with >moderate effort. What programmers are really buying is *time* (because >they can get new projects off the ground more quickly) and *experience* >(because the code is already in use, and presumably tested thoroughly). Well this is quite a hot issue at the moment. I have to disagree with the seemingly arbitrary distinction you're making between "programmer" and "end-user" objects. If you try to sell "programmer" objects that a developer can use in his end-product with no restrictions, it simply won't work. How many shipping commercial products use your unrestricted afskit? I'll bet you can count them on the fingers of... one finger. :-) It would be like NeXT selling you a one-off copy of the appkit library for you to use in an application that will subsequently sell millions on Windows NT. NeXT require all of us to have a license to use _their_ objects, and the same is going to be true of third-party ObjectWare developers. Because of licensing difficulties, this market is simply not living up to it's potential at present. If you disagree, give me a list of shipping NeXTSTEP products that use the sort of unrestricted "programmers" objects you describe. As you imply in your last paragraph, there's little or no money to be made from such objects and therein lies the whole problem. Dave Griffiths PS: If anyone would like an unrestricted copy of my Puppeteer object, you can have it for the cost of the time I've spent delving into the problem. Let's say about $5000. Any takers? ;-)
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: strftime query? Message-ID: <1993Jun5.030855.723@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1uo3ha$3is@steffi.demon.co.uk> Date: Sat, 5 Jun 1993 03:08:55 GMT In article <1uo3ha$3is@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: >Ok call me stupid but aren't these two strftimes the same? >[munched most of program] > now2=time(NULL); > timebuf2 = localtime(&now2); > strftime(buf2,DATESIZE+1,"%d/%m/%Y\t%X",timebuf2); > printf("%s",buf2); >Now, the second buf2 doesn't get properly null terminated, should it? > >(gdb) print buf >$11 = {"04/06/1993\t19:06:12\000"} >(gdb) print buf2 >$12 = {"04/06/1993\t19:12:33 "} >(gdb) According to the ANSI C specificion, %X is a locale-specific time and it therefore not length-defined. You would have to find out what NeXT was doing with %X in order to know if you needed more than 19 characters to represent your format. I assume if might be that is it is putting out something like 19:12:33 PDT and may even be doing "bad" things to memory outside the array bounds. Make the buffer bigger and try it again. Jon Rosen
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: Re: Copy protection for objects Message-ID: <C84q4E.CCK@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1993Jun4.085450.9705@prim> <1993Jun4.181456.4481@afs.com> Date: Sat, 5 Jun 1993 03:38:37 GMT In article <1993Jun4.181456.4481@afs.com> greg@afs.com writes: >initialization at each invocation? I wouldn't buy third-party objects with >that kind of overhead. But if you really want to pursue a per-instance >solution, +initialize is the way to go. That CAN'T be overridden, and the >runtime system is guaranteed to call it. Anything to do with Objective-C messaging can be overriden programmatically, and pretty cleanly in most cases, this includes +initialize. Inserting your own IMP's in the method lists come to mind. Try again, and again, and again.... I personally hate copy-protection, follow up to alt.paranoid.geeks -- :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com ::
From: nico@imani.cam.org (Nicolas Dore) Newsgroups: comp.sys.next.programmer Subject: Re: Source code with icon dragging wanted Message-ID: <1993Jun5.003735.4479@imani.cam.org> Date: 5 Jun 93 00:37:35 GMT References: <C824DG.5L4@cc.swarthmore.edu> Sender: nico@imani.cam.org In article <C824DG.5L4@cc.swarthmore.edu> noer@carnegie.swarthmore.edu (Geoffrey J. Noer) writes: > I'm writing an app which requires a palette of icons which can be dropped > onto a separate workspace window. Does anybody have any examples of this > or examples of dragged objects in general? > Thanks, I once had something called "DragLab", I believe from NeXTWorld mag people. However, since someone gave it to me and I trew it away a while back, I don't know where you could get it. Anybody who could be of help out there? Ciao > Geoff Noer, Swarthmore College > noer@carnegie.swarthmore.edu (NeXTmail ok) -- Nicolas Dore nico@imani.cam.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >"You _CAN_ petition the Lord with prayer!"(reaction to the HP port)<
Newsgroups: comp.sys.next.programmer From: ftqz@aurora.alaska.edu Subject: Help with decryption formula Message-ID: <1993Jun4.213203.1@aurora.alaska.edu> Sender: news@raven.alaska.edu (USENET News System) Organization: University of Alaska Fairbanks Date: Sat, 5 Jun 1993 05:32:03 GMT I need help in solving a mathematical formula. With this formula I have two examples of input numbers and their respective results. input one ... 339-909-012 result ... 375-345-153 input two ... 088-250-713 result ... 026-832-896 Can anyone help me to solve for the equation that produces the above results. To compound matters, I suspect an interaction between the three subsets of numbers as modifiers of the others. Also, the equation may be performed in binary or octal. Thanks, Gene @ ftqz@acad3.alaska.edu
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: View as a Distributed Object Message-ID: <C83uoq.H3n@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Trilithon Software References: <1993Jun3.092315.5017@prim> Date: Fri, 4 Jun 1993 16:19:38 GMT In article <1993Jun3.092315.5017@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: [about whether you can use a proxy to a view object] Seems to me that a view object needs a conduit to the window server. Unless special thought was put into this by Next, I imagine that the View will find the window server on the machine it is running on. Therefore, my instinctual response is that this would NOT work. However...\ What if you had the view in your client, but the view had a proxy to some model object in the server. The local view would ask the model proxy for info in its drawself and draw whatever the model contained. This could be made as flexible as having the model object know how to generate a postscript representation and blast it back to the view in a data buffer which the view would then know how to display... or the model object could respond to messages like -subject -fromLine -bodyText, etc for an easier, but less general solution. Or... how about if the View did live in the server, but when the client asked for it it sends itself bycopy to the client. Then the client ends up with an actual copy of the View. Seems to me there are ways this could be done, but it also seems to me that the simplistic approach of obtaining a proxy to a view object on another machine and sending it a drawSelf would NOT work. ____________________________________________________________ Mike Ferris mike@lorax.com We live in our myths, Rubicon Software we only endure reality. (510) 652-2039
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Source code with icon dragging wanted (uuencoded) Date: 5 Jun 1993 10:15:14 +0100 Organization: me organized? That's a joke! Message-ID: <1upo72$80a@steffi.demon.co.uk> References: <C824DG.5L4@cc.swarthmore.edu> <1993Jun5.003735.4479@imani.cam.org> nico@imani.cam.org (Nicolas Dore) wrote >In article <C824DG.5L4@cc.swarthmore.edu> noer@carnegie.swarthmore.edu (Geoffrey >J. Noer) writes: >> I'm writing an app which requires a palette of icons which can be dropped >> onto a separate workspace window. Does anybody have any examples of this >> or examples of dragged objects in general? >> Thanks, > >I once had something called "DragLab", I believe from NeXTWorld mag people. >However, since someone gave it to me and I trew it away a while back, I don't know >where you could get it. Anybody who could be of help out there? > >Ciao > >> Geoff Noer, Swarthmore College >> noer@carnegie.swarthmore.edu (NeXTmail ok) >-- >Nicolas Dore nico@imani.cam.org >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >>"You _CAN_ petition the Lord with prayer!"(reaction to the HP port)< The file you want is on sonata and its called NeXTWORLD_DragLab.tar.Z It's probably still in /pub/next/submissions Since it's relatively small, I have taken the opportunity to post it here in the hope that many people will benefit. begin 644 NeXTWORLD_DragLab.tar.Z M'YV03LI@H7+EB10F1+X0D1/F#),P8EX("<.&S1P79>#,`<"QH\>/($.*'$FR M9$@0*&W0H`$"`$J4,FJT?(D2QDR:,6#(D&%C!LH:.VW8D#&#!@R;('*JO.'2 MI-.G4*-*G4JUJM6K6+-JW<JU:]02(:!,:1&$S!LQ95K(<&&SB%@C:MDJ*%&" M2AHZ;,KH`%'%#9V[><G$<#%&3IDP=,K,+3'$,.(W<O8V/IQX\63$:=ZX(8)8 M+X@K9<B`4%*'#4H<26'HF#%#!PW4,7+DD+'8".2]9\34D4-F,9$W8^JT*>/7 MMM\Y>U%T=D,FQ6(H#<L@!V$3QF(A;^HP3^/F#'8\>V/40%WT!@@9,6R`,&J= MKA,L`?'0F9(8CI4R<N9D=K-WAERZ13`WQ!MM#'><`M>5<09W4,@!W!1ET+'7 M"W7,(<<+;*0147SSU?<"'')P1P=T8ZP1G0L:@>!?>R',!4)``X'0H(C<G2%C M&"5&Y^)]^>W7WW\@#`A''B&>@8:$2>6``PXLO"@0%4TFX<88+B#XPA=?O$=& M&6;L$0,(W&V)!PAWH(%?&7O`\08<(*C)IIM][+&E&7VD8489%I71AQAA@C"G M`E=FB848<WH))G-EC%GFF6FNV::C<.[!)W-^<EGGG7GNV>>?+U0Q!WY/B*%& M&6/0,4=J((0A!T-Y@("EEEP".B=W952(WUFCEKJ'`@DD.@8:?M;!YI=AD"$: M&<+R]:D<H>9J*@AY=4<'L&?0L6L"":C*:K!LVN0IJ**2^BP<=?SE%WYV4,1K M`ITNVZRXI_H*[)\)Q`FGG7A^JBRXSL:+QZ\J@M#"EPY6U&:Y"O3QZJ"<:C>K M&[4NBZNX>WS+;+BE^@NP&Z691BX="@M*:*PO)$JJK0YB;*W%[V8,@KP@G!'A MRWB0&O)[(YL!Z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786HPMUA:CB+O%Y;H[*WE57!Q9%0*8BS>L(8!T,1K`7>PNGA3_ M`X[!N6?1<;UX=+PI]H3JB_G%_N(HL`X@8#PP+AA;`@[&"6,GZ\)X!M`PSL$& M?B/&W%>*<?3Y3,Q^S1A7E;6C'N/M<PC1$RHR)AF;C/L`*.-0(\R49>PRAAG+ MC&G&-F-`,14@9XP+YAEO5=7&Z>88M`QZ!DV#KD';H)VCY%'E,G1Y!\V#[D$7 M8Z7+V>4@M!!Z"$V$+D)'8[?+<[;NLCE6"9V.E;61E]^Q_N4`0'J9ST:/!;7= M8S-M\&4\FWRY(!N0'<C.EP^RK#;]\C^6O]R0_2]#9$$"J=R++"M7#;UV?;<F MF!?,#>9[*X29S2IA[K?^6W.H%N:!:\$UFZIA1ML"O9!O0R]VLX=YVQRW[3;3 M;>$@)V;A!$-GYK)BQGI=25S,-^A(-'T.*T9CUH39F+]B>Z[]F['@NL=C'NF) M!L(&/^:I\[#.+'B@&/K]['YV)%Q`G95@3<=D=@,XF<,&4.;UAV4"!45EUC&- MZ$Q[K;\L<Q5BRUS!C/V]+K[,A;E?=%",Z:SM,/>9F<]B:>8V!;Y9$`UG1LS) MF2=Z"F>*W3AA$Q=TSC/[*AR'?&8DQ9]9"`:&N\3!9PG-T^%#LW4XQYL=9C2' M`+S#CV8S0'A8TEQ<IC0WC2_-[&'W,'RXTTSW_32'FO7#I&;_\*DYU5P@9C4? MB+&_"6)8<X-XU@PAOC5GA6_#N68,L8:80VP(\!`'FX?-=H!B\[88V:QLU@@S 2FV7$C>,:\8U8VDQM9D=3BD^E ` end -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: wave@pixar.com (Michael B. Johnson) Subject: Re: Help with IB Message-ID: <1993Jun5.070219.17189@pixar.com> Sender: news@pixar.com (Usenet Newsmaster) Organization: Pixar -- Point Richmond, California References: <C82GHw.IHq@mailer.cc.fsu.edu> Date: Sat, 5 Jun 1993 07:02:19 GMT In article <C82GHw.IHq@mailer.cc.fsu.edu> dekorte@ibm8.scri.fsu.edu (Stephen L. DeKorte) writes: > I'm new to NS&IB and I'm trying to do 'Project Two' page 8-24 in the > NeXTstep Concepts manual. I've followed the directions _exactly_ and > everthing seems to work fine until I define the Calculator class, set > it's Outlets and Actions and then Unparse it. The problem is, the IB > doesn't create the setInputForm and setOutputForm methods as the manual > says it should, and even if I write them in myself(just as they're printed > in the manual) it won't compile. > I get the following when I try to make it: > ------------------------------------------------------- > scrinext 16% make > cc -O -g -Wall -c Calculator.m -o obj/Calculator.o > Calculator.m: In method `calc:' > Calculator.m:17: warning: cannot find method. > Calculator.m:17: warning: return type for `selectTextAt:' defaults to id > Calculator.m:18: warning: cannot find method. > Calculator.m:18: warning: return type for `floatValueAt:' defaults to id > Calculator.m:18: invalid operands to binary * > Calculator.m:19: warning: cannot find method. > Calculator.m:19: warning: return type for `setFloatValue:at:' defaults to id > Calculator.m:16: warning: `degreesF' may be used uninitialized in this function > *** Exit 1 > Stop. > ------------------------------------------------------- > Any help would be much appreciated, > -Steve Couple of things: You don't say what system (2.0, 2.1, 2.2, 3.0, 3.1 PR1, 3.1 FCS) that you're trying this under. That would be helpful. IB (and the associated nib unarchiving methodology) changed from 2.x to 3.x which made it unnecessary to generate the setOutlet:sender messages. If they exist, they are called, if they're not, the instance variables are set directly. IB doesn't generate the stubs for them, though. This is all documented in the release notes for 3.x. Are you perhaps reading a 2.x tutorial and running it under a 3.x system? There are subtle differences that would easily trip up the novice. I remember learning 2.x using 0.x and 1.x docs. A frustrating experience... Without the source code for your Calculator.m file, I can't help anymore. Post (or e-mail) it, and I'll take a look. -- --> Michael B. Johnson -- wave@media.mit.edu, wave@pixar.com --> MIT Media Lab -- Computer Graphics & Animation Group --> Pixar -- IceMan Group (for the summer)
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: View as a Distributed Object Organization: Primitive Software Ltd. References: <1993Jun3.092315.5017@prim> <C83uoq.H3n@lorax.com> Date: Sat, 5 Jun 1993 10:34:26 +0000 Message-ID: <1993Jun5.103426.14487@prim> Sender: usenet@demon.co.uk In article <C83uoq.H3n@lorax.com> mike@lorax.com (Mike Ferris) writes: >What if you had the view in your client, but the view had a proxy to some >model object in the server. The local view would ask the model proxy for >info in its drawself and draw whatever the model contained. This could be >made as flexible as having the model object know how to generate a >postscript representation and blast it back to the view in a data buffer >which the view would then know how to display... or the model object could >respond to messages like -subject -fromLine -bodyText, etc for an easier, >but less general solution. > >Or... how about if the View did live in the server, but when the client >asked for it it sends itself bycopy to the client. Then the client ends >up with an actual copy of the View. The first suggestion is better because it doesn't require you to have the class code in your client. Anybody know how such a scheme could be implemented? In general, it seems as though you need a method similar to drawSelf (eg drawSelfToStream) that outputs postscript code to an NXStream. In the standalone case, drawSelf could create a memory stream, call drawSelfToStream and then flush the resulting postscript stream to the window server. If the View was in a server, the postscript stream could be returned to the client View which would then output it to _it's_ window server. But having taken a quick look at the c code that a psw wrapper produces, what with all those wierd calls to DPSBinObjSeqWrite, I'm not sure how feasible this is. Anyone? Actually, another thought just struck: is it possible to make use of View's copyPSCodeInside:to: method? Maybe all the elements are already in place... Dave Griffiths
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Copy protection for objects Message-ID: <1993Jun5.171901.4966@afs.com> Sender: greg@afs.com References: <1993Jun5.011718.13419@prim> Date: Sat, 5 Jun 1993 17:19:01 GMT In article <1993Jun5.011718.13419@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > Hey Greg, dude, lighten up a little! The whole essence of brainstorming > is to just bounce ideas around without worrying too much about whether > they make sense or not. I wasn't advocating "metering object creation", > but just responding to someone who had a problem - frankly I don't give > a damn. I wasn't beating on you personally, and I apologize if you took it that way. Actually, I didn't have any of the specific articles in front of me when I was writing. > I have to disagree with the > seemingly arbitrary distinction you're making between "programmer" and > "end-user" objects. If you try to sell "programmer" objects that a > developer can use in his end-product with no restrictions, it simply > won't work. How many shipping commercial products use your unrestricted > afskit? I'll bet you can count them on the fingers of... one finger. :-) > It would be like NeXT selling you a one-off copy of the appkit library > for you to use in an application that will subsequently sell millions on > Windows NT. NeXT require all of us to have a license to use _their_ > objects, and the same is going to be true of third-party ObjectWare > developers. One of the biggest problems with charging, say $500, for a toolkit of UI objects is that programmers argue, "NeXT sold me the whole developer's system for $1995 [or less, we hope 8^)]. Why should I pay you another $500 for a few measly objects?" Your argument, which I agree with, is that NeXT gets paid for every copy of the shared library that includes those objects on the end-user's desktop. This is the Gilette approach: give away the razors, and make money on the blades. Unfortunately, there is little precedent for selling programmer libraries (which is really what a collection of toolkit objects is) on an end-user royalty basis. As a practical matter, if a programmer of modest skill could develop the same code in a reasonable amount of time, he will, in order to avoid your royalties. So you end up taking a principled stand, while others reinvent your wheel, and enterprising programmers who just want quick up-front bucks sell the same functionality without royalties. If you doubt that will happen, think Microsoft. Even Zapp, an excellent C++ class library, does not require royalties for end-user copies. The bottom line is, some programmers sell to end users, and some sell to other programmers. I think the latter is a lousy business. You won't get any argument from me that base class authors don't get compensated fairly for their efforts, and it's a damn shame. If they did, programming tools would probably keep up to date faster with new OS releases. (Actually, NeXT has solved part of this problem by bringing so many of the tools inside the OS.) I'm just describing why I think that happens. And I don't think the situation is likely to improve in our "get something for nothing" society. Incidentally, that's why I like higher level objects. When you have expertise in task functionality, it's harder for others to encroach on your turf. -- Gregory H. Anderson | "If you've got eyes to rhythmatize Composer-in-Residence | Bring your flat hat and your ax Anderson Financial Systems | 'Cause tonight at 10 we'll be workin' again" greg@afs.com (NeXTmail OK) | -- Donald Fagen, "Teahouse on the Tracks"
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: A couple of interesting ideas... Message-ID: <1993Jun5.161548.4912@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <4JUN93.19483392@enh.nist.gov> Date: Sat, 5 Jun 93 16:15:48 GMT In article <4JUN93.19483392@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: > First, I would like to say that the discussion of copy-protection has been > very interesting to watch. I doubt that I will ever be in a position wheree > it would effect me directly, but the ideas have been good so far. (I like > the idea of a non-removal window splash the best....) > As for royalties, etc... if someone is ethical enough to pay you once to > get an application ready version of an object, they will probably be sure > to stick to the licensing agreement. Don't worry about enforcing the > cost per application rule, that really should be done on the honor code. > > Now, to get to the important things. > > I have been screwing around with the InspectorManager object recently, and > it has some very nice functionality. One problem, though, is that adding > new views has to be done programatically. In my case, this is a problem > because I work only three months a year; anyone coming behind me has to > be able to figure out my code in orderr to add new objects and inspectors. > What I am wondering is: if I created a nib section with several windows > containing views, can I access these windows by anything but application > Window number. Is there anyway to find out which windows are being added > to the application by the NXloadnibsection: command? Is the file owner > directly accessible by each of the windows in a nib section, like NXApp is? > > (Random rambling begins now, as if it hadn't allready!) > > Perhaps by adding a category to the windows in the nib section, which > could define a class that they refer to. i.e., by having a method that > returns the type of object this window has an inspector view for, and > then creating a hash table of classes and views... ARGH!! this gets so > twisted... > > Anyway, has anyone thought of a way of having an easily expandible set of > useable views (creatable in IB) that can reference a new object type that > may be added later. What I am trying to accomplish here is an application > that can have functionality added to it long after I am gone. > > I hope this made since, if it didn't, please ignore me. Everyone else does! > > Kevin It sounds like an adequate solution would be a custom connection pannel that allows the connection from a manager object to each view while selecting the class from a popup in the connection inspector area. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: GDB Object poser at Expo Date: 5 Jun 1993 22:03:09 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1ur1md$anh@steffi.demon.co.uk> I was wondering if anybody sees the need for something like this. I certainly do. In the GDB notes handed out at Expo they had a hack of an Object poser which basically automatically printed a stack trace when certain signals were received and things like seg fault's occurred. What I would really like to see is this. A class (Object poser) that prints a trace of all methods and their arguments at run time to the console or file. Then you could do things like see when exactly Drag and Drop protocol methods are executed and in what sequence at run-time etc etc. Anybody done something like this? PS. Is it possible to do a prof on your app and tail -f the prof's file to achieve something like this? But then you don't get the argument values. The paper for the GDB session included something which was funcionally like this "Tracing Objective-C message sends" but for my liking this was far too slow to be useful and I want to see which methods respond to my events in real time at run time. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: armitage@stein2.u.washington.edu (Armitage) Newsgroups: comp.sys.next.programmer Subject: Sound/music question Date: 5 Jun 1993 22:32:05 GMT Organization: University of Washington Message-ID: <1ur6t5INN6hq@news.u.washington.edu> Keywords: sound music trivial I feel rather feeble for having to ask (since I'm staring right at the Sound/Music Concepts and Reference manuals), but I've been unable to figure it out for myself, so here goes: I would like to play simple video game style noises through the speaker (040 cube, NS3.0), without using soundfiles. Something to the effect of, say, a 1000hz tone and a 1500hz tone played for 1 second at whatever loudness is specified by the keyboard volume control. It seems to me that this should be pretty easy. I guess that I have to create a note object which I pass to an instrument (or something like that), but I have yet to figure out how to get the output to the speaker! :( The most infuriating thing is that I'm looking at a diagram on page 1-10 of the concepts manual showing the relationships between the components of NeXT sound and music (from the music kit to the DSP to the speaker and line out). Thanks in advance for any replies. --Peter
Newsgroups: comp.sys.next.programmer.ctl Control: cancel <1993Jun4.180505.6777@doug.cae.wisc.edu> From: ljung@cae.wisc.edu (David Ljung) Subject: cmsg cancel <1993Jun4.180505.6777@doug.cae.wisc.edu> Organization: College of Engineering, Univ. of Wisconsin--Madison Distribution: usa Date: 5 Jun 93 18:11:48 CDT Message-ID: <1993Jun5.181148.11219@doug.cae.wisc.edu> Originator: ljung@hprisc-1.cae.wisc.edu References: <1993Jun4.180505.6777@doug.cae.wisc.edu> <1993Jun4.180505.6777@doug.cae.wisc.edu> was cancelled from within rn.
Newsgroups: comp.sys.next.programmer From: roberto@SoftDesign.COM (Roberto Arrocha) Subject: Private Libraries Message-ID: <C83rII.8wM@SoftDesign.COM> Keywords: NeXT Library Sender: roberto@SoftDesign.COM (Roberto Arrocha) Organization: SoftDesign, Inc. Date: Fri, 4 Jun 1993 15:11:05 GMT How do I create a (private) library of appkit subclasses to be imported and subclassed by apps in development? We have a number of appkit subclasses that we commonly use in most of our apps for import and subclassing. Now, rather than physically including these classes in all of our projects (as we have been doing so far), we would like to locate these classes (.h and .m files) in a central location, precompile them and simply import a precompiled header, such as: #import "somePath/privatekit.h" very much like NeXT's: #import <appkit/appkit.h> One of the benefits to this approach is that if a kit class is modified, all projects importing the kit would reflect the modification. Please respond to me directly and I'll summarize. Thanks. Roberto roberto@SoftDesign.COM -- Roberto SoftDesign, Inc.
Newsgroups: comp.sys.next.programmer From: dlw@netcom.com (David L. Williams) Subject: Re: What source/version control software is available? Message-ID: <dlwC86KvF.4zr@netcom.com> Organization: NETCOM On-line Communication Services (408 241-9760 guest) References: <DJC.93Jun3154247@puck.fnbc.com> Date: Sun, 6 Jun 1993 03:40:26 GMT TeamOne is apparently going to port to the NeXT as well. They were at NeXTWORLD. David Williams
From: kline@CS.Arizona.EDU (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1usi22$hre@cheltenham.cs.arizona.edu> Control: cancel <1usi22$hre@cheltenham.cs.arizona.edu> Date: 6 Jun 1993 03:54:28 -0700 Organization: U of Arizona CS Dept, Tucson Message-ID: <1usid4$i12@cheltenham.cs.arizona.edu> References: <1usi22$hre@cheltenham.cs.arizona.edu> This message was cancelled from within rn.
Newsgroups: comp.sys.next.programmer From: ggf@indirect.com (Gary Frederick) Subject: debugging, gdb, mach Message-ID: <1993Jun6.162552.19022@indirect.com> Summary: debugging with gdb and mach Keywords: debugging, gdb, mach Sender: ggf@jsoft.com Organization: Internet Direct Inc. -- (602) 274-0100 Date: Sun, 6 Jun 1993 16:25:52 GMT I worked with debugging on a NeXT a while back. I was looking at a debugger interface AMD proposed, hooking it into NeXTs version of gdb. I also played a little with the mach debug ports. One example I had would attach a task to debug. The window had buttons to continue, step and stop. It displayed the registers when you hit a break. I was in the process of displaying the disassembled object and data as well. I found gdb to have lots of potential as a debugger front end. It runs on a lot of systems and even has hooks to support debugging different processors from the same debugger. BTW, gdb has watchpoints, IF your version provides support (-: I found the mach debugger ports very nice to use. I want to work more with them. It would be 'easy' to build a program that would attach a task, turn on the 68K debug register switch to break on jumps, and record where a program was going. I am very interested in seeing how the Intel and HP versions of mach work. It would be interesting to have remote objects that would work with a gdb front end. I would be able to debug from my cube by connecting to the remote system. The debug object would handle the system specific debug details such as registers, how memory looks or capabilities specific to the target system. I would like to find out what others have done with gdb or the mach debug ports. If you are interested, please send me email and let me know what you are interested in. Please send e-mail to: ggf@jsoft.com. I am moving to Austin next week and may be a little slow in replying. Gary
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Explicit generalized method tracing Date: 6 Jun 1993 17:13:40 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1ut53k$235@steffi.demon.co.uk> I hope people find this useful. Often at run-time I need to know which methods are running in my classes. A good example would be when responding to events or which NXDragDestination methods are being executed etc. Currently, all efforts to providing an automatic form of tracing ie. all methods including built in classes have been unsuccessful. However, as a compromise I have taken code from the ObjectError class distributed at NeXTWORLD and placed it into a category of Object. This allows me to specify generalized method tracing in my code. You need to include this category in your app and explicity place the calls in the methods you are interested in. It's like printf's however it's generalized so that I don't have to say printf("This method") but rather each use is the same. If you don't have a "dwrite appName Trace Yes" nothing happens so it's easy to leave the code in your app. And since every use is the same string then you could easily strip the calls out with a sed command when you are satisfied you no longer need the information. #import <objc/Object.h> void inline printMethodFromFP(void *framePointer); @interface Object(Trace) + printBackTraceDeep; + printBackTraceShallow; @end /* Author: Robert D. Nicholson (robert@steffi.demon.co.uk) Date: 06/06/1993 15:06:49 Purpose: Provide explicit generalised method tracing. Credit: Most of the code was stolen from ObjectError written by Bill Bumgarner, Andrew Stone, Mike Morton and Julie Zelenski. Still looking for that automatic tracing implementation. */ #import "Trace.h" #import <objc/objc.h> #import <objc/objc-class.h> #import <stdio.h> #import <defaults/defaults.h> #import <appkit/Application.h> @implementation Object(Trace) + printBackTraceDeep { void *framePointer; unsigned int frameCount; const char *tracingPtr; tracingPtr = NXReadDefault([NXApp appName], "Trace"); if (!tracingPtr || strcmp(tracingPtr,"Yes")){ return self; } framePointer = ((void *) &self) - 8; frameCount = 0; while (frameCount < 50 && framePointer) { if ( sel_isMapped( *(SEL *) (framePointer+12)) ) { printMethodFromFP(framePointer); } framePointer = (void *)*(long *)framePointer; // go to calling frame } return self; } + printBackTraceShallow { void *framePointer; const char *tracingPtr; tracingPtr = NXReadDefault([NXApp appName], "Trace"); if (!tracingPtr || strcmp(tracingPtr,"Yes")) { return self; } framePointer = ((void *) &self) - 8; framePointer = (void *)*(long *)framePointer; // go to calling frame if (framePointer) { if ( sel_isMapped( *(SEL *) (framePointer+12)) ) { printMethodFromFP(framePointer); } } return self; } #define IS_CLASS(object) ([object class] == object) void inline printMethodFromFP(void *framePointer) { char line[1024]; SEL selector; id object; BOOL isClassMethod; object = *(id *)(framePointer + 8); // receiver selector = *(SEL *)(framePointer + 12); // selector isClassMethod = IS_CLASS(object); sprintf(line,"%c[%s %s]", (isClassMethod ? '+' : '-'), object_getClassName (object), sel_getName(selector)); printf("%s\n", line); } @end -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: Robert Nicholson <robert@steffi.demon.co.uk> Newsgroups: comp.sys.next.programmer,mlist.next-prog Subject: Explicit generalized method tracing Date: Sun, 06 Jun 93 18:22:53 GMT Message-ID: <199306061613.AA02157@steffi.demon.co.uk> Distribution: world Organization: me organized? That's a joke! I hope people find this useful. Often at run-time I need to know which methods are running in my classes. A good example would be when responding to events or which NXDragDestination methods are being executed etc. Currently, all efforts to providing an automatic form of tracing ie. all methods including built in classes have been unsuccessful. However, as a compromise I have taken code from the ObjectError class distributed at NeXTWORLD and placed it into a category of Object. This allows me to specify generalized method tracing in my code. You need to include this category in your app and explicity place the calls in the methods you are interested in. It's like printf's however it's generalized so that I don't have to say printf("This method") but rather each use is the same. If you don't have a "dwrite appName Trace Yes" nothing happens so it's easy to leave the code in your app. And since every use is the same string then you could easily strip the calls out with a sed command when you are satisfied you no longer need the information. #import <objc/Object.h> void inline printMethodFromFP(void *framePointer); @interface Object(Trace) + printBackTraceDeep; + printBackTraceShallow; @end /* Author: Robert D. Nicholson (robert@steffi.demon.co.uk) Date: 06/06/1993 15:06:49 Purpose: Provide explicit generalised method tracing. Credit: Most of the code was stolen from ObjectError written by Bill Bumgarner, Andrew Stone, Mike Morton and Julie Zelenski. Still looking for that automatic tracing implementation. */ #import "Trace.h" #import <objc/objc.h> #import <objc/objc-class.h> #import <stdio.h> #import <defaults/defaults.h> #import <appkit/Application.h> @implementation Object(Trace) + printBackTraceDeep { void *framePointer; unsigned int frameCount; const char *tracingPtr; tracingPtr = NXReadDefault([NXApp appName], "Trace"); if (!tracingPtr || strcmp(tracingPtr,"Yes")){ return self; } framePointer = ((void *) &self) - 8; frameCount = 0; while (frameCount < 50 && framePointer) { if ( sel_isMapped( *(SEL *) (framePointer+12)) ) { printMethodFromFP(framePointer); } framePointer = (void *)*(long *)framePointer; // go to calling frame } return self; } + printBackTraceShallow { void *framePointer; const char *tracingPtr; tracingPtr = NXReadDefault([NXApp appName], "Trace"); if (!tracingPtr || strcmp(tracingPtr,"Yes")) { return self; } framePointer = ((void *) &self) - 8; framePointer = (void *)*(long *)framePointer; // go to calling frame if (framePointer) { if ( sel_isMapped( *(SEL *) (framePointer+12)) ) { printMethodFromFP(framePointer); } } return self; } #define IS_CLASS(object) ([object class] == object) void inline printMethodFromFP(void *framePointer) { char line[1024]; SEL selector; id object; BOOL isClassMethod; object = *(id *)(framePointer + 8); // receiver selector = *(SEL *)(framePointer + 12); // selector isClassMethod = IS_CLASS(object); sprintf(line,"%c[%s %s]", (isClassMethod ? '+' : '-'), object_getClassName (object), sel_getName(selector)); printf("%s\n", line); } @end
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: cc -MM Date: 6 Jun 1993 20:33:54 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1utkbiINNsbj@darkstar.UCSC.EDU> Summary: Does it work in NS 3.1? Under NS 3.0, cc -MM was overzealous in creating dependencies by including all the static NEXTSTEP header files in dependency lists thus slowing compilation. Under 3.1 PR1, cc -MM was underzealous (more accurately, totally broken, in that it created dependency lists that seemed to include no more than one header file regardless of how many were imported :-( Can someone with 3.1 for Intel tell me whether this has been fixed? If not, I'm not looking forward to creating dependency lists manually like in the old (pre-NEXTSTEP) days. But then, I guess I could copy 3.0's cc to my 3.1 file system, redefine CC in a "depend" target in Makefile.preamble, and add my 3.0 "depend" target fix that created proper dependency lists. This is a lot of bother if it's fixed in 3.1. Thanks. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,mlist.next-prog Subject: cmsg cancel <199306061613.AA02157@steffi.demon.co.uk> Control: cancel <199306061613.AA02157@steffi.demon.co.uk> Date: 6 Jun 1993 21:03:55 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1utijb$1e8@steffi.demon.co.uk> <199306061613.AA02157@steffi.demon.co.uk> was cancelled from within trn. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: kline@CS.Arizona.EDU (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: problem with using Makefile.postamble to update version number Date: 6 Jun 1993 19:10:01 -0700 Organization: University of Arizona CS Department, Tucson AZ Message-ID: <1uu81p$5s6@cheltenham.cs.arizona.edu> I'd like to use the Makefile.postamble (or .preamble) to increment a version number everytime I do make debug and the project needs to be updated. The way I want to do this is I have a file called version.h, the contents of which looks like the following: #define DenaliVersion 0.601 So, everytime I compile it, I would like to add .001 to the version number. I have a program that does this, called updateVersion. It reads in version.h and updates the number. The next one would be: #define DenaliVersion 0.602 The Makefile.postamble that I defined to do this was: #start .postamble OTHER_INITIAL_TARGETS=version version: $(OFILES) ./updateVersion ; touch version #end .postamble So what I did was add version to the OTHER_INITIAL_TARGETS lists. It should be made first. I touch the version file each time I update it. Since it depends on the obj files, it should be made each time the project needs to be made. Or so I thought. If there is no file called 'version', then it is updated. But once a 'version' file is created, even if it needs to remake the rest of the app, it doesn't update the version using updateVersion. $(OFILES) should be more recent than version. But it just ignores this command and proceeds in the regular way. I tried other variations of the above dependency: OTHER_INITIAL_TARGETS=version version: $(OFILE_DIR)/$(OFILES) ./updateVersion ; touch version (the OFILE_DIR) is where the object files are stored. Then I tried some things that I knew wouldn't work: OTHER_SOURCEFILES = version.h version.h: $(MFILES) $(CFILES) $(PSWMFILES) $(HFILES) ./updateVersion (This didn't work because there were not rules for file.m. The rules define file.o. and I didn't really want version.h to be a source file) And I tried OTHER_INITIAL_TARGETS = version version: $(OFILES) ./updateVersion This didn't work because each time I said 'make debug' it thought it needed to make 'version'. It updated the version each time, even if it wasn't needed. Any suggestions? This has got to be something simple. thanks, nick kline kline@cs.arizona.edu
Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: NS lameness with PC keyboards (Re: Low Cost Systems -- WARNING!) Message-ID: <C88D3s.1su@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1993Jun3.223147.221@pencom.com> <C88951.Hsy@csn.org> Date: Mon, 7 Jun 1993 02:47:51 GMT (Note group addition) In article <C88951.Hsy@csn.org> bff@teal.csn.org (Brendan Forsyth) writes: > When i was at NWE I tried to see what the function keys generated by using >ctrl/v within vi and then hitting a function key. Result: function keys >don't work on NextStep. None of the special PC keys map to common PC key >functions. I talked with several Next folks about this and got answers >ranging from "Next never used function keys before why should we now?" >to "An API may be made available in 3.2, but no decision has been made yet." > >Interestingly the page-up and page-down keys map just like the screen dim >keys on a slab on some systems. > >I think the lack of function key support is a real problem. There are plenty >of applications that use function keys (there are other apps besides Next >apps) and Next should give as a way to get at them. Grrr. Bleh. While I do agree that NS original apps should not use function keys, I however have to whine when it comes to moderately real terminal emulation and things like SoftPC. Our upcoming comm. program, Cables, has a complete ANSI-PC emulator, with color and the IBM characters (scaleable even), yet PC users will be using non-fkeys to simulate the fkeys which are right there on the keyboard, but which I can't use in NS? Kinda odd, eh? VT320/220 emulation is also a pain without a proper keyboard, too... I don't have a PC yet, does anyone know if the fkeys at least generate unique keyCodes? If not I guess it's time for me to do some groveling to NeXT I guess... grovel grovel grovel, -- :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com ::
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: A couple of interesting ideas... Message-ID: <1993Jun7.031504.17993@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <4JUN93.19483392@enh.nist.gov> Date: Mon, 7 Jun 1993 03:15:04 GMT In article <4JUN93.19483392@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: [munch] > > I have been screwing around with the InspectorManager object recently, and > it has some very nice functionality. One problem, though, is that adding > new views has to be done programatically. In my case, this is a problem > because I work only three months a year; anyone coming behind me has to > be able to figure out my code in orderr to add new objects and inspectors. > What I am wondering is: if I created a nib section with several windows > containing views, can I access these windows by anything but application > Window number. Is there anyway to find out which windows are being added > to the application by the NXloadnibsection: command? Is the file owner > directly accessible by each of the windows in a nib section, like NXApp is? > > (Random rambling begins now, as if it hadn't allready!) > > Perhaps by adding a category to the windows in the nib section, which > could define a class that they refer to. i.e., by having a method that > returns the type of object this window has an inspector view for, and > then creating a hash table of classes and views... ARGH!! this gets so > twisted... > > Anyway, has anyone thought of a way of having an easily expandible set of > useable views (creatable in IB) that can reference a new object type that > may be added later. What I am trying to accomplish here is an application > that can have functionality added to it long after I am gone. > > I hope this made since, if it didn't, please ignore me. Everyone else does! > > Kevin I have an InspectorKit that I've been using that solves this problem. It's similar to the way that IB allows you to add inspectors for loadable palettes, but more flexible in that it allows inspected objects to have as many different "Inspector Views" as they need. It's also localizable. The basic approach that I've taken is to have each Inspector (subclasses of AbstractInspector) have an instance variable (appropriately named inspectorView), which is set in IB. Then an InspectorManager object is in charge of inserting the appropriate views into the window as necessary. I've used it in three different apps so far, and it seems to be a reasonable felxible mechanism. John -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-4433 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: How do you create text with Renderman? Message-ID: <1993Jun7.040334.18114@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <1993Jun04.182102.24607@pencom.com> Date: Mon, 7 Jun 1993 04:03:34 GMT In article <1993Jun04.182102.24607@pencom.com> brian@pencom.com (Brian Hobbs) writes: > > Greetings, > > I'm starting to play with the 3D kit, and I've not found any references on how > to create and extrude text for rendering. I have the Renderman Companion, and > it says very little as well. If I had to guess, it seems that I'll need to > generate it somehow, but I'm not sure even where to start... > > Any suggestions? There isn't any "Easy" way to do it. What I've done is to write some postscript code to extract the path from a font with the pathforall operator, then convert that to NURBs, or PathMeshes. John > > Thanks much, > > Brian Hobbs > Pencom Software > brian@pencom.com -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-4433 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: Re: What source/version control software is available? Message-ID: <1993Jun7.041307.18172@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting References: <dlwC86KvF.4zr@netcom.com> Date: Mon, 7 Jun 1993 04:13:07 GMT In article <dlwC86KvF.4zr@netcom.com> dlw@netcom.com (David L. Williams) writes: > TeamOne is apparently going to port to the NeXT as well. They were at > NeXTWORLD. > > David Williams TeamOne is definitely porting to NEXTSTEP, but there are some caveats. First, it is very unlikely that it will ever be ported to black hardware. The front end might be, but the back end won't, at least for their current plans. THe second problem is the price -- $3000/seat. Ouch. Granted, it's probably the best CM software out there, but forget it for small houses or casual users. John -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-4433 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer From: bff@teal.csn.org (Brendan Forsyth) Subject: Re: NS lameness with PC keyboards (Re: Low Cost Systems -- WARNING!) Message-ID: <C8A5Ky.DMC@csn.org> Sender: news@csn.org (The Daily Planet) Organization: Colorado SuperNet, Inc. References: <C88D3s.1su@world.std.com> Date: Tue, 8 Jun 1993 02:00:33 GMT lloyd@world.std.com (Chris Lloyd) writes: : (Note group addition) : : In article <C88951.Hsy@csn.org> bff@teal.csn.org (Brendan Forsyth) writes: : > When i was at NWE I tried to see what the function keys generated by using : >ctrl/v within vi and then hitting a function key. Result: function keys : >don't work on NextStep. None of the special PC keys map to common PC key : >functions. I talked with several Next folks about this and got answers : >ranging from "Next never used function keys before why should we now?" : >to "An API may be made available in 3.2, but no decision has been made yet." : > : >Interestingly the page-up and page-down keys map just like the screen dim : >keys on a slab on some systems. : > : >I think the lack of function key support is a real problem. There are plenty : >of applications that use function keys (there are other apps besides Next : >apps) and Next should give as a way to get at them. : : : Grrr. Bleh. : : While I do agree that NS original apps should not use function keys, I : however have to whine when it comes to moderately real terminal : emulation and things like SoftPC. : : Our upcoming comm. program, Cables, has a complete ANSI-PC emulator, with : color and the IBM characters (scaleable even), yet PC users will be : using non-fkeys to simulate the fkeys which are right there on the keyboard, : but which I can't use in NS? Kinda odd, eh? VT320/220 emulation is also a : pain without a proper keyboard, too... : : I don't have a PC yet, does anyone know if the fkeys at least generate unique : keyCodes? If not I guess it's time for me to do some groveling to NeXT : I guess... : : grovel grovel grovel, : -- : :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com :: I asked that question about whether or not the fkeys generate anything at all and a guy from Next support said that they are completely ignored. Bye the way, I am the guy who asked you about the DG terminal emulation at your booth. Please give me a call (or email to next!bff@pvh.org). Brendan Forsyth ---------------
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: A couple of interesting ideas... Date: Mon, 7 Jun 1993 22:13:57 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Distribution: world Message-ID: <0g4zLZi00WA7RGdStk@andrew.cmu.edu> In-Reply-To: <9j$@byu.edu> Excerpts from netnews.comp.sys.next.programmer: 7-Jun-93 Re: A couple of interesting.. by Don Yacktman@alaska.et.b > Another solution I've seen has the managing object have 20+ outlets that > you can connect the views to. This is even uglier, but at least you can do > it through IB. (It just programmatically adds the views from the outlets, > one at a time, and is _not_ at all an elegant solution.) > > Here's what would be a much better way, and useful for a _lot_ more than > just inspectors: Interface Builder can now do custom connection > inspectors. Now, this means that we could Palletize a List object, and > then make a connection inspector for it that would allow us to add/remove > objects in the List. (Ability to control-drag to reorder the objects would > be nice as well.) There's lots of places where I could use this. If NeXT > or somebody else doesn't do this, I probably will at some point; I'd like > the ability to do this in my GameKit--the scoring system has a List of > delegates instead of a single delegate, and it would be nice to hook them > up in IB. Now that custom connection inspectors are possible, it seems that > an elegant solution is also possible. __Already Been Done__. I call it "Group", a List-subclass that overrides the Object-method -forward:(SEL)aSelector :(marg_list)argFrame to forward messages that it doesn't understand to the objects inside itself. It maintains List-order across saves and nib-instantiation by storing the GroupIBConnectors-class objects inside the Group (inside IB), and then having the GroupIBConnectors objects replace themselves (in the Group) with their destination upon -establishConnection. Naturally, GroupIBConnectors objects know to remove themselves (from the Group) if they are sent a -free message. It's currently part of my SimpleStuff palette, along with QualifiedDBModule. Full source (Beta-R2) will be released shortly... (I'm tweaking it just a little at the moment -- for use in a commercial App I'm developing...) Worst bug so far: You can't dynamically add methods to Group inside IB. (I'm trying to find the correct private-API method to change this... Without source to IB, of course, it's a little time consuming...) There are a few other bells & whistles I'd like to add: - Dynamic analysis of objects inside the Group (inside of IB). (ie, listing the Class/Methods/Ivars/Protocols). - Being able to add to the Group connections to all objects in the IB hierarchy that respond positively (or negatively) to isKindOfClassNamed:, isMemberOfClassNamed:, or conformsToProtocolNamed:.(*) - Being able to drag rows around and reorder the list. (NiftyMatrix should do most of that for me...) (*) This will require actually writing the conformsToProtocolNamed: catagory extension to Object... ;-) Unfortunately I have this little detail called a job with "challenging" deadlines -- which makes sleep, let alone work on this, difficult to squeeze in... So Beta-R2 probably won't be ready for another week, or two... -David Apfelbaum.
From: drew@fnbc.com (Drew Davidson) Newsgroups: comp.sys.next.programmer Subject: Re: View as a Distributed Object Message-ID: <1993Jun7.205215.869@fnbc.com> Date: 7 Jun 93 20:52:15 GMT References: <1993Jun5.103426.14487@prim> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA In article <1993Jun5.103426.14487@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: > In article <C83uoq.H3n@lorax.com> mike@lorax.com (Mike Ferris) writes: [munch] > > Actually, another thought just struck: is it possible to make use of View's > copyPSCodeInside:to: method? Maybe all the elements are already in place... I think that this approach would be unreasonably slow, mainly because a lockFocus is basically a pointer switch to a new gstate. copyPSCodeInside:to: copies all of the state information including the NeXT printing package. It would probably work, though. > Dave Griffiths -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: crippled gdb under ns 3.0 ? Date: Mon, 7 Jun 1993 22:24:28 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <Yg4zVQm00WA7RGdEBa@andrew.cmu.edu> In-Reply-To: <1unti7$b81@transfer.stratus.com> >I attended the Expo Developer Conference. In the session "Zen and the >Art of Debugging", Julie Zelinski covered many of these topics. The >"data-break" command is gone. It was not standard gdb. Apparently it I was also there. And Julie Zelinski DID recommended other ideas for doing this sort of debugging. Like Conditional-breaks, and checking the data for changes at the end of various methods IN YOUR CLASSES! (Didn't she mentioned that *THIS* was how data-breaks were originally implemented?) It really shouldn't be that difficult to triangulate down the culprit... Try using a conditional-breakpoint to enable a different breakpoint.... (A really *great* idea there Julie!) Or to print out interesting information.. In a worse case, I suppose you could always break on objc_msgSend. (Another really *neat* idea -- but GOD can it be slow....) -David.
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: How can you make a Table/List of choices? Date: Mon, 7 Jun 1993 22:53:56 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <Qg4zx4200WA75GdJ9k@andrew.cmu.edu> In-Reply-To: <1993Jun1.165356.14119@ac.dal.ca> I found Browsers tended to be slow and overly complicated when being used for single-row lists that are constantly changed. And the IB-example that was previously given is just too dang complicated. DBTableView has potential, but it's probably overkill for what you need... If you look at the MiniExamples, CellScrollView gives a good example of putting a Matrix inside a scrollview. And that should do what you want. I know, I "modified" (raided) it for a Connections-List in my Group Connections Inspector. The code is below. Please keep in mind that NeXT *really* deserves the thanks for this one.. (And that my extensions are completely unguaranteed and unwarranteed! This was little more than a quick hack that I needed. Which seems now to have become a very useful quick hack...) -David. P.S> Drag the .h file into IB, and then instantiate a ListView by using a CustomView object. -------------------<File ListView.h>------------------- /* ListView header file */ /* (I really wish this wasn't necessary...) * * (C) Copyright 1993 David Apfelbaum and Chase Partners, Inc. * All Rights Reserved. * * Permission to use, copy, modify, and/or distribute, this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of David Apfelbaum or Chase Partners,Inc. * not be used in advertising or publicity pertaining to distribution * of the software without specific, written prior permission. * David Apfelbaum and Chase Partners, Inc make no representations about * the suitability of this software for any purpose. * It is provided "as is" without any express or implied warranty. * * DAVID APFELBAUM AND CHASE PARTNERS, INC. DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DAVID APFELBAUM OR * CHASE PARTNERS, INC BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. * * Author: David Apfelbaum. */ /* * This is largely borrowed from the CellScrollView MiniExample. * To Next: Apologies about the above Copyright notice. * (But the lawyers were starting to circle... ;-) */ #import <appkit/appkit.h> #import <strings.h> #define INVALIDROW -1 @interface ListView:ScrollView { id cellMatrix; } - init; - initFrame:(const NXRect *)frameRect; - free; - cellMatrix; - addItemNamed:(const char *)string andHighlite:(BOOL)hilightFlag exclusive:(BOOL)exclusiveHightlight; - clearList:sender; - deleteSelectedItems:sender; - deleteItem:(int)index; - selectItem:(int)index exclusive:(BOOL)exclusiveHightlight; - (unsigned int)count; - (BOOL)isSelectedAt:(int)index; - (int)selectedCount; - (int)selectedRow; @end ---------------------<File ListView.m>--------------------------- /* ListView source code file. */ /* (I really wish this wasn't necessary...) * * (C) Copyright 1993 David Apfelbaum and Chase Partners, Inc. * All Rights Reserved. * * Permission to use, copy, modify, and/or distribute, this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of David Apfelbaum or Chase Partners,Inc. * not be used in advertising or publicity pertaining to distribution * of the software without specific, written prior permission. * David Apfelbaum and Chase Partners, Inc make no representations about * the suitability of this software for any purpose. * It is provided "as is" without any express or implied warranty. * * DAVID APFELBAUM AND CHASE PARTNERS, INC. DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DAVID APFELBAUM OR * CHASE PARTNERS, INC BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. * * Author: David Apfelbaum. */ /* * This is largely borrowed from the CellScrollView MiniExample. * To Next: Apologies about the above Copyright notice. * (But the lawyers were starting to circle... ;-) */ #import "ListView.h" @implementation ListView - init { return [self initFrame:NULL]; } /* * Note: This was borrowed heavily from the MiniExample CellScrollView. * --Thanks NeXT! -D. */ - initFrame:(const NXRect *)frameRect { NXSize interCellSpacing = {0.0, 0.0}, docSize; [super initFrame:frameRect]; cellMatrix = [[Matrix alloc] initFrame:frameRect mode:NX_LISTMODE cellClass:[ActionCell class] numRows:0 numCols:1]; /* * In the following lines, * remember that "cellMatrix" is the matrix that will be installed * in the scrollview, "self" is the scrollview. */ /* we don't want any space between the matrix's cells */ [cellMatrix setIntercell:&interCellSpacing]; /* resize the matrix to contain the cells */ [cellMatrix sizeToCells]; [cellMatrix setAutosizeCells:YES]; /* * when the user clicks in the matrix and then drags the mouse out of * scrollView's contentView, we want the matrix to scroll */ [cellMatrix setAutoscroll:YES]; /* let the matrix stretch horizontally */ [cellMatrix setAutosizing:NX_WIDTHSIZABLE]; /* Install the matrix as the docview of the scrollview */ [[self setDocView:cellMatrix] free]; /* set up the visible attributes of the scrollview */ [self setVertScrollerRequired:YES]; [self setBorderType:NX_BEZEL]; /* tell the subviews to resize along with the scrollview */ [self setAutoresizeSubviews:YES]; /* This is the only way to get the clipview to resize too */ [[cellMatrix superview] setAutoresizeSubviews:YES]; /* Allow the scrollview to stretch both horizontally and vertically */ [self setAutosizing:NX_WIDTHSIZABLE|NX_HEIGHTSIZABLE]; /* Resize the matrix to fill the inside of the scrollview */ [self getContentSize:&docSize]; [cellMatrix sizeTo:docSize.width :docSize.height]; return self; } - free { [cellMatrix free]; return [super free]; } - cellMatrix { return cellMatrix; } - addItemNamed:(const char *)string andHighlite:(BOOL)hilightFlag exclusive:(BOOL)exclusiveHightlight { int rows, cols; /* Number of rows/cols in the matrix. */ [cellMatrix getNumRows:&rows numCols:&cols]; /* Add the new row -- it will be at position 'rows' from above. */ [cellMatrix addRow]; /* Set up the newly added cell. */ [[cellMatrix cellAt:rows :0] setStringValue:string]; /* Resize the matrix, scroll the new cell to be visible, */ /* and display. */ [cellMatrix sizeToCells]; [cellMatrix scrollCellToVisible:rows :0]; /* Should we hilighted this cell? */ if (hilightFlag) [self selectItem:rows exclusive:exclusiveHightlight]; else [cellMatrix display]; /* Just display */ return self; } - clearList:sender { int rows, cols; /* Number of rows/cols in the matrix. */ [cellMatrix getNumRows:&rows numCols:&cols]; /* Make sure nothing's selected... */ [cellMatrix clearSelectedCell]; /* Reuse the removed rows... */ [cellMatrix renewRows:0 cols:1]; /* And redisplay.. */ [cellMatrix sizeToCells]; [cellMatrix display]; return self; } - deleteSelectedItems:sender { int i, rows, cols; /* Number of rows/cols in the matrix. */ [cellMatrix getNumRows:&rows numCols:&cols]; /* Check to see if they are selected. */ for(i=(rows-1); i>=0; i--) if ([[cellMatrix cellAt:i :0] isHighlighted]) [cellMatrix removeRowAt:i andFree:YES]; /* Redisplay */ [cellMatrix sizeToCells]; [cellMatrix display]; return self; } - deleteItem:(int)index; { int rows, cols; /* Number of rows/cols in the matrix. */ [cellMatrix getNumRows:&rows numCols:&cols]; /* Valid index? */ if (index < rows && index >= 0) { /* Remove it... */ [cellMatrix removeRowAt:index andFree:YES]; /* Redisplay */ [cellMatrix sizeToCells]; [cellMatrix display]; } return self; } - selectItem:(int)index exclusive:(BOOL)exclusiveHightlight { int rows, cols; /* Number of rows/cols in the matrix. */ [cellMatrix getNumRows:&rows numCols:&cols]; /* Should we unselect all others? */ if (exclusiveHightlight) /* Unselect all rows.. */ [cellMatrix selectCellAt:-1 :-1]; /* Hilight the idex-row if valid. */ if (index < rows && index >= 0) [cellMatrix selectCellAt:index :0]; return self; } - (unsigned int)count { int rows, cols; /* Number of rows/cols in the matrix. */ [cellMatrix getNumRows:&rows numCols:&cols]; /* Lets be paranoid */ if (rows >= 0) return (unsigned int)rows; else return (unsigned int)0; } - (BOOL)isSelectedAt:(int)index { /* Is index valid? */ if (index < 0 || index >= [self count]) return NO; /* Return acutal selection status. */ return [[cellMatrix cellAt:index :0] isHighlighted]; } - (int)selectedCount { int i, totalSelected; for(totalSelected=0, i=0; i<[self count]; i++) if ([self isSelectedAt:i]) totalSelected++; return totalSelected; } - (int)selectedRow /* Returns first selected Row found. */ { int i; for(i=0; i<[self count]; i++) if ([self isSelectedAt:i]) return i; return INVALIDROW; } @end
From: dahl@esca.esca.com (Austin Dahl) Newsgroups: comp.sys.next.programmer Subject: Seeking info on Palette or CustomView that acctepts other Views as subviews Keywords: Palette, CustomView, Dragging, Interface Builder, IB Message-ID: <DAHL.93Jun7135516@esca.esca.com> Date: 7 Jun 93 21:55:16 GMT Sender: dahl@esca.com (Austin Dahl) Distribution: comp Organization: ESCA Corporation, Bellevue WA After you double-click on a Box or ScrollView in Inface Builder, you can drag other views into it and they become subviews of the Box or ScrollView. I want to duplicate this behavior for a IB Palette or even a custom view. Can someone point me to an example or tell me what methods or instance variables I need to add to my subclass of View? Please e-mail -- I will post a summary. Austin Dahl
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Copy protection for objects Date: Mon, 7 Jun 1993 23:23:10 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <Ig50MSu00WA7NGdOBS@andrew.cmu.edu> In-Reply-To: <1993Jun04.054548.25712@rat.csc.calpoly.edu> Excerpts from netnews.comp.sys.next.programmer: 4-Jun-93 Re: Copy protection for obj.. by Mont Rothstein@foraker.c > Source code is nice to have even if you aren't supposed to need it (it's > that security blanket thing :) Security Blanket hell. It just makes it a lot easier to debug the "bought" object when it doesn't work right... And to detect "typos" in the documentation... Excerpts from netnews.comp.sys.next.programmer: 4-Jun-93 Re: Copy protection for obj.. by Dave Griffiths@prim.demo >So how about if we override +alloc so that the factory class no >longer creates an arbitrary number of objects, but instead unarchives >persistant objects? The code (ie the .o module) is freely copyable. Uhh, what stops me from writing this object out to a typed-stream after I have it, and then reading it back multiple times??? Well, I suppose you could kludge read:/awake, but there are ways around that too. (Look closely at objc/objc.h & objc/objc-class.h. Pointers to functions anyone???) Honestly, anyone who's good will *always* be able to break *any* copy protection scheme. (I've seen it before with people hacking /vmunix or going into the kernel debugger and modifing the kernal image to gain root access. Not that *I*'d ever do these things of course... ;-) More critically, people will be annoyed & inconvenienced regardless of their skill level. And that's something we as the NeXT community just can't afford! Particularly right now with the competition heating up... My $.02. -David Apfelbaum.
From: william@pinoko.berkeley.edu (William E. Grosso) Newsgroups: comp.sys.next.programmer Subject: First try at Palette... Date: 8 Jun 1993 04:27:26 GMT Organization: University of California, Berkeley Message-ID: <1v14fe$rmd@agate.berkeley.edu> 'Lo all. I recently tried to incorporate some objects I've been writing into a palette. So, I read the docs and then created the palette (this is a "non-view" palette). The problem is this : The palette loads and displays the objects one can instantiate by dragging into the file window. But then, if you actually try to drag them into the file window, IB crashes. As far as I can tell I've done everything that working examples (e.g. the ObjectPalette example) do. Any hints ? Bill Grosso
From: mark@plexus.guild.org (Mark Onyschuk) Newsgroups: comp.sys.next.programmer Subject: NXHelp inside bundles (sorta' long) Keywords: NXHelpPanel bundles crash-and-burn Message-ID: <1993Jun6.162559.946@plexus.guild.org> Date: Sun, 6 Jun 1993 16:25:59 GMT Sender: mark@plexus.guild.org Organization: Onyschuk and Associates, Toronto NXBundles can define their own Help resource which can be merged with the main Application's Help using NXHelpPanel's -addSupplement:inPath method. ---8<---from Digital Librarian---8<--- Help Supplements Since in NeXTSTEP some applications have the ability to load executable modules dynamically (for example, a drawing program could allow the user to load a new drawing tool), an NXHelpPanel object provides the ability to load supplemental help information. When the application loads the module, it sends the NXHelpPanel object an addSupplement:inPath: message to inform the object of the location of the new help supplement. The NXHelpPanel object appends the contents of the supplement's TableOfContents.rtf to the existing table of contents, so the supplement should have a title that clearly sets it off from the main part of the table of contents. The supplement's index is only accessible from the table of contents; the Help panel's Index button displays the main index. ... addSupplement:inPath: - addSupplement:(const char *)helpDirectory inPath:(const char *)supplementPath Adds supplemental help by appending the supplement's TableOfContents.rtf file to the existing table of contents. This method is designed to be used when an application dynamically loads a resource that has its own help information. Returns self. ---8<---from Digital Librarian---8<--- Anyhow, I decided to take advantage of the Bundle-Help functionality and added some code to my own Unbundler class. Here is the code: ---8<---Unbundler code---8<--- - unbundle:(const char *)bundlename { id bundle; NXStream *contents; char contentsfile[MAXPATHLEN+1]; char helpDirectory[MAXPATHLEN+1]; /* OPEN THE BUNDLE AND GRAB ITS HELP & CONTENTS FILE */ if ((bundle = [[NXBundle alloc] initForDirectory:bundlename]) == nil) return nil; if ([bundle getPath : helpDirectory forResource : "Help" ofType : NULL]) { [[NXHelpPanel new] addSupplement : helpDirectory inPath : bundlename]; } if (![bundle getPath : contentsfile forResource : CONTENTSFILE ofType : CONTENTSFILETYPE]) return [bundle free]; contents = NXMapFile(contentsfile, NX_READONLY); ... ---8<---cut here---8<--- Trouble is that if I provide the arguments, say, helpDirectory = /Users/mark/Projects/Sample.bundle/Help bundlename = /Users/mark/Projects/Sample.bundle then bundle becomes freed and the program gags at the next conditional. Am I misunderstanding something here, or am I just not getting enough sleep these days :-) aTdHvAnNcKcSe Mark -- M. Onyschuk and Associates Inc. Toronto | mark@plexus.guild.org (NeXTMAIL) NeXTSTEP Software Development | 73700.3114@compuserve.com (YaWNMAIL) ----------------------------------------+------------------------------------- /Courier findfont 12 scalefont setfont 72 72 moveto (Practice PostScript) show
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: View as a Distributed Object Organization: Primitive Software Ltd. References: <1993Jun5.103426.14487@prim> <1993Jun7.205215.869@fnbc.com> Date: Tue, 8 Jun 1993 12:16:00 +0000 Message-ID: <1993Jun8.121600.7309@prim> Sender: usenet@demon.co.uk In article <1993Jun7.205215.869@fnbc.com> drew@fnbc.com writes: >In article <1993Jun5.103426.14487@prim> dave@prim.demon.co.uk (Dave Griffiths) >writes: >> In article <C83uoq.H3n@lorax.com> mike@lorax.com (Mike Ferris) writes: >[munch] >> >> Actually, another thought just struck: is it possible to make use of View's >> copyPSCodeInside:to: method? Maybe all the elements are already in place... > >I think that this approach would be unreasonably slow, mainly because a >lockFocus is basically a pointer switch to a new gstate. copyPSCodeInside:to: >copies all of the state information including the NeXT printing package. It >would probably work, though. It does work, but like you say, you get masses of postscript (my experiment involved a Text object with just a couple of words of text). Here's my problem. I've got this "generic" item browser, and I'd like the cell contents to be drawn, or at least loaded, by a remote server. I don't want to be restricted to the cell only containing text, because I may want to use funny symbols (like the triangle in Mail.app). So all I want to do is have the remote server bundle up the postscript into a black box, pass it over to my client and then have my NXBrowserCell subclass unpack the box and output the contents. So is there an easy way to do this? It's a shame the postscript produced by PSwraps inside drawSelf: is so glued in place. (I'd hate to have to add this to my list of examples of NeXTSTEP design kludginess ;-). Dave Griffiths PS: Just tried a quick experiment with writePSCodeInside:, but that produces more or less the same as copyPSCodeInside:. A Text object containing "Hello world" results in 8000 bytes of postscript!
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Sending postscript directly to the Window Server? Organization: Primitive Software Ltd. References: <1993Jun5.103426.14487@prim> <1993Jun7.205215.869@fnbc.com> Date: Tue, 8 Jun 1993 12:49:14 +0000 Message-ID: <1993Jun8.124914.7376@prim> Sender: usenet@demon.co.uk If I want to send an arbitrary chunk of postscript to the window server I can write a pswrap to do it. This creates a C program that sends a binary equivalent of the postscript on my behalf. This is fine for static ps, but what if I don't know in advance what the postscript is going to be? Is there a way to directly send an ascii postscript stream to the window server? Postscript is an interpreted language, so I assume there must be, but I can't find a description of how to do it. I don't want to use EPS because of the overhead, but simply send the ascii equivalent of the few lines of pswraps that appear in my drawSelf: method. Thanks, Dave Griffiths PS: In case that wasn't clear enough, here it is again in more detail. Let's say a drawInside method does the following: - drawInside:(const NXRect *)cellFrame inView:controlView { PSshow("Hello world"); return self; } But suppose that my cell wants to be passed the postscript by some remote object, so that nothing is hardcoded into drawInside (it may be text, it may be an image)? I'd like the remote object to do something like: NXPrintf(stream, "(Hello World) show"); // Equivalent to PSshow and then my cells drawInside to do something like: - drawInside:(const NXRect *)cellFrame inView:controlView { // Get the stream from the remote object somehow stream = [...] // Output it to the window server NXSomeRoutineWhoseNameImLookingForToOutputToWindowServer(stream); return self; }
From: trung@roger.gte.com (Trung Dung) Newsgroups: comp.sys.next.programmer Subject: ghostscript on NeXT ? Message-ID: <12492@ceylon.gte.com> Date: 8 Jun 93 14:40:38 GMT Sender: news@ceylon.gte.com Organization: GTE Laboratories Hi, Is there ghostscript version on NeXT? I'm having trouble compiling it because my NeXT does not have X11 on it. Thanks! Trung
From: peter@madeline (Jeff Hallgren) Newsgroups: comp.sys.next.programmer Subject: Re: Sending postscript directly to the Window Server? Message-ID: <C8B5A3.KoF@news2.cis.umn.edu> Date: 8 Jun 93 14:47:01 GMT References: <1993Jun5.103426.14487@prim> <1993Jun7.205215.869@fnbc.com> <1993Jun8.124914.7376@prim> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Just create a pswrap that looks something like: defineps myWrite(char *myData) myData endps peter Dave Griffiths (dave@prim.demon.co.uk) wrote: : If I want to send an arbitrary chunk of postscript to the window server I can : write a pswrap to do it. This creates a C program that sends a binary : equivalent of the postscript on my behalf. This is fine for static ps, but : what if I don't know in advance what the postscript is going to be? Is there : a way to directly send an ascii postscript stream to the window server? : Postscript is an interpreted language, so I assume there must be, but I can't .. -- peter@tahiti.umhc.umn.edu (Peter Eisch) dig.
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: Sending postscript directly to the Window Server? Message-ID: <1993Jun8.173456.17465@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <C8B5A3.KoF@news2.cis.umn.edu> Date: Tue, 8 Jun 1993 17:34:56 GMT There are several client library functions that can be used to send PostScript directly to he window server from a file. They are documented in Appendix A of the Purple Book (Programming the Display PostScript System with NEXTSTEP, Addison Wesley). There is also a chapter on importing EPS files, which you should read to learn how to try and protect your program from arbitrary PostScript messing up your context. If you don't have a Purple Book yet (I recommend you get one :-), here's something to get started with: void DPSPrintf(DPSContext ctxt, char *fmt [, arg...]); void DPSWriteData(DPSContext ctxt, char *buf, unsigned int count); -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
From: marcel@cs.tu-berlin.de (Marcel Weiher) Newsgroups: comp.sys.next.programmer Subject: Re: Sending postscript directly to the Window Server? Date: 8 Jun 1993 17:44:37 GMT Organization: Technical University of Berlin, Germany Message-ID: <1v2j65$gpc@news.cs.tu-berlin.de> References: <1993Jun5.103426.14487@prim> <1993Jun7.205215.869@fnbc.com> <1993Jun8.124914.7376@prim> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit dave@prim.demon.co.uk (Dave Griffiths) writes: >If I want to send an arbitrary chunk of postscript to the window server I can >write a pswrap to do it. This creates a C program that sends a binary >equivalent of the postscript on my behalf. This is fine for static ps, but >what if I don't know in advance what the postscript is going to be? Is there >a way to directly send an ascii postscript stream to the window server? >Postscript is an interpreted language, so I assume there must be, but I can't >find a description of how to do it. I don't want to use EPS because of the >overhead, but simply send the ascii equivalent of the few lines of pswraps >that appear in my drawSelf: method. From: Summaries/05_DisplayPS/ClientLibrarySummary.rtf send PostScript code to the Window Server void DPSWritePostScript(DPSContext context, const void *buf, int count) void DPSWriteData(DPSContext context, const void *buf, unsigned int count) void DPSPrintf(DPSContext context, const char *format, ...) void DPSFlushContext(DPSContext context) void DPSFlush(void) void DPSSendEOF(DPSContext context) for details check out the DPS client library reference in the "Supplemental Documentation", paperware. Marcel
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.database.oracle,comp.database.sybase Subject: Wanted: Oracle and Sybase comments Date: 8 Jun 1993 17:50:04 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1v2fvs$635@steffi.demon.co.uk> I am currently undertaking a feasibility study in order to recommend a particular Database Server to be used in conjunction with NeXT's DBKit. I would like to speak to anybody who has experience with either of these two but knows a bit about the other. I would like to hear the reasons behind your selection. Cheers. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: bortfeu@Rose-Hulman.Edu (Ulrich Bortfeld) Newsgroups: comp.sys.next.programmer Subject: Re: Sending postscript directly to the Window Server? Date: 8 Jun 1993 18:30:13 GMT Organization: News Service at Rose-Hulman Distribution: world Message-ID: <1v2lrlINN2hi@master.cs.rose-hulman.edu> References: <C8B5A3.KoF@news2.cis.umn.edu> In article <C8B5A3.KoF@news2.cis.umn.edu> peter@madeline (Jeff Hallgren) writes: > Just create a pswrap that looks something like: > > defineps myWrite(char *myData) > myData > endps > as fare as i understand pswrap, this will put a string on the operand stack instead of interpreting the postscript code you might like to try: DPSWritePostScript(ctxt, buf, count) which is declared in dpsclient.h you 'll get the current context by DPSGetCurrentContext() ulrich
Newsgroups: comp.sys.next.programmer From: ddurbin@is.rpslmc.edu Subject: DBImageView Message-ID: <1993Jun8.193102.8748@rpslmc.edu> Sender: news@rpslmc.edu Organization: Rush-Presbyterian-St. Luke's Medical Center Distribution: usa Date: Tue, 8 Jun 1993 19:31:02 GMT Does anyone know how to get around the memory error that's generated when attempting to save a TIFF image in a DBImageView? Thanks in advance. dave -- Dave Durbin Organization: Rush-Presbyterian-St.Luke's Medical Center Department: Advanced Technology Center Voice: 312-942-2562 Fax: 312-942-2344 Internet: ddurbin@is.rpslmc.edu The opinions expressed are my own and not necessarily that of my employer
From: yanik@planon.qc.ca (Yanik Crepeau) Newsgroups: comp.sys.next.programmer Subject: existential question (Joke) Message-ID: <1993Jun8.160207.986@CAM.ORG!planon> Date: 8 Jun 93 16:02:07 GMT Sender: yanik@CAM.ORG!planon In Interface builder, the generic objects that you instantiate are represented by spheres. The new marketing message of NeXT represents objects as cubes. I see there a strange contradiction. Should NeXT change IB to use cube instead of spheres? Should NeXT marketing dept. use spheres instead of cubes? Do you think that NeXT should use cones (as described in point 2a of "Cone" definition in Digital Webster) to represent a so needed aggresivity in its marketing message? Yanik -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik@planon.qc.ca (NeXT)
Newsgroups: comp.sys.next.programmer From: wlee@fechner.SPEECH.CS.CMU.EDU (Wonseok Lee) Subject: How to make button to respond to keybrd Message-ID: <C8BIHt.DnF.1@cs.cmu.edu> Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon Date: Tue, 8 Jun 1993 19:37:02 GMT Does anyone know how to make button cells in matrix respond to keyboard as well as mouse clicks? If you reply by e-mail I would really appreciate it. Thanks. W. Lee wlee@fechner.speech.cs.cmu.edu graduate student, Electrical and Computer Engineering, Carnegie Mellon University
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Sending postscript directly to the Window Server? Message-ID: <68303@mimsy.umd.edu> Date: 8 Jun 93 20:35:12 GMT References: <1993Jun7.205215.869@fnbc.com> <1993Jun8.124914.7376@prim> <C8B5A3.KoF@news2.cis.umn.edu> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Dave Griffiths (dave@prim.demon.co.uk) wrote: > Is there a way to directly send an ascii postscript stream to the window server? [in the situation when the postscript code is determined at run time] Jeff Hallgren (peter@madeline) replied: > Just create a pswrap that looks something like: > defineps myWrite(char *myData) > myData > endps Though Jeff's solution should work, wouldn't single operator calls be more efficient in this particular case? it would cut down on the interpretation time, but at the potential cost of more roundtrips to the server. if you are not using return results from the stack, but simply sending drawing commands - they can be batched eliminating the interpretation cost (I assume if I am of base here, someone will let me know :^) this assumes that the PostScript is not completely arbitrary text, but generated by the program so that using single operator calls is feasible. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: RE: A couple of interesting ideas... Message-ID: <7JUN93.19134431@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST References: <4JUN93.19483392@enh.nist.gov> <9j$@byu.edu> Date: Tue, 8 Jun 1993 00:13:44 GMT Agreed! A list with an inspector would be great for this (as well as tons of other things). The ability to have a variable length list of pointers that can be set inside of IB would be very nice indeed. Unfortunately, I do not have the time right now to program such a thing. Therefor, I am going to do it the hard way and replace it when I can. Thanks for the responses. Does anyone else see a need for this sort of IB object? Kevin
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: Sending postscript directly to the Window Server? Date: 8 Jun 1993 21:36:50 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1v30pi$bp1@agate.berkeley.edu> References: <1993Jun8.124914.7376@prim> In article <1993Jun8.124914.7376@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >If I want to send an arbitrary chunk of postscript to the window server I can >write a pswrap to do it. This creates a C program that sends a binary >equivalent of the postscript on my behalf. This is fine for static ps, but >what if I don't know in advance what the postscript is going to be? Is there >a way to directly send an ascii postscript stream to the window server? Look at the source code for Yap.app in the Examples directory that comes with the system. It does this exact thing, and also can deal with bad PostScript code without getting the GUI context hosed. Particular file YapOutput.m will be helpful. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: Jim-Miller@suite.com Newsgroups: comp.sys.next.programmer Subject: Getting the environment Date: 8 Jun 1993 15:46:13 GMT Organization: Suite Software Message-ID: <1v2c85$g3@bilbo.suite.com> I have a NeXTSTEP application that runs fine when I start it from the c-shell prompt, but it crashes shortly after starting when I launch it from the Workspace. The problem is that when I launch it from the Workspace, the program does not have access to the environment variables. How do I get access to the c-shell environment variables when I launch my application from the Workspace? Thanks, Jim_Miller@suite.com
From: mckelvey@suite.com Newsgroups: comp.sys.next.programmer Subject: Thread safety in 3.1? Message-ID: <1v2rtc$2rm@bilbo.suite.com> Date: 8 Jun 93 20:13:32 GMT Organization: Suite Software The 3.0 online docs say this about thread-safety: The following are not thread-safe: The Application Kit (messages to kit objects should be sent only from the main thread) DPS client routines The Window Server (drawing should be done only from the main thread) Standard I/O functions, such as printf() Most of the functions in the libc library The last two are gonna cause me problems. Is this improved in 3.1? -- A man should not strive to eliminate his complexes, but to get in accord with them; they are legitimately what directs his conduct in the world. - Sigmund Freud Jim McKelvey mckelvey@suite.com
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: Postgres adaptor Message-ID: <1993Jun8.191445.213@afs.com> Sender: jon@afs.com Date: Tue, 8 Jun 1993 19:14:45 GMT I seem to recall hearing that someone was working on a postgres adaptor. What's the status of that? -- Jonathan Hendry Anderson Financial Systems jon@afs.com (Nextmail Welcome!) or tjhendry@queen.mcs.drexel.edu I see an Epson and I want to paint it black...
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Sending postscript directly to the Window Server? Organization: Primitive Software Ltd. References: <1993Jun7.205215.869@fnbc.com> <1993Jun8.124914.7376@prim> <C8B5A3.KoF@news2.cis.umn.edu> Date: Tue, 8 Jun 1993 17:10:03 +0000 Message-ID: <1993Jun8.171003.8916@prim> Sender: usenet@demon.co.uk In article <C8B5A3.KoF@news2.cis.umn.edu> peter@madeline (Jeff Hallgren) writes: >Just create a pswrap that looks something like: > >defineps myWrite(char *myData) > myData >endps > >peter Excellent! Thank you. (I also came across DPSPrintf). NeXTSTEP is wonderful after all. This opens all sorts of exciting possibilities... Dave Griffiths
From: marcos@kaleida.com (Paul Marcos) Newsgroups: comp.sys.next.programmer Subject: Can't run app from workspace but can from command line and gdb? Date: 8 Jun 1993 15:01:29 GMT Organization: Kaleida Labs, Inc. Distribution: world Message-ID: <1v29k9INN3it@golden.kaleida.com> This is a very wierd behavior on NS/I. I wrote a simple app that will animate a group of tiff files. It doesn't do anything fancy, just pops up an OpenPanel, let's the user pick a directory, reads the files creating NXImages out of them and then cycles through them using a DPSTimedEntry to composite them to a window. Originally I wrote it on my NeXTstation running 3.0. We copied the app directory over to one of our Intel machines, recompiled the code, and it runs fine from gdb. But the minute we try to click Run, or run it from the WorkSpace, it generates this error in the console: Jun 7 16:32:36 Workspace: Cannot exec /Users/gordie/Developer/Animator/Animator.app: (not a valid program) Why? Apparently the Workspace doesn't think this is a good program. We've tried building it fat and slim. Anybody ever run into this? Paul ................................................................... Paul Marcos NeXTMail encouraged! Kaleida Labs, Inc. marcos@kaleida.com
Newsgroups: comp.sys.next.programmer From: crystal2!paul (Paul T. Landers) Subject: Can I access a property via a relationship with dbkit? Message-ID: <1993Jun8.014958.280@crystal.com> Keywords: dbkit relationship Sender: paul@crystal.com Organization: Crystal Software Development, Inc. Date: Tue, 8 Jun 1993 01:49:58 GMT Given: a table with customer information that uses a 3 character code to identify the country, and a second table to translate the country code to a spelled out name. Task: display the mailing address using the spelled out name I have a list of customers in a DBTableView with a single row selected. To access the customer table information, I use, e.g.: [[tableView dataSource] getValueFor:[[dbModule entity] propertyNamed:"city"] at:[tableView selectedRow] into:workValue]; ... which works fine. Having set up a relationship in dbModule, etc, I'd like to get to the spelled-out country name the same way. Stipulating that the country name is displayed corrected in the tableView, I've tried variations on the property name of "country_name", "countries.country_name" and "t1.country_name", but I always get back nil. I have examined the property list for my [dbModule entity] and found that there is something called "countries" of class "DBRelationship", but there's no documentation on what kind of an animal that is. Does someone know how to make this work? The alternatives seem so sloppy. Paul Landers paul@crystal.com Crystal Software Development, Inc. Cincinnati, OH
Newsgroups: comp.sys.next.programmer From: cgb@cypher .cmhnet.org (Charles G. Bennett) Subject: tty problems on NS/I Message-ID: <1993Jun4.235159.4176@cypher.cmhnet.org> Sender: chuck@cypher.cmhnet.org Organization: BenaTong, inc. Date: Fri, 4 Jun 1993 23:51:59 GMT Hi, all. Has anyone else been having trouble with the ttys on NS/I ? The problem we have can be reproduced by simply 'cat'ing a large file to /dev/ttya or cua...(we used /etc/ttys as the file to cat) The system will either hang (completely dead) or the cat will not return and you will get a small nmi type window with an rdp execption.. You are given the choice to continue, but you will really have to reset the system since typing 'C' to continue simply re-raises the exception. We are using an Epson Progression NX, fully maxed out but but have seen the same problem on a "generic" 486 system. ANY thoughts/help etc. are welcome. NeXT? Chuck -- Chuck Bennett, BenaTong Consulting Harem Security..UNIX Consulting }-) chuck@cypher.cmhnet.org
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Getting the environment Message-ID: <1993Jun9.061713.21350@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1v2c85$g3@bilbo.suite.com> Date: Wed, 9 Jun 1993 06:17:13 GMT In article <1v2c85$g3@bilbo.suite.com> Jim-Miller@suite.com writes: >I have a NeXTSTEP application that runs fine when I start it from the c-shell >prompt, but it crashes shortly after starting when I launch it from the >Workspace. The problem is that when I launch it from the Workspace, the >program does not have access to the environment variables. That's the way it's supposed to be. Environment variables are inherited at process creation time, and since applications launched from the Workspace are not descended from a shell, they can't possibly have access to them. In general, NEXTSTEP applications should not rely upon UNIX environment variables, but use the NeXT Defaults Database instead. >How do I get access to the c-shell environment variables when I launch my >application from the Workspace? Warning: I don't recommend this. If you mess up, you won't be able to log in (except by typing "console" at the login window). Make an executable shell script (for this example I'll call it .workspaceinit) #!/bin/csh -fb setenv ANIMAL Frog exec /usr/lib/NextStep/Workspace.app/Workspace $* Then do dwrite loginwindow Workspace $HOME/.workspaceinit This causes the "ANIMAL" variable to be set in Workspace itself at login time, and will thus affect all applications launched from the Workspace (it will not affect applications run on other machines but displaying on yours via -NXHost). dremove loginwindow Workspace restores the standard behavior. -=EPS=-
Newsgroups: comp.sys.next.programmer From: nour@elysia (Noureddine Rhallam) Subject: WANTED:Fortran Compiler(f77) Message-ID: <1993Jun8.171529.7355@elysia.fdn.org> Sender: nour@elysia.fdn.org Organization: Elysia - Rueil_Malmaison, France. Date: Tue, 8 Jun 1993 17:15:29 GMT I look for the compiler Fortran f77 and library on NS/FIP ? Thanks for your help. Noureddine Elysia 23 Rue buffon 92500 Rueil-Malmaison France phone :[33](1)47496196 fax :[33](1)47149908 Internet: (NeXTMail ok) <nour@elysia.fdn.org>
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Thread safety in 3.1? Message-ID: <1993Jun9.063953.22365@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1v2rtc$2rm@bilbo.suite.com> Date: Wed, 9 Jun 1993 06:39:53 GMT In article <1v2rtc$2rm@bilbo.suite.com> mckelvey@suite.com writes: >The 3.0 online docs say this about thread-safety: > >The following are not thread-safe: > Standard I/O functions, such as printf() > Most of the functions in the libc library > >The last two are gonna cause me problems. Is this improved in 3.1? I don't think these are candidates for "improvement." If anything, you want to be asking whether, say, NXPrintf() is thread-safe. It's extremely difficult to monkey with traditional BSD stuff without breaking all sorts of things. If there's a problem with the documentation, it's that it doesn't go into enough detail. In general, the kernel calls (section 2 of the UNIX manual) are thread-safe, with the caveat that you need to check cthread_errno() instead of errno when a call fails. Many of the others can be protected by a mutex. Interestingly enough, some things you might expect not to be thread-safe [e.g. sleep()] actually are. malloc() is thread-safe by default, but you can turn this off [malloc_singlethreaded()] for higher performance. Objective-C runtime is not thread-safe by default; objc_setMultithreaded() can change that (for a price...). -=EPS=-
Newsgroups: comp.sys.next.programmer From: crystal2!paul (Paul T. Landers) Subject: Can I access a property via a relationship with dbkit? Message-ID: <1993Jun7.130609.4016@crystal.com> Keywords: dbkit relationship Sender: paul@crystal.com Organization: Crystal Software Development, Inc. Date: Mon, 7 Jun 1993 13:06:09 GMT Given: a table with customer information that uses a 3 character code to identify the country, and a second table to translate the country code to a spelled out name. Task: display the mailing address using the spelled out name I have a list of customers in a DBTableView with a single row selected. To access the customer table information, I use, e.g.: [[tableView dataSource] getValueFor:[[dbModule entity] propertyNamed:"city"] at:[tableView selectedRow] into:workValue]; ... which works fine. Having set up a relationship in dbModule, etc, I'd like to get to the spelled-out country name the same way. Stipulating that the country name is displayed corrected in the tableView, I've tried variations on the property name of "country_name", "countries.country_name" and "t1.country_name", but I always get back nil. I have examined the property list for my [dbModule entity] and found that there is something called "countries" of class "DBRelationship", but there's no documentation on what kind of an animal that is. Does someone know how to make this work? The alternatives seem so sloppy. Paul Landers paul@crystal.com Crystal Software Development, Inc. Cincinnati, OH
Newsgroups: comp.sys.next.programmer From: ah@fml.tuwien.ac.at (Andreas Haleger) Subject: Re: RE: A couple of interesting ideas... Message-ID: <1993Jun9.105507.19448@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Organization: Technical University of Vienna References: <7JUN93.19134431@enh.nist.gov> Date: Wed, 9 Jun 1993 10:55:07 GMT In article <7JUN93.19134431@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: > Agreed! A list with an inspector would be great for this (as well as tons > of other things). The ability to have a variable length list of pointers > that can be set inside of IB would be very nice indeed. Unfortunately, I do > not have the time right now to program such a thing. Therefor, I am going > to do it the hard way and replace it when I can. > Well, I have done what you want and you can find it on sonata.cc.purdue.edu in /pub/next/oop/classes and it is named Connect.tar.Z. Enjoy! -- == Andreas == Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail accepted.
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: cc -MM Message-ID: <1993Jun8.141558.2617@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <1utkbiINNsbj@darkstar.UCSC.EDU> Date: Tue, 8 Jun 1993 14:15:58 GMT In article <1utkbiINNsbj@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > > Under NS 3.0, cc -MM was overzealous in creating dependencies by > including all the static NEXTSTEP header files in dependency > lists thus slowing compilation. > > Under 3.1 PR1, cc -MM was underzealous (more accurately, totally > broken, in that it created dependency lists that seemed to include > no more than one header file regardless of how many were imported > :-( > > Can someone with 3.1 for Intel tell me whether this has been > fixed? If not, I'm not looking forward to creating dependency > lists manually like in the old (pre-NEXTSTEP) days. But then, > I guess I could copy 3.0's cc to my 3.1 file system, redefine CC > in a "depend" target in Makefile.preamble, and add my 3.0 "depend" > target fix that created proper dependency lists. This is a lot > of bother if it's fixed in 3.1. I use the following script for that. It's not the fastest, but it runs on all machines. ---------------------- cut here ------------------------------------- #! /bin/sh # # Tue Dec 03 13:40:05 PST 1991 # this script was derived by Stephen C. Woods <scw@seas.ucla.edu> # it has only been minimally tested (on the nslookup directory) # from the following pieces of code # from the BSD 4.3 release on the IBM RT/PC (AOS) # @(#)mkdep.sh 1.7 (Berkeley) 10/13/87 # # from the Perl 4.000 release by Larry Wall # $Header: /thomas/cvsroot/prymsources/scripts/mkdep,v 1.50 1993/04/19 10:06:27 thomas Exp $ # Revision 4.0 91/03/20 01:27:04 lwall # 4.0 baseline. # # # Hacked dependencies on /usr/include /NextDeveloper (Th. Funke) # PATH=/bin:/usr/bin:/usr/ucb export PATH if [ $# = 0 ] ; then echo 'usage: mkdep [-p] [-f makefile] [flags] file ...' exit 1 fi MAKE=Makefile # default makefile name is "Makefile" case $1 in # -f allows you to select a makefile name -f) MAKE=$2 shift; shift ;; # the -p flag produces "program: program.c" style dependencies # so .o's don't get produced -p) SED='-e s;\.o;;' shift ;; esac if [ ! -w $MAKE ]; then echo "mkdep: no writeable file \"$MAKE\"" exit 1 fi TMP=/tmp/mkdep$$ trap 'rm -f $TMP ; exit 1' 1 2 3 13 15 cp $MAKE ${MAKE}.bak sed -e '/DO NOT DELETE THIS LINE/,$d' < $MAKE > $TMP cat << _EOF_ >> $TMP # DO NOT DELETE THIS LINE -- mkdep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. _EOF_ for f in $@ ; do case $f in -O) ;; -*) flags="$flags $f";; *) files="$files $f";; esac done for file in $files; do case "$file" in *.c) filebase=`basename $file .c` ;; *.m) filebase=`basename $file .m` ;; *.y) filebase=`basename $file .y` ;; *.sc) filebase=`basename $file .sc` ;; esac echo "Finding dependencies for $filebase.o." if [ -r $file ] then sed -n <$file \ -e "/^${filebase}_init(/q" \ -e '/^#/{' \ -e 's|/\*.*$||' \ -e 's|\\$||' \ -e p \ -e '}'| /lib/cpp $flags | \ sed \ -e '/^# *[0-9]/!d' \ -e 's/^.*"\(.*\)".*$/'$filebase'.o: \1/' \ -e 's|: \./|: |' \ -e 's|\.c\.c|.c|' | \ uniq | sort | uniq | fgrep -v ' /u' | fgrep -v ' /NextDeveloper' >> $TMP fi done # copy to preserve permissions cp $TMP $MAKE rm -f ${MAKE}.bak $TMP exit 0 -------------------------- cut here ------------------------------------- -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: How do you determine a file's accessibility? Message-ID: <1993Jun9.091259.14282@ac.dal.ca> Date: 9 Jun 93 09:12:59 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hi. I'm wondering if there is a method that can test the type of access a file has when you open it. I want to set up a warning panel for when read-only ata files are opened. THANKS Anthony Grandy Burchill Communication Research Group lisag@ac.dal.ca (vax) grandyaw@newton.ccs.tuns.ca (unix) Sorry no NeXT Mailing address :(
Newsgroups: comp.sys.next.programmer From: t8221ba@next2.lrz-muenchen.de () Subject: Icon-dobbelklicking Message-ID: <1993Jun9.135546.12052@news.lrz-muenchen.de> Sender: news@news.lrz-muenchen.de (Mr. News) Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Date: Wed, 9 Jun 1993 13:55:46 GMT Hi all, we, a group of programmers, have an unsolved problem with project-builder. We have in our application a text object, which is editable. Now we want, like e-mail in NeXT-Step, include some icons into the text, for example for an edit-, or diagram-file, to allow the user to open these files with dobbelklicking one of the icons. Can us help somebody to solve this problem? We hope so, very much thanks, answers please to t8221ba@next1.lrz-muenchen.de (Markus Biermeier) -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($AI(&%L;"Q<"EP* M=V4L(&$@9W)O=7`@;V8@<')O9W)A;6UE<G,L(&AA=F4@86X@=6YS;VQV960@ M<')O8FQE;2!W:71H('!R;VIE8W0M8G5I;&1E<BY<"E=E(&AA=F4@:6X@;W5R M(&%P<&QI8V%T:6]N(&$@=&5X="!O8FIE8W0L('=H:6-H(&ES(&5D:71A8FQE M+B!.;W<@=V4@=V%N="P@;&EK92!E+6UA:6P@:6X@3F585"U3=&5P+"!I;F-L M=61E('-O;64@:6-O;G,@:6YT;R!T:&4@=&5X="P@9F]R(&5X86UP;&4@9F]R M(&%N(&5D:70M+"!O<B!D:6%G<F%M+69I;&4L('1O(&%L;&]W('1H92!U<V5R M('1O(&]P96X@=&AE<V4@9FEL97,@=VET:"!D;V)B96QK;&EC:VEN9R!O;F4@ M;V8@=&AE(&EC;VYS+EP*7`I#86X@=7,@:&5L<"!S;VUE8F]D>2!T;R!S;VQV M92!T:&ES('!R;V)L96T_7`I792!H;W!E('-O+"!V97)Y(&UU8V@@=&AA;FMS M+"!A;G-W97)S('!L96%S92!T;UP*7`IT.#(R,6)A0&YE>'0Q+FQR>BUM=65N =8VAE;BYD92`H36%R:W5S($)I97)M96EE<BD*?0IA `
Newsgroups: comp.sys.next.programmer From: jscott@vardamir.next.nd.edu (James Scott) Subject: Re: reading CD data Message-ID: <1993Jun9.144811.14288@news.nd.edu> Sender: news@news.nd.edu (USENET News System) Organization: University of Notre Dame References: <1k4m6jINNn9e@shelley.u.washington.edu> Date: Wed, 9 Jun 1993 14:48:11 GMT Folx, I'm afraid I was away for a few days and missed this thread. Were any tips/tricks for reading audio CD data posted? thanks, james -- James Scott | jscott@cleese.next.nd.edu University of Notre Dame | NeXTMail Appreciated Student Unix Analyst | NeXT Campus Consultant 219.634.3472 | AUDIX: x5429 A billion here, a couple of billion there -- first thing you know it adds up to be real money.
Newsgroups: comp.sys.next.programmer Subject: making a pull-down list?? Message-ID: <1993Jun9.095746.4784@vax1.mankato.msus.edu> From: kickstart@vax1.mankato.msus.edu Date: 9 Jun 93 09:57:46 -0600 Organization: Mankato State University How the heck do you implement a pull-down list? I have the "development tool" and "obj-c" books from the NS library and Garfinkle/Mahoney book and none of them even mentions anything about how a pull-down list is implemented other than the advice that they "usually aren't necessary..." Any advice or maybe even some example code would be appreciated. Thanks, --------------------------------------/\---------------------------------------- kickstart@vax1.mankato.msus.edu /\/\ NeXT: The object is the advantage. "Christopher P. Josephes" |\/\/| Coming Soon.... Mankato State University \\// NS/XMP (okay, maybe not..) --------------------------------------\/----------------------------------------
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: cc -MM Date: 9 Jun 1993 15:19:22 GMT Organization: Cubic Solutions - NeXT software development and consulting Message-ID: <1v4v1qINN9b7@darkstar.UCSC.EDU> References: <1utkbiINNsbj@darkstar.UCSC.EDU> <1993Jun8.141558.2617@gamelan> In article <1993Jun8.141558.2617@gamelan> thf@zelator.in-berlin.de (Thomas Funke) writes: >In article <1utkbiINNsbj@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) >writes: >> Under NS 3.0, cc -MM was overzealous in creating dependencies by >> including all the static NEXTSTEP header files in dependency >> lists thus slowing compilation. >> >> Under 3.1 PR1, cc -MM was underzealous (more accurately, totally >> broken, in that it created dependency lists that seemed to include >> no more than one header file regardless of how many were imported >> :-( >I use the following script for that. It's not the fastest, but it runs on all >machines. [ shell script deleted ] I've settled on the following patch to /NextDeveloper/Makefiles/app/common.make: *** common.make.orig Mon Feb 22 17:40:25 1993 --- common.make Tue Jun 8 15:12:51 1993 *************** *** 304,312 **** Makefile.dependencies:: $(CLASSES) $(MFILES) $(CFILES) $(CCFILES) $(CAPCFILES) $(CXXFILES) $(CPPFILES) $(RM) -f Makefile.dependencies ! $(CC) -MM $(ALL_CFLAGS) $(CLASSES) $(MFILES) $(CFILES) \ ! $(CCFILES) $(CAPCFILES) $(CXXFILES) $(CPPFILES) \ ! > Makefile.dependencies copy:: $(NAME).copy $(BUNDLES:.bproj=.copy) $(SUBPROJECTS:.subproj=.copy) --- 304,315 ---- Makefile.dependencies:: $(CLASSES) $(MFILES) $(CFILES) $(CCFILES) $(CAPCFILES) $(CXXFILES) $(CPPFILES) $(RM) -f Makefile.dependencies ! @for file in $(CLASSES) $(MFILES) $(CFILES) $(CCFILES) $(CAPCFILES) \ ! $(CXXFILES) $(CPPFILES) ; do \ ! echo Compiling $$file; \ ! /lib/m68k/cpp -MM $(ALL_CFLAGS) $$file | sed 's/ [^ ]*\.[cm]//g' >> \ ! Makefile.dependencies ; \ ! done copy:: $(NAME).copy $(BUNDLES:.bproj=.copy) $(SUBPROJECTS:.subproj=.copy) Note that this patch is m68k-specific, but making it processor-independent shouldn't be too difficult. Also, note that if an error occurs when compiling one of the source files, an incomplete Makefile.dependencies is created. I've just decided to fix this shortcoming, which I'll leave as an exercise for the reader :-) -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: existential question (Joke) Organization: Primitive Software Ltd. References: <1993Jun8.160207.986@CAM.ORG!planon> Date: Wed, 9 Jun 1993 08:04:06 +0000 Message-ID: <1993Jun9.080406.11341@prim> Sender: usenet@demon.co.uk In article <1993Jun8.160207.986@CAM.ORG!planon> yanik@planon.qc.ca (Yanik Crepeau) writes: >In Interface builder, the generic objects that you instantiate are represented >by spheres. > >The new marketing message of NeXT represents objects as cubes. > >I see there a strange contradiction. > >Should NeXT change IB to use cube instead of spheres? >Should NeXT marketing dept. use spheres instead of cubes? Given the reality distortion field that operates around NeXT, maybe hypercubes would be more appropriate? Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Sending postscript directly to the Window Server? Organization: Primitive Software Ltd. References: <1993Jun8.124914.7376@prim> <1v30pi$bp1@agate.berkeley.edu> Date: Wed, 9 Jun 1993 07:55:53 +0000 Message-ID: <1993Jun9.075553.11276@prim> Sender: usenet@demon.co.uk First of all, many thanks to all the people who responded to my question. Just out of curiosity, is there any way to convert ascii postscript into a binary object sequence? The documentation on DPSWritePostScript says that the code may be plain text, encoded tokens, or binary object sequence. And the C code produced by pswrap appears to be sending binary objects. We are also informed that one pswrap is more efficient than multiple pswraps (presumably because each one is making a call to the window server). So a nice general solution would appear to be: have drawSelf buffer up the ascii postscript (using something like PSshow(stream, "hello world")), then at the end convert it to a binary object sequence and call another View method (say outputPS) to flush it out to the window server. This would then make for a nice efficient way of implementing remote views - the server view could override outputPS and return the binary object sequence to the client. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: RE: View as a Distributed Object Message-ID: <9JUN93.16064118@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST References: <1993Jun5.103426.14487@prim> <1993Jun7.205215.869@fnbc.com> <1993Jun8.121600.7309@prim> Date: Wed, 9 Jun 1993 21:06:41 GMT I am not in any way, an expert DPS programmer, but it seems to me that transfering a user path would be much more efficient (space wise) than transfering code produced by PSWrap (if you ever look at the code generated by this wonderful tool, you will loose your breath... it is HUGE). So, if you had a view that created a series of user paths before drawing, these paths could be incorporated into a DO fairly easily. This would keep all of the major PS code localized... just a though... an untested thought. Kevin
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Threads, and etc... Message-ID: <9JUN93.16134945@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Wed, 9 Jun 1993 21:13:49 GMT As a former DOS programmer, you will have to forgive me my ignorance of how to use threads, etc... I have a program now that runs an analysis. This analysis can take lots of time (like two hours), and it would be nice if the application could be used for other things while it is running. I am assuming that by using threads, I could do just this... the question is: what is the easiest way for me to go about doing this. I don't want to get involved in a long ordeal of dealing with low level system stuff, I just want it to work! Anyway, if anyone could point me in the correct direction, it would be appreciated! Kevin
Newsgroups: comp.sys.next.programmer From: wlee@fechner.SPEECH.CS.CMU.EDU (Wonseok Lee) Subject: How to make button to respond to keybrd...Again Message-ID: <C8D880.4sB.1@cs.cmu.edu> Sender: news@cs.cmu.edu (Usenet News System) Organization: School of Computer Science, Carnegie Mellon Date: Wed, 9 Jun 1993 17:50:19 GMT Thanks for all those who responded kindly but I was hoping to avoid Command key combinations. If using "setKeyEquivalent" is the only way, is there a way to fool the application into thinking Command key is down? Thanks, again. W. Lee wlee@fechner.speech.cs.cmu.edu graduate student, Electrical and Computer Engineering, Carnegie Mellon University If using "setKeyEquivalent" is the only way, is there a way to fool the application into thinking Command key is down? Thanks, again. W. Lee wlee@fechner.speech.cs.cmu.edu graduate student, Electrical and Computer Engineering, Ca
Newsgroups: comp.sys.next.programmer From: yhe1@cc.swarthmore.edu (Ye He) Subject: Where is File View's code? Message-ID: <yhe1-090693142328@mac2.hicks.swarthmore.edu> Followup-To: comp.sys.next.programmer Sender: news@cc.swarthmore.edu (USENET News System) Organization: Swarthmore Collge Date: Wed, 9 Jun 1993 18:28:50 GMT Hello Everyone, I'm writing a palette that is similar to the View menu in Workspace. (One is able to drag icons from elsewhere and drop them in the palette for future use.) Does anyone have any idea how to get started? I wanted to find the source code for the View application but in vain. Please send you valuable help to he@carnegie.swarthmore.edu (NeXTmail). I'd appreciate it very much.
Newsgroups: comp.sys.next.programmer From: woo@ornl.gov (John W. Wooten) Subject: Re: making a pull-down list?? Message-ID: <1993Jun9.192633.22492@ornl.gov> Sender: usenet@ornl.gov (News poster) Organization: Oak Ridge National Laboratory References: <1993Jun9.095746.4784@vax1.mankato.msus.edu> Date: Wed, 9 Jun 1993 19:26:33 GMT In article <1993Jun9.095746.4784@vax1.mankato.msus.edu> writes: > How the heck do you implement a pull-down list? > I have the "development tool" and "obj-c" books from the NS library and > Garfinkle/Mahoney book and none of them even mentions anything about how > a pull-down list is implemented other than the advice that they "usually aren't > necessary..." > > Any advice or maybe even some example code would be appreciated. > This is in controller.h @interface Controller:Object { id objList; id currentDataType; id typeList; id theView; and this in controller.m - awakeFromNib { objList = [objList target]; [objList setTarget:self]; [objList setAction:@selector(setType:)]; currentDataType = [[TypeData alloc] init]; [currentDataType setClass:nil]; [currentDataType setDescription:"Generic"]; [typeList addObject:currentDataType]; return self; } - setType:sender { currentDataType = [typeList objectAt:[[sender selectedCell] tag]]; return self; } id objList is connected to a pulldown list button with the IB. Obviously, setType could actually do other things as well, I just set the switch and have other things take care of what's drawn, done when mouse clicks etc. - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: amehta@yale.edu (Anand Mehta) Subject: NeXTstep Programming: Step Two ? Message-ID: <1993Jun9.192843.6732@news.yale.edu> Sender: news@news.yale.edu (USENET News System) Organization: Yale Univ. Science & Engineering Computing Facility, New Haven, CT 06520 Date: Wed, 9 Jun 1993 19:28:43 GMT I thought I saw some information on the second book of this series. If anyone has information on it (ISBN, availability, etc.) would you please email it to me? Thanks in advance, -Anand -- =============================================================================== Anand Mehta mehta-anand@yale.edu 436-1437 Computing Assistant, Pierson We dance round in a ring and suppose, But the Secret sits in the middle and knows. ===============================================================================
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: NeXTSTEP Developer Boxes Message-ID: <1993Jun9.170025.833@afs.com> Sender: jon@afs.com Date: Wed, 9 Jun 1993 17:00:25 GMT I'm wondering-- What's in the NEXTSTEP DEVELOPER Box?? Is it just air? Is there a CD-ROM bouncing around in it? Is there a little effigy of Bill Gates? It's an awfully large box for a CD (and people complained about the cd long box!) Inquiring minds want to know... (At least mine, anyway.) -- In the old days, it was not called the Holiday Season; the Christians called it "Christmas" and went to church; the Jews called it "Hanukka" and went to synagogue; the atheists went to parties and drank. People passing each other on the street would say "Merry Christmas!" or "Happy Hanukka!" or (to the atheists) "Look out for the wall!" -- Dave Barry, "Christmas Shopping: A Survivor's Guide"
From: rprice@cbnewsg.cb.att.com (rodney.price) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: new libg++ under NS 3.0? Keywords: libg++ NS3.0 Message-ID: <C8DEK8.Hoq@cbfsb.cb.att.com> Date: 9 Jun 93 20:07:19 GMT Sender: news@cbfsb.cb.att.com Followup-To: poster Organization: AT&T I've just upgraded my non-turbo mono slab to NextStep 3.0, and I'd like to get libg++ installed again. I have a couple of questions, however. (1) The Developer documentation says that the new cc is gcc version 1.39.1, but doing cc -v gives "gcc version 1.93 (68k, MIT syntax)." Which is it? (2) If this is the mysterious v. 1.93 (I didn't know such a thing existed) can I use libg++ 2.3.1 with it? If it's really v. 1.39, then perhaps I'd be better off using libg++ 1.39.0. Opinions? (3) I seem to remember reading somewhere that NS 3.1 includes the new gcc 2.2.2 and also includes a current libg++ already compiled. Since this software is copy- lefted, presumably it's legal for me to copy it from someone. Will it work under NS 3.0, and can I ftp it from someplace over the Internet? I'd like to upgrade to NS 3.1, but I don't have the $$ right now. Thanks for your help. Rod Price rprice@physics.att.com
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Scrollview subclass vs NXBrowser? Date: 9 Jun 1993 23:08:27 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1v5n0r$3hm@steffi.demon.co.uk> When is it appropriate to use a Scrollview subclass rather than an NXBrowser to display non heirarchial data?. In particular when using the DBKit?, but should it really matter what I'm using? Obviously, (Hi Dave G.) a Matrix subclass is easier to control and extend. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: charlie@snowflake.az.stratus.com Newsgroups: comp.sys.next.programmer Subject: Distributed Objects questions Date: 9 Jun 1993 23:03:43 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <1v5q8f$l5c@transfer.stratus.com> I'm trying to convert one of my appliations to use DO. However, I have some questions about this: 1) If a client attempts to connect to the server, but the server isn't running, how does the client get the server started? 2) My app has an object that does rpc's to a mainframe. It returns fairly complicated structures of database lookup records, which are random size and contents. If I place this object in the server DO, how can I return arbitrary structures (that may contain pointers to other structures (up to 3 deep))? I looked into the NXTransport protocol, but I'm not returning an object. 3) Can the DO call in the client be done in a thread? Doing so would allow the user to continue to modify windows or stop the background thread(s). I've looked in the delivered Miniexamples, but they're pretty straightforward and don't cover this information. -- Charles Spitzer charlie@snowflake.az.stratus.com Telecom Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
Newsgroups: comp.sys.next.programmer From: spagiola@frinext.stanford.edu (Stefano Pagiola) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun10.003336.24473@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Jun9.170025.833@afs.com> Date: Thu, 10 Jun 93 00:33:36 GMT jon@afs.com writes > I'm wondering-- > What's in the NEXTSTEP DEVELOPER Box?? Is it just air? Is there > a CD-ROM bouncing around in it? Is there a little effigy of Bill > Gates? It's an awfully large box for a CD (and people complained > about the cd long box!) Inquiring minds want to know... (At > least mine, anyway.) Documentation. Documentation. More Documentation. Misc Catalogs (eg the Objectware and 3rd party apps catalogs). And oh yes, the CD-ROM. -- - Stefano Pagiola Food Research Institute, Stanford University spagiola@frinext.stanford.edu (NeXTMail encouraged) spagiola@FRI-nxt-Pagiola.stanford.edu (NeXTMail encouraged)
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: Re: Distributed Objects questions Date: 10 Jun 1993 01:03:09 GMT Organization: The Aerospace Corporation Message-ID: <1v618d$6j3@news.aero.org> References: <1v5q8f$l5c@transfer.stratus.com> In article <1v5q8f$l5c@transfer.stratus.com> charlie@snowflake.az.stratus.com writes: >I'm trying to convert one of my appliations to use DO. However, I have some >questions about this: > >1) If a client attempts to connect to the server, but the server isn't >running, how does the client get the server started? The server isn't started. Distributed Objects only let objects in already running applications communicate. It won't start the application for you. Depending on your circumstances you might be able to use the workspace request protocol to message workspace to start an application when you can't find one of its objects. That requires a public window server (ack I hate those) so you might want to write an application launching server that people run all the time and which has some better form of authentication. >2) My app has an object that does rpc's to a mainframe. It returns fairly >complicated structures of database lookup records, which are random size and >contents. If I place this object in the server DO, how can I return arbitrary >structures (that may contain pointers to other structures (up to 3 deep))? I >looked into the NXTransport protocol, but I'm not returning an object. You need to be able to serialize the structures to send them with distributed objects. Your deep structures won't work automatically. If I really wanted the structures on the client side of the connection what I might do is write a wrapper object for the deep structure. The wrapper object adhere's to the NXTransport protocol and implements EncodeUsing: and DecodeUsing:. Then what those functions do is use XDR to serialize the data and send it through the portal. You probably already have the appropriate XDR functions in your code to support the RPC calls you are making. A more object oriented solution would be to write code that maps your complex data structure onto a set of different objects. You would probably have simple objects for the various kinds of records and use List objects for the sets of responses. Then you could use the normal distributed object methods to write the objects through the connection. You might want the objects to be passed along as proxies or you might want them to make copies as they are sent depending on your applicaiton. >3) Can the DO call in the client be done in a thread? Doing so would allow the >user to continue to modify windows or stop the background thread(s). Yes. Be careful when getting into multithreaded applications. They add a lot of "hair" to your code. Read the OperatingSystem/Part1_Mach/01_Concepts for information on how to make objective-c thread safe and what other parts of the environment are or aren't thread safe. Then think very carefully as to whether the extra work is worth it. :-)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: How to make button to respond to keybrd...Again Message-ID: <1993Jun10.065541.23713@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <C8D880.4sB.1@cs.cmu.edu> Date: Thu, 10 Jun 1993 06:55:41 GMT In article <C8D880.4sB.1@cs.cmu.edu> wlee@fechner.SPEECH.CS.CMU.EDU (Wonseok Lee) writes: >Thanks for all those who responded kindly but I was hoping to >avoid Command key combinations. If using "setKeyEquivalent" is >the only way, is there a way to fool the application into >thinking Command key is down? Not necessary. Just make sure the Button is in a Panel (rather than a Window). (Note that you can set key equivalents in IB; you don't need to use setKeyEquivalent: unless you're allocating Button[Cell]s at runtime.) -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun10.065812.23884@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun9.170025.833@afs.com> <1993Jun10.003336.24473@leland.Stanford.EDU> Date: Thu, 10 Jun 1993 06:58:12 GMT No bowling ball? :-) -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Scrollview subclass vs NXBrowser? Message-ID: <1993Jun10.071157.24676@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1v5n0r$3hm@steffi.demon.co.uk> Date: Thu, 10 Jun 1993 07:11:57 GMT In article <1v5n0r$3hm@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: >When is it appropriate to use a Scrollview subclass rather than an >NXBrowser to display non heirarchial data?. In particular when using >the DBKit?, but should it really matter what I'm using? [Are you asking about selection lists?] There's some discussion in the UI Guidelines about this. >Obviously, (Hi Dave G.) a Matrix subclass is easier to control and extend. You end up using a Matrix (or Matrix subclass) either way. -=EPS=-
Newsgroups: comp.sys.next.programmer From: walters@id.com (Chris Walters) Subject: Re: existential question (Joke) In-Reply-To: yanik@planon.qc.ca's message of 8 Jun 93 16: 02:07 GMT Message-ID: <WALTERS.93Jun10003459@corndog.id.com> Sender: walters@corndog.id.com (Chris Walters) Organization: Intrinsic Development Corp. References: <1993Jun8.160207.986@CAM.ORG!planon> Date: Thu, 10 Jun 1993 05:34:59 GMT In article <1993Jun8.160207.986@CAM.ORG!planon> yanik@planon.qc.ca (Yanik Crepeau) writes: Should NeXT change IB to use cube instead of spheres? Should NeXT marketing dept. use spheres instead of cubes? No, the cube is dead. How about slabs? -- Chris -- Chris Walters 10600 Arrowhead Dr., Suite 350 RDR, Inc. Oakton, VA 22030 walters@rdr.com (703)591-8713,(703)273-8170 FAX ------------------------- Hack Naked --------------------------
From: mcconnap@NeXTwork.Rose-Hulman.Edu (Andy McConnell) Newsgroups: comp.sys.next.programmer Subject: NXColor use changed from 3.0 to 3.1 - help needed! Date: 10 Jun 1993 13:54:18 GMT Organization: News Service at Rose-Hulman Message-ID: <1v7eeaINN27u@master.cs.rose-hulman.edu> Keywords: NXColor conversion NS3.1 I have found that one of my 2.1 applications which uses NXColor works fine in NS3.0, but hangs in 3.1. I've tracked the problem down to NXSetColor(), which makes calls to different functions, depending on the version of the operating system, for the same compiled code! Forgive me if this is an old subject, but I am relatively new to NS3.1. I am using an old .nib section (likely my greatest error!) in which I have a subclass of Control which stores its own colors. In the .nib section, the colors are stored using the 8 longwords we're all used to in 2.x. It seems as though NS 3.1 converts or casts (?) this struct to the new NXColor, which stores 8 shorts and a string. The 7th and 8th old longwords are cast to a pointer. Under 2.1, these last two numbers are 0 and 1, respectively. When the conversion gets made, the pointer takes on the value 0x1, Address out of bounds. NS3.1 uses this string pointer to index colors, I beleive, only if it is not nil. Looking at the same app in 3.0, this approach is not used, and familiar RGB or CMY functions get used. A fellow developer of mine finds that HIS 2.1 application works fine on 3.1, without recompliling. Trying to discover why, his colors are stored in the 2.1 struct (8 longs), but the last two elements are both 0. When 3.1 attempts to set these colors, it finds the "string" pointer nil, and resorts to older, RGB or CMY functions to set the color. His works fine! I am looking for a simple solution to my problem. I would like to convert the .nib section to 3.1, but it uses some pretty complex palettes and inspectors from 2.1 which are (for me) a real difficulty. If there is a possible and reasonable means to convert .nibs and palettes from 2.1 to 3.0, I would dearly love to hear about it! Thank you for your consideration (and taking the time to read!) andy -- Andy McConnell mcconnap@nextwork.rose-hulman.edu (812) - 877 - 8809 Fluid Science Learning Center Developer Rose-Hulman Institute Of Technology Class of 1993 - CS BS - RA - AFROTC - AAS - WMHD-FM "The beaurocratic mentality is the only constant in the universe."
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: How do you determine a file's accessibility? Message-ID: <1993Jun10.071909.5422@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Jun9.091259.14282@ac.dal.ca> Date: Thu, 10 Jun 1993 07:19:09 GMT In article <1993Jun9.091259.14282@ac.dal.ca> lisag@ac.dal.ca writes: > Hi. I'm wondering if there is a method that can test the > type of access a file has when you open it. I want to set up a > warning panel for when read-only ata files are opened. > THANKS int access(const char *path, int mode); Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun10.072752.5532@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Jun9.170025.833@afs.com> Date: Thu, 10 Jun 1993 07:27:52 GMT In article <1993Jun9.170025.833@afs.com> jon@afs.com writes: > What's in the NEXTSTEP DEVELOPER Box?? Is it just air? Is > there a CD-ROM bouncing around in it? Is there a little > effigy of Bill Gates? It's an awfully large box for a CD > (and people complained about the cd long box!) Inquiring > minds want to know... One CD-ROM, but it's quite full of printed documentation. Quite a reach, huh? Has anybody ever bothered to ask what's in a Borland C++ box? It looks to me to have even more volume...and it's full of printed documentation too. Go figure! :-) By the way, my hat's off to all those that wandered around the Expo carrying the NEXTSTEP Developer boxes. They weigh a ton! Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: If DBKit is so great why then..... Date: 10 Jun 1993 14:25:43 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1v7coo$ik@steffi.demon.co.uk> Why can't the NeXT developer support people create DBKit examples that are server independant? Even if it means producing a completely new datamodel other than pubs in Sybase or demo in ORACLE Does anybody know how this in 3.1? At least in 3.0 all of the miniExamples (except AddressBook) are for ORACLE only. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Distributed Objects questions Organization: Primitive Software Ltd. References: <1v5q8f$l5c@transfer.stratus.com> <1v618d$6j3@news.aero.org> Date: Thu, 10 Jun 1993 11:55:10 +0000 Message-ID: <1993Jun10.115510.3178@prim> Sender: usenet@demon.co.uk In article <1v618d$6j3@news.aero.org> strauss@aero.org (Daryll J. Strauss) writes: >A more object oriented solution would be to write code that maps your >complex data structure onto a set of different objects. You would >probably have simple objects for the various kinds of records and use >List objects for the sets of responses. Then you could use the normal >distributed object methods to write the objects through the connection. >You might want the objects to be passed along as proxies or you might >want them to make copies as they are sent depending on your applicaiton. Another tip is that if you do make copies, the classes on the server and client side must both have the same name, but they don't have to contain the same code! I find this sneaky trick useful. Sometimes you want a combination of copy and proxy, with some of the object data copied across for efficiency reasons, but still maintaining the ability to talk to the server object (this is accomplished by encoding a pointer to "self"). BTW, there should be some mechanism for conditional encoding when copying objects across. I can only accomplish this at present by setting flags in some controller object that are then queried by the objects that are copying themselves. It would be nice if NXEncoding would ket you set a delegate. I'm thinking particuarly of cases where you return an object that is the root of a heirarchy of objects. The root object could set the stream delegate and the objects further down the chain could interrogate it. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: How to make button to respond to keybrd...Again Organization: Primitive Software Ltd. References: <C8D880.4sB.1@cs.cmu.edu> <1993Jun10.065541.23713@csus.edu> Date: Thu, 10 Jun 1993 11:33:16 +0000 Message-ID: <1993Jun10.113316.3113@prim> Sender: usenet@demon.co.uk In article <1993Jun10.065541.23713@csus.edu> eps@cs.sfsu.edu writes: >In article <C8D880.4sB.1@cs.cmu.edu> > wlee@fechner.SPEECH.CS.CMU.EDU (Wonseok Lee) writes: >>Thanks for all those who responded kindly but I was hoping to >>avoid Command key combinations. If using "setKeyEquivalent" is >>the only way, is there a way to fool the application into >>thinking Command key is down? > >Not necessary. Just make sure the Button is in a Panel (rather >than a Window). (Note that you can set key equivalents in IB; >you don't need to use setKeyEquivalent: unless you're allocating >Button[Cell]s at runtime.) I'd just like to make my periodic request for NeXT to provide some sort of mechanism for third-party applications/filters to intercept events (particuarly keyboard events) before they reach the destination app. Or a standard bundle that every application loads that does this. If such a facility existed it would be easy to "fool the application" and all sorts of useful keyboard macros could be devised. (If you think TickleServices is useful, you ain't seen nothin' yet!). A standard mechanism for passing events to another application would be nice too. Thank you. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Protocol Question Message-ID: <10JUN93.15550989@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Thu, 10 Jun 1993 20:55:09 GMT I have a bit of code that works perfectly. I use several of the method calls for the NXDragging... protocols. Yesterday I decided that it might be a good idea to add the <NXDraggingDestination> postfix to the @interface line of my source code... wrong! The compiler freaks and says it can't find the protocol description. Naturally I think it's silly that I can use the protocol methods without having the protocol declared in my header.... I realize that this is a tad retentive, but I would like to know if something is wrong with the way I am looking at protocols. Thanks, Kevin
Newsgroups: comp.sys.next.programmer From: anderson (Ken Anderson) Subject: Re: making a pull-down list?? Message-ID: <1993Jun10.151343.6077@biztech.com> Sender: news@biztech.com Organization: Biztech, Inc. References: <1993Jun9.095746.4784@vax1.mankato.msus.edu> Date: Thu, 10 Jun 1993 15:13:43 GMT In article <1993Jun9.095746.4784@vax1.mankato.msus.edu> kickstart@vax1.mankato.msus.edu writes: How the heck do you implement a pull-down list? I have the "development tool" and "obj-c" books from the NS library and Garfinkle/Mahoney book and none of them even mentions anything about how a pull-down list is implemented other than the advice that they "usually aren't necessary..." The Pop-up list has an inspector that allows you to turn it into a pull-down list. The Pop-up is the one that says "Item 1" on it. Ken Anderson anderson@biztech.com Stamford, CT
Newsgroups: comp.sys.next.programmer From: anderson (Ken Anderson) Subject: Re: Threads, and etc... Message-ID: <1993Jun10.152653.6137@biztech.com> Sender: news@biztech.com Organization: Biztech, Inc. References: <9JUN93.16134945@enh.nist.gov> Date: Thu, 10 Jun 1993 15:26:53 GMT In article <9JUN93.16134945@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: As a former DOS programmer, you will have to forgive me my ignorance of how to use threads, etc... I have a program now that runs an analysis. This analysis can take lots of time (like two hours), and it would be nice if the application could be used for other things while it is running. I am assuming that by using threads, I could do just this... the question is: what is the easiest way for me to go about doing this. I don't want to get involved in a long ordeal of dealing with low level system stuff, I just want it to work! Kevin, There are a number of caveats regarding multi-threaded programs. To start, you should look at OperatingSystem/Part1_Mach/04_MachFunctions in the NextDev directory of your documentation. Things to be careful about: Objective-C is not inherently multithreaded. You must tell it to be so by calling objc_setMultithreaded(YES). The appkit is not thread-safe. If you plan on making calls to the appkit, you might wrap them with mutex locks. You cannot interact with the user in any other thread but the main thread. Since event messages are received by the main thread, you have to work out some kind of internal communications with the subordinate threads. A number of people have implemented a mach message based system that allows them to send on objective-C message to an object and have it 'pop out' in another thread. We can talk more through e-mail if you like... Ken Anderson anderson@biztech.com Stamford, CT
Newsgroups: comp.sys.next.programmer From: kjell@oops.se (Kjell Nilsson) Subject: Re: existential question (Joke) Message-ID: <1993Jun10.184316.3388@oops.se> Sender: kjell@oops.se Organization: OOPSart - ObjectWareHouse References: <WALTERS.93Jun10003459@corndog.id.com> Date: Thu, 10 Jun 1993 18:43:16 GMT In article <WALTERS.93Jun10003459@corndog.id.com> walters@id.com (Chris Walters) writes: > In article <1993Jun8.160207.986@CAM.ORG!planon> yanik@planon.qc.ca (Yanik Crepeau) writes: > > Should NeXT change IB to use cube instead of spheres? > Should NeXT marketing dept. use spheres instead of cubes? > > No, the cube is dead. How about slabs? I vote for slabs! But what about color? White or black? -- Kjell Nilsson |"Not to identify oneself with something, or to Clown-at-Circus |associate things with "me", and to see that the OOPS - ObjectWareHouse |idea that there is a "me" which is distinct kjell@oops.se |from things is a delusion - that is true wisdom" (I love NeXTMail) |- Tsai Chih Chung
From: dstrout@sun.rest.tasc.com. (Dave Strout) Newsgroups: comp.sys.next.programmer Subject: #pragma to prevent "defined but not used" message? Date: 9 Jun 1993 12:37:32 GMT Organization: TASC Distribution: usa Message-ID: <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> I tend to put static char rcsid[] = "$Header: $; at the top of all my .m files. That way I can ident(1) an app and see the version numbers of each object in it. But the compiler always bitches about 'rcsid' defined but not used. Is there a pragma (or a different way of doing it) that will make the compiler shut up? I want to keep -Wall in my makefile, BTW. Thanks, dave. -- Dave Strout dstrout@sun.rest.tasc.com Thompson's Rule for First Time Telescope Makers: It's easier to make a 4 inch mirror then a 6 inch mirror than it is to make a 6 inch mirror. /* Opinions expressed are not the official position of TASC. */
Newsgroups: comp.sys.next.programmer From: orion@proxima.cc.colorado.edu (Orion Edward Poplawski) Subject: DSP/snddriver problem Message-ID: <C8F6p8.L67@csn.org> Keywords: dsp,snddriver,sound Sender: news@csn.org (The Daily Planet) Organization: Colorado SuperNet, Inc. Date: Thu, 10 Jun 1993 19:12:43 GMT To anyone who might be able to help: I have a strange snddriver/DSP problem. I am writing a program that does equalization of soundfiles via the DSP. I have two "modes": "realtime" and "non-realtime". In realtime mode, the equalization is done as the sound is playing, allowing for realtime manipulation of the equalization parameters. In "non-realtime" mode, the sound is equalized and the sent back to the host, and then sent to the speaker, so that the equalized sound can be obatained. My problem is that I can switch from non-realtime mode to realtime mode, but not vice versa. When I switch into non-realtime mode from realtime mode, I no longer receive the recorded_data message from the sound driver. However, the data is there in the buffer (as can be checked with the AWAIT stream command). I just no longer get the recorded message. The only relevant thing I have noticed, is that in realtime mode, I use the connected stream from the DSP to SNDOUT, and that enables simple DMA DSP protocol, which is not used when I just have input and output streams as in non-realtime mode. Although I reset the DSP protocol with the set DSP protocal function, is it possible that something isn't gettting reset? If so, am I cursed with a snddriver bug? -- Orion Poplawski Physics Dept. Paraprofessional The Colorado College orion@proxima.cc.colorado.edu (NeXT mail OK) (719)389-6750
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun10.173309.666@afs.com> Sender: jon@afs.com References: <1993Jun10.072752.5532@metrosoft.com> Date: Thu, 10 Jun 1993 17:33:09 GMT In article <1993Jun10.072752.5532@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: | In article <1993Jun9.170025.833@afs.com> jon@afs.com writes: | > What's in the NEXTSTEP DEVELOPER Box?? Is it just air? Is | > there a CD-ROM bouncing around in it? Is there a little | > effigy of Bill Gates? It's an awfully large box for a CD | > (and people complained about the cd long box!) Inquiring | > minds want to know... | | One CD-ROM, but it's quite full of printed | documentation. Quite a reach, huh? It really hadn't occurred to me that they'd bundle the printed docs. They never did before. They're on disk- why kill a tree? But then again, for $1995, they'd better include docs. I suppose m68k users won't be so lucky. Just curious, anyway. -- Jonathan W. Hendry jon@afs.com (usual disclaimers here)
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Open/Save panel hassles Message-ID: <10JUN93.19523436@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Fri, 11 Jun 1993 00:52:34 GMT I would like to have an open panel which has another button asociated with it: A "Create New Data File" button. I know I can do this by adding an accesory view. I can also cause a certain value to be returned to the runModal... stuff in OpenPanel (i.e. instructing my app to create a new file). The problem I have, is how do I tell whether the user used cancel or OK??? Actually, I would like to just implement the cancel and OK buttons myself. Is there a way of getting rid of them in the OpenPanel? perhaps by using the defined tags, or ??? the tags I am refering to are documented on page 2-1033 under Panel Button Tags, and 2-1031 under Open Panel Tag Constants. Any suggestions or comments would be a great deal of help. Kevin
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: DPS Context Date: 10 Jun 1993 20:02:09 GMT Organization: University of Michigan EECS Dept. Message-ID: <1v8401$g06@zip.eecs.umich.edu> Keywords: Context Hi all, A newcomer to the NeXT programming, I am experimenting with DPS context. In my simple program below, I create two new contexts, childContext and secondChildContext and chain them to appContext, which has been initialized to [NXApp context] in appDidInit. When executed, three windows pop up. However, when I click in any of the windows in the childContexts and secondChildContexts, the window title bars change to gray, and the cursor changes to the spinning wheel. I've been tracing events, and it seems that when I click in one of these windows, the applicatioin receives the "Kitdefined" event, which I am not exactly sure what it is. Furthermore, when I click in the view area of the window in appContext, the cursor remains as the spinning wheel. However, if I click in the title bar area of the window in appContext, the cursor changes back to the arrow, and everything changes back to what it was before. Does any of you know what's happening here and why? Is there any way I can catch events in the windows in childContext and secondChildContext? Thanks --Hyong Sop Shim /************************************************************************/ - createChildContext:sender { int winCount; int i; childContext = DPSCreateContext (NXGetDefaultValue([NXApp appName], "NXHost"), NXGetDefaultValue([NXApp appName], "NXPSName"), NULL, NULL); DPSSetContext (appContext); secondChildContext = DPSCreateContext (NXGetDefaultValue([NXApp appName], "NXHost"), NXGetDefaultValue([NXApp appName], "NXPSName"), NULL, NULL); DPSSetContext (appContext); DPSChainContext (appContext, childContext); DPSChainContext (childContext, secondChildContext); /* pop up an auxiliary window first in the current context */ if (![NXApp loadNibSection:"auxWindow.nib" owner:self withNames:NO]) { return nil; } [win makeKeyAndOrderFront:nil]; DPSSetContext (childContext); [win moveTo:30:30]; DPSSetContext (secondChildContext); [win moveTo:530:530]; DPSSetContext (appContext); DPSSynchronizeContext (DPS_ALLCONTEXTS, YES); DPSTraceEvents (DPS_ALLCONTEXTS, YES); for (i = 0, winCount = 0; i < [[NXApp windowList] count]; i++) { id currentWin = [[NXApp windowList] objectAt:i]; id winDelegate = [currentWin delegate]; if ([winDelegate isKindOf:[ContextController class]]) { winCount++; } } printf ("The number of important window is %d\n", winCount); return self; } /************************************************************************/ P.S I can move these windows around independently of each other.
From: besler@gdss.commerce.ubc.ca (Steven Besler) Newsgroups: comp.sys.next.programmer Subject: Re: Threads, and etc... Date: 10 Jun 1993 20:45:30 GMT Organization: The University of British Columbia Distribution: world Message-ID: <1v86haINN41g@iskut.ucs.ubc.ca> References: <1993Jun10.152653.6137@biztech.com> Ken Anderson writes @In article <9JUN93.16134945@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML @Miami, FL) writes: @As a former DOS programmer, you will have to forgive me my ignorance @of how to use threads, etc... [munch] @Kevin, @ @ There are a number of caveats regarding @multi-threaded programs. To start, you should look at @OperatingSystem/Part1_Mach/04_MachFunctions [munch] @Since event messages are received by the main thread, you have to @work out some kind of internal communications with the subordinate @threads. A number of people have implemented a mach message based ^^^^^^^^^^^^^^^^^^^^^^^^^^ @system that allows them to send on objective-C message to an object @and have it 'pop out' in another thread. @ @We can talk more through e-mail if you like... @ @Ken Anderson @anderson@biztech.com @Stamford, CT Why not just use Distributed Objects? According to "Concepts/Objective-C.rtfd" DO works between objects in different address spaces, different tasks, and different threads of the same task. Maybe I'm missing something.. Cheers, Steve. -- Steven K. Besler <besler@gdss.commerce.ubc.ca> (NeXTmail) UBC 3.5th yr CS Coop Student & NeXTSTEP Application Developer "Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful . . . that's what matters to me." Steven P. Jobs CEO of NeXT, Inc.
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: Help: HDF files and the NeXTstep Message-ID: <1993Jun10.163057.14309@ac.dal.ca> Date: 10 Jun 93 19:30:57 GMT Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hi, If anyone has experience with hhandlind HDF files in the NeXTstep environment..please e-mail me at lisag@ac.dal.ca Anthony Grandy Burchill Communication Research Group
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTSTEP Developer Boxes Date: 10 Jun 1993 21:41:28 GMT Organization: The Aerospace Corporation Message-ID: <1v89q8$8i@news.aero.org> References: <1993Jun10.072752.5532@metrosoft.com> <1993Jun10.173309.666@afs.com> In article <1993Jun10.173309.666@afs.com> jon@afs.com writes: > >It really hadn't occurred to me that they'd bundle the printed docs. They >never did before. They're on disk- why kill a tree? But then again, for >$1995, they'd better include docs. I suppose m68k users won't be so lucky. Actually the $99 upgrade price DOES include the documentation. I asked them about it when I ordered my upgrade. In fact it is the exactly same box as the NS/FIP. If they ship when they said they would I should have mine by the end of next week or early the week after. (Yaaa!) - |Daryll
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: Threads, and etc... Message-ID: <68372@mimsy.umd.edu> Date: 10 Jun 93 21:30:21 GMT References: <9JUN93.16134945@enh.nist.gov> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 In article <9JUN93.16134945@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: > analysis can take lots of time (like two hours), and it would be nice if the > application could be used for other things while it is running. I am assuming > that by using threads, I could do just this... you assume correct > what is the easiest way for me to go about doing this. I don't want to get involved in a > long ordeal of dealing with low level system stuff, I just want it to work! you can start by building and examining the SortingInAction example distributed with NEXTSTEP. Be sure to read the comments in the file. You need to make use of the cthreads package. Documentation is in the OS section of the manual, /NextLibrary/Documentation/NextDev/OSSoftware/* Not everything is reentrant, so you cant have multiple threads using the appkit for example. There are other restrictions, so you may have to synchronize the threads somehow if they plan to write to the same file for example. some details are in the manual section above. you can also try Distributed objects if you are on a network, but thats another thread :) -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
From: ctm@ardi.com Newsgroups: comp.sys.next.programmer Subject: Re: #pragma to prevent "defined but not used" message? Message-ID: <C8F6r4.6ED@cobra.cs.unm.edu> Date: 10 Jun 93 19:14:05 GMT Article-I.D.: cobra.C8F6r4.6ED References: <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> Sender: news@cobra.cs.unm.edu Distribution: usa Organization: ARDI In article <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> dstrout@sun.rest.tasc.com writes: > >I tend to put static char rcsid[] = "$Header: $; >at the top of all my .m files. That way I can ident(1) an app and see the >version numbers of each object in it. But the compiler always bitches >about 'rcsid' defined but not used. Is there a pragma (or a different way >of doing it) that will make the compiler shut up? I want to keep -Wall in >my makefile, BTW. I ran into the same problem and solved it by getting read of the "static" keyword and appending _filename (where filename is the base name of the file that contains the rcsid). That will probably give you the effect that you want. --Cliff ctm@ardi.com p.s. both RCS and -Wall have saved my butt many a day.
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTSTEP Developer Boxes Date: 10 Jun 1993 22:32:31 GMT Organization: The Aerospace Corporation Message-ID: <1v8cpv$2mv@news.aero.org> References: <1993Jun10.072752.5532@metrosoft.com> <1993Jun10.173309.666@afs.com> <1v89q8$8i@news.aero.org> In article <1v89q8$8i@news.aero.org> strauss@aero.org (Daryll J. Strauss) writes: >In article <1993Jun10.173309.666@afs.com> jon@afs.com writes: >> >>It really hadn't occurred to me that they'd bundle the printed docs. They >>never did before. They're on disk- why kill a tree? But then again, for >>$1995, they'd better include docs. I suppose m68k users won't be so lucky. > [ Some incorrect stuff ] Hmm. The order person was confused and I was corrected by NeXT. The $99 does not include the Addison Wesley documentation. Oh well. - |Daryll
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1v89q8$8i@news.aero.org> Control: cancel <1v89q8$8i@news.aero.org> Date: 10 Jun 1993 22:32:42 GMT Organization: The Aerospace Corporation Message-ID: <1v8cqa$2n3@news.aero.org> References: <1993Jun10.072752.5532@metrosoft.com> <1993Jun10.173309.666@afs.com> <1v89q8$8i@news.aero.org> Originator: strauss@armadillo.aero.org <1v89q8$8i@news.aero.org> was cancelled from within rn.
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: DPS Context Message-ID: <1993Jun10.222948.8646@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1v8401$g06@zip.eecs.umich.edu> Date: Thu, 10 Jun 1993 22:29:48 GMT Hyong S. Shim writes > A newcomer to the NeXT programming, I am experimenting with DPS > context. In my simple program below, I create two new contexts, > childContext and secondChildContext and chain them to appContext, > which has been initialized to [NXApp context] in appDidInit. > When executed, three windows pop up. However, when I click in > any of the windows in the childContexts and secondChildContexts, > the window title bars change to gray, and the cursor changes > to the spinning wheel. I've been tracing events, and it seems > that when I click in one of these windows, the applicatioin > receives the "Kitdefined" event, which I am not exactly sure > what it is. Furthermore, when I click in the view area of the > window in appContext, the cursor remains as the spinning wheel. > However, if I click in the title bar area of the window in > appContext, the cursor changes back to the arrow, and everything > changes back to what it was before. > Does any of you know what's happening here and why? Is there any > way I can catch events in the windows in childContext and > secondChildContext? Chained contexts are a neat trick when executing windowing operators, huh? But - what's happening here is that a chain is exactly that - a one-way chain. Events don't get flowed backwards through the chain, and so the appContext never sees the event. But the appkit knows it sent the event to the windows context, and so it thinks the application recieved it. So it expects the application to exit the event loop - which it doesnt do - so it assumes the application is busy and puts up the wait cursor. Now, working around this is a little tricky. You're going to have to manually cpature the events from the two chained contexts by setting up event handlers for them in the client library - and then manually stick them in the event queue for your main appContext. See DPSSetEventFunc and DPSPostEvent in "ClientLibFuncs" in General Reference of the Librarian. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: tmaas@rchland.vnet.ibm.com (Tony Maas) Subject: Re: NeXTSTEP Developer Boxes Sender: news@rchland.ibm.com Message-ID: <1993Jun10.221213.35731@rchland.ibm.com> Date: Thu, 10 Jun 1993 22:12:13 GMT Disclaimer: This posting represents the poster's views, not necessarily those of IBM References: <1993Jun10.072752.5532@metrosoft.com> <1993Jun10.173309.666@afs.com> Organization: IBM Rochester In article <1993Jun10.173309.666@afs.com>, jon@afs.com writes: |> It really hadn't occurred to me that they'd bundle the printed docs. They |> never did before. They're on disk- why kill a tree? But then again, for |> $1995, they'd better include docs. I suppose m68k users won't be so lucky. |> Actually, I just ordered the $174 developer upgrade to 3.1 from 3.0, and it includes all the printed docs, plus a CD-ROM with about 40 demo apps on it. :) I feel lucky. -- Tony Maas IBM Rochester, MN tmaas@rchland.vnet.ibm.com
From: strauss@aero.org (Daryll J. Strauss) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1v8cpv$2mv@news.aero.org> Control: cancel <1v8cpv$2mv@news.aero.org> Date: 10 Jun 1993 23:09:34 GMT Organization: The Aerospace Corporation Message-ID: <1v8eve$54k@news.aero.org> References: <1993Jun10.173309.666@afs.com> <1v89q8$8i@news.aero.org> <1v8cpv$2mv@news.aero.org> Originator: strauss@armadillo.aero.org <1v8cpv$2mv@news.aero.org> was cancelled from within rn.
From: jimc@tau-ceti.isc-br.com (Jim Cathey) Newsgroups: comp.sys.next.programmer Subject: Re: Threads, and etc... Message-ID: <3584@tau-ceti.isc-br.com> Date: 10 Jun 93 20:10:33 GMT References: <9JUN93.16134945@enh.nist.gov> Organization: Olivetti North America, Spokane, WA In article <9JUN93.16134945@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: >As a former DOS programmer, you will have to forgive me my ignorance of how >to use threads, etc... I have a program now that runs an analysis. This >analysis can take lots of time (like two hours), and it would be nice if the >application could be used for other things while it is running. I am assuming >that by using threads, I could do just this... the question is: what is the >easiest way for me to go about doing this. I don't want to get involved in a >long ordeal of dealing with low level system stuff, I just want it to work! Hell, if there's not a lot of complexity involved in getting the answer back from the analysis, you could just use fork! Threads are harder to use, but offer a lot of interaction between the foreground and background 'processes' (so to speak). In our SysV-oid environment (threadless) I can get a lot done with just fork() and pipe(), along with asynchronous reads/writes of the pipe (not standard SysV). Usually I just pound structures through the pipe --- saves a lot of parsing logic. -- +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ One Design to rule them all; one Design to find them. One Design to bring them all and in the darkness bind them. In the land of Mediocrity where the PC's lie.
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: NeXT sockets Message-ID: <1993Jun9.101125.865@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <1993Jun7.151529.550@ctp.com> Date: Wed, 9 Jun 1993 10:11:25 GMT In article <1993Jun7.151529.550@ctp.com> gseng@ctp.com (Greg Sengle) writes: > about, could someone tell me if the implementation of sockets, or the > interface, or whatever is somehow non-standard on the NeXT? > > These programs seem to work fine under ultrix for example. > NeXT sockets work just fine. Perhabs the problem is ultrix ? -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: #pragma to prevent "defined but not used" message? Message-ID: <1993Jun10.194820.24282@fnbc.com> Keywords: hack,kludge Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> Distribution: usa Date: Thu, 10 Jun 93 19:48:20 GMT In article <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> dstrout@sun.rest.tasc.com. (Dave Strout) writes: > > I tend to put static char rcsid[] = "$Header: $; > at the top of all my .m files. That way I can ident(1) an app and see the > version numbers of each object in it. But the compiler always bitches > about 'rcsid' defined but not used. Is there a pragma (or a different way > of doing it) that will make the compiler shut up? I want to keep -Wall in > my makefile, BTW. > > Thanks, We use this method to remove the warnings: static char *ident = "$Id$"; static int __hack(int x){if(x)return x;else return __hack((int)*ident);} Not very clean or good looking, but it works. > dave. > -- > Dave Strout dstrout@sun.rest.tasc.com > Thompson's Rule for First Time Telescope Makers: > It's easier to make a 4 inch mirror then a 6 inch mirror > than it is to make a 6 inch mirror. > /* Opinions expressed are not the official position of TASC. */ -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: yanik@planon.qc.ca (Yanik Crepeau) Newsgroups: comp.sys.next.programmer,comp.databases.informix,comp.databases.oracle Subject: Re: If DBKit is so great why then..... Keywords: SQL rdbms Message-ID: <1993Jun10.221418.2267@CAM.ORG!planon> Date: 10 Jun 93 22:14:18 GMT References: <1v7coo$ik@steffi.demon.co.uk> Sender: yanik@CAM.ORG!planon In article <1v7coo$ik@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: | Why can't the NeXT developer support people create DBKit examples that | are server independant? Even if it means producing a completely new | datamodel other than pubs in Sybase or demo in ORACLE | With Larry Ellison, CEO of Oracle, now on the board of NeXT, you can imagine that the rdbms of predilection will be Oracle. After I have launched a discussion about Informix (which won't port its product on NS/FIP), I have learned that SYBASE won't port its product either. Ingres droped its NeXTSTEP developpment long time ago. Oracle remains the only "big name" in the SQL business for NeXTSTEP. With Oracle, "big name" means big money more than any other rdbms company. I have purshased a developper package at Mac World Expo in August 1989 for $99. That package was full of bugs. The only way to fix the bugs was to buy an upgrade for $600. We purshased it in January 1990. The bug we wanted fixed the most was present in the upgraded version. The only answer we had from Oracle was to wait for the next upgrade. In March 1990 the upgrade was ready for another $1200 without any assurance that the bug was fixed. I am a programmer not a casino gambler. An Oracle representative told me that unless we generate at least $50000 of revenue per year and we spent at least $5000 per year ourself for support, training and developpment tools, they are not interested to do business with us. He also added that the $99 promotion for the Macintosh Developpers Oracle package was intented to be a teaser for their current customers like Hydro Quebec (which spend thousands of dollars each year) and NOT to get new developpers or customers. Before you order any Oracle product, ask Oracle if they are interested to have you as customer. Tell them how much you plan to spend in Oracle products each year and demand them if they can fit in your budget. -- Yanik Crepeau Programmer Planon Telexpertise E-Mail: yanik@planon.qc.ca (NeXT)
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: How to make button to respond to keybrd...Again Date: Thu, 10 Jun 1993 23:15:08 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <Ig5zWwG00WA707e0oK@andrew.cmu.edu> In-Reply-To: <C8D880.4sB.1@cs.cmu.edu> Tie in and use the Responder Chain. There's a really nice discussion of this in "NextStep Programming Step One: Object Oriented Applications" by Simson Garfinkel and Michael Mahoney. Look at chapter 8. (Particularly page 237.) Basically, subclass the Window and add a method -keyDown:(NXEvent *)theEvent. -David.
From: sspicy@stein.u.washington.edu (Misha) Newsgroups: comp.sys.next.programmer Subject: SOund Date: 11 Jun 1993 03:42:46 GMT Organization: University of Washington Message-ID: <1v8uvmINN2o2@news.u.washington.edu> Summary: sound Keywords: sound Does anybody know how to play codec sounds directly from the mic. input to the sndout? Or better, yet, play the incoming CODEC stream from DSP, or if you want me to get more specific, play the incoming message from the Hayes ISDN extener straight through the internal speaker? _________________________________________________________________ Paget Press, Inc. 2125 Western Avenue, Suite 300 Seattle, WA 98121 Phone: (206)-448.0845 Fax: (206)-448.2350 NeXTMail: Misha_Melikov@paget.com _________________________________________________________________ Misha M. Melikov, Multimedia Development
From: sspicy@stein.u.washington.edu (Misha) Newsgroups: comp.sys.next.programmer Subject: NBIC Date: 11 Jun 1993 03:46:32 GMT Organization: University of Washington Message-ID: <1v8v6oINN2og@news.u.washington.edu> Summary: NBIC Keywords: NBIC I want to appologize for this article, I know that it really belongs to comp.sys.marketplace, but I thought that I would have better luck finding what I need here. And here is what I need: (repost) I am interested in NeXT bus interface docs, as well as specs on NBIC's. If you have a prototyping board, I might want to purchase it too! Misha _________________________________________________________________ Paget Press, Inc. 2125 Western Avenue, Suite 300 Seattle, WA 98121 Phone: (206)-448.0845 Fax: (206)-448.2350 NeXTMail: Misha_Melikov@paget.com _________________________________________________________________ Misha M. Melikov
Newsgroups: comp.sys.next.programmer From: Zacharias J. Beckman <zac@dolphin.com> Subject: Dolphin Announces Dolphin Kit NeXTSTEP Objects [rtf] Message-ID: <1993Jun11.014858.511@dolphin.com> Sender: zac@dolphin.com Organization: Dolphin Software Distribution: usa Date: Fri, 11 Jun 1993 01:48:58 GMT Dolphin Technologies Inc. 10329 Viretta Lane Beverly Glen, CA 90077-2723 800-843-0328 fax 310-441-9041 Press Release Dolphin Technologies Inc. Announces Dolphin Kit NeXTSTEP Object Library June 1, 1993 Dolphin Technologies Inc. announced the availability of the Dolphin Kit NeXTSTEP compatible object library. The kit is a set of objects which run in the NeXTSTEP environment and focus on common functionality that many applications require. The objects expand upon the existing NeXTSTEP API and deliver new objects not formerly available. The Dolphin Kit provides a comprehensive set of tools, classes, and protocols for building applications that use a high-level object oriented approach to many common needs in application development. The kit provides services that include: Simple string and sentence storage and manipulation. Encapsulated use of Mach files and devices (i.e.: flat files). Management of C Threads and multitasking. Extensions to several standard NeXTSTEP API objects. New container classes. Part of the functionality of the Dolphin Kit is a set of tools for building more robust applications. Most applications make use of memory to store strings or other blocks of data. Dolphin's String class can be used to greatly simplify direct use of memory. For example, calls to memory allocation and free functions are encapsulated. By encapsulating the use of memory in a robust library, many problems in the area of memory management and memory overrun are prevented. The Dolphin Kit helps by providing: A String for containment of a block of memory (typically used to store terminated character strings). A Parser to provide greater flexibility in manipulation of character strings. This makes it possible to manipulate such strings without danger of memory overruns and other miscalculations. Classes for the encapsulation of Mach file and device manipulation and use of multitasking via C Threads. Tight integration between the File, Process and String class make an excellent tool for execution and reporting on Mach command line operations. A NodeTree for storage and manipulation of data which can be stored in a tree. Subclasses of List for sorted storage and delegate notification in the event of changes to the container contents. A simple but very handy encapsulation of memory allocation using NXZone's. The Memory object makes using zones and blocks of memory a little bit less tedious, and adds useful methods such as length. C++ class implementations of those classes which benefit most significantly from the use of C++ features such as operator overloading and streams. The Dolphin Kit will be available July 15, 1993, for a purchase price of $149.00 US. For detailed information on the kit, send electronic mail to <info@dolphin.com> or contact Dolphin Technologies Inc. at 10329 Viretta Lane, Beverly Glen, CA 90077. Facsimile can be sent to 310-441-9041 and voice calls are accepted at 800-843-0328. END -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C%<9FYI;"!4:6UE<RU2;VUA;CM<9C!< M9FUO9&5R;B!#;W5R:65R.WT*7&UA<F=L,3(P"EQM87)G<C$R,`I[7&-O;&]R M=&)L.UQR960P7&=R965N,%QB;'5E,#M]"GM<<&%R9%QT>#(T.#!<='@R.#8P M7'1X,S(T,%QF,5QB,%QI,%QU;&YO;F5<<7)<9G,R.%QL:3(Q,#!<9F,Q7&-F M,7M<3D='<F%P:&EC,"!38W)E96X@0V]M<&%N>2!,;V=O+G1I9F8*.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]R M(&$@<'5R8VAA<V4@<')I8V4@;V8@)#$T.2XP,"!54RX@($9O<B!D971A:6QE M9"!I;F9O<FUA=&EO;B!O;B!T:&4@:VET+"!S96YD(&5L96-T<F]N:6,@;6%I M;"!T;R`\:6YF;T!D;VQP:&EN+F-O;3X@;W(@8V]N=&%C="!$;VQP:&EN(%1E M8VAN;VQO9VEE<R!);F,N(&%T(#$P,S(Y(%9I<F5T=&$@3&%N92P@0F5V97)L M>2!';&5N+"!#02`Y,#`W-RX@($9A8W-I;6EL92!C86X@8F4@<V5N="!T;R`S M,3`M-#0Q+3DP-#$@86YD('9O:6-E(&-A;&QS(&%R92!A8V-E<'1E9"!A="`X ?,#`M.#0S+3`S,C@N7`I<"@I<<6,@T"!%3D0@T`I]"B!A ` -- Zacharias J. Beckman - Dolphin Technologies Inc. - zac@dolphin.com - NeXTMAIL! To be "matter of fact" about the world is to blunder into fantasy.... and dull fantasy at that, as the real world is strange and wonderful. --- R. A. Heinlen Those opinions I express herein are my own, I'm fairly sure. --- Z. J. Beckman
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: existential question (Joke) Message-ID: <1993Jun10.192052.562@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <WALTERS.93Jun10003459@corndog.id.com> Date: Thu, 10 Jun 1993 19:20:52 GMT In article <WALTERS.93Jun10003459@corndog.id.com> walters@id.com (Chris Walters) writes: > In article <1993Jun8.160207.986@CAM.ORG!planon> yanik@planon.qc.ca (Yanik Crepeau) writes: > > Should NeXT change IB to use cube instead of spheres? > Should NeXT marketing dept. use spheres instead of cubes? > > No, the cube is dead. How about slabs? > -- Chris > Cubes are dead but slabs are alive??? Oh! You must mean those NEC Image series and Intel GX slabs... :-) Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun10.192230.619@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Jun10.065812.23884@csus.edu> Date: Thu, 10 Jun 1993 19:22:30 GMT In article <1993Jun10.065812.23884@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > No bowling ball? :-) Weighs the same, eh? Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer Subject: Re: #pragma to prevent "defined but not used" message? Date: 11 Jun 1993 06:42:14 GMT Organization: University of Maryland, College Park Distribution: usa Message-ID: <1v99g6$ijl@ni.umd.edu> References: <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> <1993Jun10.194820.24282@fnbc.com> Keywords: hack,kludge In article <1993Jun10.194820.24282@fnbc.com> drew@fnbc.com writes: >In article <1v4lic$4f6@voltaire5.aitc.rest.tasc.com> dstrout@sun.rest.tasc.com. >(Dave Strout) writes: >> >> I tend to put static char rcsid[] = "$Header: $; >> at the top of all my .m files. That way I can ident(1) an app and see the >> version numbers of each object in it. But the compiler always bitches >> about 'rcsid' defined but not used. Is there a pragma (or a different way >> of doing it) that will make the compiler shut up? I want to keep -Wall in >> my makefile, BTW. >> >> Thanks, > >We use this method to remove the warnings: > >static char *ident = "$Id$"; >static int __hack(int x){if(x)return x;else return __hack((int)*ident);} Here's pretty much what I use: make a header file, say rcsid.h, and put this in it: #define RCSID(str) __inline__ extern char *____foo___rcsid(const char *foo) { \ static const char rcsid[] = \ str " $Product: PNI " \ "[Copyright (c) 1993 by TransSys, Inc. All rights reserved] $";\ return ____foo___rcsid(rcsid); \ } and then just use: #include "rcsid.h" RCSID("$Header$"); at the top of each file. When you compile this code, you'll find that only the string constant gets generated and the inline function's code is never emitted since the function is never actually used. Of course, this is highly GCC (and ANSI C) specific, but hey, that's what we all use on the NeXT and it seems to work pretty well. This solution works out very well for me since I didn't want all those pesky external symbols hanging around or worrying about using a unique name related to the file for the RCS $Header$ string. It's not real pretty, but it works. Maybe I should apply for a patent :-) Louis Mamakos
From: Eric.P..Scott@f236.n104.z1.FIDONET.ORG (Eric P. Scott) Newsgroups: comp.sys.next.programmer Subject: Re: THREAD SAFETY IN 3.1? Message-ID: <3494.2C179C00@paranet.FIDONET.ORG> Date: 9 Jun 93 20:33:00 GMT Sender: ufgate@paranet.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:104/236 - MacCircles, Genesee CO -- Eric P. Scott - via ParaNet node 1:104/422 UUCP: !scicom!paranet!User_Name INTERNET: Eric.P..Scott@f236.n104.z1.FIDONET.ORG
From: dstrout@sun.rest.tasc.com. (Dave Strout) Newsgroups: comp.sys.next.programmer Subject: Re: #pragma to prevent "defined but not used" message? Date: 11 Jun 1993 12:32:34 GMT Organization: TASC Distribution: usa Message-ID: <1v9u12$e4j@voltaire5.aitc.rest.tasc.com> References: <C8F6r4.6ED@cobra.cs.unm.edu> In article <C8F6r4.6ED@cobra.cs.unm.edu> ctm@ardi.com writes: > I ran into the same problem and solved it by getting read of the static > keyword and appending _filename (where filename is the base name of the > file that contains the rcsid). That will probably give you the effect > that you want. > > --Cliff > ctm@ardi.com > > p.s. both RCS and -Wall have saved my butt many a day. Even better, use: char rcsid__FILE__[] = "$Header: $" That way your emacs macro that inserts it doesn't have to be smart about the file name. Let ANSI do the work! I also got a suggestion by email to do this: (const char *) myVersionControlNumber {return rcsid;} Also a good idea. dave. -- Dave Strout dstrout@sun.rest.tasc.com Thompson's Rule for First Time Telescope Makers: It's easier to make a 4 inch mirror then a 6 inch mirror than it is to make a 6 inch mirror. /* Opinions expressed are not the official position of TASC. */
Newsgroups: comp.sys.next.programmer From: herrick@amd.com (charles) Subject: Re: Protocol Question Message-ID: <1993Jun11.132124.22368@dvorak.amd.com> Followup-To: charles.herrick@amd.com Keywords: NXDraggingProtocol Sender: chuck herrick Organization: I speak only for myself References: <10JUN93.15550989@enh.nist.gov> Date: Fri, 11 Jun 93 13:21:24 GMT In article <10JUN93.15550989@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: >I have a bit of code that works perfectly. I use several of the method >calls for the NXDragging... protocols. Yesterday I decided that it might >be a good idea to add the <NXDraggingDestination> postfix to the @interface >line of my source code... wrong! The compiler freaks and says it can't >find the protocol description. Naturally I think it's silly that I can >use the protocol methods without having the protocol declared in my >header.... I realize that this is a tad retentive, but I would like to >know if something is wrong with the way I am looking at protocols. I had the same experience. The NXDraggingDesination protocols (I'm ranting from memory, I don't have a NeXT here at the moment) is an INFORMAL PROTOCOL. If you read the docs on Protocols, you'll see that only the FORMAL PROTOCOLs should be declared in your code. Here's what I did: I put the declaration in the code and commented it out, i.e. //<NXDraggingProtocol> This gives us anal types the self-documentation we cherish while not inducing compiler shock. Cheers, Chuck Herrick <charles.herrick@amd.com> -- Chuck Herrick <charles.herrick@amd.com> (512) 462-6248 (w) (512) 462-4812 (FAX) (512) 480-0757 (h) PO Box 18804 Austin, TX 78760-8804
From: fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: Seeking 2.1 code for subclassing Cell and Control Date: 11 Jun 1993 13:54:51 GMT Organization: News Service at Rose-Hulman Message-ID: <1va2rbINN93m@master.cs.rose-hulman.edu> Subject says most of it. I am trying to subclass SliderCell and Slider to make a new slider. The documentation is of little help. I can't anything obvious on the archives (sonata), and the NextDeveloper/Examples don't seem to use subclasses of cell/control (except perhaps Draw and I don't want to thrash through that). If anyone has any code and/or clues on the matter, they would be greatly appreciated. -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "Don't ever put your brain on a runaway train 'cause it won't be coming back!" - Mad At The World.
From: dstrout@sun.rest.tasc.com. (Dave Strout) Newsgroups: comp.sys.next.programmer Subject: Re: #pragma to prevent "defined but not used" message? Date: 11 Jun 1993 13:30:39 GMT Organization: TASC Distribution: usa Message-ID: <1va1dv$e9q@voltaire5.aitc.rest.tasc.com> References: <1v9u12$e4j@voltaire5.aitc.rest.tasc.com> In article <1v9u12$e4j@voltaire5.aitc.rest.tasc.com> dstrout@sun.rest.tasc.com. (Dave Strout) writes: > > Even better, use: > > char rcsid__FILE__[] = "$Header: $" > Ooopppsss. That doesn't work. _Never_ post without thinking...... <#include sheepish.grin> dave. -- Dave Strout dstrout@sun.rest.tasc.com Thompson's Rule for First Time Telescope Makers: It's easier to make a 4 inch mirror then a 6 inch mirror than it is to make a 6 inch mirror. /* Opinions expressed are not the official position of TASC. */
Message-ID: <9j$@byu.edu> Date: Mon, 7 Jun 93 08:53:06 MDT From: yackd@alaska.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world References: <4JUN93.19483392@enh.nist.gov> Organization: Brigham Young University, Provo UT USA Subject: Re: A couple of interesting ideas... Keywords: List, Inspectors In article <4JUN93.19483392@enh.nist.gov>, aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: >I have been screwing around with the InspectorManager object recently, and >it has some very nice functionality. One problem, though, is that adding >new views has to be done programatically. Another solution I've seen has the managing object have 20+ outlets that you can connect the views to. This is even uglier, but at least you can do it through IB. (It just programmatically adds the views from the outlets, one at a time, and is _not_ at all an elegant solution.) Here's what would be a much better way, and useful for a _lot_ more than just inspectors: Interface Builder can now do custom connection inspectors. Now, this means that we could Palletize a List object, and then make a connection inspector for it that would allow us to add/remove objects in the List. (Ability to control-drag to reorder the objects would be nice as well.) There's lots of places where I could use this. If NeXT or somebody else doesn't do this, I probably will at some point; I'd like the ability to do this in my GameKit--the scoring system has a List of delegates instead of a single delegate, and it would be nice to hook them up in IB. Now that custom connection inspectors are possible, it seems that an elegant solution is also possible. >I hope this made since, if it didn't, please ignore me. Everyone else does! No, it's a good point. But the above solution seems a bit more interesting... Later, Don_Yacktman
Newsgroups: comp.sys.next.programmer From: herrick@amd.com (charles) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun11.133321.23225@dvorak.amd.com> Followup-To: <charles.herrick@amd.com> Keywords: document Sender: chuck herrick Organization: I speak only for myself References: <1993Jun10.072752.5532@metrosoft.com> <1993Jun10.173309.666@afs.com> Date: Fri, 11 Jun 93 13:33:21 GMT In article <1993Jun10.173309.666@afs.com> jon@afs.com writes: >In article <1993Jun10.072752.5532@metrosoft.com> gvh@metrosoft.com (Gordon >Van Huizen) writes: >| In article <1993Jun9.170025.833@afs.com> jon@afs.com writes: >| > What's in the NEXTSTEP DEVELOPER Box?? Is it just air? Is >| > there a CD-ROM bouncing around in it? Is there a little >| > effigy of Bill Gates? It's an awfully large box for a CD >| > (and people complained about the cd long box!) Inquiring >| > minds want to know... >| >| One CD-ROM, but it's quite full of printed >| documentation. Quite a reach, huh? > >It really hadn't occurred to me that they'd bundle the printed docs. They >never did before. They're on disk- why kill a tree? But then again, for >$1995, they'd better include docs. I suppose m68k users won't be so lucky. > I believe you're taking this too seriously. The docs are on-line. You still have to pay for the books, if you want them printed. -- Chuck Herrick <charles.herrick@amd.com> (512) 462-6248 (w) (512) 462-4812 (FAX) (512) 480-0757 (h) PO Box 18804 Austin, TX 78760-8804
Newsgroups: comp.sys.next.programmer,comp.databases.informix,comp.databases.oracle From: herrick@amd.com (charles) Subject: Re: If DBKit is so great why then..... Message-ID: <1993Jun11.135046.25057@dvorak.amd.com> Followup-To: <charles.herrick@amd.com> Keywords: SQL rdbms, Oracle, poor support Sender: chuck herrick Organization: I speak only for myself References: <1v7coo$ik@steffi.demon.co.uk> <1993Jun10.221418.2267@CAM.ORG!planon> Date: Fri, 11 Jun 93 13:50:46 GMT In article <1993Jun10.221418.2267@CAM.ORG!planon> yanik@planon.qc.ca (Yanik Crepeau) writes: >In article <1v7coo$ik@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert >Nicholson) writes: >| Why can't the NeXT developer support people create DBKit examples that >| are server independant? Even if it means producing a completely new >| datamodel other than pubs in Sybase or demo in ORACLE >| > ---cut--- >With Oracle, "big name" means big money more than any other rdbms company. ---cut--- >An Oracle representative told me that unless we generate at least $50000 of >revenue per year and we spent at least $5000 per year ourself for support, >training and developpment tools, they are not interested to do business with >us. This phenomenon, while both understandable and reprehensible, is very likely quite "salesperson-dependent." Oracle is famous for the quiltedness of their sales and marketing force. By the way, Sybase is fast closing on Oracle in this phenomenon. Try asking the salesperson for the name of their supervisor, and make it a point to contact their supervisor and complain. If you're not completely satisfied with the result, ask for the name of that supervisor's supervisor, and climb the food-chain. All big orgs acquire a certain amount of incompetent particulates, and there is nothing wrong with assisting the process of natural selection. cnh -- Chuck Herrick <charles.herrick@amd.com> (512) 462-6248 (w) (512) 462-4812 (FAX) (512) 480-0757 (h) PO Box 18804 Austin, TX 78760-8804
From: pkron@corona.com (Peter Kron) Newsgroups: comp.sys.next.programmer Subject: Packing structure members? Message-ID: <98.UUL1.3#16216@corona.com> Date: Fri, 11 Jun 93 14:48:27 PDT Organization: Corona Design, Inc., Seattle, WA CC is compiling alignment pads into record structures, which is giving me headaches in reading data files created by DOS. (All structures seem to be padded to a multiple of 4 bytes, so nested structures have internal pads.) Is there a switch that will force CC to pack the members without any padding? (I know I will still have to deal with "endedness" anyway.) Thanks --------------- Peter Kron P.O. Box 51022 Corona Design, Inc. Seattle, WA 98115-1022 Peter_Kron@corona.com
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Support for non-PostScript printers Message-ID: <1993Jun7.175206.9915@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA CS Department, Los Angeles, CA Date: Mon, 7 Jun 93 17:52:06 GMT Hi, If I connect a non-PostScript printer (like an HP LaserJet III *without* a PostScript cartridge) to a machine running NeXTSTEP, will I be able to print just as if I were printing to the NeXT 400 dpi Laser Printer or is their no support for this? One of the nice things about owning a NeXT was that you had access to the latest PostScript version with each NeXTSTEP release. However, the beauty of this begins to fade when your computer is running Display PostScript Level II while your printer is just Level I. I'd appreciate any information or suggestions -- e-mail preferred. Thank you, Eskandar. -- ------------------------------------------------------------------------- G o d l e s s f e e l i n g i n m e B o r n o f t h e i r l i e s . . . Danzig -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Copy protection for objects Message-ID: <1993Jun7.203922.2402@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Jun4.181456.4481@afs.com> Date: Mon, 7 Jun 93 20:39:22 GMT In article <1993Jun4.181456.4481@afs.com> greg@afs.com (Gregory H. Anderson) writes: > By the way (here's where Greg whispers the word "plastics" in your ear), > the real money to be made vending objects is in the tradekit variety. Base > class ObjectWare is neat, but programmers won't pay a lot for it, and you > only get paid for each programmer who uses it. Encapsulated task > functionality, on the other hand, jump starts custom applications, and > allows you to charge at the end-user level. Taligent calls these types of > task-functional objects "Frameworks," and I think they are right to focus > at this level. Of course, we'll all be millionaires by the time Taligent > gets to market... 8^) This is the right idea. Let's look at plain vanilla Unix. There are two major options for reuse: the stdlib and /usr/bin. Without a doubt, the ability to string programs together, piping through stdin and stdout in the shell has been a major reason for the proliferation of Unix; the idea of software reuse is here already. This is not to say that the stdlib is not important, but the past twenty years did not result in a huge number of new libs; we did see a mass of focused, innovative programs emerge, though, and become a part of the Unix distribution. What does ObjectWare do? It is nothing more than a grown up stdlib. Where is the Object-awk? and /usr/objects and the Object-ksh? While the kits are good, this is a major misunderstanding is component software. -marcos j. polanco -shiva@vega.stanford.edu
From: pauls@css.itd.umich.edu (Paul Southworth) Newsgroups: comp.sys.next.programmer Subject: top ported to NS3.0? Date: 11 Jun 1993 16:49:15 GMT Organization: University of Michigan ITD Consulting and Support Services Distribution: world Message-ID: <1vad2b$qe5@terminator.rs.itd.umich.edu> Has anyone ported top to the NeXT, or a similar process monitoring utility?
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: DBKit fetchContentsOf question Date: 11 Jun 1993 17:28:51 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1vabs3$1la@steffi.demon.co.uk> This is using the pubs database. Why doesn't this fetch anything? The two delegate methods fire fine. #import "Controller.h" #import <dbkit/dbkit.h> @implementation Controller - fetchAndQualify:sender { id entity; id qualifier; id aProperty; const char *qualifyText; qualifyText = [textField stringValue]; [dbModule setDelegate:self]; // see methods below entity = [dbModule entity]; // This exists in App inspector aProperty = [entity propertyNamed:"pub_id"]; qualifier = [[DBQualifier alloc] initForEntity:entity fromDescription:"%@ = '0736'", aProperty]; //[dbModule fetchContentsOf:entity usingQualifier:qualifier]; [[dbModule rootFetchGroup] fetchContentsOf:entity usingQualifier:qualifier]; //[tableView display]; // Association should take care of this????? return self; } - fetchGroupWillFetch:sender { NXRunAlertPanel("Notify","About to fetch",0,0,0); return self; } - fetchGroupDidFetch:sender { NXRunAlertPanel("Notify","Just fetched",0,0,0); return self; } -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Custom Views and the IB Message-ID: <11JUN93.19064016@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Sat, 12 Jun 1993 00:06:40 GMT Exactly how does the IB treat custom views? Can I assume that the initFrame: method will be called when the view is created? Or is awake: still used?? Thanks, Kevin
Newsgroups: comp.sys.next.programmer From: luis@elysia.fdn.org (Luis Arias) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun11.105532.13448@elysia.fdn.org> Sender: luis@elysia.fdn.org Organization: Elysia - Rueil_Malmaison, France. References: <1993Jun9.170025.833@afs.com> Date: Fri, 11 Jun 1993 10:55:32 GMT On top of it all, have you looked at the size of the fonts they use in that documentation ? Seems to me that using a smaller font size would have saved a couple of pounds. --- Luis Arias President Elysia, Inc. 23, rue Buffon 92500 RUEIL-MALMAISON FRANCE [33] (1) 47 49 61 96 [33] (1) 47 14 99 08 fax luis@elysia.fdn.org (NeXTmail ok) -- Luis Arias President Elysia, Inc. 23, rue Buffon
Newsgroups: comp.sys.next.programmer From: ynakamur@malibu.sfu.ca (Yasunobu Nakamura) Subject: Objective-C or C++ ? Message-ID: <ynakamur.739825149@sfu.ca> Summary: Is it worth learning Objective-C over C++ ? Keywords: Objective-C or C++ ? Sender: news@sfu.ca Organization: Simon Fraser University, Burnaby, B.C., Canada Date: Fri, 11 Jun 1993 18:59:09 GMT Hello: Do you think it's better to learn Objective-C over C++ for the future? -> Mike
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Robert Nicholson only! Message-ID: <1993Jun11.175018.27743@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1v7coo$ik@steffi.demon.co.uk> Date: Fri, 11 Jun 93 17:50:18 GMT Sorry about the broadcast to the the world, but I've been trying to mail to Robert Nicholson for a week now, and all e-mail bounces after 3 days. robert@steffi.demon.co.uk, are you out there? -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer From: aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) Subject: Matrix problems... Message-ID: <11JUN93.20524120@enh.nist.gov> Sender: news@dove.nist.gov Organization: NIST Date: Sat, 12 Jun 1993 01:52:41 GMT I seem to be running into all sorts of snags with this stuff! Here is the problem: I am creating a scrollable matrix, similar to the NiftyMatrix in ScrollDoodScrool. I don't need the fancy cell moving behavior, so I am cutting that out. I do, however, want my cells to highlight the way I want them to.. not with the matrix's behavior or just highlighting the cell white. What I am running in to, is that when I select a new cell, the old one doesn't get "redrawn" with it's non-highlited behavior. When I scroll that area of the matrix off screen and back again, it is drawn correctly. This is when I have the matrix set up in NX_LISTMODE. When I set the matrix up in NX_RADIOMODE, it doesn't draw my version of the highlite at all (until I scroll off screen and back again). Apperently, I do not have a good grasp on how or when the matrix sends draw commands to its cells. I could write my own selection methods by over riding -mouseDown, but I am not really in the mood to do that. To make things even wierder, the NiftyMatrix seems to have no problem at all (It is in NX_LISTMODE) getting cell specific highliting behavior... But my source looks JUST like hist!! this is driving me absolutely NUTS!! Anyone out there who can help me?? Or has done something similar? Thanks, Kevin
Newsgroups: comp.sys.next.programmer From: howard@monitor.com (Howard Brenner) Subject: Help with NeXTSTEP Intel and Memory Message-ID: <C8H33F.6C@monitor.com> Sender: howard@monitor.com (Howard Brenner) Organization: Monitor Company / IE Date: Fri, 11 Jun 1993 19:50:02 GMT I am running NeXTSTEP on a Compaq Deskpro 66M with 32M of memory. Unfortunately NeXTSTEP only sees 16M of that (DOS sees the full 32). Has anyone run into this or does anyone know if this is a limitation for either NeXTSTEP or the Compaq? Thanks, Howard
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: DBKit fetchContentsOf question Date: 11 Jun 1993 19:47:56 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1vak0s$18t@steffi.demon.co.uk> References: <1vabs3$1la@steffi.demon.co.uk> If I do this if don't work. entity = [dbModule entity]; // This exists in App inspector aProperty = [entity propertyNamed:"pub_id"]; qualifier = [[DBQualifier alloc] initForEntity:entity fromDescription:"%@ = '0736'", aProperty]; [dbModule fetchContentsOf:entity usingQualifier:qualifier]; If I do this for the above line. [dbModule fetchContentsOf:nil usingQualifier:qualifier]; it does work. Now, it's suppose to use dbModules entity anyway if nil is passed so stuffed if I know why it didn't work the previous way. Robert "When in doubt use nil :-)" Nicholson. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Robert Nicholson only! (Yes I'm here Drew) Date: 11 Jun 1993 21:37:38 +0100 Organization: me organized? That's a joke! Message-ID: <1vaqei$2pr@steffi.demon.co.uk> References: <1v7coo$ik@steffi.demon.co.uk> <1993Jun11.175018.27743@fnbc.com> drew@fnbc.com wrote >Sorry about the broadcast to the the world, but I've been trying to mail to >Robert Nicholson for a week now, and all e-mail bounces after 3 days. > >robert@steffi.demon.co.uk, are you out there? > >-- >+--------------------------------+-------------------------------------------+ >| Drew Davidson | "Never ask a programmer if he'll have | >| Software Guy | another cup of coffee because it's | >| First National Bank of Chicago | nobody's damn business how much he's | >| drew@fnbc.com (NeXTmail) | already had!" - me | >+--------------------------------+-------------------------------------------+ Drew, I mailed you did you receive it? I can't understand why we are not able to get thru since we have communiated with each other from this address before. PS: Sorry for the broadcast folks i'm sure we will sort it out shortly. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer From: ganek@apollo.hp.com (Daniel E. Ganek) Subject: ZoomFax 9624 Fax support for NS2.1 Sender: usenet@apollo.hp.com (Usenet News) Message-ID: <C8GyIr.GGL@apollo.hp.com> Date: Fri, 11 Jun 1993 18:11:15 GMT Distribution: usa Organization: Hewlett-Packard Corporation, Chelmsford, MA Has anyone successfully got the ZoomFax 9624 modem to send/receive faxes under 2.1? If so, I could use some help. Data modem works great (right out of the box) thanks, /dan ganek ganek@apollo.hp.com
Newsgroups: comp.sys.next.programmer From: mark@xexos.com (Mark Chamberlain) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun11.173229.5165@xexos.com> Sender: news@xexos.com Organization: Xexos, Ltd (London) References: <1993Jun11.133321.23225@dvorak.amd.com> Date: Fri, 11 Jun 1993 17:32:29 GMT In article <1993Jun11.133321.23225@dvorak.amd.com> herrick@amd.com (charles) writes: > > > >It really hadn't occurred to me that they'd bundle the printed docs. They > >never did before. They're on disk- why kill a tree? But then again, for > >$1995, they'd better include docs. I suppose m68k users won't be so lucky. > > > > I believe you're taking this too seriously. The docs are on-line. > You still have to pay for the books, if you want them printed. > Uh? Inside the foot-square cube for NEXTSTEP Developer is a CD-ROM and a complete set of documentation, just the same as the old stuff, but updated for 3.1 and includes a manual on ObjectiveC at last. -- Mark Chamberlain +44 71 237 4535 Xexos Ltd fax +44 71 231 0844 London mark@xexos.com
From: mark@plexus.guild.org (Mark Onyschuk) Newsgroups: comp.sys.next.programmer Subject: Re: NXHelp inside bundles (sorta' long) Message-ID: <1993Jun10.144826.914@plexus.guild.org> Date: Thu, 10 Jun 1993 14:48:26 GMT References: <1993Jun6.162559.946@plexus.guild.org> Sender: mark@plexus.guild.org Organization: Onyschuk and Associates, Toronto Mark Onyschuk writes > NXBundles can define their own Help resource which can be merged with the > main Application's Help using NXHelpPanel's -addSupplement:inPath method. > > [code sample where attempting to add a bundle's help supplement causes > the bundle to be freed deleted] So far, only a few people have responded to my original question, though one respondent mentioned that it might be the case that Help within bundles is somehow broken under 3.0. Could someone verify or deny this? In other respects, as another respondent has mentioned, bundles work well and are easy to use. -- M. Onyschuk and Associates Inc. Toronto | mark@plexus.guild.org (NeXTMAIL) NeXTSTEP Software Development | 73700.3114@compuserve.com (YaWNMAIL) ----------------------------------------+------------------------------------- /Courier findfont 12 scalefont setfont 72 72 moveto (Practice PostScript) show
From: bobb@psg.com (Bob Beauchemin) Newsgroups: comp.sys.next.programmer Subject: Broken invariant? Message-ID: <1993Jun11.222306.16846@psg.com> Date: 11 Jun 93 22:23:06 GMT Article-I.D.: psg.1993Jun11.222306.16846 Organization: PSGnet, Portland Oregon US I'm working on a NeXT GUI program. Everything seems to work OK, except that every once in a while, the following message appears: *** HashTable: count differs after rehashing; probably indicates a broken invariant: there are x and y such as isEqual(x, y) is TRUE but hash(x) != hash (y) The message does not cause any harm, and seems to appear at "random" times (ie, I can't make it appear on demand). I read in the HashTable docs that HashTables are used to keep track of GUI objects, and assume that I must be stomping on some object's storage, somewhere. MallocDebug doesn't seem to catch it. Has anyone chased a similar problem and have any suggestions? Thanks, Bob Beauchemin OCSG
Newsgroups: comp.sys.next.programmer From: joe@FreemanSoft.com (Joe Freeman) Subject: Re: Custom Views and the IB Message-ID: <1993Jun11.215041.6900@FreemanSoft.com> Sender: jfreeman@FreemanSoft.com Organization: FreemanSoft Inc. References: <11JUN93.19064016@enh.nist.gov> Distribution: usa Date: Fri, 11 Jun 1993 21:50:41 GMT That dependson the following: If the custom view is not loaded into IB, ie: not in a palette, then IB can't archive the custom view. So, at run time, the initFrame: method is called. If the custom view is linked into IB, ie: staticly or from a palette, then the object is actually archived (read:/write:) into the nib. So, at run time, the object is unarchived and the awake method is called. In article <11JUN93.19064016@enh.nist.gov> aoml@enh.nist.gov (DoC/NOAA/AOML Miami, FL) writes: > Exactly how does the IB treat custom views? Can I assume that the initFrame: method > will be called when the view is created? Or is awake: still used?? > > Thanks, > > Kevin -- Joe Freeman FreemanSoft Inc. Joe@FreemanSoft.com 919.783.7033
Newsgroups: comp.sys.next.programmer From: mahoney@csulb.edu (Mike Mahoney) Subject: Re: NeXTstep Programming: Step Two ? Message-ID: <C8HCIx.J9s@csulb.edu> Sender: news@csulb.edu (News Administration/Rumor Bureau) Organization: Cal State Long Beach References: <1993Jun9.192843.6732@news.yale.edu> Date: Fri, 11 Jun 1993 23:13:44 GMT In article <1993Jun9.192843.6732@news.yale.edu> amehta@yale.edu (Anand Mehta) writes: > > I thought I saw some information on the second book of this series. If anyone > has information on it (ISBN, availability, etc.) would you please email it to > me? > > Thanks in advance, > > -Anand Announcing "STEP TWO" the sequel: "NEXTSTEP Programming - STEP TWO: Object-Oriented Toolkits" Authors: Michael K. Mahoney and William J. Ballew Hardbound, will include DOS diskette or CD-ROM Publisher: TELOS/Springer-Verlag, Santa Clara, CA Expected publish date: Q1 1994 This sequel to the highly successful book, "NEXTSTEP Programming - STEP ONE: Object-Oriented Applications," by Simson L. Garfinkel and Michael K. Mahoney will continue in the hands-on style of STEP ONE. STEP TWO will focus on the powerful object toolkits DB Kit, 3D Kit, and Indexing Kit which are bundled with the NEXTSTEP 3.1 Developer's Edition software package. STEP TWO will also cover other important topics such as Interface Builder extensions (e.g., Palettes), performance enhancement, and debugging techniques which could not fit into the lengthy STEP ONE. Michael K. Mahoney is Professor and Chair of the Computer Engineering and Computer Science Department at California State University, Long Beach, and is president of the Southern California NEXTSTEP Users Group (SCaN). William J. Ballew is a member of the technical staff at The Aerospace Corporation and is an experienced NEXTSTEP developer. More detailed information regarding this publication will be forthcoming from the publisher in Q4 1993.
From: mcgredo@nntp.crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Editing radio button matrix Date: 11 Jun 1993 16:10:52 -0700 Organization: CRL Internet Dialup Access (415-389-UNIX login: guest) Distribution: world Message-ID: <1vb3ds$pn4@crl.crl.com> Summary: radio buttons and editing I was working on an inspector for some radio buttons. The radios are of course ButtonCells inside of a Matrix. I'd like to directly edit the text in the ButtonCell by clicking on the text and typing away; this prevents having a separate text field to type in so the contents of the radio button can be set and maintains direct manipulation. Besides, that's how NeXT does it in IB. A-ha, I thought, just send a [fooCell setEditable:YES] message and it should work. Wrong. The text editing object comes up, but it's misplaced; it's offset to the left, covering the radio button. While editing the field the radio is covered up. What's more, the contents of the editing field aren't written back to the Cell when editing finishes. This is under 2.x. While it's not a big deal to fix this so it works right, it is another gratitous subclass that clutters everything up. It oughta just work. Is this fixed in 3.x? Or am I missing something obvious here? -- Don McGregor | Phenylketonurics: does not contain phenylalanine. mcgredo@crl.com |
Newsgroups: comp.sys.next.programmer Subject: Re: Objective-C or C++ ? Message-ID: <C8JvH9.2xt@news.otago.ac.nz> From: alastair@farli.otago.ac.nz (Alastair Thomson) Date: Sun, 13 Jun 1993 07:58:20 GMT Sender: usenet@news.otago.ac.nz (News stuff) References: <ynakamur.739825149@sfu.ca> Organization: University of Otago In article <ynakamur.739825149@sfu.ca> writes: > Hello: > > Do you think it's better to learn Objective-C over C++ for the future? > > -> Mike IMHO: Learn both. It really depends on the type of application you are developing. I am currently working on two apps at the moment, one is a posint of sale database system, the other is a CSG ray-tracing system. For the database system, we have used Objective-C. It was easier to do many of the tricky bits we needed to do using Objective-C's run time binding. The ray-tracer however, needs all the speed it can get. We implement each CSG primitive (sphere, cone, torus etc) as a seperate class. Using Objective-C every time we trace a ray we have to call intersection functions for the primitive. Using C++ we determine the 'method' at compile time, using Objective-C we have to go through the search procedure to find the right method. Sure it only adds about 15% to execution times once the method is in the cache, but when you are tracing millions of rays over anything from five minutes to five hours, 15% is important. Theirs my thoughts, don't try to say one is better than the other, just use whichever seems best. For user interface and database stuff, I would only want to use Objective-C, for other CPU intensive apps, C++. Alastair -- ===================================================================== = Alastair Thomson, | Phone +64-3-479-8347 Chief Programmer, | Fax +64-3-479-8529 The Black Albatross Project, | e-mail: University of Otago, | alastair@farli.otago.ac.nz Department of Computer Science, | P.O. Box 56 | NeXTmail Welcome! Dunedin | New Zealand | "God loved the world so much, that he gave us His Son, to die in our place, so that we may have eternal life" John 3:16, paraphrase. ===================================================================== =
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: NXHelp inside bundles (sorta' long) Organization: Primitive Software Ltd. References: <1993Jun6.162559.946@plexus.guild.org> <1993Jun10.144826.914@plexus.guild.org> Date: Sat, 12 Jun 1993 08:58:05 +0000 Message-ID: <1993Jun12.085805.11686@prim> Sender: usenet@demon.co.uk In article <1993Jun10.144826.914@plexus.guild.org> mark@plexus.guild.org (Mark Onyschuk) writes: >So far, only a few people have responded to my original question, though one >respondent mentioned that it might be the case that Help within bundles is >somehow broken under 3.0. Could someone verify or deny this? Yes, Help does not work inside bundles. I wasted some time trying to make it work and then gave up. Mr NXBundle and Ms NXHelpPanel should get together sometime. Dave Griffiths
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Why isn't DPSContext an object? Organization: Primitive Software Ltd. Date: Sat, 12 Jun 1993 09:10:22 +0000 Message-ID: <1993Jun12.091022.11750@prim> Sender: usenet@demon.co.uk Why isn't DPSContext an object? Judging from the structure with all those pointers to function calls, this thing is screaming out to be an object! Is it because NeXT just took a load of Adobe code and shoehorned it in there? Does anyone understand the DPSContext structure? Does the Purple/Blue/Pink book explain it's purpose? Dave Griffiths
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.sys.next.programmer Subject: 3.1 -> 3.0 backward compatibility? Message-ID: <9004@ucsbcsl.ucsb.edu> Date: 12 Jun 93 04:35:55 GMT Sender: news@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, U.C.S.B. I believe I have read that binaries compiled using the native cc compiler under OS 3.1 will not run under OS 3.0 -- is this correct? More important for my work: if I build gcc 2.x under 3.1, will binaries built with it also be incompatible with 3.0 machines? I know that 3.1 cc creates fat binaries, and of course gcc does not, but I wondered if the shared libraries (-lsys_s) are so different that there will be no way to share binaries between 3.1 and 3.0 machines. Thanks for any information. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
From: iainw@cee.hw.ac.uk (Iain Williamson) Newsgroups: comp.sys.next.programmer Subject: Renderman bug in Sys 3.0 ? Message-ID: <1993Jun12.154229.24842@cee.hw.ac.uk> Date: 12 Jun 93 15:42:29 GMT Sender: news@cee.hw.ac.uk (News Administrator) Organization: Heriot_Watt University, Scotland, U.K On the NeXT that i'm using (System 3.0) there appears to be a problem with the 3Dkit. The call to RiSphere results in only half a sphere being drawn (its the top half), so to actually get a sphere i'm drawing the top half and then rotating to draw the bottom half - not exactly staisfactory. I've checked all the other machines we have, all of which run System 3.0, and they all have the same problem. Has anybody else got this problem, know whats causing it, or know how to fix it ? ************************************************************** *** Iain Williamson *** *** *** *** Heriot-Watt University, JANET : iainw@uk.ac.hw.cee *** *** Edinburgh, ARPA : iainw@hw.cee.ac.uk *** *** Scotland. *** **************************************************************
Newsgroups: comp.sys.next.programmer From: msodhi@agsm.ucla.edu (Mohan Sodhi) Subject: Re: Objective-C or C++ ? Message-ID: <msodhi.739901811@uclagsm> Keywords: Objective-C or C++ ? References: <ynakamur.739825149@sfu.ca> Date: 12 Jun 93 08:29:29 PDT ynakamur@malibu.sfu.ca (Yasunobu Nakamura) writes: >Hello: >Do you think it's better to learn Objective-C over C++ for the future? >-> Mike From a review on OOP languages I read recently, it appears that Objective-C is better language from the OO viewpoint. Also, many netters on this and other NeXT newsgroups say that Obj-C is easier to learn. On the other hand, commercial libraries (such as database and interface libraries) are almost always available only in C++ (or straight C), not Obj-C. So, if you are going to be developing a commercial application that uses other libraries, you will have to program in C++ (I am not sure about linking the two languages.) Also, many employers may insist upon you knowing C++ and couldn't care whether you knew OOP or not. I have not used Obj-C yet, but intend to use it if and when I adopt NeXT. My advice to you, if you are new to OOP, would be to learn Obj-C and then pick up C++ when you have to rather than the other way around. -mohan sodhi msodhi@agsm.ucla.edu
Newsgroups: comp.sys.next.programmer From: paul@phoenix.Princeton.EDU (Paul Lansky) Subject: 486 byte ordering Message-ID: <1993Jun12.172713.9412@Princeton.EDU> Originator: news@nimaster Sender: news@Princeton.EDU (USENET News System) Organization: Princeton University Date: Sat, 12 Jun 1993 17:27:13 GMT We have a cluster of black NeXT machines and are contemplating getting a 486 machine to break in. Unfortunately the byte ordering is different on these machines. One is big endian and the other little endian, (I forget which is which). This, of course would create major problems for sound and image files accessed across the network between 68k and 486 machines. I'd like to know how others have dealt with this problem. Are there hardware solutions? Or must this be dealt with entirely in software. Thanks for any information. Paul Lansky paul@princeton.edu
Newsgroups: comp.sys.next.programmer From: dekorte@ibm19.scri.fsu.edu (Stephen L. DeKorte) Subject: icons without IB Sender: usenet@mailer.cc.fsu.edu Organization: Supercomputer Computations Research Institute Date: Sat, 12 Jun 1993 21:58:44 GMT Message-ID: <C8J3pw.7Ju@mailer.cc.fsu.edu> Summary: How? How can I give a program created without Interface Builder an (file)icon of my own? Where are icon files stored? Please respond by email. Thanks, -Steve
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Custom Views and the IB Date: Sat, 12 Jun 1993 21:45:37 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Distribution: usa Message-ID: <cg6cP1u00WA78OADNF@andrew.cmu.edu> In-Reply-To: <1993Jun11.215041.6900@FreemanSoft.com> Excerpts from netnews.comp.sys.next.programmer: 11-Jun-93 Re: Custom Views and the IB by Joe Freeman@FreemanSoft. > That dependson the following: > > If the custom view is not loaded into IB, ie: not in a palette, then IB > can't archive the custom view. So, at run time, the initFrame: method is > called. > > If the custom view is linked into IB, ie: staticly or from a palette, then > the object is actually archived (read:/write:) into the nib. So, at run > time, the object is unarchived and the awake method is called. Huh? Put More Simply, when a CustomView is unarchvied from a NIB File, I suspect it makes use of the (RootClass) Object's -finishUnarchiving method to replace itself with a object of whatever view-class/subclass it may have been set to, thereby "becoming" that object. As all View-subclasses will implement or inherit -initFrame:, that is (probably) the initialization method, and if necessary that method can call a more specific initializer. (See Button.) After the CustomView has been unarchived once, it will no longer exist. The view-class/subclass that replaced it will exist, and will be called upon to archive/unarchive itself IN THE FUTURE, if necessary. -awake will be sent after any FUTURE unarchiving. This does not happen the first time, when initFrame: is called. Hope this helps... -David.
Newsgroups: comp.sys.next.programmer From: dekorte@ibm19.scri.fsu.edu (Stephen L. DeKorte) Subject: Garbage Collection Sender: usenet@mailer.cc.fsu.edu Organization: Supercomputer Computations Research Institute Date: Sun, 13 Jun 1993 01:55:26 GMT Message-ID: <C8JEoE.CIG@mailer.cc.fsu.edu> Which ObjC compilers support automatic garbage collection(if any)? GNU, NeXT GNU, Stepstone? Thanks, -Steve
Newsgroups: comp.sys.next.programmer From: walters@id.com (Chris Walters) Subject: Re: existential question (Joke) In-Reply-To: gvh@metrosoft.com's message of Thu, 10 Jun 1993 19: 20:52 GMT Message-ID: <WALTERS.93Jun12235930@corndog.id.com> Sender: walters@corndog.id.com (Chris Walters) Organization: Intrinsic Development Corp. References: <WALTERS.93Jun10003459@corndog.id.com> <1993Jun10.192052.562@metrosoft.com> Date: Sun, 13 Jun 1993 04:59:30 GMT In article <1993Jun10.192052.562@metrosoft.com> gvh@metrosoft.com (Gordon Van Huizen) writes: > > No, the cube is dead. How about slabs? > -- Chris > Cubes are dead but slabs are alive??? Oh! You must mean those NEC Image series and Intel GX slabs... :-) Gordon Exactamundo! What is the "form factor" of the HP-PA-RISC machines? Is it cubish, slabbish, or none of the above? :-) :-) -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93 -- Chris Walters 10600 Arrowhead Dr., Suite 350 RDR, Inc. Oakton, VA 22030 walters@rdr.com (703)591-8713,(703)273-8170 FAX ------------------------- Hack Naked --------------------------
Newsgroups: comp.sys.next.programmer From: ljung@cae.wisc.edu (David Ljung) Subject: setenv and environ again Organization: Spawning Cow! Productions Distribution: usa Date: 13 Jun 93 04:20:52 CDT Message-ID: <1993Jun13.042053.15681@doug.cae.wisc.edu> I posted a short while ago because I was confused about the lack of a setenv() on NeXT. I was given a number of alternatives - none of which I was able to get to properly work. I needed a setenv that would take one arg (i.e. setenv("LOGIN=jubal");).. and after converting the alternatives I was given (berkley source and two other systems) I got the same error: Program generated(1): Memory access exception on address 0x7523 (protection fail ure). whenever I tried to access the environment after changing it. This is rather frustrating since I am merely trying to port my project over to a NeXT to work on it ther. I tried writing setenv myself - and got the same error. Anyways.. the point is.. does anyone have a copy of setenv which compiles properly by itself on NeXTstep 3.0? (hopefully one that also uses one arg) Thanks, ------------------------------------------------------------------ (__) ---- David Ljung 314 N. Broom St. #3A oo ) Spawning Cow! Productions Madison, WI. 53703 moo. |_/\ (608) 257-COWS ljung@cae.wisc.edu ----------------= I program in C because it turns women on. =-----------------
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1vestf$32r@steffi.demon.co.uk> Control: cancel <1vestf$32r@steffi.demon.co.uk> Date: 13 Jun 1993 10:45:55 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1vet0j$345@steffi.demon.co.uk> <1vestf$32r@steffi.demon.co.uk> was cancelled from within trn. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: (DBKit) Is this a bug? Date: 13 Jun 1993 11:46:24 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1vf0i0$393@steffi.demon.co.uk> OR, what's so special about "nil" I have this code fragment. - fetchAndQualify:sender { id entity; id aProperty; const char *qualifyText; id qualifier; qualifyText = [textField stringValue]; [dbModule setDelegate:self]; // see methods below entity = [dbModule entity]; aProperty = [entity propertyNamed:"pub_id"]; qualifier = [[DBQualifier alloc] initForEntity:entity fromDescription:"%@ = '0736'", aProperty]; fprintf(stderr,"entity is %s\n",[entity name]); fprintf(stderr,"[dbModule entity] is %s\n",[[dbModule entity] name]); fprintf(stderr,"[[dbModule rootFetchGroup] entity] is %s\n",[[[dbModule rootFetchGroup] entity] name]); fprintf(stderr,"[qualifier entity] is %s\n",[[qualifier entity] name]); [dbModule fetchContentsOf:entity usingQualifier:qualifier]; // NO //[dbModule fetchContentsOf:nil usingQualifier:qualifier]: // YES //[dbModule fetchContentsOf:[qualifier entity] usingQualifier:qualifier]; // NO return self; } The output to the fprintf's is this entity is publishers [dbModule entity] is publishers [[dbModule rootFetchGroup] entity] is publishers [qualifier entity] is publishers Why is it that the only line that will actually fetch successfully is [dbModule fetchContentsOf:nil usingQualifier:qualifier]; the other two do not fetch at all. This is most unusual since in the General Reference manaual it says that if the first argument to DBModule's fetchContentsOf: usingQualifier: is nil then the DBModules DBEntity is assumed. In this context something is very special about nil. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
From: robert@steffi.demon.co.uk (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.databases.oracle,comp.databases.sybase Subject: DBKit question (Relationships b/w dbmodels?) Date: 13 Jun 1993 12:45:28 +0100 Organization: me organized? That's a joke! Distribution: world Message-ID: <1vf40o$3hv@steffi.demon.co.uk> A couple of people have told me that DBKit supports relationships over different servers. This is something I'll believe when I see it. However, one person mentioned that in his only attempt to do this he had to hand code the DBAssociation to the second DBFetchGroup. He suggested that perhaps it could be specified without any code by dragging relationships b/w different dbmodels in DBModeller. Can anybody confirm that DBModeller support's this? I am skeptical because the choice of which adaptor to use is part of the entire apps preferences isn't it??? So I don't know how things would work if you tried to do this within the same copy of DBModeller running. However can it be done with different copies of DBModeller running. Obviously for sake of simplicity it would be nice if I could specify which relationship existed b/w which servers in IB and DBModeller only. However, if I can only do this in code I'm not too concerned. Can anybody confirm that they have done this and are happy with the implementation? This is something NeXT should really sell DBKit on if it can since I wasn't aware of it from reading the DBKit literature. -- Real programmers don't create classes, they build hierarchies. (me) "If it doesn't compile and run emacs, it's not a computer." (Erik C. Sowa)
Newsgroups: comp.sys.next.programmer,comp.databases.oracle,comp.databases.sybase From: Robert Nicholson <robert@steffi.demon.co.uk> Subject: DBKit question (Relationships b/w dbmodels?) Date: Sun, 13 Jun 1993 12:45:32 +0100 Message-ID: <199306131145.AA03655@steffi.demon.co.uk> Organization: me organized? That's a joke! Sender: news@antares.mcs.anl.gov A couple of people have told me that DBKit supports relationships over different servers. This is something I'll believe when I see it. However, one person mentioned that in his only attempt to do this he had to hand code the DBAssociation to the second DBFetchGroup. He suggested that perhaps it could be specified without any code by dragging relationships b/w different dbmodels in DBModeller. Can anybody confirm that DBModeller support's this? I am skeptical because the choice of which adaptor to use is part of the entire apps preferences isn't it??? So I don't know how things would work if you tried to do this within the same copy of DBModeller running. However can it be done with different copies of DBModeller running. Obviously for sake of simplicity it would be nice if I could specify which relationship existed b/w which servers in IB and DBModeller only. However, if I can only do this in code I'm not too concerned. Can anybody confirm that they have done this and are happy with the implementation? This is something NeXT should really sell DBKit on if it can since I wasn't aware of it from reading the DBKit literature.
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: NXHost Date: 13 Jun 1993 18:32:14 GMT Organization: University of Michigan EECS Dept. Message-ID: <1vfrre$qfs@zip.eecs.umich.edu> Keywords: NXHost Hi, Does anyone know exactly what happens when launching an application with -NXHost hostname argument? --Hyong Sop Shim (hyongsop@engin.umich.edu)
Newsgroups: comp.sys.next.programmer From: suckow@uropax.contrib.de (Ralf Suckow) Subject: Re: Objective-C or C++ ? Message-ID: <1993Jun13.212007.16049@uropax.contrib.de> Organization: Contributed Software GbR References: <ynakamur.739825149@sfu.ca> <C8JvH9.2xt@news.otago.ac.nz> Date: Sun, 13 Jun 1993 21:20:07 GMT alastair@farli.otago.ac.nz (Alastair Thomson) schreibt: >In article <ynakamur.739825149@sfu.ca> writes: >> Hello: >> >> Do you think it's better to learn Objective-C over C++ for the >future? >> >> -> Mike >IMHO: Learn both. >It really depends on the type of application you are developing. I am >currently working on two apps at the moment, one is a posint of sale >database system, the other is a CSG ray-tracing system. >For the database system, we have used Objective-C. It was easier to >do many of the tricky bits we needed to do using Objective-C's run >time binding. The ray-tracer however, needs all the speed it can get. >We implement each CSG primitive (sphere, cone, torus etc) as a >seperate class. Using Objective-C every time we trace a ray we have >to call intersection functions for the primitive. Using C++ we >determine the 'method' at compile time, using Objective-C we have to >go through the search procedure to find the right method. Sure it >only adds about 15% to execution times once the method is in the >cache, but when you are tracing millions of rays over anything from >five minutes to five hours, 15% is important. If it's really important, you can cache up the intersection functions once and then use the pointer, as in the example from the ObjectiveC concepts manual (with text): --------------------------------------------------------------------- The example below shows how the procedure that implements the setTag: method might be called: id (*setter)(id, SEL, int); int i; setter = (id (*)(id, SEL, int))[target methodFor:@selector(setTag:)]; for ( i = 0; i < 1000, i++ ) setter(targetList[i], @selector(setTag::), i); The first two arguments passed to the procedure are the receiving object (self) and the method selector (_cmd). These arguments are hidden in method syntax but must be made explicit when the method is called as a function. Using methodFor: to circumvent dynamic binding saves most of the time required by messaging. However, the savings will be significant only where a particular message will be repeated many times, as in the for loop shown above. ---------------------------------------------------------------------- This is secure and nearly as fast as C++. >Theirs my thoughts, don't try to say one is better than the other, >just use whichever seems best. For user interface and database stuff, >I would only want to use Objective-C, for other CPU intensive apps, >C++. I think, you should learn Objective-C in any case. Or better, read the book "Object oriented programming. An evolutionary approach" by Brad Cox. It'll take you only a few days. My be, after that, you'll decide to learn the very complicated C++ only if you feel it is really necessary for your job, or for using some C++ libraries. >Alastair >-- >===================================================================== >= >Alastair Thomson, | Phone +64-3-479-8347 >Chief Programmer, | Fax +64-3-479-8529 >The Black Albatross Project, | e-mail: >University of Otago, | alastair@farli.otago.ac.nz >Department of Computer Science, | >P.O. Box 56 | NeXTmail Welcome! >Dunedin | >New Zealand | > "God loved the world so much, that he gave us His Son, to die in > our place, so that we may have eternal life" > John 3:16, paraphrase. > >===================================================================== >= -- Ralf Suckow, Berlin | suckow@contrib.de | Do you think it's difficult to speak Russian? Contributed Software | Every Moscow kid aged 5 years speaks it perfectly. only delivers my mail.|
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Objective-C or C++ ? Message-ID: <1993Jun13.234511.7601@gleap.jpunix.com> Date: Sun, 13 Jun 1993 23:45:11 GMT References: <C8JvH9.2xt@news.otago.ac.nz> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Alastair Thomson writes >In article <ynakamur.739825149@sfu.ca> writes: >We implement each CSG primitive (sphere, cone, torus etc) as a >seperate class. Using Objective-C every time we trace a ray we have >to call intersection functions for the primitive. Using C++ we >determine the 'method' at compile time, using Objective-C we have to >go through the search procedure to find the right method. Sure it >only adds about 15% to execution times once the method is in the >cache, but when you are tracing millions of rays over anything from >five minutes to five hours, 15% is important. > You don't have to stoop to C++ to do this. You can find the function at runtime via -(IMP)methodFor:(SEL)aSelector and then call this like a normal function. The lookup is only done once. Its a little uglier than pure Obj-C, but at least you avoid C++. Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 292-2442 or 363-0887 (Hou) (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer Subject: Objective-C/C++ Message-ID: <ibhan.740031286@husc.harvard.edu> From: ibhan@husc8.harvard.edu (Ishir Bhan) Date: 14 Jun 93 04:14:46 GMT I'm thinking about going with NeXTStep when I return to school in September. I know C, and want to move on. Is there a C++ compiler that comes with the Dev package? Or only Obj-C? -- ****************************************************************************** Ishir Bhan * "It takes years to find the nerve..." ibhan@husc.harvard.edu * -New Order, "All The Way" ******************************************************************************
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: At wit's end about declaration initialization error in C Message-ID: <16BECC2DF.UC512052@mizzou1.missouri.edu> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Sun, 13 Jun 1993 18:51:26 GMT Hi, I have a bit of code (included below) that is making me crazy. I can get it to compile in Borland C, but not in cc under 2.1. I have had problems with this type of declaration before, but have always been able to fix it. Not this time. You may followup to the group or email me at: c512052@monad.missouri.edu - not the address in the header, please. I can accept NeXTmail at the monad address. Regards, David K. Drum Error encountered: type mismatch in initialization (see end) #include <math.h> struct oper { char *token; enum {OPER_IN, OPER_PRE, OPER_POST, OPER_VOID, OPER_CONST} type; int priority; union { double (*noarg)(void); double (*onearg)(double); double (*twoarg)(double, double); } function; double value; } oper[]= { {"%", OPER_IN, 32, (double(*)(void))fmod, 0.}, {"abs", OPER_PRE, 38, (double(*)(void))fabs, 0.}, {"atan", OPER_PRE, 38, (double(*)(void))atan, 0.}, {"ceil", OPER_PRE, 38, (double(*)(void))ceil, 0.}, {"cosh", OPER_PRE, 38, (double(*)(void))cosh, 0.}, {"cos", OPER_PRE, 38, (double(*)(void))cos, 0.}, {"exp", OPER_PRE, 38, (double(*)(void))exp, 0.}, {"e", OPER_CONST, 42, (double(*)(void))0, 2.718281828459045089}, {"floor", OPER_PRE, 38, (double(*)(void))floor, 0.}, {"ln", OPER_PRE, 38, (double(*)(void))log, 0.}, {"log", OPER_PRE, 38, (double(*)(void))log10, 0.}, {"mod", OPER_IN, 32, (double(*)(void))fmod, 0.}, {"pi", OPER_CONST, 42, (double(*)(void))0, M_PI}, {"sinh", OPER_PRE, 38, (double(*)(void))sinh, 0.}, {"sin", OPER_PRE, 38, (double(*)(void))sin, 0.}, {"tanh", OPER_PRE, 38, (double(*)(void))tanh, 0.}, {"tan", OPER_PRE, 38, (double(*)(void))tan, 0.}, {0, 0, 0, 0, 0.} }; Error encountered at prev. line: type mismatch in initialization
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Why isn't DPSContext an object? Message-ID: <1993Jun14.043758.29711@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun12.091022.11750@prim> Date: Mon, 14 Jun 1993 04:37:58 GMT In article <1993Jun12.091022.11750@prim> dave@prim.demon.co.uk (Dave Griffiths) writes: >Why isn't DPSContext an object? Judging from the structure with all those >pointers to function calls, this thing is screaming out to be an object! Danger, Will Robinson. Objective-C parochialism. Danger, danger. > Is >it because NeXT just took a load of Adobe code and shoehorned it in there? That's the "C" API. This enables DPS applications to be portable across platforms, including places where they never heard of NeXT or Objective-C. Besides, objects are *slow* (excuse me, "performance challenged")--something DPS doesn't need! >Does anyone understand the DPSContext structure? Treat it as an opaque data type, just as you do stdio's FILE. ==> Read the comments in <dpsclient/dpsfriends.h> before you do anything else. <== Note that the X11R5 distribution contains source code for a version of the DPS client library (not NeXT's version, but similar in many respects), so if you're really, really curious: export.lcs.mit.edu:~ftp/pub/R5untarred/contrib/lib/DPS/lib/dps/ -=EPS=-
Newsgroups: comp.sys.next.programmer From: bnh@active.com (Brian Hess) Subject: Re: NXHost Message-ID: <1993Jun14.043603.6871@nntpxfer.psi.com> Sender: news@nntpxfer.psi.com Organization: Performance Systems Int'l References: <1vfrre$qfs@zip.eecs.umich.edu> Date: Mon, 14 Jun 1993 04:36:03 GMT In article <1vfrre$qfs@zip.eecs.umich.edu> hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) writes: > Does anyone know exactly what happens when launching an application with > -NXHost hostname argument? Well, I'm not sure about what the AppKit actually does, but one lower-level thing that happens is akin to this: if (NXhostname[0]) theDPSContext=DPSCreateContext(NXhostname,0,printjunk,myerrorproc); else theDPSContext=DPSCreateContext(0,0,printjunk,myerrorproc); DPSSetContext(theDPSContext); There's probably plenty more low-level detail I don't know about, but at least here's a start for you... Brian bnh@active.com
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: 3.1 -> 3.0 backward compatibility? Message-ID: <1993Jun14.050819.1244@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <9004@ucsbcsl.ucsb.edu> Date: Mon, 14 Jun 1993 05:08:19 GMT In article <9004@ucsbcsl.ucsb.edu> doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) [no relation] writes: >I believe I have read that binaries compiled using the native cc compiler under >OS 3.1 will not run under OS 3.0 -- is this correct? Sometimes yes, sometimes no. >More important for my work: if I build gcc 2.x under 3.1, will binaries built >with it also be incompatible with 3.0 machines? (1) Do you _need_ to build a later gcc under 3.1? (2) As long as you avoid using any new-with-3.1 features in your m68k executable, you have a chance. (I assume you're aware of the pitfalls with NXBundles.) >I know that 3.1 cc creates fat binaries, and of course gcc does not, but I >wondered if the shared libraries (-lsys_s) are so different that there will be >no way to share binaries between 3.1 and 3.0 machines. 3.1 includes two C compilers--one that produces Motorola executables, and one that produces Intel executables. The same compiler driver (cc) gives you access to both. A "fat" binary has the same relationship to "thin" binaries as .a files have to .o files--it's a "container" that holds multiple subfiles, each of which happens to be a complete executable. In other words, when you make a "fat" binary, there's no requirement that Motorola and Intel subfiles be produced at the same time, from the same source, or function identically. Use architecture-specific conditionals if need be. -=EPS=-
Newsgroups: comp.sys.next.programmer From: ctm@ardi.com Subject: fat binary stuff (was Re: 3.1 -> 3.0 backward compatibility?) Message-ID: <C8LL71.Ds8@cobra.cs.unm.edu> Sender: news@cobra.cs.unm.edu Organization: ARDI References: <9004@ucsbcsl.ucsb.edu> <1993Jun14.050819.1244@csus.edu> Date: Mon, 14 Jun 1993 06:11:27 GMT >In other words, when you make a "fat" binary, there's no >requirement that Motorola and Intel subfiles be produced at the >same time, from the same source, or function identically. >Use architecture-specific conditionals if need be. What Eric's saying is definitely true (but you probably didn't doubt that). As an example the fat Executor winds up using a "synthetic CPU" library for the Intel half that isn't present or needed for the Motorola half. I'm still not sure what the "correct way" to to do this is, but for now we use "libtool" to create an archive that includes both flavors of common Executor object code and the Intel only synthetic CPU library. Libtool automatically creates a ".a" library that is effectively two different machine specific ".a" libraries glommed together. Since conditional compilation in the common Executor source avoids use of the synthetic CPU when the Motorola side is compiled, there is never a problem that the "Motorola" portion of the ".a" file that libtool created doesn't *have* any of the synthetic CPU routines. Although names have been changed to protect the guilty the Makefile and code fragments look something like this: In a Makefile that builds "libexecutor.a": libexecutor.a: ROMlib-m68k.a, ROMlib-i486.a, syn68k.a libtool -o libexecutor.a ROMlib-m68k.a ROMlib-i486.a syn68k.a Then in a .c file we have something like this (this is not real code; I'm bound to have made a mistake here): #if defined(mc68000) asm("jsr %0" : : "=m" (start_pc) : "a0", "a1", "d0", "d1", "d2"); /* let the mc680x0 do the work for us */ #else /* !defined(mc68000) */ call_emulator(start_pc); /* a routine supplied in syn68k.a */ #endif Then in Project Builder, we just say that we need to use libexecutor.a and that we want to build for both NeXT and Intel. The .c file above behaves totally differently depending on whether it's executed on NeXT hardware or not including on the Intel side refering to a library that exists ONLY on the Intel side. I hope this helps someone. It took me a little fiddling to get this to work. If anyone knows a better way to have a library that is only used for one architecture, perhaps that person can help *me*. [The fat Executor should be on the archives "real soon now"...] --Cliff ctm@ardi.com
From: hanssgen@irau38.ira.uka.de (Stefan Haenssgen) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Fast line moving in View? Followup-To: comp.sys.next.programmer Date: 14 Jun 1993 08:43:22 GMT Organization: University of Karlsruhe, FRG Distribution: world Message-ID: <1vhdna$shf@nz12.rz.uni-karlsruhe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit A friend of mine has the following problem: He wants to move two differently colored vertical lines in a view (i.e. an instance of the class View). Each time a line is moved to a new position, the display method of the view has to be invoked to draw the lines. In his case the size of the view is 800 * 600 pixel, and displaying takes about half a second - much to slow for his application. How can one speed up the display? (Sample code welcome :-) Is there any possibility to realize a line as a 1 pixel wide window in some color and to put this window in front of the view? Many thanx in advance Stefan -- ,-----,------,--,--, Stefan Haenssgen, Comp Sci, Uni Karlsruhe, Germany / / / / / Email: haenssgen@ira.uka.de or uk0w@dkauni2.bitnet / ---/-, ,-/ / / IRC: sth Phone: +49/721/593910 Fax: hoo nose / / / / / / Snail: Nuitsstr. 2c, W-7500 Karlsruhe 21, Germany /--- / / / / / / <I collect postcards from all over the world *hint* :> / / / / / / / "Use the SOURCE, Luke!" (Return of the RedEye Nights) '-----' '--' '--'--' "I feel a great disturbance in the SOURCE"
Newsgroups: comp.sys.next.programmer From: brian@drifter (Brian R. Glaeske) Subject: Re: setenv and environ again Sender: usenet@ns1.nodak.edu (Usenet login) Message-ID: <C8Lru0.IAI@ns1.nodak.edu> Date: Mon, 14 Jun 1993 08:34:47 GMT Distribution: usa References: <1993Jun13.042053.15681@doug.cae.wisc.edu> Organization: University of Southern North Dakota, Hoople In article <1993Jun13.042053.15681@doug.cae.wisc.edu> ljung@cae.wisc.edu (David Ljung) writes: [Deleted stuff] >Anyways.. the point is.. does anyone have a copy of setenv >which compiles properly by itself on NeXTstep 3.0? >(hopefully one that also uses one arg) I sent you a version earlier of one that works, but the unsetenv() function did not. Here is the fixed versions. Brian Glaeske begin 644 env.tar.Z M'YV09=S8>0&@H,&#"!,J7,BPH<.'$!&"F'BC1@T0`";&@$&#!L:)$V7$^`BR MY$08$VO0@'$#Q@P9-$1JA!&#QHR,-2+JW,FSIT\`=>;0"2-G(@`Q<M*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.NoDak.edu ---------------------------------------------------------------------------- "Men Rule. Rap Sucks. Eat Fatty Food." The PIPC, Outland
From: foster@seismo.CSS.GOV (Glen Foster) Newsgroups: comp.sys.next.programmer Subject: help compiling perl on NS 3.0 Date: 14 Jun 1993 12:22:03 GMT Organization: Center for Seismic Studies, Arlington, VA Distribution: usa Message-ID: <1vhqhb$ruc@seismo.CSS.GOV> Perl, version 4.0 $RCSfile: perl.c,v $$Revision: 4.0.1.7 $$Date: 92/06/08 14:50:39 $ Patch level: 33 compiles fine but fails the test for group usage, i.e. op/groups......group routines not implemented at ./op/groups.t line 11. FAILED on test 1 All other tests pass ok. What incantation do I have to give Configure to make this work? I seem to remember that everything worked fine in NS 2.1. Thanks, Glen Foster foster@css.gov
Newsgroups: comp.sys.next.programmer From: merz@ips.id.ethz.ch (Andreas Merz) Subject: need RARPD on NeXT ... Message-ID: <1993Jun14.131703.11913@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: ETH Zurich (Swiss Federal Institute of Technology Date: Mon, 14 Jun 1993 13:17:03 GMT I need the rarpd deamon on my NeXT, because i must use the NeXT as a boot-server for a Sun3 client. I have tried two version of rarpd from the Internet, but i can not compile this programs. Maybe someone has already a working version of rarpd or knows where to look for a portable source? Thank you for your help! PS: I believe that the bootpd deamon on the NeXT doesn't work for booting a SUN. -- ---------------> Andreas Merz / Internet: merz@ips.ethz.ch <---------------- ------> Interdisciplinary Project Center for Supercomputing (IPS) <------ <-------- *THE* ultimate computer virus: MSDOS - even with updates! -------->
Newsgroups: comp.sys.next.programmer From: colin@agincourt.bsd.uchicago.edu (& Garrett) Subject: Re: DBKit question (Relationships b/w dbmodels?) Message-ID: <1993Jun14.145836.10713@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago Computing Organizations References: <199306131145.AA03655@steffi.demon.co.uk> Date: Mon, 14 Jun 1993 14:58:36 GMT In article <199306131145.AA03655@steffi.demon.co.uk> Robert Nicholson <robert@steffi.demon.co.uk> writes: > A couple of people have told me that DBKit supports relationships over > different servers. This is something I'll believe when I see it. > [stuff deleted] Well, obviously you have to have the support in your DBMS first. I don't know about Oracle or anything else, but with Sybase you don't get this by default. For an extra >$25,000 you can get some software that supports this, and I think it also supports other DBMS platforms (i.e. you can do joins between your Sybase and your Oracle server). Performance is probably not one of the strong points. DBModeler doesn't even have support for cross-_database_ joins, let alone cross-server joins. However, in the case of cross-database joins (on the same server), there's an easy way to get around this. Create both entities in your model. For the entities that are actually in the default database (as determined by the login string), the external and internal names for the entity will be the same, and will only need to consist of the table name. For the entities that are actually on the other database, just change the internal names to be fully specified, i.e. databasename.owner.tablename. Presto, cross-database joins. It's unfortunate DBEntities doesn't support something like -setInternalName:. So I would guess that if your DBMS supports cross-server joins, there would be a naming convention similar to this such that you could slip a fully specified table name in for the internal name (e.g. servername.databasename.owner.tablename) to achieve cross-server joins. Tell us how it works. Colin
From: grant@Manticore.COM (Grant J. Munsey) Newsgroups: comp.sys.next.programmer Subject: C++ support in 3.1 Message-ID: <380@gouche.UUCP> Date: 14 Jun 93 15:25:25 GMT Sender: grant@gouche.UUCP To my knowlege the C++ in 3.0 did not support Templates or Exception Processing. Does the 3.1 update change this? ---- Grant Munsey, Mainticore, Inc., (408)252-1135, fax: (408)446-9355 grant@manticore.com or uunet!ub-gate!gouche!grant
Newsgroups: comp.sys.next.programmer From: rob@lighthouse.com (Rob Kedoin) Subject: Re: cc -MM Message-ID: <1993Jun14.150057.296@lighthouse.com> Keywords: make depend, cc, precomps Sender: rob@lighthouse.com Organization: Lighthouse Design, Ltd. References: <1v4v1qINN9b7@darkstar.UCSC.EDU> Date: Mon, 14 Jun 1993 15:00:57 GMT I've run into the problem that Thomas Funke(thf@zelator.in-berlin.de) mentioned. Under 3.1, it seems that "cc -MM" fails to generate dependencies correctly for files which import precompile headers (eg. <appkit/appkit.h>) I've modified the /NextDeveloper/Makefiles/app/common.make to use the -no-precomp switch when the "cc -MM" is run. Reasonable dependencies seem to be created although it takes a very long time! --- Robert Kedoin rob@lighthouse.com Lighthouse Design, Ltd NeXTmail accepted and encouraged! 2929 Campus Drive - Suite 250 San Mateo, CA 94403 -- Robert Kedoin rob@lighthouse.com Lighthouse Design, Ltd NeXTmail accepted and encouraged! 2929 Campus Drive - Suite 250 San Mateo, CA 94403
Newsgroups: comp.sys.next.programmer From: howard@monitor.com (Howard Brenner) Subject: Thanks Message-ID: <C8MABL.uu@monitor.com> Sender: howard@monitor.com (Howard Brenner) Organization: Monitor Company / IE Date: Mon, 14 Jun 1993 15:14:08 GMT Thanks to all who responded to my Compaq memory problem. Changing the EISA memory value from Compaq to Linear did indeed solve the problem. Thanks again, Howard
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Objective-C or C++ ? Message-ID: <1993Jun13.154053.1532@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <ynakamur.739825149@sfu.ca> Date: Sun, 13 Jun 1993 15:40:53 GMT In article <ynakamur.739825149@sfu.ca> ynakamur@malibu.sfu.ca (Yasunobu Nakamura) writes: > Hello: > > Do you think it's better to learn Objective-C over C++ for the future? > If you want to earn money: C++ If you like hacking NeXTSTEP: Obj-C. :-) (To be serious: OBJ-C is very simple and easy to learn. In C++ you actually have to understand how the compiler works (see Stroustrups book) to really get into it. Of course you can only use a subset, as many people do, and live with it. ) -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Newsgroups: comp.sys.next.programmer From: jfr@RedBrick.COM (Jon Rosen) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <1993Jun14.174513.11319@RedBrick.COM> Sender: usenet@RedBrick.COM (Net News Account) Organization: Red Brick Systems, Los Gatos, CA References: <1993Jun9.170025.833@afs.com> <1993Jun11.105532.13448@elysia.fdn.org> Date: Mon, 14 Jun 1993 17:45:13 GMT In article <1993Jun11.105532.13448@elysia.fdn.org> luis@elysia.fdn.org writes: >On top of it all, have you looked at the size of the fonts they use in >that documentation ? Seems to me that using a smaller font size would >have saved a couple of pounds. > Luis, I don't know how old you are, but I am almost pushing up daisies at the ripe old age of 42 and my eyesight ain't what it used to be. (Of course, I am also a basketball referee and baseball umpire and no one who attends my games thinks my eyesight EVER was what it used to be :-) Anyway, I for one, appreciate the larger font in the books. I am also glad they finally made menus and system fonts size-adjustable in 3.0 since I got eyestrain working with the old menus which used a pea-sized font. You can always tell when new technology has been developed by "kids" under the age of 30 - everything is small, because they simply have no sense of human factors for people whose eyes have started to show signs of power-loss (i.e., us "old fogies"). BTW, this is not meant as a flame. I had the same blindside when I developed software when I was between 25 and 30. I didn't have the problem on the screen because we didn't have variable-size characters back then (in the old terminal days, it was all one size) but I printed our manuals using 10-pt type to do exactly what Luis suggested, save a few trees and some weight (plus some printing costs). I got tons of complaints from the over-40 set who had a hard time reading the docs. No, NeXT did it right. Stick with 12 or 14 point type in your docs so everyone can read it easily. Jon Rosen
From: t9116ts@tech.mis.cfc.com (Todd Swan) Newsgroups: comp.sys.next.programmer Subject: Distributed objects: tossing received reply msg Date: 14 Jun 1993 14:43:13 -0500 Organization: UTexas Mail-to-News Gateway Sender: daemon@cs.utexas.edu Message-ID: <9306141911.AA05217@tech.mis.cfc.com> I'm working on a distributed object application. (Well, actually two, client and server...) I'm getting this line from the server when the client has finished with a message from it: [NXConnection run] - tossing received reply msg Then the client keeps right on going but the server hangs until the timeout occurs. I'm using NS3.1 (Intel) PR1 (I've been whining about an upgrade...). Any thoughts? Thanks in advance, Todd -- Todd M. Swan tms@cfc.com "Finally, some good software for the PC" - Steve Jobs on NEXTSTEP for Intel Processors
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: Re: At wit's end about declaration initialization error in C Message-ID: <16BEDD456.UC512052@mizzou1.missouri.edu> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Mon, 14 Jun 1993 20:05:58 GMT Hi again, A few people sent me email, with various suggestions, but all were off target. The problem with the code is that the compiler doesn't like the brackets in the initialization - not my NULLs. Yes, it does compile under NS3.0 and/or a newer version of gcc, but that doesn't do me much good because the vast majority of machines on which I would be running this program have 2.1. If any of you would like the complete mess (2 files, 20K) I can NeXTmail it to you. Thanks to Gerben, Matthew, and Bill. Regards, David K. Drum uc512052@mizzou1.missouri.edu
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: Re: (DBKit) Is this a bug? Message-ID: <1993Jun14.182905.8004@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated References: <1vf0i0$393@steffi.demon.co.uk> Date: Mon, 14 Jun 1993 18:29:05 GMT In article <1vf0i0$393@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: > [dbModule fetchContentsOf:entity usingQualifier:qualifier]; // NO > //[dbModule fetchContentsOf:nil usingQualifier:qualifier]: // YES > > Why is it that the only line that will actually fetch successfully is > > [dbModule fetchContentsOf:nil usingQualifier:qualifier]; > Because fetchContentsOf: wants a fetch group, not an entity. -- Patrick Hester ph@pencom.com 212-513-7777 NeXT Mail OK =8(\/\) -<-@
Newsgroups: comp.sys.next.programmer From: ph@pencom.com (Patrick Hester) Subject: Re: DBKit fetchContentsOf question Message-ID: <1993Jun14.183348.8063@pencom.com> Sender: usenet@pencom.com (News system) Organization: Pencom Systems Incorporated References: <1vabs3$1la@steffi.demon.co.uk> Date: Mon, 14 Jun 1993 18:33:48 GMT In article <1vabs3$1la@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert Nicholson) writes: > > Why doesn't this fetch anything? The two delegate methods fire fine. > > [[dbModule rootFetchGroup] fetchContentsOf:entity > usingQualifier:qualifier]; try: [dbModule fetchContentsOf:[dbModule rootFetchGroup] usingQualifier:qualifier]; -- Patrick Hester ph@pencom.com 212-513-7777 NeXT Mail OK =8(\/\) -<-@
From: rogata@is-next.umd.edu (Richard Scott Ogata) Newsgroups: comp.sys.next.programmer Subject: Looping Sound Playback Date: 14 Jun 1993 20:59:11 GMT Organization: University Of Maryland, College Park, MD Message-ID: <1vioqv$avv@umd5.umd.edu> Does anyone have any bright ideas on how to play a digitized sound in a loop without breaks between iterations for an indeterminate number of times? The delegate method -didPlay: sender for the Sound object doesn't cut it. NXPlayStream looks like it might be useful for this, but its use is unclear. Has anyone out there tried to do this before? Rich Ogata rogata@arpa.mil
From: borzilda@NeXTwork.Rose-Hulman.Edu (David A Borzillo) Newsgroups: comp.sys.next.programmer Subject: Information on using "Bitmaps" for animation Date: 14 Jun 1993 21:19:50 GMT Organization: News Service at Rose-Hulman Message-ID: <1viq1mINN36r@master.cs.rose-hulman.edu> Keywords: bitmap, animation, graphics I'm attempting to do some simple animation using PostScript for the main view in my application. Unforutnately, on a color system the graphics are too slow. I'm interested in using Bitmap or the easiest "primitive" graphics mode to directly access the NeXT for graphics in my view. Are there any helpful books, files, etc. to help me along my journey? I have no experience in graphics programming other than little Applesoft BASIC applications (I'm not ashamed to admit it! <grin>). Thanks, -- -------------------------------------- David A. Borzillo borzilda@nextwork.rose-hulman.edu "We'll get the job done, don't worry." --------------------------------------
Newsgroups: comp.sys.next.programmer From: robert@sfu.ca (Robert Urquhart) Subject: Class documentation generator Message-ID: <1993Jun14.233432.28206@sfu.ca> Sender: news@sfu.ca Organization: Simon Fraser University, Burnaby, B.C., Canada Date: Mon, 14 Jun 1993 23:34:32 GMT I seem to recall someone posting about a program they had written that would take a header file and generate a template documentation file in the format used in the NeXTStep Reference. I can't seem to find this on the ftp sites. Can someone point me to it, or am I just hallucinating again? 8^} -- Rob Rob Urquhart email: robert@sfu.ca Academic Computing Services phone: 291-3650 FAX: 291-4242 "Words, Caravaggio. They have a power." Ondaatje, "The English Patient"
Newsgroups: comp.sys.next.programmer From: UC512052@mizzou1.missouri.edu (David K. Drum) Subject: Trying to contact Bill Spitzak (author of qubic) Message-ID: <16BED10E68.UC512052@mizzou1.missouri.edu> Sender: nobody@ctr.columbia.edu Organization: University of Missouri Date: Tue, 15 Jun 1993 00:13:44 GMT I am trying to reach Bill Spitzak, the author of qubic (3d tic-tac-toe). I sent mail to spitzak@mcimail.com, but received no reply. Bill, if you are on the net somewhere, please send me mail! Regards, David K. Drum uc512052@mizzou1.missouri.edu (no NeXT mail)
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Garbage Collection Message-ID: <1993Jun14.153907.958@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <C8JEoE.CIG@mailer.cc.fsu.edu> Date: Mon, 14 Jun 1993 15:39:07 GMT In article <C8JEoE.CIG@mailer.cc.fsu.edu> dekorte@ibm19.scri.fsu.edu (Stephen L. DeKorte) writes: > Which ObjC compilers support automatic garbage collection(if any)? > GNU, NeXT GNU, Stepstone? > None. But there is a small toolbox, which can be linked instead of standard-malloc/free which provides that kind of functionality for any C-Program (and therefore derivatives, too). It runs under the following machines: Sun 3 Sun 4 (except under some versions of 3.2) Vax under Berkeley UNIX Sequent Symmetry (no concurrency) Encore Multimax (no concurrency) MIPS M/120 (and presumably M/2000) (System V) IBM PC/RT (Berkeley UNIX) Note: Sun-3 means a 030-machine, thus it can be used with Next ! I forgot where I got it from (was it comp.sources.unix ?), but the author is boehm@rice.edu Also there is a description: ------------- This is intended to be a general purpose, garbage collecting storage allocator. The algorithms used are described in: Boehm, H., and M. Weiser, "Garbage Collection in an Uncooperative Environment", Software Practice & Experience, September 1988, pp. 807-820. -------------- I believe NeXTs MallocDebug uses a similar algorithm for finding leaks etc. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.advocacy Subject: Info on NeXTSTEP!!! Message-ID: <1vimhv$3uj@parsifal.umkc.edu> From: azahid@sparc1.cstp.umkc.edu (Zahid Abbasi) Date: 14 Jun 1993 20:20:15 GMT Distribution: world Organization: University of Missouri Kansas City Originator: azahid@sparc1 I have been trying to gather as much info about NeXTSTEP as possible. So far I have input from a lot of users who will probably recognize the questions, but I will appreciate if more "nexteers" can find time to share their experiences. 1) How do you rate NeXTStep as a development environment? 2) How much effort needs to be put in to learn NeXTSTEP programming(GUI, Obj-C etc.)? 3) On a 1 to 10(best) scale how do you rate NeXTSTEP against windows? 4) On a 1 to 10(best) scale how do you rate NeXTSTEP against Motif/X-windows? 5) Will you recommend NeXTSTEP to other poeple? Please be assured that these questions are for personal research only and not part of any corporate survey. Again thanks for your time. Zahid Abbasi. E-MAIL:azahid@sparc1.cstp.umkc.edu
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: DBKit question Date: 15 Jun 1993 04:38:37 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1vjjoeINN4uc@darkstar.UCSC.EDU> Back in 3.0, DBKit didn't support compound relationships, so I had to resort to undocumented DBRelationship methods to deal with this shortcoming. Now that 3.1 supports compound relationships, I'm trying to purge my code of undocumented messages. However, I still cannot seem to implement the following scenario without querying a DBRelationship about its source and destination attributes. I have a master-detail relationship and want to add a new detail record. Users shouldn't have to enter the values of the attributes that are part of the master-detail relationship; they should be automatically copied from the current master record. I now do this by stepping through the source and destination attributes in the relationship copying the values of the source attributes to the corresponding destination attributes. But this uses undocumented methods. What I need to do is use DBRecordList's getValue:forProperty:at: where the property is a relationship and then set the corresponding destination attributes with the DBValue obtained from the above method. But no method seems available. Has anyone got an answer to this problem? I must be overlooking something obvious. Thanks. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: 486 byte ordering Message-ID: <C8MCyA.4KG@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Trilithon Software References: <1993Jun12.172713.9412@Princeton.EDU> Date: Mon, 14 Jun 1993 16:10:57 GMT In article <1993Jun12.172713.9412@Princeton.EDU> paul@phoenix.Princeton.EDU (Paul Lansky) writes: > > >We have a cluster of black NeXT machines and >are contemplating getting a 486 machine to >break in. Unfortunately the byte ordering is >different on these machines. One is big endian >and the other little endian, (I forget which is >which). This, of course would create major problems >for sound and image files accessed across the network >between 68k and 486 machines. Shouldn't sound and image files formats remain constant? It seems to me that a well designed sound or image file format would not depend on the byte ordering of the computer that reads it. But hey, I'm just guessing.
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: Objective-C/C++ Message-ID: <C8ME4t.4n8@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Trilithon Software References: <ibhan.740031286@husc.harvard.edu> Date: Mon, 14 Jun 1993 16:36:28 GMT In article <ibhan.740031286@husc.harvard.edu> writes: >I'm thinking about going with NeXTStep when I return to school in >September. I know C, and want to move on. Is there a C++ compiler that >comes with the Dev package? Or only Obj-C? Even better, there is an Objective-C++ compiler. You can mix and match. (It is gcc, by the way) ____________________________________________________________ Mike Ferris All statements are true in some mike@lorax.com sense, false in some sense, Rubicon Software and meaningless in some sense. (510) 652-2039 Including this one.
From: aberno@godel.questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.next.programmer Subject: Re: Fast line moving in View? Message-ID: <1993Jun15.072631.10260@godel.questor.wimsey.bc.ca> Date: Tue, 15 Jun 1993 07:26:31 GMT References: <1vhdna$shf@nz12.rz.uni-karlsruhe.de> Sender: aberno@godel.questor.wimsey.bc.ca In article <1vhdna$shf@nz12.rz.uni-karlsruhe.de> hanssgen@irau38.ira.uka.de (Stefan Haenssgen) writes: > A friend of mine has the following problem: > > > He wants to move two differently colored vertical lines in a view > (i.e. an instance of the class View). > Each time a line is moved to a new position, the display method > of the view has to be invoked to draw the lines. What you want to use is instance drawing. Look up PSsetinstance() and PSnewinstance() in the docs. Instance drawing is temporary drawing done directly to the screen, and can appear/disappear in a flash. The only trick is that there is no clipping, so you have to "color within the lines" or you will go all over the screen. -Anthony
Newsgroups: comp.sys.next.programmer.ctl Control: cancel <1993Jun13.042053.15681@doug.cae.wisc.edu> From: ljung@cae.wisc.edu (David Ljung) Subject: cmsg cancel <1993Jun13.042053.15681@doug.cae.wisc.edu> Organization: College of Engineering, Univ. of Wisconsin--Madison Distribution: usa Date: 15 Jun 93 02:51:30 CDT Message-ID: <1993Jun15.025130.26974@doug.cae.wisc.edu> Originator: ljung@hprisc-8.cae.wisc.edu References: <1993Jun13.042053.15681@doug.cae.wisc.edu> <1993Jun13.042053.15681@doug.cae.wisc.edu> was cancelled from within rn.
Newsgroups: comp.sys.next.software,comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc From: marwood@cpsc.ucalgary.ca (David Marwood) Subject: Using the Music Kit Message-ID: <C8D6F5.149@cpsc.ucalgary.ca> Followup-To: comp.sys.next.software Summary: Can the Music Kit produce _real_ music? Keywords: Music Kit, NeXT, sound, experiment, MIDI Sender: news@cpsc.ucalgary.ca (News Manager) Organization: University of Calgary Computer Science Date: Wed, 9 Jun 1993 17:11:28 GMT NeXT users, I'm trying to use a NeXT to synthesize music for a sound experiment. Subjects will be presented with a sound and asked to identify it by making a selection on the computer screen. The music I'm trying to generate will have only a few notes (about 2 to 10 seconds worth) but the duration of each note must be fairly accurate (within about 0.1 seconds). The notes must sound like distinguishable, identifiable instruments (piano, flute, horn, etc.). The sounds should not be pre-recorded (should be produced dynamically) since there are at least 200 distinct sounds to be produced by varying only two or three parameters. The question is, how possible is this on a NeXT station? While I'm not familiar with the NeXT, I'm told by our local guru that using the Music Kit is the way to go. While I have played with Ensemble, I was unable to produce an instrument that sounded unlike a harp or flute. Can different instruments be produced by the Music Kit? Will I have to program the instruments myself or are there distinguishable "canned" instruments available? What degree of accuracy is available with the Music Kit? Is there a good chance the duration of a note can be specified within 0.1 seconds? Finally, if there are any NeXT music experts out there, we are comparing the NeXT to buying about 500$Cdn worth of MIDI equipment to attach to a Mac or IBM. Can the Music Kit compare to a MIDI box? Are both able to meet my requirements? Thanks in advance for all your help. If possible, please e-mail any responses so they aren't lost among the other message in these newsgroups. Thanks... - David Marwood - marwood@cpsc.ucalgary.ca
Newsgroups: comp.sys.next.programmer From: gemoe@proximus.north.de (Gerhard Moeller) Subject: Re: #pragma to prevent "defined but not used" message? References: <1v99g6$ijl@ni.umd.edu> Sender: gemoe@proximus.north.de (Gerhard Moeller) Organization: Gerhard Moeller, German NeXT User Group, Oldenburg. Date: Sun, 13 Jun 1993 21:36:40 GMT Message-ID: <1993Jun13.213640.1182@proximus.north.de> Distribution: usa In article <1v99g6$ijl@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: > #define RCSID(str) __inline__ extern char *____foo___rcsid(const char *foo) { \ > static const char rcsid[] = \ > str " $Product: PNI " \ > "[Copyright (c) 1993 by TransSys, Inc. All rights reserved] $";\ > return ____foo___rcsid(rcsid); \ > } > > and then just use: > > #include "rcsid.h" > RCSID("$Header$"); > > at the top of each file. This is really great, but I would also include sccs-support: RCSID("@(#)$Id$") and in the header: #define RCSID(str) __inline__ extern char *____foo___rcsid(const char *foo) { \ static const char rcsid[] = \ str "\n@(#)$Product: PNI " \ "[Copyright (c) 1993 by TransSys, Inc. All rights reserved] $";\ return ____foo___rcsid(rcsid); \ } (The \n cleans it a bit up...) Gerhard. -- +---------------------------< principiis obsta! >---------------------------+ N Gerhard Moeller, Teichstrasse 12, 2900 Oldenburg (FRG) [*: 02/21/1968] N e Private: gemoe@proximus.north.de Phone (voice): +49-441-75520 e X Uni: Gerhard.Moeller@arbi.Informatik.Uni-Oldenburg.DE NeXTmail X T Z-Net: Gerhard.Moeller@uniol.zer encouraged! T +-> NoGeNUG - Northern German NeXT User Group: NoGeNUG@proximus.north.DE <-+
Newsgroups: comp.sys.next.programmer From: ronchet@itncpl Subject: Re: Threads, and etc... Content-Type: text/plain Message-ID: <root.93Jun15153858@itncpl> Sender: news@itnnext4.cineca.it (Network news administrator) Organization: Dipartimento di Informatica e Studi Aziendali, Universita' di Trento References: <9JUN93.16134945@enh.nist.gov> Mime-Version: 1.0 Date: Tue, 15 Jun 1993 14:38:58 GMT Get the book by Garfinkel and Mahoney (NextStep One: Programming). There is a good example with many comments and source code. (GraphPaper). Marco Ronchetti
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: Drawing in DPS Context Date: 15 Jun 1993 15:34:28 GMT Organization: University of Michigan EECS Dept. Message-ID: <1vkq64$ash@zip.eecs.umich.edu> Keywords: context Hi all, In my short and very unstable program, I create a context using DPSCreateContext() and creates a window with a button in it using the loadNibSection:owner:withNames message to NXApp. I also synchronize this context with the application using DPSSynchronizeContext(). When I run the program using the debugger, the following message shows up: DPS client library error: PostScript program error, DPSContext b7e74 %%[ Error: typecheck; OffendingCommand: currentwindowdict ]%% I looked up in Librarian about currentwindowdict, but couldn't understand what "dictionary" meant or what causes this "typecheck" error. Does anyone know what this error message mean? Does anyone know, in general, how to create and display a window in a context that you create in a program? --Hyong Sop Shim
From: jfosback@darmok.uoregon.edu (Jason Fosback) Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin,comp.sys.next.programmer Subject: NS 3.1 loginwindow options?? Message-ID: <1vksui$bel@pith.uoregon.edu> Date: 15 Jun 93 16:21:38 GMT Article-I.D.: pith.1vksui$bel Organization: University of Oregon Network Services Does anyone know the "new" dwrites for 3.1's login window? The old dwrites from NS 3.0 no longer seem to work, and I'd like to know how to customize the fade timeout, etc. Thanks! -jason _________________________________________________________________ Jason Fosback, User Support Analyst | No sir, I didn't like it ---- University of Oregon ---- | -R&S Internet: jfosback@oregon.uoregon.edu | Star Trek: NeXT mail: jfosback@darmok.uoregon.edu | The NeXT Generation...
From: tms@cfc.com (Todd M. Swan) Newsgroups: comp.sys.next.programmer Subject: Re: Distributed objects: tossing received reply msg Date: 15 Jun 1993 12:49:47 GMT Organization: Chrysler Financial Corporation Message-ID: <1vkghb$3n9@tech.mis.cfc.com> References: <9306141911.AA05217@tech.mis.cfc.com> In article <9306141911.AA05217@tech.mis.cfc.com> I wrote: > I'm working on a distributed object application. (Well, actually > two, client and server...) I'm getting this line from the server > when the client has finished with a message from it: > > [NXConnection run] - tossing received reply msg > > Then the client keeps right on going but the server hangs until the > timeout occurs. I'm using NS3.1 (Intel) PR1 (I've been whining about > an upgrade...). > > Any thoughts? Let me clarify this. I get the message only when I run the server on a NeXT (NS 3.0) but it behaves the same way whichever machine I run it on. That is, when I run the server on an Intel box I get no message but it still hangs. Thanks again, Todd -- Todd M. Swan tms@cfc.com
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: Re: Fast line moving in View? Message-ID: <C8oEns.9qr@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1vhdna$shf@nz12.rz.uni-karlsruhe.de> <1993Jun15.072631.10260@godel.questor.wimsey.bc.ca> Date: Tue, 15 Jun 1993 18:43:03 GMT In article <1993Jun15.072631.10260@godel.questor.wimsey.bc.ca> aberno@godel.questor.wimsey.bc.ca writes: >What you want to use is instance drawing. Look up PSsetinstance() and >PSnewinstance() in the docs. Instance drawing is temporary drawing done >directly to the screen, and can appear/disappear in a flash. The only >trick is that there is no clipping, so you have to "color within the >lines" or you will go all over the screen. Instance drawing does get clipped by current clipping path.... -- :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com ::
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: DBKit question (Relationships b/w dbmodels?) Message-ID: <1993Jun15.144739.8587@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1993Jun14.145836.10713@midway.uchicago.edu> Date: Tue, 15 Jun 93 14:47:39 GMT In article <1993Jun14.145836.10713@midway.uchicago.edu> colin@agincourt.bsd.uchicago.edu (& Garrett) writes: > In article <199306131145.AA03655@steffi.demon.co.uk> Robert Nicholson > <robert@steffi.demon.co.uk> writes: > > A couple of people have told me that DBKit supports relationships over > > different servers. This is something I'll believe when I see it. > > [stuff deleted] > > Well, obviously you have to have the support in your DBMS first. > I don't know about Oracle or anything else, but with Sybase you don't get > this by default. For an extra >$25,000 you can get some software that > supports this, and I think it also supports other DBMS platforms (i.e. you > can do joins between your Sybase and your Oracle server). Performance is > probably not one of the strong points. > DBModeler doesn't even have support for cross-_database_ joins, > let alone cross-server joins. However, in the case of cross-database > joins (on the same server), there's an easy way to get around this. > Create both entities in your model. For the entities that are actually in > the default database (as determined by the login string), the external and > internal names for the entity will be the same, and will only need to > consist of the table name. For the entities that are actually on the > other database, just change the internal names to be fully specified, i.e. > databasename.owner.tablename. Presto, cross-database joins. It's > unfortunate DBEntities doesn't support something like -setInternalName:. > So I would guess that if your DBMS supports cross-server joins, > there would be a naming convention similar to this such that you could > slip a fully specified table name in for the internal name (e.g. > servername.databasename.owner.tablename) to achieve cross-server joins. > Tell us how it works. > > Colin DBKit does the joins across databases and servers in the font end not the back end. As far as I know you must make the relationship in code not in DBModeler. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: DBKit question Message-ID: <1993Jun15.153351.8662@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <1vjjoeINN4uc@darkstar.UCSC.EDU> Date: Tue, 15 Jun 93 15:33:51 GMT In article <1vjjoeINN4uc@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > > Back in 3.0, DBKit didn't support compound relationships, so I had to resort to > undocumented DBRelationship methods to deal with this shortcoming. Now that > 3.1 supports compound relationships, I'm trying to purge my code of > undocumented messages. > > However, I still cannot seem to implement the following scenario without > querying a DBRelationship about its source and destination attributes. I have > a master-detail relationship and want to add a new detail record. Users > shouldn't have to enter the values of the attributes that are part of the > master-detail relationship; they should be automatically copied from the > current master record. I now do this by stepping through the source and > destination attributes in the relationship copying the values of the source > attributes to the corresponding destination attributes. But this uses > undocumented methods. What I need to do is use DBRecordList's > getValue:forProperty:at: where the property is a relationship and then set the > corresponding destination attributes with the DBValue obtained from the above > method. But no method seems available. Has anyone got an answer to this > problem? I must be overlooking something obvious. > > Thanks. > -- > > Art Isbell Cubic Solutions > NeXT Registered Developer #745 NEXTSTEP software development and consulting > NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 > USmail: 95018-9442 Fax: (408)335-2515 I would hope that compound relationships work like simple relationships. DBKit will copy the key values for the join when it is a simgle field so I hope it will copy fields for compound keys. We have a lot of master/detail and just drag the master and detail fields to the master and detail table views and it does the join. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: Duplicating Windows Date: 15 Jun 1993 19:55:51 GMT Organization: University of Michigan EECS Dept. Message-ID: <1vl9g7$hk7@zip.eecs.umich.edu> Keywords: Windows Hi all, Does anyone know of ways to duplicate windows in the program? That is, after loading a nib file, I am trying to make an identical window to be displayed in another context. The window loaded up from the nib file only has a button in it. If anyone knows of ways to duplicate an existing window, please let me know ASAP. Thanks, Hyong Sop Shim
From: finton@barney.cs.wisc.edu (David J. Finton) Newsgroups: comp.sys.next.programmer Subject: using replaceSelWithRichText and printPSCode Summary: will half-shaded text print half-shaded? Message-ID: <1993Jun15.202727.11363@cs.wisc.edu> Date: 15 Jun 93 20:27:27 GMT Sender: news@cs.wisc.edu (The News) Distribution: na Organization: University of Wisconsin, Madison -- Computer Sciences Dept. My app writes data to a ScrollView and I want to be able to use printPSCode to print it, including the shading which shows which data is currently inaccessible. I used replaceSel to add the text, and setSelGray to change its shading -- and it prints, but with no shading information. From Garfinkel and Mahoney's book I got the idea of using replaceSelWithRichText to directly add shaded text. Will this allow the shading to be visible when I print the text with printPSCode? Thanks, David J. Finton
From: annard@theborg.stack.urc.tue.nl (Annard Brouwer) Newsgroups: comp.sys.next.programmer Subject: Speed of Distributed Objects Date: 15 Jun 1993 18:58:47 GMT Organization: the Borg Distribution: world Message-ID: <1vl657INN9i@theborg.stack.urc.tue.nl> Hello World, Can anyone out there give me some information about the speed of using Distributed Objects? What I mean with speed is the following: say we have an ethernet link between two machines and they are sending each other relatively small objects. What is the delay between sending and receiving them? What happens if more machines want to exchange data this way. And is it possible to find out what protocol is used? I need to know this because I'd like to use the client-server paradigm for Multi-User Action Games. Any info appreciated, Annard -- Annard Brouwer annard@stack.urc.tue.nl (NeXTmail appreciated) People? You can forget it.
From: annard@theborg.stack.urc.tue.nl (Annard Brouwer) Newsgroups: comp.sys.next.programmer Subject: Keymaps, how to? Date: 15 Jun 1993 20:45:10 GMT Organization: the Borg Distribution: world Message-ID: <1vlccmINNcf@theborg.stack.urc.tue.nl> Hello World, For implementing a program I need to find out which character of a Font maps to which keyboard character. In the Release Notes they mention a document called "Key Mappings on the NeXT Computer". I couldn't find this on my machine. Where is it? The following is taken from the 3.0 Release Notes: > NX_KeyMapping * NXSetKeyMapping(NXEventHandle handle, NXKeyMapping *keymap) > > This call sets the key mapping used by the event system to the > one given in the structure pointed to by ( NXKeyMapping *)keymap. > See the document ``Key Mappings on the NeXT Computer'' for more > details on a key mapping string. Key mappings are created by > the KeyMap utility program. The call returns the keymapping, or > NULL on failure. Possible causes of failure include invalid, > inappropriate, or obsolete key mappings. > I think I need to know how these key mapping strings work. Any help is much appreciated! Annard -- Annard Brouwer annard@stack.urc.tue.nl (NeXTmail appreciated) People? You can forget it.
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.lang.postscript,comp.sys.next.programmer Subject: WHY "false setstrokeadjust" when importing EPS ?? Date: 15 Jun 1993 22:03:46 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1vlh02$945@agate.berkeley.edu> Keywords: setstrokeadjust, Level 2, Display PostScript, DPS, NeXT, stroke adjustment I have a question to PS/DPS gurus regarding why "setstrokeadjust" must be turned off when including an EPS. The recommended RED BOOK code below produces ugly results when I produce an annotated EPS or print file that includes other EPS files, and display the final EPS file on the screen using a presentation software on a Display PostScript system. (Concurrence on NeXT). Drawing software I am using is Virtuoso, but this can happen with any program that is new enough to know about Level-2 PS, because it has to do with the recommended method of including EPS files in a new drawing. Just to clarify, the imported EPS file displays fine *within* the drawing software when I am editing the drawing. But the EPS or print file generated by the software is ugly when viewed on the screen, if that includes another EPS embedded in it. Here are the relevant sections in the Red Book. On page 720 of the PostScript Red Book (2-nd ed.): "Also, if printing directly to a Level-2 printer, the overprint and stroke adjust graphics state parameters must be set to false. This can be done by conditionally using the following code segment: false setoverprint false setstrokeadjust " And on page 725, in Example H.2, the code to do this is presented: /languagelevel where {pop languagelevel 1 ne {false setstrokeadjust false setoverprint } if } if The problem is that the code in Example H.2 turns off stroke adjustment for the Level-2 *screen* output device (Didplay PostScript) as well, which causes ugly output on the screen. This is tolerable if the only purpose of a screen display is "preview", but is very annoying when you are making a final presentation *on the screeen* using such programs as Concurrence for NEXTSTEP by Lighthouse. This kind of use is a growing trend, so you just can't assume that the PS/EPS output that includes imported EPS is destined only to a printer. What should I do, then, in the prep code for EPS importing to guarantee good quality output for *both* the Level-2 screen and printer? Why does it (setstrokeadjust) have to be turned off in the first place? Any thoughts anyone, ... Glenn? Thanks. Izumi -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
From: edx@cc.usu.edu Newsgroups: comp.sys.next.programmer Subject: Stripping Fat Binaries Message-ID: <1993Jun15.165252.69239@cc.usu.edu> Date: 15 Jun 93 16:52:52 MDT Organization: Utah State University How do I strip out unwanted versions in a fat binary? I don't want to waste my disk space on useless/unnecessary Intel code. thanks.
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: WHY "false setstrokeadjust" when importing EPS ?? Message-ID: <1993Jun15.234242.10365@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1vlh02$945@agate.berkeley.edu> Date: Tue, 15 Jun 1993 23:42:42 GMT Izumi Ohzawa writes about setstrokeadjust. Probably the best way to deal with this is to muck with the EPS file itself and turn strokeadjust back on if the resolution of the current device is too low (< 288dpi): /setstrokeadjust where { { pop 1 0 dtransform pop 4.0 lt { true setstrokeadjust } if } if This is kind of gross, but effective. So why setstrokeadjust off at all? Let's go through a common case - stroking a thin outline around a filled object. With strokeadjust on, the stroked line will generally end up thinner than if it were not adjusted. Also, some of the endpoints along the way get tweaked to make them mesh nicely and look pretty. This has the unfortunate and unavoidable side effect of sometimes letting color from the filled portion "bleed" through the stroke. With strokeadjust off, the line ends up heavier, and there is no bleed through. On devices of at least 300dpi, the difference between the thin and the thick lines is negligible, much smaller than on a 72dpi screen, and so the effect of having strokeadjust on in a printer barely noticible - but bleedthrough is a more serious problem. So having strokeadjust turned off is what you want in general. But on a display, with big fat pixels, the non-adjusted lines end up thick to the point of being ugly (from overscanning). The comment in the RedBook states that it is trying to set the strokeadjust to it's default - unfortunately, for a display, the default is "true" and setting it blindly to false is incorrect. -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: DBKit question (Relationships b/w dbmodels?) Date: Tue, 15 Jun 1993 21:12:47 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <Eg7bCD200WA7Ekh58i@andrew.cmu.edu> In-Reply-To: <1993Jun15.144739.8587@uunet!cbmvax!xmws!kripalu> Excerpts from netnews.comp.sys.next.programmer: 15-Jun-93 Re: DBKit question (Relatio.. by harit@kripalu.com > DBKit does the joins across databases and servers in the font end not > the back end. Yes. > As far as I know you must make the relationship in code not in DBModeler. I don't know... What if you defined a related entity in both DBModel's? (For both the Oracle-DBModel and the Sybase-DBModel.) Could you then drag that relationship to a second DBModule inside IB? Would that work? -David.
From: marcus@ursula.ee.pdx.edu (Marcus Daniels) Newsgroups: comp.lang.postscript,comp.sys.next.programmer Subject: Changing fill color according to position Date: 15 Jun 1993 21:53:07 -0700 Message-ID: <1vm8vj$di0@ursula.ee.pdx.edu> Summary: Changing transfer function according to locatation during fill? Keywords: clip settransfer postscript contour Is it possible to determine a point's device coordinates during a fill? I want to compute gray-level as a function of position (it's for areas of a probability density function). I realize one method would be to use the contour path as a clipping path and clip an `image' block computed from a bounding box of the clipping path. I was wondering, though, if it would be possible to `fill' the path, using settransfer function to modify output density according to location. I'm wondering if device x,y coordinates could be requested somehow once inside the settransfer function (called by the fill). Even if this is possible, would it be more efficient than just using a clipping path? thanks, marcus
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Re: WHY "false setstrokeadjust" when importing EPS ?? Date: 16 Jun 1993 06:56:40 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <1vmg78$jmf@agate.berkeley.edu> References: <1vlh02$945@agate.berkeley.edu> In article <1vlh02$945@agate.berkeley.edu>, I wrote: >I have a question to PS/DPS gurus regarding why "setstrokeadjust" >must be turned off when including an EPS. > >The recommended RED BOOK code below produces ugly results when I >produce an annotated EPS or print file that includes other EPS >files, and display the final EPS file on the screen using a >presentation software on a Display PostScript system. (Concurrence >on NeXT). Drawing software I am using is Virtuoso, but this can >happen with any program that is new enough to know about Level-2 PS, >because it has to do with the recommended method of including EPS >files in a new drawing. Then, Scott Byer gave me a suggestion: >Probably the best way to deal with this is to muck with the EPS >file itself and turn strokeadjust back on if the resolution of the >current device is too low (< 288dpi): > >/setstrokeadjust where { > { pop 1 0 dtransform pop 4.0 lt { true setstrokeadjust } if } if I now have a patch that fixes this problem for Virtuoso, so I don't have to muck with EPS each time I create one. If anyone wants it, I can post or NeXTMail the patch to you. The patch is applied to file Virtuoso.app/psstr.s. [It needs a little trick because psstr.s is apparently indexed, so we must keep the offset and size of string blocks unchanged.] I think it won't break anything, but I offer no guarantees. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: luis@elysia.fdn.org (Luis Arias) Subject: Re: Class documentation generator Message-ID: <1993Jun15.162058.2610@elysia.fdn.org> Sender: luis@elysia.fdn.org Organization: Elysia - Rueil_Malmaison, France. References: <1993Jun14.233432.28206@sfu.ca> Date: Tue, 15 Jun 1993 16:20:58 GMT In article <1993Jun14.233432.28206@sfu.ca> robert@sfu.ca (Robert Urquhart) writes: > I seem to recall someone posting about a program they had written that would > take a header file and generate a template documentation file in the format > used in the NeXTStep Reference. I can't seem to find this on the ftp sites. Can > someone point me to it, or am I just hallucinating again? 8^} > -- > Rob > > Rob Urquhart email: robert@sfu.ca > Academic Computing Services phone: 291-3650 FAX: 291-4242 > "Words, Caravaggio. They have a power." > Ondaatje, "The English Patient" Yes, that program is called ManPagesFromHeaders by Guy Roberts of Object Skills Ltd. I got it from the purdue mail server by sending the following to archive-server@cc.purdue.edu: path luis@elysia.fdn.org send next/submissions/ManPagesFromHeaders.tar.Z archiver nextmail I think this program is great ! --- Luis Arias President Elysia, Inc. 23, rue Buffon 92500 RUEIL-MALMAISON FRANCE [33] (1) 47 49 61 96 [33] (1) 47 14 99 08 fax luis@elysia.fdn.org (NeXTmail ok) -- Luis Arias President Elysia, Inc. 23, rue Buffon
Newsgroups: comp.sys.next.programmer From: robertn@penny.demon.co.uk (Robert Nicholson) Subject: Oracle VS Sybase Distribution: world Date: Wed, 16 Jun 1993 08:38:12 +0000 Message-ID: <9306160832.AA00886@penny.demon.co.uk> Sender: usenet@demon.co.uk I am currently interested in obtaining people's opinions on these two Database Server vendors. Who would you say has the better developer support? Please reply to robertn@penny.demon.co.uk as I don't currently have access to news. Cheers.
Newsgroups: comp.sys.next.programmer From: gordie@cyclesoft.com (Gordie Freedman) Subject: Re: Stripping Fat Binaries Message-ID: <1993Jun16.092711.2002@netcom.com> Sender: gordie@netcom.com Organization: Cyclesoft Media Works References: <1993Jun15.165252.69239@cc.usu.edu> Date: Wed, 16 Jun 1993 09:27:11 GMT In article <1993Jun15.165252.69239@cc.usu.edu> edx@cc.usu.edu writes: > > How do I strip out unwanted versions in a fat > binary? I don't want to waste my disk space > on useless/unnecessary Intel code. > > thanks. > > on 3.1 systems: GoofyShellPrompt% man lipo or M-x man lipo :-) -- >>> Gordie Freedman -> gordie@cyclesoft.com NeXTMail Yes! >>> Thou shalt not inline functions more complicated than 20
Newsgroups: comp.sys.next.programmer From: matt@drefla.mese.com (Matt Brandt) Subject: Re: 486 byte ordering Message-ID: <1993Jun16.003822.662@drefla.mese.com> Sender: matt@drefla.mese.com Organization: Applied Engineering References: <C8MCyA.4KG@lorax.com> Date: Wed, 16 Jun 1993 00:38:22 GMT In article <C8MCyA.4KG@lorax.com> mike@lorax.com (Mike Ferris) writes: > In article <1993Jun12.172713.9412@Princeton.EDU> > paul@phoenix.Princeton.EDU (Paul Lansky) writes: > > > > > >We have a cluster of black NeXT machines and > >are contemplating getting a 486 machine to > >break in. Unfortunately the byte ordering is > >different on these machines. One is big endian > >and the other little endian, (I forget which is > >which). This, of course would create major problems > >for sound and image files accessed across the network > >between 68k and 486 machines. > > Shouldn't sound and image files formats remain constant? It seems to me > that a well designed sound or image file format would not depend on the > byte ordering of the computer that reads it. But hey, I'm just guessing. I believe that object archiving methods (write and read) will handle the byte ordering problem automatically. If you do direct writes of binary info in a program then you have to worry about it yourself but if you let objects write themselves to streams and use the NXWriteType and NXReadType procedures it all gets taken care of for you. matt
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: need RARPD on NeXT ... Message-ID: <1993Jun16.120925.3742@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun14.131703.11913@bernina.ethz.ch> Date: Wed, 16 Jun 1993 12:09:25 GMT In article <1993Jun14.131703.11913@bernina.ethz.ch> merz@ips.id.ethz.ch (Andreas Merz) writes: > I have tried two version of rarpd from the Internet, but i can >not compile this programs. The only version I've seen in source form is part of the tcpdump-2.2.1 distribution. What do others consider a "reasonable" publicly-available [UNIX] implementation? -=EPS=-
From: pkron@corona.com (Peter Kron) Newsgroups: comp.sys.next.programmer Subject: Tracking down app failure Message-ID: <101.UUL1.3#16216@corona.com> Date: Wed, 16 Jun 93 12:32:16 PDT Organization: Corona Design, Inc., Seattle, WA A program I have been working on started failing when I execute it via the RUN button in ProjectBuilder. It was built in debug mode, and works fine via the debug button. It also works fine if launched from the Workspace Manager. When the app fails like this, it just closes down. I can't find any termination messages anywhere. It used to be that exit messages (such as "does not respond to") would show up in the Console if no debug Terminal was present, but that doesn't seem to be the case any longer. (I am using NS/FIP 3.1) The app doesn't stick around long enough to attach it from gdb (since I have to determine it's process id first). Suggestions on how to attack this appreciated. Thanks --------------- Peter Kron P.O. Box 51022 Corona Design, Inc. Seattle, WA 98115-1022 Peter_Kron@corona.com
Newsgroups: comp.sys.next.programmer From: Kai.Buerhoop@arbi.informatik.uni-oldenburg.de (Kai Buerhoop) Subject: How to load a RIB? Organization: University of Oldenburg, Germany Date: Wed, 16 Jun 1993 13:40:04 GMT Message-ID: <1993Jun16.134004.11000@arbi.Informatik.Uni-Oldenburg.DE> Sender: news@arbi.Informatik.Uni-Oldenburg.DE Hi! I've got the following problem: I've got a .rib-file and i've got a view of the N3DCamera class. How do I get the view to display the .rib-code? (mailed replies preferred) Thanx in advance Kai
From: marcos@kaleida.com (Paul Marcos) Newsgroups: comp.sys.next.programmer Subject: Re: NS 3.1 loginwindow options?? Date: 16 Jun 1993 15:31:22 GMT Organization: Kaleida Labs, Inc. Distribution: world Message-ID: <1vnecbINNsa@golden.kaleida.com> References: <1vksui$bel@pith.uoregon.edu> In article <1vksui$bel@pith.uoregon.edu> jfosback@darmok.uoregon.edu (Jason Fosback) writes: > Does anyone know the "new" dwrites for 3.1's login window? The old > dwrites from NS 3.0 no longer seem to work, and I'd like to know how to > customize the fade timeout, etc. > Specifically, you can use dwrite loginwindow TimeToDim <#_of_seconds> to controll the amount of time until the screen saver kicks in. The default is 1800 seconds, I think. Also, does anybody have any details on the new ScreenSaver.bundle deal that they're using now? There's a .nib for the screen saver but no apparent way of getting to it. Can we write our own? What's up? Paul ................................................................... Paul Marcos NeXTMail encouraged! Kaleida Labs, Inc. marcos@kaleida.com
Newsgroups: comp.sys.next.programmer From: pasqua@adobe.com Subject: Re: Changing fill color according to position Message-ID: <1993Jun16.163633.24172@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1vm8vj$di0@ursula.ee.pdx.edu> Date: Wed, 16 Jun 1993 16:36:33 GMT In article <1vm8vj$di0@ursula.ee.pdx.edu> marcus@ursula.ee.pdx.edu (Marcus Daniels) writes: > > Is it possible to determine a point's device coordinates during a fill? > > I want to compute gray-level as a function of position (it's for areas > of a probability density function). I realize one method > would be to use the contour path as a clipping path and clip an > `image' block computed from a bounding box of the clipping path. > > I was wondering, though, if it would be possible to `fill' the path, > using settransfer function to modify output density according to > location. I'm wondering if device x,y coordinates could be requested > somehow once inside the settransfer function (called by the fill). > > Even if this is possible, would it be more efficient than just using > a clipping path? > > thanks, > marcus Nope, you can't do that. First, there is no way to ask what pixel is currently being rendered, and second, transfer functions are not evaluated over and over again. For performance reasons, they are evaluated when necessary and the results are cached. Joe Pasqua
Newsgroups: comp.sys.next.programmer From: andrew@stone.com (Andrew Stone) Subject: Re: Stripping Fat Binaries Message-ID: <1993Jun16.144019.309@stone.com> Sender: andrew@stone.com Organization: Stone Design Corp References: <1993Jun15.165252.69239@cc.usu.edu> Date: Wed, 16 Jun 1993 14:40:19 GMT In article <1993Jun15.165252.69239@cc.usu.edu> edx@cc.usu.edu writes: > > How do I strip out unwanted versions in a fat > binary? I don't want to waste my disk space > on useless/unnecessary Intel code. > > thanks. Check out "man lipo", what a sense of humor, eh? "Lipo creates, thins and operates on fat files...." andrew -- ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>|| !! Andrew Stone !! (505) 345-4800 !! !! andrew@stone.com <> Stone Design Corp !! ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>||
Newsgroups: comp.sys.next.programmer From: anderson (Ken Anderson) Subject: Re: Stripping Fat Binaries Message-ID: <1993Jun16.152740.2914@biztech.com> Sender: news@biztech.com Organization: Biztech, Inc. References: <1993Jun15.165252.69239@cc.usu.edu> Date: Wed, 16 Jun 1993 15:27:40 GMT In article <1993Jun15.165252.69239@cc.usu.edu> edx@cc.usu.edu writes: >How do I strip out unwanted versions in a fat >binary? I don't want to waste my disk space >on useless/unnecessary Intel code. >thanks. The Installer.app asks what binaries you want to install, so you shouldn't have a problem with new programs. However, to strip down a fat file, there is a command line program called lipo. Ken Anderson anderson@biztech.com Stamford, CT
From: fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: How do I know what mode a palette is in? Date: 16 Jun 1993 17:10:04 GMT Organization: News Service at Rose-Hulman Message-ID: <1vnk5cINNhn8@master.cs.rose-hulman.edu> Keywords: palette I am creating a palette object under NS2.1 and I want it to appear differently when it is on the Palette panel than when it is in the Test Interface mode of IB; e.g. CustomView. This object is a subclass of Box. I want it to be bordered and titled when sitting on the palette panel and when it is dropped into a window. When in Test Interface mode, or compiled in a program, I want to it to have no border and no title. How do I know what "mode" (InterfaceBuilder, InterfaceBuilder but testing interface, Compiled program) the object is in? Is this possible for a mere developer? -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "Don't ever put your brain on a runaway train 'cause it won't be coming back!" - Mad At The World.
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: C++ support in 3.1 Message-ID: <1993Jun15.203258.14854@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <380@gouche.UUCP> Date: Tue, 15 Jun 1993 20:32:58 GMT In article <380@gouche.UUCP> grant@Manticore.COM (Grant J. Munsey) writes: > To my knowlege the C++ in 3.0 did not support Templates or > Exception Processing. Does the 3.1 update change this? gcc2.4 seems to stabilize now. The newest gcc is definitely THE choice for C++, not the old one NEXT delivers. (I heard, for NS3.1, it is gcc2.2). So the more important question is: Does NeXT' old GDB for 3.1 work well with newer G++ ? Unfortunately we cannot compile the newest gdb on NeXT. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: WHY "false setstrokeadjust" when importing EPS ?? Message-ID: <1993Jun16.172908.26653@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1vmg78$jmf@agate.berkeley.edu> Date: Wed, 16 Jun 1993 17:29:08 GMT As a followup to the strokeadjust thingy, for those who are writing applications: The example code in the RedBook is slightly incorrect. It smashes strokeadjust to false. This isn't correct for all platforms, as the default for strokeadjust under Display PostScript is <currently> true. Instead, your application should get the default strokeadjust in your application's prolog, and tuck it away for use in the EPS inclusion boilerplate: %!PS-Adobe-... .. %%Prolog /defaultstrokeadjust /strokeadjust where { pop [ currentstrokeadjust /setstrokeadjust ] cvx bind def } { [] cvx def } ifelse .. .. %% EPS inclusion boilerplate /BeginEPSF { .. 1 0 setmiterlimit [] 0 setdash newpath defaultstrokeadjust } bind def -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: brad@instep.wimsey.bc.ca Subject: Distributed Objects and sending data by reference - not freeing! Message-ID: <1993Jun16.200926.1248@instep.wimsey.bc.ca> Sender: brad@instep.wimsey.bc.ca (Bradley Head) Organization: InStep Mobile Communications Inc. Date: Wed, 16 Jun 1993 20:09:26 GMT Keywords: distributed Reply-To: brad@instep.wimsey.bc.ca Distribution: world According to NeXTDev Docs, Chapter 6 "Distributed Objects" - Distributed Objects can send data by reference as well as by value. The data is copied across the connection so the server can receive a valid local pointer (makes sense). New keywords "in", "out" and "inout" determine how data is sent. The keyword "in" - arguments are copied from the client to the server, but not copied back. By default, "const" pointer arguments are "in". Now, according to NeXT, "The server's allocated copy of the data is LOCAL in scope and WILL BE FREED by the system when the server's method returns." - This is NOT happening. I have conducted extensive testing, using malloc_debug(), and the MallocDebug library linked into the app, in conjunction with MallocDebug.app. I am seeing no freeing of data when the method returns, resulting in leaks the size of the data (in this case character strings) that was passed in. I have tried specifying both "in" and "const" in the @protocol declaration. Has anyone else experienced this? Am I missing something? Or is this a real problem with Distributed Objects that conflicts with the documentation? The only solution I can see is to make an explicit call to free() on the data, prior to the method returning in order to prevent memory leakage. However, this would break if NeXT has fixed this problem in a future (such as NS 3.1) release. Feedback appreciated. thanks. Brad -- Bradley Head Software Developer, InStep Mobile Communications Inc. brad@instep.wimsey.bc.ca (NeXTmail accepted) 604 872-7116 fax: 604 872-7125
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: execuserobject Date: 16 Jun 1993 21:10:20 GMT Organization: University of Michigan EECS Dept. Message-ID: <1vo27s$eol@zip.eecs.umich.edu> Hi, Does anyone know what the execuserobject operator do? I get the following error message sometimes when I display a window. DPS client library error: PostScript program error, DPSContext cc090 %%[ Error: rangecheck; OffendingCommand: execuserobject ]%% Thanks, Hyong Sop Shim (hyongsop@engin.umich.edu)
From: rfschtkt%banruc60.BITNET@phem3.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: Re: Stripping Fat Binaries Date: 16 Jun 1993 17:41:51 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9306161802.AA04122@flexus> > on 3.1 systems: > GoofyShellPrompt% man lipo On 3.0 systems (which don't have lipo) or others, use Otool, version 1.2 or higher. Open the app wrapper in it, fish out the executables, select the right architecture, and click ``Strip to selected architecture''. Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in .at or .uucp Nederlands, English, Fran[ais, Deutsch a.o.
Newsgroups: comp.sys.next.programmer From: jstelly@math.uno.edu (John R. Stelly II) Subject: Getting browsers to accept directories Message-ID: <1993Jun16.215103.9930@cs.uno.edu> Sender: news@cs.uno.edu Organization: University of New Orleans Date: Wed, 16 Jun 1993 21:51:03 GMT Can anyone point me in the direction of what to do in order to make either a save or an open panel ( or some variant thereof ) accept directories. Ideally, what I would like would be a browser which shows only directories; failing that, I'll take a browser which shows everything but doesn't accept non-directories as selections. I've looked through the class definitions and have tried the methods there ( eg allowBranchSel ), but I can't seem to get things to work. If it's of any consequence, I'm using 2.1. Thanks, John
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: 486 byte ordering Message-ID: <1239@rtbrain.rightbrain.com> Date: 16 Jun 93 22:59:22 GMT References: <1993Jun16.003822.662@drefla.mese.com> Sender: glenn@rightbrain.com Matt Brandt writes > I believe that object archiving methods (write and read) will handle the byte > ordering problem automatically. If you do direct writes of binary info in a > program then you have to worry about it yourself but if you let objects write > themselves to streams and use the NXWriteType and NXReadType procedures it all > gets taken care of for you. Except bit fields!!!! Be very careful of this. If you archive a bit field as an integer, it won't unarchive the same way on Intel and Motorola. (A bit field is a C declaration that looks something like this: struct _ppFlags { unsigned int autoKern:1; unsigned int hyphenate:1; unsigned int ligatures:1; unsigned int hungPunctuation:2; unsigned int alignment:3; } ppFlags; ) You have to pick apart the structure and archive each one separately as a short or something, then reverse the process on unarchiving. This was the only major headache in porting PasteUp to Intel (we used bit fields a lot, and of course we used archiving because it's very handy). We had to make a file format change in order to work on Intel, which is less than perfect. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Tracking down app failure Message-ID: <1240@rtbrain.rightbrain.com> Date: 16 Jun 93 23:04:18 GMT References: <101.UUL1.3#16216@corona.com> Sender: glenn@rightbrain.com Peter Kron writes > A program I have been working on started failing when I execute it via the > RUN button in ProjectBuilder. It was built in debug mode, and works fine > via the debug button. It also works fine if launched from the Workspace > Manager. > > When the app fails like this, it just closes down. I can't find any > termination messages anywhere. It used to be that exit messages > (such as "does not respond to") would show up in the Console if no > debug Terminal was present, but that doesn't seem to be the case any > longer. (I am using NS/FIP 3.1) The app doesn't stick around long > enough to attach it from gdb (since I have to determine it's process id > first). It's probably a resource (like a nib file) that it's attempting to load at launch time but that it can't find due to absolute/relative path naming or something similar. Try launching it from Terminal from various points in the file system (the same directory, different directories, etc) to see if the behavior changes. Also check to see that all the .nib files are installed into the .app folder correctly. I have had several problems that are somehow related to this. Maybe it will give you something to go on, at least. I just found a really weird one under 2.1: if you delete the "Info" panel that Interface Builder puts into the main nib file for you, the application will launch and quit exactly as you describe. I had to put back a minimal Info panel for it to work. Go figure. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: rprice@cbnewsg.cb.att.com (rodney.price) Newsgroups: comp.sys.next.programmer Subject: possible bug in gcc 2.3.3 Keywords: bug in gcc 2.3.3 Message-ID: <C8qIvK.LD8@cbfsb.cb.att.com> Date: 16 Jun 93 22:09:20 GMT Sender: news@cbfsb.cb.att.com Organization: AT&T I've found what seems to be a bug in the gcc version 2.3.3 compiler. (I'm running it on a NeXT under NextStep 3.0, with the libg++ 2.3.1 library.) The compiler is allocating two variables in the same memory address, as follows: _________________________________ (gdb) print &top $2 = (struct Complex **) 0x3fffc6c (gdb) print &v.s $3 = (struct Complex **) 0x3fffc6c (gdb) print &t $4 = (struct Complex **) 0x3fffc68 (gdb) print &v.len $5 = (int *) 0x3fffc68 (gdb) _________________________________ Here "top" and "t" occupy the same memory as "v". The code fragment in question is the assignment operator for the complexVec class, which I generated by using genclass complex ref Vec complex Here is the code for the assignment operator _________________________________ complexVec& complexVec::operator = (complexVec& v) { if (this != &v) { delete [] s; s = new complex [len = v.len]; complex* top = &(s[len]); complex* t = s; complex* u = v.s; while (t < top) *t++ = *u++; } return *this; } _________________________________ and here is the code used to generate the error: _________________________________ #include <math.h> #include <complex.h> #include <stdlib.h> #include <stream.h> #include "complexVec.h" class potential { public: potential(complexVec& znew); ~potential() {} complexVec& configuration() { return Z; } complexVec& Z; }; potential::potential(complexVec& znew) : Z(1) { Z = znew; } main() { complexVec z(4), w; z[0] = complex( 1.0, 1.0); z[1] = complex( 1.0,-1.0); z[2] = complex(-1.0, 1.0); z[3] = complex(-1.0,-1.0); cout << "input = " << z << "\n\n"; potential c(z); w = c.configuration(); cout << "configuration = " << w << '\n'; } _________________________________ Typical output is shown below: _________________________________ input = {(1, 1), (1, -1), (-1, 1), (-1, -1)} configuration = {(2.13909, 0), (0, 0), (0, 0), (0, 0)} _________________________________ If there is some error in my code, I would be glad if someone could point it out to me. I can't imagine, however, how I could get the compiler to put two variables in the same place by accident. Thanks, Rod Price rprice@physics.att.com
Newsgroups: comp.sys.next.programmer From: brad@instep.wimsey.bc.ca Subject: Re: Getting the environment Message-ID: <1993Jun16.234751.2500@instep.wimsey.bc.ca> Sender: brad@instep.wimsey.bc.ca (Bradley Head) Organization: InStep Mobile Communications Inc. References: <1993Jun9.061713.21350@csus.edu> Date: Wed, 16 Jun 1993 23:47:51 GMT In article <1993Jun9.061713.21350@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > In article <1v2c85$g3@bilbo.suite.com> Jim-Miller@suite.com writes: > >I have a NeXTSTEP application that runs fine when I start it from the c-shell > >prompt, but it crashes shortly after starting when I launch it from the > >Workspace. The problem is that when I launch it from the Workspace, the > >program does not have access to the environment variables. > > That's the way it's supposed to be. Environment variables are > inherited at process creation time, and since applications > launched from the Workspace are not descended from a shell, they > can't possibly have access to them. > > In general, NEXTSTEP applications should not rely upon UNIX > environment variables, but use the NeXT Defaults Database > instead. > Interestingly, NeXT Defaults Database uses environment variables to determine whos defaults database to read. Try setting the environment variable HOME to something other than your home. For example try this shell script with permission mode 4755, note without the "setenv HOME /" any defaults SomeApp registers and reads would come from *your* defaults database. This way they come from root's: #!/bin/csh -b # setenv HOME / /LocalApps/SomeApp.app/SomeApp brad... -- Bradley Head Software Developer, InStep Mobile Communications Inc. brad@instep.wimsey.bc.ca (NeXTmail accepted) 604 872-7116 fax: 604 872-7125
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Looking for ARPA date parser Message-ID: <1993Jun17.073036.10422@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Thu, 17 Jun 1993 07:30:36 GMT Does anyone have any source that will take a date in the form.. Wed, 16 Jun 1993 17:46:09 -0400 or 16 Jun 1993 17:46:09 EST and convert it to a struct tm or time_t format? Any response would be appreciated! -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: 486 byte ordering Message-ID: <1993Jun16.160727.10138@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <1993Jun12.172713.9412@Princeton.EDU> Distribution: na Date: Wed, 16 Jun 93 16:07:27 GMT In article <1993Jun12.172713.9412@Princeton.EDU> paul@phoenix.Princeton.EDU (Paul Lansky) writes: > > > We have a cluster of black NeXT machines and > are contemplating getting a 486 machine to > break in. Unfortunately the byte ordering is > different on these machines. One is big endian > and the other little endian, (I forget which is > which). This, of course would create major problems > for sound and image files accessed across the network > between 68k and 486 machines. 1> Don't worry about it, it's a software problem and your software packages will work fine. 2> Don't worry about it, NXStreams handle Little/Big conflicts fine. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: Stripping Fat Binaries Message-ID: <1993Jun17.074308.7295@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Jun15.165252.69239@cc.usu.edu> Date: Thu, 17 Jun 1993 07:43:08 GMT In article <1993Jun15.165252.69239@cc.usu.edu> edx@cc.usu.edu writes: > > How do I strip out unwanted versions in a fat > binary? I don't want to waste my disk space > on useless/unnecessary Intel code. > Use the command-line program 'lipo', or use the upcoming freeware MetroSuction NEXTSTEP GUI front-end (coming soon to an archive site near you :-). -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer From: wfc@cl.cam.ac.uk (William Clocksin) Subject: Is there a better way to do this PS procedure? Message-ID: <1993Jun17.110550.6105@infodev.cam.ac.uk> Sender: news@infodev.cam.ac.uk (USENET news) Organization: U of Cambridge, England Date: Thu, 17 Jun 1993 11:05:50 GMT I am working on a application that calls a number of PSwraps that all have the same structure: 1. apply many transformations 2. make a path (usually by calling another function) 3. invert all the transformations Here is an example wrap, just to show how much trouble this is: defineps PSThing(float cx, cy, dx, dy, w, h, ba, a) cx cy moveto % apply the transformations... a rotate dx dy rmoveto currentpoint translate ba rotate w h scale Thing % this makes the path 1 w div 1 h div scale % invert the transformations... ba neg rotate dx neg dy neg rmoveto a neg rotate cx neg cy neg translate endps It needs to be like this because then the caller of PSThing() does a stroke, fill, or pathbbox. I would like to eliminate the need for step 3, but pathbbox needs to be called with the right transformation in effect. Some kind of save and restore would do nicely, but that would erase the path. I would prefer not to save and set the matrix explicitly, as I understand this to be an undesirable practice (I would be glad to be corrected on this). Does anybody know an easier and more efficient way? ---------------------------------------------------- W.F. Clocksin, Assistant Director of Research, Computer Laboratory, University of Cambridge Pembroke Street, Cambridge CB2 3QG, U.K. Internet: wfc@CL.cam.ac.uk (NeXTMail is acceptable) Tel UK: (0223) 334628. Tel (Int'l): +44 223-334628. Fax UK: (0223) 334678. Fax (Int'l): +44 223-334678.
From: besler@gdss.commerce.ubc.ca (Steven Besler) Newsgroups: comp.sys.next.programmer Subject: threads & simulation Date: 17 Jun 1993 11:38:28 GMT Organization: The University of British Columbia Distribution: world Message-ID: <1vpl3kINNae3@iskut.ucs.ubc.ca> I'm toying with the idea of writing a simulation program. I was thinking of ways of doing things to take advantage of many of the neat run-time capabilities of Objective-C and NeXTSTEP. I was thinking of a way to simulate the passage of time, and came to the conclusion that I might be able to use threads for this. The basic idea is that the objects in the simulation will be represented as actual Objective-C objects. I was originally thinking about implimenting the "behaviour" of these objects over time by repeatedly sending them a "tick" message. However, this seems rather hackish, and perhaps does not provide enough "ease of programming" for concurrent actions. Couldn't I just put each object in its own thread? (of course, making sure that Objective-C is in "threadsafe" mode). Any reason I shouldn't do this? What happens if you have lots and lots of threads in a process, like several hundred? Will the overhead be too much? I would try it myself, but I don't really know how to use threads yet. Oh, and should I be worried about the portability of using low-level Mach messaging things? Thanks for any info. Post or email, it doesn't matter. I will summarize if anyone wants me to. Cheers, Steve. PS. More proof for the "there is nothing new under the son" theory: Concurrent Objective-C is already discussed in a paper referenced in the comp.lang.objective-c FAQ. Does anyone know about this? Is cooC available? Perhaps I will try to get a hold of the paper. -- Steven K. Besler <besler@gdss.commerce.ubc.ca> (NeXTmail) UBC 3.5th yr CS Coop Student & NeXTSTEP Application Developer "Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful . . . that's what matters to me." Steven P. Jobs CEO of NeXT, Inc.
From: dcheslow@impact.flint.umich.edu (David A. Cheslow) Newsgroups: comp.sys.next.programmer Subject: hiding the dock? Date: 17 Jun 1993 15:22:33 GMT Organization: University of Michigan Engineering, Ann Arbor Distribution: world Message-ID: <1vq27pINNh2j@srvr1.engin.umich.edu> I need to learn how to hide the dock so that it is not accessable to the mouse. Any ideas? Please reply by e-mail. -- =============================================================== *NOT* an official document of the University of Michigan-Flint =============================================================== David A. Cheslow dcheslow@impact.flint.umich.edu School of Management, 344 CROB Phone: (313) 762-3309 University of Michigan - Flint Fax: (313) 762-3282
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: Is there a better way to do this PS procedure? Message-ID: <1993Jun17.174546.24727@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <1993Jun17.110550.6105@infodev.cam.ac.uk> Date: Thu, 17 Jun 1993 17:45:46 GMT William Clocksin writes > I am working on a application that calls a number of PSwraps that > all have the same structure: > 1. apply many transformations > 2. make a path (usually by calling another function) > 3. invert all the transformations Try this: defineps PSThing(float cx, cy, dx, dy, w, h, ba, a) currentmatrix % save the current transform cx cy moveto % apply the transformations... a rotate dx dy rmoveto currentpoint translate ba rotate w h scale Thing % this makes the path setmatrix % Undo the transforms endps Within a wrap such as this, using currentmatrix and setmatrix is perfectly acceptable. What is a "no-no" is doing a setmatrix with some hardwired matrix, as that could mess up a program that includes that portion of code as EPS. As long as you use things in a pair such as above, so that everything is done relative, then there's no problem. <An interesting note: undoing the transformations as before would eventually have shown floating point roundoff.> -- Scott Byer NeXTMail: byer@mv.us.adobe.com Adobe Systems Incorporated These are *my* opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. ---------------------------------------------------------------------
From: conrad@socrates.ucsf.edu (Conrad Huang %CGL) Newsgroups: comp.sys.next.programmer Subject: Putting Ethernet interface into promiscuous mode Keywords: ethernet promiscuous Message-ID: <conrad.740338263@cgl.ucsf.edu> Date: 17 Jun 93 17:31:03 GMT Sender: news@cgl.ucsf.edu (USENET News System) Organization: UCSF Computer Graphics Lab How does one put an Ethernet interface into promiscuous mode from a loadable kernel server? I have access to the netif structure, and I tried to set the IFF_PROMISC flag using: (void) sprintf(ifr.ifr_name, "%s%d", if_name(realif), if_unit(realif)); ifr.ifr_flags = if_flags(realif) | IFF_PROMISC; log(LOG_INFO, "%s: flags=%x ->? %x\n", if_name(realif), if_flags(realif), ifr.ifr_flags); err = if_control(realif, IFCONTROL_SETFLAGS, &ifr); if (err != 0) log(LOG_INFO, "sniffer: if_control: %d\n", err); else log(LOG_INFO, "sniffer: flags set: %d\n", err); log(LOG_INFO, "%s: flags=%x\n", if_name(realif), if_flags(realif)); But, of course, this doesn't work. The output: Jun 17 10:38:41 twain mach: en: flags=41 ->? 141 Jun 17 10:38:41 twain mach: sniffer: flags set: 0 Jun 17 10:38:41 twain mach: en: flags=41 shows that if_control returns with a successful status but the flags remain unchanged. Is this anywhere close to the correct approach? Can someone please tell me what the correct method is? Thanks, Conrad
Newsgroups: comp.sys.next.programmer From: andrew@stone.com (Andrew Stone) Subject: Re: 486 byte ordering Message-ID: <1993Jun17.174042.1120@stone.com> Keywords: automatic script Sender: andrew@stone.com Organization: Stone Design Corp References: <1239@rtbrain.rightbrain.com> Date: Thu, 17 Jun 1993 17:40:42 GMT In article <1239@rtbrain.rightbrain.com> glenn@rightbrain.com (Glenn Reid) writes: > Matt Brandt writes > > > I believe that object archiving methods (write and read) will handle the > byte > > ordering problem automatically. If you do direct writes of binary info in a > > program then you have to worry about it yourself but if you let objects > write > > themselves to streams and use the NXWriteType and NXReadType procedures it > all > > gets taken care of for you. > > Except bit fields!!!! Be very careful of this. If you archive a bit > field as an integer, it won't unarchive the same way on Intel and Motorola. > > (A bit field is a C declaration that looks something like this: > struct _ppFlags { > unsigned int autoKern:1; > unsigned int hyphenate:1; > unsigned int ligatures:1; > unsigned int hungPunctuation:2; > unsigned int alignment:3; > } ppFlags; > ) > > You have to pick apart the structure and archive each one separately > as a short or something, then reverse the process on unarchiving. This > was the only major headache in porting PasteUp to Intel (we used bit > fields a lot, and of course we used archiving because it's very handy). > We had to make a file format change in order to work on Intel, which > is less than perfect. > > -- > Glenn Reid NeXTmail: glenn@rightbrain.com > RightBrain Software 415-326-2974 (NeXTfax 326-2977) > Palo Alto, California Electronic Frontier Foundation, member #054 We had the exact same situation with DataPhile and Create, so we created this awk script, which is called by Edit's commandict facility, to automatically generate the read: and write: code which is endian independent. Add this line to your .commanddict: Make Flags echo "$selection" | awk -f ~/Unix/makeflags.awk and stick this awk file in your Unix directory [as usual, Caveat Emptor]: As an example, let's take Glenn's bitfields: struct _ppFlags { unsigned int autoKern:1; unsigned int hyphenate:1; unsigned int ligatures:1; unsigned int hungPunctuation:2; unsigned int alignment:3; } ppFlags; I selected them in Edit, and then called "Utilities->User Commands->Make Flags", and in a new doc, ready to paste into the appropriate places is: WRITE CALLING CODE: [self writeppFlags:typedStream]; READ CALLING CODE: int version; [super read:typedStream]; version = NXTypedStreamClassVersion(typedStream, " CLASSNAME "); if (version < VERSION_NUMBER ) { } else { [self readppFlags:typedStream] } PASTE IN THIS CODE: + initialize { [self setVersion: VERSION_NUMBER ]; return self; } - writeppFlags:(NXTypedStream *)typedStream { unsigned char autoKern = ppFlags.autoKern; unsigned char hyphenate = ppFlags.hyphenate; unsigned char ligatures = ppFlags.ligatures; unsigned int hungPunctuation = ppFlags.hungPunctuation; unsigned int alignment = ppFlags.alignment; NXWriteTypes(typedStream,"CCCII",&autoKern,&hyphenate,&ligatures, &hungPunctuation,&alignment); return self; } - readppFlags:(NXTypedStream *)typedStream { unsigned char autoKern; unsigned char hyphenate; unsigned char ligatures; unsigned int hungPunctuation; unsigned int alignment; NXReadTypes(typedStream,"CCCII",&autoKern,&hyphenate,&ligatures,& hungPunctuation,&alignment); ppFlags.autoKern = autoKern; ppFlags.hyphenate = hyphenate; ppFlags.ligatures = ligatures; ppFlags.hungPunctuation = hungPunctuation; ppFlags.alignment = alignment; return self; } -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C%<9G-W:7-S($AE;'9E=&EC83M<9C!< M9FUO9&5R;B!/:&QF<SM]"EQM87)G;#$R,`I<;6%R9W(Q,C`*>UQC;VQO<G1B M;#M<<F5D,%QG<F5E;C!<8FQU93`[?0I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X M,S0U-EQT>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S M-CA<='@Q,34R,%QF,5QB,%QI,%QU;&YO;F5<9G,R,%QF8S!<8V8P($EN(&%R M=&EC;&4@/#$R,SE`<G1B<F%I;BYR:6=H=&)R86EN+F-O;3X@9VQE;FY`<FEG M:'1B<F%I;BYC;VT@*$=L96YN(%)E:60I('=R:71E<SI<"CX@36%T="!"<F%N M9'0@=W)I=&5S7`H^(%P*/B`^($D@8F5L:65V92!T:&%T(&]B:F5C="!A<F-H M:79I;F<@;65T:&]D<R`H=W)I=&4@86YD(')E860I('=I;&P@:&%N9&QE('1H M92`@7`H^(&)Y=&4@(%P*/B`^(&]R9&5R:6YG('!R;V)L96T@875T;VUA=&EC M86QL>2X@268@>6]U(&1O(&1I<F5C="!W<FET97,@;V8@8FEN87)Y(&EN9F\@ M:6X@82`@7`H^(#X@<')O9W)A;2!T:&5N('EO=2!H879E('1O('=O<G)Y(&%B M;W5T(&ET('EO=7)S96QF(&)U="!I9B!Y;W4@;&5T(&]B:F5C=',@(%P*/B!W M<FET92`@7`H^(#X@=&AE;7-E;'9E<R!T;R!S=')E86US(&%N9"!U<V4@=&AE M($Y85W)I=&54>7!E(&%N9"!.6%)E8614>7!E('!R;V-E9'5R97,@:70@(%P* M/B!A;&P@(%P*/B`^(&=E=',@=&%K96X@8V%R92!O9B!F;W(@>6]U+EP*/B!< M"CX@17AC97!T(&)I="!F:65L9',A(2$A("!"92!V97)Y(&-A<F5F=6P@;V8@ M=&AI<RX@($EF('EO=2!A<F-H:79E(&$@8FET7`H^(&9I96QD(&%S(&%N(&EN M=&5G97(L(&ET('=O;B=T('5N87)C:&EV92!T:&4@<V%M92!W87D@;VX@26YT M96P@86YD($UO=&]R;VQA+EP*/B!<"CX@*$$@8FET(&9I96QD(&ES(&$@0R!D M96-L87)A=&EO;B!T:&%T(&QO;VMS('-O;65T:&EN9R!L:6ME('1H:7,Z7`H^ M("`@("!S=')U8W0@7W!P1FQA9W,@7'M<"CX@"75N<VEG;F5D(&EN="!A=71O M2V5R;CHQ.UP*/B`)=6YS:6=N960@:6YT(&AY<&AE;F%T93HQ.UP*/B`)=6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V5R;CM<"B`@("!U;G-I9VYE9"!C:&%R(&AY<&AE;F%T92`]('!P M1FQA9W,N:'EP:&5N871E.UP*("`@('5N<VEG;F5D(&-H87(@;&EG871U<F5S M(#T@<'!&;&%G<RYL:6=A='5R97,[7`H@("`@=6YS:6=N960@:6YT(&AU;F=0 M=6YC='5A=&EO;B`]('!P1FQA9W,N:'5N9U!U;F-T=6%T:6]N.UP*("`@('5N M<VEG;F5D(&EN="!A;&EG;FUE;G0@/2!P<$9L86=S+F%L:6=N;65N=#M<"B`@ M("!.6%=R:71E5'EP97,H='EP9613=')E86TL(D-#0TE)(BPF875T;TME<FXL M)FAY<&AE;F%T92PF;&EG871U<F5S+"9H=6YG4'5N8W1U871I;VXL)F%L:6=N M;65N="D[7`H@7`H@("`@<F5T=7)N('-E;&8[7`I<?5P*(%P*+2!R96%D<'!& M;&%G<SHH3EA4>7!E9%-T<F5A;2`J*71Y<&5D4W1R96%M7`I<>UP*("`@('5N M<VEG;F5D(&-H87(@875T;TME<FX[7`H@("`@=6YS:6=N960@8VAA<B!H>7!H M96YA=&4[7`H@("`@=6YS:6=N960@8VAA<B!L:6=A='5R97,[7`H@("`@=6YS M:6=N960@:6YT(&AU;F=0=6YC='5A=&EO;CM<"B`@("!U;G-I9VYE9"!I;G0@ M86QI9VYM96YT.UP*("`@($Y84F5A9%1Y<&5S*'1Y<&5D4W1R96%M+")#0T-) M22(L)F%U=&]+97)N+"9H>7!H96YA=&4L)FQI9V%T=7)E<RPF:'5N9U!U;F-T M=6%T:6]N+"9A;&EG;FUE;G0I.UP*("`@('!P1FQA9W,N875T;TME<FX@/2!A M=71O2V5R;CM<"B`@("!P<$9L86=S+FAY<&AE;F%T92`](&AY<&AE;F%T93M< M"B`@("!P<$9L86=S+FQI9V%T=7)E<R`](&QI9V%T=7)E<SM<"B`@("!P<$9L M86=S+FAU;F=0=6YC='5A=&EO;B`](&AU;F=0=6YC='5A=&EO;CM<"B`@("!P M<$9L86=S+F%L:6=N;65N="`](&%L:6=N;65N=#M<"B`@("!R971U<FX@<V5L -9CM<"EQ]7`I<"@I]"F5N ` -- ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>|| !! Andrew Stone !! (505) 345-4800 !! !! andrew@stone.com <> Stone Design Corp !! ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>||
From: gobbi@snark.aero.org (Michael Gobbi) Newsgroups: comp.sys.next.programmer Subject: ObjectError Date: 17 Jun 1993 20:12:44 GMT Organization: The Aerospace Corporation, El Segundo, CA Message-ID: <1vqj7s$hak@news.aero.org> I wanted to know if anyone has a copy of ObjectError.m they could send to me. The source code was presented at the NeXT developer conference work shop "The Zen of Debugging". --Michael Gobbi ___________________________________________________________________ Michael Gobbi phone: (310) 336-8085 The Aerospace Corp. E-Mail: gobbi@aero.org Mail Station M1-102 NeXTMail: gobbi@aero.org P.O Box 92957 Los Angeles, CA 90009
Newsgroups: comp.sys.next.programmer From: gvh@metrosoft.com (Gordon Van Huizen) Subject: Re: Stripping Fat Binaries Message-ID: <1993Jun17.174835.8655@metrosoft.com> Sender: gvh@metrosoft.com Organization: Metrosoft References: <1993Jun16.152740.2914@biztech.com> Date: Thu, 17 Jun 1993 17:48:35 GMT In article <1993Jun16.152740.2914@biztech.com> anderson (Ken Anderson) writes: > The Installer.app asks what binaries you want to > install, so you shouldn't have a problem with new > programs. Only for single-disk Installer packages. Due to a bug in the 3.1 Installer, developers must use the 3.0 Installer to create multi-disk installation packages, which cannot be thinned during installation on 3.1 Gordon -- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045 Metrosoft gvh@metrosoft.com [NeXTmail welcome] "Our ship is coming in, it just isn't black." - MTD 2/93
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: lorinr@altsys.com (Lorin Rivers III) Subject: Re: WHY "false setstrokeadjust" when importing EPS ?? Message-ID: <1993Jun17.213021.25570@altsys.com> Organization: Altsys Corporation, Richardson, TX References: <1vlh02$945@agate.berkeley.edu> <1vmg78$jmf@agate.berkeley.edu> Date: Thu, 17 Jun 1993 21:30:21 GMT In article <1vmg78$jmf@agate.berkeley.edu> izumi@pinoko.berkeley.edu writes: >In article <1vlh02$945@agate.berkeley.edu>, I wrote: > >>I have a question to PS/DPS gurus regarding why "setstrokeadjust" >>must be turned off when including an EPS. >> >>The recommended RED BOOK code below produces ugly results when I >>produce an annotated EPS or print file that includes other EPS >>files, and display the final EPS file on the screen using a >>presentation software on a Display PostScript system. (Concurrence >>on NeXT). Drawing software I am using is Virtuoso, but this can >>happen with any program that is new enough to know about Level-2 PS, >>because it has to do with the recommended method of including EPS >>files in a new drawing. > >Then, Scott Byer gave me a suggestion: >>Probably the best way to deal with this is to muck with the EPS >>file itself and turn strokeadjust back on if the resolution of the >>current device is too low (< 288dpi): >> >>/setstrokeadjust where { >> { pop 1 0 dtransform pop 4.0 lt { true setstrokeadjust } if } if > >I now have a patch that fixes this problem for Virtuoso, so I don't >have to muck with EPS each time I create one. >If anyone wants it, I can post or NeXTMail the patch to you. >The patch is applied to file Virtuoso.app/psstr.s. [It needs a >little trick because psstr.s is apparently indexed, so we >must keep the offset and size of string blocks unchanged.] > >I think it won't break anything, but I offer no guarantees. > >-- >Izumi Ohzawa [ $@Bg_78^=;(J ] >USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 >Telephone: (510) 642-6440 Fax: (510) 642-3323 >Internet: izumi@pinoko.berkeley.edu (NeXTMail OK) I don't recommend changing psstr.s. I'm trying to find out if this stuff should go into a file called Virtuoso.ps that goes at the top level of your user account directory. WARNING: EDIT psstr.s AT YOUR OWN RISK. I'll re-post soon. -- Lorin Rivers Lorin_Rivers@altsys.com Altsys Technical Support 214.680.2518 269 W. Renner Parkway NeXT Mail Expected Richardson, Texas 75080 I said it, not my boss
From: fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: Is underscore "_" something I shouldn't use? Date: 17 Jun 1993 21:10:14 GMT Organization: News Service at Rose-Hulman Message-ID: <1vqmjmINNr71@master.cs.rose-hulman.edu> I have just finished making a palette object, but there were several variables and methods which appeared in the Connections inspector of Interface Builder that the user should not be able to touch. On a whim of intuition, I changed the - myAction:sender methods to - myAction:anObject. I parsed the class definition and, voila, IB ignored those methods. On a second burst of insight, I altered my instance variables from aVar to _aVar. Upon reparsing, IB ignored those instance variables. This works great for me and prevents the user from making connections that would wreck the object, but I am wondering if I am potentially overwriting some private methods or variables by using the underscore "_" to precede my instance variables. Does anyone know about this? I thought I had read somewhere that _some_method_name: designated a private (hands off! don't use in your code) method, but I'm not sure. Your help, as always, is appreciated. -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "Don't ever put your brain on a runaway train 'cause it won't be coming back!" - Mad At The World.
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: PhoneKit/MessageCenter Message-ID: <1993Jun17.194706.3367@afs.com> Sender: jon@afs.com Date: Thu, 17 Jun 1993 19:47:06 GMT Two questions re: the phone kit. 1) Do PhoneKit apps work in 3.1? - Are the libraries still there? 2) Does MessageCenter.app work? With POTS lines? Thanks. Jonathan W. Hendry jon@afs.com
Newsgroups: comp.sys.next.programmer From: behrsing@cory.Berkeley.EDU (ROLF HUBERT BEHRSING) Subject: Termcap > How do I get a terminal to talk to my NS Message-ID: <1993Jun17.223451.3608@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Thu, 17 Jun 1993 22:34:51 GMT Hi, I have NO clue. Allright I have a slight clue, but that's all. How can I allow some one to dial into my NS 486 (but still black) box. I think it has something to do with termcap, and spawning a thread. Beyond that I know not. BTW my friend wants to log on with a vt100 emulator. PS. I don't know if I should have posted this here or sys ad. If I posted in the wrong place ... so sorry. Rolf
From: Conrad_Geiger@NeXT.COM (Conrad Geiger) Newsgroups: comp.sys.next.programmer Subject: 32 NEXTSTEP Positions Available (Hawaii, Texas, NE, Calif, Midwest) Date: 17 Jun 1993 18:27:31 -0500 Organization: UTexas Mail-to-News Gateway Sender: daemon@cs.utexas.edu Message-ID: <9306172327.AA10314@toto.NeXT.COM> For more information, contact: Clint Tomlinson - Manager, NeXT/OOP Recruiting Pencom 9050 Capital of Texas Highway North Austin, Texas 78759 Telephone: 512-343-1111 Fax: 512-346-6444 E-Mail: clint@pencom.com Pencom seeks 32 NeXT/OOP Engineers for internal and external projects for our distinguished list of clients. AUSTIN, TEXAS - June 11, 1993 - Pencom Software's team of NeXT engineers are dedicated to providing services to developers and end user organizations equipped with workstations and software from NeXT Incorporated. A NeXT-authorized systems integrator as well as a registered NeXT software developer, Pencom provides a full range of services to support users and vendors in adopting this revolutionary technology. Pencom continues to be the leader in NeXT/OO software development and consulting services, and has the largest staff of NeXT engineers outside of NeXT themselves. Pencom Software is a division of Pencom Systems Incorporated, a New York-based firm providing software engineering and manpower resources to Fortune 500 companies and leading computer firms since 1973. Currently the largest recruiting firm specializing in the UNIX/Open Systems market, Pencom employs over 500 people and maintains a large heterogeneous network of workstations including more than 80 NeXT machines. The following permanent and contract positions require no less than 2 years industry experience, and permanent positions require permanent residence. Thank you for your cooperation. If you are interested in being kept informed about positions but are not actively seeking employment, please email contract information in confidence to clint@pencom.com. MIDWEST CHICAGO, ILLINOIS 1 - NeXT System Administrator * NeXT/Sun/UNIX system administration experience * Network Management background * Objective-C or C++ experience * Background in a heterogeneous systems environment a must 2 - NeXT Software Engineer * NeXT/UNIX application software development * Strong NEXTSTEP, AppKit, Interface Builder experience * High level design, rapid prototyping in NeXT environment * Ability to work in a dynamic team environment * Strong Objective-C or C++ programming experience * Financial trading applications * 5 to 8 years experience 1 - Senior Applications Development Engineer * 5-7 years UNIX/C applications development * Financial applications (Equity Trading Systems) * 1+ years NeXT/NEXTSTEP/AppKit/ DBKit/Objective-C * Sun, SYBASE/C++ a plus TEXAS 2 - OOP Software Engineers * 2+ years Object Oriented Programming (C++/Objective C,Smalltalk) * 2+ years Object Oriented analysis/design * 1+ years NEXTSTEP applications development * Network Management Systems, GUI * Telecommunication/Datacommunication applications * 5-6 years industry experience 3 - OOP Software Engineers * NEXTSTEP/Smalltalk programming * Relational database design and database applications development (DBKit/ORACLE/SYBASE preferred) * 2 years UNIX/C application development * 2 years RDBMS experience using an SQL-based RDBMS * Interface Builder, VisualWorks * Technology transfer * Willing to travel 1 - OOP Architect * NEXTSTEP/Smalltalk programming, OOD/OOA * 2-3 years Object Oriented Architecture * Relational database design and database applications development (DBKit/ORACLE/SYBASE preferred) * 5-7 years UNIX/C application development * Interface Builder, VisualWorks * Technology transfer, training * Willing to travel 1 - Senior Database Specialist * 5+ years database design and database applications development experience * 3 years application development experience in a UNIX environment * 2 years DBMS experience using an SQL-based DBMS * 1+ year applications experience in the NEXTSTEP environment * Strong background in proposal generation, system specification, third-party software evaluation, technology transfer, rapid prototyping * Experience with AppKit, DBKit, NEXTSTEP 3.0, OOD, C++, Objective-C * GUI and Porting experience 1 - NeXT Software Engineers * Strong NEXTSTEP applications development * Strong UNIX, Objective-C, C++ * AppKit, Interface Builder, DBKit required * Strong RDBMS * Transfer of NeXT technology * Software training or teaching experience * 6 to 10 years experience 1 - Object Oriented Programmer * 2+ years Object Oriented Programming (C++/Objective C) * 2+ years database design and database applications * 5 years UNIX/C application development * 2+ years RDBMS (SYBASE preferred) * 1+ years NEXTSTEP applications development * AIX/RS6000 programming * AppKit, DBKit, NEXTSTEP 3.0, OOD * GUI and Porting experience 2 - NeXT/Smalltalk Software Engineers * 4+ years industry experience * 2+ years OOP (NeXT/SMTK/C++) * Strong RDBMS (ORACLE/SYBASE/DBKit) * Applications development * Interface builder, VisualWorks * Contracts for 3-6 months CALIFORNIA 1 - Software Engineer (4-6 months) * Porting experience * 1+ years Object Oriented Programming (C++/Objective C) * 1+ years database design and database applications * 2 years UNIX/C application development * Financial applications * 2+ years RDBMS (SYBASE/ORACLE preferred) * 1+ years NEXTSTEP applications development * AppKit, DBKit, NEXTSTEP 3.0, OOD 1 - NeXT Software engineer (4-6 months) * Off the shelf software integration * NEXTSTEP API, GUI, DBKit * SYBASE/SQL * AppKit, DBKit, NEXTSTEP 3.0, OOD 1 - NeXT Applications Programmer (4-6 months) * Custom NEXTSTEP 3.0 applications * AppKit, Interface Builder * DBKit/SYBASE * Sun/DEC 5 - OOP Software Engineers * 2+ years Object Oriented Programming (C++/Objective C,Smalltalk) * 2+ years Object Oriented analysis/design * 1+ years NEXTSTEP applications development * Strong RDBMS, ORACLE, SYBASE, DBKit * 3-4 years industry experience 1 - Director of Support * 8-10 years industry experience * Strong customer support experience * Strong management experience * Director level experience * 4 management reports * 37 indirect reports 1 - Manager of Support * 7-9 years industry experience * Strong management skills * Account management * Contract negotiation, proposals, P&L * UNIX/NeXT environment * 8 direct reports 1 - Director of Software Engineering * 8-10 years industry experience * Strong management skills * Hands on development UNIX/NeXT/OOP * Project scheduling, planning, budgeting * Product development * RDBMS or DBKIT NORTHEAST 2 - DBKit/RDBMS Specialist (3-4 months) * AppKit, DBKit, NEXTSTEP 3.0, OOD, Objective C * 2+ years database design and database applications development (DBKit/ORACLE/SYBASE preferred) * 2 years UNIX/C application development * 2 years RDBMS experience using an SQL-based RDBMS * 1+ year NEXTSTEP applications * Security Clearance 3 - NeXT Software Engineer * NeXT/UNIX/C application (Financial) software development * Strong NEXTSTEP, AppKit, Interface Builder, DBKit * High level design, rapid prototyping in NeXT * Strong Objective C * 2+ years experience HAWAII 1 - Senior IS Manager * NeXT/DOS applications * Objective C, OOP * Strong leadership/interpersonal skills * NeXT/DOS/PC Systems administration * Strong knowledge of computer industry * Accounting/billing/order entry applications As an aside, it was very nice meeting all of you that attended the NeXTWORLD EXPO, I look forward to long and prosperous relationships. More positions soon...
From: riedel@phoenix.cs.ubc.ca (Marko Riedel) Newsgroups: comp.sys.next.programmer Subject: Categories Date: 17 Jun 1993 23:28:27 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Distribution: world Message-ID: <1vqumr$g22@cs.ubc.ca> Keywords: Categories, Objects, Classes I've got a class with a large number of methods. I'm grouping some of them into categories -- mostly for structural reasons & more easily read code & to fake "private" methods. I could do without the categories though, if I had to. My question is this: do I take a performance hit in the method lookup when I have, say, four or five categories in a class? Thanks, Marko R. PS: Please spare me the sort of well-intentioned "you must be doing something wrong if you've got that many categories" ... what I really want to know is how these things are implemented.
Newsgroups: comp.sys.next.programmer Subject: cursor bigger than 16x16 pixels Message-ID: <C8sxvx.K0t@news.otago.ac.nz> From: gideon@otago.ac.nz (Gideon King) Date: Fri, 18 Jun 1993 05:28:45 GMT Sender: usenet@news.otago.ac.nz (News stuff) Organization: University of Otago I am trying to create a cursor bigger than 16x16 pixels, but with NXCursor, it always clips it to 16x16. I know it can be achieved because on the color panel, the magnifier uses a bigger cursor. In fact, the magnifier in the color panel does just about everything I want to do with my cursor. If it is not achievable using an NXCursor, can I achieve the same thing using a plainstyle window with a single contentview which I link up to my mouseMoved messages to redraw as and when appropriate? As I only want my special cursor to appear when over a particular view, I guess I would have to link into this with an NXMouseInRect in its mouseMoved method of my main window. Can anyone shed light on how to achieve these things? Any help would be most welcome. Thanks -- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Department of Computer Science | e-mail gideon@otago.ac.nz P.O. Box 56 | Dunedin | NeXT mail ok New Zealand |
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Putting Ethernet interface into promiscuous mode Message-ID: <1993Jun18.075310.29249@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <conrad.740338263@cgl.ucsf.edu> Date: Fri, 18 Jun 1993 07:53:10 GMT In article <conrad.740338263@cgl.ucsf.edu> conrad@socrates.ucsf.edu (Conrad Huang %CGL) writes: >How does one put an Ethernet interface into promiscuous mode from a >loadable kernel server? NEXTSTEP 3.0 introduced some new if_control() commands: const char IFCONTROL_RCVPROMISCUOUS[]="promiscuous-on" const char IFCONTROL_RCVPROMISCOFF[]="promiscuous-off" These are the _only_ sanctioned (but undocumented, see below) API for this function. WARNING WARNING WARNING According to NeXT, these commands SHOULD NOT BE USED until further notice (i.e. 4.0); the current implementation reserves 5 netbufs for incoming datagram processing, and attempts to activate promiscuous mode are promised to provoke disastrous consequences. -=EPS=-
Newsgroups: comp.sys.next.hardware,sci.electronics,comp.sys.next.programmer From: eric@whyanext.com (Eric Schwartz) Subject: Interfacing an X-10 controller to a NeXT? Message-ID: <C8t5nJ.71I@unix.portal.com> Sender: news@unix.portal.com Organization: Portal Communications Company Date: Fri, 18 Jun 1993 08:16:28 GMT I have an X-10 (home automation) control unit that hooks up to a Mac via a serial port. I would very much like to hook it up to my NeXT, so I can experiment with writing a NEXTSTEP application to control lights to come on at certain times, etc. Can someone give me a rough idea of what is involved with writing the low level code to talk to the interface via a serial port? I have a programming manual for the X-10 unit, which lists the byte format for communicating with the device, and specifies a baud rate of 600, 8 data bits, no parity, and 1 stop bit. The manual also says: "A gap of 1 millisecond should be left between each byte of data sent." "A start bit signifies that a string of 8 data bits will follow. A start bit is always a SPACE bit, i.e. "0". A stop bit signifies that the data is finished and separates one byte from another. A stop bit is always a MARK bit, "1"." Is this something trivial to do? Does anyone have code that sets up communication with the port? (Yes indeed, I am just learning to program in C, but the X-10 interface would make my programming exercises much more interesting!) Thanks, Eric -- Eric Schwartz eric@whyanext.com (NeXTmail spoken here) "A five is an old four." --from 'The Silly Record' by Stoo Hample
Newsgroups: comp.sys.next.programmer From: (slugg jello) Subject: Re: 486 byte ordering Message-ID: <1993Jun18.042122.21427@mouthers.nwnexus.wa.com> Sender: slugg@mouthers.nwnexus.wa.com Organization: Mouthing Flowers References: <1239@rtbrain.rightbrain.com> Date: Fri, 18 Jun 1993 04:21:22 GMT In article <1239@rtbrain.rightbrain.com> glenn@rightbrain.com (Glenn Reid) writes: > Matt Brandt writes > > > I believe that object archiving methods (write and read) will handle the > byte > > ordering problem automatically. If you do direct writes of binary info in a > > program then you have to worry about it yourself but if you let objects > write > > themselves to streams and use the NXWriteType and NXReadType procedures it > all > > gets taken care of for you. > > Except bit fields!!!! Be very careful of this. If you archive a bit > field as an integer, it won't unarchive the same way on Intel and Motorola. > > (A bit field is a C declaration that looks something like this: > struct _ppFlags { > unsigned int autoKern:1; > unsigned int hyphenate:1; > unsigned int ligatures:1; > unsigned int hungPunctuation:2; > unsigned int alignment:3; > } ppFlags; > ) > > You have to pick apart the structure and archive each one separately > as a short or something, then reverse the process on unarchiving. This > was the only major headache in porting PasteUp to Intel (we used bit > fields a lot, and of course we used archiving because it's very handy). > We had to make a file format change in order to work on Intel, which > is less than perfect. The Object class Version: and setVersion: methods and the NXTypedStreamClassVersion() function come in *very* handy for this. You don't have to change your file format. Each class instance as it is unarchived is able to determine ahead of time the version number of the class that it is unarchiving so it knows how to read the bitfield information. The class thereby takes care of handling its own format changes in a really nifty hidden sort of way. Your higher level code needn't know, and your file format needn't change. -- Doug Kent Mouthing Flowers, Inc. slugg@mouthers.wa.com
From: dbbrown@turtle.mrj.com (Dan Brown) Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: NXInvalidation Archiving problems. Date: 18 Jun 1993 09:55:15 -0400 Organization: MRJ, Inc./Oakton, Virginia, USA Distribution: world Message-ID: <1vshg3$2i3@turtle.mrj.com> Programmers, NeXT, and Netters in General, I don't know if this is a known bug but I am experiencing the following problem when Archiving NXInvalidationNotifier Objects in 3.0. In the following uuencoded sample code, I have an object that references an NXInvalidation object. The NXInvalidation object contains the referencing object in its funeralList so when the NXInvalidation object is freed it will notify the referencing object. All this works fine and perfect when the environment is set up directly. But if the same object is Archived the NXInvalidation object does NOT deArchive correctly. The funeralList and listGate variables are nil, and when the NXInvalidation object is freed, the following error appears in the CONSOLE/ gdb screen...."Unknown error code 10020 in NXReportError". I have tracked this down in gdb to the call to [super free] in my NXInvalidation Object subclass. I have tried a few work arounds such as archiving the listGate and funeralList directly, but this causes a "mutex_lock()" error. I am at a loss as to what to do. Is this a known bug? If so, is it fixed in 3.1? If not, is there a work around to get the desired results I need? I am currently waiting for my 3.1 upgrade to come in the mail, so I can't test it in 3.1. yet. To get a better Idea of what I am doing, here is some code to show what is going on. Sorry for the extra bandwidth. Help would be much appreciated, I strongly need this capability. Thanks in advance, Dan Brown (dbbrown@mrj.com) ---------------<uuencoded file starts below this line.>----------------- begin 644 NXInvalTest.compressed M'YV03K`D<6,G#!LJ9>;0>0&@H<.'$"-*G$BQHL6+%4%HO%&C!@@`&D'(L!'C M8T@0,628/,D2AL8:-&+`F$%CY@P;&E/.O`&R!L:?0(,*'2JQCL(P<C0"("-& MC)PW=]P0C7C4C)FI6+-JW<JUJ]>L`0<6/)AP81$W9]BDF8/&!1LX3]4P_$HW M:$B.'D%J'%E2;TZ5?EEJ=`D"ILP9,V[(@$$C)XV./@O7G4RYZ-&D'YDZA2IU M:]6KE4.+'DTZ=%B"!A$J?'$V[=JV;^.^.#U6-1T7;M*(F5MZZ-V.*T62#(X2 ML."3A`W;5,PX)\>9/7M+QVJ4#E*EFI]&Y?IYNO?OX*733EV6-5JU;-W"?2-W M/%F%N'6_(!/&NHLQ;,+,F9,PO%\;-#3F%U_$I43<236I5%A,RRW6F$B+R<`3 M"##X9Z%EUF&V5%/:=:95=Q>&*.*(%AF1AAP*29$0'&^X04892?4`PAX*G!3$ M$%0D\8034X`@(XTG];%#C2%-404414@Q!!-!3-&CC$^(H4898]`QI)`*#-$B M'4^QP0:,/LY(I$8WYKCCDV(F4`8>8;0!QY=7I$$'&D'(,08::=B1!EHZ#)D` M?F4@U:<""80!!QQ$I$'&0'(.JB:;;L(I)QI.O%'GG7GN>8:C=^Q)!E1Q>CD$ M&V_P-VB00Y[T1!54,%$$%6C2F``=:UHY)@A8GF0DDDHRZ62844Y9Y95#DFCL ML<B*)Q!J[YEUWFOJR>:>;?'M1I]]N8DA8D@`"A@2@8$9&%A(`3[V$H.(,?>@ M##'$P!%(%2;[77779<8A9]Q99Y6\_/8[&@$+T)$''&60H9`<@;81R`"B$!(` M$(1$S$`20@1+)1U$U!<&`!$;8'&5`!1"B`!`I!$Q(0P,4=T;;7Q,!P"4C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A8D)1225PA4W#D_C1MQ[K+%!P,:P5AN7X@=K!D8C;"T4WU-&"&-[ MJGW%K]JEOOIT_;Y;?YLPY"T(EA7V&$S4WPX\&H%Q3U41!\Z5WN`V\(,M;S'6 MP#27_;+@-N&/)[+,`\C2-RF,8(+L)P(""J85"KD#V[OJV9"U[]\EB&86ZZKD ME<R26[)+?LDP.2;+Y)E,DVNR3;[).#DGZ^2=S)-[LD_^R4`Y*`OEH4R4B[)1 &/LI(640` ` end
Newsgroups: comp.sys.next.programmer From: shill@ccsi.com (Sean L. Hill) Subject: gzip on 3.1 Message-ID: <1993Jun18.130024.320@ccsi.com> Sender: shill@ccsi.com Organization: Crystal Computer Systems, Inc. Date: Fri, 18 Jun 1993 13:00:24 GMT Has anyone been able to compile gzip under 3.1? I haven't been able to do it on a 3.1PR1 system. Anyone know if it's easier/possible under real 3.1? Maybe someone could send me the binary for it? Probably 3.0 compiled would work fine under 3.1. Thanks- Sean --- Sean L. Hill Ergo Science Incorporated shill@ccsi.com Compuserve: 73667,3355 -- Sean L. Hill Ergo Science Incorporated shill@ccsi.com Compuserve: 73667,3355
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Re: Is underscore "_" something I shouldn't use? Message-ID: <1993Jun18.122424.4427@afs.com> Sender: Michael_Pizolato@afs.com References: <1vqmjmINNr71@master.cs.rose-hulman.edu> Date: Fri, 18 Jun 1993 12:24:24 GMT David J. Fischer writes >I have just finished making a palette object, but there were >several variables and methods which appeared in the Connections >inspector of Interface Builder that the user should not be able >to touch. On a whim of intuition, I changed the - myAction:sender >methods to - myAction:anObject. I parsed the class definition and, >voila, IB ignored those methods. On a second burst of insight, I >altered my instance variables from aVar to _aVar. Upon reparsing, >IB ignored those instance variables. > >This works great for me and prevents the user from making connections >that would wreck the object, but I am wondering if I am potentially >overwriting some private methods or variables by using the underscore >"_" to precede my instance variables. Does anyone know about this? >I thought I had read somewhere that _some_method_name: designated >a private (hands off! don't use in your code) method, but I'm not >sure. NeXT's own code uses the underscore as a leading character for ivars, methods, etc. quite frequently. I've taken to using leading double underscores for every ivar or method that users of my code should not see, to guarantee that my names won't collide with NeXT's. Of course, if all objectware developers adopt this, they'll soon be colliding with each other, though I think the compiler detects collisions, so you know when you have to change your ivar or method name. I've yet to collide with a NeXT name. Michael -- Michael Pizolato gnihtyreve noitseuq michael_pizolato@afs.com NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: moetakef Subject: Problem with printing postscript files Message-ID: <1993Jun18.081310.2808@news.uta.edu> Sender: news@news.uta.edu (USENET News System) Organization: University of Texas at Arlington Date: Fri, 18 Jun 1993 08:13:10 GMT When submitting PostScript files from our NeXT machine to a PostScript printer on a remotehost, we get the printout in ascii characters. However, the PS files sent directly from the machine hosting the printer, which is Apollo DN 5500, come out alright. Below is the NeXT's printcap file which was loaded to the netinfo via "niload" command: LaserWriter|ap:\ :lp=:rm=me:rp=apple:sd=/usr/spool/NeXT/ap:tr=^D:\ :lf=/usr/adm/lw-log:af=/usr/adm/lw.acct:\ :br#9600:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sb: \ :if=/usr/lib/transcript/psif:of=/usr/lib/transcript/psof:\ :gf=/usr/lib/transcript/psof:nf=/usr/lib/transcript/psnf:\ :tf=/usr/lib/transcript/psnf:vf=/usr/lib/transcript/pstf:\ :gf=/usr/lib/transcript/pscf:df=/usr/lib/transcript/psgf:\ :ty=LaserWrite:\ If there is any mistake or lack of filtering switches in this printcap file that causes this problem, I'd appreciate any pointers. M. Moetakef moetakef@mecad.uta.edu -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34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W5S<B]L:6(O=')A;G-C<FEP="]P<V=F.EQ< M7`H@("`@("`@(#IT>3U,87-E<E=R:71E.EQ<7`H@("`@7`I)9B!T:&5R92!I M<R!A;GD@;6ES=&%K92!O<B!L86-K(&]F(&9I;'1E<FEN9R!S=VET8VAE<R!I M;B!T:&ES('!R:6YT8V%P(&9I;&4@=&AA="!C875S97,@=&AI<R!P<F]B;&5M M+"!))V0@87!P<F5C:6%T92!A;GD@<&]I;G1E<G,N7`I<"DTN($UO971A:V5F >7`IM;V5T86ME9D!M96-A9"YU=&$N961U("`@"GT* `
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: How do you update a NXBrowser????? Message-ID: <1993Jun18.114509.14473@ac.dal.ca> Date: 18 Jun 93 11:45:09 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada Hi....I'm using an NXBrowser to diplay a list of options(data sets)..but I can't seem to find a way to refresh this browser with an alterted list. Does nyone know a way to update a browser (I'm using the very lazy delegate) Thanks, Anthony Grandy Burchill Communications Research Group lisag@ac.dal.ca
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.programmer Subject: Re: How do you update a NXBrowser????? Date: 18 Jun 1993 18:22:28 GMT Organization: Technical University of Berlin, Germany Message-ID: <1vt154$mme@news.cs.tu-berlin.de> References: <1993Jun18.114509.14473@ac.dal.ca> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit lisag@ac.dal.ca writes: >Hi....I'm using an NXBrowser to diplay a list of options(data sets)..but I >can't seem to find a way to refresh this browser with an alterted list. Does > nyone know a way to update a browser (I'm using the very lazy delegate) You should send a [browser reloadColumn:column] Message. -- Axel Habermann \\|// FaxFon: +49 30 4543046 Fehmarnerstr. 4 )o o( eMail: kiwi@cs.tu-berlin.de 1000 Berlin 65 \ | / "Wenn Du nicht weisst Germany \~/ was du tust, mach's mit Eleganz!"
Newsgroups: comp.sys.next.programmer From: dkwan@zeus.UWaterloo.ca (Derek Kwan) Subject: Re: Stripping Fat Binaries Message-ID: <C8u0A5.K4x@watserv1.uwaterloo.ca> Sender: news@watserv1.uwaterloo.ca Organization: University of Waterloo References: <1993Jun16.144019.309@stone.com> Date: Fri, 18 Jun 1993 19:18:04 GMT In article <1993Jun16.144019.309@stone.com> andrew@stone.com (Andrew Stone) writes: } In article <1993Jun15.165252.69239@cc.usu.edu> edx@cc.usu.edu writes: } > } > How do I strip out unwanted versions in a fat } > binary? I don't want to waste my disk space } > on useless/unnecessary Intel code. } > } > thanks. } } Check out "man lipo", what a sense of humor, eh? } } "Lipo creates, thins and operates on fat files...." } } } andrew } -- } ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>|| } !! Andrew Stone !! (505) 345-4800 !! } !! andrew@stone.com <> Stone Design Corp !! } ||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>|| So does this trick also work for NSI too? Derek
Newsgroups: comp.sys.next.programmer From: eisert@psl.wisc.edu Subject: Hardware Address Map of Cube? Message-ID: <1993Jun17.203708.28942@pslu1.psl.wisc.edu> Sender: news@pslu1.psl.wisc.edu (USENET News System) Organization: University of Wisconsin - Physical Science Lab Date: Thu, 17 Jun 93 20:37:08 GMT I would like to play around with a NeXT Cube '030 motherboard without any NeXTStep software, just the motherboard. So I would like to get some information on the addresses of the various IC's on the board and information about the custom chips. I have data sheets on the basic parts. Could someone point me to a book or FTP site that would give me some clues. A quick look at the EPROM shows a lot of stuff at $20xxxxx. I also need the pinout of the connectors. Please Email replies to sys_dee@src.wisc.edu. Thanks, Dave Eisert
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: andersen@reality.glv.com (Robert Andersen) Subject: Perl? Message-ID: <1993Jun18.181435.378@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Fri, 18 Jun 1993 18:14:35 GMT Where can I get a copy of Perl for the NeXT? -- Robert John Andersen andersen@reality.glv.com 919-460-3285 Voice 919-460-3295 Fax
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: Expo BOF's Message-ID: <1993Jun18.191136.2923@afs.com> Sender: jon@afs.com Date: Fri, 18 Jun 1993 19:11:36 GMT If anyone attended the Indexing Kit or 3DKit BOF's at the Expo, could you drop me a line and fill me in on what I missed? Thanks -- Jonathan W. Hendry Anderson Financial Systems, Inc. jon@afs.com
From: janthony@nextsrv1.andi.org (Jay Anthony) Newsgroups: comp.sys.next.programmer Subject: Re: PhoneKit/MessageCenter Date: 18 Jun 1993 16:16:15 -0500 Organization: UTexas Mail-to-News Gateway Sender: daemon@cs.utexas.edu Message-ID: <9306182113.AA15468@nextsrv1.andi.org> >1) Do PhoneKit apps work in 3.1? - Are the libraries still there? >2) Does MessageCenter.app work? With POTS lines? [Errr...] To my displeasure, MessageCenter will not even start-up under 3.1 (it was working fine under 3.0). I assume that means the libraries are not there. >Thanks. Your welcome. I wish I had a more pleasing answer, though... :-) --Jay-- --- Jason W. Anthony NeXTmail: DigitalExpressions@andi.org Digital Expressions Inc. Voice/Fax: +1 518 346-0568
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Testing outlets in Test Interface mode Date: 19 Jun 1993 00:20:26 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <1vtm4aINNbl9@darkstar.UCSC.EDU> I need to be able to test outlets in my rather complex non-View palette objects while in Test Interface mode. I can put these tests in awakeFromNib and run the tests at run-time, but I haven't found a way to do this in IB. Putting the tests in finishArchiving, init, awake, etc. is just too early; i.e., the outlets just haven't been set yet. If the outlet is nil, its setOutletName: method isn't apparently messaged, but I haven't found an acceptable way to use the fact that a method isn't messaged to test for a nil outlet. I'd appreciate any ideas you might have. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: brad@instep.wimsey.bc.ca Subject: Where's the feature list for NS 3.1 - developer's perspective Message-ID: <1993Jun18.232952.10112@instep.wimsey.bc.ca> Sender: brad@instep.wimsey.bc.ca (Bradley Head) Organization: InStep Mobile Communications Inc. Date: Fri, 18 Jun 1993 23:29:52 GMT A few questions: Why haven't I received any information from NeXT on upgrading to 3.1? What features & bug fixes does NS 3.1 for Black hardware provide that would compel me to rush my order? I would have expected to receive this information from NeXT already. Thanks. Brad. -- Bradley Head Software Developer, InStep Mobile Communications Inc. brad@instep.wimsey.bc.ca (NeXTmail accepted) 604 872-7116 fax: 604 872-7125
Newsgroups: comp.sys.next.programmer From: anderson (Ken Anderson) Subject: Re: Is underscore "_" something I shouldn't use? Message-ID: <1993Jun18.212602.10755@biztech.com> Sender: news@biztech.com Organization: Biztech, Inc. References: <1vqmjmINNr71@master.cs.rose-hulman.edu> Date: Fri, 18 Jun 1993 21:26:02 GMT In article <1vqmjmINNr71@master.cs.rose-hulman.edu> fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) writes: > > I have just finished making a palette object, but there were several >variables and methods which appeared in the Connections inspector of Interface >Builder that the user should not be able to touch. On a whim of intuition, I >changed the - myAction:sender methods to - myAction:anObject. I parsed the >class definition and, voila, IB ignored those methods. On a second burst of >insight, I altered my instance variables from aVar to _aVar. Upon reparsing, IB >ignored those instance variables. > > This works great for me and prevents the user from making connections >that would wreck the object, but I am wondering if I am potentially overwriting >some private methods or variables by using the underscore "_" to precede my >instance variables. Does anyone know about this? I thought I had read somewhere >that _some_method_name: designated a private (hands off! don't use in your >code) method, but I'm not sure. > > Your help, as always, is appreciated. >-- David, There's no problem using _ in front of your id's that you do not want shown in IB. In fact, IB is purposely ignoring them. There is, however, another way that will make your programs look a little nicer (less underscores). Place multiple id's on one line in the @interface section, and IB will not parse them. IE: id myobj1, myobj2; IB is also purposely looking for methods that return type (id) and take 1 (id) (that must be named 'sender') as a parameter to be used as actions. Anything else won't be displayed. Ken Anderson anderson@biztech.com Stamford, CT
From: clloyd@gleap (Charles C. Lloyd) Newsgroups: comp.sys.next.programmer Subject: Re: Categories Message-ID: <1993Jun18.212055.9652@gleap.jpunix.com> Date: Fri, 18 Jun 1993 21:20:55 GMT References: <1vqumr$g22@cs.ubc.ca> Sender: clloyd@gleap.jpunix.com Organization: GiantLeap Software Marko Riedel writes > >I've got a class with a large number of methods. >I'm grouping some of them into categories -- mostly for structural reasons >& more easily read code & to fake "private" methods. >I could do without the categories though, if I had to. >My question is this: do I take a performance hit in the method lookup when >I have, say, four or five categories in a class? > >Thanks, > >Marko R. > >PS: Please spare me the sort of well-intentioned "you must be doing >something wrong if you've got that many categories" ... what I really want >to know is how these things are implemented. You take a hit, but only on the first time the message is sent. The first time the message is looked up, it is cached into a flat table associated with the class of the receiver. This way, recursive lookups (tracing up the inheritance hieracy) are also faster after the first lookup. Charles. -- Charles Lloyd clloyd@GLeap.jpunix.com GiantLeap Software (713) 292-2442 or 363-0887 (Hou) (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: gzip on 3.1 Message-ID: <1993Jun19.070418.29798@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun18.130024.320@ccsi.com> Date: Sat, 19 Jun 1993 07:04:18 GMT In article <1993Jun18.130024.320@ccsi.com> shill@ccsi.com (Sean L. Hill) writes: >Maybe someone could send me the binary for it? Probably 3.0 compiled >would work fine under 3.1. Even better, I've compiled it on a 2.1 system. :-) Anonymous FTP from sutro.sfsu.edu [130.212.15.230] pub/gzip-1.2.2-bin.tar.Z This contains an executable for gzip/gunzip/gzcat (all hard links to the same file), the man page (before and after nroff), a copy of the gzip 1.2.2 announcement from gnu.announce (which tells you where to obtain the complete source distribution), and some other crud I'm obligated to throw in there. Warning: do not unpack this tarchive on top of the gzip source distribution--find an out-of-the-way place first! -=EPS=-
Newsgroups: comp.sys.next.programmer From: rcs002@acad.drake.edu Subject: Next Programming FAQ Message-ID: <1993Jun19.120100.1@acad.drake.edu> Sender: news@dunix.drake.edu (USENET News System) Organization: Drake University, Des Moines, Iowa, USA Date: Sat, 19 Jun 1993 18:01:00 GMT Help !! I've been asked to develop a few apps for windows 3.1, but I'm trying to convice my contact to look at NeXTStep instead, and I need a few answers to some specific questions regarding NeXTStep and its capabilities. Example questions: NeXTStep learning curve ? Object-C learning curve ? Image control (gif,eps) ? Data Bases ? Sound ? and many more.... If anyone is willing, I'd like to throw even more questions at you. I'd really like to convert this project, and possible many more to NeXTSTEP, but I need a few questions answered. If possible, leave a phone number and times to call.... Thanks, Robert C. Stiff rcs002@acad.drake.edu
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: Is underscore "_" something I shouldn't use? Message-ID: <C8vrMA.3CL@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Stultus Enterprises References: <1993Jun18.212602.10755@biztech.com> Date: Sat, 19 Jun 1993 18:06:09 GMT You've got to be careful using those underscores. Next uses underscore as the first character of private ivars and methods. If you use it, you run the risk of inadvertantly overriding a method or doing something else that might turn out nasty. If you are careful it might be possible. I think that for ivars, using Ken's trick of declaring them more than one to a line is better. ____________________________________________________________ Mike Ferris Whenever you find that you are mike@lorax.com on the side of the majority, Rubicon Software it is time to reform. (510) 652-2039 -Mark Twain
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: Getting browsers to accept directories Message-ID: <1993Jun18.161825.10959@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <1993Jun16.215103.9930@cs.uno.edu> Distribution: na Date: Fri, 18 Jun 93 16:18:25 GMT In article <1993Jun16.215103.9930@cs.uno.edu> jstelly@math.uno.edu (John R. Stelly II) writes: > > Can anyone point me in the direction of what to do in order to make either > a save or an open panel ( or some variant thereof ) accept directories. > Ideally, what I would like would be a browser which shows only > directories; failing that, I'll take a browser which shows everything but > doesn't accept non-directories as selections. I've looked through the > class definitions and have tried the methods there ( eg allowBranchSel ), > but I can't seem to get things to work. > > If it's of any consequence, I'm using 2.1. Use 3.0. It's a real pain under 2.1. MicroPhone does it, and it took quite a while to get everything working right. Basically, we use posing and rewrite the SavePanel. It's a real pain. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Fat binaries: Just a simple hack Message-ID: <1993Jun18.123259.1012@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization Date: Fri, 18 Jun 1993 12:32:59 GMT Ever wondered how fat binaries work ? It's easier than you would believe. Nothing magic. You probably know how apps under 3.0 look like: There are a lot of files, namely .nib's, tiffs, help-files. Then there is the main-binary which consists of program-text, constants, static-data. The fat-binaries look the same: They just copied the x86 and 040-binaries into one file. This means: string constants, static data, debug information etc. is duplicated in each part. More exactly, a fat binary looks like this: magic number CA FE BA BE ....... A block of 8K starts each fat-b. magic number FE ED FA CE ....... The beginning of the 040 binary magic number CE FA ED FE ....... The beginning of the x86 binary Thats all. The blocks which begin with magic numbers are all on 8K boundaries. So stripping a fat binary for one architecture is easy (3.0 users can do this with a binary editor): remove the first (CAFEBABE) block. remove everything after CEFAEDFE (040 system) or remove everything from FEEDFACE to CEFAEDFE) (x86 system) This means: The NeXT claim that Fat-Binaries are just about 20% over a thin binary is only true if there are many nib-files, tiffs etc. If new architectures are introduced, it becomes much worse. ImageViewer.app for example is about 45 % fatter than the thin app. I'm not really excited how they did this .... -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Sender: news@stasys.sta.sub.org Newsgroups: comp.sys.next.programmer From: ram@ramsys.sta.sub.org (Reimer A. Mellin) Subject: Re: gzip on 3.1 Message-ID: <1993Jun19.160017.1033@ramsys.sta.sub.org> Sender: ram@ramsys.sta.sub.org (Reimer A. Mellin) Organization: at home References: <1993Jun18.130024.320@ccsi.com> Date: Sat, 19 Jun 1993 16:00:17 GMT Sean L. Hill writes > Has anyone been able to compile gzip under 3.1? I haven't been able to do > it on a 3.1PR1 system. Anyone know if it's easier/possible under real > 3.1? > In 3.1 gzip resides in /usr/bin: ramsys> gzip -V gzip 1.0.7 (18 Mar 93) Compilation options: SYSDIR STDC_HEADERS HAVE_UNISTD_H ASMV Cheers Reimer -- Reimer A. Mellin, ram@ramsys.sta.sub.org Aidenbachstr. 131/6, 8000 Muenchen 71,
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: How do you update a NXBrowser????? Organization: Primitive Software Ltd. References: <1993Jun18.114509.14473@ac.dal.ca> <1vt154$mme@news.cs.tu-berlin.de> Date: Sat, 19 Jun 1993 10:01:28 +0000 Message-ID: <1993Jun19.100128.2788@prim> Sender: usenet@demon.co.uk BTW, I'm not totally happy with the way a new column is loaded into an NXBrowser. Rather than have the delegate play the passive role and be asked by the browser for the next columns contents, I'd rather the delegate was simply informed that an item has been clicked and then actively load the next column itself. (This is partly because the delegate (target?) method that tells you a cell has been selected is sent _after_ the next column has been loaded, wheras I'd prefer it before). Has anyone tried reversing roles in this way? Are there any problems? Is it a bad design principle? Dave Griffiths
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: gzip on 3.1 Message-ID: <1993Jun19.235620.7916@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun18.130024.320@ccsi.com> <1993Jun19.160017.1033@ramsys.sta.sub.org> Date: Sat, 19 Jun 1993 23:56:20 GMT In article <1993Jun19.160017.1033@ramsys.sta.sub.org> ram@ramsys.sta.sub.org (Reimer A. Mellin) writes: >In 3.1 gzip resides in /usr/bin: >ramsys> gzip -V >gzip 1.0.7 (18 Mar 93) All versions prior to 1.1.1 are bad and should be obliterated. (The current release is 1.2.2.) NeXT will, of course, fix this in 3.2, right? (hint, hint) -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Fat binaries: Just a simple hack Message-ID: <1993Jun20.000716.8369@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun18.123259.1012@gamelan> Date: Sun, 20 Jun 1993 00:07:16 GMT In article <1993Jun18.123259.1012@gamelan> thf@zelator.in-berlin.de (Thomas Funke) writes: >information etc. is duplicated in each part. More exactly, a fat binary >looks like this: > > magic number CA FE BA BE ....... A block of 8K starts each fat-b. > magic number FE ED FA CE ....... The beginning of the 040 binary > magic number CE FA ED FE ....... The beginning of the x86 binary The architecture-specific subfiles of a "fat" binary can appear in any order--it isn't necessarily Motorola-first. >This means: The NeXT claim that Fat-Binaries are just about 20% over a >thin binary is only true if there are many nib-files, tiffs etc. If new >architectures are introduced, it becomes much worse. ImageViewer.app for >example is about 45 % fatter than the thin app. > >I'm not really excited how they did this .... Even more amusing: "fat" binaries can be "holey" (sparse)--the subfiles are aligned to page boundaries, but the intervening blocks aren't necessarily allocated (and thus occupy no disk space). However, _copies_ of such a file will almost certainly expand to full size. -=EPS=-
From: trefoil.demon.co.uk!martin (Martin Higham) Newsgroups: comp.sys.next.programmer Subject: Writing a Preferences extension Date: 19 Jun 1993 21:48:25 +0100 Organization: any offers? Sender: martin@trefoil.demon.co.uk Distribution: world Message-ID: <1vvu2p$3hf@trefoil.demon.co.uk> I have a Preferences extension which has some code in it which needs to be run when Preferences is run regardless of whether the application button is selected. I can find nothing in the documentation to help. Has anybody done this? Is it possible? All help appreciated. Martin Higham
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Unhiding an application from the command line Message-ID: <1993Jun20.015041.11851@csus.edu> Sender: news@csus.edu Organization: San Francisco State University Date: Sun, 20 Jun 1993 01:50:41 GMT Have you ever "lost" a running application--either it isn't docked (or you've pulled the dock offscreen), or its application icon is buried under a pile of other windows? It happens to me all the time--mainly because I tend to have a lot of Terminal (and Edit) windows. Here's a quick little hack that lets you unhide/activate an application by name, e.g. unhide NewsGrazer This seems like such an obvious complement to open(1), I wonder why NeXT didn't think of it first. This was originally written for 2.x, but works on 3.0 as well. -=EPS=- ------- /* unhide.m -- tell an application to unhide itself */ /* cc -o unhide -s -O unhide.m -lNeXT_s */ #ifdef NX_COMPILER_RELEASE_3_0 #include <bsd/libc.h> #include <mach/mach.h> #else #include <libc.h> #include <mach.h> #endif #import <appkit/Listener.h> #import <appkit/Speaker.h> main(int argc, char *argv[]) { register int i; char *a; port_t p; int e; id spkr; if (argc<2) { (void)fprintf(stderr, "Usage: %s application [...]\n", *argv); exit(1); } e=0; spkr=nil; for (i=1;i<argc;i++) { a=argv[i]; if (!strcmp(a, "Workspace")) { register char *w; if (w=getenv("Workspace")) a=w; } if (p=NXPortNameLookup(a, (char *)NULL)) { if (!spkr) spkr=[[Speaker alloc] init]; [spkr setSendPort:p]; if ([spkr performRemoteMethod:"unhide"]) e++; (void)port_deallocate(task_self(), p); } else { (void)fprintf(stderr, "%s: \"%s\" not running\n", *argv, argv[i]); e++; } } if (spkr) [spkr free]; exit(e); } -- "Some people like to use a mouse, some people think they're vermin." --Jon Singer
From: anon@ut-emx.uucp Newsgroups: comp.sys.next.programmer Subject: sound files Message-ID: <88092@ut-emx.uucp> Date: 19 Jun 93 17:29:54 GMT Sender: root@ut-emx.uucp Distribution: usa Hi, Does anybody know how to convert sound files to ASCII formatted files (*.dat) ? Jirapa
From: lemson@ux1.cso.uiuc.edu (David Lemson) Newsgroups: comp.sys.next.programmer Subject: Re: gzip on 3.1 Date: 20 Jun 1993 08:25:04 -0500 Organization: University of Illinois at Urbana Message-ID: <201ofu$n6h@ux1.cso.uiuc.edu> References: <1993Jun18.130024.320@ccsi.com> <1993Jun19.160017.1033@ramsys.sta.sub.org> <1993Jun19.235620.7916@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: >In article <1993Jun19.160017.1033@ramsys.sta.sub.org> > ram@ramsys.sta.sub.org (Reimer A. Mellin) writes: >>In 3.1 gzip resides in /usr/bin: >>ramsys> gzip -V >>gzip 1.0.7 (18 Mar 93) >All versions prior to 1.1.1 are bad and should be obliterated. >(The current release is 1.2.2.) >NeXT will, of course, fix this in 3.2, right? (hint, hint) Just don't use this to say that NeXT has done anything wrong. The fact that they included a version from mid March on the real release puts it far beyond other UNIX vendors. You take a risk when you include GNU software. GNU software tends to change weekly (especially when lots of people are working on it like gzip) and you run the risk of putting something not terribly tested on your OS with such things. On the other hand, it provides your users with extra functionality. Eric, I'm sure that you would agree that NeXT has a good record of upgrading to new GNU utilities when putting out new releases (well, except for 2.0->2.1 but I'm about to say why things are different now). The difference is that 2.1 was squeezed onto a few HD floppies. Now that everyone is supposed to have a CD-ROM drive (oops, damn, I knew my NeXT system was missing something, oh well) they can distribute the upgrades with as much as they have time to fix. -- David Lemson (217) 244-1205 University of Illinois Computing & Comm Services Office System Administrator Internet : lemson@uiuc.edu UUCP :...!uiucuxc!uiucux1!lemson NeXTMail & MIME accepted BITNET : LEMSON@UIUCVMD
From: samurai@binkley.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: gzip on 3.1 Message-ID: <201qj2$ke7@binkley.cs.mcgill.ca> Date: 20 Jun 93 14:01:06 GMT References: <1993Jun18.130024.320@ccsi.com> <1993Jun19.160017.1033@ramsys.sta.sub.org> <1993Jun19.235620.7916@csus.edu> Sender: news@sifon.cc.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada In article <1993Jun19.235620.7916@csus.edu> eps@cs.sfsu.edu writes: RE: gzip >All versions prior to 1.1.1 are bad and should be obliterated. >(The current release is 1.2.2.) Aaaaaaaahhh!! Why are they bad? Don't tell me that I've been compressing all of my files with a program that didn't work right! - db -- <Here we are! Here we are! Here we are!> Stipe <I don't know.> Steve <It's never really happy for me.> Housemartins <Even a stopped clock tells the right time twice a day.> and I <A nod's as good as a wink wink to a blind man> Idle <Must be a bug in the AppKit.> Ivo + Paul
From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy Subject: Re: Fat binaries: Just a simple hack Date: 20 Jun 1993 15:53:31 GMT Organization: University of Maryland, College Park Message-ID: <20215r$pms@ni.umd.edu> References: <1993Jun18.123259.1012@gamelan> In article <1993Jun18.123259.1012@gamelan> thf@zelator.in-berlin.de (Thomas Funke) writes: > >The fat-binaries look the same: They just copied the x86 and 040-binaries >into one file. This means: string constants, static data, debug >information etc. is duplicated in each part. More exactly, a fat binary >looks like this: But the string constants, etc HAVE to be "duplicated"; since there is nothing that constrains them to be the same: #ifdef __BIG_ENDIAN__ char *foo = "This is the big endian version"; #else char *foo = "This is the little endian version"; void swapem(int *arraytofix) { .... } #endif While it certainly is true that the vast majority of code can just be recompiled, writing any code that deals with the external world and streams of data (like networking implementions) are necessary byte order dependent. Louis Mamakos
Newsgroups: comp.sys.next.programmer From: bm@shadow.columbia.edu (Blair MacIntyre) Subject: writing device drivers, tty line-disciplines, etc.... Message-ID: <C8xMFE.LGn@cs.columbia.edu> Sender: news@cs.columbia.edu (The Daily News) Organization: Columbia University Distribution: comp Date: Sun, 20 Jun 1993 18:09:13 GMT This is a general question: is it possible? How hard is it? Write now I'm using Mach 2.5 on a PC, and I'm contemplating switching to NeXTStep Intel. But, we have numerous home-brewed line-disciplines and other device drivers that I would also need on NS/I. So, is there support for writing line-disciplines and other device drivers? I imagine that some of our stuff (support for various ethernet cards, support for RS485 cards with 14550 buffered com ports, etc) might already exists in NS/I, but if it doesn't we'd need to move our stuff over. Since I can't imagine getting the source for the OS, is there some supported way to add-your-own drivers? Thanks. -- Blair MacIntyre --- bm@cs.columbia.edu --- CS Department, Columbia University "You drive, you kill." --- from the movie "Roadkill"
Newsgroups: comp.sys.next.programmer From: joe@FreemanSoft.com (Joe Freeman) Subject: Re: Writing a Preferences extension Message-ID: <1993Jun20.135558.1580@FreemanSoft.com> Sender: jfreeman@FreemanSoft.com Organization: FreemanSoft Inc. References: <1vvu2p$3hf@trefoil.demon.co.uk> Date: Sun, 20 Jun 1993 13:55:58 GMT In article <1vvu2p$3hf@trefoil.demon.co.uk> trefoil.demon.co.uk!martin (Martin Higham) writes: > I have a Preferences extension which has some code in it which needs to > be run when Preferences is run regardless of whether the application > button is selected. I can find nothing in the documentation to help. > > Has anybody done this? Is it possible? No. No. -- Joe Freeman FreemanSoft Inc. A NEXTSTEP software and consulting services company. Electronic Mail: Joe@FreemanSoft.com Voice: 919.783.7033
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: How to Contact NeXT Date: 20 Jun 1993 19:42:28 GMT Organization: University of Michigan EECS Dept. Message-ID: <202ej4$5oi@zip.eecs.umich.edu> Keywords: NeXT Hi all, Does any of you know if NeXT provides any kind of support for NeXT programmers? If they do, how do I contact it? --Hyong (hyongsop@engin.umich.edu)
Newsgroups: comp.sys.next.programmer From: spagiola@frinext.stanford.edu (Stefano Pagiola) Subject: Re: Unhiding an application from the command line Message-ID: <1993Jun20.195618.17403@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <1993Jun20.015041.11851@csus.edu> Date: Sun, 20 Jun 93 19:56:18 GMT Eric P. Scott writes > Have you ever "lost" a running application--either it isn't > docked (or you've pulled the dock offscreen), or its application > icon is buried under a pile of other windows? It happens to me > all the time--mainly because I tend to have a lot of Terminal > (and Edit) windows. > > Here's a quick little hack that lets you unhide/activate an > application by name, e.g. [neat little script deleted] Thanks Eric for the script. For those who do not have terminal windows open all the time, another way of doing this is by using the Processes Panel (which can be called by hitting cmd-P in workspace). Put it in Applications mode and select the application you want to unhide from the scroll list. Clicking on the icon of the application when it appears on the panel will unhide and/or bring that application to the front. -- - Stefano Pagiola Food Research Institute, Stanford University spagiola@frinext.stanford.edu (NeXTMail encouraged) spagiola@FRI-nxt-Pagiola.stanford.edu (NeXTMail encouraged)
From: wjs@blorf.omnigroup.com (William Shipley) Newsgroups: comp.sys.next.programmer Subject: Here's a DBKit example of fetchContentsOf: (was Re: (DBKit) Is this a bug?) Message-ID: <202ge5INNqqc@news.u.washington.edu> Date: 20 Jun 93 20:13:57 GMT Article-I.D.: news.202ge5INNqqc References: <1vf0i0$393@steffi.demon.co.uk> Distribution: world Organization: University of Washington Robert Nicholson writes > [dbModule fetchContentsOf:entity usingQualifier:qualifier]; // NO > //[dbModule fetchContentsOf:nil usingQualifier:qualifier]: // YES > //[dbModule fetchContentsOf:[qualifier entity] usingQualifier:qualifier]; // NO > [...] > Why is it that the only line that will actually fetch successfully is > > [dbModule fetchContentsOf:nil usingQualifier:qualifier]; > > the other two do not fetch at all. This is most unusual since in the General > Reference manaual it says that if the first argument to DBModule's > fetchContentsOf: usingQualifier: is nil then the DBModules DBEntity is assumed. No, it doesn't. It says: << The argument aSource may be nil, in which case all records in the DBFetchGroup's entity are fetched. If aSource is a DBValue containing NULL, the effect is to clear the DBRecordList without fetching any new records. Alternatively, aSource may be a DBValue that specifies a relationship. For example, suppose the relationship joins the entity called Department to the entity called Employees, containing the employees belonging to each department. The DBValue may contain a specific value for the property Department Number and also the entity to which it is joined (Employees). Records will be fetched for all employees in the indicated department, using the key value of Department Number as a foreign key that qualifies the selection of records from Employees. >> Note that, although you may interpret the first sentence to mean the entity is being substituted for the nil source, this isn't true. Note also they don't mention using an entity as a source; they only mention either (a) leaving the source parameter nil, or (b) using a DBValue that represents a relationship. The first case means the source is ignored, the second uses the relationship value as a sort of meta-qualifier on the fetch. Thus it's undefined to use an entity as a source. Let's assume, for example, you had a module of people, and in DBModeller you had specified a join to a table of addresses, called "address". Now say you wanted to fetch (in the address fetchGroup) all the addresses that go with the current person in the main fetchGroup. Here's approximately how you'd do it (untested, may have bugs): { DBFetchGroup *peopleFetchGroup = [module rootFetchGroup]; DBFetchGroup *addressFetchGroup = [module fetchGroupNamed:"address"]; DBRecordList *peopleRecordList = [peopleFetchGroup recordList]; id relationship = [peopleFetchGroup propertyNamed:"address"]; DBValue *relationshipValue = [[DBValue alloc] init]; [peopleRecordList getValue:relationshipValue forProperty:relationship]; [addressFetchGroup fetchContentsOf:relationshipValue usingQualifier:nil]; [relationshipValue free]; return self; } You don't often have to write this type of code, because when you hook up properties from different fetchGroups in the same DBModule in IB, DBKit automatically will do almost exactly this code on the sub fetchGroups whenever you call [DBModule fetchContentsOf:usingQualifier:]. That's how, for example, if you hook up a table of people and a detail table of each person's addresses to the same module in IB, the address table will always stay in sync. -Wil Shipley The Omni Group DBKit consulting PS: Note that we've written a little palette that extends DBFetchGroup with a category that allows us to shorten the above code snippet to: { DBFetchGroup *peopleFetchGroup = [module rootFetchGroup]; DBFetchGroup *addressFetchGroup = [module fetchGroupNamed:"address"]; DBValue *relationshipValue = [[DBValue alloc] init]; [peopleFetchGroup getValue:relationshipValue forPropertyNamed:"address"]; [addressFetchGroup fetchContentsOf:relationshipValue usingQualifier:nil]; [relationshipValue free]; return self; } Even cooler is that we can now say things like: age = [peopleFetchGroup intValueForPropertyNamed:"age"]; [peopleFetchGroup setIntValue:age+1 forPropertyNamed:"age"]; AND our modified DBFetchGroup will automatically update any UI elements on the screen that display the age. Note that the normal way of telling the recordList to set the age does NOT automatically update the screen; in fact, there is no correct way to update the screen if you programmatically set a value in DBKit. I mention this in order to (a) encourage people to write similar hacks to DBFetchGroup, and (b) point out one of the huge flaws with DBKit, in hopes that we'll all complain and get it fixed. Unfortunately, I cannot give away this palette.
Newsgroups: comp.sys.next.programmer From: krab@xiv.iesd.auc.dk (Kresten Krab Thorup) Subject: Re: Categories In-Reply-To: clloyd@gleap's message of Fri, 18 Jun 1993 21:20:55 GMT Content-Type: text/plain; charset=iso-8859-1 Message-ID: <KRAB.93Jun20234903@xiv.iesd.auc.dk> Sender: news@iesd.auc.dk (UseNet News) Content-Transfer-Encoding: 8bit Organization: Math & CS at Aalborg Univeristy References: <1vqumr$g22@cs.ubc.ca> <1993Jun18.212055.9652@gleap.jpunix.com> Mime-Version: 1.0 Date: 20 Jun 93 23:49:03 In article <1993Jun18.212055.9652@gleap.jpunix.com> clloyd@gleap (Charles C. Lloyd) writes: [Message lookup for categories] You take a hit, but only on the first time the message is sent. The first time the message is looked up, it is cached into a flat table associated with the class of the receiver. This way, recursive lookups (tracing up the inheritance hieracy) are also faster after the first lookup. You might say a hit, but really it is nothing. In any reasonable implementation the difference would not be worth mentioning. A thing that might make a difference is the number of methods kept in the cache. That is, many classes with fewer methods called on them, will typically be faster than few classes with many methods used. Having a big table of used classes causes more probes in the table. Again, this depends on the implementation of the cache data structure, but this is true for the NeXT objc runtime. The GNU objc runtime uses a different approach to implement this cache, which does not have this property. It is equaly fast no matter now methods you have in it. My analysis tells me that the latter uses only slightly more memory than the hashing technique used by NeXT. On the other hand it makes e.g. the updating of tables at dynamic loading considerably more complex... If you really care for speed you shouldn't be using objc. Depending on the amount of mesage passing you use, C++ is still at least 4-5 times faster; but then again -- you do want OO, right :-) /Kresten -- [Kresten krab: Thorup] | / | E-mail : krab@iesd.auc.dk Dept. for Math and Computer Sc. | ,-'/( | S-mail : Sigrid Undsetsvej 226A Aalborg University | / | \ | 9220 Aalborg \O Fr. Bajers vej 7, DK-9220 Aalb | A U C | Denmark ------------------------------------------------------------------------------- Member of The League for Programming Freedom
Newsgroups: comp.sys.next.programmer From: howard@monitor.com (Howard Brenner) Subject: Archived files written from NeXTSTEP 3.0 and read in NeXTSTEP_Intel Message-ID: <C8xv46.9Ks@monitor.com> Sender: howard@monitor.com (Howard Brenner) Organization: Monitor Company / IE Date: Sun, 20 Jun 1993 21:16:53 GMT I have a NeXTSTEP 3.0 program that I've recompiled for both NeXT mk and i486 architechture. Part of the functionality of the program is archiving the objects so the system can be restored during a later date (using NXWriteObject and NXReadObject). What I've noticed is that when I archive my objects under NeXTSTEP 3.0 I can't read them in under NeXTSTEP_Intel and when I archive it under NeXTSTEP_Intel I can't read it under NeXTSTEP 3.0 (I get the error "Inconsistency between read and written data"). Does anyone know which objects have changed their archiving and/or how I can fix this problem (the problem seems to be when the program is trying to read in a NeXT supplied object not one of the ones I have written for my application)? Thanks, Howard
Newsgroups: comp.dsp,comp.sys.next.programmer From: asm@eecg.toronto.edu (Anees S. Munshi) Subject: DSP booting fails sometimes... Message-ID: <1993Jun20.193501.7295@jarvis.csri.toronto.edu> Organization: Department of Electrical and Computer Engineering, University of Toronto Date: 20 Jun 93 23:35:01 GMT I'm having trouble booting the DSP on the NeXT with .lod files that contain X or Y data DC definitions. In other words, if you have a source file that contains a DC directive defining storage for either the X or Y data space, booting the DSP with the resulting .lod file using SNDReadDSPfile() and SNDBootDSP() fails. Why?? If this is a limitation of SNDReadDSPFile() or SNDBootDSP(), I see no mention of this in the docs. BTW, the .lod file appears to be okay. Is there another library function that will do this correctly, or am I doing something wrong? Please respond by email as I don't often read news. Your assistance is appreciated. Regards, Anees Munshi ------------------------------------------------------------------------- Anees Munshi, University of Toronto, Department of Electrical Engineering Email:asm@eecg.toronto.edu (NeXTMail accepted) Telephone: 416.929.5754 (Toronto), Fax: 416.929.5744 -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: asm@eecg.toronto.edu (Anees S. Munshi) Subject: DSP boot fails Message-ID: <1993Jun20.193609.7376@jarvis.csri.toronto.edu> Organization: Department of Electrical and Computer Engineering, University of Toronto Date: 20 Jun 93 23:36:09 GMT I'm having trouble booting the DSP on the NeXT with .lod files that contain X or Y data DC definitions. In other words, if you have a source file that contains a DC directive defining storage for either the X or Y data space, booting the DSP with the resulting .lod file using SNDReadDSPfile() and SNDBootDSP() fails. Why?? If this is a limitation of SNDReadDSPFile() or SNDBootDSP(), I see no mention of this in the docs. BTW, the .lod file appears to be okay. Is there another library function that will do this correctly, or am I doing something wrong? Please respond by email as I don't often read news. Your assistance is appreciated. Regards, Anees Munshi ------------------------------------------------------------------------- Anees Munshi, University of Toronto, Department of Electrical Engineering Email:asm@eecg.toronto.edu (NeXTMail accepted) Telephone: 416.929.5754 (Toronto), Fax: 416.929.5744 -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: ian_stewart@pyrian.com (Ian H. Stewart) Subject: INIT & mount floppy procedurally Message-ID: <C8y8K1.9v@pyrian.com> Sender: ian@pyrian.com (Ian H. Stewart) Organization: Pharaoh Computer, Inc. Date: Mon, 21 Jun 1993 02:07:13 GMT On an Intel machine, I need to be able initalize a next 1.44 floppy and then mount it. I am trying this: system("/usr/etc/disk -i -l \"popeye\" /dev/rfd0a"); sleep(20); [workspace checkForRemovableMedia]; sleep(20); if(![workspace getMountedRemovableMedia:&disk]){... The trouble is I seem to lose the floppy after the INIT is done. I can't even use Check for Disks in Workspace any longer. I appreciate any help. I need this to do the following: 1) make sure the disk is blank 2) make sure the disk is named popeye 3) write the file out as /popeye/cans Any better suggestions are appreciated. ihs
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: dav@well.sf.ca.us (Paul Davilon) Subject: Intel NS software (where?) Message-ID: <C8yuE8.4A5@well.sf.ca.us> Sender: news@well.sf.ca.us Organization: The Whole Earth 'Lectronic Link, Sausalito, CA Date: Mon, 21 Jun 1993 09:58:55 GMT Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: Intel NS software (where?) I have temporary access to an Epson NX machine running Nextstep 3.1, I will be getting a Dell Jaws DGX system soon, but anticipate that it will function the same way (except faster and bigger :) Reading the groups and looking at the ftp sites it looks like most software is still only for black hardware, what I would really like to know is where I can get copies of the NS programs Newsgrazer and SLIPCommander, that will work on the NS /FIP version. I would also like to get elm, tin, tcsh, kermit, zmodem and some regular unix-like program compiled on the system, will the current source codes out there right now compiled using "next" flags, compile the same way on Intel hardware? Any help is gratefully appreciated, if there is enough interest I will be happy to summarize. dav@well.sf.ca.us dav@phantom.com
Newsgroups: comp.sys.next.programmer From: rick@TotSysSoft.com (Richard Jacoby) Subject: Re: writing device drivers, tty line-disciplines, etc.... Message-ID: <1993Jun21.044118.5365@ToTSySSoft.com> Sender: rick@ToTSySSoft.com Organization: Total System Software References: <C8xMFE.LGn@cs.columbia.edu> Distribution: comp Date: Mon, 21 Jun 1993 04:41:18 GMT In article <C8xMFE.LGn@cs.columbia.edu> bm@shadow.columbia.edu (Blair MacIntyre) writes: > > This is a general question: is it possible? How hard is it? > > Write now I'm using Mach 2.5 on a PC, and I'm contemplating switching to > NeXTStep Intel. > > But, we have numerous home-brewed line-disciplines and other device > drivers that I would also need on NS/I. So, is there support for > writing line-disciplines and other device drivers? I imagine that > some of our stuff (support for various ethernet cards, support for RS485 > cards with 14550 buffered com ports, etc) might already exists in NS/I, > but if it doesn't we'd need to move our stuff over. > > Since I can't imagine getting the source for the OS, is there some > supported way to add-your-own drivers? > > Thanks. > -- > > Blair MacIntyre --- bm@cs.columbia.edu --- CS Department, Columbia University > > "You drive, you kill." --- from the movie "Roadkill" Yea, there is. You can write loadable kernal serveres that get linked into the kernal at boot time. You can write costom drivers that only your software can access or you can write a UNIX type driver that knows what to do when a read, write, open, close..etc. is called from any program... Rick
Newsgroups: comp.sys.next.programmer From: robertn@penny.demon.co.uk (Robert Nicholson) Subject: Unique key management Date: Mon, 21 Jun 1993 09:52:14 +0000 Message-ID: <9306210942.AA00506@penny.demon.co.uk> Sender: usenet@demon.co.uk Unique Key Management using the DBKit. I have to write a multiuser database using the DBKit. My question relates to record locking and how this can be used when managing unique keys. Currently, I choose to use "application-generated unique id's" for my primary keys. In order to allow database access when calculating the "next-unique id" I require a solution that doesn't require exclusively locking the entire primary table. DBKit doesn't support exclusive locking in the way I understand it. My aim is to have a KEY's table with the following fields. ENTITY HIGHEST KEY and access this table when a unique key needs to be generated. It is important that I be able to maintain an exclusive lock on this table in order to avoid dirty reads. (I haven't yet thought about wether I intend to reuse keys or wether we intend to flag delete) These are the issues i'm concerned with and is really stuff I have no experience with in my past Database work.
Newsgroups: comp.sys.next.programmer From: marcel@nice.usergroup.ethz.ch (Marcel Waldvogel) Subject: Re: Unhiding an application from the command line Message-ID: <C8z1rD.58s@bernina.ethz.ch> Sender: news@bernina.ethz.ch (USENET News System) Organization: NiCE - NeXT User Group, Zuerich References: <1993Jun20.015041.11851@csus.edu> Date: Mon, 21 Jun 1993 12:38:00 GMT In article <1993Jun20.015041.11851@csus.edu> eps@cs.sfsu.edu writes: >Here's a quick little hack that lets you unhide/activate an >application by name, e.g. > > unhide NewsGrazer > >This seems like such an obvious complement to open(1), I wonder >why NeXT didn't think of it first. I was always doing things like this with the following line of code: open -a NewsGrazer This (at least with 3.0) just unhides the named app if it is already running. -Marcel
From: Thomas.J.Baker@UNH.edu (Thomas J. Baker) Newsgroups: comp.sys.next.programmer Subject: Command Line Faxing Date: 21 Jun 1993 13:27:00 GMT Organization: University of New Hampshire - Durham, NH Distribution: world Message-ID: <204cv4$6lj@mozz.unh.edu> Has anyone written anything that can fax a text file from the command line? I have a shell script that someone posted a while back but it doesn't seem to work correctly under 3.0. Any help would be appreciated. tjb --- ========================================================================== | Thomas Baker - UNH Postmaster | Voice: (603) 862-4490 | | Networking & Unix Systems Manager | Fax: (603) 862-1085 | | Computing & Information Services ====================================| | University of New Hampshire | Internet: Thomas_Baker@UNH.edu | | M113 Kingsbury Hall | NeXTmail Encouraged! | | Durham, NH 03824 | PGP Key available on key servers | ==========================================================================
From: heisinc@uni-muenster.de (Christoph Heising ) Newsgroups: comp.sys.next.programmer Subject: DBKit Book? Date: 21 Jun 1993 15:05:47 GMT Organization: Westf. Wilh.-Universitaet Muenster, Germany Distribution: world Message-ID: <204iob$sil@obelix.uni-muenster.de> Hello! Does anybody know some good book dealing with DBKit? Ciao Chris
From: rfschtkt%banruc60.BITNET@phem3.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: Re: Unhiding an application from the command line Date: 21 Jun 1993 12:01:23 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9306211556.AA12454@flexus> LS, I went looking for NX_COMPILER_RELEASE_3_0 straight away! Did I miss something, or did EPS unlawfully use the NX prefix here? Well, it would be useful! The message reminded me about an old problem: /*workaround to avoid having to dig for the appIcon*/{ // This should probably be conditionalised on the AppKit version // and some default value that the user can set (to get this // behaviour). Of course, NeXT should keep all appIcons in the // dock's tier in the first place... /*const*/ int windowNum=[[NXApp appIcon] windowNum]; /*var*/ unsigned int globalWindowNum; SELECT IFNOT(0<windowNum) // What do you mean there is no window device? // Oh well, just tell the user... NX_ASSERT(0,"0<[[NXApp appIcon] windowNum]"); IFDEFAULT NXConvertWinNumToGlobal(windowNum,&globalWindowNum); // Nice... a function that should obviously take one argument and // return its result is instead defined like this, and // there isn't even a documented error condition. NX_ASSERT(0<globalWindowNum,"0<globalWindowNum"); // just guessing, but execution isn't aborted // (giving the system the benefit of the doubt) PSsetwindowlevel(NX_DOCKLEVEL,globalWindowNum); ENDSELECT } This in appDidInit: just gives something like Jun 21 16:33:58 flexus Otool[12052]: DPS client library error: PostScript program error, DPSContext 108248 Jun 21 16:33:58 flexus Otool[12052]: %%[ Error: rangecheck; OffendingCommand: execuserobject ]%% on the console, and not the effect I'm after. I've tested for other windows: same problem. Solution, anyone? Or is this just the bug of the day? Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in .at or .uucp Nederlands, English, Francais, Deutsch a.o. PS: About the use of "_" to hide instance variables from Interface Builder: apart from collecting several id's on one line, a third option is to declare them statically as Object*, which currently only means that they can't be NXProxy's, or give them their real type (like Window*).
Newsgroups: comp.sys.next.programmer From: roettig@ifi.unizh.ch (Thomas Roettig) Subject: POSIX support in 3.1 and termios Message-ID: <1993Jun21.153036.20469@ifi.unizh.ch> Keywords: POSIX TTY termios Sender: news@ifi.unizh.ch (USENET News Admin) Organization: University of Zurich, Department of Computer Science Date: Mon, 21 Jun 1993 15:30:36 GMT Hi there, Has anyone successfuly used the 3.1 POSIX compliant termios commands? When I'm compiling my stuff I can't find the right library to use. Any clues? Thanks tom -- _____________________________________ Thomas Roettig Forchstrasse 194 CH-8032 Zuerich Switzerland voice +41/1 382 31 64 Email: Thomas.Roettig@NiCE.usergroup.ethz.ch
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Is there a better way to do this PS procedure? Message-ID: <1245@rtbrain.rightbrain.com> Date: 21 Jun 93 17:08:48 GMT References: <1993Jun17.174546.24727@adobe.com> Sender: glenn@rightbrain.com Scott Byer writes > William Clocksin writes > > > I am working on a application that calls a number of PSwraps that > > all have the same structure: > > 1. apply many transformations > > 2. make a path (usually by calling another function) > > 3. invert all the transformations > > Try this: > > defineps PSThing(float cx, cy, dx, dy, w, h, ba, a) > currentmatrix % save the current transform > cx cy moveto % apply the transformations... > a rotate > dx dy rmoveto > currentpoint translate > ba rotate > w h scale > Thing % this makes the path > setmatrix % Undo the transforms > endps I was going to followup more or less the same way Scott did, but I feel compelled to point out that you need "matrix currentmatrix" instead of just "currentmatrix", and since "matrix" allocates memory, it should probably be done somewhat differently. I propose two different wraps, one of which is sent once at startup time, the other of which is called repetetively as you need it: defineps PSWsetup() /mtx matrix def % a scratch matrix to be used below /process_thing { % expects the arguments on the operand stack mtx currentmatrix % save the current transform moveto % cx and cy are on top of stack rotate % a is on top of stack rmoveto % dx and dy are on stack currentpoint translate rotate % ba is on stack scale % w and h are on stack load exec % /Thing (name of procedure) is on stack mtx setmatrix % Undo the transforms } bind def endps defineps PSThing(float cx, cy, dx, dy, w, h, ba, a) /Thing w h ba dx dy a cx cy process_thing endps I haven't tested this, but if it works like I think it will, it will be faster than the previously posted (since a procedure is defined, you don't have to ship all the PS code to the server each time you call the wrap) and will work better because "currentmatrix" won't get a stackunderflow or typecheck error :-) But I agree with Scott that using "currentmatrix" and "setmatrix" in a pair is perfectly acceptable (in fact I think I advocate it somehwere in one of my PS books) -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Here's a DBKit example of fetchContentsOf: (was Re: (DBKit) Is this a bug?) Date: 21 Jun 1993 17:09:00 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <204pvdINN8rc@darkstar.UCSC.EDU> References: <1vf0i0$393@steffi.demon.co.uk> <202ge5INNqqc@news.u.washington.edu> In article <202ge5INNqqc@news.u.washington.edu> wjs@blorf.omnigroup.com (William Shipley) writes: [good explanations deleted] >Alternatively, aSource may be a DBValue that specifies a relationship. For >example, suppose the relationship joins the entity called Department to the >entity called Employees, containing the employees belonging to each >department. The DBValue may contain a specific value for the property > Department Number and also the entity to which it is joined (Employees). >Records will be fetched for all employees in the indicated department, using >the key value of Department Number as a foreign key that qualifies the >selection of records from Employees. >The first case means the source is ignored, the second uses the relationship >value as a sort of meta-qualifier on the fetch. Allow me to offer a caveat to using a DBValue as a fetch meta-qualifier. Even though we have been pleading to NeXT for more than a year to provide full support for compound (i.e., multi-attribute) relationships in DBKit, as of 3.1, DBKit bugs prevent the use of a DBValue as a fetch meta-qualifier for relationships containing more than 3 attribute pairs :-( This may be caused by a DBValue bug actually because DBModeler doesn't generate a correct dbmodel for entities with keys comprised of more than 3 attributes (the primary key property is set for *at most* 3 attributes per entity causing very nasty data entry problems :-( More disturbing, perhaps, is that even though I reported the problem with DBModeler dbmodels during the pre-release program, the bug was not fixed and nothing was mentioned in the release notes, so others may be doomed to wasting a lot of time and customer goodwill trying to figure out why their DBKit apps aren't working correctly :-( >Now say you wanted to fetch (in the address fetchGroup) all the addresses that >go with the current person in the main fetchGroup. Here's approximately how >you'd do it (untested, may have bugs): > >{ > DBFetchGroup *peopleFetchGroup = [module rootFetchGroup]; > DBFetchGroup *addressFetchGroup = [module fetchGroupNamed:"address"]; > DBRecordList *peopleRecordList = [peopleFetchGroup recordList]; > id relationship = [peopleFetchGroup propertyNamed:"address"]; > DBValue *relationshipValue = [[DBValue alloc] init]; > > [peopleRecordList getValue:relationshipValue forProperty:relationship]; > [addressFetchGroup fetchContentsOf:relationshipValue usingQualifier:nil]; > [relationshipValue free]; > return self; >} To ensure that this will work with *any* relationship, one must avoid this nice approach. Instead, one must use a nil DBValue and construct a DBQualifier using undocumented DBRelationship methods (NeXT, tell me I'm wrong! :-( >You don't often have to write this type of code, because when you hook up >properties from different fetchGroups in the same DBModule in IB, DBKit >automatically will do almost exactly this code on the sub fetchGroups whenever >you call [DBModule fetchContentsOf:usingQualifier:]. Although I haven't tested this using relationships with more than 3 attribute pairs, I'd be skeptical at the very least. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: arrouye@cosmos.imag.fr (Yves Arrouye) Subject: Re: NeXTSTEP Developer Boxes In-Reply-To: jon@afs.com's message of Thu, 10 Jun 1993 17:33:09 GMT Message-ID: <ARROUYE.93Jun21160104@aquilon.imag.fr> Sender: news@imag.fr Organization: Institut Imag, Grenoble, France References: <1993Jun10.072752.5532@metrosoft.com> <1993Jun10.173309.666@afs.com> Date: Mon, 21 Jun 1993 15:01:04 GMT Note that *not* all the documentation is printed: you have to buy/print the Sys. Admin. & Network book, and the Operating System Software too. -- With one processor, we verify that the time spent Yves Arrouye in controlling parallelism is not too long. arrouye@mistral.imag.fr arrouye@imag.imag.fr -- Yannick Tre'molet, LMC (33) 76 57 48 61
From: yslee@ux5.lbl.gov (yongsik lee) Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: An reader letter to PCWeek mentioned NeXT Date: 21 Jun 1993 18:17:50 GMT Organization: Lawrence Berkeley Laboratory Message-ID: <204u0e$fds@overload.lbl.gov> References: <C8yuE8.4A5@well.sf.ca.us> In the PC Week (June 21, 1993), A letter from a reader (David Neuman) mentioned NeXT. The title of the letter is "It's time to recognize breakthroughs for what they are" and a quoatation is "Why does Next struggles while Microsoft soars? Gates knows what users want, Jobs knows what users need!" It is a short opinion letter, and not NeXT specific, but all points are well pointed. Yongsik yslee@ux5.lbl.gov
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: DBKit problems Date: 21 Jun 1993 18:53:41 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <20503lINNakg@darkstar.UCSC.EDU> I am under contract to develop a large DBKit app. We now need to build the batch processing engine that will run in the background. Because NeXT hasn't fixed the problems with using compound relationships in DBKit more than a year after we first reported the problems, my client has instructed me to not use DBKit for our batch processes and to return to using Sybase library calls :-( He's not confident that DBKit is bug-free enough to use in these critical data manipulation situations which I understand considering the effort we have expended to use DBKit in the first place. But I feel that he is overreacting and is depriving us of the capability of replacing Sybase with another vendor's server should that become advantageous without a complete rewrite of our batch processing code. I'd like to ask for testimonials from anyone who is using DBKit in background processing. Have you had any data consistency problems or serious bugs that have made using DBKit questionable? I realize that there is some sort of performance hit using DBKit vs. Sybase DBLib. Has this been a problem? NeXT has told me that the DBKit overhead is in microseconds whereas the Sybase client-server messaging and data retrieval is in milliseconds, so DBKit overhead is lost in the noise. Does this seem reasonable? My client's other reason for not using DBKit is so that we can run these background processes on the fast HP database server itself rather than on the i486 client machines. This feels like the wrong approach to me because it defeats the reason for having separate client and server hardware. Running the background processes on the server will slow the server processes whereas distributing the background processing over 5 or more client machines would allow the server to run at full speed. Can an HP server really be more than 5 times faster for simple math calculations than an i486 machine? I'd like to hear your suggestions and experiences with client-server issues like this one. Thanks. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
From: blake015@mc.duke.edu (Denise Blakeley) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: tmpnam() vs mktemp() for CVS under NeXTSTEP Message-ID: <16626@news.duke.edu> Date: 21 Jun 93 19:11:05 GMT Sender: news@news.duke.edu Followup-To: comp.sys.next.misc I have installed RCS 5.6.0.1 and CVS 1.3 on our system, consisting of 3.0 machines. I committed a small "sample" project to CVS and am able to checkout, checkin, etc. from it fine. I then committed a larger "real" project to it and am unable to check anything of it out--it seg faults right away, with no warnings or error messages, nothing in the console window. This is obviously unacceptable! I'm told there was a recent posting about replacing tmpnam() with mktemp(), because NeXT's tmpnam allows only up to 25 temporary filenmes and causes CVS to choke. Could someone please fill me in on the fix? Is this the cause of my problem? Denise -- Denise Blakeley | PROGRAM, tr. v., An activity similar Duke Med Center Info Systems | to banging one's head against a wall, Durham, NC | but with fewer opportunities for (919) 282-6468 W | reward. blake015@mc.duke.edu |
From: anon@ut-emx.uucp Newsgroups: comp.sys.next.programmer Subject: CONVERTING SOUND FILE TO DAT FILES Keywords: HELP!!!!! Message-ID: <88111@ut-emx.uucp> Date: 21 Jun 93 17:38:23 GMT Sender: news@ut-emx.uucp Distribution: usa Hi, We are working wiht a next demension board taking *.snd file from digital ears. However we would like to work with DADiSP but it only takes *.dat files. Would anyone know how to convert these *.snd files to *.dat files? DADiSP is not sure themselves.
Newsgroups: comp.sys.next.programmer From: mikes@ceco.ceco.com (Michael Stepniczka) Subject: Dragging files to workspace Message-ID: <C8zo92.6zK@ceco.ceco.com> Keywords: drag drop Sender: root@ceco.ceco.com (Operator) Organization: Commonwealth Edison Co. Date: Mon, 21 Jun 1993 20:43:49 GMT Hi, I've been playing around with having a view call dragFile:fromRect:slideBack:event: and while my own views can accept the file "correctly", it seems that the FileViewer won't let me move the file to it. Folders will open up to accept the file, but only in copy and link modes. Pressing command just closes all destinations for the file. Additionally, the file icon isn't accepted on the shelf. I'll boldy assume this is related. :) Does anyone have an idea what I'm setting up incorrectly, or if a move operation is even possible to the workspace? I've looked through all of the documentation that I can think of as being related, but haven't seen anything that explains it for me. Thanks in advance, Michael Stepniczka mikes@ceco.ceco.com
Newsgroups: comp.sys.next.programmer From: mahoney@csulb.edu (Mike Mahoney) Subject: Re: DBKit Book? Message-ID: <C8zqsL.L6o@csulb.edu> Sender: news@csulb.edu (News Administration/Rumor Bureau) Organization: Cal State Long Beach References: <204iob$sil@obelix.uni-muenster.de> Date: Mon, 21 Jun 1993 21:38:45 GMT Yeah, but you'll have to wait till Q1 1994 for it. -mike In article <204iob$sil@obelix.uni-muenster.de> heisinc@uni-muenster.de (Christoph Heising ) writes: > Hello! > > Does anybody know some good book dealing with DBKit? > > Ciao > Chris -- - Mike Mahoney, SCaN President Professor and Chair Computer Engineering and Computer Science Dept California State University, Long Beach Long Beach, CA 90840-8302
Newsgroups: comp.sys.next.programmer From: rfg@swamp.cacs.usl.edu (Raymond F. Gasser) Subject: HELP! Sybase SQL Server installation under NS3.0 Message-ID: <1993Jun21.220207.11507@usl.edu> Keywords: Sybase, SQL Sender: anon@usl.edu (Anonymous NNTP Posting) Organization: The Center for Advanced Computer Studies References: <C8zo92.6zK@ceco.ceco.com> Distribution: usa Date: Mon, 21 Jun 1993 22:02:07 GMT I am having trouble fully installing the Sybase SQL server under NeXTstep 3.0. For some reason the user SYBASE is not created during the installation procedure. I remember that when I installed the same package under NeXTstep 2.0, a user SYBASE was created. I am following the included installation instructions, but I get stuck at the point where I am supposed to change the passwd of the user SYBASE. There is no user SYBASE. What am I doing wrong? Am I supposed to create a new user SYBASE? Also, I remember reading a post that discussed a bug fix for the System Admin. tool for Sybase running under NS3.0. Could some one NEXTmail me the fix or if the fix is on an ftp site could some one please point me in the right direction? Any help would be greatly appreciated. Please send email responses to rfg@streeter.anatomy.lsumc.edu Thanks, Ray Gasser Systems Administrator Computer Imaging Laboratory LSUMC / Dept. Anatomy
Newsgroups: comp.sys.next.programmer From: brill@sybase.com (Michael Brill) Subject: DBModeler not happy Message-ID: <C8zLE5.70A@sybase.com> Sender: usenet@sybase.com Organization: Sybase, Inc. Date: Mon, 21 Jun 1993 19:42:04 GMT I feel a bit silly asking this here, but here goes.... Using isql from the command line, I can log on to databases. However when I try to create a model in DBModeler, I cannot get past the authentication panel (it just beeps at me when I try to log in to a database and the panel comes back). Anyone know how I can get DBModeler to talk to my database (note the database isn't on NS). Thanks, ...Michael Brill
Newsgroups: comp.sys.next.programmer From: Zacharias J. Beckman <zac@dolphin.com> Subject: NeXTMAIL format? Message-ID: <1993Jun21.213758.813@dolphin.com> Sender: zac@dolphin.com Organization: Dolphin Software Distribution: usa Date: Mon, 21 Jun 1993 21:37:58 GMT Folks, I've a script that will let me bundle up NeXTMAIL from any fairly standard UNIX workstation. It takes a file or directory and creates a NeXTMAIL attachment out of it--very handy for FTP work on non-NeXT systems. However, there is a slight difference between NeXT's implementation of this functionality and mine. Mine seems to work fine, but where NeXTMAIL sends off a message with this line in the header: Next-Attachment: .tar.423.a_test.attach, 623, 1/1, 858, 0 I would send off this line: Next-Attachment: .tar.423.a_test.attach, 623, 1/1, 0, 0 I don't know what the second to last number (858) means, but it seems to work just fine if I set this value to 0 every time. Does anyone have more in depth information? I believe it is a checksum, and if so would very much appreciate learning how to correctly calculate it. Thanks in advance! -- Zacharias J. Beckman - Dolphin Technologies Inc. - zac@dolphin.com - NeXTMAIL! To be "matter of fact" about the world is to blunder into fantasy.... and dull fantasy at that, as the real world is strange and wonderful. --- R. A. Heinlen Those opinions I express herein are my own, I'm fairly sure. --- Z. J. Beckman
Newsgroups: comp.sys.next.programmer From: jaime@afs.com Subject: non-dbkit use of static DBTableViews Message-ID: <1993Jun21.204140.746@afs.com> Keywords: dbkit,dbtableview Sender: jaime@afs.com Date: Mon, 21 Jun 1993 20:41:40 GMT I am using a DBTableView with static rows AND static columns which is not connected to a database or DBRecordList in any way. I am using it as a better matrix-of-text-fields-in-a-scrollview, a role which it fills nicely. Due to the peculiar fieldwidth requirements of my application, the DBTableView is configured as such: rows are untitled, unmovable, and unresizeable, and columns are titled, movable, and resizeable. There is a horizontal scrollbar only. The number of columns changes under program control (even though columns are static) as a result of user actions. Essentially, I have what NeXT describes as the ordinary, normal configuration of a DBTableView (static labeled columns, dynamic rows), but with rows and columns swapped, and all static. Since all manipulation in my application is column oriented, I need to have columns instead of rows remain selected all of the time. I am unable to programmatically select columns. The user can select a column by clicking on its title, but if the user double-clicks on a cell or editFieldAt:: is programmatically sent to the DBTableView, the column is deselected and the cell's ROW is selected. Any ideas of how to get around the apparent row-oriented bias of DBTableViews? -- Jaime Guerrero "Let me take you Anderson Financial Systems, Inc. to the hell where Springhouse, Pennsylvania, U.S.A. all the freaks dwell" jaime@afs.com [NeXTmail ok] -Echo & the Bunnymen
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Moving windows directly via window server: posteventbycontext? Message-ID: <1993Jun21.234934.11869@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA CS Department, Los Angeles, CA Date: Mon, 21 Jun 93 23:49:34 GMT Hi, I was wondering how you could move windows directly via the window server the way NeXT implements it. One possible way might be to use the PostScript posteventbycontext operator, but I don't know how to use it -- do you? And when trying to write a PostScript program that goes through a loop that checks to see if the mouse went down in a particular window, I notice severe system performance hits -- apparently, the PostScript 'if' and 'loop' ops are not very efficient. And making the loop from w/in a C program will not solve my problem because it will not explain how NeXT gets windows to move even after an application has crashed... Can *anyone* help me? I'd appreciate it! - Eskandar -- ------------------------------------------------------------------------- G o d l e s s f e e l i n g i n m e B o r n o f t h e i r l i e s . . . Danzig -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: comp.sys.next.programmer Message-ID: <1993Jun22.013836.25480@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <9306211556.AA12454@flexus> Date: Tue, 22 Jun 1993 01:38:36 GMT In article <9306211556.AA12454@flexus> fSchtkt%banruc60.bitnet@phem3.acs.ohio-state.edu writes: >I went looking for NX_COMPILER_RELEASE_3_0 straight away! Did I miss something, >or did EPS unlawfully use the NX prefix here? Well, it would be useful! I can't sneak anything past you guys, can I? :-) 3.1's cc predefines the following: #define NX_COMPILER_RELEASE_3_0 300 #define NX_COMPILER_RELEASE_3_1 310 #define NX_CURRENT_COMPILER_RELEASE 310 [None of these are predefined by 3.0's cc--consider that an oversight that's since been corrected. The Release Notes discourage their use, but since NeXT "reorganized" their headers to be incompatible with most of the real world (which makes life unpleasant when your goal is to develop portable code)--and to make matters worse, removed a whole bunch of _essential_ .h files from 3.0 *that are still missing in 3.1*, I see little choice here.] -=EPS=-
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: NeXTMAIL format? Message-ID: <1993Jun22.020749.26960@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun21.213758.813@dolphin.com> Distribution: usa Date: Tue, 22 Jun 1993 02:07:49 GMT In article <1993Jun21.213758.813@dolphin.com> Zacharias J. Beckman <zac@dolphin.com> writes: > Next-Attachment: .tar.423.a_test.attach, 623, 1/1, 858, 0 >I don't know what the second to last number (858) means, but it seems to work >just fine if I set this value to 0 every time. Does anyone have more in depth >information? I believe it is a checksum, and if so would very much appreciate >learning how to correctly calculate it. Thanks in advance! The first number (623) is a byte count, the second (858) is a size, equivalent to 858=((623+47)/48)*66 [using integer math, so this is mathematically equivalent to ceil(623/48)*66]. -=EPS=-
From: theharv@csld (Brian Harvey) Newsgroups: comp.sys.next.programmer Subject: Programming question Message-ID: <33161@galaxy.ucr.edu> Date: 22 Jun 93 02:42:20 GMT Sender: news@galaxy.ucr.edu Distribution: usa I have a question: I'm writing an application that brings up a panel when it first starts up. I want all other aspects of the program (basically, the menus except maybe the Info menu item) to be disabled until the user gets past this panel. Any help or sample code would be greatly appreciated. Thanks! --- Brian Harvey * theharv@csld.ucr.edu University of California, Riverside * brian@cs.ucr.edu UOB 221 Ext. 2842 * theharv@watserv.ucr.edu C.S.L.D. System Administrator (NeXT Mail preferred everywhere!) Systems Group - College of Engineering -----------------------------------------------------------------
From: markl@ifr.luftfahrt.uni-stuttgart.de (Albert Markl) Newsgroups: comp.sys.next.programmer Subject: Re: Unhiding an application from the command line Date: 22 Jun 1993 09:12:32 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <206ie0$19s9@info2.rus.uni-stuttgart.de> References: <C8z1rD.58s@bernina.ethz.ch> I have a similar problem: not only do I need to open a file with Edit, but also I need to know when the user finishes editing (i.e. closes the window or quits the editor). The data the user edits is part of a larger data structure and has to be integrated into the data base again. At the moment I start Edit (in a script) for each file and require the user to kill it after finishing. This gives me lots of icons and most users - including myself - often just close the window and forget killing Edit. I guess this will be hard to accomplish in a shell script, so I would also appreciate a small C program showing the communication with other apps. Thanks in advance Albert.Marlk@IFR.Luftfahrt.Uni-Stuttgart.DE (NeXT-Mail wellcome)
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: ian@mindvox.phantom.com (Ian Bainbridge) Subject: Serial port Crashes System In-Reply-To: <1vl58iINN8u@theborg.stack.urc.tue.nl> Message-ID: <X1JJ6B1w165w@mindvox.phantom.com> Sender: mindvox@mindvox.phantom.com (MindVox) Organization: [Phantom Access] / the MindVox system Date: Tue, 22 Jun 1993 10:22:56 GMT Since I use the NS/FIP machine I am on to access a larger system using SLIP it is excrutiatingly frustrating when the entire system decides to just freeze up ever couple of hours for no apparent reason. This never happens when the serial ports are not in use. I know this is listed in the Release Notes, but how about a FIX sometime soon, this renders the entire system I am using nearly useless since I can't connect it to remote networks using a modem, without making it hang. To top it off, once hung it is REALLY hung, typing alt-numlock as suggested does nothing, the only thing to do is hit the reset button, which is getting a little hard on the hard disk after doing it two or three times a day. Running fsck after this circumstances produces this message whenever I try to reboot or log out of the root account: Raise RDP exception 6, code 3, subcode 0, C to continue of coures typing C or c, produces an endless scroll of the above, with the only way to break out of it, again, hitting the reset button. *sigh* ian ################# @ #Ian Bainbridge # mindvox. # ############################################### phantom. # I am not responsible for my opinons, I don't know or care! # com ###############################################################
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: ian@mindvox.phantom.com (Ian Bainbridge) Subject: TERMINAL APP & SERIAL PORTS Message-ID: <D0JJ6B2w165w@mindvox.phantom.com> Sender: mindvox@mindvox.phantom.com (MindVox) Organization: [Phantom Access] / the MindVox system Date: Tue, 22 Jun 1993 10:28:00 GMT I notice that Terminal app has some problems with preferences, in that they don't "stick" during the session, or even when opening other windows, they seem to only effect that particular window for the time that its open. I would also like to change the colors in the window itself, to a grey background, or some other color, with different color text, in different windows that are opened into other machines. This is easy enough to do under X with xterm, just by toggled -fg and -bg, what is a similar way I could do this with terminal.app? I am also experiencing problems with the serial ports, after some undefined period of time, modem activity seems to just hang the entire system, with no reboot possible short of hitting the reset switch :( any help or suggestions are greatly apprecaiated! ian ################# @ #Ian Bainbridge # mindvox. # ############################################### phantom. # I am not responsible for my opinons, I don't know or care! # com ###############################################################
From: dbbrown@turtle.mrj.com (Dan Brown) Newsgroups: comp.sys.next.programmer Subject: Archiving NXInvalidationNotifier Objects (Repost) Date: 22 Jun 1993 07:02:32 -0400 Organization: MRJ, Inc./Oakton, Virginia, USA Distribution: world Message-ID: <206os8$43n@turtle.mrj.com> Programmers, I Crossposted this article earlier and I am unsure as to whether it got to this group or not. So please pardon me if this is a repost that you have seen before. I don't know if this is a known bug but I am experiencing the following problem when Archiving NXInvalidationNotifier Objects in 3.0. In the following uuencoded sample code, I have an object that references an NXInvalidationNotifier object. The NXInvalidationNotifier object contains the referencing object in its funeralList so when the NXInvalidationNotifier object is freed it will notify the referencing object. All this works fine and perfect when the environment is set up directly. But if the same object is Archived the NXInvalidationNotifier object does NOT deArchive correctly. The funeralList and listGate variables are nil, and when the NXInvalidationNotifier object is freed, the following error appears in the CONSOLE/ gdb screen...."Unknown error code 10020 in NXReportError". I have tracked this down in gdb to the call to [super free] in my NXInvalidationNotifier Object subclass. I have tried a few work arounds such as archiving the listGate and funeralList directly, but this causes a "mutex_lock()" error. I am at a loss as to what to do. Is this a known bug? If so, is it fixed in 3.1? If not, is there a work around to get the desired results I need? To get a better Idea of what I am doing, here is some code to show what is going on. Sorry for the extra bandwidth. Help would be much appreciated, I strongly need this capability. Thanks in advance, Dan Brown (dbbrown@mrj.com) ---------------<uuencoded file starts below this line.>----------------- begin 644 NXInvalTest.compressed M'YV03K`D<6,G#!LJ9>;0>0&@H<.'$"-*G$BQHL6+%4%HO%&C!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D^R2@Y):OD KE<R26[)+?LDP.2;+Y)E,DVNR3;[).#DGZ^2=S)-[LD_^R4`Y*`OEH3PB`*OD ` end
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc From: louie@TransSys.COM (Louis A. Mamakos) Subject: Re: Intel NS software (where?) Message-ID: <206tea$38c@wa3ymh.transsys.com> Sender: usenet@grebyn.com Organization: TransSys, Inc. References: <C8yuE8.4A5@well.sf.ca.us> Date: Tue, 22 Jun 1993 12:20:26 GMT In article <C8yuE8.4A5@well.sf.ca.us> dav@well.sf.ca.us (Paul Davilon) writes: >Newsgrazer and SLIPCommander, that will work on the NS /FIP version. While there easily could be a SLIPCommander in an Intel version, there is currently no corresponding version of TransSys DialUp IP software ported to the Intel platform. I am working on an Intel (and, of course, Motorola) solution to the SLIP problem, and it is in *early* beta testing. Another problem with SLIP in general on Intel is the reported non-robust serial device drivers that hang the system. I have not done extensive testing myself, so I can't comment on how serious a problem that might be. >I would also like to get elm, tin, tcsh, kermit, zmodem and some regular >unix-like program compiled on the system, will the current source codes >out there right now compiled using "next" flags, compile the same way on >Intel hardware? If you don't have loadable kernel drivers that touch a bunch of stuff, all you need, in most cases, to do is type "make". -- Louis A. Mamakos TransSys, Inc.
Newsgroups: comp.sys.next.programmer From: crystal2!paul (Paul T. Landers) Subject: Re: Can I access a property via a relationship with dbkit? Message-ID: <1993Jun22.121746.2444@crystal.com> Sender: paul@crystal.com Organization: Crystal Software Development, Inc. References: <1993Jun8.014958.280@crystal.com> Date: Tue, 22 Jun 1993 12:17:46 GMT I'm sorry it took so long to get back to this... This summarizes the responses I received: In article <1993Jun8.014958.280@crystal.com> crystal2!paul (Paul T. Landers) writes: > Given: a table with customer information that uses a 3 character code to > identify the country, and a second table to translate the country code to a > spelled out name. > > Task: display the mailing address using the spelled out name > > I have a list of customers in a DBTableView with a single row selected. To > access the customer table information, I use, e.g.: > > [[tableView dataSource] > getValueFor:[[dbModule entity] propertyNamed:"city"] > at:[tableView selectedRow] > into:workValue]; > > ... which works fine. > > Having set up a relationship in dbModule, etc, I'd like to get to the > spelled-out country name the same way. Stipulating that the country name is > displayed corrected in the tableView, I've tried variations on the property > name of "country_name", "countries.country_name" and "t1.country_name", but I > always get back nil. > > I have examined the property list for my [dbModule entity] and found that there > is something called "countries" of class "DBRelationship", but there's no > documentation on what kind of an animal that is. > > Does someone know how to make this work? The alternatives seem so sloppy. > The consensus is that the "countries.country_name" SHOULD work, just like it does for DBExpressions, which is the key. The simple solution, then, is: id expr = [[DBExpression alloc] initForEntity: [dbModule entity] fromDescription: "countries.country_name"]; [[tableView dataSource] getValueFor:expr at:[tableView selectedRow] into:workValue]; [expr free]; The next best solution involved finding the DBRecordList and stepping through its propertyList looking for a propertyNamed:"countries.country_name". Thanks to all who responded! Paul Landers paul@crystal.com Crystal Software Development, Inc. Cincinnati, OH
From: zryx0376@awssg6.rus.uni-stuttgart.de (Markus Wenzel (Hiwi bei R.Rabenseifner)) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Re: Serial port Crashes System Date: 22 Jun 1993 13:06:56 GMT Organization: Visualization Group Comp.Center (RUS) U of Stuttgart, FRG Message-ID: <20705g$qgm@info2.rus.uni-stuttgart.de> References: <X1JJ6B1w165w@mindvox.phantom.com> In article <X1JJ6B1w165w@mindvox.phantom.com> ian@mindvox.phantom.com (Ian Bainbridge) writes: > >Since I use the NS/FIP machine I am on to access a larger system using >SLIP it is excrutiatingly frustrating when the entire system decides to >just freeze up ever couple of hours for no apparent reason. > >This never happens when the serial ports are not in use. I know this is >listed in the Release Notes, but how about a FIX sometime soon, this >renders the entire system I am using nearly useless since I can't connect >it to remote networks using a modem, without making it hang. This is exactly the same experience as I had. >To top it off, once hung it is REALLY hung, typing alt-numlock as >suggested does nothing, the only thing to do is hit the reset button, >which is getting a little hard on the hard disk after doing it two or >three times a day. For this reason I temporarily stopped my uucp feed. With tears in my eyes... Linux did a good job.... ..... :-(((( >Running fsck after this circumstances produces this message whenever I try >to reboot or log out of the root account: > >Raise RDP exception 6, code 3, subcode 0, C to continue Rebooting with fsck at least finds no irrepairable damages in the file system. But I am sick of rebooting several times a day. Desperately, Markus. -- /dev Markus Wenzel, University of Stuttgart /usr/spool/mail wenzel@rus.uni-stuttgart.de ~/.ircrc/nick Marsu /etc/motd NeXTSTEP for Intel - Come on and join!
From: dbbrown@turtle.mrj.com (Dan Brown) Newsgroups: comp.sys.next.programmer Subject: Re: Archiving NXInvalidationNotifier Objects (Repost) Date: 22 Jun 1993 11:30:16 -0400 Organization: MRJ, Inc./Oakton, Virginia, USA Distribution: world Message-ID: <2078i8$bpq@turtle.mrj.com> References: <206os8$43n@turtle.mrj.com> I must apologize for the previous post. I just found a solution to this problem. I will summarize for anyone interested. What is required for the NXInvalidationNotifier Subclass's read: and write: methods is to implement the following..... - write:(NXTypedStream *) typedStream { [super write:typedStream]; NXWriteTypes(typedStream, "ic", &refcount, &isValid); NXWriteObject(typedStream, funeralList); /* Archive object specific instance variables here. */ return self; } - read:(NXTypedStream *) typedStream { [super read:typedStream]; NXReadTypes(typedStream, "ic", &refcount, &isValid); funeralList = NXReadObject(typedStream); listGate = [ [NXLock alloc] init]; /* de-Archive object specific instance variables here. */ return self; }
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: tlc@cx5.com Subject: Help needed: Upgrading from 2.0->3.0... Message-ID: <1993Jun22.163404.874@cx5.com> Sender: tlc@cx5.com Organization: CX5 (San Francisco) Date: Tue, 22 Jun 1993 16:34:04 GMT Hello, Since I received 3.1 yesterday, I now wanted to upgrade to 3.x. I am currently running 2.0, and was told to first upgrade to 3.0, then to 3.1. When I try using the 3.0 floppy disk and CD-ROM, I get the error message: "Another program has control of the SCSI bus: Hard disks, SCSI floppy disks, and other SCSI devices can't be built." I tried then to reinstall 2.0 using the BuildDisk app., but got the following message: /dev/sd0a not mounted /dev/sd0a on / type 4.3 (rw,noquota,noauto) /dev/sd0 is busy. Try logging out and logging back in. When I check for the file sd0a in /dev, it is an Edit type icon with a question mark over it. I have backed up everything of value on the harddisk, and am prepared to re-format the harddisk and re-install the operating system. About 2 weeks ago I lost the ability to communicate with the scanner, so I thought it is now time to re-install the entire OS (to see if that would fix the problem, every other option was tried). System: NeXTCube 040, 16/350. Your help is sincerely appreciated (I can't afford NeXT technical support at this time) Thanks, Thierry Castro tlc@cx5.com 415.822.1322 (I will call you back, if we can do this via phone, try e-mail first, though, in case I'm pleasantly surprised with the response...)
From: szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) Newsgroups: comp.sys.next.programmer Subject: Help! -> mdx.c:26: termio.h: No such file or directory Date: 22 Jun 1993 19:55:16 GMT Organization: The Ohio State University Distribution: world Message-ID: <207o34$nf9@charm.magnus.acs.ohio-state.edu> I'm trying to compile an xmodem on my NeXT. I've tried NS 2.1 and 3.0 What is this termio? Some sort of new style styy stuff? Anyway, where is it on the next? Here's what the compiler spits back to me: kiwi>make mdx cc -O -c mdx.c mdx.c:26: termio.h: No such file or directory *** Exit 1 Stop. Any help would be much appreciated! -- :::Apple II forever!!:::GO BUCKS!:::Play Lacrosse!!:::Raging Bullwinkle!::: : Shane M . Zatezalo - CIS OSU: i-net> szatezal@magnus.acs.ohio-state.edu : : root@tap.colum.fnet.org : NeXTMail> shane@kiwi.swhs.ohio-state.edu : :GS::: call T.A.P. a Futurenet BBS 614-297-7031 16.8k DS HST 670 MEGS ::GS:
From: hugh@ear.mit.edu (Hugh Secker-Walker) Newsgroups: comp.sys.next.programmer Subject: Your three favorite books for NeXTSTEP productivity Date: 22 Jun 93 16:17:58 Organization: Massachusetts Institute of Technology Distribution: world Message-ID: <HUGH.93Jun22161758@ear.mit.edu> I have been developing NeXTSTEP applets for scientific computing for nearly a year now. I'm called now to develop some bigger applications. I would be very grateful to hear which three (or more) books you think have been the most helpful in terms of your productivity as a NeXT developer. I'm interested in the most helpful book on Object Oriented programming, the most helpful book on Interface Design, and the most helpful book on using the DataBase Kit (in print now :-). Please email me, I will summarize. Thanks. Hugh -- Hugh Secker-Walker hugh@mit.edu (NeXTmail welcome!) MIT, Research Lab of Electronics hugh@hodain.ci.net
Newsgroups: comp.sys.next.programmer From: behrsing@cory.Berkeley.EDU (ROLF HUBERT BEHRSING) Subject: Mouse Drivers Message-ID: <1993Jun22.205743.7048@pasteur.Berkeley.EDU> Summary: What are the routines next looks for, and what do they expect Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley Date: Tue, 22 Jun 1993 20:57:43 GMT Hello, I want to write a mouse driver for nextstep. And I was wondering if anyone new the routine names I needed, and what next step wants them to return. I looked at DDkit, and at some header files, and I found some mouse stuff in *event*.h (don't recall the full name) but that was pretty much it. Thanks, Rolf Behrsing behrsing@cory.berkeley.edu
Newsgroups: comp.sys.next.programmer,comp.object From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Testing OO code Message-ID: <1993Jun22.212524.15419@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Tue, 22 Jun 93 21:25:24 GMT Could y'all direct me to some good literature on quality control and testing of OO code? Thanks. -marcos j. polanco -shiva@vega.stanford.edu
From: borzilda@NeXTwork.Rose-Hulman.Edu (David A Borzillo) Newsgroups: comp.sys.next.programmer Subject: Can't it run any faster? Date: 22 Jun 1993 21:38:23 GMT Organization: News Service at Rose-Hulman Message-ID: <207u4fINN78t@master.cs.rose-hulman.edu> Keywords: color, animation Well, I posted last week about doing animation without PostScript. Taking everything into mind, I wrote a little demo animation. It's animating a small TIFF of a raindrop. There are three posiible paths (chosen by a radio matrix). Case one is circle, case two is diagonal and case three is a straight line. A slider gives the step increment for steps two and three. I set up a clock to time the distance across the view. If the image takes 3 steps (position at x = position at x + 3) it takes 3 seconds in B&W and ***28 seconds*** in color. Is this because of more bitplanes? Could I be "flushing" the graphics more efficiently. I'm attaching the code at the end of this message. MyView is really the only object in the application. How could I get this to run faster in color?? -- -------------------------------------- David A. Borzillo borzilda@nextwork.rose-hulman.edu "We'll get the job done, don't worry." -------------------------------------- /* Generated by Interface Builder */ #import "MyView.h" #import <math.h> #import <dpsclient/dpsclient.h> #import <appkit/Slider.h> #import <appkit/NXImage.h> #import <appkit/Application.h> #import <appkit/TextFieldCell.h> #import <appkit/Matrix.h> #import <time.h> @implementation MyView void runFlow(DPSTimedEntry entryNumber, double new, id self) { [self display]; } - initFrame:(const NXRect *)frameRect { [super initFrame:frameRect]; DPSAddTimedEntry(0.0,(DPSTimedEntryProc)runFlow,self,NX_BASETHRESH OLD); thePoint.x = NX_WIDTH(&bounds)/2.0; thePoint.y = NX_HEIGHT(&bounds)/2.0; radix = 1; return self; } - setStage:sender { radix = [[sender selectedCell] tag]; [self display]; return self; } - takeLineSpacingFrom:sender { lineSpacing = [sender intValue]; [self display]; return self; } - timeReadout { char buf[256]; sprintf( buf,"%4.2g", difftime(t2,t1)); [timeReadout setStringValue:buf]; return self; } - drawSelf:(const NXRect *)rects :(int)rectCount { NXRect rectsize; NXPoint temp; rectsize.origin.x = 0.0; rectsize.origin.y = 30.0; rectsize.size.width = 11.0; rectsize.size.height = 18.0; NXEraseRect(&bounds); fluidLines = [NXImage findImageNamed:"FlowLine.tiff"]; switch (radix) { case 1: { i+=0.05; if (i > 6.30) i=0; temp.x = thePoint.x + (int)((NX_WIDTH(&bounds)/4.0)*sin(i)); temp.y = thePoint.y + (int)((NX_HEIGHT(&bounds)/4.0)*cos(i)); } break; case 2: { if (thePoint.x == 0) time(&t1); thePoint.x = thePoint.x + lineSpacing; thePoint.y = thePoint.x + lineSpacing; } break; case 3: { if (thePoint.y == NX_HEIGHT(&bounds)) time(&t1); thePoint.y = thePoint.y - lineSpacing; } break; } if (thePoint.x >= bounds.size.width) { time(&t2); thePoint.x = 0.0; } if (thePoint.y >= bounds.size.height) { time(&t2); thePoint.y = 0.0; [self timeReadout]; } if (radix == 3) { if (thePoint.y <= 0) { time(&t2); thePoint.y = NX_HEIGHT(&bounds); [self timeReadout]; } } if (radix == 1) [fluidLines composite:NX_COPY fromRect:&rectsize toPoint:&temp]; else [fluidLines composite:NX_COPY fromRect:&rectsize toPoint:&thePoint]; NXPing(); return self; } @end
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Re: Looping Sound Playback Message-ID: <2086dgINN903@news.u.washington.edu> Date: 22 Jun 93 23:59:44 GMT Article-I.D.: news.2086dgINN903 References: <1vioqv$avv@umd5.umd.edu> Organization: Abstract Software In article <1vioqv$avv@umd5.umd.edu> rogata@is-next.umd.edu (Richard Scott Ogata) writes: > Does anyone have any bright ideas on how to play a digitized sound in a >loop without breaks between iterations for an indeterminate number of times? >The delegate method -didPlay: sender for the Sound object doesn't cut it. >NXPlayStream looks like it might be useful for this, but its use is unclear. > Has anyone out there tried to do this before? > Using NXPlayStream I was able to not only get unbroken sounds, but mix a number of them together in real time and linearly interpolate the frequency from the base sample. -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Gprof broken? Message-ID: <20885qINN9f9@news.u.washington.edu> Date: 23 Jun 93 00:29:46 GMT Article-I.D.: news.20885qINN9f9 References: <1vioqv$avv@umd5.umd.edu> <2086dgINN903@news.u.washington.edu> Organization: Abstract Software Has anyone gotten gprof to work? My code is compiled with -pg and calls exit(3), but never creates gmon.out. I'm currently running NS3.0 on black hardware. -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
From: zeno@phylo.genetics.washington.edu (Sean Lamont) Newsgroups: comp.sys.next.programmer Subject: Re: hiding the dock? Message-ID: <2086ugINN964@news.u.washington.edu> Date: 23 Jun 93 00:08:48 GMT Article-I.D.: news.2086ugINN964 References: <1vq27pINNh2j@srvr1.engin.umich.edu> Distribution: world Organization: Abstract Software In article <1vq27pINNh2j@srvr1.engin.umich.edu> dcheslow@impact.flint.umich.edu (David A. Cheslow) writes: > >I need to learn how to hide the dock so that it is not accessable to the >mouse. Any ideas? Please reply by e-mail. > > >-- Put a window in front of it ; this is exactly how BackSpace does it. Conveniently, the source is available, and probably on your system. -- Sean T. Lamont | Ask me about the WSI-Fonts zeno@genetics.washington.edu | Professional collection for NeXT lamont@abstractsoft.com |____________________________________ Abstract Software
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Any Draw.app hackers ?? Message-ID: <1993Jun22.200321.1155@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Tue, 22 Jun 1993 20:03:21 GMT I'd be very interested in talking to anyone who has done some extensive modifications of the NextDeveloper/Examples/Draw.app program. Specifically.... Editable Polygons Bezier Curves Pagination Thanks! -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Help! -> mdx.c: 26: termio.h: No such file or directory Message-ID: <1993Jun23.012200.18625@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <207o34$nf9@charm.magnus.acs.ohio-state.edu> Date: Wed, 23 Jun 1993 01:22:00 GMT In article <207o34$nf9@charm.magnus.acs.ohio-state.edu> szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) writes: >What is this termio? Some sort of new style styy stuff? > >Anyway, where is it on the next? This is something that deserves a few lines in the FAQ--not because it's a NeXT question (it's not--it's a generic UNIX question, and really belongs in comp.unix.questions), but because many of us are tired of seeing it every few weeks. There are *three* *different* *incompatible* paradigms for controlling terminal devices on UNIX (and UNIX-like systems). Any program that wasn't originally written to support all three is inherently not portable, and converting it can be a nontrivial task--particularly if you don't understand the subtleties of all three paradigms. All NEXTSTEP releases _prior to 3.1_ support the V7/BSD ("sgtty") interface exclusively. Programs written for this will generally call ioctl() with TIOCGETP. UNIX System III through System V Release 3.2 support the USG ("termio") interface. Programs written for these systems will generally call ioctl() with TCGETA. Many contemporary systems provide the POSIX ("termios") interface. Programs written for these systems will generally call ioctl() with TCGETS -or- call tcgetattr(). [Actually, any use of tc...() or cf...() functions suggests this type of system.] Future releases of NEXTSTEP are expected to provide POSIX support, because this is a "checklist item" for U.S. Government users. While NeXT would be more than happy if Joe User bought into NEXTSTEP instead of Windoze, the reality is that if they can seduce the big government accounts, they'll be laughing all the way to the bank even if they make zero sales to ordinary folks. Fortunately, NeXT understands that POSIX is a sham, and POSIX braindamage will *not* be the default when you compile/ link. -=EPS=- -- Of course, cc -posix will damn your soul for all eternity.
Newsgroups: comp.infosystems.www,comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Seeking Xmosaic NeXT diffs Message-ID: <1993Jun23.015059.12184@news.csuohio.edu> Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University Date: Wed, 23 Jun 1993 01:50:59 GMT Greetings. I am trying to compile Xmosaic on a NeXTStation Turbo running NS 3.0, and am getting stopped by lack of Xm.h and XmP.h (Xm). Anyone got any NeXT diffs? I would really appreciate hearing from you, if you can help. Thanks very much in advance. This is kind of important to me. Regards- Joe --- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library j.rosenfeld@csuohio.edu
Newsgroups: comp.sys.next.programmer From: esky@marathon.cs.ucla.edu (Eskandar Ensafi) Subject: Text Object's Delegated methods and next responder Message-ID: <1993Jun23.211214.15905@cs.ucla.edu> Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA CS Department, Los Angeles, CA Date: Wed, 23 Jun 93 21:12:14 GMT Hi, I've been running into problems when I try to handle entries made in TextField. Since the actual text editing is handled byu an underlying Text object, the delegated mathods such as -textDidGetKeys:textObject isEmpty:(BOOL)flag all return the id of the textObject, and never the id of the TextField. So when I want to do something to the TextField that is currently being edited, I have to go through [textObject nextResponder], assuming that a Text object's nextResponder is *always* the TextField. I realized this wasn't the case when in one of the apps I was developing, [textObject nextResponder] inside the -textDidEnd:textObject endChar:(short unsigned)whyEnd did not return the appropriate TextField. What is the best way to: 1. Ask a Text object to return its related TextField's id 2. Ask a TextField to return its Text object's id Thanks in advance! Eskandar -- ------------------------------------------------------------------------- G o d l e s s f e e l i n g i n m e B o r n o f t h e i r l i e s . . . Danzig -------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: lmccullo@nyx.cs.du.edu (Michael McCulloch) Subject: Services Conflict Message-ID: <1993Jun23.222527.2444@mnemosyne.cs.du.edu> Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept. Distribution: na Date: Wed, 23 Jun 93 22:25:27 GMT I have written a couple of image filter services. Unfortunately, I cannot find a way to ensure that my filters are preferred for certain file extensions (e.g. gif, jpeg, etc.) other than making sure they are in the first directory parsed by 'make services' -- and are the first services listed in the first parsed directory during login. Is there any way to set the preferred filter service for a file extension similar to the method used by the Tools function of the WorkSpace Manager's Inspector? --- Michael McCulloch mmcculloch@nebula.tbe.com (NextMail Accepted!) Huntsville, Alabama --- -- Michael McCulloch mmcculloch@nebula.tbe.com (NextMail Accepted!) Huntsville, Alabama
Newsgroups: comp.sys.next.programmer From: lmccullo@nyx.cs.du.edu (Michael McCulloch) Subject: A problem with setObjectValueNoCopy: in 3.1 Message-ID: <1993Jun23.224042.3189@mnemosyne.cs.du.edu> Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept. Date: Wed, 23 Jun 93 22:40:42 GMT I have the following code in a 3.0 program which sets a DBValue in a DBTableView: - getValueFor:identifier at:(unsigned int)aPosition into:aValue { ... else if(identifier == previewImage){ [aValue setObjectValueNoCopy:[identifier objectAt:aPosition]]; return self; } ... } The identifier is a List object and it returns an id that points to an NXImage object. Under 3.0, this works fine, however, under NS/FIP, which is 3.1, the setObjectValueNoCopy: method apparently frees the object referenced in the argument! I switched to setObjectValue: and it works fine on 3.1. However, the docs state that setObjectValue: sets the DBValue to a *copy* of the object sent as the argument. I do not want this to happen since my List object manages my images -- not the DBTableView. Is setObjectValueNoCopy: supposed to free the object sent as the argument or not? I would think it should just reference the value -- and not try to free it?!@#$ This looks like a 3.1 bug in the DBKit. -- Michael McCulloch mmcculloch@nebula.tbe.com (NextMail Accepted!) Huntsville, Alabama
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Re: Objective-C persistance Message-ID: <1993Jun24.002456.24160@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <20ada9$7vu@cnn.sim.es.com> Date: Thu, 24 Jun 93 00:24:56 GMT In article <20ada9$7vu@cnn.sim.es.com> npratt@gecko.modsys (Nevin Pratt) writes: > In article 10463@leland.Stanford.EDU, shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > > > Now that the ObjectStore is derailed, I am looking for a solution to > > provide persistance AND multiuser access to Objective-C objects. What are > > developers using today? What's coming soon? > > ObjectStore derailed? What happened to ObjectStore? > > Nevin At ObjectWorld last week the Object Design people told me they have abandoned the NEXTSTEP port; they were scared off by the months of uncertainty following the end of the NeXT hardware line. They say they will look at picking up development in the Fall/Winter timeframe, depending on the sales of NEXTSTEP/Intel. There is widespread rancor regarding this decision, as customers had already fielded beta code. Try AccessKit_info@vnp.com for a persistance alternative. -marcos j. polanco -shiva@vega.stanford.edu
From: alk@think.com (Tony Kimball) Newsgroups: comp.sys.next.programmer Subject: Q: concurrent applications Date: 24 Jun 1993 00:41:43 GMT Organization: Thinking Machines Corporation, Cambridge MA, USA Distribution: world Message-ID: <20at87INN4ii@early-bird.think.com> Summary: seeking general info on concurrent applications of C++, ObjC Keywords: concurrent, distributed, parallel, object-oriented, message-passing Salutations Gentle Netfolk, What existing or planned scientific, engineering, or commercial applications are there for distributed execution under NeXTStep? I will summarize in news only those email responses which explicitly permit me to do so. All others will be held in confidence. While I would appreciate as much information about each application as possible, even the tiniest tidbit has value. Thanks, Tony -- //alk@think.com, alk@msc.edu, {uunet,harvard}!think!alk Anthony L. Kimball
Newsgroups: comp.sys.next.programmer From: xinwei@otter.Stanford.EDU (Sha Xin Wei) Subject: Re: How to Contact NeXT Message-ID: <1993Jun24.010601.25529@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <202ej4$5oi@zip.eecs.umich.edu> Date: Thu, 24 Jun 93 01:06:01 GMT In article <202ej4$5oi@zip.eecs.umich.edu> hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) writes: > Hi all, > > Does any of you know if NeXT provides any kind of support for NeXT > programmers? If they do, how do I contact it? > > --Hyong > (hyongsop@engin.umich.edu) [Here's info from our local tech contact. Sha Xin Wei, Stanford] ANNUAL COST NUMBERS EXTRA PAY-PER-CALL (30% educ. OF CONTACTS CONTACT (up front with discount) CONTACTS credit card) HOTLINE $3000 ($2100) 2 $500 ($350) $120 per hour SUPPORT $30 per 15 min for system and network admins HOTLINE $5000 ($3500) 2 $500 ($350) $200 per hour SUPPORT for developers COMBINED $7000 ($4900) 4 ? ? HOTLINE SUPPORT for sysadmin and developer EMAIL You can also email in questions and provide a number to call so they SUPPORT can get the credit card number. You can get free access to NeXTAnswers through the NeXT archive sites on the internet and you can also get access to a "NeXTSTEP in Focus" newsletter through ftp or pay $100 per year for a subscription.
Newsgroups: comp.sys.next.programmer From: xinwei@otter.Stanford.EDU (Sha Xin Wei) Subject: TCP-IP Message-ID: <1993Jun24.011134.25880@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <conrad.740338263@cgl.ucsf.edu> Date: Thu, 24 Jun 93 01:11:34 GMT Where can I find documentation -- other than BSD 4.3 manuals ;) -- and sample source for a TCP-IP server under NS 3.x? Where and What is the most up-to-date edition of NeXTAnswers? (next.com's version is dated autumn 93) Sha Xin Wei ASD, Stanford
Newsgroups: comp.sys.next.programmer From: kathys@jpl-devvax.jpl.nasa.gov (Kathy Sturdevant) Subject: Performance: port_status() question Message-ID: <1993Jun24.010541.12808@jpl-devvax.jpl.nasa.gov> Organization: Jet Propulsion Laboratory (NASA) Date: Thu, 24 Jun 1993 01:05:41 GMT I am trying to improve the performance of a program written in objective-c running on a NeXT cube on 3.0. I would like to reduce the number of calls to "readFromPort". We have a loop on a port read that is checking the status repeatedly. Is there a way to signal the program when a message arrives on the port rather than having it continue to poll? Currently the (pseudo) code does this: prog() { /* loop to check port */ while ( readFromPort == NULL ) cthread_yield; } readFromPort() { port_status(task_self(), port_id,... &num_msgs...); if (num_msgs > 0) msg_receive(); else return( NULL ); } Email replies are very much appreciated. Thanks in advance! kathys kathys@jpl-devvax.jpl.nasa.gov
Newsgroups: comp.sys.next.programmer From: xinwei@otter.Stanford.EDU (Sha Xin Wei) Subject: Re: DBModeler not happy Message-ID: <1993Jun24.012402.26171@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <C8zLE5.70A@sybase.com> Date: Thu, 24 Jun 93 01:24:02 GMT In article <C8zLE5.70A@sybase.com> brill@sybase.com (Michael Brill) writes: > I feel a bit silly asking this here, but here goes.... > > Using isql from the command line, I can log on to databases. However > when I try to create a model in DBModeler, I cannot get past the > authentication panel (it just beeps at me when I try to log in to a > database and the panel comes back). Anyone know how I can get DBModeler > to talk to my database (note the database isn't on NS). > > Thanks, ...Michael Brill Are you sure that your /usr/sybase/interfaces file has the right server name and TCP port number? Can you see your Sybase db from an app on the same machine as the server? It should be a copy of the corresponding file on tjhe server side, unless Sybase's interfaces are described very differently on non-NS machines. Sha Xin Wei Stanford
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: execl and security Message-ID: <1993Jun23.200105.12640@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Wed, 23 Jun 93 20:01:05 GMT I am trying to fork a subprocess that will rlogin to another system. In using the Subprocess object in the examples I get errors from Sh and CSH. They refuse to do priviledged operations when an IPC connection (GDB) is open. Any suggestions on a better way to make the connection or a way around this would be appreciated. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: abell@netcom.com (Steven T. Abell) Subject: Saving and restoring RTF in a composite object Message-ID: <abellC946KC.Hp6@netcom.com> Organization: NETCOM On-line Communication Services (408 241-9760 guest) Date: Thu, 24 Jun 1993 07:09:47 GMT I'm getting really annoyed. I have an object that needs to hold RTF (better yet, RTFD) along with other stuff. There is a window that is supposed to let you manipulate the object, including editing arbitrary RTF. The problem lies in saving and restoring this stuff. The Text object seems to be based on the assumption that anyone editing RTF with it is writing a word processor. Sure, I can write RTF into a stream, then read it back in. But what about writing RTF as one component of an object into a typed stream, then getting it back? My implementation is still spewing noxious gasses. Is there a *simple* way to do this? Steve abell@netcom.com
From: js@c91024 (Juergen Sell) Newsgroups: comp.sys.next.programmer Subject: Help: BSD4.3 C-function read( ) timeout ? Date: 18 Jun 1993 10:43:40 GMT Organization: ICEM Systems Message-ID: <1vs68s$an5@balu.hnv.icem.de> Summary: Aequivalent for SystemV timeout on read wanted Keywords: timeout software-flow-control ioctl I own a Guis Etfax 7 fax-machine with a serial port fRS-232 interface. I would like to attach it to my NeXT (68040 NonTurbo). I do have some C-sources to interface with, which works fine on an SGI. However I can not find the appropriate ioctl's for BSD4.3 to achieve a working connection. Here is some of the System V R4 code : termdef.c_iflag = IGNBRK; termdef.c_cflag = B38400 | CS8 | CREAD | CLOCAL; termdef.c_line = LDISC0; termdef.c_cc[VTIME] = 1; termdef.c_cc[VSTOP] = 0x13; termdef.c_cc[VSTART] = 0x11; if (ioctl(fax, TCSETA, &termdef) < 0) error("Cannot ioctl fax tty"); I understand this disables break-characters to be processed, sets the baud-rate, line discipline, start- and stop-characters for software-flow-control and timeout-period for the read() to return at the latest, regardless of the amount of characters received. I think I eventually managed to find an adaequate setup, using /dev/cub etc. but I cannot find any systemcall to setup the timeout. Following is a piece of the original code while (TRUE) { write(fax, zero, INBUFL); l = read(fax, buf, INBUFL); if (l <= 0) { if (++timeout > 9) break; } else { write(u, buf, l); timeout = 0; } } After a certain request the software gets into an endless loop of reading blocks of data, at the end of data the fax-machine just plain stops sending any more packets. Question 1 : How can I implement this timeout-behaviour? Question 1b : If this is not to be had, how can I circumvent this problem? There is just no way I know of to alter the behaviour of the fax-machine. Question 2 : is it correct to toggle software-flow-control via the TANDEM flag? Question 3 : what is the best aequivalent to the init-code quoted above? Thanks in advance, --- _ _ Juergen Sell E-Mail juergen.sell@icem.de ' | (_ Icem Systems ( NeXTMail welcome ) ,| _) Deisterstr. 18 Fax ++49-511-440617 (_| BRD 3 Hannover 91 Fon ++49-511-440688 (soon to be 30449 Hannover)
Newsgroups: comp.sys.next.programmer From: jjfeiler@relief.com (John Jay Feiler) Subject: iostream (C++) library under 3.1 Message-ID: <1993Jun24.043643.20584@relief.com> Sender: jjfeiler@relief.com Organization: relief consulting Date: Thu, 24 Jun 1993 04:36:43 GMT Does anyone have any experience getting libg++ up and running under 3.1? the 3.1 compiler is gcc version 2.2.2, and I've been less than successful getting libg++ 2.3.1 to compile (naturally). Unfortunately, I haven't gotten 1.39.0 to install either. I got gcc2.4.3.1 to install, but it doesn't understand fat binaries..... sigh. All help would be appreciated. Thanks -- John Feiler jjfeiler@relief.com 4926 152nd St. SW NeXTmail Welcome!!! Edmonds, WA 98026-4433 Independent NeXTSTEP Developer
Newsgroups: comp.sys.next.programmer Subject: Re: Help: BSD4.3 C-function read( ) timeout ? Message-ID: <1993Jun24.025633.5658@nic.csu.net> From: eps@futon.SFSU.EDU (Eric P. Scott) Date: 24 Jun 93 02:56:30 PDT References: <1vs68s$an5@balu.hnv.icem.de> Organization: San Francisco State University What can I say? I assume you've read the tty(4) man page. The next thing to do is to play with a tty device and see what the various settings actually do. Here's something to get you started: it opens a terminal device, sets modes to values that shouldn't garble your data too much, and the speed to 38400. Then it tries to read up to 64 characters at a time, and prints what it gets. After 5 seconds of inactivity, it restores the original settings and exits. While some of the local mode flags are NeXT-specific, this is otherwise fairly ordinary BSD UNIX code. cc -bsd ... -=EPS=- ------- #include <stdio.h> #include <signal.h> #include <sys/fcntl.h> #include <sys/ioctl.h> main(argc, argv) int argc; char *argv[]; { #ifdef __STRICT_BSD__ int handler(); #else void handler(); #endif register char *p, *q; int c, t; int ldisc0, ldisc1; struct sgttyb sg0, sg1; struct { struct tchars tchars; struct ltchars ltchars; } t0, t1; int lf0, lf1; char buf[64]; if (argc!=2) { (void)fprintf(stderr, "Usage: %s device\n", *argv); exit(1); } if ((t=open(argv[1], O_RDONLY))<0) { perror(argv[1]); exit(1); } if (ioctl(t, TIOCGETD, &ldisc0)<0) { perror("TIOCGETD"); exit(1); } ldisc1=OTTYDISC; if (ioctl(t, TIOCSETD, &ldisc1)<0) { perror("TIOCSETD"); exit(1); } if (ioctl(t, TIOCGETP, &sg0)<0) { perror("TIOCGETP"); exit(1); } sg1=sg0; sg1.sg_ispeed=EXTB, sg1.sg_ospeed=EXTB; /* 38400 */ sg1.sg_flags&=~(ECHO|RAW|CRMOD); sg1.sg_flags|=CBREAK|ANYP|TANDEM; if (ioctl(t, TIOCSETP, &sg1)<0) { perror("TIOCSETP"); exit(1); } if (ioctl(t, TIOCLGET, &lf0)<0) { perror("TIOCLGET"); exit(1); } lf1=lf0; lf1&=~(LPRTERA|LCRTERA|LEUCBKSP|LCRTKIL|LCTLECH); lf1|=LCRTBS|LLITOUT|LPASS8OUT|LPASS8|LDECCTQ; if (ioctl(t, TIOCLSET, &lf1)<0) { perror("TIOCLSET"); exit(1); } if (ioctl(t, TIOCGETC, &t0.tchars)<0) { perror("TIOCGETC"); exit(1); } if (ioctl(t, TIOCGLTC, &t0.ltchars)<0) { perror("TIOCGLTC"); exit(1); } t1=t0; t1.tchars.t_intrc= -1; t1.tchars.t_quitc= -1; t1.tchars.t_startc=CSTART; t1.tchars.t_stopc=CSTOP; t1.ltchars.t_suspc= -1; t1.ltchars.t_dsuspc= -1; t1.ltchars.t_flushc= -1; t1.ltchars.t_lnextc= -1; if (ioctl(t, TIOCSETC, &t1.tchars)<0) { perror("TIOCSETC"); exit(1); } if (ioctl(t, TIOCSLTC, &t1.ltchars)<0) { perror("TIOCSLTC"); exit(1); } (void)siginterrupt(SIGALRM, 1); (void)signal(SIGALRM, handler); for (;;) { (void)alarm(5); if ((c=read(t, buf, sizeof buf))<=0) break; (void)alarm(0); (void)printf("read: %d\n", c); p=buf; q=p+c; do { #ifdef STRIP_PARITY *p&=0177; #endif putchar((*p<' '||*p>'~') ? '.' : *p); } while (++p<q); putchar('\n'); (void)fflush(stdout); } if (c<0) perror("read"); else { (void)alarm(0); (void)fputs("EOF\n", stdout); } (void)ioctl(t, TIOCSLTC, &t0.ltchars); (void)ioctl(t, TIOCSETC, &t0.tchars); (void)ioctl(t, TIOCLSET, &lf0); (void)ioctl(t, TIOCSETP, &sg0); (void)ioctl(t, TIOCSETD, &ldisc0); (void)close(t); exit(0); } #ifdef __STRICT_BSD__ int #else void #endif handler(sig) int sig; { #ifdef __STRICT_BSD__ return(0); #endif }
From: xepo@csd4.csd.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTSTEP Developer Boxes Date: 23 Jun 1993 03:45:50 GMT Organization: Computing Services Division, University of Wisconsin - Milwaukee Message-ID: <208jleINNs60@uwm.edu> References: <1993Jun11.133321.23225@dvorak.amd.com> <1993Jun11.173229.5165@xexos.com> In article <1993Jun11.173229.5165@xexos.com> mark@xexos.com writes: >Uh? Inside the foot-square cube for NEXTSTEP Developer is a CD-ROM and a >complete set of documentation, just the same as the old stuff, but updated for >3.1 and includes a manual on ObjectiveC at last. Hah! Most still have 3.0 written in tons of places. My hide was almost somewhat chappen when I noticed that my General Reference volumes didn't have the cool new blocks on them, but instead the gold plated ones. -- -Scott Violet (xepo@csd4.csd.uwm.edu)
Newsgroups: comp.sys.next.programmer From: davis@sonata.cc.purdue.edu (Robert Davis) Subject: Re: NeXTSTEP Developer Boxes Message-ID: <C924BJ.HKA@mentor.cc.purdue.edu> Sender: news@mentor.cc.purdue.edu (USENET News) Organization: Purdue University References: <1993Jun11.133321.23225@dvorak.amd.com> <1993Jun11.173229.5165@xexos.com> <208jleINNs60@uwm.edu> Date: Wed, 23 Jun 1993 04:26:06 GMT In article <208jleINNs60@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet) writes: >In article <1993Jun11.173229.5165@xexos.com> mark@xexos.com writes: >>Uh? Inside the foot-square cube for NEXTSTEP Developer is a CD-ROM and a >>complete set of documentation, just the same as the old stuff, but updated for >>3.1 and includes a manual on ObjectiveC at last. > >Hah! Most still have 3.0 written in tons of places. My hide was >almost somewhat chappen when I noticed that my General Reference >volumes didn't have the cool new blocks on them, but instead the gold >plated ones. I saw the Objective-C book -- black and white cover with the new "blocks" NEXTSTEP logo -- at a local bookstore the other day. It was along-side the gold and black set of manuals. Rob -- | Robert Davis davis@sonata.cc.purdue.edu | "Look up, Hannah." NeXT Mail accepted --
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: Command Line Faxing Message-ID: <1993Jun22.190528.15137@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <204cv4$6lj@mozz.unh.edu> Date: Tue, 22 Jun 93 19:05:28 GMT In article <204cv4$6lj@mozz.unh.edu> Thomas.J.Baker@UNH.edu (Thomas J. Baker) writes: > > Has anyone written anything that can fax a text file from the command line? I > have a shell script that someone posted a while back but it doesn't seem to > work correctly under 3.0. > For owners of MicroPhone, we have a beta version that is freely available. It will fax tiff, ps, eps, and text files to one or more addresses, combining multiple files if you desire. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: moose@svcdudes.com Subject: Re: Serial port Crashes System Message-ID: <1993Jun22.190744.15273@svcdudes.com> Sender: news@svcdudes.com Organization: Software Ventures, Inc. References: <X1JJ6B1w165w@mindvox.phantom.com> Distribution: na Date: Tue, 22 Jun 93 19:07:44 GMT In article <X1JJ6B1w165w@mindvox.phantom.com> ian@mindvox.phantom.com (Ian Bainbridge) writes: > > Since I use the NS/FIP machine I am on to access a larger system using > SLIP it is excrutiatingly frustrating when the entire system decides to > just freeze up ever couple of hours for no apparent reason. > > This never happens when the serial ports are not in use. I know this is > listed in the Release Notes, but how about a FIX sometime soon, this > renders the entire system I am using nearly useless since I can't connect > it to remote networks using a modem, without making it hang. Unfortunately, this is one of the main reasons why MicroPhone for Intel is not shipping now. Until I can work around the serial port freeze (which may be quite a lot of work), we can't release it. Oh well, maybe in 3.2. -- Michael Rutman | moose@svcdudes.com Cubist | makes me a NeXT programmer Software Ventures | maker of MicroPhone Pro #include <std.disclaimer> | really offensive political statement
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: NeXTMAIL format? Organization: Primitive Software Ltd. References: <1993Jun21.213758.813@dolphin.com> <1993Jun22.020749.26960@csus.edu> Distribution: usa Date: Tue, 22 Jun 1993 17:48:02 +0000 Message-ID: <1993Jun22.174802.4785@prim> Sender: usenet@demon.co.uk In article <1993Jun22.020749.26960@csus.edu> eps@cs.sfsu.edu writes: >In article <1993Jun21.213758.813@dolphin.com> > Zacharias J. Beckman <zac@dolphin.com> writes: >> Next-Attachment: .tar.423.a_test.attach, 623, 1/1, 858, 0 > >>I don't know what the second to last number (858) means, but it seems to work >>just fine if I set this value to 0 every time. Does anyone have more in depth >>information? I believe it is a checksum, and if so would very much appreciate >>learning how to correctly calculate it. Thanks in advance! > >The first number (623) is a byte count, the second (858) is a >size, equivalent to 858=((623+47)/48)*66 [using integer math, so >this is mathematically equivalent to ceil(623/48)*66]. [Are you going to ask him, or shall I?] OK, why 66/48 and if it's calculable from the first number, why's it there? Dave Griffiths
Newsgroups: comp.infosystems.www,comp.sys.next.programmer From: marca@ncsa.uiuc.edu (Marc Andreessen) Subject: Re: Seeking Xmosaic NeXT diffs Date: Wed, 23 Jun 1993 06:44:58 GMT Message-ID: <MARCA.93Jun23014459@wintermu.ncsa.uiuc.edu> References: <1993Jun23.015059.12184@news.csuohio.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) In-Reply-To: cowboy@trans.csuohio.edu's message of Wed, 23 Jun 1993 01:50:59 GMT Organization: Nat'l Center for Supercomputing Applications In article <1993Jun23.015059.12184@news.csuohio.edu> cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: Greetings. I am trying to compile Xmosaic on a NeXTStation Turbo running NS 3.0, and am getting stopped by lack of Xm.h and XmP.h (Xm). Anyone got any NeXT diffs? I would really appreciate hearing from you, if you can help. Thanks very much in advance. This is kind of important to me. NeXT diffs won't do you any good (I already merged in all kinds of NeXT diffs, actually); you need to have the Motif library and include files. Since that's a commercial product and since NeXT of course doesn't normally ship it, you'll have to buy it from somewhere... Sorry I can't help more, Marc -- Marc Andreessen Software Development Group National Center for Supercomputing Applications marca@ncsa.uiuc.edu
From: nico@imani.cam.org (Nicolas Dore) Newsgroups: comp.sys.next.programmer Subject: Re: DBKit Book? Message-ID: <1993Jun22.025923.3475@imani.cam.org> Date: 22 Jun 93 02:59:23 GMT References: <204iob$sil@obelix.uni-muenster.de> Sender: nico@imani.cam.org In article <204iob$sil@obelix.uni-muenster.de> heisinc@uni-muenster.de (Christoph Heising ) writes: > Hello! > > Does anybody know some good book dealing with DBKit? > > Ciao > Chris "NeXTSTEP Programming: Step two" (the sequel to the Simpson/Grafinkel book) will deal with DBKit, 3DKit, as well as other "advanced" features. It's supposed to come out in the automn, I think. Ciao -- Nicolas Dore nico@imani.cam.org - - - - - - - - - CAREFUL!!! FRENCHIE ZONE!!! - - - - - - - - - - - - >"Si la classe ouvriere ne nous satisfait plus, nous la destituerons< > et en elirons une autre" B. Brecht (ne parlant pas d'informatique)<
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: DBKit problems Message-ID: <1993Jun22.120815.10926@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <20503lINNakg@darkstar.UCSC.EDU> Date: Tue, 22 Jun 93 12:08:15 GMT In article <20503lINNakg@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > > I am under contract to develop a large DBKit app. We now need to build the > batch processing engine that will run in the background. Because NeXT hasn't > fixed the problems with using compound relationships in DBKit more than a year > after we first reported the problems, my client has instructed me to not use > DBKit for our batch processes and to return to using Sybase library calls :-( > He's not confident that DBKit is bug-free enough to use in these critical data > manipulation situations which I understand considering the effort we have > expended to use DBKit in the first place. But I feel that he is overreacting > and is depriving us of the capability of replacing Sybase with another vendor's > server should that become advantageous without a complete rewrite of our batch > processing code. > > I'd like to ask for testimonials from anyone who is using DBKit in background > processing. Have you had any data consistency problems or serious bugs that > have made using DBKit questionable? I realize that there is some sort of > performance hit using DBKit vs. Sybase DBLib. Has this been a problem? NeXT > has told me that the DBKit overhead is in microseconds whereas the Sybase > client-server messaging and data retrieval is in milliseconds, so DBKit > overhead is lost in the noise. Does this seem reasonable? > > My client's other reason for not using DBKit is so that we can run these > background processes on the fast HP database server itself rather than on the > i486 client machines. This feels like the wrong approach to me because it > defeats the reason for having separate client and server hardware. Running the > background processes on the server will slow the server processes whereas > distributing the background processing over 5 or more client machines would > allow the server to run at full speed. Can an HP server really be more than 5 > times faster for simple math calculations than an i486 machine? I'd like to > hear your suggestions and experiences with client-server issues like this one. Distributing the compute power is good if that is where the bottleneck is. What you need to look at is will you save enough by using the client CPU to make up for the I/O overhead of using the network. This is VERY application dependent. If your background processes are more manipulation/copying related than calculation related leave them on the server. > > Thanks. > -- > > Art Isbell Cubic Solutions > NeXT Registered Developer #745 NEXTSTEP software development and consulting > NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 > USmail: 95018-9442 Fax: (408)335-2515 -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.infosystems.www,comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Re: Seeking Xmosaic NeXT diffs Message-ID: <1993Jun23.104335.20259@news.csuohio.edu> Followup-To: comp.infosystems.www,comp.sys.next.programmer Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University References: <1993Jun23.015059.12184@news.csuohio.edu> <MARCA.93Jun23014459@wintermu.ncsa.uiuc.edu> Date: Wed, 23 Jun 1993 10:43:35 GMT Marc Andreessen (marca@ncsa.uiuc.edu) wrote: : In article <1993Jun23.015059.12184@news.csuohio.edu> : cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: : Greetings. I am trying to compile Xmosaic on a NeXTStation Turbo : running NS 3.0, and am getting stopped by lack of Xm.h and XmP.h (Xm). : Anyone got any NeXT diffs? I would really appreciate hearing from you, : if you can help. Thanks very much in advance. This is kind of : important to me. : NeXT diffs won't do you any good (I already merged in all kinds of : NeXT diffs, actually); you need to have the Motif library and include : files. Since that's a commercial product and since NeXT of course : doesn't normally ship it, you'll have to buy it from somewhere... That is what I was afraid of, that I needed a commercial product to compile the thing. There was a version 1.0 NeXT binary floating around. Does anyone have a NeXT binary for version 1.1? Would appreciate it quite a bit until I can purchase the libraries and include files to Motif. Interesting responses we get on Usenet. A couple alectured me that NeXT is not innately out-of-the-box X compatible. For thoses people: yes, I have the latest MouseX. Thanks anyway! Joe -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library j.rosenfeld@csuohio.edu
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Can't it run any faster? Message-ID: <1993Jun23.113858.11410@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <207u4fINN78t@master.cs.rose-hulman.edu> Date: Wed, 23 Jun 93 11:38:58 GMT In article <207u4fINN78t@master.cs.rose-hulman.edu> borzilda@NeXTwork.Rose-Hulman.Edu (David A Borzillo) writes: > Well, I posted last week about doing animation without PostScript. > Taking everything into mind, I wrote a little demo animation. It's > animating a small TIFF of a raindrop. There are three posiible paths > (chosen by a radio matrix). Case one is circle, case two is diagonal and > case three is a straight line. A slider gives the step increment for > steps two and three. > I set up a clock to time the distance across the view. If the > image takes 3 steps (position at x = position at x + 3) it takes 3 seconds > in B&W and ***28 seconds*** in color. Is this because of more bitplanes? > Could I be "flushing" the graphics more efficiently. I'm attaching the > code at the end of this message. MyView is really the only object in the > application. How could I get this to run faster in color?? > > -- > -------------------------------------- > David A. Borzillo > borzilda@nextwork.rose-hulman.edu > "We'll get the job done, don't worry." > -------------------------------------- > > [code deleted] I would recomend 2 things to speed it up. 1. Do the image look up in the initFrame method not the drawSelf method. 2. Only erase the part of the display that holds the old image before drawing the new one. Currently you erase the entire view. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
From: fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: Re: Is underscore "_" something I shouldn't use? Date: 23 Jun 1993 14:05:16 GMT Organization: News Service at Rose-Hulman Message-ID: <209nusINNboc@master.cs.rose-hulman.edu> References: <C9296H.9Eu@pdh.com> I just want to thank the net for the wealth of answers I've received to this question; I now have a variety of ways to solve my problem. Now, if only someone out there has some Fluid Dynamics simulations I could give my boss as my own . . . -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "What's more important, the plays of Shakespeare or the quill he used to write them down? If he'd used a mission critical custom quill with built-in spell checker, would his plays have been any better? " -- Dave Griffiths (in response to a NeXT advocate on c.s.n.m)
Newsgroups: comp.sys.next.programmer From: bm@cs.columbia.edu (Blair MacIntyre) Subject: accessing ISA cards on NS/I Message-ID: <C930tq.JCA@cs.columbia.edu> Sender: news@cs.columbia.edu (The Daily News) Organization: Columbia University Distribution: comp Date: Wed, 23 Jun 1993 16:08:13 GMT I have an application I've written under Mach2.5 on a PC. I'm thinking of moving to NS/Intel, so I need to know if some of the Mach facilities we used are available. Specifically, we fiddle with the I/O registers on an ISA card and mmap it's memory using a combination of inb, outb, vm_allocate and mmap. Do these facilities exist under NS/I? Thanks. -- Blair MacIntyre --- bm@cs.columbia.edu --- CS Department, Columbia University "You drive, you kill." --- from the movie "Roadkill"
Control: cancel <C9296H.9Eu@pdh.com> Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: cmsg cancel <C9296H.9Eu@pdh.com> Message-ID: <C931tt.Cpz@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. Date: Wed, 23 Jun 1993 16:29:52 GMT <C9296H.9Eu@pdh.com> was canceled by hand with NewsGrazer.
Newsgroups: comp.sys.next.programmer From: robertn@penny (Robert Nicholson) Subject: C++ support in 3.1? Distributions: world Cc: next-prog@cpac.washington.edu Date: Wed, 23 Jun 1993 16:53:10 +0000 Message-ID: <9306231606.AA05215@penny.demon.co.uk> Sender: usenet@demon.co.uk Can anybody specifically explain to me what the differences b/w NS3.0 and NS3.1 are with respect to support for C++
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Objective-C persistance Message-ID: <1993Jun23.175327.10463@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Wed, 23 Jun 93 17:53:27 GMT Hello, Now that the ObjectStore is derailed, I am looking for a solution to provide persistance AND multiuser access to Objective-C objects. What are developers using today? What's coming soon? Thanks. -marcos j. polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: Re: Serial port Crashes System Message-ID: <C9367B.EwB@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <X1JJ6B1w165w@mindvox.phantom.com> <1993Jun22.190744.15273@svcdudes.com> Distribution: na Date: Wed, 23 Jun 1993 18:04:21 GMT In article <1993Jun22.190744.15273@svcdudes.com> moose@svcdudes.com writes: >In article <X1JJ6B1w165w@mindvox.phantom.com> ian@mindvox.phantom.com (Ian >Bainbridge) writes: >> This never happens when the serial ports are not in use. I know this is >> listed in the Release Notes, but how about a FIX sometime soon, this >> renders the entire system I am using nearly useless since I can't connect >> it to remote networks using a modem, without making it hang. > >Unfortunately, this is one of the main reasons why MicroPhone for Intel is not >shipping now. Until I can work around the serial port freeze (which may be >quite a lot of work), we can't release it. Oh well, maybe in 3.2. Does anyone know what exactly causes the freeze? Can it be avoided programmatically or is it a general failure of the driver? Some sort of ioctl combo or using certain calls in certain ways? hrm, -- :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com ::
Newsgroups: comp.sys.next.programmer From: joseph@daffy.tip.ameslab.gov (Joseph Reynolds) Subject: Help make PB beep after a compile Message-ID: <C936sB.H5I@news.iastate.edu> Keywords: beep, makefile Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames IA Date: Wed, 23 Jun 1993 18:16:59 GMT Hi everyone! I'm trying to get PB to ``beep'' at me after it compiles my program and before it launches it. (I frequently wander away from my desk during long compiles:-) The easiest way I can think of how do this involves either modifying /NextDeveloper/Makefiles/app or directing it to use a special version of the linker that beeps when done. Is there an easier way? Joseph Reynolds
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: Is underscore "_" something I shouldn't use? Message-ID: <C9323x.Csv@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <1993Jun18.212602.10755@biztech.com> Date: Wed, 23 Jun 1993 16:35:57 GMT anderson@biztech.com writes: > > [use comma separated declarations] > while andrew@stone.com writes: > > [use static typing] Here's yet another (also self documenting and most general, IMHO) way to force IB to ignore instance variables of type id when parsing class header files: #define private_id id /* Fool IB when we get parsed */ @interface Thing: Object { id delegate; private_id dontMessWithMe; } Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599 PS - Apologies if you already read the original post with a typo. Thanks to ed@vvi.com for pointing it out to me.
Newsgroups: comp.sys.next.programmer From: Bob_Vadnais@pdh.com (Bob Vadnais) Subject: Re: DBKit Book? Message-ID: <C932Dt.Cus@pdh.com> Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. References: <C8zqsL.L6o@csulb.edu> Date: Wed, 23 Jun 1993 16:41:53 GMT heisinc@uni-muenster.de (Christoph Heising ) writes: > > Does anybody know some good book dealing with DBKit? I understand that NeXT is working on a DBKit concepts manual, but don't know of any estimated availibity date. Anyone know any details? Cheers, Bob -- Bob_Vadnais@pdh.com (NeXT Mail welcome) PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034 Voice: (408)428-9596 Fax: (408)428-9599
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: 3.0 DBModeler warning Date: 23 Jun 1993 19:12:51 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <20a9vjINNpaa@darkstar.UCSC.EDU> I'm posting this for a regular c.s.n.* contributor who's temporarily unable to post. His name shall remain anonymous, but you should pay attention to what he says: ARRRGH!!!! I hate the 3.0 modeller. It is an incredible piece of S**T!!! It just blew up -- taking my model changes AND my entire f***ing workspace with it. DBKit Programming Rules (Feel free to repost these to c.s.n.programmer -- I can't post from here) Rule #1 - Don't use the 3.0 Modeller. Rule #2 - See rule #1. Rule #3 - Hit yourself on the head 3 times and then see rule #1. Rule #4 - Reread rule #1, STUPID!!! Rule #5 - When you absolutely, positively, HAVE to use the 3.0 modeller -- be sure to save your source code and nib files BEFORE you launch it!!!!! Art, I apoligize for sending this to you, but I had to send this to someone who could really appreciate my frustration. :-) I really wish I could successfully encourage all of my clients to upgrade to 3.1. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Chris Lloyd) Subject: Re: Is underscore "_" something I shouldn't use? Message-ID: <C939LE.38K@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1993Jun18.212602.10755@biztech.com> <C9323x.Csv@pdh.com> Date: Wed, 23 Jun 1993 19:17:36 GMT In article <C9323x.Csv@pdh.com> Bob_Vadnais@pdh.com writes: >Here's yet another (also self documenting and most general, >IMHO) way to force IB to ignore instance variables of type >id when parsing class header files: > >#define private_id id /* Fool IB when we get parsed */ > >@interface Thing: Object >{ > id delegate; > private_id dontMessWithMe; >} :) Doesn't work, at least on 2.x, IB runs the .h through cpp. gaa, -- :: Christopher Lloyd :: Yrrid Incorporated :: lloyd@world.std.com ::
From: ramesh@bodhi.esys.cwru.edu (Ramesh Dodamani) Newsgroups: comp.sys.next.programmer Subject: Question regarding DBKit Date: 23 Jun 1993 20:14:59 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Message-ID: <20adk3$hoo@usenet.INS.CWRU.Edu> Hello I thought the fetch done by a DBModule (i.e its fetchgroups) ignored duplicate rows from the database. Apparently it doesn't. Is there a way to add a 'distinct' keyword to the DBModule's fetches? Thanks Ramesh
From: npratt@gecko.modsys (Nevin Pratt) Newsgroups: comp.sys.next.programmer Subject: Re: Objective-C persistance Date: 23 Jun 1993 20:09:45 GMT Organization: Sun Microsystems, Inc. Distribution: world Message-ID: <20ada9$7vu@cnn.sim.es.com> References: <1993Jun23.175327.10463@leland.Stanford.EDU> In article 10463@leland.Stanford.EDU, shiva@vega.Stanford.EDU (Marcos Javier Polanco) writes: > Now that the ObjectStore is derailed, I am looking for a solution to > provide persistance AND multiuser access to Objective-C objects. What are > developers using today? What's coming soon? ObjectStore derailed? What happened to ObjectStore? Nevin
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: 486 byte ordering Message-ID: <1247@rtbrain.rightbrain.com> Date: 23 Jun 93 20:05:41 GMT References: <1993Jun18.042122.21427@mouthers.nwnexus.wa.com> Sender: glenn@rightbrain.com slugg jello writes [discussion of archiving bit fields omitted] > The Object class Version: and setVersion: methods and the > NXTypedStreamClassVersion() function come in *very* handy for this. You don't > have to change your file format. Each class instance as it is unarchived is > able to determine ahead of time the version number of the class that it is > unarchiving so it knows how to read the bitfield information. The class > thereby takes care of handling its own format changes in a really nifty hidden > sort of way. Your higher level code needn't know, and your file format needn't > change. I think this is an orthogonal issue. The file format has to change if you want to unarchive bit fields on both architectures from the same file format (unless you employ one of the other suggested methods), but the Version: and setVersion: don't help you with this. The version information that you mention can help you unarchive old file formats, but you can't unarchive "future" file formats. It's just a version number, and as such, has all the limitations of backward compatibility but not necessarily forward compatibility. If (in my case) I change the way bit fields are archived, this changes the file format. My code can cope with old formats or new ones; that's not the issue. The old code can't look forward into time to figure out how to read the new format, setVersion: or no setVersion:, unless I'm missing something big. But it can say "hey, the version number of that file is newer than me, so I can't read it", which it does. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
From: rfschtkt%banruc60.BITNET@phem3.acs.ohio-state.EDU Newsgroups: comp.sys.next.programmer Subject: mutex_lock(): quest with a sad ending... Date: 23 Jun 1993 16:37:03 -0400 Organization: The Ohio State University Sender: daemon@magnus.acs.ohio-state.edu Message-ID: <9306231851.AA01684@flexus> LS, The documentation says that NXSpinLock uses mutex_lock() to implement a busy wait (instead of (as I would use) a loop of mutex_try_lock(), or rather the (undocumented) spin_lock()), and that NXLock uses condition_wait() (instead of the humble mutex_lock() that does the job just as well). This is so crazy that I first doubted that the authors even conferred with the programmers or read MachFunctions.rtf, let alone take a peek at <mach/cthreads.h>: #define mutex_lock(m) \ MACRO_BEGIN \ if (! mutex_try_lock(m)) mutex_wait_lock(m); \ MACRO_END extern int mutex_try_lock(mutex_t m); /* nonblocking */ extern void mutex_wait_lock(mutex_t m); /* blocking */ extern void mutex_unlock(mutex_t m); So mutex_lock tries a cheap method, and if this fails, does a blocking wait which requires a fixed penalty, hence the cheap try first, right? This is what I *thought*... To investigate whether the authors of the documentation were right, instead of writing a program of NXSpinLocks in deadly embrace and monitoring CPU usage, I decided to disassemble these things. And would you know? They *were* right! NXLock uses condition_wait(), and NXSpinLock uses mutex_lock(). Come on, why would <mach/cthreads.h> then say that mutex_wait_lock() is blocking? Disassembling it (it's wondrous what an optimising compiler can produce (though not as efficient as hand-coded assembly), you should try this once yourselves, too) gives: #define GOFORTHELOCK \ if(!pc_m[0]){ /*if lock isn't set (only a performance issue) \ pc_m[1]=0; /*why ? These locking methods all do it... \ if(!tas(pc_m[0]) /*!tas(pc_m[0]) means that the lock has been acquired*/ \ return; \ } // why ? These locking methods all do it... // !tas(pc_m[0]) means that the lock has been acquired void mutex_wait_lock(mutex_t m){ /*const*/ char *pc_m=(char *)m; /*var*/ int counter; for(counter=0;counter<_mutex_spin_limit:l;counter++ ){ GOFORTHELOCK } for( ;/*infinite loop*/ ;_cthread_yield){ GOFORTHELOCK } } #undef GOFORTHELOCK // tas is an atomic test-and-set which returns the previous value. I am vexed. This is just a spin_lock that becomes more polite after _mutex_spin_limit times, and is certainly not /*blocking*/ (as the header file would have us believe). It also means that mutex_lock defined as the macro it is, is just mutex_wait_lock with mutex_spin_limit+1, and the overhead of an extra function call (more or less). I had always thought that mutex_wait_lock was an rpc to a mutex thread or to the kernel or something. Maybe this is what condition_wait does (probably with intra-task messaging), but I don't feel like disassembling that now... Hmm, this is a bit longish... Your thoughts? I'll summarise... Raf Schietekat, RfSchtkt@banruc60.bitnet, Flanders, Belgium (real, i.e., with triangle in the Deliver button) NeXT Mail preferred I can't reach sites with ! or % in their address, or ending in .at or .uucp Nederlands, English, Fran[ais, Deutsch a.o.
Newsgroups: comp.sys.next.programmer From: mahoney@csulb.edu (Mike Mahoney) Subject: Re: DBKit Book? Message-ID: <C93E0s.9FF@csulb.edu> Sender: news@csulb.edu (News Administration/Rumor Bureau) Organization: Cal State Long Beach References: <1993Jun22.025923.3475@imani.cam.org> Date: Wed, 23 Jun 1993 20:53:15 GMT Announcing "STEP TWO" the sequel: "NEXTSTEP Programming - STEP TWO: Object-Oriented Toolkits" Authors: Michael K. Mahoney and William J. Ballew Hardbound, will include DOS diskette or CD-ROM Publisher: TELOS/Springer-Verlag, Santa Clara, CA Expected publish date: Q1 1994 This sequel to the highly successful book, "NEXTSTEP Programming - STEP ONE: Object-Oriented Applications," by Simson L. Garfinkel and Michael K. Mahoney will continue in the hands-on style of STEP ONE. STEP TWO will focus on the powerful object toolkits DB Kit, 3D Kit, and Indexing Kit which are bundled with the NEXTSTEP 3.1 Developer's Edition software package. STEP TWO will also cover other important topics such as Interface Builder extensions (e.g., Palettes), performance enhancement, and debugging techniques which could not fit into the lengthy STEP ONE. Michael K. Mahoney is Professor and Chair of the Computer Engineering and Computer Science Department at California State University, Long Beach, and is president of the Southern California NEXTSTEP Users Group (SCaN). William J. Ballew is a member of the technical staff at The Aerospace Corporation and is an experienced NEXTSTEP developer. More detailed information regarding this publication will be forthcoming from the publisher in Q4 1993. In article <1993Jun22.025923.3475@imani.cam.org> writes: > In article <204iob$sil@obelix.uni-muenster.de> heisinc@uni-muenster.de (Christoph > Heising ) writes: > > Hello! > > > > Does anybody know some good book dealing with DBKit? > > > > Ciao > > Chris > > "NeXTSTEP Programming: Step two" (the sequel to the Simpson/Grafinkel book) will > deal with DBKit, 3DKit, as well as other "advanced" features. It's supposed to > come out in the automn, I think. > > Ciao > > -- > Nicolas Dore nico@imani.cam.org > - - - - - - - - - CAREFUL!!! FRENCHIE ZONE!!! - - - - - - - - - - - - > >"Si la classe ouvriere ne nous satisfait plus, nous la destituerons< > > et en elirons une autre" B. Brecht (ne parlant pas d'informatique)< -- - Mike Mahoney, SCaN President Professor and Chair Computer Engineering and Computer Science Dept California State University, Long Beach Long Beach, CA 90840-8302
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: TCP-IP Message-ID: <1993Jun24.070146.26796@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <conrad.740338263@cgl.ucsf.edu> <1993Jun24.011134.25880@leland.Stanford.EDU> Date: Thu, 24 Jun 1993 07:01:46 GMT In article <1993Jun24.011134.25880@leland.Stanford.EDU> xinwei@otter.Stanford.EDU (Sha Xin Wei) writes: >Where can I find documentation -- other than BSD 4.3 manuals ;) -- and sample >source for a TCP-IP server under NS 3.x? Any source that covers BSD-style ("sockets") networking. There's nothing remarkable about NeXT's implementation. -=EPS=-
From: zazula@soliton.physics.arizona.edu (Ralph Zazula) Newsgroups: comp.sys.next.programmer Subject: Re: comp.sys.next.programmer Message-ID: <1993Jun22.081102.24689@galileo.physics.arizona.edu> Date: 22 Jun 93 08:11:02 GMT References: <9306211556.AA12454@flexus> <1993Jun22.013836.25480@csus.edu> Sender: zazula@pri.com (Ralph Zazula) Organization: Pinnacle Research, Inc. In article <1993Jun22.013836.25480@csus.edu> eps@cs.sfsu.edu writes: >In article <9306211556.AA12454@flexus> > fSchtkt%banruc60.bitnet@phem3.acs.ohio-state.edu writes: >>I went looking for NX_COMPILER_RELEASE_3_0 straight away! Did I miss something, >>or did EPS unlawfully use the NX prefix here? Well, it would be useful! > >I can't sneak anything past you guys, can I? :-) > >3.1's cc predefines the following: > >#define NX_COMPILER_RELEASE_3_0 300 >#define NX_COMPILER_RELEASE_3_1 310 >#define NX_CURRENT_COMPILER_RELEASE 310 > >[None of these are predefined by 3.0's cc--consider that an > oversight that's since been corrected. The Release Notes > discourage their use, but since NeXT "reorganized" their headers > to be incompatible with most of the real world (which makes life > unpleasant when your goal is to develop portable code)--and to > make matters worse, removed a whole bunch of _essential_ .h > files from 3.0 *that are still missing in 3.1*, I see little > choice here.] > > -=EPS=- Hi - Here's a little header file that we use around here for detecting NEXTSTEP versions. All you have to do in code is look for either "NX3" or "NX2" to be [un]defined: // NXVersion.h // // let us know what NeXTSTEP version we're using // #import <sys/version.h> #if KERNEL_MAJOR_VERSION == 3 #define NX3 #else #define NX2 #endif --- This seems to work under NX2.1, NX3.0 and NX3.1... Ralph --- Ralph Zazula Pinnacle Research, Inc. - "THE NEXTSTEP(tm) UTILITY LAB" zazula@pri.com
From: zazula@soliton.physics.arizona.edu (Ralph Zazula) Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Intel NS software (where?) Message-ID: <1993Jun22.082459.25061@galileo.physics.arizona.edu> Date: 22 Jun 93 08:24:59 GMT References: <C8yuE8.4A5@well.sf.ca.us> Sender: zazula@pri.com (Ralph Zazula) Organization: Pinnacle Research, Inc. - "THE NEXTSTEP(tm) UTILITY LAB" Hi - We have placed MAB (multi-architecture-binary) versions of our VirtSpace, PageChain, WetPaint and VWall applications on the cs.orst.edu FTP site. These all have demo-modes and will run on iNTEL machines. The VWall demo comes with a FREE (yes, F.R.E.E) 2-user license key for you to play with. As a side note, all current users of these applications can pick up the MAB versions and use them with their current keys... Enjoy, Ralph --- Ralph Zazula President Pinnacle Research, Inc. - "THE NEXTSTEP(tm) UTILITY LAB" zazula@pri.com (602)529-1135
From: max@Kolmogorov.gac.edu (Max Hailperin) Newsgroups: comp.sys.next.programmer Subject: Re: Help: BSD4.3 C-function read( ) timeout ? Date: 24 Jun 93 08:23:35 Organization: Gustavus Adolphus College, St. Peter, MN Message-ID: <MAX.93Jun24082335@Kolmogorov.gac.edu> References: <1vs68s$an5@balu.hnv.icem.de> <1993Jun24.025633.5658@nic.csu.net> In-reply-to: eps@futon.SFSU.EDU's message of 24 Jun 93 02:56:30 PDT In article <1993Jun24.025633.5658@nic.csu.net> eps@futon.SFSU.EDU (Eric P. Scott) writes: [a suggestion to use alarm to timeout a read] Another approach is to use the select system call -- do man 2 select.
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Re: Help make PB beep after a compile Message-ID: <1993Jun24.124830.244@afs.com> Sender: Michael_Pizolato@afs.com References: <C936sB.H5I@news.iastate.edu> Date: Thu, 24 Jun 1993 12:48:30 GMT Joseph Reynolds writes >I'm trying to get PB to ``beep'' at me after it compiles my program >and before it launches it. (I frequently wander away from my desk >during long compiles:-) The easiest way I can think of how do >this involves either modifying /NextDeveloper/Makefiles/app or >directing it to use a special version of the linker that beeps >when done. > >Is there an easier way? Yes, use our 'makesnd' script (it may not look easy, but then again it's already done!). Just set the PB preferences to invoke makesnd instead of make. You have to set up the sounds you want (one for successful builds, one for unsuccessful) in one of two ways - either set the environment variables MAKEGOODSND and MAKEBADSND to the full paths of the sounds you want played, or have files called makeGood.snd and makeBad.snd in ~/Library/Sounds. Of course, once you're running NS3.1 you don't need this anymore because PB allows you to set success and failure sounds in preferences. But for versions prior to 3.1, makesnd works fine. Here's the script (it's in csh, for which I make no apologies): #!/bin/csh # # makesnd - play sounds after a make # # by Michael Pizolato (Michael_Pizolato@afs.com) # March 23, 1993 # # Permission to copy freely is granted as long as the authorship # information and this notice are included. Use at your own risk. # set MAKE = /bin/make set SNDPLAY = /usr/bin/sndplay ${MAKE} $* set makeStatus = $status set defaultGoodSndFile = /NextLibrary/Sounds/Bonk.snd set defaultBadSndFile = /NextLibrary/Sounds/Basso.snd set goodSndFile = ~/Library/Sounds/makeGood.snd set badSndFile = ~/Library/Sounds/makeBad.snd set theSound = "" if (! ${?MAKEGOODSND}) then set MAKEGOODSND = "" endif if (! ${?MAKEBADSND}) then set MAKEBADSND = "" endif if ($makeStatus == 0) then if ("${MAKEGOODSND}" != "") then set theSound = ${MAKEGOODSND} else if (-e ${goodSndFile}) then set theSound = ${goodSndFile} else if (-e ${defaultGoodSndFile}) then set theSound = ${defaultGoodSndFile} endif else if ("${MAKEBADSND}" != "") then set theSound = ${MAKEBADSND} else if (-e ${badSndFile}) then set theSound = ${badSndFile} else if (-e ${defaultBadSndFile}) then set theSound = ${defaultBadSndFile} endif endif if ("${theSound}" != "") then (${SNDPLAY} ${theSound} >&/dev/null &) endif exit $makeStatus Hope it's helpful. Michael -- Michael Pizolato gnihtyreve noitseuq michael_pizolato@afs.com NeXTMail appreciated
Newsgroups: comp.sys.next.programmer From: Michael_Pizolato@afs.com (Michael Pizolato) Subject: Re: Summary: Is underscore "_" something I shouldn't use? Message-ID: <1993Jun24.130533.331@afs.com> Sender: Michael_Pizolato@afs.com References: <20a6etINNcu2@master.cs.rose-hulman.edu> Date: Thu, 24 Jun 1993 13:05:33 GMT David J. Fischer writes [munch] > b) Precede the variable with "__". This gives __ivar, > which is ugly and a nuisance to type. Also, if everyone > adopted this format, then we would be in danger of > overwriting other Developer's private variables. That was _my_ suggestion, and _I_ think it's _beautiful_ and _easy_ to type in. De gustibus non disputandum. Wattsamatta, can't yous guys type? Sheesh! ;-) Seriously, though, the compiler complains if you use an ivar name that is the same as one in the superclass (or anywhere up the class hierarchy), so the only danger is that you'll get upset because you can't use your carefully chosen ivar name since someone beat you to it. Everyone uses only meaningful, well reasoned ivar names, right? Show of hands? Michael -- Michael Pizolato gnihtyreve noitseuq michael_pizolato@afs.com NeXTMail appreciated
From: marcos@kaleida.com (Paul Marcos) Newsgroups: comp.sys.next.programmer Subject: Re: Saving and restoring RTF in a composite object (long) Date: 24 Jun 1993 15:39:07 GMT Organization: Kaleida Labs, Inc. Distribution: world Message-ID: <20chqrINNsuk@golden.kaleida.com> References: <abellC946KC.Hp6@netcom.com> In article <abellC946KC.Hp6@netcom.com> abell@netcom.com (Steven T. Abell) writes: > I'm getting really annoyed. > > I have an object that needs to hold RTF (better yet, RTFD) along with other I battled this for a while too. If I'm understanding what you want to do is the same that I do, here's how I do it. I have an Storage object that I keep a bunch of rtf data in. I then use a single text object and feed the rtf from the Storage object to the text object when I want to edit a piece of the rtf. When I'm all done, I just write it out to an NXTypedStream. If we start from where the user has put some text into a text object, I'll stick it into the Storage object using the following: This is the structure used to hold the rtf data. Content is a pointer to the actual rtf data buffer. contentSize is the size of the rtf buffer. Note, you've got to read this from the NXStream structure. If you do something as simple as strlen( content ) you'll be totally screwed due to the format of rtf (the first thing in the rtf stream is "rtf\0....." so you'll get a REALLY small size and be hosed). typedef struct info { char *content; int contentSize; } info; addressView is the text view that displays the rtf. When I want to save the info, I send [self writeAddress] and that saves the rtf data. - writeAddress { info thisInfo; NXStream *writeStream; if( writeStream = NXOpenMemory( NULL, 0, NX_WRITEONLY ) ); { [addressView writeRTFDTo: writeStream]; NX_MALLOC( thisInfo.content, char, (writeStream->eof)+1); memcpy( thisInfo.content, (const char*)(writeStream->buf_base), writeStream->eof ); thisInfo.contentSize = writeStream->eof; [addressStorage addElementAt: count with: (void*)&thisInfo]; NXCloseMemory( writeStream, NX_FREEBUFFER ); } return self; } When I want to put it back into the text object, I basically create an NXStream by hand based on the information in the Storage object, and then plop it into the Text object. - showAddress: (int)number { NXStream *readStream; info thisInfo; if( readStream = NXOpenMemory( NULL, 0, NX_READONLY ) ); { count = count + number; if( count == [addressStorage count] ) count--; if( count < 0 ) count++; if( [addressStorage elementAt: count] != NULL ) { thisInfo = *((info*)[addressStorage elementAt: count]); readStream->buf_base = thisInfo.content; readStream->buf_ptr = readStream->buf_base; readStream->buf_size = thisInfo.contentSize; readStream->buf_left = readStream->buf_size; readStream->flags = 241; [addressView readRTFDFrom: readStream]; } else [addressView setText: ""]; } NXCloseMemory( readStream, NX_SAVEBUFFER ); return self; } Now when I write it out to a typed stream, I figure out how many elements in the Storage object, write out the count, then loop through all the elements writing the rtf data out. I use the contentSize element to format the contentType descriptor for the NXWriteType call to work. Needless to say, you could write whatever else you needed to into the same Typed Stream. Also, a major benefit of doing this is that it'll "just work" when you go to read this same file on an Intel machine. Byte swapping is taken care of automatically for you. Reading the data in is basically the reverse. - write: (NXTypedStream *)stream { int itemCount, i; info writeInfo; char *contentType; NX_MALLOC( contentType, char, 25 ); [self writeAddress]; itemCount = [addressStorage count]; // # of elements NXWriteType( stream, "i", &itemCount ); // write out count for( i=0; i < itemCount; i++ ) { writeInfo = *((struct info*)[addressStorage elementAt: i]); NXWriteType( stream, "i", (void*)&(writeInfo.contentSize) ); NX_MALLOC( contentType, char, 25 ); sprintf( contentType, "[%dc]", writeInfo.contentSize ); NXWriteType( stream, contentType, (void*)(writeInfo.content) ); } return self; } Did any of that make sense? If it didn't e-mail me and I can explain better. Paul ................................................................... Paul Marcos NeXTMail encouraged! Kaleida Labs, Inc. marcos@kaleida.com
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: How to Contact NeXT Message-ID: <1993Jun24.145846.3158@afs.com> Sender: greg@afs.com References: <202ej4$5oi@zip.eecs.umich.edu> Date: Thu, 24 Jun 1993 14:58:46 GMT In article <202ej4$5oi@zip.eecs.umich.edu> hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) writes: > Does any of you know if NeXT provides any kind of support for NeXT > programmers? If they do, how do I contact it? They do, but it's very expensive, and they're all real busy right now getting 3.2 ready, and building PDOs on HP-UX, and porting to HP PAs, and answering an unexpectedly large volume of calls for the $299 evaluation copy, and playing Xox. You obviously have net access, so why not ask us, your programming pals in c.s.n.programmer? We don't bite. Well, Glenn Reid does, but he has the problem relatively under control... 8^) (Sorry, Glenn!) -- Gregory H. Anderson | "If you've got eyes to rhythmatize Composer-in-Residence | Bring your flat hat and your ax Anderson Financial Systems | 'Cause tonight at 10 we'll be workin' again" greg@afs.com (NeXTmail OK) | -- Donald Fagen, "Teahouse on the Tracks"
Newsgroups: comp.sys.next.programmer From: greg@afs.com (Gregory H. Anderson) Subject: Re: Text Object's Delegated methods and next responder Message-ID: <1993Jun24.151347.3214@afs.com> Sender: greg@afs.com References: <1993Jun23.211214.15905@cs.ucla.edu> Date: Thu, 24 Jun 1993 15:13:47 GMT In article <1993Jun23.211214.15905@cs.ucla.edu> esky@marathon.cs.ucla.edu (Eskandar Ensafi) writes: > What is the best way to: > > 1. Ask a Text object to return its related TextField's id I've always been told that [textObject superview] is the "guaranteed" method. > 2. Ask a TextField to return its Text object's id This is much trickier. TextFields only have a Text object while they are being edited, and the editor is really owned and operated by the Cell inside the TextField. If you really need to know, you should ask the window for the id of its field editor with editor = [[theTextField window] getFieldEditor:NO for:theTextField]; where the NO argument guarantees it will not be created if it does not exist. (Otherwise you could be fooled into thinking there was some editing going on when there really wasn't.) But why do you need this? All methods where this matters pass it as an argument. -- Gregory H. Anderson | "If you've got eyes to rhythmatize Composer-in-Residence | Bring your flat hat and your ax Anderson Financial Systems | 'Cause tonight at 10 we'll be workin' again" greg@afs.com (NeXTmail OK) | -- Donald Fagen, "Teahouse on the Tracks"
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: cleelacj@agedwards.com (Chris Cleeland) Subject: NeXTStep positions available Message-ID: <C94uAz.MwG@agedwards.com> Date: Thu, 24 Jun 1993 15:42:35 GMT Organization: A. G. Edwards & Sons, Inc. Keywords: positions jobs dollars NOTE: This is posted for a friend -- his address is in the Reply-to: header; please insure that mailed replies go to him. David Graziano Compuserve: 717030,600 Internet: david@psc-corp.com The subject line says it all -- we have NeXT-related work available and would like to talk to people who are interested in taking it on. Reply for more details... David PSC, Inc. -- ============================================================================== Chris Cleeland | Internet: cleelacj@agedwards.com BOS Dev. Team | USnail: 3878 Connecticut St. Louis 63116 | BellNet: (314) 289-5372
From: powell@tropic.aoml.erl.gov (Mark Powell) Newsgroups: comp.sys.next.programmer Subject: Archiving objects (Lists) Date: 24 Jun 1993 20:08:58 GMT Organization: U.S. Department of Commerce, NOAA/AOML Message-ID: <20d1kq$s7q@wave.aoml.erl.gov> This is a fairly straight forward question, but I can't seem to figure out what is going on. I have a large hierarchy of objects that I need to save. To ensure portability (and ease of use), I use (try to use) the - read, and -write methods for each of my objects. I begin the saving process by initiating a NXWriteRootObject() command. This works. All of the streams that should be created, are (Yes I am using different files, but that does not seem to be the problem). When I exit my program, and initiate a NXReadObject() command, my program crashes. Here is a little code bite of where the problem is occuring: - unarchive { if (myObject == nil && strcmp(myObjectsPath,"No Path")) /* Makes sure that object can be unarchived */ { NXTypedStream *stream = NXOpenTypedStreamForFile(myObjectsPath, NX_READONLY); printf("Linker, %s, retreiving branch from path:%s\n",myName,myObjectsPath); printf("stream address:%p\n", stream); myObject = NXReadObject(stream); NXCloseTypedStream(stream); } return self; } The code used to write this particular object to the stream was: NXTypedStream *stream2 = NXOpenTypedStreamForFile(myObjectsPath, NX_WRITEONLY); printf("Linker, %s, saving branch to path:%s\n",myName,myObjectsPath); NXWriteRootObject(stream2, myObject); NXCloseTypedStream(stream2); Does anyone have any suggestions on what to try? I am at the limit of my imagination! Any response at all would be a great help! Thanks Kevin
From: hyongsop@saturn.eecs.umich.edu (Hyong S. Shim) Newsgroups: comp.sys.next.programmer Subject: Remotely Opening Windows Date: 24 Jun 1993 20:38:59 GMT Organization: University of Michigan EECS Dept. Message-ID: <20d3d3$6c5@zip.eecs.umich.edu> Keywords: Remotely Opening Windows Hi all, Does any of you know how to display a window on other NeXT's in the program? --Hyong Sop Shim (hyongsop@engin.umich.edu)
From: rprice@cbnewsg.cb.att.com (rodney.price) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: libg++ for the NS 3.0 compiler? Keywords: libg++ ns3.0 compiler Message-ID: <C94u9y.Ftq@cbfsb.cb.att.com> Date: 24 Jun 93 15:41:58 GMT Sender: news@cbfsb.cb.att.com Followup-To: poster Organization: AT&T I've been trying to install libg++-1.39.0 on my NS 3.0 system, so far unsuccessfully. The problem seems to be that 3.0 has the standard system include files scattered all over creation, whereas the makefile thinks they're in the standard locations (/usr/include and so on). Has anyone got a compiled libg++ that works with the NS 3.0 cc compiler? If you do, would you either NeXTmail it to me, tell me where I can ftp it, or tell me how to fix the makefile so that it will compile? Why don't I use the latest version of gcc? I've tried: gcc 2.4.5 compiles just fine, then libg++ 2.3.1 compiles and runs its tests successfully, except for one (ignored) segmentation fault. The NeXT-supplied debugger doesn't work with it, however, and it has a nasty bug that showed up in the first bit of code I tried to compile. This code worked fine under the NS 2.1 compiler and libg++ 1.39.0. I also tried compiling gcc 2.3.3, which is supposed to work with the NeXT debugger. The same problem shows up. I give up. I don't have any more time to burn trying to get the latest bells and whistles -- I just want something that works. Sorry for the complaining, but I'm pretty exasperated. Thanks for your help. Rod Price rprice@physics.att.com 908-582-3719
Newsgroups: comp.infosystems.www,comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: Seeking Xmosaic NeXT diffs Message-ID: <1993Jun24.104726.1052@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <1993Jun23.104335.20259@news.csuohio.edu> Date: Thu, 24 Jun 1993 10:47:26 GMT In article <1993Jun23.104335.20259@news.csuohio.edu> > cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: > Interesting > responses we get on Usenet. A couple alectured me that NeXT > > is not innately out-of-the-box X compatible. For thoses people: > yes, I > have the latest MouseX. Thanks anyway! > X doesn't consist of Motif. If you have MouseX, you're 100% X-compatible. To be Motif-compatible, you have to buy it, which is the same on any other unix-box. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
From: jbuck@forney.eecs.berkeley.edu (Joe Buck) Newsgroups: comp.infosystems.www,comp.sys.next.programmer Subject: Re: Seeking Xmosaic NeXT diffs Date: 24 Jun 1993 21:24:07 GMT Organization: University of California at Berkeley Message-ID: <20d61n$11l@agate.berkeley.edu> References: <1993Jun23.104335.20259@news.csuohio.edu> <1993Jun24.104726.1052@gamelan> In article <1993Jun23.104335.20259@news.csuohio.edu> >> cowboy@trans.csuohio.edu (Joe Rosenfeld) writes: > Interesting >> responses we get on Usenet. A couple alectured me that NeXT > >> is not innately out-of-the-box X compatible. For thoses people: >> yes, I > have the latest MouseX. Thanks anyway! thf@zelator.in-berlin.de (Thomas Funke) writes: >X doesn't consist of Motif. If you have MouseX, you're 100% X-compatible. >To be Motif-compatible, you have to buy it, which is the same on any >other unix-box. Your last sentence is not quite right. "Motif" describes at least three things: (1) a graphical interface standard (how things look to the user), (2) an application programmers' interface, (3) and a piece of commerical software owned by the OSF. The free Tcl/Tk package implements (1) (well, most of it). OSF has made the specifications for (2) public, so a clone would be possible if someone put the resources into doing it. (3) is what you have to buy. -- Joe Buck jbuck@ohm.EECS.Berkeley.EDU
Newsgroups: comp.sys.next.programmer From: graham@Xenon.Stanford.EDU (Graham Spencer (Zamfir)) Subject: the Thesaurus Message-ID: <GRAHAM.93Jun24180840@Xenon.Stanford.EDU> Sender: news@CSD-NewsHost.Stanford.EDU Organization: Computer Science Department, Stanford University. Date: 24 Jun 93 18:08:40 I am a novice at NeXT programming (but not at programming in general). I would like to know how to access the Thesaurus that comes with NeXTStep 3.x. For example, I would like a function such as char** get_synonyms(char* word); Pointers to existing interfaces or simply the format of the file would be quite helpful. Thanks, --Graham --------------------------------------------------------------------------- Graham Spencer | That's life, that's what I was told anyway. And graham@cs.stanford.edu | picking your feet until they bleed may only be Big Pocket Pretender | the half of it. -- ---------------------------------------------------------------------------- Graham Spencer | The Orange-Juice Cow, the most feared cow in all of graham@cs.stanford.edu | France, landed on the fish. Jean-Jean was outraged, (aka Zamfir) | but had lost too much blood to show it.
Newsgroups: comp.sys.next.programmer From: dennis.glatting@mccaw.com Subject: c++ library Message-ID: <1993Jun25.010714.16840@mccaw.com> Keywords: c++ Sender: news@mccaw.com Organization: McCaw Cellular Communications, Inc. Distribution: usa Date: Fri, 25 Jun 1993 01:07:14 GMT I seem to recall that the AT&T class libraries are available for the NeXT. Is that true and what experiences has anyone had under 3.x? -- Dennis P. Glatting / Technical Director / Paradigm Systems Corp. of WA
Newsgroups: comp.lang.c,comp.sys.next.programmer From: greyham@research.canon.oz.au (Graham Stoney) Subject: Re: bus error Message-ID: <C95MpL.7p0@research.canon.oz.au> Sender: news@research.canon.oz.au Organization: Canon Information Systems Research Australia References: <9306231912.AA28819@thinx.thinx.convex.com> Date: Fri, 25 Jun 1993 01:56:08 GMT Jos Horsmeier <jos@thinx.convex.com> writes: >Ah, yes, you're absolutely right of course, but the original poster >asked about a `bus error' and dereferencing a NULL pointer would >most probably cause a `segmentation violation' in most cases. ... unless you're on a NeXT: greyham@miles% cat derefnull.c int main() { int i = *(int *)0; return 0; } greyham@miles% a.out Bus error (core dumped) What's more, we had a hardware problem a short while back where a real NeXTbus bus error was ocurring, and the process was being hit with a `segmentation violation' instead, just to throw us off the track. NeXT seem to have them around backwards... regards, Graham -- Graham Stoney Canon Information Systems Research Australia Ph: + 61 2 805 2909
Newsgroups: comp.sys.next.programmer From: OBS_Inc@mindlink.bc.ca (OBS Inc) Subject: Indexing Kit Adaptor Wanted Organization: MIND LINK! - British Columbia, Canada Date: Fri, 25 Jun 1993 02:14:47 GMT Message-ID: <25851@mindlink.bc.ca> Sender: news@deep.rsoft.bc.ca (Usenet News at rsoft.bc.ca) If an adaptor is out there I'd like to know where. thanks, grant
Newsgroups: comp.soft-sys.nextstep,comp.sys.next.programmer From: jsaker@cwis.unomaha.edu (James R. Saker Jr.) Subject: NS/i: Dialogic & other comm board driver support Message-ID: <jsaker.740979544@cwis> Keywords: NS/i,Dialogic,comm,boards,drivers,support Sender: news@news.unomaha.edu (UNO Network News Server) Organization: University of Nebraska at Omaha Date: Fri, 25 Jun 1993 03:39:04 GMT After playing with NS/i a bit, I'm convinced the NS & Mach combo would provide a much better platform for Intel-based communication systems (such as fax-broadcast/fax-mail/fax-on-demand, voicemail, callback systems, etc.) than OS/2 and DOS approaches. I'm presently running an integrated system (find-me, follow-me, voicemail and fax) on a Novell NetWare/DOS system w/ Dialogic boards (DTI/211 for the T1 interface, DMX for switching and D/121a) and contacted Dialogic today about NS support, but naturally they haven't even *heard* of NeXT, let alone provide support for NS/i. Dialogic tech support indicated they'd been considering a BSD4.3 driver port (they presently support OS/2 and DOS), but I'm wondering how much work it'd take to get it to run under the Mach kernel. Of course, such a driver would only come at "significant demand from their customer base" and acquiring specs on what the boards are looking for could be a challenging proposition. Has anyone either attempted writing their own communication board drivers for Dialogic (or related) equipment, or are they aware of other vendors either offering or planning on providing NS/i support for advanced communication boards? Thanks! . . . . . . . . . . . . . . . . . . . . . . . . . . . Jamie Saker jsaker@cwis.unomaha.edu . . Systems Engineer Business/MIS Major . . Telenational Communications Univ. Nebraska at Omaha . . voice: (402) 392-7548 . . fax: (402) 391-7283 . . Disclaimer: The opinions expressed here are mine and not my employers, . . nor the University of Nebraska at Omaha's. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Newsgroups: comp.sys.next.programmer From: anderson (Ken Anderson) Subject: Re: Help make PB beep after a compile Message-ID: <1993Jun23.234321.21318@biztech.com> Sender: news@biztech.com Organization: Biztech, Inc. References: <C936sB.H5I@news.iastate.edu> Date: Wed, 23 Jun 1993 23:43:21 GMT In article <C936sB.H5I@news.iastate.edu> joseph@daffy.tip.ameslab.gov (Joseph Reynolds) writes: >Hi everyone! > >I'm trying to get PB to ``beep'' at me after it compiles my program and >before it launches it. (I frequently wander away from my desk during long >compiles:-) The easiest way I can think of how do this involves either >modifying /NextDeveloper/Makefiles/app or directing it to use a special >version of the linker that beeps when done. > >Is there an easier way? > >Joseph Reynolds Project Builder's preferences has two fields for supplying success and failure sounds. Ken Anderson anderson@biztech.com Stamford, CT
Newsgroups: comp.sys.next.programmer From: mhae@jester.stgt.sub.org (Michael Haeuptle) Subject: Problem with distributed objects... Message-ID: <1993Jun24.200814.2931@jester.stgt.sub.org> Sender: mhae@jester.stgt.sub.org Organization: Blue NeXT Date: Thu, 24 Jun 1993 20:08:14 GMT Hi there! I have a problem with distributed objects. In an application, I get the following message at the console: Jun 24 21:41:30 jester MyApp[2850]: received reply message from port 29 via dps The code below implements the asynchronous server method "calc:" that gets called from the client method "doCalc". If the calc method has finished, the client should be notified via calcFinished. The application is in fact *working*, but every time the calcFinished method is called, the above message appears on the console. Does anybody have a clue???? Thanks, Michael MyApp: [...] // Server - (oneway void) calc:(id)sender { // do the calculation // ..... [sender calcFinished:self]; return; } // Client Code - doCalc:sender { [aRemoteServer calc:self]; return self; } - (oneway void) calcFinished:sender { printf("server finished...); return; } -- Michael Haeuptle | How can we dance when our earth is turning Biberweg 43, 70806 Kornwestheim | How do we sleep while our beds are burning +49 7154 16442 | (Midnight Oil) mhae@jester.stgt.sub.org |
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Text Object's Delegated methods and next responder Date: 25 Jun 1993 07:34:29 GMT Organization: Cubic Solutions - NeXT software development and consulting Message-ID: <20e9q5INN2i3@darkstar.UCSC.EDU> References: <1993Jun23.211214.15905@cs.ucla.edu> <1993Jun24.151347.3214@afs.com> In article <1993Jun24.151347.3214@afs.com> greg@afs.com writes: >In article <1993Jun23.211214.15905@cs.ucla.edu> esky@marathon.cs.ucla.edu >(Eskandar Ensafi) writes: >> What is the best way to: >> >> 1. Ask a Text object to return its related TextField's id > >I've always been told that [textObject superview] is the "guaranteed" >method. Bzzzzzt! Those nice scrollable TextFields (everyone uses those, right?) use a ClipView as the field editor's superview. So try something like: view = [view superview]; // Check for scrollable TextField. if ([view isMemberOf:[ClipView class]]) { view = [view superview]; } -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: Robert_La_Ferla@hot.com Subject: Re: Spell Checking Idea Message-ID: <1993Jun23.140433.1623@hot.com> Sender: robertl@hot.com Organization: Hot Technologies References: <1993Jun18.081806.8213@gleap.jpunix.com> Date: Wed, 23 Jun 1993 14:04:33 GMT Allow me to refine your idea. There should be a menu item that allows a user to find all potentially misspelled words in a document. When this menu item is selected, the document is scanned for misspellings. Any misspelled words are collected, sorted, reduced and listed in a panel containing a scrolling selection list. When the user selects a word from the list, they have the option of correcting all instances or sequentially examining/correcting each instance. Robert La Ferla Hot Technologies In article <1993Jun18.081806.8213@gleap.jpunix.com> clloyd@gleap (Charles C. Lloyd) writes: > Anyone doing a word processor or editor, here's an idea for you that could > improve how spell checking is done. (Hint: Perhaps WriteBrain could use this > idea :) > > The reason I don't like to use spell checkers is because they're so darn > sequential and I typically have tons of abbreviations or technical terms that I > have to skip past. > > What would be cool would be if the whole document was scanned for problems and > each problem word was highlighted in some color or in some very obvious way > (for monochrome). I'm talkin' all the words are highlighted at once. Then, to > skip from word to word would only require moving my eyes and scrolling the > view. > > When I see a word I want to correct, I simply click on that word and the > suggestion box will locate all the possible alteratives and I can choose one of > them. > > The main difference between what I'm suggesting and existing spell checking is > that all the problems are highlighted at once. > > No Charge :-) > Charles. > -- > Charles Lloyd clloyd@GLeap.jpunix.com > GiantLeap Software > (713) 292-2442 or 363-0887 (Hou) (713) 363-0936 (fax)
Newsgroups: comp.sys.next.programmer From: nico@imani.cam.org (Nicolas Dore) Subject: Re: How to Contact NeXT Message-ID: <1993Jun25.132949.605@imani.cam.org> Sender: nico@imani.cam.org References: <1993Jun24.145846.3158@afs.com> Date: Fri, 25 Jun 1993 13:29:49 GMT In article <1993Jun24.145846.3158@afs.com> greg@afs.com (Gregory H. Anderson) writes: > In article <202ej4$5oi@zip.eecs.umich.edu> hyongsop@saturn.eecs.umich.edu > (Hyong S. Shim) writes: > > Does any of you know if NeXT provides any kind of support for NeXT > > programmers? If they do, how do I contact it? > > They do, but it's very expensive, and they're all real busy right now > getting 3.2 ready, and building PDOs on HP-UX, and porting to HP PAs, and > answering an unexpectedly large volume of calls for the $299 evaluation > copy, and playing Xox. Errh. Sorry to barge in, but could you be more specific? 8^)> Actually, when is NeXT planning on making sales results public? I guess I'm not the only one nervous about the outcome. %^)> > You obviously have net access, so why not ask us, your programming pals in > c.s.n.programmer? We don't bite. Well, Glenn Reid does, but he has the > problem relatively under control... 8^) (Sorry, Glenn!) You sure?!? 8^)> Last time I checked, he still had foam at the mouth! (sorry Mr Reid, couldn't resist) Ciao > -- > Gregory H. Anderson | "If you've got eyes to rhythmatize > Composer-in-Residence | Bring your flat hat and your ax > Anderson Financial Systems | 'Cause tonight at 10 we'll be workin' again" > greg@afs.com (NeXTmail OK) | -- Donald Fagen, "Teahouse on the Tracks" -- Nicolas Dore nico@imani.cam.org - - - - - - - CAREFUL!! POLITICAL COMMENT ZONE!!! - - - - - - - - - - > "If I can't dance, I don't want to be in your revolution!" <
Newsgroups: comp.sys.next.programmer From: whiterock!glen (Glen Biagioni) Subject: Re: Text Object's Delegated methods and next responder Message-ID: <1993Jun25.154159.2129@instep.wimsey.bc.ca> Sender: glen@instep.wimsey.bc.ca Organization: InStep Mobile Communications Inc. References: <20e9q5INN2i3@darkstar.UCSC.EDU> Date: Fri, 25 Jun 1993 15:41:59 GMT In article <20e9q5INN2i3@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > In article <1993Jun24.151347.3214@afs.com> greg@afs.com writes: > >In article <1993Jun23.211214.15905@cs.ucla.edu> esky@marathon.cs.ucla.edu > >(Eskandar Ensafi) writes: > >> What is the best way to: > >> > >> 1. Ask a Text object to return its related TextField's id > > > >I've always been told that [textObject superview] is the "guaranteed" > >method. > > Bzzzzzt! Those nice scrollable TextFields (everyone uses those, right?) use a > ClipView as the field editor's superview. > > So try something like: > > view = [view superview]; > > // Check for scrollable TextField. > if ([view isMemberOf:[ClipView class]]) > { > view = [view superview]; > } > -- > > Art Isbell Cubic Solutions > NeXT Registered Developer #745 NEXTSTEP software development and consulting > NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 > USmail: 95018-9442 Fax: (408)335-2515 My understanding is that [textObject delegate] is the "guaranteed" method. This is only validate for the duration that the text object is installed as the fieldEditor for the TextField (ie. while it is the First Resonder in the window. -- Glen Biagioni Software Developer glen@instep.wimsey.bc.ca (small NeXTmail accepted) 604 872-7116 604 872-7125 fax
Newsgroups: comp.sys.next.programmer From: cowboy@trans.csuohio.edu (Joe Rosenfeld) Subject: Hytelnet question Message-ID: <1993Jun25.162611.11641@news.csuohio.edu> Sender: news@news.csuohio.edu (USENET News System) Organization: Cleveland State University Date: Fri, 25 Jun 1993 16:26:11 GMT Greetings. I need to figure out what library to link to get Hytelnet to compile on NeXTSTEP 3.0 Turbo Slab. It apparently is not linking a library it needs in the Makefile. it complains about an unlinked _cuserid. I cannot figure out which library to link in, so if anyone has the answer please post or email me. Thanks, Joe -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library j.rosenfeld@csuohio.edu
From: jnicolas@image.mit.edu (Julien Nicolas) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.programmer Subject: tcpdump under NS3.0??? Message-ID: <JNICOLAS.93Jun25121947@image.mit.edu> Date: 25 Jun 93 17:19:47 GMT Sender: news@news.media.mit.edu (USENET News System) Organization: Massachusetts Institute of Technology, Cambridge, USA Looking for a version of tcpdump that compiles under NS 3.0 (040). Any pointers appreciated. Julien Nicolas
Newsgroups: comp.sys.next.software,comp.sys.next.hardware,comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Solution for NSI Gateway Installation Message-ID: <1993Jun25.164458.2078@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Fri, 25 Jun 1993 16:44:58 GMT If you have a Gateway with the new motherboard and are having problems with the serial mouse, a Logitech BusMan Mouse will work. I don't know if you still have to keep the keyboard unplugged, but at least you can use the mouse to complete the configuration/installation. -- Robert John Andersen andersen@reality.glv.com 919-460-3285 Voice 919-460-3295 Fax
From: jim@philo.mcgill.ca (James A. McGilvray) Newsgroups: comp.sys.next.programmer Subject: Re: ISO 8859-1 "Latin-1" fonts Message-ID: <1993Jun25.170728.3810@sifon.cc.mcgill.ca> Date: 25 Jun 93 17:07:28 GMT References: <1993Jun24.075740.29812@csus.edu> Sender: news@sifon.cc.mcgill.ca Organization: McGill University In article <1993Jun24.075740.29812@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > In article <16BF6D5B3.13501MBC@msu.edu> 13501mbc@ibm.cl.msu.edu writes: > >If anyone can direct me to PostScript (Type 1) fonts that use the ISO 8859-1 > >"Latin-1" character set, I would appreciate it if you could drop me a line > >via e-mail to 13501mbc@ibm.cl.msu.edu. I require this font for a program I am > >porting that uses it for French accent characters. > > Nearly every font shipped with NEXTSTEP includes all of > ISO 8859-1's accented characters--and then some. > > PostScript fonts use an encoding vector to map character codes to > character descriptions. By default, this is usually > StandardEncoding (or NextStepEncoding, a superset of > StandardEncoding). You can reencode any such font using > ISOLatin1Encoding (supplied!) to produce a "native" ISO 8859-1 > font. Nothing to add, nothing to buy, no mess, no fuss. > > References: > PostScript Language Reference Manual ("Red Book") > PostScript Language Tutorial and Cookbook ("Blue Book") > > Alternatively, you can translate the accented characters from > their ISO 8859-1 codes to the corresponding StandardEncoding/ > NextStepEncoding values and not do anything on the PostScript > side. All Adobe PS fonts (with the exception of their non-standard character sets, such as Dingbats) conform to ISOLatin1. What ISOLatin1 fonts do _not_ seem to have are all the diacriticals on classical Greek. Does anyone know of a Type I font that has these? Jim
Newsgroups: comp.sys.next.software,comp.sys.next.hardware,comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: Re: Solution for NSI Gateway Installation Message-ID: <1993Jun25.181721.2339@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass References: <1993Jun25.164458.2078@glv.uucp> Date: Fri, 25 Jun 1993 18:17:21 GMT Robert Andersen writes > If you have a Gateway with the new motherboard and are having problems with > the serial mouse, a Logitech BusMan Mouse will work. I don't know if you still > have to keep the keyboard unplugged, but at least you can use the mouse to > complete the configuration/installation. > Yes you do have to keep the keyboard unplugged while it is booting, but once it is up, plug it in and it works. -- Robert John Andersen andersen@reality.glv.com 919-460-3285 Voice 919-460-3295 Fax
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Text Object's Delegated methods and next responder Message-ID: <1993Jun25.180717.9769@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <1993Jun25.154947.27391@fnbc.com> Date: Fri, 25 Jun 93 18:07:17 GMT In article <1993Jun25.154947.27391@fnbc.com> drew@fnbc.com (Drew Davidson) writes: > In article <20e9q5INN2i3@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) > writes: > > > > In article <1993Jun24.151347.3214@afs.com> greg@afs.com writes: > > >In article <1993Jun23.211214.15905@cs.ucla.edu> esky@marathon.cs.ucla.edu > > >(Eskandar Ensafi) writes: > > >> What is the best way to: > > >> > > >> 1. Ask a Text object to return its related TextField's id > > > > > >I've always been told that [textObject superview] is the "guaranteed" > > >method. > > > > Bzzzzzt! Those nice scrollable TextFields (everyone uses those, right?) use > a > > ClipView as the field editor's superview. > > > > So try something like: > > > > view = [view superview]; > > > > // Check for scrollable TextField. > > if ([view isMemberOf:[ClipView class]]) > > { > > view = [view superview]; > > } > > -- > > > > Art Isbell Cubic > Solutions > > NeXT Registered Developer #745 NEXTSTEP software development and > consulting > > NeXTmail: isbell@cats.UCSC.EDU Voice: > (408)335-1154 > > USmail: 95018-9442 Fax: > (408)335-2515 > > What I use for these kinds of situations (especially when trying to find the > DBTableView that is being edited) is: > > - ancestorOfClass:aClass > { id aView = [textObj superview] > > while (aView && ![aView isKindOf:aClass]) > aView = [aView superview]; > return(aView); > } > > If you want to find the Control for the currently editing Text object, use > > [[window firstResponder] ancestorOfClass:[Control class]]; > > Perhaps this will help... Sorry to followup to my own post, but the above method should be a category of View and the "[textObj superview]" should be replaced with "[self superview]". Sorry for the confusion. > +--------------------------------+-------------------------------------------+ > | Drew Davidson | "Never ask a programmer if he'll have | > | Software Guy | another cup of coffee because it's | > | First National Bank of Chicago | nobody's damn business how much he's | > | drew@fnbc.com (NeXTmail) | already had!" - me | > +--------------------------------+-------------------------------------------+ -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer From: cleelacj@agedwards.com (Chris Cleeland) Subject: Re: NeXTStep positions available Message-ID: <C96q9B.6Bt@agedwards.com> Date: Fri, 25 Jun 1993 16:10:23 GMT References: <C94uAz.MwG@agedwards.com> Organization: A. G. Edwards & Sons, Inc. Keywords: positions jobs dollars Please accept the apologies of my right-hand ring finger. It got a little overzealous and hit an extra zero in the Compuserve address below. If you have replied to that address and gotten a bounce, then blame me, not David. To repeat, David's Compuserve address is 71730,600. cleelacj@agedwards.com (Chris Cleeland) writes: >NOTE: This is posted for a friend -- his address is in the Reply-to: >header; please insure that mailed replies go to him. > David Graziano Compuserve: 717030,600 ^^^^^^^^^^ this should be 71730,600 > Internet: david@psc-corp.com > >The subject line says it all -- we have NeXT-related work available >and would like to talk to people who are interested in taking >it on. Reply for more details... >David >PSC, Inc. -- ============================================================================== Chris Cleeland | Internet: cleelacj@agedwards.com BOS Dev. Team | USnail: 3878 Connecticut St. Louis 63116 | BellNet: (314) 289-5372
From: besler@gdss.commerce.ubc.ca (Steven Besler) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTSTEP Developer Boxes Date: 25 Jun 1993 20:03:05 GMT Organization: The University of British Columbia Distribution: world Message-ID: <20fllpINN7ff@iskut.ucs.ubc.ca> References: <C924BJ.HKA@mentor.cc.purdue.edu> Robert Davis writes <In article <208jleINNs60@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet) writes: <>In article <1993Jun11.173229.5165@xexos.com> mark@xexos.com writes: <>>Uh? Inside the foot-square cube for NEXTSTEP Developer is a CD-ROM and a <>>complete set of documentation, just the same as the old stuff, but updated for <>>3.1 and includes a manual on ObjectiveC at last. <> <>Hah! Most still have 3.0 written in tons of places. My hide was <>almost somewhat chappen when I noticed that my General Reference <>volumes didn't have the cool new blocks on them, but instead the gold <>plated ones. < < I saw the Objective-C book -- black and white cover with the <new "blocks" NEXTSTEP logo -- at a local bookstore the other day. It <was along-side the gold and black set of manuals. < < <Rob <-- <| Robert Davis davis@sonata.cc.purdue.edu <| "Look up, Hannah." NeXT Mail accepted <-- So what's the difference? I am thinking of buying some 3.0 docs. If I upgrade to 3.1 motorola, do I get the cool cube shaped box with the documents in it? So should I not bother buying the 3.0 docs? What docs are included in the box? Are there any differences between the docs with the "new logo" as compared to those with the golden covers? Someone, please help, -- Steven K. Besler <besler@gdss.commerce.ubc.ca> (NeXTmail) UBC 3.5th yr CS Coop Student & NeXTSTEP Application Developer "Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful . . . that's what matters to me." Steven P. Jobs CEO of NeXT, Inc.
Newsgroups: comp.sys.next.programmer From: "Yufeng Tsui" <tsui@cs.indiana.edu> Subject: Getting the spool file for a view Message-ID: <1993Jun25.153542.3214@news.cs.indiana.edu> Organization: Indiana University Computer Science, Bloomington Distribution: usa Date: Fri, 25 Jun 1993 15:35:34 -0500 Hi, Is there anyway to save a view to a file via something like [aView saveItToFile:"/tmp/file.ps"]; Something similar to save a file from the printPanel. I need the postscript file with pagination, not the eps (like saved via copyPSCode:to:). Thanks. --yufeng
Newsgroups: comp.sys.next.programmer From: mleggott@cwaves.stfx.ca (Mark Leggott) Subject: Objective-C/NeXT Programming Training Message-ID: <1993Jun25.204553.22119@nstn.ns.ca> Keywords: Objective C Training Sender: usenet@nstn.ns.ca (NNTP Entity) Organization: NSTN Network Operations Centre, Nova Scotia, Canada Date: Fri, 25 Jun 1993 20:45:53 GMT I am submitting a funding request for training with programming in Objective-C, or specifically with the NeXTStep programming environment. Ideally the course should not be longer that one week, and should be geared toward those with no previous programming experience in C or Objective C. I am aware of the NeXT Camp thing, but would like to know what alternatives are out there. Any info would be appreciated. -- ================================================================ Mark Leggott, NeXT Administrator / Database&Network Coordinator Angus L. MacDonald Library, St. Francis Xavier University Antigonish, Nova Scotia, E2G 1C0 Canada Voice 902-867-2242 FAX 902-867-2334 ================================================================
From: low00001@bullnext.mc.duke.edu (Richard Low) Newsgroups: comp.sys.next.programmer Subject: Speed key searches in NXBrowser Message-ID: <16887@news.duke.edu> Date: 25 Jun 93 20:41:38 GMT Sender: news@news.duke.edu Has anyone written or seen an example of trapping keyboard entry in a TextField and performing lookups in an NXBrowser while a user is typing? I'm particularly interested in the refined search capability similar to what you see in the NeXTmail Mailboxes panel when you type in a mailbox name in the Name field. Any help is appreciated. ================================================================= Richard Low | low00001@bullnext.mc.duke.edu Duke University Medical Center | low00001@mc.duke.edu Box 3900, Durham, NC 27710 | Voice: 919-286-6362 U.S.A. | Fax: 919-286-6369 =================================================================
Newsgroups: comp.sys.next.software,comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer From: andersen@reality.glv.com (Robert Andersen) Subject: NSI Gateway Info Final Message-ID: <1993Jun25.212946.2923@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Fri, 25 Jun 1993 21:29:46 GMT Here is the Gateway information everyone was asking for. The machine: 486DX266V Adaptec SCSI Controller FAX/Modem 1.2G Seagate HD 32M Ram ATI Ultra Pro/Local Bus 2M NEC 5FG 17" Monitor Logitech Bus Mouse (See below) All of the above was Gateway supplied, except for the Logitech mouse. That above system cost me $5555, the Logitech mouse cost $84.95 BIOS: Phoenix 80486 Rom BIOS Plus ver 0.10 GJX30-05E Paul Sears said to get it to work that you had to disconnect the keyboard and only connect it when you were prompted. That worked fine, thanks for the info Paul. But I also had an additional problem. When it came to the point of configuring your machine with a NeXTSTEP panel I did not have any keyboard or mouse control, the mouse was a Microsoft serial mouse. I changed this that and the other thing and nothing seemed to affect it. I finally decided to try a Logitech Bus Mouse and guess what, it worked. You still have to do the thing with the keyboard but it still works. Also Paul I did not have to do anything with the turbo button. Now when I turn my machine I still have to keep the keyboard unplugged until the login panel appears then plug it in and everything works fine. One other note about installation, when I started installing the NeXT packages I had a problem with documentation. The problem was that I was not root and it tried to create a directory and failed. I would only install the required package, then when you have NeXTSTEP running install the other packages. When you install the developer kits, you need to install the developer tools before the developer libraries because the libraries install uses cc. I made BackSpace on my Intel and Motoral platforms, and Intel finished about 2 seconds faster with lower system and user times, sorry I didn't keep the specs. I also ran BackSpace with Space in background and Molecule with Nitroglycerine motor on. On White, it slowed down both Backspace and Molecule output consistently. On Black, Molecule would slow down and speed up, while space would stop for minute slice of time every so often. Every time space paused molecule would speed up. All in all I am very happy with my purchase, I can't wait to get a Pentium chip to plug into it. For what I have seen so far, White is a little bit faster with performance and slighly slower with video, but my Black is only monochrome so I can live with that. If you have any questions about my machine and installation send e-mail and I will try to help. If a lot of people respond it will be a generic message, I don't want to have to create one for everyone. Once again Paul thanks for your previous message that helped alot. -- Robert John Andersen andersen@reality.glv.com 919-460-3285 Voice 919-460-3295 Fax
Message-ID: <*o$@byu.edu> Date: Fri, 25 Jun 93 16:05:10 MDT From: pmarc@wyoming.et.byu.edu (Paul M. Cardon) Newsgroups: comp.sys.next.programmer Distribution: world References: <C924BJ.HKA@mentor.cc.purdue.edu> <20fllpINN7ff@iskut.ucs.ubc.ca> Organization: Brigham Young University, Provo UT USA Subject: Re: NeXTSTEP Developer Boxes In article <20fllpINN7ff@iskut.ucs.ubc.ca>, besler@gdss.commerce.ubc.ca (Steven Besler) writes: >Robert Davis writes ><In article <208jleINNs60@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet) >writes: ><>In article <1993Jun11.173229.5165@xexos.com> mark@xexos.com writes: ><>>Uh? Inside the foot-square cube for NEXTSTEP Developer is a CD-ROM and a ><>>complete set of documentation, just the same as the old stuff, but updated >for ><>>3.1 and includes a manual on ObjectiveC at last. ><> ><>Hah! Most still have 3.0 written in tons of places. My hide was ><>almost somewhat chappen when I noticed that my General Reference ><>volumes didn't have the cool new blocks on them, but instead the gold ><>plated ones. >< >< I saw the Objective-C book -- black and white cover with the ><new "blocks" NEXTSTEP logo -- at a local bookstore the other day. It ><was along-side the gold and black set of manuals. >< > So what's the difference? I am thinking of buying some 3.0 docs. >If I upgrade to 3.1 motorola, do I get the cool cube shaped box with >the documents in it? So should I not bother buying the 3.0 docs? >What docs are included in the box? > > Are there any differences between the docs with the "new logo" >as compared to those with the golden covers? > > Someone, please help, > I had already purchased the black and gold docs back in October or November when they were first released. Then I got the developer package at NeXTWORLD EXPO which had the docs with the new logo. These books are identical in both sets (except for cover style): General Reference 1 and 2 Development Tools and Techniques User Interface guidelines Programming Interface Summary (I don't know the correct title on this one. I'm going by memory.) This book is only available with the new logo and was included in the developer package: Object Oriented Programming and Objective-C (This is a great book BTW). These books were available with gold and black covers but were not with the new boxed set: Operating System Software System Administration However, I am sure they are still available but I don't know which cover style they now have. Yes, these are for 3.0, but most of it applies to 3.0 also. For 3.1 specifics, the release notes (mostly on-line) contain whatever you may need. If I happen to have left out anything or made some sort of error, I would appreciate a follow-up with a correction for those who need this info. Paul Cardon ** No question is too silly to ask, but some are just too silly to answer. **
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Text Object's Delegated methods and next responder Message-ID: <1993Jun25.154947.27391@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <20e9q5INN2i3@darkstar.UCSC.EDU> Date: Fri, 25 Jun 93 15:49:47 GMT In article <20e9q5INN2i3@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > In article <1993Jun24.151347.3214@afs.com> greg@afs.com writes: > >In article <1993Jun23.211214.15905@cs.ucla.edu> esky@marathon.cs.ucla.edu > >(Eskandar Ensafi) writes: > >> What is the best way to: > >> > >> 1. Ask a Text object to return its related TextField's id > > > >I've always been told that [textObject superview] is the "guaranteed" > >method. > > Bzzzzzt! Those nice scrollable TextFields (everyone uses those, right?) use a > ClipView as the field editor's superview. > > So try something like: > > view = [view superview]; > > // Check for scrollable TextField. > if ([view isMemberOf:[ClipView class]]) > { > view = [view superview]; > } > -- > > Art Isbell Cubic Solutions > NeXT Registered Developer #745 NEXTSTEP software development and consulting > NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 > USmail: 95018-9442 Fax: (408)335-2515 What I use for these kinds of situations (especially when trying to find the DBTableView that is being edited) is: - ancestorOfClass:aClass { id aView = [textObj superview] while (aView && ![aView isKindOf:aClass]) aView = [aView superview]; return(aView); } If you want to find the Control for the currently editing Text object, use [[window firstResponder] ancestorOfClass:[Control class]]; Perhaps this will help... -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Where is the Docs for writing PSWRAPS?? Message-ID: <1993Jun25.202905.729@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development Date: Fri, 25 Jun 1993 20:29:05 GMT I can't find the docs for writing PSWRAPS in 3.1! Where do they reside? I'm trying to pass a boolean to the wrap, but it doesn't want it. -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: Text Object's Delegated methods and next responder Message-ID: <C97941.5xp@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Stultus Enterprises References: <20e9q5INN2i3@darkstar.UCSC.EDU> Date: Fri, 25 Jun 1993 22:57:35 GMT isbell@cats.ucsc.edu (Art Isbell) writes: >greg@afs.com writes: >>(Eskandar Ensafi) writes: >>> What is the best way to: >>> >>> 1. Ask a Text object to return its related TextField's id >> >>I've always been told that [textObject superview] is the "guaranteed" >>method. > >Bzzzzzt! Those nice scrollable TextFields (everyone uses those, right?) use a >ClipView as the field editor's superview. > >So try something like: > > view = [view superview]; > > // Check for scrollable TextField. > if ([view isMemberOf:[ClipView class]]) > { > view = [view superview]; > } What happened to [textView delegate]. When a window's field editor (the Text object that is used for editing TextFields) is editing a particular field, that field is the Text object's delegate. Note that the TextField also has a textDelegate instance variable and it passes on delegate messages to that object as well. So when you end up in a -textDidEnd: method with a sender that's a Text object, and you know its editing some field (ie it's not a Text object within a ScrollView), you can find the control it is editing for by asking for its delegate. It might be a Form, a TextField, or a Matrix. The same Text object is used to edit all the TextFieldCells and FormCells in a window normally, so the delegate keeps changing around whenever the user starts editing a new field. ____________________________________________________________ Mike Ferris God, to me... mike@lorax.com is a verb, not a noun, Rubicon Software proper or improper. (510) 652-2039 -Bucky Fuller
Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc Subject: Thanks for your input!! Message-ID: <20f5d1$17k@parsifal.umkc.edu> From: azahid@sparc1.cstp.umkc.edu (Zahid Abbasi) Date: 25 Jun 1993 15:25:21 GMT Distribution: world Organization: University of Missouri Kansas City Originator: azahid@sparc1 I will like to thank all the folks for giving me info on NeXT and its development capabilities(Info on NeXT, 06/15/93). Regards, Zahid Abbasi.
From: da0g+@andrew.cmu.edu (David Apfelbaum) Newsgroups: comp.sys.next.programmer Subject: Re: Text Object's Delegated methods and next responder Message-ID: <sg_unqm00WA70IJ_x=@andrew.cmu.edu> Date: 26 Jun 93 01:57:10 GMT Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Glen Biagioni is correct... Excerpts from netnews.comp.sys.next.programmer: 23-Jun-93 Text Object's Delegated met.. by Eskandar Ensafi@marathon > What is the best way to: > > 1. Ask a Text object to return its related TextField's id > 2. Ask a TextField to return its Text object's id > > Thanks in advance! 1) From NeXTAnswers appkit.507, it's [aTextObj delegate]. If you are actually using several TextFields in a Matrix/Form, you will need to do something like: [[aTextObj delegate] selectedCell]. 2) TextField inherits from Control. Control implements the method: - currentEditor. TextField to TextFieldCell -- cell (inherited from Control) TextFieldCell to TextField -- controlView (inherited from ActionCell) -David. PS> To discover the Text object inside a CharFilter -- try something like: [[NXApp keyWindow] firstResponder] and verify it with isKindOf:[Text class].
Newsgroups: comp.sys.next.programmer From: CCGREG@mizzou1.missouri.edu (Greg Johnson) Subject: nihcl on NeXT? Message-ID: <16BF8130B0.CCGREG@mizzou1.missouri.edu> Sender: news@mont.cs.missouri.edu Organization: University of Missouri Date: Fri, 25 Jun 93 21:40:00 CDT Has anyone tried to install nihcl (C++ Class Libraries) on a NeXT? : Greg Johnson, Senior Scientific Programmer/Analyst -- Campus Computing : 233 Heinkel Building, University of Missouri, Columbia, MO 65203 : ccgreg@mizzou1.missouri.edu / ccgreg@monad.missouri.edu / 314-882-2000
From: aking@bbn.com (Allen King) Newsgroups: comp.sys.next.programmer Subject: Colored Scroller backgrounds for positioning in Edit Date: 26 Jun 1993 15:57:37 GMT Organization: Bolt Beranek and Newman Inc., Cambridge MA Distribution: world Message-ID: <m2osfhINNnqr@news.bbn.com> I've been thinking of a new positioning capability for Edit: 1) Do you think the feature (described below) is worthwile? 2) What do you think the chances of getting Next to incorporate it? Or allowing me to modify the sources under non-disclosure? 3) How you think the plan (outlined below) to "hack it in" could be modified to make it more do-able? Allen The Capability: One problem with any editor is getting to the correct place in the file quickly. Edit's Scrollers work admirably, but one relies on memory to figure out how far down the buffer the desired section is. I'm thinking of a neat hack in which the background of the scroller would be colored to show where the various areas of my program were located. I'd probably delineate the following areas, which most of my subclasses have: 1) object creation/distruction - blue 2) object set/querry - green 3) object selection (by the mouse) - orange 4) object dragging - red 5) object rendering - grey 6) object inspector and UI methods - ... 7) object archiveing and printing - ... It'd be real _FAAAST_ to be able to click on the red portion of the scroller and know I'd be positioned right in the dragging routines! Since everybody has different areas, the specification of which areas are what color would be left up to the user. The Proper Solution: With access to the source of Edit, one could make this real user-friendly. Areas could be colored using drag-n-drop protocols. The bacground color could be even shown in the text (or the first column of the text, if that were too guerrish). The Hack Solution: (And this is what inspired this post) shouldn't it be possible to modify Edit to add this capability, by doing the following: 1) Add specialized comments in the text (such as "//SETCOLOR(R,G,B)"), which would declare everything till the next one as having the specified RGB color. 2) Use the categories or poseAs mechanisms to supply the scroller with a new background (of our construction). I'd try to override the scrollers drawSelf:: method, but it seems to me that I remember reading somewhere that you could specify the image that went in the background of the scroller. However I can't find that now. 3) Override some other method (TBD) to get at the file, or even better the in-memory edit buffer. Use this info to search for the specialized comments, and generate the scroll background. 4) Use a binary link edit facility to splice in these new modules. I haven't hacked binaries in the Mach environment -- would a utility like ld would modify the Edit, which is a Mach-O executable. What other methods of patching binaries are available?
From: Ralph.Zazula@f236.n104.z1.FIDONET.ORG (Ralph Zazula) Newsgroups: comp.sys.next.programmer Subject: Re: INTEL NS SOFTWARE (WHERE?) Message-ID: <4015.2C2CBEB3@paranet.FIDONET.ORG> Date: 25 Jun 93 20:55:00 GMT Sender: ufgate@paranet.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:104/236 - MacCircles, Genesee CO -- Ralph Zazula - via ParaNet node 1:104/422 UUCP: !scicom!paranet!User_Name INTERNET: Ralph.Zazula@f236.n104.z1.FIDONET.ORG
Newsgroups: comp.sys.next.programmer From: vyt@cypher.cmhnet.org (Victoria Y. Tong) Subject: Re: Command Line Faxing Message-ID: <1993Jun25.205142.8151@cypher.cmhnet.org> Sender: vyt@cypher.cmhnet.org Organization: BenaTong, inc. References: <204cv4$6lj@mozz.unh.edu> Date: Fri, 25 Jun 1993 20:51:42 GMT In article <204cv4$6lj@mozz.unh.edu> Thomas.J.Baker@UNH.edu (Thomas J. Baker) writes: > > Has anyone written anything that can fax a text file from the command line? I > have a shell script that someone posted a while back but it doesn't seem to > work correctly under 3.0. > > Any help would be appreciated. > > tjb > > --- > ========================================================================== > | Thomas Baker - UNH Postmaster | Voice: (603) 862-4490 | > | Networking & Unix Systems Manager | Fax: (603) 862-1085 | > | Computing & Information Services ====================================| > | University of New Hampshire | Internet: Thomas_Baker@UNH.edu | > | M113 Kingsbury Hall | NeXTmail Encouraged! | > | Durham, NH 03824 | PGP Key available on key servers | > ========================================================================== Yes!!! BenaTong is releasing CommandLineFax(tm) which does just as its name implies. E-mail me at vyt@benatong.com or call (614) 276-7859 for more information. -- "Today I ........No that wasn't me." - Steven Wright Vicky Tong (vyt@cypher.cmhnet.org)
From: annard@theborg.stack.urc.tue.nl (Annard Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: Colored Scroller backgrounds for positioning in Edit Date: 27 Jun 1993 08:36:30 GMT Organization: the Borg Distribution: world Message-ID: <20jm6eINN7a@theborg.stack.urc.tue.nl> References: <m2osfhINNnqr@news.bbn.com> In article <m2osfhINNnqr@news.bbn.com> aking@bbn.com (Allen King) writes: > I've been thinking of a new positioning capability for Edit: > One problem with any editor is getting to the correct place in the file > quickly. Edit's Scrollers work admirably, but one relies on memory to figure > out how far down the buffer the desired section is. I'm thinking of a neat hack > in which the background of the scroller would be colored to show where the > various areas of my program were located. The really proper solution: Having a inspector in which there is a ScrollView showing you all methods/instances/functions etc in that particular file. Once you dubbl'click such an item one would immediately get to that position in the file. Perhaps there are some people here who have programmed in THINK Pascal on the Mac remember the feature that a menu containg all procedure declarations popped down once you command-clicked on the title-bar of an edit window? That was a really neat feature. One big disadvantage of using colours is that I, who happens to like to program only on black and white screens if possible, the proud owner of a MegaPixel display doesn't see those colours. -- Annard Brouwer annard@stack.urc.tue.nl (NeXTmail appreciated) People? You can forget it.
Newsgroups: comp.sys.next.programmer From: balu@jensen.cc.brandeis.edu (t balasubramanian) Subject: How to send remote commands to the terminal ? Message-ID: <1993Jun27.153232.8987@news.cs.brandeis.edu> Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University Date: Sun, 27 Jun 1993 15:32:32 GMT Hi, I am not very familiar with programming. I am interested in sending commands to the terminal and have it execute a program and send the output to a window in my front end of the program. I was able to launch the terminal remotly by clicking some button on the front end of my program- I basically followed the RemoteMailCompose program which I had FTPed. Thanks for any suggestions. T. Balu
Newsgroups: comp.sys.next.programmer From: clarance@uaneuro.uah.ualberta.ca (Clarance Howatt) Subject: PopUpList - Programatically selecting cells ???????? Message-ID: <1993Jun27.170348.5978@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Organization: University Of Alberta, Edmonton Canada Date: Sun, 27 Jun 1993 17:03:48 GMT I am writing a little program that gets info from a 'C' structure and I would like to display the results using a popuplist. Is there a way to programatically set the selected cell in the list Thanks for any and all suggestions Clarance Howatt
From: karthy@dannug.dk (Karsten Thygesen) Newsgroups: comp.sys.next.programmer Subject: Multiple NXBundles and mailBundle Date: 27 Jun 1993 18:44:49 GMT Organization: Dannug - Danish NeXT Users Group Distribution: world Message-ID: <KARTHY.93Jun27204450@dannug.dannug.dk> Hi I'm writing a little app where the main application is loading bundles for infopanel (and code) and preferences panel and code. It works fine when I invoke bundle=[NXBundle mainBundle]; to get the mail application bundle and the locates the new info/pref bundle which I load. The problem arise when I issue the call to get the next module - this time [NXBundle mainBundle] returns a bundle initialized on the last loaded bundle instead of the mail application bundle. I tried to solve the problem by using [NXBundle bundleForClass:[self class]] where self is one of the mail application objects, but it still gives me a bundle for the last loaded module. It does not matter which bundle I load first - it always returns the bundle of the last loaded directory instead of the mail bundle. How can I get the mailbundle?? Do I has to install it explicit on the application directory?? Please say no... Did I misunderstand the functionality, or is it a bug? It should be noticed, that I'm doing this using NS 3.1PR1 (black) and I have not tried on other versions (yet :-) Here is a cut of code from my main controller object which is not loaded dynamic. = cut = @implementation Controller - showInfo:sender { if(!infoController) { char buf[MAXPATHLEN + 1]; NXBundle *bundle; bundle = [NXBundle mainBundle]; if ( [bundle getPath:buf forResource:"Info" ofType:"bundle"] ) { bundle = [bundle initForDirectory:buf]; infoController=[[[bundle classNamed:"InfoController"] alloc] init]; } } [infoController showInfoPanel:self]; return self; } - showPreferences:sender { if(!preferencesController) { char buf[MAXPATHLEN + 1]; NXBundle *bundle; bundle = [NXBundle bundleForClass:[self class]]; if ( [bundle getPath:buf forResource:"Preferences" ofType:"bundle"] ) { bundle = [bundle initForDirectory:buf]; preferencesController=[[[bundle classNamed:"PreferencesController"] alloc] init]; } } [preferencesController showPreferences:self]; return self; } Regards, Karsten.
Newsgroups: comp.sys.next.programmer Subject: Re: PopUpList - Programatically selecting cells ???????? Message-ID: <C9Arx9.5DK@news.otago.ac.nz> From: gideon@otago.ac.nz (Gideon King) Date: Sun, 27 Jun 1993 20:36:44 GMT Sender: usenet@news.otago.ac.nz (News stuff) References: <1993Jun27.170348.5978@kakwa.ucs.ualberta.ca> Organization: University of Otago In article <1993Jun27.170348.5978@kakwa.ucs.ualberta.ca> writes: ! ! I am writing a little program that gets info from a 'C' structure and I ! would like to display the results using a popuplist. Is there a way to ! programatically set the selected cell in the list ! ! Thanks for any and all suggestions ! Clarance Howatt Ok, suppose you have a popup button connected to id pButton, and you have a list of cells in your popup, each with a unique tag value assigned to them. Say you work out which one you want to select as a variable called tagVal. First, you need to select that item in the popup list by using the following method: [[[pButton target] itemList] selectCellWithTag:tagVal]; Now you need to set the button which controls the popup list so that it reflects the new selection: [pButton setTitle:[[[[brand target] itemList] selectedCell] title]]; Just one word of warning about when you are setting things up in IB - make sure you don't save and exit leaving the popup popped up, as the first time you use it after programmatically setting it, it will have two 'knobs' and look as if two items are selected. Just make sure you click somewhere else before you save it. I hope this helps. -- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Department of Computer Science | e-mail gideon@otago.ac.nz P.O. Box 56 | Dunedin | NeXT mail ok New Zealand |
From: karthy@dannug.dk (Karsten Thygesen) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <KARTHY.93Jun27204450@dannug.dannug.dk> Control: cancel <KARTHY.93Jun27204450@dannug.dannug.dk> Date: 27 Jun 1993 23:50:02 GMT Organization: Dannug - Danish NeXT Users Group Distribution: world Message-ID: <KARTHY.93Jun28015002@dannug.dannug.dk>
Newsgroups: comp.sys.next.programmer From: uunet!sci34hub!tybrin4!holli!me (Trey McClendon) Subject: Re: Colored Scroller backgrounds for positioning in Edit Message-ID: <1993Jun27.120115.11526@holli.uucp> Sender: me@holli.uucp (My Account) Organization: TYBRIN Corporation -- Huntsville, AL References: <m2osfhINNnqr@news.bbn.com> Date: Sun, 27 Jun 1993 12:01:15 GMT In article <m2osfhINNnqr@news.bbn.com> aking@bbn.com (Allen King) writes: > I've been thinking of a new positioning capability for Edit: > [munch] > Here's what I'd like to see: Control-click on the slider button to pop-up a menu containing the method names in the file. One could then select a method and Edit would position itself to that method. This is similar to the way Symantec's Think Pascal and C languages do it, except that the window title bar is used instead of the scroller button Trey -- Trey McClendon, Madison, AL
Newsgroups: comp.sys.next.programmer From: uunet!lkba!lkb (Larry Blische) Subject: Re: Colored Scroller backgrounds for positioning in Edit Message-ID: <1993Jun28.011648.7520@lkba.uucp> Sender: lkb@lkba.uucp (Larry Blische) Organization: LKB Associates, Inc. References: <20jm6eINN7a@theborg.stack.urc.tue.nl> Date: Mon, 28 Jun 1993 01:16:48 GMT In article <20jm6eINN7a@theborg.stack.urc.tue.nl> annard@theborg.stack.urc.tue.nl (Annard Brouwer) writes: > In article <m2osfhINNnqr@news.bbn.com> aking@bbn.com (Allen King) writes: > > I've been thinking of a new positioning capability for Edit: > > One problem with any editor is getting to the correct place in the file > > quickly. Edit's Scrollers work admirably, but one relies on memory to figure > > out how far down the buffer the desired section is. I'm thinking of a neat > hack > > in which the background of the scroller would be colored to show where the > > various areas of my program were located. > > The really proper solution: > Having a inspector in which there is a ScrollView showing you all > methods/instances/functions etc in that particular file. Once you dubbl'click > such an item one would immediately get to that position in the file. Well for programming... That pretty much describes the Tools->Functions inspector in SuperDebugger, the gdb front end. Actually there is a scrolled list of Source Files on the left and a scrolled list of Functions (methods) on the right. Clicking the source file item switches the contents of the Functions column to the functions in that file and brings the text of that file to the text window for editing. Clicking a method in the Functions list positions to that location in the file. Since it's a debugger, breakpoints can be set by double clicking the function names. That coupled with indexing all of the source modules with Digital Librarian and using cmd-F (I've modified my 3.6 nib to get this feature back) to bring up a list of all occurances of the selected variable or function name makes the guys who use Windows tools drop their jaws. 8^) -- Larry Blische lkba!lkb@uunet.UU.NET LKB Associates, Inc. NeXTmail Welcome! 3118 Dunglow Road 410 285 2262 Dundalk, Maryland 21222-5304 USA
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Re: PopUpList - Programatically selecting cells ???????? Message-ID: <1993Jun28.024715.2348@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development References: <C9Arx9.5DK@news.otago.ac.nz> Date: Mon, 28 Jun 1993 02:47:15 GMT > In article <1993Jun27.170348.5978@kakwa.ucs.ualberta.ca> writes: > ! > ! I am writing a little program that gets info from a 'C' structure and I > ! would like to display the results using a popuplist. Is there a way to > ! programatically set the selected cell in the list > ! > ! Thanks for any and all suggestions > ! Clarance Howatt Programmatically, this is how I did it today.. PopUpList *listTemp=[[PopUpList alloc] init]; [listTemp setAction:@selector(changeZoom:)]; [listTemp setTarget:self]; [[listTemp addItem:"50%"] setTag:50]; [[listTemp addItem:"75%"] setTag:75]; [[listTemp addItem:"100%"] setTag:100]; [[listTemp addItem:"200%"] setTag:200]; [[listTemp addItem:"300%"] setTag:300]; [[listTemp addItem:"400%"] setTag:400]; zoomButton=NXCreatePopUpListButton(listTemp); --> [zoomButton setTitle:"100%"]; This is the way it is explained in the 3.0 General Reference Volume 1. Look under PopUpList. -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Secret Decoder Ring for 3.1/Lightning4H (m68k) Defaults Message-ID: <1993Jun28.043725.25266@csus.edu> Sender: news@csus.edu Organization: San Francisco State University Date: Mon, 28 Jun 1993 04:37:25 GMT Source this from gdb to trace calls to NXRegisterDefaults() and NXGetDefaultValue() in applications linked against libsys_s. [I don't have an Intel version; don't bother asking.] -=EPS=- ------- # 3.1/Lightning4H *ONLY* break *0x5082958 commands silent printf "NXRegisterDefaults(\"%s\", %p)\n", $d3, $d2 cont end break *0x50829f6 commands silent printf " %s: ", *$a3 output {char *}(4+$a3) echo \n cont end break *0x500b620 commands silent printf "NXGetDefaultValue(\"%s\", \"%s\") => ", $d4, $d3 output (char *)$d2 echo \ [registering]\n cont end break *0x500b590 commands silent printf "NXGetDefaultValue(\"%s\", \"%s\") => ", $d4, $d3 output (char *)$d0 echo \n cont end
From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Sybase error handling using DBKit Date: 28 Jun 1993 05:32:54 GMT Organization: Cubic Solutions - NeXT software development and consulting Distribution: world Message-ID: <20lvq6INN9bg@darkstar.UCSC.EDU> I've had no luck designing my DBKit GUI to recover gracefully from Sybase errors. I need help. When I try to enter a new record into a table with a unique index on the key and the new record's key is a duplicate of an existing record, Sybase prints a "Attempt to insert duplicate key row in object 'foo' with unique index 'fooKey'" message in an Alert panel as it should. Upon closing the Alert panel, gdb reports the wonderfully informative "*** HashTable: count differs after rehashing; probably indicates a broken invariant: there are x and y such as isEqual(x, y) is TRUE but hash(x) != hash (y)" message just before Sybase sends a second message to an Alert panel: "Command has been aborted." I have implemented fetchGroup:willFailForReason: in the FetchGroup's delegate. If I return DB_Continue for the DB_TransactionError error code, my app hangs in the select() system call. If I return DB_Abort instead of DB_Continue, my app doesn't hang until I try the next fetch at which time it hangs in select() as well. Not exactly the graceful exit from a Sybase error I had in mind :-) If I create my unique index with the "ignore_duplicate_key" option, the new record isn't entered into the database and Sybase prints a message, but I can't get DBKit to realize that an error has occurred, probably because Sybase really hasn't reported an error, but has merely ignored the attempt to insert a record with a duplicate key. So neither approach has worked. I'm really concerned about the hashtable error because I'm afraid that it's occurring within the Sybase adaptor which might indicate an adaptor bug. If anyone can shed any light on any of this, I'd be most appreciative. -- Art Isbell Cubic Solutions NeXT Registered Developer #745 NEXTSTEP software development and consulting NeXTmail: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
From: scheurer@lithnext.epfl.ch (Marco Scheurer) Newsgroups: comp.sys.next.programmer Subject: Re: Summary: Is underscore "_" something I shouldn't use? Date: 28 Jun 1993 10:18:13 GMT Organization: Ecole Polytechnique Federale de Lausanne Message-ID: <20mgh5$3gg@disuns2.epfl.ch> References: <20a6etINNcu2@master.cs.rose-hulman.edu> In article <20a6etINNcu2@master.cs.rose-hulman.edu> fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) writes: > [Summary of methods to suppress visibility of methods and ivars in IB deleted] > > d) Use a #define. > #define privateId > @interface Subclass:Superclass > { > privateId ivar1; > privateId ivar2; > id ivar3; > } > This is nice. The private nature of the variables is explicit and IB will not > parse them either. > [...] My preference also goes to this, but I don't like it that much: "private" is some kind of a misnomer. It doesn't fit well with the @private/@protected/@public semantics, for instance. Of course finding a better name is difficult. (InvisibleInIBId ?) What about #define outlet id, and the ability to have IB parse only such outlets? That should be easy, and closer to what is really meant. A preference setting in IB could offer the parse ids, outlets, or both choice. --- Marco Scheurer scheurer@lithnext.epfl.ch (NeXTMail) Laboratoire d'Informatique Theorique Ecole Polytechnique Federale de Lausanne IN-Ecublens CH-1015 Lausanne (Switzerland) (+41) 21 693-2589
Newsgroups: comp.sys.next.programmer From: mueller@vera.imsd.uni-mainz.de (Robert Mueller) Subject: Storage class Message-ID: <J5UEBWVE@minnie.zdv.uni-mainz.de> Sender: usenet@minnie.zdv.uni-mainz.de (USENET News System) Organization: Johannes Gutenberg-Universitaet Mainz Date: Mon, 28 Jun 1993 11:42:05 GMT Hi, in my code, I initialized a Storage-Object by myStorage = [[Storage alloc] initCount: 0 elementSize: 255 description: NULL]; to storage strings in it. I set the description-string to NULL, because there is no need to archive the Storage-object (see the docs of the Storage-class). Then I wrote some strings (strlen(..) < 255) to the Storage-object, and the NeXT sometimes gave me a segmentation-fault, sometimes not, and I could not find an explanation for it. I then set the description-string to "*", and no more segmentation-faults occured. But I am still wondering, if ...description: NULL can be a mistake (if you do not want to archive the Storage-object). Has anybody made some similar experiences? Your e-mails will be welcome Robert Mueller University of Mainz Germany
Newsgroups: comp.sys.next.programmer From: mueller@vera.imsd.uni-mainz.de (Robert Mueller) Subject: Scrolling event Message-ID: <T5UEBQ2E@minnie.zdv.uni-mainz.de> Keywords: Scrollview, Scroller -class Sender: usenet@minnie.zdv.uni-mainz.de (USENET News System) Organization: Johannes Gutenberg-Universitaet Mainz Date: Mon, 28 Jun 1993 11:52:39 GMT Hi, I got the following problem: In my application (NeXTStep 2.1), I have a Manager-object, which is managing a Scrollview-Object. Is there a way for this manager-object (subclass of object) to recognize that the user just has scrolled the docView in the scrollview-object? When the user scrolls, the Scroller of the Scrollview is sending its action-message to the Scrollview (which is it's target) and the scrollView then actualizes the docView; other objects seemed not be informed about the scrolling event ... My manager-object, however, wants to be informed, when scrolling occured ... Any ideas? Your e-mails will be welcome Robert Mueller University of Mainz Germany
Newsgroups: comp.sys.next.programmer From: gbol@nos40nm.shell.com (Gregory B. Lampshire) Subject: Re: Colored Scroller backgrounds for positioning in Edit Message-ID: <GBOL.93Jun28083730@nos40nm.shell.com> Sender: usenet@shellgate.shell.com (USENET News System) Organization: Shell Offshore, Inc Date: Mon, 28 Jun 1993 13:37:30 GMT Are we really looking for a source editor browser like Smalltalk's? gregory gbol@shell.com gbol@rglnext.geol.vt.edu
From: marcos@kaleida.com (Paul Marcos) Newsgroups: comp.sys.next.programmer Subject: Re: Colored Scroller backgrounds for positioning in Edit Date: 28 Jun 1993 16:00:30 GMT Organization: Kaleida Labs, Inc. Distribution: world Message-ID: <20n4iuINNg09@golden.kaleida.com> References: <1993Jun28.011648.7520@lkba.uucp> In article <1993Jun28.011648.7520@lkba.uucp> uunet!lkba!lkb (Larry Blische) writes: > > > I've been thinking of a new positioning capability for Edit: The low tech approach: Use the rtf-compiler (is it still on the net?) and keep all your sources in rtf format. Then create Markers in your source. Then either at the top of your file, or in another file that you keep open all the time, create a link button to point at your marker. Then the functions you want are just a click away! It's low tech, but it works. Paul ................................................................... Paul Marcos NeXTMail encouraged! Kaleida Labs, Inc. marcos@kaleida.com
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: kthompso@acs.ucalgary.ca (Kelly Thompson) Subject: Re: Spell Checking Idea Message-ID: <Jun28.164922.35882@acs.ucalgary.ca> Date: Mon, 28 Jun 1993 16:49:22 GMT References: <1993Jun18.081806.8213@gleap.jpunix.com> <1993Jun23.140433.1623@hot.com> Organization: The University of Calgary, Alberta In article <1993Jun23.140433.1623@hot.com> Robert_La_Ferla@hot.com writes: >Allow me to refine your idea. There should be a menu item that >allows a user to find all potentially misspelled words in a document. >When this menu item is selected, the document is scanned for >misspellings. Any misspelled words are collected, sorted, reduced >and listed in a panel containing a scrolling selection list. When >the user selects a word from the list, they have the option of >correcting all instances or sequentially examining/correcting each >instance. Actually, PasteUp has was you are describing. It finds all the words and then lets you go through them. Just thought I'd mention it. -- Kelly Thompson | A billion here, a couple billion there-- kthompso@acs.ucalgary.ca | first thing you know it adds up to be NeXTMail welcome | real money. -Senator E. McKinley Dirksen
From: day@tropic.aoml.erl.gov (Kevin Day) Newsgroups: comp.sys.next.programmer Subject: Loading an NXBrowser with a list. Date: 28 Jun 1993 14:31:17 GMT Organization: U.S. Department of Commerce, NOAA/AOML Message-ID: <20mvbl$h8d@wave.aoml.erl.gov> I can do this myself, but I was wondering if maybe some of you have any other suggestions for solutions: I have a list of objects. The objects respond to a -name method which returns the name of the object. It isn't important what the objects are, really, but they provide "invisible" interaction with archived objects... Anyway, I would like to be able to create a browser which would list the name's, and be able to select them, etc... I am not really wild about the idea of having the create NXBrowserCells for each of my list objects, create a hash table to link my objects to the browser cells, and then pass messages through the hash table... there is something particularly distastefull about all the extra coding, just to get the list of names on the screen and be able to play with them. I was working with a matrix in a scrollView, but it was driving me nuts (not wanting to draw itself properly, etc...), and I really think that a browser will be more suitable for my application (Eventually, I will need expandable nodes). One solution that I have considered is making my objects into cells which are capable of drawing themselves... thus killing the need for the creation of NXBrowserCells, and the hashing set up. But the objects really aren't supposed to be cells, so I don't like this solution. Another solution would be to create a sub-class of the NXBrowserCell, and add a pointer to my object. That would remove the need for the hash table. And just as an aside: Does anyone have any good examples of using the browsers? I can't seem to find any, and it would really help if I could see some code before I get in too deep! Thanks in advance, Kevin (Oh yeah, my E-mail address is really messed up right now, you can reach me at : DAY@SATURN.AOML.ERL.GOV (Sorry, non-NeXT mail only). K
From: fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) Newsgroups: comp.sys.next.programmer Subject: Re: Summary: Is underscore "_" something I shouldn't use? Date: 28 Jun 1993 17:04:06 GMT Organization: News Service at Rose-Hulman Message-ID: <20n8a6INN61e@master.cs.rose-hulman.edu> References: <20mgh5$3gg@disuns2.epfl.ch> In article <20mgh5$3gg@disuns2.epfl.ch> scheurer@lithnext.epfl.ch (Marco Scheurer) writes: > In article <20a6etINNcu2@master.cs.rose-hulman.edu> fischedj@ > NeXTwork.Rose-Hulman.Edu (David J. Fischer) writes: > > > [Summary of methods to suppress visibility of methods and ivars > in IB deleted] > > > > d) Use a #define. > > #define privateId > > @interface Subclass:Superclass > > { > > privateId ivar1; > > privateId ivar2; > > id ivar3; > > } > > This is nice. The private nature of the variables is explicit and IB will not > > parse them either. > > [...] > > My preference also goes to this, but I don't like it that much: "private" is > some kind of a misnomer. It doesn't fit well with the > @private/@protected/@public semantics, for instance. Of course finding a better > name is difficult. (InvisibleInIBId ?) > > What about #define outlet id, and the ability to have IB parse only such > outlets? That should be easy, and closer to what is really meant. A preference > setting in IB could offer the parse ids, outlets, or both choice. > --- > Marco Scheurer scheurer@lithnext.epfl.ch (NeXTMail) > Laboratoire d'Informatique Theorique > Ecole Polytechnique Federale de Lausanne > IN-Ecublens > CH-1015 Lausanne (Switzerland) > (+41) 21 693-2589 As was pointed out to me by several netters (and as I later learned when I tried it), the @define approach does not work under 2.1. I understand it does work under 3.0. Mr. Toby Paterson told me (via email) that I could also do this to hide an instance variable: @interface Foo:Bar { id (variableName); } I had also hoped there was some means to use the @private/@public/@protected semantics you mention. While @public is mentioned in the Mahoney & Garfinkel book, they don't talk about @private & @protected nor can I can find any mention of these semantics in the online documentation, nor in a book I have giving an overview of Obj-C. If anyone knows of the usage (if they exist) I would love to know what it is. -- David J. Fischer : fischedj@nextwork.rose-hulman.edu "What's more important, the plays of Shakespeare or the quill he used to write them down? If he'd used a mission critical custom quill with built-in spell checker, would his plays have been any better? " -- Dave Griffiths (in response to a NeXT advocate on c.s.n.m)
Newsgroups: comp.sys.next.programmer From: chuck@cypher .cmhnet.org (Charles G. Bennett) Subject: Re: Gprof broken? Message-ID: <1993Jun27.135329.5292@cypher.cmhnet.org> Sender: chuck@cypher.cmhnet.org Organization: BenaTong, inc. References: <20885qINN9f9@news.u.washington.edu> Date: Sun, 27 Jun 1993 13:53:29 GMT In article <20885qINN9f9@news.u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes: > Has anyone gotten gprof to work? My code is compiled with -pg and calls > exit(3), but never creates gmon.out. I'm currently running NS3.0 on black > hardware. > > > > -- > Sean T. Lamont | Ask me about the WSI-Fonts > zeno@genetics.washington.edu | Professional collection for NeXT > lamont@abstractsoft.com |____________________________________ > Abstract Software It works for be BUT the gmon.out file is dropped in my home dir making it a pain to give it the path to the .profile stuff. I also had to give gprof the full path to the app .../.profile/xxx or it would not produce any output. The man page implies that you can just pass the path upto the .profile Did that make sense? :-) Chuck -- Chuck Bennett, BenaTong Consulting Harem Security..UNIX Consulting }-) chuck@cypher.cmhnet.org
From: rice@gdfwc3 (George Rice) Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: HAL-PC NT vs OS/2 Shoot-out Message-ID: <RICE.93Jun28121100@kuwait.gdfwc3> Date: 28 Jun 93 18:11:00 GMT References: <1993Jun14.175855.26413@microsoft.com> <C8vwqo.5z5@csn.org> <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> Sender: usenet@gdfwc3.UUCP Followup-To: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer Distribution: usa Organization: Lockheed Fort Worth Company In-Reply-To: yue@loon.Stanford.EDU's message of Thu, 24 Jun 1993 20:36:07 GMT Text below has been heavily edited for context & bandwidth. In article <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> yue@loon.Stanford.EDU (Kenneth C. Yue) writes: In article <RICE.93Jun24115622@kuwait.gdfwc3> rice@gdfwc3 (George Rice) writes: > I use Visual Basic because it blows the socks of any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >other rapid prototyping language in the world. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does anyone who has used both NeXTSTEP developement tools and Visual Basic care to comment? I have never used Visual Basic, so I don't know how it "blows the socks" of NeXT Interface Builder and AppKit. Would you believe, "any other rapid prototyping language in the world for Windows"? :-) A close friend of mine bought an original NeXTCube, so we discuss development environments often. We have concluded that they are roughly equal at prototyping. Of course, NeXTStep produces finished apps rather than prototypes so overall I concede NeXTStep is more productive in the long run. Wish it ran on Windows... George
From: day@tropic.aoml.erl.gov (Kevin Day) Newsgroups: comp.sys.next.programmer Subject: Loading an NXBrowser Date: 28 Jun 1993 18:02:23 GMT Organization: U.S. Department of Commerce, NOAA/AOML Message-ID: <20nbnf$kmr@wave.aoml.erl.gov> Well, I bit the bullet and decided to just load the browser from the list (i.e. create extra cells, etc...) and that works nicely. Fast too, I am surprised. Which brings me to question two: Has anyone had any luck in sub-classing the NXBrowserCell class, and using it in an NXBrowser? Even though I set the cellPrototype to my cell, the browser seems to be refusing it... At any rate, it is falling back to the default, and going crazy when I try to send some of my new messages to it... Does anyone have any suggestions? Once again, my address is : DAY@SATURN.AOML.ERL.GOV Thanks, Kevin
Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer From: zabel@cory.Berkeley.EDU ( DAVID RAVEL ZABEL) Subject: Why is NT so slow? Message-ID: <1993Jun28.182722.16463@pasteur.Berkeley.EDU> Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster) Organization: University of California, at Berkeley References: <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> <RICE.93Jun28121100@kuwait.gdfwc3> Distribution: usa Date: Mon, 28 Jun 1993 18:27:22 GMT I have the march beta NT release Installed on my system. System: 486/66 UltraStore 34f SCSI adapter 1.2 gig micropolis 2112 SCSI HD (10 ms seek) 16 megs RAM ATI Ultra pro running 1280x1024 (I have also used an ET4000 & an S3--no speed diff.) WHY IS NT SO SLOW??? Can anyone out there elucidate? -------------------- Will the official release be faster? / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ \/ \/ \ / \/ \/ \ \/ \/ \ /\ /\ David R. Zabel /\ /\ /\ Voice +1 510 883 9500 \ /\ /\ / \/ \/ zabel@cory.berkeley.edu \/ \/ \/ Fax +1 510 486 1905 / \/ \/ /\ /\ / \ /\ /\ / /\ /\ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\
From: edx@cc.usu.edu Newsgroups: comp.sys.next.programmer Subject: 3.1 User Upgrade and 3.0 Development Tools Message-ID: <1993Jun28.094708.69509@cc.usu.edu> Date: 28 Jun 93 09:47:07 MDT Organization: Utah State University There is a warning in the 3.1 User Upgrade that says the 3.0 Development Tools are incompatible with the 3.1 User distribution. Is this true? If I want to continue developing, should I wait for the 3.1 Development CD before installing the 3.1 User files? Thanks for any suggestions.
From: windemut@cumbne.bioc.columbia.edu (Andreas Windemuth) Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: HAL-PC NT vs OS/2 Shoot-out Message-ID: <1993Jun28.202340.20910@news.columbia.edu> Date: 28 Jun 93 20:23:40 GMT References: <RICE.93Jun28121100@kuwait.gdfwc3> Sender: usenet@news.columbia.edu (The Network News) Distribution: usa Organization: Columbia University In article <RICE.93Jun28121100@kuwait.gdfwc3> rice@gdfwc3 (George Rice) writes: > > Wish it ran on Windows... > Well, I guess, that won't happen .... Luckily, Windows runs well under NEXTSTEP. Andreas Windemuth +-------------------------------------------------------------------- |Columbia University, Dept. of Biochemistry and Biophysics, BB-221 |630 West 168th St. | tel: (212)-305-6884, fax: 6926, NeXTmail |New York, NY 10032 | email: windemut@cumbne.bioc.columbia.edu +-------------------------------------------------------------------- ows runs well under NEXTSTEP. Andreas Windemuth +-------------------------------------------------------------------- |Columbia University, Dept. of Biochemistry and Biophysics, BB-221 |630 West 168th St. | tel: (212)-305-6884, fax: 6926, NeXTmail |New York, NY 10032 | email: windemut
Newsgroups: comp.sys.next.programmer From: jon@afs.com Subject: Odd behavior in TextField subclass Message-ID: <1993Jun28.195041.388@afs.com> Sender: jon@afs.com Date: Mon, 28 Jun 1993 19:50:41 GMT I've got this subclass of TextField, but it doesn't quite work right, and I'm not quite sure where or how to fix it. When there is a value in the field already, if I select the contents of the field and start typing, instead of replacing the entire contents, it fails to delete the zero digits right of the decimal. This occurs only if the field is set to have 5 or more places right of the decimal. If the setting is five, one zero is retained. If the setting is six, two are retained. The decimal is not retained. So, if the field contains 1234.560 and I select the contents and type 1 instead of having 1.0000 I get 100.0000 Has anyone else had this problem? Is it a problem with Cell? We are just using the standard Cell method, not anything subclassed or overridden. -- Jon Hendry It's a thousand classes, give or take a few, <jon@afs.com> I'll be writing more in a week or two. I can make it deeper if you like the style, I can change it round and I want to be an ObjectWare Writer
From: kline@CS.Arizona.EDU (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: making a panel stay in front Date: 28 Jun 1993 14:44:25 -0700 Organization: University of Arizona CS Department, Tucson AZ Message-ID: <20nonp$q4v@cheltenham.cs.arizona.edu> I have a panel which I want to stay at the front of all the windows in my app. I have several things going on, and this is kind of a status window. I am not interacting with it in a modal fashion. I know the modal interaction does something to keep it in front of all the other windows. I remember reading something about adjusting the window order or something in the windowserver. That seems way too high level. Does anyone know the answer? Thanks, Nick kline@cs.arizona.edu
Newsgroups: comp.sys.next.programmer From: drew@fnbc.com (Drew Davidson) Subject: Re: Loading an NXBrowser Message-ID: <1993Jun28.213448.10611@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <20nbnf$kmr@wave.aoml.erl.gov> Date: Mon, 28 Jun 93 21:34:48 GMT In article <20nbnf$kmr@wave.aoml.erl.gov> day@tropic.aoml.erl.gov (Kevin Day) writes: > Well, I bit the bullet and decided to just load the browser from the list > (i.e. create extra cells, etc...) and that works nicely. Fast too, I am > surprised. Which brings me to question two: Has anyone had any luck in > sub-classing the NXBrowserCell class, and using it in an NXBrowser? Even > though I set the cellPrototype to my cell, the browser seems to be > refusing it... At any rate, it is falling back to the default, and going > crazy when I try to send some of my new messages to it... > > Does anyone have any suggestions? NXBrowsers allow you to set a prototype or cell class, but it ignores this after the first load ([browser loadColumnZero]). In my code I usually do the following: - setBrowser:anObject { browser = anObject; [browser setMatrixClass:[FixedMatrix class]]; [browser setCellClass:[ObjectCell class]]; [browser loadColumnZero]; return(self); } [aside: shift-clicking on a Matrix confuses it about what the selected cell really is. I've got a subclass that corrects this, which is why setting the Matrix class is important] Of course, at this point the loading of the column should be benign (i.e. won't load anything) and it sets the prototypes in NXBrowser correctly. My ObjectCell subclass maintains an object "tag" that identifies the object that is to be shown by the cell [partial code below]. That way your loading code looks like: - browser:sender fillMatrix:matrix inColumn:(int)column { id list = [self columnZeroList]; int count = [list count], i; [matrix renewRows:count cols:1]; for (i = 0; i < count; i++) { id cell = [matrix cellAt:i :0]; /* * All we have to do is set the object; Cell does the rest. */ [cell setObject:[list objectAt:i]]; } return(count); } My NXBrowserCell subclass has an Ivar called "object" and implements the following: - setObject:anObject { object = anObject; [self setStringValue:[object name]]; [[self setLoaded:YES] setLeaf:[object isLeaf]]; return(self); } - object { return(object); } This is a very simplified case; if you have > 1 columns you need to either do linear searches through each column to traverse the path or use pointers to a parent object to keep your hierarchy straight. But this example is how to use NXBrowsers, not create hierarchies (I'll leave that to Robert Nicholson [see his .sig for the punchline to this joke]). > Once again, my address is : DAY@SATURN.AOML.ERL.GOV > > Thanks, > > Kevin -- +--------------------------------+-------------------------------------------+ | Drew Davidson | "Never ask a programmer if he'll have | | Software Guy | another cup of coffee because it's | | First National Bank of Chicago | nobody's damn business how much he's | | drew@fnbc.com (NeXTmail) | already had!" - me | +--------------------------------+-------------------------------------------+
From: bfriedma@bfriedman-ss2.cisco.com (Barry Friedman) Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: HAL-PC NT vs OS/2 Shoot-out Date: 28 Jun 1993 21:19:24 GMT Organization: cisco Systems, Menlo Park, California, USA Distribution: usa Message-ID: <20nn8sINNl08@cronkite.cisco.com> References: <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> <RICE.93Jun28121100@kuwait.gdfwc3> In article <RICE.93Jun28121100@kuwait.gdfwc3> rice@gdfwc3 (George Rice) writes: > >Text below has been heavily edited for context & bandwidth. > >In article <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> yue@loon.Stanford.EDU (Kenneth C. Yue) writes: > > In article <RICE.93Jun24115622@kuwait.gdfwc3> rice@gdfwc3 (George Rice) writes: > > I use Visual Basic because it blows the socks of any > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >other rapid prototyping language in the world. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Does anyone who has used both NeXTSTEP developement tools and Visual > Basic care to comment? I have never used Visual Basic, so I don't > know how it "blows the socks" of NeXT Interface Builder and AppKit. > >Would you believe, "any other rapid prototyping language in the world >for Windows"? :-) > >A close friend of mine bought an original NeXTCube, so we discuss >development environments often. We have concluded that they are >roughly equal at prototyping. Of course, NeXTStep produces finished >apps rather than prototypes so overall I concede NeXTStep is more >productive in the long run. I've used VB, NeXTSTEP and tcl/tk. Personally I find tcl/tk to be the best I've seen for prototyping applications, and the price is right (FREE!!). Tcl/Tk has extensions for database access, SNMP, distributed processing and 3D graphics. Some projects in the works include an application framework effort, an object system similar to CLOS, and a tcl compiler. There are lots of add-on widgets that have been developed too. The drawback is that its kind of X specific, although a port to NeXTSTEP or Windows is certainly possible. I'd love to see a set of Appkit objects in NeXTSTEP subclassed to support tcl scripting. If you're stuck programming on Windows, then VB is the way to go for prototyping. It really is a great product, although I think tcl/tk is more extensible and powerful. I tend to agree that NeXTSTEP is tops for building finished, industrial strength apps. Without a scripting language like tcl, it doesnt really fare as well for prototyping unless you have a good set of IB palettes that support what you are trying to do. If what you are prototyping is REALLY complex, then NeXTSTEP may also be the best choice. JMHO. Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Barry Friedman | bfriedman@cisco.com Software Engineer | From Infoworld, Feb 10, 1992: "MS-DOS 5.0 has resecured Cisco System Inc. | Microsoft's place as the reigning OS developer" HAHAHA...
Newsgroups: comp.sys.next.programmer From: yhe1@cc.swarthmore.edu (Ye) Subject: Where is Inspector class Message-ID: <yhe1-280693193326@mac8.hicks.swarthmore.edu> Followup-To: comp.sys.next.programmer Sender: news@cc.swarthmore.edu (USENET News System) Organization: Swarthmore Collge Date: Mon, 28 Jun 1993 23:43:10 GMT Hello Eeveryone: Now I'm trying to write some code that does the IB style connection work. I ftp'ed a sample program called ConnectionPalette from cs.orst.edu, which claims to be able to do the work I need. But the program subclassed Inspector, which doesn't exist in NS3.0 any more. Also, it used to functions that start with NIB, which don't exist now either. (NIBDidLoadClass and NIBWillLoadClass). How am I supposed to deal with this change? Does anyone have any idea? Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Ye he@carnegie.swarthmore.edu (NeXT mail)
Newsgroups: comp.sys.next.programmer From: brill@sybase.com (Michael Brill) Subject: DBKit - works/doesn't work Message-ID: <C9Cpyz.Dow@sybase.com> Sender: usenet@sybase.com Organization: Sybase, Inc. Date: Mon, 28 Jun 1993 21:49:46 GMT DBKit seems to work fine as long as I'm in Interface Builder... once I build the application and execute - I can't get anything to work... it's like DBKit is gone. Any ideas? Thanks, ...Michael
From: paterson@gdss.commerce.ubc.ca (Toby Paterson) Newsgroups: comp.sys.next.programmer Subject: Re: Summary: Is underscore "_" something I shouldn't use? Date: 29 Jun 1993 00:45:56 GMT Organization: The University of British Columbia Message-ID: <20o3c4INN5t2@iskut.ucs.ubc.ca> References: <20n8a6INN61e@master.cs.rose-hulman.edu> In article <20n8a6INN61e@master.cs.rose-hulman.edu> fischedj@ NeXTwork.Rose-Hulman.Edu (David J. Fischer) writes: > I had also hoped there was some means to use the > @private/@public/@protected semantics you mention. While @public is mentioned > in the Mahoney & Garfinkel book, they don't talk about @private & @protected > nor can I can find any mention of these semantics in the online documentation, > nor in a book I have giving an overview of Obj-C. If anyone knows of the usage > (if they exist) I would love to know what it is. > The keywords @private, @protected and @public can be placed in the interface declaration to change the accessability of a class's instance variables. All variables declared after the @protected keyword may only be directly accessed by instances of the declaring class and its subclasses. (This is the default behaviour if none of these keywords are used.) The @protected keyword means that the subsequent variables may only be accessed by the defining class. The @public keyword means that any and all classes may access the defining class's instance variables (see objc/List.h for an example of the use of this keyword). X -- \\ / Who: Toby Paterson \\/ How: tpaterso@cs.ubc.ca, paterson@gdss.commerce.ubc.ca //\ What: Grunt and NeXT hacker; GDSS Fellowship // \ Where: University of British Columbia
Newsgroups: comp.sys.next.programmer From: brill@sybase.com (Michael Brill) Subject: Re: DBKit - works/doesn't work Message-ID: <C9Cqxo.EqA@sybase.com> Sender: usenet@sybase.com Organization: Sybase, Inc. References: <C9Cpyz.Dow@sybase.com> Date: Mon, 28 Jun 1993 22:10:35 GMT As a follow up: GDB now reports: Error loading /NextLibrary/Adaptors/SybaseAdaptor.adaptor/SybaseAdaptor But this is happening only in this one application. Other applications and IB work fine. BTW, SybaseAdaptor is indeed in that path. ...Michael
Newsgroups: comp.sys.next.programmer From: brill@sybase.com (Michael Brill) Subject: Re: DBKit - works/doesn't work Message-ID: <C9CsHt.Fn3@sybase.com> Sender: usenet@sybase.com Organization: Sybase, Inc. References: <C9Cpyz.Dow@sybase.com> <C9Cqxo.EqA@sybase.com> Date: Mon, 28 Jun 1993 22:44:16 GMT It's only bandwidth... sorry. Turns out that I had to hard code: OTHER_OFILES=/NextLibrary/Adaptors/SybaseAdaptor.adaptor/SybaseAdaptor in MakeFile.preamble <sheesh> Warning! Don't ever leave NS for more than a couple of months - you'll forget *everything* ...Michael
From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: making a panel stay in front Message-ID: <1250@rtbrain.rightbrain.com> Date: 29 Jun 93 00:24:03 GMT References: <20nonp$q4v@cheltenham.cs.arizona.edu> Sender: glenn@rightbrain.com Nick Kline writes > > I have a panel which I want to stay at the front of all the windows in > my app. [yourPanel setFloatingPanel:YES]; -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California Electronic Frontier Foundation, member #054
Newsgroups: comp.sys.next.programmer From: alastair@hecate.phy.queensu.ca (A.B. McLean) Subject: plotting mathematical data Message-ID: <C9Cyoq.EAp@knot.ccs.queensu.ca> Keywords: math Sender: news@knot.ccs.queensu.ca (Netnews control) Organization: Queen's University, Kingston Date: Tue, 29 Jun 1993 00:58:02 GMT I am thinking about writing a short program which will allow me visualize the output of a numerical calculation which may be in the form: 1040 10.3 2.2 5.000000e+00 1.818076e+02 5.050251e+00 1.852341e+02 5.100502e+00 1.887511e+02 5.150754e+00 1.923613e+02 5.201005e+00 1.960675e+02 5.251256e+00 1.998726e+02 5.301507e+00 2.037796e+02 5.351759e+00 2.077917e+02 etc... where the first three lines could be the height, position and width of a Lorentzian curve and the remainder are x y points which I would be trying to fit with a Lorentzian function. The program would output educated guesses of the parameters and I would like to plot the curve alongside the original data. This is a highly simplified example but it conveys the idea. Before I reinvent the wheel, has anyone done something similar that they would be willing to share ? The simpler the better. The src to nxplot is available, is well commented, but does far more than I want. Alastair McLean (alastair@hecate.phy.queensu.ca)
Newsgroups: comp.sys.next.programmer From: brill@sybase.com (Michael Brill) Subject: Will it ever end? (DBKit) Message-ID: <C9Ct4J.FyE@sybase.com> Sender: usenet@sybase.com Organization: Sybase, Inc. Date: Mon, 28 Jun 1993 22:57:54 GMT So now I've got a login panel to come up... but none of the methods that work in IB work in my application. So an insertNewRecord: which works fine in IB, no longer works - yet I'm connected to the database. ...Michael
Newsgroups: comp.sys.next.programmer From: joseph@daffy.tip.ameslab.gov (Joseph Reynolds) Subject: Help: Interacting with Edit within Objective-C code Message-ID: <C9D0D4.Ctr@news.iastate.edu> Keywords: Edit, Objective-C Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames IA Date: Tue, 29 Jun 1993 01:34:16 GMT Hi. I've looked at the documentation and I can't figure out how PB and gdb interact with edit to open the source code and position the cursor to a specific line. I'd like to add this capabiity to my own Objective-C code. Any ideas how to do this? (Is there some *secret* documentation I'm not privy to?:-) Joseph, joseph@mickey.tip.ameslab.gov Or reply to the group....
Newsgroups: comp.sys.next.programmer From: hamachi@adobe.com (Gordon Hamachi) Subject: Re: Help: Interacting with Edit within Objective-C code Message-ID: <1993Jun29.022026.13748@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <C9D0D4.Ctr@news.iastate.edu> Distribution: usa Date: Tue, 29 Jun 1993 02:20:26 GMT Joseph Reynolds writes > I've looked at the documentation and I can't figure out how PB and gdb > interact with edit to open the source code and position the cursor to a > specific line. I'd like to add this capabiity to my own Objective-C code. Here, this ought to do what you need. - sendOpenFile:(char *) fname :(char *) search { /*---------------------------------------------------------------------------- * Send a message to the Edit application, telling it to open a file and * position to the given search string location. *----------------------------------------------------------------------------- */ int msgDelivered, fileOpened; id mySpeaker = [[Speaker alloc] init]; port_t thePort = NXPortFromName("Edit", NULL); /* Gets public port */ char buffer[1024]; if(thePort!=PORT_NULL) { char * line; /* Cheat by peeking into the file to see what line would match the * search string. For some reason, positioning by search string * doesn't work. */ strcpy(buffer, TagsDir); strcat(buffer, "/"); strcat(buffer, fname); if(!(line=getLineForString(fname, search))) NXRunAlertPanel("Pdb", "Can't position Edit to symbol.", "OK", 0, 0, "", "", "", ""); else { /* Sets the Speaker to send its next message to Edit app's port */ [mySpeaker setSendPort:thePort]; msgDelivered=[mySpeaker openFile:buffer ok:&fileOpened]; if(msgDelivered==0) { if(fileOpened==YES) { [mySpeaker setSendPort:thePort]; msgDelivered = [mySpeaker msgSetPosition:line posType:NX_LINENUMPOSTYPE andSelect:YES ok:&fileOpened]; if(msgDelivered) NXRunAlertPanel("Pdb", "Can't send msgSetPosition to Edit.", "OK", 0, 0, "", "", "", ""); } else NXRunAlertPanel("Pdb", "Can't connect to Edit.", "OK", 0, 0, "", "", "", ""); } "OK", 0, 0, "", "", "", ""); } else NXRunAlertPanel("Pdb", "Can't send openFile to Edit.", "OK", 0, 0, "", "", "", ""); } } /* Free the Speaker when no longer needed */ [mySpeaker free]; port_deallocate(task_self(), thePort); return self; }
Message-ID: <co$@byu.edu> Date: Mon, 28 Jun 93 21:30:34 MDT From: yackd@maine.et.byu.edu (Don Yacktman) Newsgroups: comp.sys.next.programmer Distribution: world References: <20n8a6INN61e@master.cs.rose-hulman.edu> <20o3c4INN5t2@iskut.ucs.ubc.ca> Organization: Brigham Young University, Provo UT USA Subject: Re: Summary: Is underscore "_" something I shouldn't use? In article <20o3c4INN5t2@iskut.ucs.ubc.ca>, paterson@gdss.commerce.ubc.ca (Toby Paterson) writes: >The @protected keyword means that the subsequent variables may only be >accessed by the defining class. Oops: you mean @private here, not @protected. Later, Don_Yacktman@byu.edu
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Sybase error handling using DBKit Message-ID: <1993Jun28.115838.1595@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <20lvq6INN9bg@darkstar.UCSC.EDU> Date: Mon, 28 Jun 93 11:58:38 GMT In article <20lvq6INN9bg@darkstar.UCSC.EDU> isbell@cats.ucsc.edu (Art Isbell) writes: > > > I've had no luck designing my DBKit GUI to recover gracefully from Sybase > errors. I need help. > > When I try to enter a new record into a table with a unique index on the key > and the new record's key is a duplicate of an existing record, Sybase prints a > > "Attempt to insert duplicate key row in object 'foo' with unique index > 'fooKey'" > > message in an Alert panel as it should. Upon closing the Alert panel, gdb > reports the wonderfully informative > > "*** HashTable: count differs after rehashing; probably indicates a broken > invariant: there are x and y such as isEqual(x, y) is TRUE but hash(x) != hash > (y)" > > message just before Sybase sends a second message to an Alert panel: > > "Command has been aborted." > > I have implemented fetchGroup:willFailForReason: in the FetchGroup's > delegate. If I return DB_Continue for the DB_TransactionError error code, my > app hangs in the select() system call. If I return DB_Abort instead of > DB_Continue, my app doesn't hang until I try the next fetch at which time it > hangs in select() as well. Not exactly the graceful exit from a Sybase error I > had in mind :-) > > If I create my unique index with the "ignore_duplicate_key" option, the new > record isn't entered into the database and Sybase prints a message, but I can't > get DBKit to realize that an error has occurred, probably because Sybase really > hasn't reported an error, but has merely ignored the attempt to insert a record > with a duplicate key. > > So neither approach has worked. I'm really concerned about the hashtable > error because I'm afraid that it's occurring within the Sybase adaptor which > might indicate an adaptor bug. > > If anyone can shed any light on any of this, I'd be most appreciative. > -- > > Art Isbell Cubic Solutions I understand that the error handling is much improved with 3.1. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: 3.1 POSIX? Message-ID: <1993Jun28.182309.2528@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center Date: Mon, 28 Jun 93 18:23:09 GMT I REALLY need to know if 3.1 is POSIX compliant. If not will 3.2? Please e-mail so I am sure to get your answer. Thanks -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: mike@lorax.com (Mike Ferris) Subject: Re: Colored Scroller backgrounds for positioning in Edit Message-ID: <C9CyIx.EDz@lorax.com> Sender: mike@lorax.com (Mike Ferris) Organization: Stultus Enterprises References: <GBOL.93Jun28083730@nos40nm.shell.com> Date: Tue, 29 Jun 1993 00:54:32 GMT In article <GBOL.93Jun28083730@nos40nm.shell.com> gbol@nos40nm.shell.com (Gregory B. Lampshire) writes: > >Are we really looking for a source editor browser like Smalltalk's? I don't know about you, but I'd love one. Flat source files are too nasty. I want something nice and hierarchical. The code can be kept in a database stored at method granularity and the browser can generate the flat source files for each class on demand. Also I want a really flexible as-you-type pretty printer (like Lightspeed on the Mac, but with more configurability). Maybe a compiler modification to access the database instead of source files so it can go nice and quick. What the hell, let's put multi-developer project support and versioning into it too. I guess it wouldn't have to be all one app, but all the little pieces would have to be tightly integrated. ____________________________________________________________ Mike Ferris Everybody understands Mickey Mouse mike@lorax.com Few understand Herman Hesse Rubicon Software Only a handful understood Einstein (510) 652-2039 And nobody understood Emperor Norton
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: making a panel stay in front Date: 29 Jun 1993 07:33:11 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <20or7n$mpg@agate.berkeley.edu> References: <20nonp$q4v@cheltenham.cs.arizona.edu> In article <20nonp$q4v@cheltenham.cs.arizona.edu> kline@CS.Arizona.EDU (Nick Kline) writes: >I have a panel which I want to stay at the front of all the windows in >my app. I have several things going on, and this is kind of a status >window. >I remember reading something about adjusting the window order or something >in the windowserver. That seems way too high level. Check out the source code for Winfo app on the archive. It's written by a Lotus person. It does what you want. Look in 2.x or even 1.x source directories. -- Izumi Ohzawa [ $@Bg_78^=;(J ] USMail: University of California, 360 Minor Hall, Berkeley, CA 94720 Telephone: (510) 642-6440 Fax: (510) 642-3323 Internet: izumi@pinoko.berkeley.edu (NeXTMail OK)
Newsgroups: comp.sys.next.programmer From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: 3.1 POSIX? Message-ID: <1993Jun29.081622.2766@csus.edu> Sender: news@csus.edu Organization: San Francisco State University References: <1993Jun28.182309.2528@uunet!cbmvax!xmws!kripalu> Date: Tue, 29 Jun 1993 08:16:22 GMT In article <1993Jun28.182309.2528@uunet!cbmvax!xmws!kripalu> harit@kripalu.com writes: >I REALLY need to know if 3.1 is POSIX compliant. If not will 3.2? /NextLibrary/Documentation/NextDev/ReleaseNotes/OperatingSystem.rtf says: In Release 3.1, building POSIX applications isn't supported. POSIX will be supported in a future release. -=EPS=- -- POSIX is evil. Windows NT supports POSIX. Windows NT is evil. NeXT would debase NeXTSTEP to challenge NT. Vacuum triumphs over vision. Vapor laughs.
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.soft-sys.nextstep From: gerben@rna.indiv.nluug.nl Subject: Pre-announcement of POSTGRES and System V IPC/SHMEM for NEXTSTEP Message-ID: <1993Jun29.081745.4369@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. Date: Tue, 29 Jun 1993 08:17:45 GMT Since I have told various people in these groups that we would release POSTGRES and SYSV IPC/SHMEM round this time I'd like to make a pre-announcement. POSTGRES V4r1 has been succesfully ported to NEXTSTEP 3.0 running on black hardware *). To do this we have also written a SYSV Shared Memory and Semaphore emulation under NEXTSTEP. Normally we would have released it now, but since we are currently moving the firm (as well as ourselves) we have decided to postpone the release until early august, at which time the firm will be up and running again. -- Gerben Wierda [NeRD:7539] gerben@rna.indiv.nluug.nl "If you don't know where you are going, any road will take you there." From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Newsgroups: comp.sys.next.programmer From: robertn@penny.demon.co.uk (Robert Nicholson) Subject: Palettized NXSplitView in >= 3.0? Distribution: world Cc: next-prog@cpac-washington.edu Date: Tue, 29 Jun 1993 09:10:39 +0000 Message-ID: <9306290859.AA01109@penny.demon.co.uk> Sender: usenet@demon.co.uk Besides what existed in 2.1 has anybody palettized NXSplitView so that one can test it's behaviour in IB for >= NS3.0? Anything publically available?, Obviously needs to be able to specify it's subviews , be it boxes etc in IB.
Newsgroups: comp.sys.next.programmer From: bsz@ubszh.net.ch(Binding Carl ) Subject: distributed objects: senderIsInvalid: notifications Message-ID: <C9DFMG.F9p@ubszh.net.ch> Keywords: distributed objects Sender: usenet@ubszh.net.ch (news) Organization: Union Bank of Switzerland Date: Tue, 29 Jun 1993 07:03:52 GMT Hello netters, I've started to fool around with distributed objects and promptly ran into some problem with catching the death of a server. I have essentially followed the instructions, i.e. registered an object to be notified upon death of a connection (-[NXConnection registerForInvalidationNotificaton:]) The problem is: I never seem to get the senderIsInvalid: message when I CTRL_C the server. Worthwhile to mention might be the fact that I don't run this from the appkit for the time being, just plain Mach tasks & threads. Any pointers would be appreciated, Cheers, Carl -- Carl Binding LHIS/LHDD-BSZ Union Bank of Switzerland Flurstrasse 68 CH-8048 Zurich Switzerland bsz@ubszh.net.ch
From: thomas@gurke.physik.TU-Berlin.DE (Thomas Hensel) Newsgroups: comp.sys.next.programmer Subject: Urgent - limitation in DPSDoUserPath ? Date: 29 Jun 1993 11:24:32 GMT Organization: TUBerlin/ZRZ Message-ID: <20p8pg$4v@mailgzrz.TU-Berlin.DE> Hi ! Is there a length-limit in DPSDoUserPath, better is there a max-number of numcoords ? My values are: void DPSDoUserPath( void *coords, <- array of 16384 floats int numCoords, <- 16384 DPSNumberFormat numType, <- dps_float unsigned char *ops, <- array of 8192+2 chars int numOps, <- 8192+2 void *bbox, <- 0,0,8194,600 (boundingbox) int action); <- dps_ustroke My problem is, after calling DPSDoUserPath I get 30-40 errors in my console-window and my app dies. Decreasing numcoords-values by 6 and numOps by 3 all works fine. Any hint welcome, thomas -- email: thomas@gurke.physik.TU-Berlin.DE (NeXTMail) vmail: +49 (0)30 314 23014 (work) +49 (0)30 393 65 20 (home) smail: Technische Universitaet Berlin, Institut fuer Strahlungs- und Kernphysik Hardenbergstrasse 36, 1000 Berlin 12
Newsgroups: comp.sys.next.programmer From: vlahos@cubism.portal.com (Harry Vlahos) Subject: Re: plotting mathematical data Message-ID: <1993Jun29.060336.5845@cubism.portal.com> Sender: vlahos@cubism.portal.com (Harry Vlahos) Organization: -Independent NeXT Developer- References: <C9Cyoq.EAp@knot.ccs.queensu.ca> Date: Tue, 29 Jun 1993 06:03:36 GMT In article <C9Cyoq.EAp@knot.ccs.queensu.ca> alastair@hecate.phy.queensu.ca (A.B. McLean) writes: > > I am thinking about writing a short program which will > allow me visualize the output of a numerical calculation > which may be in the form: > > 1040 > 10.3 > 2.2 > 5.000000e+00 1.818076e+02 > 5.050251e+00 1.852341e+02 > 5.100502e+00 1.887511e+02 > 5.150754e+00 1.923613e+02 > 5.201005e+00 1.960675e+02 > 5.251256e+00 1.998726e+02 > 5.301507e+00 2.037796e+02 > 5.351759e+00 2.077917e+02 > etc... > > where the first three lines could be the height, position and > width of a Lorentzian curve and the remainder are x y points > which I would be trying to fit with a Lorentzian function. > The program would output educated guesses of the parameters and > I would like to plot the curve alongside the original data. This > is a highly simplified example but it conveys the idea. > > Before I reinvent the wheel, has anyone done something similar > that they would be willing to share ? The simpler the better. > The src to nxplot is available, is well commented, but does far > more than I want. > > Alastair McLean (alastair@hecate.phy.queensu.ca) Buy the NeXTSTEP Programming Book by Mahoney and Garfinkel. They will give you source code on graphing any function, or any set of data points. HV
Newsgroups: comp.sys.next.programmer From: bsz@ubszh.net.ch(Binding Carl ) Subject: Re: distributed objects: senderIsInvalid: notifications Message-ID: <C9DyJC.G7L@ubszh.net.ch> Keywords: distributed objects, LOUSY documentation.... Sender: usenet@ubszh.net.ch (news) Organization: Union Bank of Switzerland References: <C9DFMG.F9p@ubszh.net.ch> Date: Tue, 29 Jun 1993 13:52:24 GMT In article <C9DFMG.F9p@ubszh.net.ch> bsz@ubszh.net.ch(Binding Carl ) writes: > Hello netters, > I've started to fool around with distributed objects and promptly ran into > some problem with catching the death of a server. I have essentially > followed the instructions, i.e. registered an object to be notified > upon death of a connection > (-[NXConnection registerForInvalidationNotificaton:]) > The problem is: I never seem to get the senderIsInvalid: message > when I CTRL_C the server. > Worthwhile to mention might be the fact that I don't run this from > the appkit for the time being, just plain Mach tasks & threads. And indeed that's where the problem lies. When you run your connection via -[NXConnection run] or -[NXConnection runInNewThread] AND want to be notified of connections going down, it REALLY, TRULY and FRANKLY helps to call +[NXPort worryAboutInvalidation]....... Then one does indeed get the [NXSenderIsInvalidNotifier senderIsInvalid:] notification. Sigh. **** Flame on ******** Couldn't NeXT make a better effor in cross referencing their documentation? It would help. I'm sure that the folks up in Redmond have gotten that part of their marketing right.......:-) **** Flame off ******* Carl -- Carl Binding LHIS/LHDD-BSZ Union Bank of Switzerland Flurstrasse 68 CH-8048 Zurich Switzerland
Newsgroups: comp.sys.next.programmer From: l06@aixfile1.urz.uni-heidelberg.de (Gregor Hoffleit) Subject: DDKit: Writing Video Drivers ? Message-ID: <1993Jun29.143959.28827@sun0.urz.uni-heidelberg.de> Sender: news@sun0.urz.uni-heidelberg.de (NetNews) Organization: University of Heidelberg, Germany Date: Tue, 29 Jun 93 14:39:59 GMT Have you noticed there's a new release of the DeviceDriverKit Documentation on NeXTanswers ? It seems to be more instructive than the older version, though it's still lacking examples. Excerpt from IOFrameBufferDisplay.rtf: ------------------------------------------------------------------ IOFrameBufferDisplay is an abstract class for managing video displays that support linear-mode frame buffers. To create a display driver, you subclass IOFrameBufferDisplay and implement three methods (as described below). IOFrameBufferDisplay's interface with the window server and event system means that your driver needs to do very little. Most of the work in writing a display driver is determining how to put the hardware into an advanced mode in which the frame buffer is linearly addressable. Some drivers support several advanced modes, which the user chooses between using the Configure application. For example, a driver might support three advanced modes: * 1024 x 768 66Hz 8-bit grayscale * 1024 x 768 72Hz 16-bit color * 800 x 600 72Hz 16-bit color You advertise the advanced modes your driver supports using the *DisplayModes: key. This key should be in the Localizable.strings file in the Language.lproj directories in your driver's bundle, as discussed in Chapter 4. The currently supported bit depths are 2-bit grayscale, 8-bit grayscale, and 16-bit RGB (5-5-5 or 4-4-4). The width and height are device-dependent, but should be at least 640 x 480. ------------------------------------------------------------------ That sounds as if it is really no big work to write new drivers for graphic adapter THAT SUPPORT LINEAR FRAME BUFFERING. All you need to know is how to switch them in that mode and back. But something strikes me: It's not evident that every frame buffer organizes its memory the same way. Why shoudn't one use bitplanes and the other byteplanes, for example (this might be the case for 8-bit-grayscale mode). Is there any further documentation about the used frame buffer memory model ? Gregor --------------- gregor hoffleit next user group heidelberg flight@vogon.mathi.uni-heidelberg.de
From: mcconnap@NeXTwork.Rose-Hulman.Edu (Andy McConnell) Newsgroups: comp.sys.next.programmer Subject: Re: Where is Inspector class Date: 29 Jun 1993 14:58:03 GMT Organization: News Service at Rose-Hulman Message-ID: <20pl9rINNbs7@master.cs.rose-hulman.edu> References: <yhe1-280693193326@mac8.hicks.swarthmore.edu> In article <yhe1-280693193326@mac8.hicks.swarthmore.edu> yhe1@cc.swarthmore.edu (Ye) writes: > [background deleted] > But the program subclassed > Inspector, which doesn't exist in NS3.0 any more. Also, it used to > functions > that start with NIB, which don't exist now either. (NIBDidLoadClass and > NIBWillLoadClass). How am I supposed to deal with this change? Does > anyone have any idea? Thanks. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -Ye > he@carnegie.swarthmore.edu (NeXT mail) Inspector was defined in /usr/include/nib/InterfaceBuilder.h, and was renamed IBInspector in 3.0. I don't have the luxury of developing on 3.0, so I'm not sure where to find the header for IBInspector. I found this file very useful in converting custom palettes from 2.1 to 3.x; It was included in the RotationSlider archive by Vince DeMarco <vince@whatnxt.cuc.ab.ca>, which I found at sonata.cc.purde.edu. -- The following tells how (?) to convert a 2.1 palette to a 3.0 palette. It is assumed that the 2.1 palette object(s) is (are) a subclass of View. You should also consult the NeXT docs "Creating a Custom Palette." 1) Make a new directory called, say, xxxPalette. Start ProjectBuilder (PB) and select NEW, choosing Patette as the type from the Save Panel. Go to your xxxPalette directory and click OK. (This creates the files: Makefile, xxxPalette.h/m, palette.table, PB.gdbinit, and PB.project.) 2) Remove xxxPalette.m from Classes and add it to Other Sources (under Files). Add your view .m file (call it xxxView.m) into the Classes list. Add xxxInspector.m and any other support files into the Other Sources list. Note that the .h files will automatically be added under Headers. 3) Modify the following files (practically everything): a) xxxView.m/h -- Change the method -inspectorName to -getInspectorClassName. b) xxxInspector.m/h -- Remove +finishLoading and +startUnloading. (Note that nib files are no longer stored in the Mach header. They are simply files (folders, actually) in the palette folder.) Also, remove -ok and -revert from the .h file, they are now in the superclass (IBInspector). Modify the -init method by removing [NXApp loadNibSection:"CircularSliderInspector.nib" owner:self]; and adding char buf[MAXPATHLEN + 1]; [[NXBundle bundleForClass:[xxx class]] getPath:buf forResource:"xxxInspector" ofType:"nib"]; [NXApp loadNibFile:buf owner:self withNames:NO fromZone:[self zone]]; Add the method - (BOOL)wantsButtons { return YES; } (You may return NO here and connect the objects in the inspector panel to the -ok action using IB for automatic updating.) In the .h file, make xxxInspector a subclass of IBInspector. Change #import <nib/InterfaceBuilder.h> to #import <apps/InterfaceBuilder.h>. Make sure -ok and -revert return [super ok/revert:sender]. (See the NeXT docs on creating a custom palette.) Modify the xxxInspector.nib file by loading it into IB and subclassing it to IBInspector (first remove (ie, cut) the Inspector subclass.) Rename this subclass and Parse in the xxxInspector.h. Save the nib file and add it to the project. Localize this file. [Having fun so far?] c) Load xxxPalette.nib into IB (note the automatic connection to originalWindow) and add a customView of the correct size to the Panel. Subclass View and Parse in your View.h code. Make the customView of this class type. Save. d) Add the tiff icon to the project (Note only one is needed, do away with the xxxH.tiff file.) e) Modify the Icon and Export Class part of the palette.table file. f) Add any additional Makefile.pxxx to the Supporting Files category of the project. 4) Build the palette and load into IB. -- Andy McConnell mcconnap@nextwork.rose-hulman.edu Fluid Science Learning Center Developer Lt, USAF CS BS '93 Rose-Hulman Institute Of Technology "The beaurocratic mentality is the only constant in the universe."
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: nihcl on NeXT? Message-ID: <1993Jun28.175912.1512@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <16BF8130B0.CCGREG@mizzou1.missouri.edu> Date: Mon, 28 Jun 1993 17:59:12 GMT In article <16BF8130B0.CCGREG@mizzou1.missouri.edu> CCGREG@mizzou1.missouri.edu (Greg Johnson) writes: > Has anyone tried to install nihcl (C++ Class Libraries) on a NeXT? > Yes. Not very successful. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Newsgroups: comp.sys.next.programmer From: thf@zelator.in-berlin.de (Thomas Funke) Subject: Re: TCP-IP Message-ID: <1993Jun28.180356.1622@gamelan> Sender: thomas@gamelan (thomas) Organization: Disorganization References: <1993Jun24.070146.26796@csus.edu> Date: Mon, 28 Jun 1993 18:03:56 GMT In article <1993Jun24.070146.26796@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: > In article <1993Jun24.011134.25880@leland.Stanford.EDU> > xinwei@otter.Stanford.EDU (Sha Xin Wei) writes: > >Where can I find documentation -- other than BSD 4.3 manuals ;) -- and sample > >source for a TCP-IP server under NS 3.x? > > Any source that covers BSD-style ("sockets") networking. There's > nothing remarkable about NeXT's implementation. > Try "W.R. Stevens, Unix network programming". The best book about this theme. -- ------------------------------------------------------------------ Thomas Funke ** Unix-Consultant ** thf@zelator.in-berlin.de The nice thing about standards is that there are so many of them to choose from. -- Andrew S. Tanenbaum
Newsgroups: comp.sys.next.programmer From: sladen@inrird.com Subject: sdmach arguments Message-ID: <C9E8H0.3Lz@inrird.com> Sender: news@inrird.com Organization: INRI Research & Development Date: Tue, 29 Jun 1993 17:26:59 GMT Does anyone know where I can find a list of the acceptable arguments to mach (acceptable things to put after b sdmach, e.g., -s for single user). A while back, I was having some trouble with zs0 overrun errors on the 2.1.2 kernel because I was running at 19200 with XON/XOFF and lots of display going on, and I got NeXT to provide me with a modified kernel with a resizable zs0 buffer (based on a command argument). They also promised to put the modification into 3.0. The new default size has worked fine until now, but things have changed and I am again getting zs0 recv buffer overrun errors. I no longer remember the option I could use to modify the buffer size. Is there a list anywhere that anyone has seen? Thanks in advance M. Sladen
From: kline@CS.Arizona.EDU (Nick Kline) Newsgroups: comp.sys.next.programmer Subject: Re: Matrix hastles Date: 29 Jun 1993 11:27:42 -0700 Organization: University of Arizona CS Department, Tucson AZ Sender: Nick Kline Message-ID: <20q1iu$5bk@cheltenham.cs.arizona.edu> References: <20a8f8$1s0@wave.aoml.erl.gov> In article <20a8f8$1s0@wave.aoml.erl.gov> powell@tropic.aoml.erl.gov (Mark Powell) writes: >I am currently working on a matrix in a scroll view. I would like to >define the area of the scroll view from IB, and then send a message to the >scroll view telling it what matrix it should attach. My scroll view is >recieving all of the proper messages, my matrix exists. It is even >resizing properly when I add new cells to it. However, it doesn't draw >itself. I have tried explicitly calling -display methods, sending >-drawCell: methods to my matrix, and a host of others. > >Has anyone else had this problem with getting a matrix to display >properly? (As an aside, I have, almost verbatim, the code for >ScrollDoodScroll in my definitions). > >Thanks in advance for your help. > I have almost exactly the same problem. I started out using scrolldoodscrool also. Here is my newEntry method: - newEntry:sender { [matrix insertRowAt: 0]; [matrix sizeToCells]; [[matrix cellAt:0 : 0] setStringValue: "junk"]; [matrix display]; [[matrix selectCellAt:0 : 0] sendAction]; /* select new cell */ return self; } it adds a row to the matrix. I insert a row at the start, resize the matrix set the string value to something so it will display redisplay the matrix select the 0th (top) cell. This works, but it looks funny. You can see the resizing going on. It resizes and moves in steps, instead of doing everything and letting the user see the change. Perhaps the methods should be reordered or perhaps I need to turn off updates to the window or something. Any ideas? thanks, nick kline@cs.arizona.edu
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc From: andersen@reality.glv.com (Robert Andersen) Subject: DBKit Adaptor Question Message-ID: <1993Jun29.175357.7972@glv.uucp> Sender: usenet@glv.uucp Organization: Encompass Date: Tue, 29 Jun 1993 17:53:57 GMT DBKit gives you the ability to create generic code for anything that has an associated adaptor. What I would like to know is how those adaptors work. I know that if you use Sybase's dblib calls you have to link in Sybase's libraries. How does DBKit dynamically get the database engine's libraries (Sybase, Oracle, etc)? -- Robert John Andersen andersen@reality.glv.com 919-460-3285 Voice 919-460-3295 Fax
From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: New concepts book for DBKit in 3.1 Developer docs Message-ID: <68877@mimsy.umd.edu> Date: 29 Jun 93 18:52:44 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 just in case somebody hadnt noticed. in the 3.1 developer docs, there is a Concepts book for DBKit that is at least 100 pages or so. I dont remember it being there in 3.0. Happy reading. -- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -------------------------------------------------------------- "Without an engaged and motivated human being at the keyboard, the computer is just another dumb box." William Raspberry
Newsgroups: comp.sys.next.programmer From: whiterock!glen (Glen Biagioni) Subject: Re: distributed objects: senderIsInvalid: notifications Message-ID: <1993Jun29.173946.1962@instep.wimsey.bc.ca> Sender: glen@instep.wimsey.bc.ca Organization: InStep Mobile Communications Inc. References: <C9DFMG.F9p@ubszh.net.ch> Date: Tue, 29 Jun 1993 17:39:46 GMT In article <C9DFMG.F9p@ubszh.net.ch> bsz@ubszh.net.ch(Binding Carl ) writes: > Hello netters, > I've started to fool around with distributed objects and promptly ran into > some problem with catching the death of a server. I have essentially > followed the instructions, i.e. registered an object to be notified > upon death of a connection > (-[NXConnection registerForInvalidationNotificaton:]) > The problem is: I never seem to get the senderIsInvalid: message > when I CTRL_C the server. > Worthwhile to mention might be the fact that I don't run this from > the appkit for the time being, just plain Mach tasks & threads. > Any pointers would be appreciated, > Cheers, > Carl > > -- > Carl Binding > LHIS/LHDD-BSZ > Union Bank of Switzerland > Flurstrasse 68 > CH-8048 Zurich > Switzerland > bsz@ubszh.net.ch In non-appkit programs, you must call the class method: [NXPort worryAboutPortInvalidation] to get notification. This starts a thread to perform the notification. Although not well documented, the senderIsInvalid: methods are called from this new thread. Thus your program must be carefully constructed as a multithreaded application. In particular, - you must call objc_setMultithreaded() before calling [NXPort worryAboutPortInvalidation] (well, maybe not. I haven't verified whether worryAboutPortInvalidation calls it for us) - your senderIsInvalid: method must call functions/methods and access data in a thread-safe manner. Whether or not Connections should be freed in senderIsInvalid: is a bit of a mystery. Maybe someone else can shed some light. The remoteSpot example program does free the invalidated connection. We find that if an object has been sent through the connection (ie. a proxy has been created in the server for a remote object) then we must free it or the connection never goes away. However, if no proxies have been generated, we can't free it since it gets freed automatically. Apparently the reference count is out of sync by one in one of the two cases. -- Glen Biagioni Software Developer glen@instep.wimsey.bc.ca (small NeXTmail accepted) 604 872-7116 604 872-7125 fax
From: gtaylor@vme.heurikon.com (Gregory Taylor) Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: Why is NT so slow? Message-ID: <2310@heurikon.heurikon.com> Date: 29 Jun 93 13:45:59 GMT References: <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> <RICE.93Jun28121100@kuwait.gdfwc3> <1993Jun28.182722.16463@pasteur.Berkeley.EDU> Sender: news@heurikon.heurikon.com Distribution: usa Organization: Heurikon Corporation, Madison, WI zabel@cory.Berkeley.EDU ( DAVID RAVEL ZABEL) writes: >I have the march beta NT release Installed on my system. >WHY IS NT SO SLOW??? Can anyone out there elucidate? a) Your copy is slow because you're not using it in the presence of Microslave marketing/testing 'droids who'll explain and fix everthang. Perhaps if you were a magazine or something, they'd swarm all over you like flies on sherbet. b) Your copy of NT is slow because Microsoft has worked long and hard to preserve the "look and feel" of their older products. It would be disrespectful to the earlier products if NT didn't imitate a 400-pound sea turtle [on the beach]. c) You made a tactical error in purchasing. As of now, the spotlight is on *Win4* [which will be fast and whizzy and the Next Near-Term Big Thing] rather than Windows NT (Needs Time). You weren't paying attention. Hey - look at these new Win4 features.... d) Haven't you been reading the press? Everyone knows that NT is fast and lean and mean and *not* a resource hog. e) Perhaps this is a manifestation of the ever popular "Berkeley Field Effect", whereby the system actually detects the presence of a malcontent [what did you think all that system overhead was *for* anyway? No ops?] and responds by slowing down accordingly. Think of it as a *very* slow Zen crash. f) (in best Chairman Bill voice) Is there a copy of Roger Tory Peterson's "A Field Guide to North American Songbirds" nearby? I thought so...." -- All the more beautiful in the concert hall with people in their fine clothes and yourself in the same place as the original music. The rest, I imagine, must be like the sound of a radio orchestra in the 1940s, Europe fiddling beneath the darkness and abandoned capital cities leaning into the sound as it becomes noise
Newsgroups: comp.sys.next.programmer From: joe@igor.tamri.com (Joe Carlson) Subject: A Utility for porting terminal-based apps to the NeXT Message-ID: <1993Jun29.201706.7576@igor.tamri.com> Organization: TOSHIBA America MRI, South San Francisco, CA Date: Tue, 29 Jun 93 20:17:06 GMT I've written a little utility program for getting a graphical window into an existing terminal-based app. The difficulty in porting a non-NeXT app to the NeXT and getting a graphics window is dealing with the appkit. This program is a utility for dealing with an existing program with a structure: main() ... do_some_setups(); ... read_command_line(); process_command_line(); ... draw_a_line_one_the_screen(); etc. As I see it, we can either (1) try to draw without the appkit (NOT!), (2) rewrite (in a pretty big way) the existing program to follow the NeXT standards (messy if you're dealing with updates on the main program) or (3) write a front end or back end program which forks a process and invokes a new program. It seems that many examples are given for #3 where you write an interface with IB, then communicate to the existing program. (i.e. MathPaper and it's friends in G&M). I've run into some programs where it seems better to do this the other way: the existing program is invoked from the terminal shell, then it forks a server program to open a window and do the drawing. In the example, the routine would just send a string "newpath 111 222 moveto 333 444 lineto stroke" to the servant which would then send it to the window server. There is minimal changes in the existing program, but you still have the advantages of a small NeXT interface (printing, saving .eps files...). Anyway, I've written something which may be useful to others and put it on sonata in /pub/next/submissions/DrawingServant.tar.Z The final program will not conform to the NeXT interface guidelines, but then again, the usefullness of this is for existing, multiplatform applications. I've also put on a previewer for Metafont in the same directory. A simple example of the utility of this. (p.s. anyone understand kermit? It would be nice to have a tektronix emulator for it; it might be easy using DrawingServant.) Code is copyrighted, but non-commercial redistribution is unrestricted. The lack of support is provided by: joe@ril3.tamri.com
Newsgroups: comp.sys.next.programmer From: shiva@vega.Stanford.EDU (Marcos Javier Polanco) Subject: Are you down with OPO? Other People's ObjectWare? Message-ID: <1993Jun29.214830.16169@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University Date: Tue, 29 Jun 93 21:48:30 GMT Hello, I am wondering if many of you have bought and integrated into your applications non-NeXT ObjectWare. Have you been happy with your experiences? -marcos j. polanco -shiva@vega.stanford.edu
Newsgroups: comp.sys.next.programmer From: hcole@zia.nrcabq.com (Howard R. Cole) Subject: Re: 3.1 User Upgrade and 3.0 Development Tools Message-ID: <C9EBrM.4AL@zia.nrcabq.com> Organization: Nichols Research Corp References: <1993Jun28.094708.69509@cc.usu.edu> Date: Tue, 29 Jun 1993 18:38:10 GMT Is 3.1 Developer Black being shipped yet?
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Re: 3.1 User Upgrade and 3.0 Development Tools Message-ID: <1993Jun30.011409.25769@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <C9EBrM.4AL@zia.nrcabq.com> Date: Wed, 30 Jun 93 01:14:09 GMT In article <C9EBrM.4AL@zia.nrcabq.com> hcole@zia.nrcabq.com (Howard R. Cole) writes: > Is 3.1 Developer Black being shipped yet? > Got it today. -- Magnus Nordborg magnus@fisher.stanford.edu (NeXT mail preferred) Department of Biological Sciences Stanford University Stanford, CA 94305-5020 +1 (415) 723-4952 (office)
From: da0g+@andrew.cmu.edu (David Apfelbaum) Newsgroups: comp.sys.next.programmer Subject: DBDatabase question Message-ID: <wgADZzW00WA7QpNUcm@andrew.cmu.edu> Date: 30 Jun 93 02:25:03 GMT Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA I'd like to use DBDatabase's method: - (BOOL)connectUsingString:(const unsigned char*)aString; to allow different users to connect to the database with different login-strings, ideally storing those strings in the defaults-database... However, connectUsingString: doesn't seem to work for me. Not even with NULL, which should result in the same thing as -connect. (Which does work...) Any ideas? (If it helps, I'm using 3.0..) -David Apfelbaum. P.S> It's not a total loss, the private-API method openUsingString: seems to do *EXACTLY* what I need... But, thats private API, and I'm _trying_ to avoid that if I can... (Trying... Not Succeeding... *sigh*)
Newsgroups: comp.sys.next.programmer From: dayglow@Csli.Stanford.EDU (Eric Ly) Subject: Terminal emulation question Message-ID: <1993Jun30.032942.7434@Csli.Stanford.EDU> Keywords: terminal,emulation,question Organization: Stanford University CSLI Date: Wed, 30 Jun 1993 03:29:42 GMT Hi All, Sometime ago, someone posted a fix for a problem that appears when you try to log in to a NeXT from a remote machine. If you log in remotely and do something like "ls" which outputs lots of text, it is as if the terminal outputs CRs but not LFs, and all the lines look staggered instead of being lined up straight. The fix involves adding some lines to .cshrc. If you have this fix, I would appreciate getting it from you. Please send me email, as I now infrequently check this newsgroup. Thanks for your help in advance. Eric ------------------------------------------------------------------- Eric Ly, student at large Center for the Study of Language and Information Stanford University
From: amunoz Newsgroups: comp.sys.next.programmer Subject: How modify mainMenu for each window??? Date: 29 Jun 1993 16:08:12 -0600 Organization: ITESM, Campus Monterrey Sender: root@mtecv2.mty.itesm.mx Distribution: alt Message-ID: <20qegc$1t5s@mtecv2.mty.itesm.mx> I'am doing an application which needs that for each window should be a different menu. I'm directly modifying the mainMenu, but I'm having problems because sometimes an option in the menu opens a new window, then i should change the main Menu but if i do it the application ends with an error. Another case of error is when i move from one window to another because the menu should be modify. How could i have a menu for each window and change it for the mainMenu each time that i move from one to another window or when i create a new window??? I appreciate any help. -=AML=-
From: nico@imani.cam.org (Nicolas Dore) Newsgroups: comp.sys.next.programmer Subject: Re: DDKit: Writing Video Drivers ? Message-ID: <1993Jun30.020635.4341@imani.cam.org> Date: 30 Jun 93 02:06:35 GMT References: <1993Jun29.143959.28827@sun0.urz.uni-heidelberg.de> Sender: nico@imani.cam.org In article <1993Jun29.143959.28827@sun0.urz.uni-heidelberg.de> l06@aixfile1.urz.uni-heidelberg.de (Gregor Hoffleit) writes: [munch, munch. Stuff about writing drivers] > The currently supported bit depths are 2-bit grayscale, 8-bit > grayscale, and 16-bit RGB (5-5-5 or 4-4-4). The width and height ^^^^^ Wich cards support this? It should give 32 thousand colors or so, vs 4 thousands for regular 16 bit. How does it deal with alpha compared to NeXT hardware? Anybody?... Also, any idea when 32 bits is coming? (maybe in 10-10-10? 8^) ) Ciao, and thanks > are device-dependent, but should be at least 640 x 480. [munch, munch] > > Gregor > > --------------- > gregor hoffleit > next user group heidelberg > flight@vogon.mathi.uni-heidelberg.de -- Nicolas Dore nico@imani.cam.org - - - - - - - - - CAREFUL! POLITICAL COMMENT ZONE!! - - - - - - - - - > "If I can't dance, I don't want to be in your revolution!" < > Emma Goldman (to Vladimir Ilitch Oulianov [Lenin], 1917) <
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: Colored Scroller backgrounds for positioning in Edit Message-ID: <1993Jun29.112623.2762@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <20n4iuINNg09@golden.kaleida.com> Date: Tue, 29 Jun 93 11:26:23 GMT In article <20n4iuINNg09@golden.kaleida.com> marcos@kaleida.com (Paul Marcos) writes: > In article <1993Jun28.011648.7520@lkba.uucp> uunet!lkba!lkb (Larry > Blische) writes: > > > > I've been thinking of a new positioning capability for Edit: > > The low tech approach: > > Use the rtf-compiler (is it still on the net?) and keep all your sources > in rtf format. Then create Markers in your source. Then either at the > top of your file, or in another file that you keep open all the time, > create a link button to point at your marker. Then the functions you want > are just a click away! > > It's low tech, but it works. > > Paul In a similar vein you could write a program that would scan a file for marker comments and present a browser then tell edit to go do a selected line number when the user selects a function from the browser. But I agree with gregory what I want is a real code browser like Smalltalk that is organized into classes and method categories and methods. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: making a panel stay in front Message-ID: <1993Jun29.113043.2818@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <20nonp$q4v@cheltenham.cs.arizona.edu> Date: Tue, 29 Jun 93 11:30:43 GMT In article <20nonp$q4v@cheltenham.cs.arizona.edu> kline@CS.Arizona.EDU (Nick Kline) writes: > > I have a panel which I want to stay at the front of all the windows in > my app. I have several things going on, and this is kind of a status > window. I am not interacting with it in a modal fashion. I know the > modal interaction does something to keep it in front of all the other > windows. > > I remember reading something about adjusting the window order or something > in the windowserver. That seems way too high level. > > Does anyone know the answer? > > Thanks, > > Nick > kline@cs.arizona.edu If you make it a "Panel" class rather than a window it will stay on top of all windows. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: harit@kripalu.com Subject: Re: DBKit - works/doesn't work Message-ID: <1993Jun29.113537.2877@uunet!cbmvax!xmws!kripalu> Sender: harit@uunet!cbmvax!xmws!kripalu Organization: Kripalu Center References: <C9CsHt.Fn3@sybase.com> Date: Tue, 29 Jun 93 11:35:37 GMT In article <C9CsHt.Fn3@sybase.com> brill@sybase.com (Michael Brill) writes: > It's only bandwidth... sorry. > > Turns out that I had to hard code: > > OTHER_OFILES=/NextLibrary/Adaptors/SybaseAdaptor.adaptor/SybaseAdapto r > > in MakeFile.preamble > > <sheesh> Warning! Don't ever leave NS for more than a couple of months - > you'll forget *everything* > > ...Michael That method works but there is a better way. Include the following line: OTHER_LDFLAGS = -u libNeXT_s -u libsys_s and any adaptors available will be loaded at run time. -- Michael Allen Latta Kripalu Center harit@kripalu.com (413)448-3288
Newsgroups: comp.sys.next.programmer From: sanguish@digifix.com (Scott Anguish) Subject: Re: Colored Scroller backgrounds for positioning in Edit Message-ID: <1993Jun30.064014.4730@digifix.com> Sender: sanguish@digifix.com (Scott Anguish) Organization: Digital Fix Development References: <1993Jun29.112623.2762@uunet!cbmvax!xmws!kripalu> Date: Wed, 30 Jun 1993 06:40:14 GMT harit@kripalu.com writes > In a similar vein you could write a program that would scan a file > for marker comments and present a browser then tell edit to go do a > selected line number when the user selects a function from the > browser. > > But I agree with gregory what I want is a real code browser like > Smalltalk that is organized into classes and method categories and > methods. It seems like this is alot like HeaderViewer.app now, except that we can't edit, and that it relies on precompiled headers for the parsing. Just 3.1 compatible RTF compiling would be fantastic. -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions)
Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer From: cliffga@microsoft.com (Clifford Garrett) Subject: Re: Why is NT so slow? Message-ID: <1993Jun30.051814.4858@microsoft.com> Date: 30 Jun 93 05:18:14 GMT Organization: Microsoft Corp. References: <1993Jun28.182722.16463@pasteur.Berkeley.EDU> <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> <RICE.93Jun28121100@kuwait.gdfwc3> Distribution: usa /I have the march beta NT release Installed on my system. / / System: 486/66 / UltraStore 34f SCSI adapter / 1.2 gig micropolis 2112 SCSI HD (10 ms seek) / 16 megs RAM / ATI Ultra pro running 1280x1024 / (I have also used an ET4000 & an S3--no speed diff.) There really should be a difference. The et4000 is a non-accelerated VGA. The S3 is pretty darn good ( caching of bitblts ect... ) The ATI is a bit slower than the S3, but has high color capabilities. / /WHY IS NT SO SLOW??? Can anyone out there elucidate? /-------------------- / /Will the official release be faster? The release will be many times faster in many areas. Cliff ( my opinions... )
Newsgroups: comp.sys.next.programmer From: lerche@nxth01 (Wolfgang Lerche) Subject: csplit for NeXT Message-ID: <1993Jun30.095128.9175@dxcern.cern.ch> Keywords: csplit Sender: news@dxcern.cern.ch (USENET News System) Organization: CERN European Lab for Particle Physics Date: Wed, 30 Jun 1993 09:51:28 GMT Did anybody compile csplit for the NeXT ? Where could I get it ? W. Lerche Div TH, CERN, Geneva, Switzerland
Newsgroups: comp.sys.next.programmer From: joc@ubszh.net.ch Subject: 3D, RenderMan, Pixar, 3DKit Content-Type: text/plain Message-ID: <joc.93Jun3022134@nol502> Sender: usenet@ubszh.net.ch (news) Organization: Union Bank of Switzerland Mime-Version: 1.0 Date: Wed, 30 Jun 1993 01:21:34 GMT Did anyone heard something about palettes for the N3Dkit (the NeXT framework for Pixars RenderMan). NeXTStep forever! Charles Union Bank of Switzerland Charles Johler LHIS/LHDD-JOC Flurstrasse 68 CH-8048 Zurich Switzerland phone: +41 1 236 38 64 fax: +41 1 236 84 04 RFC822: joc@ubszh.net.ch (NeXT-Mail ok) X.400: charles.johler@zh001.ubs.ubs.arcom.ch
From: mcgredo@nntp.crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Re: nihcl on NeXT? Date: 29 Jun 1993 11:13:11 -0700 Organization: CRL Internet Dialup Access (415-389-UNIX login: guest) Message-ID: <20q0nn$3ls@crl.crl.com> References: <16BF8130B0.CCGREG@mizzou1.missouri.edu> <1993Jun28.175912.1512@gamelan> In article <1993Jun28.175912.1512@gamelan> thf@zelator.in-berlin.de (Thomas Funke) writes: >CCGREG@mizzou1.missouri.edu (Greg Johnson) writes: >> Has anyone tried to install nihcl (C++ Class Libraries) on a NeXT? >> >Yes. Not very successful. > Ditto. Some guys in Germany have supposedly gotten NIHCL working with a 1.x version of gcc, but 2.x gcc versions are supposed to be a Big Deal to get running. Some guys at Cygnus were considering trying a port, but I don't know how actively they're considering it. -- Don McGregor | "We're being governed by a dorm room bull mcgredo@crl.com | session." --PJ O'Rourke
Newsgroups: comp.sys.next.programmer From: ganek@apollo.hp.com (Daniel E. Ganek) Subject: HSD Fax Modem Problems Sender: usenet@apollo.hp.com (Usenet News) Message-ID: <C9Ft5G.K7@apollo.hp.com> Date: Wed, 30 Jun 1993 13:51:16 GMT Distribution: usa Organization: Hewlett-Packard Corporation, Chelmsford, MA Well, I gave up on the ZoomFax modem and got an HSD FaxModem (used). Everything I have heard and read said that it'll "just work". Well, it didn't. Under NS2.1 I configured according to the instructions (hsd and Next's) the modem went in-line (DTR) but when I tried to fax I got an error dialog which said that the fax sw failed and that I should restart the computer. I did, the same thing happened. The console.log said !! No such device !! Wakeup pipe (or something very close to this) Any ideas? /dan ganek ganek@apollo.hp.com
From: lisag@ac.dal.ca Newsgroups: comp.sys.next.programmer Subject: NXBrowser- Double click won't work !!!!??? :( Message-ID: <1993Jun30.104236.14704@ac.dal.ca> Date: 30 Jun 93 10:42:36 -0300 Organization: Dalhousie University, Halifax, Nova Scotia, Canada HI..I have a problem getting the NXBrowser to reconze a double click on one of its cells......only a single click is working..HELP Anthony Grandy Burchill Communication Reearch Group lisag@ac.dal.ca grandyaw@newton.ccs.tuns.ca
From: matomira@di.epfl.ch (Fernando Mato Mira) Newsgroups: comp.unix.wizards,comp.unix.misc,comp.unix.questions,comp.unix.programmer,comp.sys.next.programmer Subject: Any Next system functions reimplemented somewhere? Date: 30 Jun 1993 15:19:08 GMT Organization: Ecole Polytechnique Federale de Lausanne Distribution: world Message-ID: <20satc$h5u@disuns2.epfl.ch> Does anybody now of a public implementation of easily portable NeXT system functions like the ones involving NXZones, NXStreams and reading and writing of Objective-C instances? Thanks in advance. -- Fernando D. Mato Mira Computer Graphics Lab "There is only one Language Swiss Federal Institute of Technology and McCarthy is its prophet" matomira@di.epfl.ch FAX : +41 (21) 693 - 5328 Disclaimer: disclaim([],[]). disclaim([H|T],[DH,DT]) :- fixed_point_disclaimer(H,DH), disclaim(T,DT). fixed_point_disclaimer(Text,fixed_point_disclaimer(Text,_)).
Newsgroups: comp.sys.next.programmer From: dave@prim.demon.co.uk (Dave Griffiths) Subject: Re: Colored Scroller backgrounds for positioning in Edit Organization: Primitive Software Ltd. References: <m2osfhINNnqr@news.bbn.com> <20jm6eINN7a@theborg.stack.urc.tue.nl> Date: Wed, 30 Jun 1993 12:28:05 +0000 Message-ID: <1993Jun30.122805.29057@prim> Sender: usenet@demon.co.uk In article <20jm6eINN7a@theborg.stack.urc.tue.nl> rcbaab@urc.tue.nl writes: >In article <m2osfhINNnqr@news.bbn.com> aking@bbn.com (Allen King) writes: >> I've been thinking of a new positioning capability for Edit: >> One problem with any editor is getting to the correct place in the file >> quickly. Edit's Scrollers work admirably, but one relies on memory to figure >> out how far down the buffer the desired section is. I'm thinking of a neat >hack >> in which the background of the scroller would be colored to show where the >> various areas of my program were located. > >The really proper solution: >Having a inspector in which there is a ScrollView showing you all >methods/instances/functions etc in that particular file. Once you dubbl'click >such an item one would immediately get to that position in the file. Perhaps >there are some people here who have programmed in THINK Pascal on the Mac >remember the feature that a menu containg all procedure declarations popped >down once you command-clicked on the title-bar of an edit window? That was a >really neat feature. > >One big disadvantage of using colours is that I, who happens to like to program >only on black and white screens if possible, the proud owner of a MegaPixel >display doesn't see those colours. I've also got a b&w screen, but I don't think we should extend our disadvantage to everybody. Colour is a rich source of information, and if people want to make use of it in the UI they should be able to. I like Allen's suggestion - it sounds fast and intuitive and involves less clutter on the screen. It could also be extended to other types of file besides C sources. As for extending the functionality of Edit - can't be done, at least not using ld or any other "clean" mechanism. Most applications on the NeXT are fossils, not organic living things. Dave Griffiths
Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer From: pyeatt@Texaco.com (Larry D. Pyeatt) Subject: Re: Why is NT so slow? Message-ID: <1993Jun30.145758.27152@texhrc.uucp> Sender: news@texhrc.uucp Organization: Texaco References: <1993Jun28.182722.16463@pasteur.Berkeley.EDU> <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> <RICE.93Jun28121100@kuwait.gdfwc3> <1993Jun30.051814.4858@microsoft.com> Distribution: usa Date: Wed, 30 Jun 1993 14:57:58 GMT In article <1993Jun30.051814.4858@microsoft.com>, cliffga@microsoft.com (Clifford Garrett) writes: |> |> The release will be many times faster in many areas. Which release? Version 10.0? -- Larry D. Pyeatt This article does not reflect the views ( pronounced "Johnson" ) of my employer or of myself. Any simi- Internet : pyeatt@texaco.com larity to the views of anyone, real or Voice : (713) 975-4056 fictional, is purely coincidental.
From: matomira@di.epfl.ch (Fernando Mato Mira) Newsgroups: comp.sys.sgi.misc,comp.unix.wizards,comp.unix.programmer,comp.sys.next.programmer Subject: Porting from Mach to IRIX? Date: 30 Jun 1993 16:27:07 GMT Organization: Ecole Polytechnique Federale de Lausanne Distribution: world Message-ID: <20sesr$h5u@disuns2.epfl.ch> What would be a good methodology for reimplementing an application using port-based communication and threads in IRIX 4.0.5 ? What about 5.0.1? Thanks. -- Fernando D. Mato Mira Computer Graphics Lab "There is only one Language Swiss Federal Institute of Technology and McCarthy is its prophet" matomira@di.epfl.ch FAX : +41 (21) 693 - 5328 Disclaimer: disclaim([],[]). disclaim([H|T],[DH,DT]) :- fixed_point_disclaimer(H,DH), disclaim(T,DT). fixed_point_disclaimer(Text,fixed_point_disclaimer(Text,_)).
Newsgroups: comp.sys.next.programmer From: magnus@fisher.Stanford.EDU (Magnus Nordborg) Subject: Re: nihcl on NeXT? Message-ID: <1993Jun30.173957.12382@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSO, Stanford University References: <20q0nn$3ls@crl.crl.com> Date: Wed, 30 Jun 93 17:39:57 GMT CCGREG@mizzou1.missouri.edu (Greg Johnson) writes: > Has anyone tried to install nihcl (C++ Class Libraries) on a NeXT? If you check out the G++-FAQ's (posted regularly to gnu.g++.help and comp.lang.c++) you will find the answer, which is: No, gcc does not compile NIHCL, but Cygnus Support is working on it. This is gcc-related, not NeXT-related. -- Magnus Nordborg magnus@fisher.stanford.edu (NeXT mail preferred) Department of Biological Sciences Stanford University Stanford, CA 94305-5020 +1 (415) 723-4952 (office)
From: david@postman.gr.osf.org (David George) Newsgroups: comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.tools,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: Why is NT so slow? Date: 30 Jun 1993 15:58:34 GMT Organization: Mercenary Software Inc. Distribution: usa Message-ID: <20sd7a$134@paperboy.osf.org> References: <RICE.93Jun24115622@kuwait.gdfwc3> <1993Jun24.203607.16617@CSD-NewsHost.Stanford.EDU> <RICE.93Jun28121100@kuwait.gdfwc3> <1993Jun28.182722.16463@pasteur.Berkeley.EDU> <2310@heurikon.heurikon.com> |> zabel@cory.Berkeley.EDU ( DAVID RAVEL ZABEL) writes: |> >WHY IS NT SO SLOW??? to make the MTBF acceptable, I guess, David.
From: marcel@cs.tu-berlin.de (Marcel Weiher) Newsgroups: comp.sys.next.programmer Subject: Re: Colored Scroller backgrounds for positioning in Edit Date: 30 Jun 1993 18:09:17 GMT Organization: Technical University of Berlin, Germany Message-ID: <20sksd$2rn@news.cs.tu-berlin.de> References: <1993Jun29.112623.2762@uunet!cbmvax!xmws!kripalu> <1993Jun30.064014.4730@digifix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit sanguish@digifix.com (Scott Anguish) writes: > Just 3.1 compatible RTF compiling would be fantastic. Not pretty, but... in you Makefile: .c.o: rtf-ascii <$< > $<.ascii.c $(CC) $(CFLAGS) -I. -c $<.ascii.c -o $(OFILE_DIR)/$*.o rm $<.ascii.c .m.o: rtf-ascii <$< > $<.ascii.m $(CC) $(CFLAGS) -I. -c $<.ascii.m -o $(OFILE_DIR)/$*.o rm $<.ascii.m I'd rather have it use pipes, but this worked in under 5 minutes and I stopped trying. Marcel
From: David Apfelbaum <da0g+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: DBDatabase question Date: Wed, 30 Jun 1993 14:15:00 -0400 Organization: Sponsored account, Mathematics, Carnegie Mellon, Pittsburgh, PA Message-ID: <YgARUY_00WA70vZFIG@andrew.cmu.edu> In-Reply-To: <wgADZzW00WA7QpNUcm@andrew.cmu.edu> Oops... Nevermind... DBDatabase's -openUsingString: seemed to work, because I had previously performed a -open method inside gdb, which, like connect, had the side-effect of dynamically loading the oracle-adaptor code/classes/etc... The correct way to do this -- to get the behavior I expected of -connectUsingString: -- is to do: [dbDatabase connectUsingAdaptor:[dbDatabase defaultAdaptorName] andLoginString:((connectString == NULL) ? [dbDatabase defaultLoginString] : connectString)]; (And test to see that the return value != NO.... ) where dbDatabase is a instance of DBDatabase obtained through: dbDatabase = [DBDatabase findDatabaseNamed:"MyDatabaseModel" connect:NO]; Sorry for wasting the bandwidth... (& if it helps, remember I'm using 3.0... (I have no idea what 3.1 might have added/fixed...)) -David.
From: sfurth@dc.shl.com (Stephen Furth) Newsgroups: comp.sys.next.programmer Subject: Printing and FAXing from Command Line - How? Date: 30 Jun 1993 20:16:19 GMT Organization: SHL Systemhouse Inc. Message-ID: <20ssajINNosh@technet1.shl.com> Keywords: print fax shell script command We are trying to do two things that we do not know how to do. We have a plain ASCII text report that is written to a file that is produced by a C program. It will be run by CRON each night. We need to do the following three things with it; 1. Mail it to a distribution list. 2. FAX it to those people who do not have E-Mail access. 3. Print it out on the printer in Landscape mode. We know how to do #1. We do not know how to do #2 and #3 from inside of a shell script (that is what will be run by CRON). As far as we know, we cannot use the methods and objects for printing and FAXing text objects, due to the fact that the program that produces the report will be run by CRON, and at a time the the Window Manager may not be up (ie no one will be logged in). The net result is that we need to find a way to do all three of the things above from a UNIX command prompt, not from in the middle of a NextStep app. We know how to do #1, but not the other two. Anybody have any ideas? -- Stephen M. Furth | Systemhouse, Inc. Technical Architect | 1010 North Glebe Road Mid-Atlantic Region - DC Office | Arlington, VA 22201 Internet: sfurth@dc.shl.com | Voice: (703) 284-4800 x388 or: sfurth@shl.com | Fax: (703) 524-4782
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.