#
use_background=off
+# STATUS_LINE will keep an informative status line on the top of the screen,
+# but it doesn't work on all terminals (Mac OS is particularly bad at this).
+status_line=off
+
# PROMPT_CONTROL should be set to on/off/user to control whether the <N>ext
# and <S>top keys are active when displaying the paginator prompt. If it
# is set to "user" then it's a user-configurable option.
if (!strncasecmp(&buf[11], "user", 4))
rc_ansi_color = 3; /* user config */
}
+ if (!strncasecmp(buf, "status_line=", 12)) {
+ if (!strncasecmp(&buf[12], "on", 2))
+ enable_status_line = 1;
+ }
if (!strncasecmp(buf, "use_background=", 15)) {
if (!strncasecmp(&buf[15], "on", 2))
rc_color_use_bg = 9;
#include "commands.h"
#include "screen.h"
-int enable_status_line = 0; /* FIXME the status line works, but not on Mac. Make this configurable. */
+int enable_status_line = 0;
char status_line[1024] = " ";
/* the default paginator prompt will be replaced by the server's prompt when we learn it */
void do_system_configuration(CtdlIPC *ipc);
extern char editor_path[PATH_MAX];
+extern int enable_status_line;