HDTenEightyP/NetNews huggingface dataset:
From: br.pct@RLG.Stanford.EDU (Peter C. Tam)
Subject: INCLUDE file not found
Organization: Research Libraries Group, Inc.
Date: Thu, 13 Aug 1992 20:19:27 GMT

HI,
  I have the problem compiling programs under MicroSoft C6.0. Nested Include 
files can't be found, even though /I path is specified already. Detail below:

  ======================

  Main Program:
  #include "file 1"
  ======================

  File 1:
  #include "file 2"
  ======================

  File 1 & 2 is in \xxx\INCLUDE directory, Main Program is in \xxx\d1\d2 directory.

  Environment Variable INCLUDE : C:\C600\INCLUDE
  CL command line includes: /I ..\..\INCLUDE

  MicroSoft Make 4.07 will cause CL (C600) not to find any file (even file 1)
  MicroSoft NMake will cause CL (C600) not to find file 2

  Putting \xxx\INCLUDE in /I command line option makes no difference.
  Is there a BUG in processing nested include files in C600 ? Thanks for any
  help

Newsgroups: comp.lang.c
From: ddewar@cbnewsb.cb.att.com (derek.a.dewar)
Subject: memory map (mmap)
Organization: AT&T
Date: Fri, 14 Aug 1992 13:06:45 GMT

A quick questions about the mmap function in C....

After  mapping the contents of a file into memory using the 
mmap function, I tried to write something to the mapped segment
using write(2). I thought this would change the memory copy only,
but when I use the debugger I find that actaul contents of the file
have been changed as well as the memory image. My questions is,
what does "write" actually write to ? The memory image, or the file ?
(or both ?)

If it's the file, what function can I use to alter the contents of the
memory image only, to eliminate any need for disk I/O overhead ?

Cheers

Del

--
Derek A. Dewar 
AT&T Network Systems UK Ltd.

ddewar@ihlpb.att.com
Newsgroups: comp.lang.c
From: kevinb@maccs.dcss.mcmaster.ca (Kevin Boyes)
Subject: sprintf() question
Organization: Department of Computer Science, McMaster University
Date: Fri, 14 Aug 1992 19:27:18 GMT

Hello,

Consider the program fragment below:

	char str1[BUFSIZ];

	strcpy(str1, "test string");
	sprintf(str1, "%s%d", str1, 1);

Is the sprintf() legal in that str1 is being copied into itself?

Also, is there a public domain pretty printer for C around?

Please reply to the address shown below since there is too much
traffic on this group for me to read regularily.

					K.

-- 
Kevin Boyes                                     kevinb@maccs.dcss.McMaster.CA
McMaster University                         ...!uunet!utai!utgpu!maccs!kevinb
-- 
-- 
Kevin Boyes                                     kevinb@maccs.dcss.McMaster.CA
McMaster University                         ...!uunet!utai!utgpu!maccs!kevinb
From: pan@athena.mit.edu (Howard W Pan)
Subject: Re: PD Implementation?
Organization: Massachusetts Institute of Technology
Date: Thu, 20 Aug 1992 16:52:21 GMT

There is a current thread going on in comp.sys.next.misc talking about this
subject. From what I can recall, I think someone has already begun writing the
Objc Run-time library for GNU. But more work needs to be done. 

=Howard Pan=
From: sting@enterprise.navo.navy.mil (Koset Surakomol)
Newsgroups: comp.lang.objective-c
Subject: ObjC for MS Windows
Date: 12 Aug 92 19:54:43 GMT
Organization: Naval Oceanographic Office
Nntp-Posting-Host-[nntpd-8698]: enterprise.navo.navy.mil

As a newcomer to this group, I am looking for PD ObjC as well as 
recommendations for Windows-based ObjC.  Any help would be appreciated.

Thanks
From: 75735@novell1.rz.fht-mannheim.de (JUERGENKLOETZERINFORMATIK)
Subject: Documentation needed
Organization: Fachhochschule fuer Technik Mannheim
Date: Wed, 12 Aug 1992 12:34:58 GMT

