I expect there is a simple command for this whose name I don't know.
I've got a RPi 3 with recent Raspbian Lite installed. I'm trying to use it for a MAME box. I've got MAME4All (I think it was) installed and a collection of ROMs from archive.org.
I'm booting to console and starting mame by hand, for now, I intend to have it boot into mame later. To run mame, I had to add a few libraries that were not already installed (eg SGL). Now I can run it, and reach the front end GUI to select a ROM set.
Then the screen goes black and I can't get anything else out of it, not even alternative virtual consoles.
I think what's happening is that the GUI is trying to run another program (the emulator itself) and running into some simple error, like maybe another library I need to install. But because the screen is not in text mode, I never see the error message.
So, if this sounds plausible, what's the command I can use to restore text mode to my screen after a graphics mode program has failed?
$ mame/mame || restoreFOO
Elijah
------ remembers using some restoreFOO for recovery from X11 problems ages ago