-
Notifications
You must be signed in to change notification settings - Fork 163
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
Mouse movement in binl/vi produces garbage #1263
Comments
it looks like bug in Linux 32-bit version, which uses OW ncurses port. Could be related to ported ncurses version 5.3 and its compatibility with ncurses version used by up-to-date Linux distribution. |
When i tried the Linux console (VT1) before and on the VT,
Can you remember, what was changed / which ABI`s are different?
When i can help, please tell me, what should i do, to help here. |
Try it with more classics terminal as VT-100, VT-220 or VT-420 |
I did an update of
Without the minus sign in the terminal names, On the mouse move, there is no switch to insert mode More results: xtermc: menu drawing is correct, |
This is an archive from my ncurses update. What i did:
This works for now, but is not perfect:
TODO: upgrade |
If I can do conclusion then bug is somewhere in OW code. |
As mentioned in bug #1265, there are also garbage characters in I have no idea, if it's the same bug. Screenshoot: I used "cursor-up" in the same column multiple times. |
I just tested it on Debian 12 with downloaded latest build and it works without any problem. |
Strange. I found a Debian 12.4 machine (Kernel 6.1.0-11-amd64) in the compile farm: cfarm14.cfarm.net I have still no idea, why the 64bit version works and the 32bit version is broken, What is the value of your $TERM? Since i used ssh to connect to cfarm14, Which terminal emulator do you use? Currently, my system uses kernel 6.7.11 x86_64 |
I tried with my own build and the ci build from yesterday.
In addition to the default distribution terminal,
i re-installed and tested term (the bug is always the same).
To reproduce:
When i now move the mouse over the terminal window, vi changes from command mode to
insert mode and overwrites the first line by inserting bogus characters.
This happens on the first mouse move. Additional mouse moves do not change the content.
Switching back to command mode and moving the mouse again inserts again bogus characters
(as before, only on the first mouse move).
When vi is in command mode and I press the ":" key,
the command line window pops up with the column printed as the first character,
but on all mouse moves over the vi window, the commandline is filled with many bogus characters.
The bug is only present in the
binl/vi
program compiled by OpenWatcom.binl64/vi
(compiled with gcc 13) does not have this bug.I also used
wine
to checkbinnt\vi.exe
andbinnt64\vi.exe
, and both does not have this bug.Example Screenshoot:
https://imgur.com/bhY1IAv.png
The text was updated successfully, but these errors were encountered: