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: <42E8B7CA.6080602@alltel.net> Date: Thu, 28 Jul 2005 05:47:38 -0500 From: Ken Dibble User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) MIME-Version: 1.0 To: cygwin Subject: Re: suggestions for cygwin developers References: <9bbd279405072717252b3e0690 AT mail DOT gmail DOT com> <42E8A1DA DOT 20605 AT atomice DOT net> In-Reply-To: <42E8A1DA.20605@atomice.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Chris January wrote: > Alex Goldman wrote: > >> When Cygwin gets set up, it would be more user-friendly if it placed >> two icons on the desktop: >> one should start maximized Rxvt; another should start X with a couple >> of xterms or whatever. >> First-time users might think that the MS-DOS terminal is as good as it >> gets, and this is not good for Cygwin. Others still have to figure out >> how to start Rxvt automatically and how to configure it to look >> pretty. >> >> Also, it would be neat to be able to keep Cygwin up-to-date >> automatically. > > > How about a prompt when a new Cygwin DLL version is available: > > A new version of Cygwin is available. Run setup to install the latest > version. > > This could be included as part of the /etc/profile or something. > > Chris > Checking to see if a new version available assumes an internet connection. My opinion is that this would play havoc with dial-up users. If this is something you want, here is a hack to accomplish it. I'm sure there are better, cleaner ways to do this and it will break as soon as something in the package list changes, but it's 5 am and I am not ready to think yet. #!/bin/bash #Igor's whichpkg function whichpkg() { wget -qO- "http://cygwin.com/cgi-bin2/package-grep.cgi?grep=$1" | \ sed -ne '/Cygwin Package List/,${s###g;p}' } LATEST=`whichpkg cygwin | grep "emulation" | tail -1 | awk -F "-" '{print $2}'` CUR=`uname -a | awk '{print $3}' | awk -F"(" '{print $1}'` if [ $CUR != $LATEST ]; then echo "new cygwin dll version "$LATEST" available" else echo "Your cygwin dll is current" fi -- 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/