summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-10-25 14:14:52 +0000
committernicm <nicm@openbsd.org>2017-10-25 14:14:52 +0000
commit4950be5045e386903cf136174b31bed9bb6b21f4 (patch)
tree5ea282b59285e77e5f6e75129b29c5719eafe637
parentRemove the TCP_FACK option and associated #if{,n}def code. (diff)
downloadwireguard-openbsd-4950be5045e386903cf136174b31bed9bb6b21f4.tar.xz
wireguard-openbsd-4950be5045e386903cf136174b31bed9bb6b21f4.zip
Default allow-rename to off because it is ridiculous that applications
are even able to do this and confusing when they do.
-rw-r--r--usr.bin/tmux/options-table.c4
-rw-r--r--usr.bin/tmux/tmux.14
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index bbfe6f665ec..d192e30ea4d 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.93 2017/08/17 08:37:38 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.94 2017/10/25 14:14:52 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -548,7 +548,7 @@ const struct options_table_entry options_table[] = {
{ .name = "allow-rename",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_WINDOW,
- .default_num = 1
+ .default_num = 0
},
{ .name = "alternate-screen",
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index ecd961341b2..d63511cd004 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.582 2017/10/25 11:26:11 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.583 2017/10/25 14:14:52 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -3019,7 +3019,7 @@ and poor for interactive programs such as shells.
.Xc
Allow programs to change the window name using a terminal escape
sequence (\eek...\ee\e\e).
-The default is on.
+The default is off.
.Pp
.It Xo Ic alternate-screen
.Op Ic on | off