HDTenEightyP/NetNews huggingface dataset:
From: krab@iesd.auc.dk (Kresten Krab Thorup)
Subject: PD preprocessor obj-c?
Organization: Mathematics and Computer Science, Aalborg University
Distribution: comp
Date: 7 Nov 92 15:53:46

Hi.

I was told, that a PD obj-c exists, implemented as a preprocessor (for
C).  I am not talking about gcc, and it may implement an old
definition of the language... Any help available?

Thanks

/Kresten
--
Kresten Krab Thorup, DAT3, D2-117 |       /   | E-mail : krab@iesd.auc.dk
Institute of Electronic Systems   |   ,-'/(   | S-mail : Sigrid Undsetsvej 234A
Aalborg University                |  /  |  \  |          9220 Aalborg \O
Fr. Bajers vej 7, 9220 Aalb. \O   |  A  U  C  |          98 15 18 44
-------------------------------------------------------------------------------
           Member of the LPF - The League for Programming Freedom
Newsgroups: comp.lang.objective-c,gnu.gcc.help
From: carroll@ori.cis.udel.edu (Mark C. Carroll)
Subject: GCC 2.3 Objective-C init?
Organization: University of Delaware, Newark
Date: Thu, 5 Nov 1992 18:32:07 GMT

Greetings!

I just obtained the GNU gcc-2.3, which includes runtime support for
Objective-C. Unfortunately, in trying it out on some major objective-C
code that I've been working on, I discovered that class Object does
_not_ implement an init method! 

I'm wondering how I'm supposed to insure that my objects are initialized.
Can I assume that the initialization of an object (ie, setup of the isa
fields and so forth) is properly performed in the alloc call?

	<MC>

-- 
|| Mark Craig Carroll: <MC>     ||"If love remains
|| Univ of Delaware, Dept of CIS|| Though everything is lost
|| Grad Student/Labstaff Hacker || We will pay the price
|| carroll@udel.edu             || But we will not count the cost" -Neil Peart
Xref: sparky comp.lang.objective-c:667 comp.sys.amiga.programmer:15754
From: Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.lang.objective-c,comp.sys.amiga.programmer
Subject: GNU Objective C questions
Date: Thu, 12 Nov 92 15:24:54 PST
Organization: The Portal System (TM)
Distribution: world

Yesterday, I wrote

>
>2) Is there a way to make the compiler simply generate the translation
>   from Obj-C to C code and stop? (I'd RTFM, but we've got no FM.) 
>   (So where can I get an FM? :->)
>
>
>3) Steve Naroff is listed as the author of the GNU Obj-C compiler.
>   Does anyone have his email address? 
>
>
>Note: I know the current GCC Objective-C compiler does not have the
>      Obj-C runtime library.  That's ok.  I'm not trying to really
>      create executables, I'm studying how the Obj-C compiler works.
>      I need headers and source files to use as data to feed the
>      compiler so I can watch its inner workings.
>
>
>Thanks!
>
>Lee         Lee_Robert_Willis@cup.portal.com

A few people have emailed me saying that the latest GCC has a runtime
library.  

Thank you for you taking the time to email me to answer my newbie questions,
but as I said in the above note, I don't want to create executable Obj-C
code, I want to hack on the compiler.  (To make it bend to my own nefarious
purposes :->)

Therefore, my questions 2 & 3 still stand.

Someone emailed me the GNU OBj-c header file.  To that person: Thank You!

Lee      Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.lang.objective-c
From: gordie@yamanote.dolphin.com (Gordie Freedman)
Subject: What good books are there on advanced Obj-C
Reply-To: gordie@yamanote.dolphin.com
Organization: Dolphin Software
Date: Sat, 7 Nov 1992 07:56:16 GMT

Are there any recommended texts about advanced Objective C concepts? Also,  
are there any references for projects/platforms/etc. using Objective C,  
and which platforms compilers and related tools are available for?

Thanks in advance.
-- 
Gordie Freedman gordie@yamanote.dolphin.com   ->   NextMail encouraged
(Disclaimer: Opinions expressed are my own and represent no one else.)

Newsgroups: comp.lang.objective-c,comp.lang.smalltalk,comp.object
From: krab@iesd.auc.dk (Kresten Krab Thorup)
Subject: Re: Smalltalk Interface to Objective-C (Product Announcement)
Organization: Mathematics and Computer Science, Aalborg University
Date: 11 Nov 92 16:42:13

