screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: I'm searching a way to disable Ctrl-Z


From: Michael Parson
Subject: Re: Q: I'm searching a way to disable Ctrl-Z
Date: Tue, 14 Dec 2010 09:48:44 -0600 (CST)
User-agent: Alpine 2.00 (NEB 1167 2008-08-23)

On Sun, 12 Dec 2010, Stephane Ascoet wrote:

Hi, Ctrl-Z shuts down screen and all opened programms inside it. The
only thing I found was to re-affect the combination to another action,
but I'm unable to find how to simply disable it. I'm sure some of you
know how to do it...

Actually, Ctrl-Z sends the program to the background.  You can bring
it back with 'fg' or '%1' (if it's the first/only thing that you have
running in the background.  You can use the 'jobs' command to list the
programs running in the background for the current shell.

However, if you really want to disable Ctrl-Z, read up on the shell
command 'trap'.

From reading around on google, different implementations seem to use
different signals, but try 'trap Ctrl-z' as a search term.

--
Michael Parson
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]