a2ps-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: html:ps delegation


From: Franck Lombardi
Subject: Fwd: Re: html:ps delegation
Date: Wed, 18 Sep 2002 10:51:30 +0200
User-agent: KMail/1.4.3

I have forget to sent in the ML
oups, sorry

----------  Forwarded Message  ----------

Subject: Re: html:ps delegation
Date: Wed, 18 Sep 2002 10:47:17 +0200
From: Franck Lombardi <address@hidden>
To: Akim Demaille <address@hidden>

On Wednesday 18 September 2002 09:38, Akim Demaille wrote:
> Yes, please install on both.  Additionally, report this in NEWS too.

Add in NEWS for the check of remote command in netscape -> ok.
But the mozilla information is for the FAQ ??

> +COM_netscape_test="test -L ${HOME}/.netscape/lock"
> +AC_SUBST(COM_netscape_test)
>
> Errr, I don't understand this part at all.  If you decided to check at
> runtime which one we should run, then just have all the tests run a
> runtime, there is no reason to decide for COM_netscape_test at
> configure time.

Because, the a2ps.cf accept only one line script to execute a delegation (We
can't use comment '#'). And we don't find another solution:
if html2ps is installed : the delagation check if a nestcape run at this
 time:

  if test -L /home/kcnarf/.netscape/lock; then \
    rm -f #f0; \
    if echo '$f' | grep '^/' >/dev/null 2>&1; then \
      ${NETSCAPE:-netscape} -noraise -remote 'openfile($f)'; \
    else \
      ${NETSCAPE:-netscape} -noraise -remote 'openfile(%d/$f)'; \
    fi && \
    ${NETSCAPE:-netscape} -noraise -remote 'saveas(#f0,postscript)' && \
    #{del.psselect} #f0 | #{del.psnup}; \
  else \
    html2ps -D -o #f0 '$f' && #{del.psselect} #f0 | #{del.psnup}; \
  fi

or if html2ps isn't installed the delegation don't test this (it use alway
netscape):
  if true; then \
    rm -f #f0; \
    if echo '$f' | grep '^/' >/dev/null 2>&1; then \
        [...]
  fi

It is the configure script who add the test:
"test -L /home/kcnarf/.netscape/lock" or "true"

Are you ok with us about this test before I commit ?

--
Franck Lombardi
EPITA Promotion 2004
fingerprint = BECF 5A99 EF09 3BB6 01EE B86A 05D3 87E7 1735 86D2

-------------------------------------------------------

-- 
Franck Lombardi
EPITA Promotion 2004
fingerprint = BECF 5A99 EF09 3BB6 01EE B86A 05D3 87E7 1735 86D2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]