Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41F12481.7010205@mscha.org> Date: Fri, 21 Jan 2005 16:49:21 +0100 From: Michael Schaap User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: The Cygwin Mailing List Subject: Re: Updated: fortune-1.99.1-1 References: <20050113202700 DOT GA3724 AT efn DOT org> In-Reply-To: <20050113202700.GA3724@efn.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Hi Yitzckak, On 13-Jan-2005 21:27, Yitzchak Scott-Thoennes wrote: > Achilles: Don't tell me you believe in fortune-telling! > Tortoise: No...but they say it works even if you don't believe in it. > -- GEB, Hofstadter > >I've made a new version of fortune available for installation. > > Thanks for bracing the storm and doing this! One thing, though: this version is much, much slower than the previous one. It takes around a second to produce a fortune, while the old one ran pretty much instantaneously. (This is on a high end XP box.) When I run "strace fortune", the new version produces 16,771 lines of output. The old version produces 467 lines... I won't attach it to this message, for size reasons. You might think: what's the big deal, a second to run fortune, but I'm running fortune from my prompt(*), so I now have to wait up to a second for my prompt to appear. – Michael (*): This is using zsh. I basically have the following lines in my .zshrc: # Load color arrays autoload colors colors # Fortune before every prompt precmd() { echo -n "\n$fg[blue]" fortune -a -s # but think about the children... echo -n "$reset_color" } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/