+static uint8_t try_client_commands(struct Command * command)
+{
+ return ( try_0args(command, "winconf", toggle_winconfig)
+ || try_0args(command, "reload_conf", reload_interface_conf)
+ || try_0args(command, "save_conf", save_interface_conf)
+ || try_0args(command, "map_c", map_center)
+ || try_1args(command, "scrl_r", scroll_pad, '+')
+ || try_1args(command, "scrl_l", scroll_pad, '-')
+ || try_1args(command, "to_a_keywin", toggle_window, 'k')
+ || try_1args(command, "to_g_keywin", toggle_window, '0')
+ || try_1args(command, "to_wg_keywin", toggle_window, '1')
+ || try_1args(command, "to_wk_keywin", toggle_window, '2')
+ || try_1args(command, "to_mapwin", toggle_window, 'm')
+ || try_1args(command, "to_infowin", toggle_window, 'i')
+ || try_1args(command, "to_inv", toggle_window, 'c')
+ || try_1args(command, "to_logwin", toggle_window, 'l')
+ || try_1args(command, "cyc_win_f", cycle_active_win, 'f')
+ || try_1args(command, "cyc_win_b", cycle_active_win, 'b')
+ || try_1args(command, "g_keys_m", wrap_mod_selected_keyb, 'G')
+ || try_1args(command, "wg_keys_m", wrap_mod_selected_keyb, 'g')
+ || try_1args(command, "wk_keys_m", wrap_mod_selected_keyb, 'k')
+ || try_1args(command, "inv_u", nav_inventory, 'u')
+ || try_1args(command, "inv_d", nav_inventory, 'd')
+ || try_1args(command, "map_u", map_scroll, 'N')
+ || try_1args(command, "map_d", map_scroll, 'S')
+ || try_1args(command, "map_r", map_scroll, 'E')
+ || try_1args(command, "map_l", map_scroll, 'W')
+ || try_1args(command, "to_height_t", toggle_win_size_type, 'y')
+ || try_1args(command, "to_width_t", toggle_win_size_type, 'x')
+ || try_1args(command, "grow_h", growshrink_active_window, '*')
+ || try_1args(command, "shri_h", growshrink_active_window, '_')
+ || try_1args(command, "grow_v", growshrink_active_window, '+')
+ || try_1args(command, "shri_v", growshrink_active_window, '-')
+ || try_1args(command, "shift_f", shift_active_win, 'f')
+ || try_1args(command, "shift_b", shift_active_win, 'b')
+ || try_1args(command, "w_keys_m", wrap_mod_selected_keyb, 'w')
+ || try_2args(command, "w_keys_u", wrap_mv_kb_mod, 'w', 'u')
+ || try_2args(command, "w_keys_d", wrap_mv_kb_mod, 'w', 'd')
+ || try_2args(command, "g_keys_u", wrap_mv_kb_mod, 'G', 'u')
+ || try_2args(command, "g_keys_d", wrap_mv_kb_mod, 'G', 'd')
+ || try_2args(command, "wg_keys_u", wrap_mv_kb_mod, 'g', 'u')
+ || try_2args(command, "wg_keys_d", wrap_mv_kb_mod, 'g', 'd')
+ || try_2args(command, "wk_keys_u", wrap_mv_kb_mod, 'k', 'u')
+ || try_2args(command, "wk_keys_d", wrap_mv_kb_mod, 'k', 'd'));
+}
+
+
+
+static uint8_t try_server_commands(struct Command * command)