Ken Takata wrote:
> I found that QuickFix on Windows doesn't handle CRNL line endings properly.
> E.g.:
>
> 1. Create a batch file that outputs 1023 bytes in a line.
>
> > gvim maketest.bat
> a@echo <Esc>1023aa<Esc>ZZ
>
> 2. Call the batch file from :make.
>
> > gvim
> :set makeprg=maketest.bat
> :make
> :copen
>
> maketest.bat outputs only one line, but :copen shows two lines. (A line with
> aaaaa... and an empty line.)
>
> Another problem is that ^M is added at the end of each line.
> E.g.:
>
> 1. Create a batch file that outputs "foo".
>
> > gvim maketest.bat
> a@echo foo<Esc>ZZ
>
> 2. Call the batch file from :make.
>
> > gvim
> :set makeprg=maketest.bat
> :make
> :copen
>
> :copen shows "|| foo^M" instead of "|| foo".
>
> Attached patch fixes the problems.
Thanks!
--
A M00se once bit my sister ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.