Bug 1377316 - [RFE] make _remote_ vim doing the right decisions about 'set background'
Summary: [RFE] make _remote_ vim doing the right decisions about 'set background'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: vim
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Zdenek Dohnal
QA Contact: Patrik Moško
URL:
Whiteboard:
Depends On: 1262837 1262843 1262863 1264682
Blocks: 1551022 1630913
TreeView+ depends on / blocked
 
Reported: 2016-09-19 12:31 UTC by Pavel Raiskup
Modified: 2019-08-06 12:45 UTC (History)
12 users (show)

Fixed In Version: vim-7.4.629-2.el7
Doc Type: No Doc Update
Doc Text:
Clone Of: 1262837
Environment:
Last Closed: 2019-08-06 12:45:28 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 352945 0 'NOR' 'RESOLVED' 'PATCH/RFE: add support for terminal background detection (vim background autodetection)' 2019-12-03 16:08:04 UTC
Red Hat Product Errata RHBA-2019:2098 0 None None None 2019-08-06 12:45:36 UTC

Description Pavel Raiskup 2016-09-19 12:31:18 UTC
I always run commands in "dark" terminal, and doing ssh from (sufficiently
new) box to RHEL 7 box causes, that running 'vim' on RHEL7 still thinks
that the background color is "light".  With Fedora this works fine.

There is defined terminal protocol so vim is able to communicate the
background color with terminal (be that local or remote terminal over ssh).
Upstream (and Fedora) vim has this already implemented, and it would be nice
to have this backported into RHEL7:

https://github.com/vim/vim/commit/f71d7b9ee5ceba75f70c30845332ddd728fd16c6

Also have a look at bug 1159920.

+++ This bug was initially created as a clone of Bug #1262837 +++

Comment 1 Pavel Raiskup 2016-09-19 12:36:16 UTC
I'm sorry, I've posted wrong patch link, this should be correct:
https://github.com/vim/vim/commit/b5c3265521749fda81ae4b052de35a0d1209cf50

Comment 4 Pavel Raiskup 2018-03-28 12:50:40 UTC
Ping.  Being 2018 now, administrators are going to take care of RHEL7 boxes
for a very long time;  so fixing this still makes sense IMO.  It would make
the work with remote RHEL7 boxes much more convenient *by default* (for
administrators with dark terminal).

Comment 13 Pavel Raiskup 2019-01-23 09:35:48 UTC
I've just tested 7.4.629-2.el7.x86_64, and it works perfectly, thank you.

Comment 14 Kamil Dudka 2019-05-16 11:11:31 UTC
(In reply to Pavel Raiskup from comment #13)
> I've just tested 7.4.629-2.el7.x86_64, and it works perfectly, thank you.

Yes, vim-7.4.629-2.el7 works as expected.  Good job.  Thank both of you!

Comment 18 errata-xmlrpc 2019-08-06 12:45:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2098


Note You need to log in before you can comment on or make changes to this bug.