Hello,
I've got the new GCC-2.2.2 (the MS-DOS Port) but i can't find any hints
how to write an objective-c programm. Does anyone out there know where to
get a short description of the language, a reference guide, books, examples
or so. Perhaps you know a ftp-site. 
thanks in advance, juergen.
From: gsk@world.std.com (Geoffrey S Knauth)
Newsgroups: comp.lang.objective-c
Subject: Do you want free objects from FSF?
Summary: Do you want free objects from FSF?
Keywords: gnu objective-c free fsf
Date: 19 Aug 92 11:23:55 GMT
Article-I.D.: world.Bt8ABw.K1J
Followup-To: comp.sys.next.misc
Organization: The World Public Access UNIX, Brookline, MA

[already posted to: comp.sys.next.misc,gnu.misc.discuss]

Would you like to see free objects, libraries, palettes, toolkits,
etc., from the Free Software Foundation?

My question springs from the following personal observations:

	- GNU and the FSF have given the world some superb code
	  that is freely distributable
	- good free software begets more free software
	- Objective-C has not taken the world by storm outside
	  the NeXT community, but people are curious
	- the small size of the NeXT marketplace means that
	  prices for commercial objects tend to be high
	- friends have talked about this for years
	- NeXT obviously cares, if they want an Object Catalog
	- I've seen very big companies admire NeXTstep, and then
	  dismiss it because it appears to sit in a niche market
	- NeXT's many toolkits are proof that creative minds
	  can do amazing things, but we, the consumers, have just
	  not done enough producing (except for a few isolated
	  geniuses and workaholics the net knows well), at least
	  not enough to impress those outside the NeXT community

I asked Richard Stallman what he thought.  He said that this (free
objects) is the purpose of libg++.  He said that the suggested Free
Object Foundation, if you will, would never happen unless I, or
another, or many others, actually took charge and did the work.  He
also said that if we, the community, did make it happen, the FSF would
be happy to include our works in its offerings.

What do you, the community, think?
Are commercial developers threatened by free software?
What do our most successful NeXTstep developers think?
Can we write software at least as good as GNU's, or NeXT's?
Would this develop enough momentum to make a difference?
Are current commercial offerings and the object catalog enough?
Would we model objects on Smalltalk?
Would we reinvent the Appkit?  Do we only complement the Appkit?
Can we create objects that don't depend on each other too much?

I think we can appreciate what a free object world might be like, with
its advantages and drawbacks, if we can imagine it is 1989 again, and
we see NeXTstep's source code on every NeXT computer (rms would
probably say, "any computer.")

I'm not suggesting NeXT release their treasure--it would be financial
and ideological suicide--but I am asking the community, "What are we
adding to the value NeXT provides us?  Will it be enough?  Could it
possibly be that we, or NeXT, want NeXT to be the only true provider?
If so, what have we learned?  If not, when will we act?"

-- 
Geoffrey S. Knauth, Marble Associates, Inc.                Member BCS-NeXT, LPF
gsk@marble.com, (617) 891-5555 work, (617) 547-5247 home   Standard Disclaimers
From: alain@charpe.UUCP (Alain Charpentier)
Newsgroups: comp.lang.objective-c
Subject: Re:  PD Implementation?
Distribution: world
Date: 20 Aug 92 06:55:06 EDT
Organization: Not an Organization


     His anybody aware of some one work on the runtime for GNU.
     And to they need help.


--

   ( )      /\      ( )
  ( ) )    /  \    ((  )             Alain Charpentier
 (   ) )  /____\  (  ) ))            Email: alain@charpe!uniforum.qc.ca
   | |	  | __ |    | |
   | |	  |_||_|    | |
 ----------------------------
  Home is where the Amiga is
From: khera@cs.duke.edu (Vivek Khera)
Newsgroups: comp.lang.objective-c
Subject: Re: PD Implementation?
Date: 18 Aug 92 15:16:00 GMT
Organization: Duke University CS Dept., Durham, NC
In-reply-to: uli@aida.intellektik.informatik.th-darmstadt.de's message of 18 Aug 92 12:36:34 GMT
X-Md4-Signature: 1daa144ef0f8fe96d2f6e254cf9a0f6b

In article <1992Aug18.123634.5905@news.th-darmstadt.de> uli@aida.intellektik.informatik.th-darmstadt.de (Ulrich Grepel) writes:

   In article <41299@skye.dcs.ed.ac.uk>, gvw@dcs.ed.ac.uk (Greg Wilson) writes:
   |> Apologies if this is a FAQ, but I am looking for a PD implementation of
   |> Objective-C, and accompanying documentation (i.e. language description
   |> with tutorials).

   I would suggest looking at GNU and it's gcc version 2.2.x. There's an Objective-C
   compiler in it, and GNU is (kind of) PD. With the tutorials, it is quite different...

   Uli

yes, and it is totally useless until someone writes the runtime
message dispatching routines.  basically, it doesn't have an Object
class.

what's "kind of PD" supposed to mean?  PD, assuming that the original
poster was referring to public domain, is a legal term.  either
something is or is not public domain.  you can't be "kind of" public
domain.  GNU stuff is freely distributable.  you just can't claim you
wrote it.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Gradual Student/Systems Guy  Department of Computer Science
Internet:   khera@cs.duke.edu             Box 90129
            (MIME mail accepted)          Durham, NC 27708-0129 (919)660-6528
Newsgroups: comp.lang.objective-c
From: uli@aida.intellektik.informatik.th-darmstadt.de (Ulrich Grepel)
Subject: Re: PD Implementation?
Date: Tue, 18 Aug 1992 12:36:34 GMT
Organization: TH Darmstadt

In article <41299@skye.dcs.ed.ac.uk>, gvw@dcs.ed.ac.uk (Greg Wilson) writes:
|> Apologies if this is a FAQ, but I am looking for a PD implementation of
|> Objective-C, and accompanying documentation (i.e. language description
|> with tutorials).

I would suggest looking at GNU and it's gcc version 2.2.x. There's an Objective-C
compiler in it, and GNU is (kind of) PD. With the tutorials, it is quite different...

Uli
From: oliverm@nevada.edu (Moises Oliveira )
Subject: Re: PD Implementation?
Summary: Where is the Objective-C runtime?
Organization: Organization? Ha, don't make me laugh
Date: Wed, 19 Aug 1992 08:17:40 GMT

In an article in (comp.lang.objective-C) khera@cs.duke.edu wites:
>In article <1992Aug18.123634.5905@news.th-darmstadt.de> uli@aida.intellektik.informatik.th-darmstadt.de (Ulrich Grepel) writes:
>>   I would suggest looking at GNU and it's gcc version 2.2.x. There's an Objective-C
> >  compiler in it, and GNU is (kind of) PD. With the tutorials, it is quite different...
>
>   Uli
>

>what's "kind of PD" supposed to mean?  PD, assuming that the original
>poster was referring to public domain, is a legal term.  either
>something is or is not public domain.  you can't be "kind of" public
>domain.  GNU stuff is freely distributable.  you just can't claim you
>wrote it.

I think it means exactly what he said.  GNU is NOT Public Domain.
For most people though, it's as close as it need be.  It is NOT
freely distributable, there are conditions and limitations on how
you may distribute it.  From the USER'S perspective GNU is public
domain.  But from the developer's perspective (those who modify
GNU code), it most certainley is not.  This is not meant as a GNU
flame.

>yes, and it is totally useless until someone writes the runtime
>message dispatching routines.  basically, it doesn't have an Object
>class.
>

Can someone answer these questions:

Is GNU working on the runtime support for Objective-C?  Is someone
doing it and planning on donating it to GNU?  Is GNU Objective-C
still born? or will it one day get some life?

I would really really REALLY like to see the GNU compiler get an
Objective-C runtime.  Should I write it myself?????  Or can I help
GNU finish it?  Or can I help someone else write it?  Is someone
else writing it? I don't want to start writing it now, only to find
that in 2-3 months, someone allready has it done.

I hate having to post so many questions, but I'm so far in the
dark, that I can't post any statements.

