delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/11/11:25:22

X-Spam-Check-By: sourceware.org
Message-ID: <4412F9E7.8090300@users.sourceforge.net>
Date: Sat, 11 Mar 2006 17:25:11 +0100
From: Frank Fesevur <ffes AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: First (pre alpha) version of probably a new package
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi all,

I have written a bash script for Cygwin. I haven't decided on the name 
yet, but the current codename is weft (Windows Explorer File Types). 
Maybe it will be the final name, but if anyone has a better suggestion I 
will surely consider it.

The script can be used to associate for instance the extension .sh with 
bash, so when you double click on it in the Windows Explorer the script 
will run in the current directory.

You can download it from http://www.fesevur.com/weft-0.1.bz2
There is no man page yet, but a -h is available.

If people are interested in this, I will make it into a real package for 
Cygwin. So please let me know what you think of it.

A few things need to be mentioned.

First of all, this is currently a very basic script. No checks are done. 
So "weft -e doc" will associate bash with .doc files, without any 
warning of overriding. The same goes for the -u. So *please* be careful 
and know that no warranty is given!

Also know that this tool changes things in your registry. I have tested 
the basic functionality but again... no guarantees.

Currently only a bash in a cmd windows is supported, it is not yet 
possible to use ash or rxvt or whatever combination is wanted.

If two extension are used and one of them is uninstalled the other won't 
work anymore, but some garbage will remain in the registry.

No uninstall is added to the Control Panel.

Regards,
Frank

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019