[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait_for_file ?? [time to test ssh]
From: |
Shai Ayal |
Subject: |
Re: wait_for_file ?? [time to test ssh] |
Date: |
Fri, 10 Sep 2010 08:27:25 +0300 |
On Fri, Sep 10, 2010 at 5:51 AM, Michael D Godfrey
<address@hidden> wrote:
> On 09/09/2010 11:41 AM, bpabbott wrote:
>
> Opps, I forgot to include the code to produce the offset.ps file.
> Use attached go_fltk.m instead.
>
> Ben,
>
> My second try. This time I used my new, as of yesterday, Octave with my
> debug code. This shows some things that need fixing. Here is the output:
> octave:2> go_fltk
> About to fopen 6
> Unknown device:
> Unrecoverable error: undefined in .uninstallpagedevice
> Operand stack:
> defaultdevice
> fclose of 6 OK>
> gs_cmd = /usr/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE= -dEPSCrop
> -sPAPERSIZE=letter -dFIXEDMEDIA offset.ps -
> octave:3> ls
> 6 __ghostscript__.m go_fltk.m offset.ps
> octave:4> system("ls -l")
> total 28
> -rw-rw-r-- 1 godfrey godfrey 9531 Sep 9 19:37 6
> -rw-rw-r-- 1 godfrey godfrey 5847 Sep 9 19:15 __ghostscript__.m
> -rw-rw-r-- 1 godfrey godfrey 716 Sep 9 19:16 go_fltk.m
> -rw-rw-r-- 1 godfrey godfrey 99 Sep 9 19:37 offset.ps
> ans = 0
> octave:5>
> ====================================================
> offset.ps contains:
> [qss:pipe_test] more offset.ps
> %!PS-Adobe-3.0
> << /Margins [0 0] /.HWMargins [0 0 0 0] /PageOffset [18 180] >>
> setpagedevice
> %%EOF
>
> ====================================================
> Obvious remarks:
> The filename "6" is passed to drawnow(). The file "6" is closed before
> gs_cmd is
> run (congratulations!!). The gs_cmd does not quite have its parameters
> initialized
> correctly. But, I would guess that I could manually fix it to produce, at
> least, close
> to the intended PDF (6 contains the correct PS).
>
> I speculate that the unknowndevice error come from the fact that "6" has no
> suffix.
> So, fixing the filename to be tmp.eps should deal with that.
>
Are you using the latest tip, which includes changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/2786e3b7072e
Shai
- Re: wait_for_file ??, (continued)
- Re: wait_for_file ??, Shai Ayal, 2010/09/09
- Re: wait_for_file ??, Ben Abbott, 2010/09/09
- Re: wait_for_file ??, Shai Ayal, 2010/09/09
- Re: wait_for_file ??, John W. Eaton, 2010/09/09
- Re: wait_for_file ??, Michael Godfrey, 2010/09/09
- Re: wait_for_file ??, bpabbott, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], bpabbott, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], bpabbott, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], Michael Godfrey, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/09
- Re: wait_for_file ?? [time to test ssh],
Shai Ayal <=
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Ben Abbott, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/09
- Re: wait_for_file ?? [who/what/where does fclose()?], Ben Abbott, 2010/09/10
- Re: wait_for_file ?? [who/what/where does fclose()?], Shai Ayal, 2010/09/10
- Re: wait_for_file ?? [who/what/where does fclose()?], Michael D Godfrey, 2010/09/10
- Re: wait_for_file ?? [who/what/where does fclose()?], Shai Ayal, 2010/09/10
- Re: wait_for_file ?? [who/what/where does fclose()?], Michael D Godfrey, 2010/09/10
- Re: wait_for_file ?? [who/what/where does fclose()?], bpabbott, 2010/09/10