Browse Source

Display compact status in menu and update README to reflect current menu entries.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
2e56706cc6
  1. 15
      README
  2. 16
      cgminer.c

15
README

@ -342,6 +342,7 @@ The following options are available while running with a single keypress: @@ -342,6 +342,7 @@ The following options are available while running with a single keypress:
P gives you:
Current pool management strategy: Failover
[F]ailover only disabled
[A]dd pool [R]emove pool [D]isable pool [E]nable pool
[C]hange management strategy [S]witch pool [I]nformation
@ -351,15 +352,21 @@ S gives you: @@ -351,15 +352,21 @@ S gives you:
[Q]ueue: 1
[S]cantime: 60
[E]xpiry: 120
[R]etries: -1
[P]ause: 5
[W]rite config file
[C]gminer restart
D gives you:
Toggle: [D]ebug [N]ormal [S]ilent [V]erbose [R]PC debug
[L]og interval [C]lear
[N]ormal [C]lear [S]ilent mode (disable all output)
[D]ebug:off
[P]er-device:off
[Q]uiet:off
[V]erbose:off
[R]PC debug:off
[W]orkTime details:off
co[M]pact: off
[L]og interval:5
Q quits the application.

16
cgminer.c

@ -3820,14 +3820,17 @@ static void display_options(void) @@ -3820,14 +3820,17 @@ static void display_options(void)
immedok(logwin, true);
clear_logwin();
retry:
wlogprint("[N]ormal co[M]pact mode [C]lear [S]ilent mode (disable all output)\n");
wlogprint("[D]ebug:%s\n[P]er-device:%s\n[Q]uiet:%s\n[V]erbose:%s\n[R]PC debug:%s\n[W]orkTime details:%s\n[L]og interval:%d\n",
wlogprint("[N]ormal [C]lear [S]ilent mode (disable all output)\n");
wlogprint("[D]ebug:%s\n[P]er-device:%s\n[Q]uiet:%s\n[V]erbose:%s\n"
"[R]PC debug:%s\n[W]orkTime details:%s\nco[M]pact: %s\n"
"[L]og interval:%d\n",
opt_debug ? "on" : "off",
want_per_device_stats? "on" : "off",
opt_quiet ? "on" : "off",
opt_log_output ? "on" : "off",
opt_protocol ? "on" : "off",
opt_worktime ? "on" : "off",
opt_compact ? "on" : "off",
opt_log_interval);
wlogprint("Select an option or any other key to return\n");
input = getch();
@ -6326,12 +6329,13 @@ int main(int argc, char *argv[]) @@ -6326,12 +6329,13 @@ int main(int argc, char *argv[])
for (i = 0; i < total_devices; ++i)
devices[i]->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
logstart += total_devices;
logcursor = logstart + 1;
if (!opt_compact) {
logstart += total_devices;
logcursor = logstart + 1;
#ifdef HAVE_CURSES
check_winsizes();
check_winsizes();
#endif
}
if (!total_pools) {
applog(LOG_WARNING, "Need to specify at least one pool server.");

Loading…
Cancel
Save