zsh-users
 help / color / mirror / code / Atom feed
* Re: ANSI zsh?
@ 1996-11-21 23:25 Matthew Braun
  1996-11-22  5:55 ` Aki Vehtari
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Braun @ 1996-11-21 23:25 UTC (permalink / raw)
  To: Vincent Lefevre, zsh-users

Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr> on Fri, 22 Nov 1996  0:13 writes:
> Hi,
> 
> > This usually a function of GNU ls --color=tty.  It is enable by default
> > on SlackWare Linux using a color terminal.
> 
> Where can I get it? I haven't seen any gnu color-ls on ftp sites.

There isn't a separate GNU ls that has color, it is built into the
standard GNU ls.

If you run a color terminal, like color_xterm, then run gnu's ls with
the "--color=tty" option, you will see colors.

Matthew.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ANSI zsh?
  1996-11-21 23:25 ANSI zsh? Matthew Braun
@ 1996-11-22  5:55 ` Aki Vehtari
  1996-11-22 18:41   ` ANSI zsh? (GNU 3.13 ls ORPHAN color patch) Peter Whaite
  0 siblings, 1 reply; 8+ messages in thread
From: Aki Vehtari @ 1996-11-22  5:55 UTC (permalink / raw)
  To: zsh-users


"Matthew" == Matthew Braun <matthew@ans.net> writes:
> There isn't a separate GNU ls that has color, it is built into the
> standard GNU ls.

> If you run a color terminal, like color_xterm, then run gnu's ls with
> the "--color=tty" option, you will see colors.


The GNU ls is part of the GNU fileutils and "--color=tty" option was
added to GNU ls in fileutils-3.13 (which is the latest version AFAIK)


	Aki


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ANSI zsh? (GNU 3.13 ls ORPHAN color patch)
  1996-11-22  5:55 ` Aki Vehtari
@ 1996-11-22 18:41   ` Peter Whaite
  1997-01-14  7:58     ` John Harres
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Whaite @ 1996-11-22 18:41 UTC (permalink / raw)
  To: zsh-users


Aki Vehtari said:
> 
> The GNU ls is part of the GNU fileutils and "--color=tty" option was
> added to GNU ls in fileutils-3.13 (which is the latest version AFAIK)

Sorry to continue this off-topic thread but I found that the GNU version
(3.13) of color-ls does not support the, very useful, ORPHAN color for
dangling symbolic links.  I have a patch which works on our irix and sun
systems (below) but I'm wondering if there is a better one around.

--- ls.c.~1~	Mon Jul  8 00:23:47 1996
+++ ls.c	Fri Sep 20 11:43:26 1996
@@ -1593,6 +1593,7 @@
 
   files[files_index].linkname = 0;
   files[files_index].linkmode = 0;
+  files[files_index].linkok = 1;
 
   if (explicit_arg || format_needs_stat)
     {
@@ -1638,7 +1639,8 @@
 	  if (linkpath
 	      && ((explicit_arg && format != long_format)
 		  || indicator_style != none)
-	      && stat (linkpath, &linkstats) == 0)
+	      && (files[files_index].linkok =
+		  (stat (linkpath, &linkstats) == 0) ) )
 	    {
 	      /* Symbolic links to directories that are mentioned on the
 	         command line are automatically traced if not being




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ANSI zsh? (GNU 3.13 ls ORPHAN color patch)
  1996-11-22 18:41   ` ANSI zsh? (GNU 3.13 ls ORPHAN color patch) Peter Whaite
@ 1997-01-14  7:58     ` John Harres
  0 siblings, 0 replies; 8+ messages in thread
From: John Harres @ 1997-01-14  7:58 UTC (permalink / raw)
  To: Peter Whaite; +Cc: zsh-users

And a final update:  fileutils-3.15 has been released, and finally fixes the
orphan-color problem.

John


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ANSI zsh?
  1996-11-21 23:13     ` Vincent Lefevre
@ 1996-11-21 23:39       ` Jose Unpingco
  0 siblings, 0 replies; 8+ messages in thread
From: Jose Unpingco @ 1996-11-21 23:39 UTC (permalink / raw)
  To: Vincent Lefevre; +Cc: zsh-users

I have an old tar file for color-ls that I pulled off the net some
months back. If you're interested, I can put it on my ftp site for you
to get unless I can mail you a uuencoded version of the compressed
file.

Otherwise, you can poke around here...

ftp://sunsite.unc.edu/pub/Linux/distributions/slackware/source
        a/bin/color-ls-3.12.0.2.patch.gz


Vincent Lefevre said:
> 
> Hi,
> 
> > This usually a function of GNU ls --color=tty.  It is enable by default
> > on SlackWare Linux using a color terminal.
> 
> Where can I get it? I haven't seen any gnu color-ls on ftp sites.
> 
> TIA,
> 
> -- 
> Vincent Lefevre, vlefevre@ens-lyon.fr | Acorn Risc PC, StrongARM @ 202MHz
> http://www.ens-lyon.fr/~vlefevre      | 20+1MB RAM, Eagle M2, TV + Teletext
> PhD in Computer Science, 1st year     | Apple CD-300, SyQuest 270MB (SCSI)
> -----------------------------------------------------------------------------
> 
> 


-- 
Thank you for your time and consideration.  

             _ - - - _                             
           /)-  - _     _                          
          / |_o_/  -       _        
              \__  -          _        
                \ \_              -   _  _  _  _   _  _  _  _  _       
                 _                      
   __ __ _ _  -        
Jose Unpingco                                Mail Code ECE 0407
HM# (619) 622-1243                           WK# (619) 534-5809


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ANSI zsh?
  1996-11-21 21:26   ` John Benninghoff
@ 1996-11-21 23:13     ` Vincent Lefevre
  1996-11-21 23:39       ` Jose Unpingco
  0 siblings, 1 reply; 8+ messages in thread
From: Vincent Lefevre @ 1996-11-21 23:13 UTC (permalink / raw)
  To: zsh-users

Hi,

> This usually a function of GNU ls --color=tty.  It is enable by default
> on SlackWare Linux using a color terminal.

Where can I get it? I haven't seen any gnu color-ls on ftp sites.

TIA,

-- 
Vincent Lefevre, vlefevre@ens-lyon.fr | Acorn Risc PC, StrongARM @ 202MHz
http://www.ens-lyon.fr/~vlefevre      | 20+1MB RAM, Eagle M2, TV + Teletext
PhD in Computer Science, 1st year     | Apple CD-300, SyQuest 270MB (SCSI)
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* ANSI zsh?
  1996-11-15  6:55 ` ANSI zsh? Kosh
@ 1996-11-21 21:26   ` John Benninghoff
  1996-11-21 23:13     ` Vincent Lefevre
  0 siblings, 1 reply; 8+ messages in thread
From: John Benninghoff @ 1996-11-21 21:26 UTC (permalink / raw)
  To: zsh-users

This usually a function of GNU ls --color=tty.  It is enable by default
on SlackWare Linux using a color terminal.

-- 
John Benninghoff

Regarding "ANSI zsh?", Kosh writes:
> Greetings fellow ZSH users,
> 
> I was wondering where I could find ZSH scripts that will colourize the
> shell (ie. have ANSI support, y'know).  I've seen BASH shell screens that
> had executables in "red", directories in "blue", etc.  It makes it easy t=
> o
> see things at a glance when it's in colour. :)  Also, are there any sites
> that have more zsh scripts?  I used the default ones that come with=20
> zsh 3.0.1, and it works wonderfully.  Colour would be a nice touch,
> wouldn't it?  :)
> 
> Thanks for any advice!
> 
> --
>  Sirius Bontea, E-3
> -=3D=F0United States Air Force=F0=3D-
> Email:   <mariah@isis.interpac.net>
> Web page:   http://home.interpac.net/~mariah/index.html
> IRC:  ]{osh@EfNet  on  #Mariah  =3D)
> Administrator of the Mariah Carey Marketplace.
> =3D=3D=3D=3D For more details,  'finger mariah@isis.interpac.net' =3D=3D=3D=
> =3D
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* ANSI zsh?
  1996-11-14 23:18 tcsh's autocorrect functionality wanted Matthew Braun
@ 1996-11-15  6:55 ` Kosh
  1996-11-21 21:26   ` John Benninghoff
  0 siblings, 1 reply; 8+ messages in thread
From: Kosh @ 1996-11-15  6:55 UTC (permalink / raw)
  To: zsh-users

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=US-ASCII, Size: 793 bytes --]

Greetings fellow ZSH users,

I was wondering where I could find ZSH scripts that will colourize the
shell (ie. have ANSI support, y'know).  I've seen BASH shell screens that
had executables in "red", directories in "blue", etc.  It makes it easy to
see things at a glance when it's in colour. :)  Also, are there any sites
that have more zsh scripts?  I used the default ones that come with 
zsh 3.0.1, and it works wonderfully.  Colour would be a nice touch,
wouldn't it?  :)

Thanks for any advice!

--
 Sirius Bontea, E-3
-=ðUnited States Air Forceð=-
Email:   <mariah@isis.interpac.net>
Web page:   http://home.interpac.net/~mariah/index.html
IRC:  ]{osh@EfNet  on  #Mariah  =)
Administrator of the Mariah Carey Marketplace.
==== For more details,  'finger mariah@isis.interpac.net' ====


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-01-14  8:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-21 23:25 ANSI zsh? Matthew Braun
1996-11-22  5:55 ` Aki Vehtari
1996-11-22 18:41   ` ANSI zsh? (GNU 3.13 ls ORPHAN color patch) Peter Whaite
1997-01-14  7:58     ` John Harres
  -- strict thread matches above, loose matches on Subject: below --
1996-11-14 23:18 tcsh's autocorrect functionality wanted Matthew Braun
1996-11-15  6:55 ` ANSI zsh? Kosh
1996-11-21 21:26   ` John Benninghoff
1996-11-21 23:13     ` Vincent Lefevre
1996-11-21 23:39       ` Jose Unpingco

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).