Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2510

Terminal displays "p" at initial cursor position when vi starts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 11.0
    • Fix Version/s: None
    • Component/s: cnd - Terminalemulator
    • Labels:
      None
    • Environment:

      Description

      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.

       

       

      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.

       

       

      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 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.

       

        Attachments

        1. vi_p_err.png
          104 kB
          Malcolm
        2. vi_cmd_mode_shifted cursor.png
          186 kB
          Malcolm
        3. vi_cmd_cursor_initialpos.png
          186 kB
          Malcolm
        4. cat_file.png
          169 kB
          Malcolm

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              budasy Malcolm
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: