I'm using nano inside a MATLAB session that is running inside a screen (-x) terminal. I accidentally hit Ctrl-Z and it immediately leaves nano, prints "Use "fg" to return to nano", but does not show a command prompt. Whatever I type appears on the screen but nothing responds. If I hit Ctrl-Z, ^Z just prints to the screen. Any ideas? Using 12.04.
In the comments the author says that he or she is running the
The problem is that the shell command
...and hope it works (can mess up the terminal greatly). You can also trying a
that way the
(1) I tried with
If it's the only backgrounded process entering
List your jobs
Bring a job to the foreground
change the "1" to the job number corresponding to nano.