delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/10/21:36:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=r2zB6X9N3F7zkSw6
CGmH9wrgHRDzxq55S3DgTtyB3hd4ebBEzFlk5C06Wsg0BZN2YaTu59d9UnTt3dsc
6WJUapuz7QR4tYnSJukzp6ryZp8ylV2i81jMV2+t8mxTdFnOzL/IIONOqUl2C4Mo
+DJkJE+GisRU+I5NUhcgo/82/Zw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=2oWIEE8DfRJLct9kb0tYv3
SxF8k=; b=m8xfjII6udWpFmLbBsVejhgQOXYmK5EeRn9zGXUXEqtIt1Qz5CdDEJ
pjUOR+Amjdd9uwR7NGIPG1wts8AbmNM7xWr8rbPadkpSjwZWCjbIRB0dPLN1dBhT
eq4wf9cJ+xAiCRKRtjrw1ziAav1h1e7lTXvl0oebsQ+r58Cans1U8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 11 Feb 2014 06:34:48 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1487402476.20140211063448@mtu-net.ru>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>,
cygwin AT cygwin DOT com
Subject: Re: Invoking Cygwin vim from Windows Explorer
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0C47D419@MLBXv04.nih.gov>
References: <ld6vd9$jnr$1 AT ger DOT gmane DOT org> <1527769059 DOT 20140209090943 AT mtu-net DOT ru> <ld81nr$im5$1 AT ger DOT gmane DOT org> <832507782 DOT 20140209183702 AT mtu-net DOT ru> <ld8cs9$789$1 AT ger DOT gmane DOT org> <1935757972 DOT 20140210000737 AT mtu-net DOT ru> <ld8s07$cie$1 AT ger DOT gmane DOT org> <1917455121 DOT 20140210021657 AT mtu-net DOT ru> <ld92t1$jr1$1 AT ger DOT gmane DOT org> <1798057018 DOT 20140210054916 AT mtu-net DOT ru> <ld9lfk$60b$1 AT ger DOT gmane DOT org> <5F8AAC04F9616747BC4CC0E803D5907D0C47D419 AT MLBXv04 DOT nih DOT gov>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!

> My suggestion was not an exact recipe, it was just a scheme.

> Here the exact step-by-step procedure.  I've checked it works on my Windows 7 box.

> From the Windows "Start" menu, in the Search box at the bottom
> (formerly called "Run") enter (substitute <YourUserName> with whatever
> ID you are going by on that Windows system):

> C:\Users\<YourUserName>\AppData\Roaming\Microsoft\Windows\SendTo

> In the opened Explorer window, right click on unoccupied space on the right hand
pane, select "New"->>"Shortcut".

> As prompted for "Location", enter (I assume your Cygwin installation is
> at C:\cygwin):

> C:\cygwin\bin\mintty.exe -e C:\cygwin\bin\bash.exe -l /bin/vim.sh

Just

C:\Programs\CygWin\bin\mintty.exe --exec /bin/vi.exe

is enough.
No need to make it more convoluted, than it really necessary.
Then everything else became unnecessary as well.

> click "Next", when prompted for the name, enter "Vim",
> close the dialog with "Finish".


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 11.02.2014, <06:33>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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