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 --- manifests/subsystem/profile.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'manifests/subsystem/profile.pp') 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