Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 07:53:42 -0700 (PDT)
From:      Josef Karthauser <joe@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ls extern.h ls.1 ls.c ls.h print.c
Message-ID:  <200006021453.HAA57857@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joe         2000/06/02 07:53:42 PDT

  Modified files:
    bin/ls               extern.h ls.1 ls.c ls.h print.c 
  Log:
  Add colour support to /bin/ls (at a cost of 1056 bytes on my system).
  
  It is not switched on by default and must be enabled with the -G
  flag.  When using ls -G the output behaviour is modified with ANSI
  colour sequences wrapped around filenames to help distinguish file
  types.  (Colours can be redefined in the LSCOLORS environment
  variable as described in the manual page.)
  
  Colour support is silently disabled (if switched on) if stdout
  isn't a tty.
  
  Based on:	asami's colorls port.
  PR:		bin/18900 && ports/18616.
  
  Revision  Changes    Path
  1.8       +3 -1      src/bin/ls/extern.h
  1.34      +76 -2     src/bin/ls/ls.1
  1.33      +14 -4     src/bin/ls/ls.c
  1.12      +2 -1      src/bin/ls/ls.h
  1.20      +130 -1    src/bin/ls/print.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006021453.HAA57857>