summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-07 23:31:53 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-07 23:31:53 (EDT)
commitb4fd2046db69d96378e105626da18e54d82437e4 (patch)
tree50a4092c5553e23fe0f918a0a9026cb9e36efb55
parent72396e964af5d96dc76e31b352eaceca1c18ab41 (diff)
downloadbash-b4fd2046db69d96378e105626da18e54d82437e4.zip
bash-b4fd2046db69d96378e105626da18e54d82437e4.tar.gz
bash-b4fd2046db69d96378e105626da18e54d82437e4.tar.bz2
.profile: Fix TERM for VTE
-rw-r--r--.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.profile b/.profile
index 3353aca..5229315 100644
--- a/.profile
+++ b/.profile
@@ -13,3 +13,9 @@ PATH="${HOME}/bin:${PATH}"
[ "${PS1+set}" = 'set' ] || return
PATH="${HOME}/ibin:${PATH}"
+
+# VTE claims to be xterm-256color, but the ncurses terminfo definitions for
+# xterm and vte terminals have diverged so much that lxdialog rendering is
+# screwed up with terminfo from ncurses 6.1 (but was OK in 5.9). VTE should be
+# more honest. It's OK to be different, VTE. We'll love you just the same.
+[ "${DISPLAY:+set}" = 'set' ] && TERM='vte-2014'