X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcommands.c;h=8e0a44c31b79746c30b38d33245f64b4645a66f8;hb=ca0714f168ab7cb7af8177e10941aa5c1fa3b09f;hp=892258f62eeca28233fed73c07de4f318e95a189;hpb=15036e4105019af481eab5a053d54df4033d8d1d;p=citadel.git diff --git a/citadel/commands.c b/citadel/commands.c index 892258f62..8e0a44c31 100644 --- a/citadel/commands.c +++ b/citadel/commands.c @@ -768,7 +768,7 @@ void load_command_set(void) ccfile = fopen(buf, "r"); } if (ccfile == NULL) { - snprintf(buf, sizeof buf, "%s/citadel.rc", BBSDIR); + snprintf(buf, sizeof buf, "%s/citadel.rc", CTDLDIR); ccfile = fopen(buf, "r"); } if (ccfile == NULL) { @@ -1215,13 +1215,13 @@ int getcmd(CtdlIPC *ipc, char *argbuf) /* * set tty modes. commands are: * - * 01- set to bbs mode + * 01- set to Citadel mode * 2 - save current settings for later restoral * 3 - restore saved settings */ #ifdef HAVE_TERMIOS_H -void sttybbs(int cmd) -{ /* SysV version of sttybbs() */ +void stty_ctdl(int cmd) +{ /* SysV version of stty_ctdl() */ struct termios live; static struct termios saved_settings; static int last_cmd = 0; @@ -1264,8 +1264,8 @@ void sttybbs(int cmd) } #else -void sttybbs(int cmd) -{ /* BSD version of sttybbs() */ +void stty_ctdl(int cmd) +{ /* BSD version of stty_ctdl() */ struct sgttyb live; static struct sgttyb saved_settings; static int last_cmd = 0;