Heinrich Rebehn wrote:
Hi list,
"a2ps -P display .bashrc" yields:
[.bashrc (plain): 2 pages on 2 sheets]
sh: line 1: /tmp/a2_HSzrDm: Permission denied
[Total: 2 pages on 2 sheets] sent to the printer `display'
[2 lines wrapped]
Using strace i found:
[pid 8415] open("/tmp/a2_N4Fh2p", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE,
0666) = 3
and a bit later:
[pid 8416] execve("/tmp/a2_N4Fh2p", ["/tmp/a2_N4Fh2p"], [/* 25 vars
*/]) = -1 EACCES (Permission denied)
Of course this cannot work because the exec bit is missing from the
file. Is anybody else experiencing this? (Before trying, you have to fix
/etc/a2ps.cfg):
Variable: ghostview gv --antialias --arguments -dNOPLATFONTS
Note the "--" (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291749)
I was not yet able to find this in the source to fix it myself.
I use Debian sarge, a2ps 4.13b-4.3, kernel 2.6.11.11
I don't get that:
Script started on Thu 16 Jun 2005 11:20:05 AM CDT
[EMAIL PROTECTED]: /home/hugo:[EMAIL PROTECTED]:~$ a2ps -P display .bashrc
[.bashrc (plain): 1 page on 1 sheet]
gv: invalid option -- a
Usage: gv [OPTION]... [FILE]
PostScript and PDF viewer.
--monochrome display document using only black and white
<snip gv list of options>
[Total: 1 page on 1 sheet] sent to the printer `display'
<nothing shows anywhere>
[EMAIL PROTECTED]: /home/hugo:[EMAIL PROTECTED]:~$ a2ps -V
GNU a2ps 4.13
Written by Akim Demaille, Miguel Santana.
Copyright (c) 1988-1993 Miguel Santana
Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Script done on Thu 16 Jun 2005 11:21:00 AM CDT
I run 2.6.10 and upgraded Sarge
H
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]