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

"shift+tab=previours" function key works abnormal in Petitboot #8

Closed
deathscytheh28 opened this issue Dec 9, 2015 · 6 comments
Closed

Comments

@deathscytheh28
Copy link

When we press "shift+tab" in Petitboot Language Selection page, it goes next not previous.

@sammj
Copy link
Contributor

sammj commented Dec 9, 2015

Can you describe exactly what you see? At the moment "tab" and "shift-tab" are used for skipping through major screen elements - for example "tab" will jump down to the OK button, then Cancel, then back to the top. "shift-tab" works the same way in reverse.

@deathscytheh28
Copy link
Author

We found the behavior between console output and VGA output is different. On console output, "tab" and "shift-tab" works as you said, but on VGA output, "tab" and "shift+tab" works the same.

@deathscytheh28 deathscytheh28 changed the title "shift+tab=previours" function key works abnormal in Petitboot Language Selection page "shift+tab=previours" function key works abnormal in Petitboot Mar 1, 2016
@sammj
Copy link
Contributor

sammj commented Mar 1, 2016

As a quick test, if you drop to the shell while on the VGA console and enter
stty raw ; hexdump -C -n 10; stty sane
then press shift-tab several times until the command returns, what output do you get?. For example, you will probably see something like this:

^[[Z^[[Z^[[Z^[[Z00000000 1b 5b 5a 1b 5b 5a 1b 5b 5a 1b ...

@deathscytheh28
Copy link
Author

Here is my result:
result

@jk-ozlabs
Copy link
Member

Looks like the TTY is sending tab characters (0x09) when you hit shift-tab there.

We may need to check we have the correct terminal type when we set it up for input modes...

@sammj
Copy link
Contributor

sammj commented Mar 31, 2016

This is fixed by commit open-power/op-build@de7fcc6 in op-build.

@sammj sammj closed this as completed Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants