Article View: fj.sys.next
Article #177Re: Diagram! on NeXTStep3J
From: Kazuhiro Kazama
Date: Sun, 13 Dec 1992 15:08
Date: Sun, 13 Dec 1992 15:08
44 lines
1994 bytes
1994 bytes
$@Iw4V!w#N#T#T4pAC8&$G$9!#(J
In article <1992Dec10.71512.1446@kei.is.s.u-tokyo.ac.jp> miyasita@is.s.u-tokyo.ac.jp (MIYASHITA Ken) writes:
> $@$H$$$C$?(J$@46$8$@$C$?$N$G$9$,(J, $@:#2s;H$C$?$H$3$m(J,
>
> %%Title: foo.diagram \320 /home/camille2/miyasita
>
> $@$K$J$C$F$7$^$$$^$7$?(J. \320 $@$O(J 0xd0 $@$G$7$F4A;z%3!<%I$+$i30$l$F$$$^$9(J. $@$3(J
$@!!$I$&$;%3%a%s%H$J$N$G!"$=(J$@$3$r%(%G%#%?$G:o=|$7$F$b$+$^$$$^$;$s!#$J$*$3(J
$@$l$i$N%3!<%I$NJQ49$O<!$N%W%m%0%i%`$G$*$3$J$&$3$H$b$G$-$^(J$@$9!#$3$l$O(J
macps$@$K4^$^$l$F$$$^$7$?!#(J
/*
* ps8 - Convert non-ascii characters to octal excapes for the
* LaserWriter printer. This usually only happens with Postscript
* files generated by the Macintosh, it isn't supposed to do that
* but sometimes it does. This little guy makes it all better
* again.
* Author: Brian Powell, brian@ut-sally
*/
/* ps8 - formerly called macfilter, but we wanted to use that name for the
* filter called from psmac which prepends the LaserPrep. Macfilter then
* calls ps8.
*/
#include <stdio.h>
#include <ctype.h>
main()
{
register int c;
while ((c = getchar()) != EOF) {
if (!isascii(c))
printf("\\%03o", c & 0377);
else
putchar(c);
}
exit(0); /* set explicit exit code for the spooler */
}
--
$@Iw4V0lMN(J (kazama@square.ntt.jp)
NTT$@4pAC8&5f=j(J $@>pJs2J3X8&5fIt(J
$@J,;6%3%s%T%e!<%F%#%s%086M}8&5f%0%k!<%W(J
Technical Details
Message-ID:
<sr3.n4anb@lab.ntt.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-kyo!kyu-cs!lab!kazamaReferences:
<1992Dec10.71512.1446@kei.is.s.u-tokyo.ac.jp>Show Full Headers
Complete Article Headers
Newsgroups: fj.sys.next Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-kyo!kyu-cs!lab!kazama From: kazama@square.ntt.jp (Kazuhiro Kazama) Subject: Re: Diagram! on NeXTStep3J In-Reply-To: miyasita@is.s.u-tokyo.ac.jp's message of 10 Dec 1992 16:15:09 JST Message-ID: <sr3.n4anb@lab.ntt.jp> Sender: news@lab.ntt.jp Organization: NTT Basic Research Laboratories, Tokyo, Japan. References: <1992Dec10.71512.1446@kei.is.s.u-tokyo.ac.jp> Distribution: fj Date: 13 Dec 1992 15:08:22 GMT Lines: 44