Results 1 to 9 of 9

Thread: TUMBLEWEED Konsole line editing display corrupted

  1. #1
    Join Date
    Aug 2010
    Location
    Berkshire
    Posts
    27

    Default TUMBLEWEED Konsole line editing display corrupted

    Hi.

    cat /etc/os-release
    NAME="openSUSE Tumbleweed"
    # VERSION="20180209 "


    In the last week or two, line editing on Konsole has slightly broken. The reflected edits are all over the place but the buffer contents appear to be sound. For example, pressing backspace reflects a space, so doesn't remove the character you wanted to delete from the screen - but it is deleted from the buffer.

    So edits such as backspace and CTRL-U reflect incorrectly but when you press return, you get what you were hoping for, even though it looks messed up.

    CTRL-SHIFT-K clears the window but produces a cascade of three prompts each indented under the end of the one above.
    While messing about with it, I discovered that the clear command gives an error: 'xterm-256color': unknown terminal type.
    Not sure if this is linked. I can't see where that might be set.
    Any pointers as to how I can return Konsole sanity would be appreciated.

    Thank you.

  2. #2
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,134

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    I think that you have edited the konsole profile at some time and it has not updated.

    Konsole > Settings > Configure Konsole | select a profile
    or
    Konsole > Settings > Edit Current Profile
    then Environment | Edit
    Code:
    TERM=xterm
    COLORTERM=truecolor
    It has happened to me too!
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  3. #3

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    I had the same it solved the problem, but I don't think I changed something by mistake, had the same on 2 computers, so I suspect some update inserted that 'strangity'

  4. #4
    Join Date
    Aug 2010
    Location
    Berkshire
    Posts
    27

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    Thank you. That fixed it.

    I didn't change it though. I've never been in that little settings corner before.

    Much appreciated.

  5. #5

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    I had this issue, too. It cropped-up after an update; I didn't change anything. Incredibly annoying.

    eng-int's suggestion (#2) solved it - many thanks.

    You have to restart konsole for the solution to take effect.

  6. #6
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,134

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    Quote Originally Posted by a_tuor View Post
    but I don't think I changed something by mistake,
    Quote Originally Posted by lenscape View Post
    I didn't change it though. I've never been in that little settings corner before.
    Quote Originally Posted by PorkPieHat View Post
    It cropped-up after an update; I didn't change anything.
    The “explanation” was just my best guess at the time.
    I encountered this several months, maybe a year, ago following an update. I have not experienced it since.

    I attributed it to a profile change because I had changed the colours to black-on-white and the typeface. I think it could be as little as using “Ctrl+” to increase the font size. I did not see the problem on a screen with an unaltered appearance.
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  7. #7

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    It's likely caused by a change in ncurses, the xterm-256color profile now uses a new file format and that can cause problems with applications that try to read it directly (not using ncurses' libraries).

    I didn't notice any problems in konsole itself though when I booted a Krypton LiveCD (based on Tumbleweed, but using the latest unstable KDE packages) a few days ago.

    But slang (used by mc e.g.) was broken, a fix is on the way.
    http://bugzilla.opensuse.org/show_bug.cgi?id=1079543

  8. #8
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,134

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    Quote Originally Posted by wolfi323 View Post
    It's likely caused by a change in ncurses, the xterm-256color profile now uses a new file format and that can cause problems ...
    Thanks, you have jogged my memory. It was the ncurses version of YaST where I noticed this problem. I often use this with Konsole and ssh to help administer remote machines.
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  9. #9

    Default Re: TUMBLEWEED Konsole line editing display corrupted

    Quote Originally Posted by eng-int View Post
    Thanks, you have jogged my memory. It was the ncurses version of YaST where I noticed this problem. I often use this with Konsole and ssh to help administer remote machines.
    Well, there were rendering problems of ncurses applications in Konsole, because ncurses switched to using the "REP" escape sequence (for the xterm* profiles) to repeat characters which Konsole didn't support.
    This has been added to Konsole meanwhile though.

    But I think there was also a "fix" in YaST for that.

    That change I mean is quite new though, in ncurses 6.1. (as mentioned, the file format for xterm-256color changed, which breaks applications trying to read that file directly)
    Last edited by wolfi323; 12-Feb-2018 at 10:59.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •