- change the default lockscreen shortcut to ^aX to make it harder to hit by

accident, as per BR 157821
epel9
prockai 19 years ago
parent 783200d151
commit 4cd3b7dbc3

@ -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

@ -1,7 +1,7 @@
Summary: A screen manager that supports multiple logins on one terminal. Summary: A screen manager that supports multiple logins on one terminal.
Name: screen Name: screen
Version: 4.0.2 Version: 4.0.2
Release: 10.1 Release: 11
License: GPL2 License: GPL2
Group: Applications/System Group: Applications/System
URL: http://www.gnu.org/software/screen 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 Patch7: screen-4.0.1-args.patch
Patch8: screen-4.0.2-logname.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 %description
The screen utility allows you to have multiple logins on just one 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 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 %patch7 -p0 -b .args
%patch9 -p1 -b .lock-shortcut
%build %build
@ -171,6 +175,10 @@ fi
%config /etc/pam.d/screen %config /etc/pam.d/screen
%changelog %changelog
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 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 <jkeating@redhat.com> * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt - rebuilt

Loading…
Cancel
Save