>>>>> On Tue, 10 Nov 92 21:05:16 PST, lozinski@cup.portal.com (Christopher A Lozinski) said:
Chris>      The product is currently shipping under Microsoft Windows.  It
Chris> comes bundled with the Borland Extensions to Objective-C.  For
Chris> further information please send your postal address, telephone
Chris> number, and preferred platform to:

Is Borland C 3.1 shipped with an obj-c extension, really?  

/Kresten
--
Kresten Krab Thorup, DAT3, D2-117 |       /   | E-mail : krab@iesd.auc.dk
Institute of Electronic Systems   |   ,-'/(   | S-mail : Sigrid Undsetsvej 234A
Aalborg University                |  /  |  \  |          9220 Aalborg \O
Fr. Bajers vej 7, 9220 Aalb. \O   |  A  U  C  |          98 15 18 44
-------------------------------------------------------------------------------
           Member of the LPF - The League for Programming Freedom
Xref: sparky comp.lang.objective-c:666 comp.sys.next.programmer:7169
From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz)
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer
Subject: Re: Seeking Objective-c prettifier
Date: 12 Nov 92 04:31:44 GMT
Organization: Stanford Linear Accelerator Center

>>>>> On 11 Nov 92 16:42:19 GMT, lebay@mercury.cl.msu.edu (Jim LeBay) said:

> In article <1992Nov7.191231.2637@netcom.com> garylang@netcom.com (Gary  
> Lang) writes:
>> "Anyone have or know of an Objective-C prettifier?"
>> 
>> man indent. It's actually not too bad...
>> 
>> -g

> Well, it's better than cb, but not much, for one big reason:

>    BUGS
>       Indent doesn't accept Objective-C style (//) comments.

> How *could* they leave that out?!?!

   My solution is simply not to use the Objective-C (and C++) style
comments (//).   Then I can happily use the current indent.   For me,
it is not a perfect solution, but the "least worst" solution.

--
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.lang.objective-c,news.answers
From: jwh@citi.umich.edu (Jim Howe)
Subject: Re: Smalltalk Interface to Objective-C (Product Announcement)
Date: Wed, 11 Nov 92 15:18:38 EST
Organization: IFS Project, University of Michigan
Reply-To: jwh@citi.umich.edu

In article <69283@cup.portal.com>, lozinski@cup.portal.com (Christopher A Lozinski) writes:
|> PRODUCT ANNOUNCEMENT
|> 
|>      The Smalltalk Interface to Objective-C makes Objective-C
|> objects look like Smalltalk objects.  The interface is based on the
|> simple concept that every remote Objective-C class and instance can
|> be represented by a local Smalltalk proxy object.  Messages sent to a
|> local Smalltalk proxy object are transparently forwarded to the
|> actual Objective-C object it represents, and the results are returned
|> as Smalltalk objects.  To the Smalltalk developer, there are just
|> Smalltalk messages being sent to Smalltalk objects.  To the
|> Objective-C developer, there are just Objective-C messages being sent
|> to Objective-C objects.  The net result is that the two languages are
|> very smoothly integrated.  
|> 

Is communication one-way or two-way?  For example, can a Smalltalk
method call an Objective-C method which in turn calls a Smalltalk
method?


James W. Howe                  internet: jwh@citi.umich.edu
University of Michigan             uucp: uunet!mailrus!citi.umich.edu!jwh
Ann Arbor, MI   48103-4943         
Xref: sparky comp.lang.objective-c:671 comp.lang.smalltalk:2304 comp.object:4234
From: lozinski@cup.portal.com (Christopher A Lozinski)
Newsgroups: comp.lang.objective-c,comp.lang.smalltalk,comp.object
Subject: Re: Smalltalk Interface to Objective-C (Product Announcement)
Date: Sun, 15 Nov 92 17:25:00 PST
Organization: The Portal System (TM)
Distribution: world

The following question was asked about the Smalltalk Interface 
to Objective-C
>Is communication one-way or two-way?  For example, can a Smalltalk
>method call an Objective-C method which in turn calls a Smalltalk
>method?

Yes, two way communication is supported.  Smalltalk already allows
callbacks from Objective-C.  BPG is working to build on that service
to allow event notification where Smalltalk clients will be notified
about significant events in the Objective-C server.  


Christopher Lozinski
Newsgroups: comp.lang.objective-c,news.answers
From: alex@cs.umd.edu (Alex Blakemore)
Newsgroups: comp.lang.objective-c
Subject: Re: Sample Objective-C programs
Date: 7 Nov 92 04:48:47 GMT
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742

In article <1992Nov4.164559.14064@miavx1.acs.muohio.edu> jkiper@jkcube.aps.muohio.edu (Jim Kiper) writes:
>  I am beginning to learn Objective C.  I would like
> to find some sample programs to help. 

there are plenty of good sources - though too few in book format yet shipping:

  look in the NeXTDeveloper/Examples directory (you may have to install it from CD)
  look all over the archives such as sonata.cc.purdue.edu
  get the NeXT Educational CD from NeXT for $25
  get the free OObjC and appkit tutorial UHOOP from the above archives
  get the IBtutorial from the same place
  read the release notes and concepts docs



-- 
---------------------------------------------------
Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
Newsgroups: comp.lang.objective-c
Subject: Sample Objective-C programs
From: jkiper@jkcube.aps.muohio.edu (Jim Kiper)
Date: 4 Nov 92 16:45:57 -0500
X-Newsreader: TIN [version 1.1 PL6]

 I am beginning to learn Objective C.  I would like
to find some sample programs to help.  I could use
very simple ones, or more complicated ones that have
a nice interface.  I am using a Next as my platform.
Thanks.
Jim Kiper
jkiper@jkcube.aps.muohio.edu
 
Xref: sparky comp.lang.objective-c:663 comp.sys.next.programmer:7150
From: lebay@mercury.cl.msu.edu (Jim LeBay)
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer
Subject: Re: Seeking Objective-c prettifier
Date: 11 Nov 92 16:42:19 GMT
Reply-To: lebay@msu.edu
Organization: Michigan State University

In article <1992Nov7.191231.2637@netcom.com> garylang@netcom.com (Gary  
Lang) writes:
> "Anyone have or know of an Objective-C prettifier?"
> 
> man indent. It's actually not too bad...
> 
> -g

Well, it's better than cb, but not much, for one big reason:

   BUGS
      Indent doesn't accept Objective-C style (//) comments.

How *could* they leave that out?!?!

--
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!   *=*=*
Xref: sparky comp.lang.objective-c:664 comp.sys.amiga.programmer:15710
From: Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.lang.objective-c,comp.sys.amiga.programmer
Subject: GNU Objective C questions
Date: Wed, 11 Nov 92 15:38:27 PST
Organization: The Portal System (TM)
Distribution: world


GCC Objective-C Questions:

1) My copy of GCC (2.2) did not come with any Objective-C headers.
   I thought at least <objc.h> was required.  
   
   A) Do I need any Obj-C specific headers?
   
   B) If so, where can I find these headers? 


