[2486] in SIPB bug reports
vax 7.3P: macps
daemon@ATHENA.MIT.EDU (cfields@Athena.MIT.EDU)
Tue Feb 18 17:50:28 1992
From: cfields@Athena.MIT.EDU
To: bug-sipb@Athena.MIT.EDU
Date: Tue, 18 Feb 92 17:49:53 EST
System name: get-a-life
Type and version: CVAXSTAR 7.3P
Display type: SM
What were you trying to do?
Use macps to make a Macintosh Postscript file printable on
an Athena printer.
What's wrong:
It's kinda broken.
5:36pm 177> echo "hello^?test" > test
5:37pm 179> macps test
%! *** Created by macps: Tue Feb 18 17:37:05 1992
hello\42000test
What should have happened:
The \42000 should be a \177 (the ^? is delete). The result
of this is not attractive on a printout. All three times
I've used macps, this has been a problem. I don't understand
how this has been overlooked.
It's a silly programming error, too.
*** /tmp/macaux.c.orig Tue Feb 18 17:44:29 1992
--- /tmp/macaux.c Tue Feb 18 17:44:21 1992
***************
*** 108,114 ****
putc('\t', fp);
continue;
default:
! fprintf(fp, "\\%03o", *str);
continue;
}
}
--- 108,114 ----
putc('\t', fp);
continue;
default:
! fprintf(fp, "\\%03o", *cp);
continue;
}
}