diff --git a/screen-4.0.2-lock-shortcut.patch b/screen-4.0.2-lock-shortcut.patch new file mode 100644 index 0000000..cbb2a20 --- /dev/null +++ b/screen-4.0.2-lock-shortcut.patch @@ -0,0 +1,17 @@ +--- screen-4.0.2/etc/etcscreenrc.lock-shortcut 2006-01-17 22:03:38.000000000 +0100 ++++ screen-4.0.2/etc/etcscreenrc 2006-01-17 22:04:55.000000000 +0100 +@@ -82,6 +82,8 @@ + terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h + + #remove some stupid / dangerous key bindings ++bind ^x ++bind x + bind ^k + #bind L + bind ^\ +@@ -91,4 +93,4 @@ + bind I login on + bind O login off + bind } history +- ++bind X lockscreen diff --git a/screen.spec b/screen.spec index 0d6f63e..175eeda 100644 --- a/screen.spec +++ b/screen.spec @@ -1,7 +1,7 @@ Summary: A screen manager that supports multiple logins on one terminal. Name: screen Version: 4.0.2 -Release: 10.1 +Release: 11 License: GPL2 Group: Applications/System URL: http://www.gnu.org/software/screen @@ -49,6 +49,9 @@ Patch6: screen-3.9.15-home-screendir.patch Patch7: screen-4.0.1-args.patch Patch8: screen-4.0.2-logname.patch +# reassign lockscreen to ^aX so its harder to hit by accident +Patch9: screen-4.0.2-lock-shortcut.patch + %description The screen utility allows you to have multiple logins on just one terminal. Screen is useful for users who telnet into a machine or are @@ -78,6 +81,7 @@ support multiple logins on one terminal. # # %patch7 -p0 -b .args +%patch9 -p1 -b .lock-shortcut %build @@ -171,6 +175,10 @@ fi %config /etc/pam.d/screen %changelog +* Tue Jan 17 2006 Petr Rockai - 4.0.2-11 +- change the default lockscreen shortcut to ^aX to make + it harder to hit by accident, as per BR 157821 + * Fri Dec 09 2005 Jesse Keating - rebuilt