> ... and in Windows env I
> noticed strange behaviour when the command line window with:
> ...
> stays forever.
> I can press CTRL+c in that window to close to get results in VIM
> But I get results + some additional info:
> ...

I have discovered the same issue some time ago ...
May be this patch will help you as well:
-----------
Discovered, fixed and tested on win32, I think it was
broken in 8.0 of dbext.

Problem: When using oracle sqlplus kind of dbext connection, the
select "\se" never comes back.
-----------

-- 
Anton

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Index: /d/anton/.vim/autoload/dbext.vim
===================================================================
--- /d/anton/.vim/autoload/dbext.vim	(revision 565)
+++ /d/anton/.vim/autoload/dbext.vim	(working copy)
@@ -2600,12 +2600,14 @@
     let output = output.a:str
     " Only include a command terminator if one has not already
     " been added
-    " Added quit to the end of the command to exit SQLPLUS
     if output !~ s:DB_escapeStr(terminator) . 
                 \ '['."\n".' \t]*$'
-        let output = output . "\nquit".terminator
+        let output = output . terminator
     endif
 
+    " Added quit to the end of the command to exit SQLPLUS
+    let output = output . "\nquit".terminator
+
     exe 'redir! > ' . s:dbext_tempfile
     silent echo output
     redir END

Reply via email to