Included the patch to support netbeans in a terminal.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 1f9a7f2..bcbcc8b 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3815,10 +3815,10 @@
DO_AUTOCHDIR
#if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG)
- if (gui.in_use && curbuf->b_ffname != NULL)
+ if (curbuf->b_ffname != NULL)
{
# ifdef FEAT_SUN_WORKSHOP
- if (usingSunWorkShop)
+ if (gui.in_use && usingSunWorkShop)
workshop_file_opened((char *)curbuf->b_ffname, curbuf->b_p_ro);
# endif
# ifdef FEAT_NETBEANS_INTG