RE: [dsdp-tm-dev] TM telnet terminal
you need to understand the difference between the Terminal
These are currently separate things.
The terminal provides the ANSI emulation and a view, but
it's not meant to be programmatically used -- after all the view is for users to
type stuff, and users may be confused if a program also writes suff into their
existing connection. The Terminal connectors are tightly coupled to the terminal
view (i.e. they write the characters they receive directly into the view, no
chance of intercepting).
RSE provides a framework of connections which are meant to
be also used programmatically. In RSE, to write commands to a shell
you can use the SimpleCommandOperation for instance. We'll
cover that as part of our tutorial on TM at EclipseCon, the slides are
you'd need is a Telnet connector for RSE, which should be pretty easy to do
through Jakarta Commons Net.
note that with the upcoming user-defined actions for RSE, your users will have
the chance to define commands
Wind River Systems,
Target Management Project Lead, DSDP PMC Member
I would like to know if it is possible to programmatically write commands to
the telnet terminal. So if i have to execute a particular process on the
remote target using telnet , i just have to write the command name to the
terminal and the process should start on target.