If anyone can tell me the truth, or provide a pointer to the truth,
it would truly be appreciated.
Organization: University of Illinois at Chicago
Date: Thursday, 20 Aug 1992 12:03:51 CDT
From: Darius Vaskelis <U39648@uicvm.uic.edu>
Newsgroups: comp.lang.postscript
Subject: GS on DJ500, OS/2 2.0 (was Re: Drivers for GS on 486/MSDOS)

[...]
>I am now thinking of purchasing a Canon BJ10ex or a HP Deskjet500. I've got
>GS, and it works fine when you ask it to output to the screen, but I haven't
>got a clue on how to get it to output to any of the printers mentioned above.
[...]

I recently grabbed a copy of Ghostscript for DOS from a SIMTEL20 mirror
site (wuarchive.wustl.edu) and it was compiled with a multitude of
drivers.  I get very nice output from my HP DeskJet 500 with the
following command:

GS386 -sDEVICE=djet500 filename.ps

Or, if you're using IBM OS/2 2.0, you can make a Ghostscript icon and
drag Postscript files onto it and they'll spit off the printer:

Program settings:

        Path and file name: drive:\path\DOS4GW.EXE
                Parameters: GS386 -sDEVICE=djet500 -sOUTPUTFILE=LPT1.OS2
         Working directory: drive:\path

Session settings (DOS settings for DOS full screen/DOS window):

              DMPI_DOS_API: ENABLED
         DMPI_MEMORY_LIMIT: 4 (or more)

You don't *need* the -sOUTPUTFILE=LPT1.OS2, but it appears to make
printing a little smoother.

(OS/2 2.0 users may also want to check out the Ghostscript 2.5 beta 1
 available on ftp-os2.nmsu.edu... it has a Presentation Manager driver!)

- Darius
--
   BITNET: U39648@UICVM             | "I'd rather laugh with the sinners
 Internet: u39648@uicvm.uic.edu               than cry with the saints,
- - - - - - - - - - - - - - - - - - |  the sinners are much more fun,
  "Don't set fire to strangers."       and only the good die young."
  - Mr. Zarniwoop                   |  - Billy Joel
Newsgroups: comp.lang.postscript
From: jdailey@dadd.ti.com (Jim Dailey)
Subject: Re: PostScript coding style question
Reply-To: jdailey@dadd.ti.com
Organization: Design Automaton Div., Texas Instruments, Inc.
Date: Wed, 19 Aug 1992 13:20:49 GMT

glenn@rightbrain.com (Glenn Reid) writes:
>Rob Bradlee writes
>> Is the cleartomark a legitimate way to make sure you've left the
>> stack in good shape or a cheap trick that absolves you from the
>> effort of thinking?
>
>I think it's a cheap trick, myself :-)
>
>The only justified use of it is if you include arbitrary PostScript
>that you do not know or trust (as in an EPS file). ...>
>Just my $.02

Well, I found another use for it that I can live with.  I wrote a routine
to produce a table that contains an arbitrary number of lines.  It is
invoked with:

   mark [(stuff) (stuff) ...]
        [(more stuff) ... ]
        ...
        [(last stuff) ...] functioncall

I use counttomark to find out how many lines are in the table and do a
cleartomark at the end just for completeness.

---
Jim  jdailey@dadd.ti.com
   TI pays absolutely no attention to me or my opinions; therefore,
   the foregoing posting cannot possibly represent TI's viewpoint.

Newsgroups: comp.lang.postscript
From: rickan@maccs.dcss.mcmaster.ca (Mark Rickan)
Subject: Converting CGM, WPG to EPS 
Organization: Department of Computer Science, McMaster University
Date: Fri, 21 Aug 1992 00:59:16 GMT

I'm interested in finding source to convert Computer Graphic Metafile (CGM)
and WordPerfect Graphic (WPG) formats to EPS. Would anyone be able to suggest
a freely distributable package (PC or UNIX-based) which provides this
capability? I'm aware of software work-arounds and commercial packages
which are capable of this, but need the source for a programming project. 

Short of this, any suggestions as to where one would find documentation on
converting these formats would be greatly appreciated.

Thanks in advance,

Mark

-- 
 -------------------------------------------------------------------------
 = Mark Rickan                         ...!uunet!utai!utgpu!maccs!rickan = 
 = DCSS, McMaster University               rickan@maccs.dcss.mcmaster.ca = 
 -------------------------------------------------------------------------
From: g92b8843@giraffe.ru.ac.za (MR PA BAISE)
Newsgroups: comp.lang.postscript
Subject: Converters FROM Postscript
Date: 18 Aug 92 10:18:20 GMT
Article-I.D.: giraffe.g92b8843.7.714133100
Organization: Rhodes University, Grahamstown, South Africa

Hi

Ther are many converters that transform many a format to PS. Are there any 
converters that convert PS to another format, say DVI? The reason I ask is 
that some of us do not have access to a PS printer, just a poor old kyocera.

Many thanks
- Paul


Paul Baise                          E-Mail : G92b8843@giraffe.ru.ac.za
Department Of Computer Science      Tel : +27-461-22023 (ext 292)
Rhodes University                   Fax : +27-461-25049
P.O. Box 94
Grahamstown, 6140
South Africa
 
Newsgroups: comp.lang.postscript
From: cxd653@huxley.anu.edu.au (Chunping Ding)
Subject: Transfer WordPerfect to .ps
Originator: cxd653@huxley
Organization: Australian National University
Date: Thu, 20 Aug 92 15:11:27 GMT

Could someone tell me how to transfer the file generated by WordPerfect(5.1)
to a postscript file on a unix machine?

Thank you in advance!

Ding Chunping

________________________________________________________________________

(Mr.) Ding Chunping             Telephone 61 6 249 4205 or 61 6 249 2066
Geology Department              Fax       61 6 249 5544                 
Australian National University  Email:    cxd653@huxley.anu.edu.au
GPO Box 4, Canberra, ACT 2601             ding@basins.anu.edu.au
Australia                                 ding@grafix.anu.edu.au
________________________________________________________________________
From: churchh@ut-emx.uucp (Henry Churchyard)
Newsgroups: comp.lang.postscript
Subject: Re: ASCII->PostScript with line graphics?
Summary: PC2PS11.ZIP
Keywords: ASCII->PostScript
Date: 16 Aug 92 13:23:54 GMT
Organization: The University of Texas at Austin, Austin, Texas

In article <1992Aug14.065736.21965@abo.fi>, mtoivakk@abo.fi (Martti Toivakka PAP) writes:
> Does anybody know of an ASCII->PS filter which
> would also translate the line graphic symbols
> (ASCII 179-218) correctly? 

  (You mean ``IBM code page 437'', rather than ``ASCII'', by the
way...)

  What you want is PC2PS11.ZIP.  I don't know what archive site it's
on, but here's part of the doc file:

------------------------------------------------------------------------------
                             PC2PS,

a simple ASCII to PostScript converter that even knows extended
and linedrawing characters. And it's free!!

#include <Standard.Disclaimer>


USAGE
   pc2ps  [-r[angle]]  [-s[pointsize]]  
          [-h[space]]  [-p[linepitch]]  [-o[offset]]
          [-oe[offset]]  [-m[topmargin]] [-w[linewidth]] 
          [-l[pagelength]]  [-i]  [-?]  [files...]
   > LPT?: 

DESCRIPTION
   PC2ps reads text from file(s) (or standard input if specified)
   and produces postscript output on stdout, suitable for piping
   to any postscript device (such as an Apple Laserwriter) or for 
   using with any program that expects postscript input (such as a
   postscript interpreter used to drive some other raster
   device).
   
AUTHOR
   This program is based on TEXT2PS by Stephen Frede (get this one,
   too!!).
   The Pcfont was handcrafted by Roland Giersig.
   If you like the program, drop me a line at GIERSIG@EDVZ.ATI.ADA.AT

Share and Enjoy!



------------------------------------------------------------------------------
Newsgroups: comp.lang.postscript
From: delahunt@adobe.com (Jim DeLaHunt)
Subject: Re: Big polygons
Summary: drawing path is one problem; filling/stroking it is another
Organization: Adobe Systems Incorporated
Date: Fri, 21 Aug 1992 09:05:22 GMT

