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

Ed Blackman <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
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

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users
signature.txt (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFNB5Ln3nrUNJhVPs4RAhvfAJ0W9d3Q2XDtArQnVY6IFtv1/EZVUACePYzW
/sqeH59R3FfEPCbnle0/USo=
=NFmA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.