suggestions for cygwin developers

Ken Dibble kdibble@alltel.net
Thu Jul 28 11:33:00 GMT 2005



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/



More information about the Cygwin mailing list