|
From: Allin C. <cot...@wf...> - 2007-03-09 03:47:59
|
On Thu, 8 Mar 2007, Daniel J Sebald wrote:
> I'll make a guess, based upon this comment:
>
>> Yes. It would be sufficient to pass in GNUTERM=png
>> (or GNUTERM=<anything but x11> for that matter).
>
> Recall there was a bit of a discussion about the x11 terminal
> looking for the location of gnuplot_x11 at start up, i.e., part
> of x11's initialization but since x11 is the default terminal,
> ostensibly at start up. If the x11 terminal cannot find
> gnuplot_x11, gnuplot exits.
That sounds right. This works fine, I now see:
waverley:~$ echo "set term png" | \
GNUTERM=dumb gnuplot && echo "OK"
OK
But here's the partial "strace" outpuy from my original command:
getuid32() = 501
setuid32(501) = 0
brk(0) = 0x8150000
brk(0x8171000) = 0x8171000
pipe([3, 4]) = 0
pipe([5, 6]) = 0
clone(
gnuplot: unable to open display ''
gnuplot: X11 aborted.
child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidp
tr=0xb79b3908) = 560
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
close(5) = 0
fcntl64(6, F_GETFL) = 0x1 (flags O_WRONLY)
fstat64(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
xb7f97000
_llseek(6, 0, 0xbf944474, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(6, "BSR\n", 4) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++
Allin Cottrell
|