From 4e8c8155f79e5054dbd694673f93437b62fba990 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 23 Mar 2014 17:15:13 -0300 Subject: Managing rxvt-256color terminfo on squeeze --- files/terminfo/rxvt-256color | Bin 0 -> 2278 bytes manifests/subsystem/profile.pp | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 files/terminfo/rxvt-256color diff --git a/files/terminfo/rxvt-256color b/files/terminfo/rxvt-256color new file mode 100644 index 0000000..c50b2f8 Binary files /dev/null and b/files/terminfo/rxvt-256color differ diff --git a/manifests/subsystem/profile.pp b/manifests/subsystem/profile.pp index 33ddc6a..802860f 100644 --- a/manifests/subsystem/profile.pp +++ b/manifests/subsystem/profile.pp @@ -35,4 +35,19 @@ class nodo::subsystem::profile { file { "/etc/profile.d/prompt.sh": ensure => absent, } + + # See http://linuxforcynics.com/how-to/using-rxvt-unicode-with-screen + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630976 + # https://bbs.archlinux.org/viewtopic.php?id=50647 + # https://stackoverflow.com/questions/12345675/screen-cannot-find-terminfo-entry-for-xterm-256color + file { '/lib/terminfo/r/rxvt-256color': + source => "puppet:///modules/nodo/terminfo/rxvt-256color", + owner => root, + group => root, + mode => 0644, + ensure => ${::lsbdistcodename} ? { + 'squeeze' => present, + default => absent, + }, + } } -- cgit v1.2.3