Hi Bram,
using the command line argument -g you can force the graphical version. 
But you can't prevent starting the gui version. 

This matters, if you want to start evim in the terminal (-y will always 
opens the gui). The attached patch fixes it, by allowing a -G parameter.

regards,
Christian

-- 
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
diff --git a/src/main.c b/src/main.c
--- a/src/main.c
+++ b/src/main.c
@@ -1906,6 +1906,12 @@
 #endif
 		break;
 
+	    case 'G':		/* "-y"  easy mode */
+#ifdef FEAT_GUI
+		gui.starting = FALSE;	/* don't start GUI */
+#endif
+		break;
+
 	    case 'g':		/* "-g" start GUI */
 		main_start_gui();
 		break;
@@ -3177,6 +3183,7 @@
 #endif
 #ifdef FEAT_GUI
     main_msg(_("-g\t\t\tRun using GUI (like \"gvim\")"));
+    main_msg(_("-G\t\t\tDon't use GUI (like \"vim\")"));
     main_msg(_("-f  or  --nofork\tForeground: Don't fork when starting GUI"));
 #endif
     main_msg(_("-v\t\t\tVi mode (like \"vi\")"));

Raspunde prin e-mail lui