🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #1093

Re: Gnuplot2 hangs

#1093
From: Eric Domenjoud
Date: Thu, 08 Nov 1990 20:09
43 lines
1412 bytes
Hello Dave. I got your mail but the MAILER-DAEMON was unable to
retrieve your address.

You write:

> It should exit if you start it with a filename to read, eg
>     gnuplot foobar

That's what I do. Gnuplot is called from the following sh script which
is itself called from an interactive tcsh:

#! /bin/sh

	[stuff deleted]

NP=`cat fractal.dat | wc -l`
NP=`expr $NP '*' 10`

cat > fractal.plot <<EOF
set samples $NP
set nokey
set noxtics
set noytics
set size 0.95,1
plot "fractal.dat" w l 1
pause -1 "Hit return"
EOF

gnuplot fractal.plot
exit 0

It works fine until the pause and then hangs.

> but it will not stop if you use it interactively, until you type 'exit'
>  or 'quit' or ^D. If you are feeding it a file, try adding an 'exit' command
> to the end.

I also tried this solution but it doesn't help.
>
> dave

Eric Domenjoud
Technical Details
Message-ID: <DOMEN.90Nov8210950@wiener.crin.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!inria!loria!loria.crin.fr!domen
References: <DOMEN.90Nov8093515@wiener.crin.fr>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!inria!loria!loria.crin.fr!domen
From: domen@wiener.crin.fr (Eric Domenjoud)
Newsgroups: comp.sources.d
Subject: Re: Gnuplot2 hangs
Message-ID: <DOMEN.90Nov8210950@wiener.crin.fr>
Date: 8 Nov 90 20:09:50 GMT
References: <DOMEN.90Nov8093515@wiener.crin.fr>
Sender: news@loria.crin.fr
Organization: CRIN, Nancy, France
Lines: 43
In-reply-to: domen@wiener.crin.fr's message of 8 Nov 90 08:35:15 GMT