From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112860 invoked by alias); 20 Apr 2017 05:24:48 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 112722 invoked by uid 89); 20 Apr 2017 05:24:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=dear, Dear, hear X-HELO: mail-lf0-f50.google.com Received: from mail-lf0-f50.google.com (HELO mail-lf0-f50.google.com) (209.85.215.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Apr 2017 05:24:20 +0000 Received: by mail-lf0-f50.google.com with SMTP id t144so22807108lff.1 for ; Wed, 19 Apr 2017 22:24:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=fPxTDGh3JJqURHUFrCzzZBcUF48twc7DthF8m8IAbQU=; b=eGcP264msW9fIYWOow8xU2Go0QHrJ2Sz5gHDXGoUHQbfrl3OF6DQq4aFQbCxvzin0u UDalLD31yGxQSOCKObIK1V1TGaEFCz0l5o2IBO26lL6VGTkyP5GAFWE+kp8RSL3FDi6a nlvmpwBQBcrozuySZ5e4lOT5oqzd9LHz47aPCANwR8dPFzs8BAnvjI/HunLbKzO9sZ1Q Ly2nGBI1p7eZkZlTd/5WdGj+vy7KLLvnqk54g8MCjBZVN23YxXfSfz5/D7ULMdeNzTbJ b/hUoJs3OFPay3dC87X2+joZKbBlUu5CehqislDBejxs+8h+MZj5dUFsEJTai2Qg4530 k3MQ== X-Gm-Message-State: AN3rC/72Abxo4BwyVQN8NZPpI85wyNPthQ2yvyxNnaJ3fIt5uNyeTuQj zrgQPfpCvMLiDEuglIo= X-Received: by 10.25.76.194 with SMTP id z185mr2225063lfa.183.1492665858598; Wed, 19 Apr 2017 22:24:18 -0700 (PDT) Received: from [10.0.200.185] (87-100-228-90.bb.dnainternet.fi. [87.100.228.90]) by smtp.googlemail.com with ESMTPSA id k141sm824498lfg.12.2017.04.19.22.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 22:24:18 -0700 (PDT) Subject: Re: [ITP] cygscript To: cygwin-apps@cygwin.com References: Cc: Jon Turney From: Joni Eskelinen Message-ID: <8568023f-c95b-1809-44da-efe26d59c0e1@gmail.com> Date: Thu, 20 Apr 2017 05:24:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00061.txt.bz2 On 19.4.2017 20.00, Jon Turney wrote: > On 30/03/2017 06:54, Joni Eskelinen wrote: >> Dear maintainers, >> >> Cygscript is an utility program allowing to register file types to be >> executed in Cygwin when double clicked from File Explorer or when a file >> is dragged and dropped to a registered file type. >> >> Any file type can be registered. Scripts are executed with bash in >> MinTTY terminal. Windows paths passed as arguments (eg. when dragged and >> dropped) are automatically detected and translated to POSIX paths. > > Thank you for your patience and sorry about the delay. > > Nice work. I'm kind of surprised we don't have something like this > already. Thanks! I'm surprised too, since there's a lot of kinda hackish Windows batch file solutions that are not generic nor easy to install. TBH i'd rather see this feature implemented as a part of MinTTY. > How attached are you to the name? I know this is not a concept which > lends itself easily to a short name, but perhaps something which makes > the purpose a little more obvious is possible? I settled on cygscript after a few iterations, but it's trivial to change at this point. It's hard to come up with something that is not bulky. Although this not a command one has to type often, so it wouldn't matter if it had a longer name. I'd gladly hear suggestions. >> Please see the github page for further details. > > It would be nice if there was a manpage included in the package. I'll write and bundle a manpage in the near future. >> This application is not included in any other distro, so i reckon a vote >> must be first passed. > > +1 > >> >> I am the sole developer and maintainer of the project at the moment. >> >> The source is released under MIT License. >> >> Homepage: >> https://github.com/sop/cygscript >> >> Packages: >> http://eske.fi/cygscript/ >> >> # cygscript-1.0.2-1.hint >> category: Utils >> requires: cygwin libgcc1 libstdc++6 mintty bash >> sdesc: "Run shell scripts from Windows File Explorer" >> ldesc: "A helper program allowing to register an extension (eg. .sh) >> to be executed in Cygwin by double-clicking a file from Windows File >> Explorer >> or by dragging and dropping files to an icon of a registered extension."