[3773] in Athena Bugs
(RT/PC) Version 6.4A: scribe6, scribe7
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Dec 4 12:43:37 1989
Date: Mon, 4 Dec 89 12:42:58 -0500
From: Jonathan I. Kamens <jik@PIT-MANAGER.MIT.EDU>
To: bugs@ATHENA.MIT.EDU, testers@ATHENA.MIT.EDU
System type, version: (RT/PC) Version 6.4A
System name: pit-manager
What's wrong:
The following file:
@Device(PostScript)
This is a test.
@Graphic(Postcript="foobar", BoundingBox="1 inch, 2 inch, 1 inch, 2 inch")
is processed by scribe without error, using both scribe6 and
scribe7, on a VAX or on an RT.
Notice that I have misspelled the word "PostScript" in the "@Graphic"
command -- I am missing an 'S'. Notice also that the file I
specified, "foobar", does not exist.
In addition to processing the file without error, scribe reads in
the current working directory (i.e. the contents of the raw
directory file) and inserts that into the scribe output PostScript
file as the graphic.
What should have happened:
1. Scribe should detect the misspelled keyword, and report an error.
2. Scribe should notice that the specified files doesn't exist, if
it isn't going to bother to notice the keyword (I know, I know,
it can't know the missing filename because it can't know that
it's supposed to be a filename, because the keyword is wrong.)
3. Scribe should not insert the current working directory into the
output PostScript file. What's apparently happening is that it's
trying to open a null filename, since the filename is not
specified, and getting the cwd.
jik