summary refs log tree commit diff
path: root/gnu/packages/screen.scm
diff options
context:
space:
mode:
authorGeorge Clemmer <myglc2@gmail.com>2016-07-12 13:57:28 -0400
committerLudovic Courtès <ludo@gnu.org>2016-07-13 23:26:04 +0200
commita7e7981c7dab4264ef44fdbd2d876e39eac07126 (patch)
treed752cc5695cee81af840c1cea18981bfb3ea7993 /gnu/packages/screen.scm
parent7a7d6b2bdea1c81128a413ee19159dff5b36e32c (diff)
downloadguix-a7e7981c7dab4264ef44fdbd2d876e39eac07126.tar.gz
gnu: screen: Support 256 colors.
* gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/screen.scm')
-rw-r--r--gnu/packages/screen.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm
index a4eefd85a6..eafb3a8283 100644
--- a/gnu/packages/screen.scm
+++ b/gnu/packages/screen.scm
@@ -49,11 +49,16 @@
        ("perl" ,perl)))
     (arguments
      `(#:configure-flags
-       ;; By default, man and info pages are put in PREFIX/{man,info},
-       ;; but we want them in PREFIX/share/{man,info}.
        (let ((out (assoc-ref %outputs "out")))
-         (list (string-append "--mandir=" out "/share/man")
-               (string-append "--infodir=" out "/share/info")))))
+         (list
+          ;; By default, man and info pages are put in PREFIX/{man,info},
+          ;; but we want them in PREFIX/share/{man,info}.
+          (string-append "--mandir=" out "/share/man")
+          (string-append "--infodir=" out "/share/info")
+
+          ;; By default, screen supports 16 colors, but we want 256 when
+          ;; ~/.screenrc contains 'term xterm-256color'
+          "--enable-colors256"))))
     (home-page "http://www.gnu.org/software/screen/")
     (synopsis "Full-screen window manager providing multiple terminals")
     (description