cmd_action_str
cmd_action_str(cmdp->pc_cur_action, tmpstr, tmplen));
cmd_action_str(cmdp->pc_last_action, tmpstr, tmplen));