- Fix screenrc-sample syntax.

- Add @extra handling of screenrc.

ok brad@
This commit is contained in:
naddy 2003-09-29 11:08:02 +00:00
parent 9da68bc307
commit b3940867c6
3 changed files with 30 additions and 3 deletions

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-etc_etcscreenrc,v 1.1 2003/09/29 11:08:02 naddy Exp $
--- etc/etcscreenrc.orig 2003-09-29 01:41:45.000000000 +0200
+++ etc/etcscreenrc 2003-09-29 01:42:04.000000000 +0200
@@ -82,13 +82,13 @@ termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1
terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
#remove some stupid / dangerous key bindings
-bind '^k'
-#bind 'L'
-bind '^\'
+bind ^k
+#bind L
+bind ^\
#make them better
-bind '\\' quit
-bind 'K' kill
-bind 'I' login on
-bind 'O' login off
-bind '}' history
+bind \\ quit
+bind K kill
+bind I login on
+bind O login off
+bind } history

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.4 2000/08/25 03:30:02 brad Exp $
# $OpenBSD: DEINSTALL,v 1.5 2003/09/29 11:08:02 naddy Exp $
#
# screen de-installation
@ -8,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/screenrc
if [ -e $CONFIG_FILE ]; then
if [ "$PKG_DELETE_EXTRA" != Yes -a -e $CONFIG_FILE ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.18 2003/05/05 04:40:31 brad Exp $
@comment $OpenBSD: PLIST,v 1.19 2003/09/29 11:08:02 naddy Exp $
bin/screen
bin/screen-${VERSION}
@unexec install-info --delete --info-dir=%D/info %D/info/screen.info
@ -26,3 +26,5 @@ share/screen/utf8encodings/d6
@dirrm share/screen/utf8encodings
@dirrm share/screen
@dirrm share/examples/screen
@cwd ${SYSCONFDIR}
@extra screenrc