Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Programmatically create a Telnet Terminal session
Programmatically create a Telnet Terminal session [message #233200] Wed, 22 April 2009 14:41
John Moule is currently offline John MouleFriend
Messages: 13
Registered: July 2009
Junior Member
Hi,

I would like to programmatically create a telnet session using the
Terminal view. I don't want any settings UI to be presented. Instead I
want to provide the telnet parameters programmatically. I think I need to
do that with an ITerminalConnector.

I've tried the code below, but am missing the crucial first step where the
View is created and I think that is why the onTerminalNewTerminal() is
failing.

ITerminalConnector con;
ITerminalView view;
view = new TerminalView();
TerminalActionNewTerminal newTerm = new TerminalActionNewTerminal(view);
view.onTerminalNewTerminal();
view.onTerminalConnect();

Any help for an entry point into this would be greatly appreciated.

cheers john
Previous Topic:Standard-Output not working in Debug Mode
Next Topic:Removing raw path entries from ICproject
Goto Forum:
  


Current Time: Sat Apr 20 00:17:28 GMT 2024

Powered by FUDForum. Page generated in 0.02944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top