Browse Source

Merge commit '2e56706' into stratum

Conflicts:
	miner.c
Luke Dashjr 13 years ago
parent
commit
f3aa922bbe
2 changed files with 21 additions and 9 deletions
  1. 11 3
      README
  2. 10 6
      miner.c

+ 11 - 3
README

@@ -344,6 +344,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
 
 
@@ -355,14 +356,21 @@ S gives you:
 [S]cantime: 60
 [S]cantime: 60
 [E]xpiry: 120
 [E]xpiry: 120
 [R]etries: -1
 [R]etries: -1
-[P]ause: 5
 [W]rite config file
 [W]rite config file
+[B]FGMiner restart
 
 
 
 
 D gives you:
 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.
 Q quits the application.

+ 10 - 6
miner.c

@@ -4607,14 +4607,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("[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_console ? "on" : "off",
 		opt_debug_console ? "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();
@@ -7418,12 +7421,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;
 
 
-	logstart += total_devices;
-	logcursor = logstart + 1;
-
+	if (!opt_compact) {
+		logstart += total_devices;
+		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.");