-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
backspace, arrow keys, etc broken on FreeBSD with QTerminal after 7954b95 #3406
Comments
|
We've had several people complain about weird behavior on various FreeBSD variants (e.g., DragonFly BSD). None of the core developers use BSD on a regular basis. We've made attempts to get to root cause (e.g., by installing DragonFly BSD in a VM) but threw up our hands in defeat. There is something distinctly odd about the FreeBSD handling of unicode and UTF-8 locales. When you say "works fine in FreeBSD's virtual terminals" are you referring to a console VT? What is the output of I'll try to find the time to setup FreeBSD in a VM and reproduce but we're probably going to be dependent on a knowledgeable person like yourself to help us find root cause. |
|
Good guess @krader1961 . I did mean the console when I said "virtual terminal". In the console, where fish works, we have: In QTerminal, where fish-2.3.1 doesn't work (but fish-2.2.0 does) we have In QTerminal, if I do |
|
Okay, that's consistent with the other problem reports. Note that no one running fish on macOS (another BSD flavor) is seeing problems (and that includes me) or MS Windows (both Cygwin and the new Windows Linux Subsystem). To be determined is whether fish is doing something wrong that just happens to work on Linux, macOS, etc. or whether there is a bug in FreeBSD. Any assistance or insights you can provide is welcomed. |
|
FYI, I installed FreeBSD 12 and can reproduce this problem. The reason none of the keys works is that the default key bindings aren't setup in a UTF-8 locale: There are other errors as well such as Discussion to be continued in issue #3050 as I learn more. |
|
Fixed on FreeBSD as well https://svnweb.freebsd.org/base?view=revision&revision=306782 |
sh -c 'env HOME=$(mktemp -d) fish')?fish version installed (
fish --version): fish, version 2.3.1OS/terminal used: FreeBSD 12.0-CURRENT, QTerminal 0.6
The backspace key has no effect. The Home, Delete, End, Page Up/Down and arrow keys all insert garbage. Curiously, fish-2.3.1 works fine in FreeBSD's virtual terminals, and Bash works fine in QTerminal. I have bisected the problem and found that it was introduced in f2246df (reduce number of Unicode private-use characters)
Reproduction steps
The text was updated successfully, but these errors were encountered: