On Wed, 16 Oct 2002, [EMAIL PROTECTED] wrote:

> Original Message:
> -----------------
> From: Soren A [EMAIL PROTECTED]
> Date: Wed, 16 Oct 2002 04:15:29 +0000 (UTC)
> To: [EMAIL PROTECTED]
> Subject: Re: New cygwin & .dir_colors
>
> [snip]
>
> The dircolors command in Cygwin should, IMHO, output its database with a
> line containing 'TERM cygwin', and the version I use doesn't do that. I
> recognize your description of the colors as the default cygwin
> `ls --colors' output, that's what it does when no LS_COLORS has been
> provided.
>
> -----------------
>
> Sounds like an argument for a patch.  Care to submit one?
>
> Larry

I do (attached). :-D
        Igor

ChangeLog:
2002-10-16  Igor Pechtchanski <[EMAIL PROTECTED]>

        * dircolors.h (G_line): Add "TERM=cygwin".
        (G_line_length): Adjust accordingly.
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51
--- src/dircolors.h-orig        2000-11-22 08:25:34.000000000 -0500
+++ src/dircolors.h     2002-10-16 10:33:16.000000000 -0400
@@ -3,7 +3,7 @@
 const size_t G_line_length[G_N_LINES] =
 {
   65, 72, 0, 59, 61, 0, 77, 10, 12, 15, 12, 14, 14, 14, 14, 13, 13, 13, 13,
-  13, 13, 10, 17, 9, 11, 13, 10, 0, 73, 64, 18, 64, 19, 72, 25, 72, 68,
+  13, 13, 10, 17, 9, 11, 13, 10, 11, 0, 73, 64, 18, 64, 19, 72, 25, 72, 68,
   22, 22, 71, 72, 17, 19, 17, 34, 39, 45, 0, 44, 10, 0, 70, 75, 48, 0,
   73, 40, 11, 11, 11, 11, 0, 48, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
   10, 0, 15, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 9, 9
@@ -38,6 +38,7 @@ const char *const G_line[G_N_LINES] =
   "TERM screen",
   "TERM screen-w",
   "TERM vt100",
+  "TERM cygwin",
   "",
   "# Below are the color init strings for the basic file types. A color init",
   "# string consists of one or more of the following numeric codes:",
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to