In interactive mode (in Octave, gnuplot, R, etc.) I occasionally press Control + z by mistake. This pauses the program and kicks me back to the terminal.
Is it possible to re-enter the original interactive mode (with all the stored variables)?
To reproduce:
~> octave
octave:1> a = [1:10];
octave:2> ^Z
[1]+ Stopped octave
~>
How can I recover my session with the variable a
defined?