From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f62f2,113f2ef135b1169d,start X-Google-Attributes: gidf62f2,public X-Google-Thread: 1164f8,113f2ef135b1169d,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,113f2ef135b1169d,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1990-02-01 03:32:03 PST Path: gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!ogicse!decwrl!granite!vajra!rwood From: rwood@dec.com (Richard Wood) Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.lang.postscript Subject: Problems with forwarding PostScript files Message-ID: <807@granite.dec.com> Date: 1 Feb 90 01:24:31 GMT Sender: news@granite.dec.com Reply-To: rwood@dec.com (Richard Wood) Organization: Digital Equipment Corporation Xref: gmdzi comp.unix.ultrix:2147 comp.sys.dec:1928 comp.lang.postscript:3413 Posted: Thu Feb 1 02:24:31 1990 I just recently debugged a problem that I've seen before but never understood. Sometimes perfectly good .PS documents are ruined by sending them by email. After copying both the email message of such a ruined file, and getting the source by direct network copy, I compared the two and discovered many diffs similar to this: 766c766 < -180 x 180 48 R 50 y -180 x 180 48 R 50 y -180 x 180 48 R 744 x --- > - -180 x 180 48 R 50 y -180 x 180 48 R 50 y -180 x 180 48 R 744 x The problem became immediately apparent - the ULTRIX (and presumably all UNIX) forwarding mechanism adds a "dash space" to any dashes it finds in the first column. I don't know the history of this, but it has only been an annoyance previously - primarily messing up underlined titles, etc. In this case, some of the .PS directives are being munged into garbage by the addition of the unary dash. I can see three potential solutions: - Modify the postscript definition so that a dash is not a legal character in the first column. Highly unlikely, eh? - Modify ULTRIX/UNIX mail handling programs to stop adding the extra characters, or potentially only adding it in more restrictive situatons (presumably the situations that first necessitated this unsightly kludge). - Advise everyone and anyone not to forward .PS documents. It is easy to include or cut and paste a .PS file, but the problem is in telling everyone about this problem. It would also help to look for this syndrome whenever a .PS file fails - look for dashs at the beginning of the line and you're likely to have found the problem. In the meantime, since neither email nor postscript programs can change overnight, please distribute this memo wherever appopriate. *UNIX is a registered trademark of AT&T in the U.S. and other countries. -- --------------------------------------------------------------------- Richard Wood Corporate Worksystems Team Digital Equipment Corp. ========================================================================