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

qrencode does not work with local linux vt/console #211

Open
devZer0 opened this issue Sep 28, 2023 · 0 comments
Open

qrencode does not work with local linux vt/console #211

devZer0 opened this issue Sep 28, 2023 · 0 comments

Comments

@devZer0
Copy link

devZer0 commented Sep 28, 2023

when using pivpn qrcode feature for wireguard, output is broken like this (can't scan the code), when linux console is being used

grafik

there is a pull request at
#19

telling

"This doubles the density of QR codes printed on terminals...."

true. this is why pivpn is using utf8 by default

"...., and should be supported by virtually all modern terminals, including xterm, gnome-terminal and the Linux console."

at least concerning linux console, this does not seem to be true

also see https://forum.proxmox.com/threads/qrencode-is-broken-in-proxmox-kvm-qemu-vnc-console.134104/

"No, it's your linux console. Every time you use a gui console like iTerm, the characters are rendered in your guest with your guest font, which can display UTF8 characters, the linux console, or more general, the used fonts are not made for this. They only have some special characters, not all of them. It's a console and not your favorite chat tool"

i think qrencode should perhaps tell when it can't work with a linux console, instead of printing garbage

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

1 participant