| 14 |
* * |
* * |
| 15 |
***************************************************************************/ |
***************************************************************************/ |
| 16 |
|
|
|
#define _POSIX_C_SOURCE 200809L |
|
|
|
|
| 17 |
#include "bbs.h" |
#include "bbs.h" |
| 18 |
#include "bbs_cmd.h" |
#include "bbs_cmd.h" |
|
#include "user_priv.h" |
|
| 19 |
#include "bbs_cmd.h" |
#include "bbs_cmd.h" |
| 20 |
#include "menu.h" |
#include "common.h" |
|
#include "log.h" |
|
| 21 |
#include "io.h" |
#include "io.h" |
| 22 |
|
#include "log.h" |
| 23 |
|
#include "menu.h" |
| 24 |
#include "screen.h" |
#include "screen.h" |
| 25 |
#include "common.h" |
#include "user_priv.h" |
|
#include <string.h> |
|
|
#include <stdio.h> |
|
| 26 |
#include <ctype.h> |
#include <ctype.h> |
|
#include <stdlib.h> |
|
| 27 |
#include <errno.h> |
#include <errno.h> |
| 28 |
|
#include <stdio.h> |
| 29 |
|
#include <stdlib.h> |
| 30 |
|
#include <string.h> |
| 31 |
#include <unistd.h> |
#include <unistd.h> |
|
#include <sys/shm.h> |
|
| 32 |
#include <sys/ipc.h> |
#include <sys/ipc.h> |
| 33 |
|
#include <sys/shm.h> |
| 34 |
|
|
| 35 |
#define MENU_SCREEN_PATH_PREFIX "var/MENU_SCR_" |
#define MENU_SCREEN_PATH_PREFIX "var/MENU_SCR_" |
| 36 |
#define MENU_CONF_DELIM_WITH_SPACE " ,\t\r\n" |
#define MENU_CONF_DELIM_WITH_SPACE " ,\t\r\n" |
| 1053 |
if (!menu_selectable) |
if (!menu_selectable) |
| 1054 |
{ |
{ |
| 1055 |
moveto(p_menu->screen_row, p_menu->screen_col); |
moveto(p_menu->screen_row, p_menu->screen_col); |
| 1056 |
|
clrtoeol(); |
| 1057 |
prints("没有可选项"); |
prints("没有可选项"); |
| 1058 |
press_any_key(); |
press_any_key(); |
| 1059 |
return -1; |
return -1; |