Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 30 Jul 2004 20:20:58 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
cc: Tomasz Rojek <tiroy@poczta.onet.pl>
Subject: Re: [cygwin tips&tricks] Shortcut to vim in "Send to" folder
In-Reply-To: <Pine.GSO.4.58.0407301950480.19838@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.58.0407302016190.19838@slinky.cs.nyu.edu>
References: <cdfoqh$c55$1@sea.gmane.org> <Pine.GSO.4.58.0407301950480.19838@slinky.cs.nyu.edu>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-684387517-1091233258=:19838"
X-Scanned-By: MIMEDefang 2.39
Note-from-DJ: This may be spam

---559023410-684387517-1091233258=:19838
Content-Type: TEXT/PLAIN; charset=US-ASCII

Resending a copy since the previous one was apparently silently dropped by
the SPAM filter.  Apologies in advance if both make it through.

On Fri, 30 Jul 2004, Igor Pechtchanski wrote:

> [snip] ... It also showed me a way to properly implement "vi.bat" and
> "vimdiff.bat" (attached) which allow one to invoke "vi file [files]" or
> "vimdiff file1 file2 [files...]" from a DOS prompt.

Hmm, apparently just saying that the files are attached doesn't make my
mail client actually attach them...  Who knew?

A few additions to the above:
- turns out I also had a "view.bat" (attached as well)
- there's no need to make the .bat files executable -- CMD doesn't care,
  and Cygwin won't be confused that way
- the way they are written now, they'll only work with CMD.EXE (i.e., not
  on Win9x/ME) -- I have yet to find a way to do what needs to be done
  using command.com's retarded command set

Hope this helps someone,
	Igor
P.S. In the hopes to get this past the SPAM filter, the files are named
.batch instead of .bat.  Just rename after downloading.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw
---559023410-684387517-1091233258=:19838
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="vi.batch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.58.0407302020580.19838@slinky.cs.nyu.edu>
Content-Description: 
Content-Disposition: attachment; filename="vi.batch"

QGVjaG8gb2ZmDQpjOlxjeWd3aW5cYmluXHZpbS5leGUgJSoNCg==

---559023410-684387517-1091233258=:19838
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="view.batch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.58.0407302020581.19838@slinky.cs.nyu.edu>
Content-Description: 
Content-Disposition: attachment; filename="view.batch"

QGVjaG8gb2ZmDQpjOlxjeWd3aW5cYmluXHZpbS5leGUgLVIgJSoNCg==

---559023410-684387517-1091233258=:19838
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="vimdiff.batch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.58.0407302020582.19838@slinky.cs.nyu.edu>
Content-Description: 
Content-Disposition: attachment; filename="vimdiff.batch"

QGVjaG8gb2ZmDQpjOlxjeWd3aW5cYmluXHZpbS5leGUgLWRvICUqDQo=


---559023410-684387517-1091233258=:19838
Content-Type: text/plain; charset=us-ascii

--
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/
---559023410-684387517-1091233258=:19838--
