* (no subject)
@ 1995-06-07 19:47 John Harres
1995-06-07 20:00 ` zsh and color Richard Coleman
0 siblings, 1 reply; 4+ messages in thread
From: John Harres @ 1995-06-07 19:47 UTC (permalink / raw)
To: zsh-users
I have just started using Linux, which comes with the color gnu ls. This is
all quite nice, but when I do completions under zsh, they are just the plain
old black and white. Are there any plans to add the color to zsh?
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: zsh and color
1995-06-07 19:47 John Harres
@ 1995-06-07 20:00 ` Richard Coleman
1995-06-08 1:07 ` Andrew Cosgriff
0 siblings, 1 reply; 4+ messages in thread
From: Richard Coleman @ 1995-06-07 20:00 UTC (permalink / raw)
To: zsh-users
> I have just started using Linux, which comes with the color gnu ls.
> This is all quite nice, but when I do completions under zsh, they
> are just the plain old black and white. Are there any plans to add
> the color to zsh?
I don't forsee this happening any time soon. There are too many other
things still in the pipeline that need to be done. Also, I don't like
the idea of adding features to the baseline that would only be used by
people on a particular OS.
But if someone creates a patch, I could always put it in a Contrib
directory for people that are interested.
Richard Coleman
zsh@math.gatech.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: zsh and color
1995-06-07 20:00 ` zsh and color Richard Coleman
@ 1995-06-08 1:07 ` Andrew Cosgriff
1995-06-08 6:14 ` Dave Sainty
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cosgriff @ 1995-06-08 1:07 UTC (permalink / raw)
To: zsh-users
Richard Coleman <coleman@math.gatech.edu> wrote:
>I don't forsee this happening any time soon. There are too many other
>things still in the pipeline that need to be done. Also, I don't like
>the idea of adding features to the baseline that would only be used by
>people on a particular OS.
It's not actually OS-specific - the patch to gnu's ls uses ANSI escape
sequences to set the colors - you just need an xterm that's been patched to
support color (which you can get from ftp.x.org - i'm currently using one
that's had the scroll bar put on the right hand side, too).
That said, I can't say i'm hanging out for zsh to support this when listing
completable files, even though I love my color ls :)
Enjoy,
Andrew
--
- Andrew J. Cosgriff - andrew@unico.com.au - SysAdmin, UNICO Computer Systems.
Mail Server - "send file help" as subject PGP and/or MIME ok
"I abused her apartment so she knocked me flat."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: zsh and color
1995-06-08 1:07 ` Andrew Cosgriff
@ 1995-06-08 6:14 ` Dave Sainty
0 siblings, 0 replies; 4+ messages in thread
From: Dave Sainty @ 1995-06-08 6:14 UTC (permalink / raw)
To: zsh-users
Andrew Cosgriff writes:
> Richard Coleman <coleman@math.gatech.edu> wrote:
>
> >I don't forsee this happening any time soon. There are too many other
> >things still in the pipeline that need to be done. Also, I don't like
> >the idea of adding features to the baseline that would only be used by
> >people on a particular OS.
>
> It's not actually OS-specific - the patch to gnu's ls uses ANSI escape
> sequences to set the colors
Colour escape sequences are also avaliable from termcap/terminfo
databases, although they are rarely documented even for colour capable
terminal types. So colour can be added quite generically, with no
special hacks (setopt use_ansi_colour, although you might want a
setopt use_colour). And somehow you need to specify what colours mean
what.
Personally, I think this can be implemented best in compctl, e.g. If
you complete with the following rule, colour the completed word to
colour x.
Doesn't sound too hard either....
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-06-08 6:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-06-07 19:47 John Harres
1995-06-07 20:00 ` zsh and color Richard Coleman
1995-06-08 1:07 ` Andrew Cosgriff
1995-06-08 6:14 ` Dave Sainty
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).