char temp[PATH_MAX]; /* Name of general-purpose temp file */
char temp2[PATH_MAX]; /* Name of general-purpose temp file */
char tempdir[PATH_MAX]; /* Name of general-purpose temp directory */
-char editor_paths[MAX_EDITORS][SIZ]; /* paths to external editors */
char printcmd[SIZ]; /* print command */
int editor_pid = (-1);
char fullname[USERNAME_SIZE];
if (mode == 0) { /* not skipping */
updatels(ipc);
- } else {
- if (rc_alt_semantics) {
- updatelsa(ipc);
- }
}
/* Free the room list */
scr_printf("Enable color support: "); color(BRIGHT_CYAN); scr_printf("%s\n", (user->flags & US_COLOR)? "Yes" : "No"); color(DIM_WHITE);
}
scr_printf("Be unlisted in userlog: "); color(BRIGHT_CYAN); scr_printf("%s\n", (user->flags & US_UNLISTED)? "Yes" : "No"); color(DIM_WHITE);
- if (!IsEmptyStr(editor_paths[0])) {
+ if (!IsEmptyStr(editor_path)) {
scr_printf("Always enter messages with the full-screen editor: "); color(BRIGHT_CYAN); scr_printf("%s\n", (user->flags & US_EXTEDIT)? "Yes" : "No"); color(DIM_WHITE);
}
free(user);
gotonext(ipc);
break;
case 47: /* <A>bandon */
- if (!rc_alt_semantics) {
- updatelsa(ipc);
- }
gotonext(ipc);
break;
case 90: /* <.A>bandon */
- if (!rc_alt_semantics)
- updatelsa(ipc);
dotgoto(ipc, argbuf, 0, 0);
break;
case 58: /* <M>ail */
break;
case 52:
if (!IsEmptyStr(argbuf)) {
- if (rc_alt_semantics) {
- updatelsa(ipc);
- }
dotgoto(ipc, argbuf, 0, 0);
}
break;
break;
case 29:
case 30:
- if (!rc_alt_semantics) {
- updatels(ipc);
- }
+ updatels(ipc);
termn8 = 1;
break;
case 48:
case 15:
scr_printf("Are you sure (y/n)? ");
if (yesno() == 1) {
- if (!rc_alt_semantics)
- updatels(ipc);
+ updatels(ipc);
a = 0;
termn8 = 1;
}
scr_printf("All users will be disconnected! "
"Really terminate the server? ");
if (yesno() == 1) {
- if (!rc_alt_semantics)
- updatels(ipc);
+ updatels(ipc);
r = CtdlIPCTerminateServerNow(ipc, aaa);
scr_printf("%s\n", aaa);
if (r / 100 == 2) {
break;
case 6:
- if (rc_alt_semantics) {
- updatelsa(ipc);
- }
gotonext(ipc);
break;
do_internet_configuration(ipc);
break;
- case 83:
- check_message_base(ipc);
- break;
-
case 84:
quiet_mode(ipc);
break;
do_rssclient_configuration(ipc);
break;
- default: /* allow some math on the command */
- /* commands 100... to 100+MAX_EDITORS-1 will
- call the appropriate editor... in other
- words, command numbers 100+ will match
- the citadel.rc keys editor0, editor1, etc.*/
- if (mcmd >= 100 && mcmd < (100+MAX_EDITORS))
- {
- /* entmsg mode >=2 select editor */
- entmsg(ipc, 0, mcmd - 100 + 2, 0);
- break;
- }
+ default:
+ break;
} /* end switch */
} while (termn8 == 0);