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

Portuguese keyboard on Linux does not handle home, end and altgr combinations on Linux #11926

Closed
rjfmachado opened this issue Feb 22, 2020 · 16 comments
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-No Activity Issue has had no activity for 6 months or more WG-Interactive-Console the console experience

Comments

@rjfmachado
Copy link

Steps to reproduce

Hit Keyboard home, end, @, £ and others does not produce expected results

Expected behavior

Keyboard works...

Actual behavior

I get ~ for home, end
and the digit-argument input for altgr+number keys

Environment data

Name Value


PSVersion 7.0.0-rc.3
PSEdition Core
GitCommitId 7.0.0-rc.3
OS Linux 5.0.0-1032-azure #34-Ubuntu SMP Mon Feb 10 19:37:25 UTC 2020
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

tried ssh from cmd and windows terminal as I've seen this in the past in local powershell in WT.

@rjfmachado rjfmachado added the Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a label Feb 22, 2020
@iSazonov
Copy link
Collaborator

@rjfmachado Can you try without PSReadline module? (Remove-Module PSReadline)

@rjfmachado
Copy link
Author

That resolves the altgr combos, but home/end still do not work, HOME does go to the start of the line, but prints 1~, END only prints 4~
2020-02-23_08-49-43

@rjfmachado
Copy link
Author

rjfmachado commented Feb 23, 2020

also, when using without PSReadline, occasionally the cursor jumps to the start of the line for no reason (changed by cursor to make this easier to see). I was just hitting backspace.
2020-02-23_09-01-50

@iSazonov
Copy link
Collaborator

@daxian-dbw Could you please comment the Issue?

@daxian-dbw
Copy link
Member

@rjfmachado Does Portuguese keyboard works as expected with pwsh on Windows (win 10)?

@rjfmachado
Copy link
Author

Yes, all keys work and PSReadline also has no issues. I only see this on Linux, I'm using the inbox ssh on Windows 10 if this helps (Windows 10 18363, OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5)

@iSazonov
Copy link
Collaborator

@rjfmachado Could you please add more info about your scenario? Do you use Windows terminal, open SSH session to Linux and run pwsh?

@rjfmachado
Copy link
Author

That's it, Windows Terminal calling ssh to ubuntu 18.04 then from bash, run pwsh-preview

@rjfmachado
Copy link
Author

the 7.0.0 GA fixed the AltGr combinations, home/end issue remains

@iSazonov iSazonov added the WG-Interactive-Console the console experience label Mar 5, 2020
@rjfmachado
Copy link
Author

I stumbled upon the fact that Alt + Home/End actually work as Home/End when PSReadLine is removed, but not with PSReadline loaded.

@iSazonov
Copy link
Collaborator

It is dup #8869

@lzybkr
Copy link
Member

lzybkr commented Mar 18, 2020

Alt+Home and Alt+End is most likely this .Net issue - see dotnet/runtime#802

Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

2 similar comments
Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-No Activity Issue has had no activity for 6 months or more labels Nov 16, 2023
Copy link
Contributor

This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-No Activity Issue has had no activity for 6 months or more WG-Interactive-Console the console experience
Projects
None yet
Development

No branches or pull requests

4 participants