title: Save all past gnuplot command line input to file
body: <p>I sometimes find myself having created some gnuplot plot in interactive mode and wanting to save it (i.e. a script creating it) for later use. Is there a way to tell gnuplot to dump all the lines (that did not produce an error) of the current session into a file? Or do I have to retype everything?</p>