0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0020

This commit is contained in:
Bram Moolenaar
2004-10-24 19:23:07 +00:00
parent 009b2592f7
commit 35a9aaab4a
11 changed files with 246 additions and 126 deletions

View File

@@ -1255,6 +1255,20 @@ scripterror:
#endif
)
{
#ifdef NBDEBUG
/*
* This shouldn't be necessary. But if I run netbeans with the log
* output coming to the console and XOpenDisplay fails, I get vim
* trying to start with input/output to my console tty. This fills my
* input buffer so fast I can't even kill the process in under 2
* minutes (and it beeps continuosly the whole time :-)
*/
if (usingNetbeans && (!stdout_isatty || !input_isatty))
{
mch_errmsg(_("Vim: Error: Failure to start gvim from NetBeans\n"));
exit(1);
}
#endif
if (!stdout_isatty)
mch_errmsg(_("Vim: Warning: Output is not to a terminal\n"));
if (!input_isatty)