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: Ed Blackman
Subject: Re: Q: I'm searching a way to disable Ctrl-Z
Date: Tue, 14 Dec 2010 10:53:15 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Dec 12, 2010 at 09:14:15PM +0000, 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...

From "man screen", in the section on "bind":
If no further argument is given, any previously established binding for this key is removed.

That means if you want to remove a binding, just name the binding without specifying an action to bind to that key.

So in ~/.screenrc, the following lines will remove the default "suspend" bindings from Control-a Control-z and Control-a z:

bind ^z
bind z

Ed

Attachment: signature.txt
Description: Digital signature


reply via email to

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