summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-09-23 06:18:49 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-09-23 06:18:49 +0000
commitc5c58d8fcaaa66d223a253ba004b44f0a7006dff (patch)
tree4498bb829e4ede704e7c1febd870b850686a3086 /usr.bin/tmux/tty.c
parentf0935dc4d22d17994911925fa31450d1e56b9ed1 (diff)
Remove the internal tmux locking and instead detach each client and run the
command specified by a new option "lock-command" (by default "lock -np") in each client. This means each terminal has to be unlocked individually but simplifies the code and allows the system password to be used to unlock. Note that the set-password command is gone, so it will need to be removed from configuration files, and the -U command line flag has been removed. This is the third protocol version change so again it is best to stop the tmux server before upgrading.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index aa85f9e051a..48e302de0cc 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.31 2009/09/23 06:12:58 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.32 2009/09/23 06:18:48 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -29,8 +29,6 @@
void tty_fill_acs(struct tty *);
-void tty_raw(struct tty *, const char *);
-
int tty_try_256(struct tty *, u_char, const char *);
int tty_try_88(struct tty *, u_char, const char *);