Adam Bien's Weblog

Seamless Terminal Integration ...in NetBeans 6.9.1

NetBeans 6.9.1 comes with seamless Terminal integration. You can open the terminal view from: Window -> Output -> Terminal. From that you can open several remote and local terminals by clicking on the icons in the left upper corner.
I use the Terminal view to monitor local and remote Glassfish instances, tagging / pushing the hg repository. Enjoy!


NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.

Newsletter: airhacksnews.com

A book about rethinking Java EE Patterns

Comments:

Unfortunately this simply doesn't work on Windows 7 - "Failed to start terminal: null"

Posted by jiai on November 02, 2010 at 10:36 AM CET #

@Jinai,

I was very happy, that NetBeans eventually booted on Vista - and you are complaining about minor glitches :-)

enjoy Windows 7,

adam

Posted by adam-bien.com on November 02, 2010 at 10:48 AM CET #

I haven't recognized this feature before - thanks a million! Even path name completion and history browsing works, so it seems as if all keys are passed to the shell (bash from CygWin in my case). Really nice!

Posted by Christian on November 02, 2010 at 02:39 PM CET #

Works just fine for me on Windows 7, but I have cygwin (http://cygwin.com/) installed.

Posted by Collin on November 02, 2010 at 04:43 PM CET #

Is there a way to customize which shell gets launched? It seems to be just sh. Cygwin normally runs a 'bash --login' which gives me the nice prompt color and stuff like that.

Posted by Collin on November 02, 2010 at 04:49 PM CET #

Not working on Ubuntu 10.10

Posted by Stephan on November 02, 2010 at 06:05 PM CET #

Works for me on Ubuntu 10.10 but tab complete doesn't, so I have to type out full commands.

Posted by Michael Hodgins on November 02, 2010 at 08:36 PM CET #

Works on Fedora 6, but I have
to run bash to get directory coloring
and command completion. SSH works too. Nice.

Posted by Cary on November 02, 2010 at 09:39 PM CET #

Works great on OpenSolaris 2009.06 and I guess also on Solaris 11 Express. Very nice feature.

Posted by Robert S. on November 02, 2010 at 11:25 PM CET #

To jiai: is it 32 or 64-bit windows? What distribution (home, pro, ultimate... )?
Do you have cygwin installed?

It's better to post you answers here:
http://netbeans.org/bugzilla/show_bug.cgi?id=191550

Thanks!

Posted by andrew on November 02, 2010 at 11:35 PM CET #

To Collin:

What version of cygwin/windows do you use?

Posted by 89.223.47.11 on November 02, 2010 at 11:47 PM CET #

To Cary:

what is your login shell (from /etc/passwd)?

Posted by Andrew on November 02, 2010 at 11:50 PM CET #

To Michael Hodgins:
as a workaround, try to start bash (inside this terminal)..

Posted by Andrew on November 02, 2010 at 11:52 PM CET #

To Stephan: could you provide more info?
It would be great if you file a bug against NetBeans (cnd/execution)...

Posted by Andrew on November 02, 2010 at 11:54 PM CET #

doesn't work on win7 (x64).

get the same error "Failed to start terminal: null"

but Aptana3 people seems to have figured it out cos it works great on that. except it's a really unstable IDE

the consoles inside any IDE is a great feature to have, especially in Rails development

Posted by ruvan on November 14, 2010 at 01:08 AM CET #

@Ruvan,

NetBeans 6.9.1 is very stable. NetBeans 7m2 sometimes freezes on my mac and throws some exceptions.

happy hacking!,

adam

Posted by adam-bien.com on November 14, 2010 at 04:35 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
Online Workshops
...the last 150 posts
...the last 10 comments
License