|
From: Ethan M. <merritt@u.washington.edu> - 2005-06-21 22:36:59
|
On Tuesday 21 June 2005 02:35 pm, Petr Mikulik wrote: > It seems the 'help exit' does not say anything that it exits gnuplot when in > interactive? There is nothing special about interactive sessions. If you would like to clarify the help text, I suggest something like The commands `exit` and `quit` terminate input from the current input stream. This is true for terminal, pipe, and file input. If input streams are nested, then input will continue to be accepted from the parent stream. When the top level stream is closed, the program itself will exit. To demonstrate that "interactive" is not relevant to this, try the following: gnuplot plot sin(x) load '/dev/tty' plot cos(x) load '/dev/tty' plot x exit history exit hisory exit You will find that it takes three `exits` to get back to the shell from this nested interactive session. > What about this text: > > When running gnuplot in interactive mode, the commands `exit` and `quit` > quit your gnuplot session. > > When reading a command file (script), the commands `exit` and `quit` and > the END-OF-FILE character will exit this file immediately and `load` the > next one. > > See "help batch/interactive" for more details. > > Each of these commands will clear the output device (as does the `clear` > command) before exiting. > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |