Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctrl-l seems delicate for clear screen, replace with an explicit 'clear' #923

Closed
wants to merge 1 commit into from

Conversation

sysrich
Copy link
Member

@sysrich sysrich commented Jan 12, 2016

No description provided.

okurz added a commit to okurz/os-autoinst-distri-opensuse that referenced this pull request Jan 12, 2016
…command

Replace all occurences of 'ctrl-l' to clear the screen in a console with
'clear\n' in form of the new helper function 'clear_console()' as 'ctrl-l' is
not buffered in the keybuffer whereas 'clear\n' is executed after the previous
command returns to the prompt.

Alternative or complementary to
os-autoinst#923

Related issue:
https://progress.opensuse.org/issues/10138
@okurz
Copy link
Member

okurz commented Jan 12, 2016

see my take on this in #926 . doesn't work yet because I don't know where to put the helper function. We could also merge it afterwards but I think we also have to fix other explicit calls of 'ctrl-l' for the same reason.

okurz added a commit to okurz/os-autoinst-distri-opensuse that referenced this pull request Jan 12, 2016
…command

Replace all occurences of 'ctrl-l' to clear the screen in a console with
'clear\n' in form of the new helper function 'clear_console()' as 'ctrl-l' is
not buffered in the keybuffer whereas 'clear\n' is executed after the previous
command returns to the prompt.

Alternative or complementary to
os-autoinst#923

Related issue:
https://progress.opensuse.org/issues/10138
okurz added a commit to okurz/os-autoinst-distri-opensuse that referenced this pull request Jan 12, 2016
This should fix some flaky tests depending on machine execution performance.

Replace all occurences of 'ctrl-l' to clear the screen in a console with
'clear\n' in form of the new helper function 'clear_console()' as 'ctrl-l' is
not buffered in the keybuffer whereas 'clear\n' is executed after the previous
command returns to the prompt.

Tested locally with "console-consoletest_setup" and following on x86_64. No
test of "ha" or similar has been done.

Alternative or complementary to
os-autoinst#923

Related issue:
https://progress.opensuse.org/issues/10138
@coolo
Copy link
Contributor

coolo commented Jan 13, 2016

I don't think we have time pressure on this issue, so let's do it right in #926

@coolo coolo closed this Jan 13, 2016
okurz added a commit to okurz/os-autoinst-distri-opensuse that referenced this pull request Jan 13, 2016
This should fix some flaky tests depending on machine execution performance.

Replace all occurences of 'ctrl-l' to clear the screen in a console with
'clear\n' in form of the new helper function 'clear_console()' as 'ctrl-l' is
not buffered in the keybuffer whereas 'clear\n' is executed after the previous
command returns to the prompt.

Tested locally with "console-consoletest_setup" and following on x86_64. No
test of "ha" or similar has been done.

Alternative or complementary to
os-autoinst#923

Related issue:
https://progress.opensuse.org/issues/10138
okurz added a commit to okurz/os-autoinst-distri-opensuse that referenced this pull request Jan 13, 2016
This should fix some flaky tests depending on machine execution performance.

Replace all occurences of 'ctrl-l' to clear the screen in a console with
'clear\n' in form of the new helper function 'clear_console()' as 'ctrl-l' is
not buffered in the keybuffer whereas 'clear\n' is executed after the previous
command returns to the prompt.

Tested locally with "console-consoletest_setup" and following on x86_64. No
test of "ha" or similar has been done.

Alternative or complementary to
os-autoinst#923

Related issue:
https://progress.opensuse.org/issues/10138
okurz added a commit to okurz/os-autoinst-distri-opensuse that referenced this pull request Jan 15, 2016
This should fix some flaky tests depending on machine execution performance.

Replace all occurences of 'ctrl-l' to clear the screen in a console with
'clear\n' in form of the new helper function 'clear_console()' as 'ctrl-l' is
not buffered in the keybuffer whereas 'clear\n' is executed after the previous
command returns to the prompt.

Tested locally with "console-consoletest_setup" and following on x86_64. No
test of "ha" or similar has been done.

Alternative or complementary to
os-autoinst#923

Related issue:
https://progress.opensuse.org/issues/10138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants