Announcement

Collapse
No announcement yet.

curses problem in konsole, new escape sequence not implemented

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    curses problem in konsole, new escape sequence not implemented

    Code:
    $ echo -e "X\e[20b"
    X
    The X should be repeated 20 times; in an xterm it is. The problem is not that konsole does not support this sequence, but that the default terminal type in $TERM, xterm-256color, has changed from 17.10 to include this "rep" capability, perhaps with a new version of ncurses that landed recently, and konsole doesn't handle it. Any programme linked against ncurses, however ancient, will have problems running in a konsole in 18.04 as ncurses might optimize a string of repeated characters to use this.

    A simple work-around is
    Code:
    infocmp | sed 's/rep=[^,]*,//' | tic -
    That just compiles a new terminfo entry without the rep capability and writes it to $HOME/.terminfo, where ncurses programmes should find it.

    Telling KFN this isn't much use, I imagine, so my real question is "Where should I report this?" I'm not sure it's a konsole bug; konsole seems to be at the same version as in 17.10, and the new capability should be implemented in some library deep in konsole's dependencies.
    Regards, John Little

    #2
    Google didn't find this for me when I first investigated, but maybe my search terms lacked the understanding I developed. Anyway, today, I found:

    https://bugs.kde.org/show_bug.cgi?id=384620
    Regards, John Little

    Comment


      #3
      Is this fixed now in 18.04?
      On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

      Comment


        #4
        Not as of this morning. I just updated my 18.04 install (over 1100 updated packages and just over 100 new packages; haven't updated that VM is a while!) and
        Code:
        echo -e "X\e[20b"
        still produces a single X.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment

        Working...
        X