From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18160 invoked from network); 5 Oct 1999 01:49:02 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Oct 1999 01:49:02 -0000 Received: (qmail 25433 invoked by alias); 5 Oct 1999 01:48:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8133 Received: (qmail 25426 invoked from network); 5 Oct 1999 01:48:57 -0000 Sender: fletch@phydeaux.org To: Adam Spiers Cc: zsh workers mailing list Subject: Re: PATCH: prompt fun References: <19991004194029.B17010@thelonious.new.ox.ac.uk> <991004231403.ZM3580@candle.brasslantern.com> <19991005003659.B19603@thelonious.new.ox.ac.uk> From: Mike Fletcher Organization: Very Little Date: 04 Oct 1999 21:48:41 -0400 In-Reply-To: Adam Spiers's message of "Tue, 5 Oct 1999 00:36:59 +0100" Message-ID: User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Adam" == Adam Spiers writes: Adam> However, there are obviously cons to the single package Adam> argument too, which is probably shown up at its most absurd Adam> when k3wl_d0oD ANSI PS1 strings end up inside the main Adam> source tree. I'm not sure what the best answer is, but my Adam> instincts would say a compromise - include a few nice Adam> prompts catering for a wide range of tastes, and then leave Adam> the rest to the IRC kiddies (hmm, that's me I guess) to work Adam> on. That was the approach I tried to take with this prompt Adam> patch. What if there were some well defined mechanism for packaging a (for lack of a better term) zsh add-on. Something sort of similar to the CPAN.pm module for perl (for those not familiar with perl, CPAN is the Comprehensive Perl Archive Network and CPAN.pm is a module that will automagically download, compile, and install additional perl modules). This hypothetical program could be pointed at an apropriately structured http/ftp site (part of the hypothetical Comprehensive Zsh ARchive, or CZAR :) and told to grab and install J. Random Hax0r's k-R4d shell prompts or the most up to date zftp module source. Or maybe that's overkill. :) At the minimum, if there's going to be separately packaged components something like the glib/gtk+/gnome x-config scripts would be nice (again for those not familiar, these packages ship with a shell script that is installed in $(installdir)/bin that can be run to get compile and link options suitable for linking against the library in question). After market zsh addins could use zsh-config to find the location of the Functions directory, or headers for compiling loadable modules against, or what not. Just some random thoughts. -- Fletch | "If you find my answers frightening, __`'/| fletch@phydeaux.org | Vincent, you should cease askin' \ o.O' 678 443-6239(w) | scary questions." -- Jules =(___)= | U