>delahunt@adobe.com (Jim DeLaHunt) writes:
>
>>In general, write your script in such a way that it the interpreter
>>consumes code as soon as it receives it.  For instance....
>>  % in script
>>  143.2 246.0 l -1.41 -6 r ... (998 more "x y r" sets)

In article <loesch.714382187@hera> loesch@bl.physik.tu-muenchen.de (Andi 
Loesch) writes:
>
>But what happens if the length of the polygon becomes too large? 

We were talking about how to draw big polygons without being limited by
the size of the operand stack.  You are asking about the next obvious
problem, which is about the limit imposed by the PostScript interpreter's
path storage.  The path storage limit depends on the interpreter 
implementation.  For most PostScript Level 1 implementations, this limit
is 1500 vertices.  For PostScript Level 2 implementations, the limit is higher
and more flexible.

The solutions to this problem are unfortunately application-specific.  
If the application knows its polygon doesn't self-intersect and has no holes
in it, it might get away with simply issuing 'fill' operators every 1500
vertices or so.  This will print correctly on most PostScript interpreter
implementations.  If the polygon is more complex, then the application 
must do correspondingly more work to divide it into sub-polygons.

Complex graphics unfortunately can require complex software to manage them.

	--Jim DeLaHunt, Developer Support, Adobe Systems Incorporated	
delahunt@adobe.com	...!{apple,decwrl}!adobe!delahunt      +1-415-962-3790

[For our German-speaking readership:
Ich bin ein Virus. Mach' mit und kopiere mich in Deine .signature. ]
Newsgroups: comp.lang.postscript
From: wrp@pslsrv1.gvl.unisys.com (Bill Pringle)
Subject: Re: Printing specific pages with GS
Organization: Paramax Systems, Ivyland, PA
Date: Mon, 17 Aug 1992 02:52:44 GMT

In article <Bszv2G.Fyq@acsu.buffalo.edu> xiaofei@acsu.buffalo.edu (XiaoFei Wang) writes:
>It is impossible to print certain pages from a PostScript file. 
>For example, 
>2 { copypage } repeat 
>will print out two pages. How can you print out the first page and
>leave the second page using your utility ?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I never claimed the program would extract certain pages from *every*
postscript file.  I said it would extract certain pages from a file
conforming to PostScript conventions.  In particular, the %%Page:
comment.  Read the manual page for pspages and see what I mean.
I think you will find it does what it claims to do.  If you find
something it doesn't handle, let me know & I will see what I can do.

============================================================================
Bill Pringle                      Software Tools
Paramax Corporation               Voice: (215)443-7500 X4023
Internet: wrp@ivy.unisys.com      UUCP: ...!uunet!mimsy!widener!gvls1!wrp%ivy
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Newsgroups: comp.lang.postscript
Subject: Re: Cancelling postscript printjobs
Date: 20 Aug 92 01:51:42 GMT
Organization: Elegant Communications Inc., Ottawa, Canada

In article <1992Aug19.072911.22485@rsv.svskt.se> tomas@u30005.rsv.svskt.se (Tomas Ruden) writes:
>Here at my site we have a HP LaserJet III witch PostScript Level two
>connected to our unix host.  The problem we have is that when someone
>cancels a printjob, lp leaves the printer in some undefined state with
>the printjob half-done.  Could someone advice me about what I should
>make my printer-script to send to the printer do some kind of reset.

If the printer is in LJ mode, send \033E (escape E).  That will reset
the printer.

If it's in PostScript mode, \003\004 (^C,^D, no newline) should do
the trick.
-- 
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
Newsgroups: comp.lang.postscript
From: daniel@moonshine.osf.org (Daniel Dardailler)
Subject: Collation
Organization: Open Software Foundation, Motif Team
Date: Wed, 12 Aug 1992 13:27:33 GMT

Hi PostScripters,

I'm looking for a filter that would take a big drawing (i.e. along the line of
a %%BoundingBox: -567 -663 1090 1391) and that would print that in multiple
A4 page so that I just have to tape them together to get my poster.
Poster! that's the word I was looking for (french I am).

I'm looking for a poster maker.

Thanks.