summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tw.color.c
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2001-09-05 17:49:32 +0000
committermp <mp@FreeBSD.org>2001-09-05 17:49:32 +0000
commit538cdbc622d96ebd9ba6fae4c5b21f8704e88d90 (patch)
tree836fb15b752f30ac10f0e8bc35125091d7a821a3 /contrib/tcsh/tw.color.c
parent9b07833722e76f7d023c491eaf74bf278221b55d (diff)
downloadFreeBSD-src-538cdbc622d96ebd9ba6fae4c5b21f8704e88d90.zip
FreeBSD-src-538cdbc622d96ebd9ba6fae4c5b21f8704e88d90.tar.gz
Import tcsh-6.11
Diffstat (limited to 'contrib/tcsh/tw.color.c')
-rw-r--r--contrib/tcsh/tw.color.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/tcsh/tw.color.c b/contrib/tcsh/tw.color.c
index 66d9648..de87c75 100644
--- a/contrib/tcsh/tw.color.c
+++ b/contrib/tcsh/tw.color.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/tw.color.c,v 1.7 2000/06/11 02:14:16 kim Exp $ */
+/* $Header: /src/pub/tcsh/tw.color.c,v 1.8 2001/03/18 19:06:32 christos Exp $ */
/*
* tw.color.c: builtin color ls-F
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: tw.color.c,v 1.7 2000/06/11 02:14:16 kim Exp $")
+RCSID("$Id: tw.color.c,v 1.8 2001/03/18 19:06:32 christos Exp $")
#include "tw.h"
#include "ed.h"
@@ -70,6 +70,7 @@ static Variable variables[] = {
VAR('&', "or", ""), /* Orphanned symbolic link (defaults to ln) */
VAR('|', "pi", "33"), /* Named pipe (FIFO) */
VAR('=', "so", "01;35"), /* Socket */
+ VAR('>', "do", "01;35"), /* Door (solaris fast ipc mechanism) */
VAR('#', "bd", "01;33"), /* Block device */
VAR('%', "cd", "01;33"), /* Character device */
VAR('*', "ex", "01;32"), /* Executable file */
@@ -86,7 +87,7 @@ static Variable variables[] = {
};
enum FileType {
- VDir, VSym, VOrph, VPipe, VSock, VBlock, VChr, VExe,
+ VDir, VSym, VOrph, VPipe, VSock, VDoor, VBlock, VChr, VExe,
VFile, VNormal, VMiss, VLeft, VRight, VEnd
};
OpenPOWER on IntegriCloud