Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Problems with forwarding PostScript files
@ 1990-02-01  1:24 Richard Wood
  1990-02-01  2:18 ` Richard Wood
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Richard Wood @ 1990-02-01  1:24 UTC (permalink / raw)


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.
========================================================================


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1990-02-09  3:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1990-02-01  1:24 Problems with forwarding PostScript files Richard Wood
1990-02-01  2:18 ` Richard Wood
1990-02-02  1:50   ` Felix Lee
1990-02-01  2:32 ` Ken Lee
1990-02-01 15:47   ` Jim Fulton
1990-02-05 17:16   ` Stefan Brandle 
1990-02-09  3:28     ` Ken Yap
1990-02-01 18:27 ` Jeff Michaud
1990-02-01 19:46 ` Lyndon Nerenberg
1990-02-01 22:43 ` K. Krallis
1990-02-04 13:23 ` Paul Sharpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox