From 2d42b577d33dca34d1c05dcac9e3b68163f7f079 Mon Sep 17 00:00:00 2001 From: "Steffen (Daode) Nurpmeso" Date: Wed, 30 Sep 2015 15:14:43 +0200 Subject: [PATCH] Add aterm,gnome,konsole,kterm to COLOUR_TERMS --- nail.1 | 7 ++++--- nail.h | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nail.1 b/nail.1 index fd368770..ff84360b 100644 --- a/nail.1 +++ b/nail.1 @@ -4795,7 +4795,7 @@ which causes prompting of the user in interactive mode, with the given boolean as the default value. . .\" .Ss "Initial settings" {{{ -.\" (Keep in sync: ./main.c:_startup(), ./nail.rc, ./nail.1:"Initial settings"!) +.\" (Keep in SYNC: ./main.c:_startup(), ./nail.rc, ./nail.1:"Initial settings"!) .Ss "Initial Settings" . The standard POSIX 2008/Cor 1-2013 mandates the following initial @@ -5272,8 +5272,9 @@ Entries only need to be added if the string .Dq color isn't part of the terminal name itself; the default value is .Pp -.Dl cons25,linux,rxvt,rxvt-unicode,\:screen,\:sun,\:vt100,\:vt220,\:\ -wsvt25,\:xterm +.\" (Keep in SYNC: ./nail.h:COLOUR_TERMS, ./nail.1:*colour-terms*"!) +.Dl aterm,cons25,gnome,konsole,\:kterm,\:linux,\:\ +rxvt,\:rxvt-unicode,\:screen,\:sun,\:vt100,\:vt220,\:wsvt25,\:xterm . .Mx .It Va colour-uheader diff --git a/nail.h b/nail.h index 85666cb9..f5fd3fa4 100644 --- a/nail.h +++ b/nail.h @@ -208,8 +208,11 @@ #define COLOUR_FROM_ "fg=brown" #define COLOUR_HEADER "fg=red" #define COLOUR_UHEADER "ft=bold,fg=red" +/* The COLOUR_TERMS is in addition to those which have "color" in their name! + * (Keep in SYNC: ./nail.h:COLOUR_TERMS, ./nail.1:*colour-terms*"!) */ #define COLOUR_TERMS \ - "cons25,linux,rxvt,rxvt-unicode,screen,sun,vt100,vt220,wsvt25,xterm" + "aterm,cons25,gnome,konsole,kterm,linux,"\ + "rxvt,rxvt-unicode,screen,sun,vt100,vt220,wsvt25,xterm" #define COLOUR_USER_HEADERS "from,subject" /* Special FD requests for run_command() / start_command() */ -- 2.11.4.GIT