Malcolm created NETBEANS-2510:
---------------------------------
Summary: Terminal displays "p" at initial cursor position when vi
starts
Key: NETBEANS-2510
URL: https://issues.apache.org/jira/browse/NETBEANS-2510
Project: NetBeans
Issue Type: Bug
Components: cnd - Terminalemulator
Affects Versions: 11.0
Environment: Hardware
MacBook Pro 15-inch 2017
Graphics Radeon Pro 555 2048 MB
Intel HD Graphics 630 1536 MB
Software
Product Version: Apache NetBeans IDE 11.0 (Build
incubator-netbeans-release-404-on-20190319)
Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13
Runtime: OpenJDK Runtime Environment 10.0.2+13
System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NZ (nb)
Reporter: Malcolm
Attachments: cat_file.png, vi_cmd_cursor_initialpos.png,
vi_cmd_mode_shifted cursor.png, vi_p_err.png
The issue can be seen by starting vi with or with any arguments, provided the
initial window is sufficiently large. When the window size is smaller the
problem doesn't occur.
The issue is that a lowercase "p" is drawn onscreen and the cursor is
positioned after it. The character is only drawn onscreen. The file, if one is
opened from the command line, is not modified. Although it appears as if it has
been. I attempt to correct the error and that causes problems.
If you look at the attached image you'll see it on the vi splash screen.
!vi_p_err.png!
In the next screen shot you can see what happens when you open a file that had
been edited previously and the cursor is somewhere in the middle of the file.
!vi_cmd_cursor_initialpos.png!
Moving the cursor away from it's initial position isn't enough to remedy the
screen drawing bug. The next screen shot shows this. The rendering bug
persists, causing even more confusion.
!vi_cmd_mode_shifted cursor.png!
Vi is the only tool that I've seen affected by this. Displaying the file
content using cat reveals that there has been no change to the file content at
all.
!cat_file.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists