Mercurial > vim
comparison src/main.c @ 34:7f788cd27415 v7.0020
updated for version 7.0020
author | vimboss |
---|---|
date | Sun, 24 Oct 2004 19:23:07 +0000 |
parents | 3f44e9abe4ec |
children | 125e80798a85 |
comparison
equal
deleted
inserted
replaced
33:f6033dcbaf31 | 34:7f788cd27415 |
---|---|
1253 /* don't want the delay when started from the desktop */ | 1253 /* don't want the delay when started from the desktop */ |
1254 && !gui.starting | 1254 && !gui.starting |
1255 #endif | 1255 #endif |
1256 ) | 1256 ) |
1257 { | 1257 { |
1258 #ifdef NBDEBUG | |
1259 /* | |
1260 * This shouldn't be necessary. But if I run netbeans with the log | |
1261 * output coming to the console and XOpenDisplay fails, I get vim | |
1262 * trying to start with input/output to my console tty. This fills my | |
1263 * input buffer so fast I can't even kill the process in under 2 | |
1264 * minutes (and it beeps continuosly the whole time :-) | |
1265 */ | |
1266 if (usingNetbeans && (!stdout_isatty || !input_isatty)) | |
1267 { | |
1268 mch_errmsg(_("Vim: Error: Failure to start gvim from NetBeans\n")); | |
1269 exit(1); | |
1270 } | |
1271 #endif | |
1258 if (!stdout_isatty) | 1272 if (!stdout_isatty) |
1259 mch_errmsg(_("Vim: Warning: Output is not to a terminal\n")); | 1273 mch_errmsg(_("Vim: Warning: Output is not to a terminal\n")); |
1260 if (!input_isatty) | 1274 if (!input_isatty) |
1261 mch_errmsg(_("Vim: Warning: Input is not from a terminal\n")); | 1275 mch_errmsg(_("Vim: Warning: Input is not from a terminal\n")); |
1262 out_flush(); | 1276 out_flush(); |