mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Display compact status in menu and update README to reflect current menu entries.
This commit is contained in:
parent
d97e19f1c8
commit
2e56706cc6
15
README
15
README
@ -342,6 +342,7 @@ The following options are available while running with a single keypress:
|
|||||||
P gives you:
|
P gives you:
|
||||||
|
|
||||||
Current pool management strategy: Failover
|
Current pool management strategy: Failover
|
||||||
|
[F]ailover only disabled
|
||||||
[A]dd pool [R]emove pool [D]isable pool [E]nable pool
|
[A]dd pool [R]emove pool [D]isable pool [E]nable pool
|
||||||
[C]hange management strategy [S]witch pool [I]nformation
|
[C]hange management strategy [S]witch pool [I]nformation
|
||||||
|
|
||||||
@ -351,15 +352,21 @@ S gives you:
|
|||||||
[Q]ueue: 1
|
[Q]ueue: 1
|
||||||
[S]cantime: 60
|
[S]cantime: 60
|
||||||
[E]xpiry: 120
|
[E]xpiry: 120
|
||||||
[R]etries: -1
|
|
||||||
[P]ause: 5
|
|
||||||
[W]rite config file
|
[W]rite config file
|
||||||
|
[C]gminer restart
|
||||||
|
|
||||||
|
|
||||||
D gives you:
|
D gives you:
|
||||||
|
|
||||||
Toggle: [D]ebug [N]ormal [S]ilent [V]erbose [R]PC debug
|
[N]ormal [C]lear [S]ilent mode (disable all output)
|
||||||
[L]og interval [C]lear
|
[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.
|
Q quits the application.
|
||||||
|
10
cgminer.c
10
cgminer.c
@ -3820,14 +3820,17 @@ static void display_options(void)
|
|||||||
immedok(logwin, true);
|
immedok(logwin, true);
|
||||||
clear_logwin();
|
clear_logwin();
|
||||||
retry:
|
retry:
|
||||||
wlogprint("[N]ormal co[M]pact mode [C]lear [S]ilent mode (disable all output)\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\n[L]og interval:%d\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",
|
opt_debug ? "on" : "off",
|
||||||
want_per_device_stats? "on" : "off",
|
want_per_device_stats? "on" : "off",
|
||||||
opt_quiet ? "on" : "off",
|
opt_quiet ? "on" : "off",
|
||||||
opt_log_output ? "on" : "off",
|
opt_log_output ? "on" : "off",
|
||||||
opt_protocol ? "on" : "off",
|
opt_protocol ? "on" : "off",
|
||||||
opt_worktime ? "on" : "off",
|
opt_worktime ? "on" : "off",
|
||||||
|
opt_compact ? "on" : "off",
|
||||||
opt_log_interval);
|
opt_log_interval);
|
||||||
wlogprint("Select an option or any other key to return\n");
|
wlogprint("Select an option or any other key to return\n");
|
||||||
input = getch();
|
input = getch();
|
||||||
@ -6326,12 +6329,13 @@ int main(int argc, char *argv[])
|
|||||||
for (i = 0; i < total_devices; ++i)
|
for (i = 0; i < total_devices; ++i)
|
||||||
devices[i]->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
|
devices[i]->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
|
||||||
|
|
||||||
|
if (!opt_compact) {
|
||||||
logstart += total_devices;
|
logstart += total_devices;
|
||||||
logcursor = logstart + 1;
|
logcursor = logstart + 1;
|
||||||
|
|
||||||
#ifdef HAVE_CURSES
|
#ifdef HAVE_CURSES
|
||||||
check_winsizes();
|
check_winsizes();
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
if (!total_pools) {
|
if (!total_pools) {
|
||||||
applog(LOG_WARNING, "Need to specify at least one pool server.");
|
applog(LOG_WARNING, "Need to specify at least one pool server.");
|
||||||
|
Loading…
Reference in New Issue
Block a user