From bc2836bbaab0e1e39786d8a221bef112ff49ce4d Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 8 Feb 2009 21:38:30 +0000 Subject: [PATCH] Allow pressing 'p' to disable paging during boot debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29169 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/debug/blue_screen.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/system/kernel/debug/blue_screen.cpp b/src/system/kernel/debug/blue_screen.cpp index c9790db6e7..3c48421ace 100644 --- a/src/system/kernel/debug/blue_screen.cpp +++ b/src/system/kernel/debug/blue_screen.cpp @@ -125,7 +125,7 @@ next_line(void) // output const char *text = in_command_invocation() ? "Press key to continue, Q to quit, S to skip output" - : "Press key to continue, Q or S to skip output"; + : "Press key to continue, S to skip output, P to disable paging"; int32 length = strlen(text); if (sScreen.x + length > sScreen.columns) { // make sure we don't overwrite too much @@ -142,10 +142,11 @@ next_line(void) char c = blue_screen_getchar(); if (c == 's') { sScreen.ignore_output = true; - } else if (c == 'q') { - abortCommand = in_command_invocation(); + } else if (c == 'q' && in_command_invocation()) { + abortCommand = true; sScreen.ignore_output = true; - } + } else if (c == 'p' && !in_command_invocation()) + sScreen.paging = false; // remove on screen text again sModule->fill_glyph(sScreen.columns - length, sScreen.y, length,