2) Is there a way to make the compiler simply generate the translation
   from Obj-C to C code and stop? (I'd RTFM, but we've got no FM.) 
   (So where can I get an FM? :->)


3) Steve Naroff is listed as the author of the GNU Obj-C compiler.
   Does anyone have his email address? 


Note: I know the current GCC Objective-C compiler does not have the
      Obj-C runtime library.  That's ok.  I'm not trying to really
      create executables, I'm studying how the Obj-C compiler works.
      I need headers and source files to use as data to feed the
      compiler so I can watch its inner workings.


Thanks!

Lee         Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.lang.objective-c,news.answers
From: jorge@erex.East.Sun.COM (Jorge Lach - Sun BOS Hardware)
Newsgroups: comp.lang.postscript
Subject: Watermark/Draft Program
Date: 12 Nov 1992 14:37:52 GMT
Organization: Sun Microsystems Inc. - BDC
Distribution: world
Reply-To: jorge@erex.East.Sun.COM
NNTP-Posting-Host: erex.east.sun.com

I'm looking for a program that will print a "watermark" accross every page of
a postscript file. I am using one now, but it's got a few problems/limitations:
	(1) It does only single line watermarks; doing 2 or more lines, if possible
	    with different font size would be better
	(2) It does only block (i.e. outline) characters; I'm looking for something
	    that will do solid gray characters; color watermark is even better
	(3) It uses "sed" to process the input file. Now, my source has an EPS insert,
	    and it seems to come from a non-Unix system (PC?). Seems like CR's are
	    missing; it prints OK, but sed complains about "line too long" and dies,
	    truncating the file. I've had to go around this using other arcane edit
	    methods... So, if the program doesn't use sed or something else relying
	    on Unix's line lenght, the better

Please respond to me by e-Mail, as I read news every once in a while. Thanks


