[Konsole-devel] [konsole] [Bug 352945] New: PATCH/RFE: add support for terminal background detection (vim background autodetection)

Pavel Raiskup praiskup at redhat.com
Sun Sep 20 16:02:31 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=352945

            Bug ID: 352945
           Summary: PATCH/RFE: add support for terminal background
                    detection (vim background autodetection)
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: emulation
          Assignee: konsole-devel at kde.org
          Reporter: praiskup at redhat.com

vim uses control sequence 'echo -e "\033]11;?\a"' to request real background
color -- to detect whether terminal has dark or light background.  This is,
however not yet supported by konsole (but is by xterm or gnome-terminal).

The painful result of this is that anytime you "ssh-connect" to remote machine
in konsole with dark background (default in konsole anyway), remote vim takes
the default style -- 'set background=light' and the text is mostly unreadable.

Implemented 'COLORFGBG' variable does not help because that is widely
filtered... (e.g. by ssh itself).

More info:
https://bugzilla.redhat.com/show_bug.cgi?id=1262843


Reproducible: Always

Steps to Reproduce:
1. Run konsole and execute 'echo -e "\033]11;?\a"  && sleep 10'
2. You should see something like: ^[]11;rgb:0000/0000/0000

Actual Results:  
No response given by konsole.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list