From a7e7981c7dab4264ef44fdbd2d876e39eac07126 Mon Sep 17 00:00:00 2001 From: George Clemmer Date: Tue, 12 Jul 2016 13:57:28 -0400 Subject: [PATCH] gnu: screen: Support 256 colors. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256. Signed-off-by: Ludovic Courtès --- gnu/packages/screen.scm | 13 +++++++++---- 1 file 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