www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/30/20:21:08

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
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 AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Tomasz Rojek <tiroy AT poczta DOT onet DOT 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 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 58 DOT 0407301950480 DOT 19838 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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 DOT GSO DOT 4 DOT 58 DOT 0407302020580 DOT 19838 AT slinky DOT cs DOT nyu DOT 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 DOT GSO DOT 4 DOT 58 DOT 0407302020581 DOT 19838 AT slinky DOT cs DOT nyu DOT 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 DOT GSO DOT 4 DOT 58 DOT 0407302020582 DOT 19838 AT slinky DOT cs DOT nyu DOT 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--

- Raw text -


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