LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CTRL+z dilemma (https://www.linuxquestions.org/questions/linux-newbie-8/ctrl-z-dilemma-4175553695/)

Selecta 09-16-2015 03:10 PM

CTRL+z dilemma
 
I'm connecting to my Ubuntu 14.04 instance via SSH. Once connected I run an executable for a game I want to play and it starts up fine.

My issue is that, within the game/app, CTRL+z is a hotkey that performs some functionality. Of course when I hit CTRL+z without thinking Linux simply shuts down the app and drops me back to the command line.

Is there any way around this situation?

Thank you!

Diantre 09-16-2015 10:52 PM

Quote:

Originally Posted by Selecta (Post 5421378)
Is there any way around this situation?

There is. But it may work for some programs, but not for others.

Try first,

Code:

$ set +m
If that doesn't work, try:

Code:

$ stty susp undef
Read this for further info: Disabling job control in bash (CTRL-Z)

...or do a web search. Plenty of info out there. :)


All times are GMT -5. The time now is 03:06 PM.