Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com cc: Tomasz Rojek Subject: Re: [cygwin tips&tricks] Shortcut to vim in "Send to" folder In-Reply-To: Message-ID: References: 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 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: 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: 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: 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--