Jorge Lach
Sun Microsystems Computer Corp.
East Cost Division

jorge.lach@Sun.com
jorge@erex.East.Sun.com
Newsgroups: comp.lang.postscript
From: henry@trilithon.mpk.ca.us (Henry McGilton)
Subject: Re: halftoning spot function
Organization: Trilithon Software
Date: Thu, 5 Nov 1992 17:40:48 GMT

    *  In article <1992Nov1.212253.16619@gandalf.UMCS.Maine.EDU>  
fishboy@gandalf.UMCS.Maine.EDU (Jon Everett) writes:
    *  >
    *  >Question:
    *  >
    *  >Can anyone provide a decent explanation of how
    *  >the 'spot function' works in halftoning?  From what I have
    *  >read in the Adobe Books, the function is supposed to take
    *  >x,y coordinates of a pixel in the halftone cellbox as arguments.
    *  >To me this is counter-intuitive. I would expect it to take a
    *  >gray value as input and return the bitmap of the cellbox.
    *  >Can anyone provide, or point me to, a fuller explanation of 
    *  >the spot function's operation and its palce in the larger 
    *  >context of halftoning?  I would like to be able to explicitly
    *  >define the order in which the pixels in a cellbox of a given
    *  >size are turned on.

Take a look at ``Adobe Accurate Screens'', by Peter Fink,
 page 63ff for information on spot functions.  

Also see chapter 13 of ``PostScript by Example'' by
Henry McGilton and Mary Campione, from Addison-Wesley,
now in all reputable bookstores near you.

	........  Henry
Newsgroups: comp.lang.postscript
From: les@chinet.chi.il.us (Leslie Mikesell)
Subject: Re: How do I recognize postscript from a file
Organization: Chinet - Public Access UNIX
Date: Wed, 11 Nov 1992 21:53:13 GMT

In article <2127@shaman.wv.tek.com> andrew@frip.wv.tek.com writes:

