Mail Archives: cygwin/2004/07/30/20:21:08
---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 -