aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/terminfo/rxvt-256colorbin0 -> 2278 bytes
-rw-r--r--manifests/subsystem/profile.pp15
2 files changed, 15 insertions, 0 deletions
diff --git a/files/terminfo/rxvt-256color b/files/terminfo/rxvt-256color
new file mode 100644
index 0000000..c50b2f8
--- /dev/null
+++ b/files/terminfo/rxvt-256color
Binary files 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,
+ },
+ }
}