>Ideally, PostScript jobs are transmitted through media which provide
>for out-of-band notification of control information such as
>end-of-file.  This is the case for AppleTalk and TCP/IP (and note that
>you'd better not send a control-D through these networks!), but not for
>serial and parallel, so these latter must use an in-band EOF indicator
>which is not part of the language.

Then wouldn't it have been a good idea to make ^D equivalent to white
space in postscript so the same data stream would work everywhere?
That way the ^D's needed to make serial/parallel connections work
(I'd guess the large majority) would be as innocuous as linefeeds
or carriage returns added by some systems for other reasons when they
are passed through the transmission media.  Instead we now have to make
the application aware of how the data is going to be transmitted to the
device in order to accomodate the most likely case where the application
must supply the ^D.  Programs that encapsulate postscript or add instructions
to the beginning would still need to strip off ^D's in case the actual
transmission is through a serial or parallel link, but that's trivial for
a special purpose program anyway.

Les Mikesell
  les@chinet.chi.il.us
From: yding+@pitt.edu (Yijun Ding)
Newsgroups: comp.lang.postscript
Subject: question: Laserjet with postscript
Date: 13 Nov 92 01:09:44 GMT
Organization: University of Pittsburgh

We have a LaserJet II equipped with a postscript cartridge.  Locally, 
it works fine with WP.  But it seems always gives "PS ERROR 18" for 
whatever files I got from other source, example, ps file generated
on our mainframe computer.  I also have postscript files from some
ftp site which is printed fine on our mainframe, but can't be print on
the Laserjet PS.

Anyone has any ideas?  With appreciations, 

-- 
//Yijun Ding, Pittsburgh //Go your way, be happy.
From: terry@eece.ksu.edu (Terry Hull)
Newsgroups: comp.lang.postscript
Subject: lpd filter
Date: 6 Nov 1992 15:13:25 GMT
Organization: Kansas State University
NNTP-Posting-Host: ralph.eece.ksu.edu
Keywords: lpd filter accounting

I have a HPIIIsi attached to a Sun IPC and I need a good printer filter
to manage the printer and to do printer accounting.  We have psf3.5 and 
have found that it works fine when we send it ascii, but it always acts
like it can't get status from the printer when we send it preformatted
PostScript.  My assistant has spent many hours working on this filter, but
just cannot seem to get it to work correctly in our environment.  Is anyone
successfully using this filter to do accounting?  Is there a better filter
out there?  Any pointers would be appreciated.  


--
Terry Hull  -  terry@eece.ksu.edu
Department of Electrical and Computer Engineering, Kansas State University
Newsgroups: comp.lang.postscript
From: cleary@damon.ccs.northeastern.edu (Michael Cleary)
Subject: where find LaserPrep for macps?
Organization: College of Computer Science, Northeastern University
Distribution: na
Date: Tue, 10 Nov 1992 21:51:36 GMT


I'm having trouble printing a postscript file (created on a Mac) on a unix
printer.  Our version of Ultrascript complains about the setmatrix command.
Macps was described in the FAQ, so I ftp'd it.  However, the instructions in
the distribution for creating the LaserPrep file don't match my experience on
my Mac.  The primary problem is that I can't find a LaserPrep file.  I've seen
other postings referring to "the LaserPrep wars" but I haven't found concrete
info on the subject.

The man page for macps says:

     The input PostScript file is generated  on  a  Macintosh  by
     typing  (and  holding)  Command-F immediately after clicking
     the  OK  button  of  the  LaserWriter  printer  dialog  box.
     Another  dialog  will  appear,  confirming that a file named
     ``PostScript'' is being created (the Command-F keys  can  be
     released now).

When using system 7 and Word 5.0, (1) the print dialogue box has a button for
printing to postscript files and (2) Command-K doesn't have any effect (no
"LaserPrep" or "PostScript" file is created anywhere on the disk).  Command-K
has no effect even when printing the document to a printer.  I've also tried
this in Claris MacDraw with the same results (where Command-K is bound to a
MacDraw function).  I suspect that this version of macps was created before
the 'output to postscript file' option appeared on Macs.  What do we do now?

Can anyone suggest another source of information or another way to create a
LaserPrep file?  Or perhaps a different way to get recalcitrant Mac postscript
files to print on a unix postscript printer?

Thanks,  Mike
--
Michael Cleary                             Internet: cleary@ccs.northeastern.edu
Offices: College of Computer Science, 53CN * Robotic & Vision Systems Lab, 357DA
Phones:  (617) 437-4607                    * (617) 437-5242
Northeastern University, 360 Huntington Avenue, Boston, Mass.  02115   USA
--
Michael Cleary                             Internet: cleary@ccs.northeastern.edu
Offices: College of Computer Science, 53CN * Robotic & Vision Systems Lab, 357DA
Phones:  (617) 437-4607                    * (617) 437-5242
Northeastern University, 360 Huntington Avenue, Boston, Mass.  02115   USA
Newsgroups: comp.lang.postscript
From: tj@kona.cs.ucla.edu (Tom Johnson)
Subject: Parsing PS Comments - Examples wanted
Organization: UCLA, Computer Science Department
Date: Tue, 10 Nov 92 22:45:58 GMT

Does anyone have any example of PS file parsing of comments? Or know of where
I could find some examples? (Preferably in C).
 
I'm going to be including EPS files in a document, and I'm not completely
clear on the finer points of the DSC's.  I'd love to see how
others are handing this.

Thanks-
  Tom
-- 
Tom Johnson             "They say Confucious does his crossword with a pen."
tj@cs.ucla.edu                               -Tori Amos
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: How do I recognize postscript from a file
Date: 10 Nov 92 06:51:06 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <92314.102341AUBXG@ASUACAD.BITNET> AUBXG@ASUACAD.BITNET (Ben Goren) writes:
<Starting a PS file with
<
<%!
<^D
<%!
<
<is not DSC compliant.

So what, neither is:

	^D
	%!
	<postscript code>
	^D

So there.  That is the point.
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
From: nick@sw.stratus.com (Nicolas Tamburri)
Newsgroups: comp.lang.postscript
Subject: Re: Who bakes the Best PostScript?
Date: 13 Nov 92 13:41:35 GMT
Organization: Stratus Computer, Inc.
NNTP-Posting-Host: pwllheli.sw.stratus.com

In article <1992Nov12.153918.12371@usiva.com>, brooks@usiva.com (Lyle D. Brooks) writes:
> So what makes for the best PostScript??

I nominate, xfig for creating the best PS files.  My spooler program has the ability
to set the matrices for landscape, portrait and 2-up printing for each request it
processes.  Xfig is the ONLY application I have come across that generates a PS
file that works in each orientation, no matter how complex the page.

I wouldn't have a problem with other applications that don't conform to the DSC, but
I wish they wouldn't put '%!PS-Adobe' at the beginning of the file, as if they were.

								/nt
Newsgroups: comp.lang.postscript