Sync OpenBSD patchset 353:

New lock-client and lock-session commands to lock an individual client or all
clients attached to a session respectively.
This commit is contained in:
Tiago Cunha
2009-09-25 17:51:39 +00:00
parent 804b8696a4
commit 88c3b9c989
6 changed files with 169 additions and 21 deletions

4
cmd.c
View File

@ -1,4 +1,4 @@
/* $Id: cmd.c,v 1.117 2009-09-23 15:00:08 tcunha Exp $ */
/* $Id: cmd.c,v 1.118 2009-09-25 17:51:39 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -60,7 +60,9 @@ const struct cmd_entry *cmd_table[] = {
&cmd_list_sessions_entry,
&cmd_list_windows_entry,
&cmd_load_buffer_entry,
&cmd_lock_client_entry,
&cmd_lock_server_entry,
&cmd_lock_session_entry,
&cmd_move_window_entry,
&cmd_new_session_entry,
&cmd_new_window_entry,