Home » Eclipse Projects » DSDP - Target Management » Extending RSE Shell
Extending RSE Shell [message #23715] |
Fri, 30 May 2008 08:50  |
Eclipse User |
|
|
|
Hi everyone,
I am implementing a new RSE Shell. I have looked the way it has been
done for the SSH Shell.
It is working great, but I am confronted to a problem. I need to send
specific command (through the shell) when the user hit Ctrl-Z, or Esc.
I have looked deeper in the code and found in the CommandsViewPage.java,
that a Listener is added, and is responsible of handling case like mine
(Ctrl-C, etc ...).
Is it planned to handle case like mine in the future ?
Temporarly, I am planning to modify the RSE code (maybe adding an
extension point).
Thanks
Sebastien Moran
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 06 63
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com
|
|
|
Re: Extending RSE Shell [message #23801 is a reply to message #23715] |
Fri, 30 May 2008 10:06   |
Eclipse User |
|
|
|
Hello Sebastien,
have you looked at the new RSE Terminal integration?
It provides ANSI terminal emulation, whereas the classic
RSE Command View is always line-based. Also, the Terminal
always sends character codes directly to the remote, so
if you contribute a Terminal Stream Handler you can
interpret these character codes in any way you need.
The commands view is different in that it is always
line-based. It provides a line editor, in which special
keyboard shortcuts (left,right,home,ctrl+c,ctrl+v) are
LOCALLY used to edit the commandline rather than sending
directly to the remote.
Pick what you need, but in my opinion the RSE Commands
View is not what you need. It's not designed for handling
special keystrokes.
For the Terminal, and special contributed Stream Handlers,
we are still working on an API for such extensions. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=224989
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Sébastien Moran wrote:
> Hi everyone,
>
> I am implementing a new RSE Shell. I have looked the way it has been
> done for the SSH Shell.
>
> It is working great, but I am confronted to a problem. I need to send
> specific command (through the shell) when the user hit Ctrl-Z, or Esc.
>
> I have looked deeper in the code and found in the CommandsViewPage.java,
> that a Listener is added, and is responsible of handling case like mine
> (Ctrl-C, etc ...).
>
> Is it planned to handle case like mine in the future ?
>
> Temporarly, I am planning to modify the RSE code (maybe adding an
> extension point).
>
> Thanks
>
> Sebastien Moran
> ANYWARE TECHNOLOGIES
> Tel : +33 (0)5 61 00 06 63
> Fax : +33 (0)5 61 00 51 46
> http://www.anyware-tech.com
|
|
|
Re: Extending RSE Shell [message #23885 is a reply to message #23801] |
Mon, 02 June 2008 04:07  |
Eclipse User |
|
|
|
Hello Martin,
Thanks, I'll take a look at it.
Sebastien Moran
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 06 63
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com
Martin Oberhuber a écrit :
> Hello Sebastien,
>
> have you looked at the new RSE Terminal integration?
>
> It provides ANSI terminal emulation, whereas the classic
> RSE Command View is always line-based. Also, the Terminal
> always sends character codes directly to the remote, so
> if you contribute a Terminal Stream Handler you can
> interpret these character codes in any way you need.
>
> The commands view is different in that it is always
> line-based. It provides a line editor, in which special
> keyboard shortcuts (left,right,home,ctrl+c,ctrl+v) are
> LOCALLY used to edit the commandline rather than sending
> directly to the remote.
>
> Pick what you need, but in my opinion the RSE Commands
> View is not what you need. It's not designed for handling
> special keystrokes.
>
> For the Terminal, and special contributed Stream Handlers,
> we are still working on an API for such extensions. See
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=224989
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> Sébastien Moran wrote:
>> Hi everyone,
>>
>> I am implementing a new RSE Shell. I have looked the way it has been
>> done for the SSH Shell.
>>
>> It is working great, but I am confronted to a problem. I need to send
>> specific command (through the shell) when the user hit Ctrl-Z, or Esc.
>>
>> I have looked deeper in the code and found in the
>> CommandsViewPage.java, that a Listener is added, and is responsible of
>> handling case like mine (Ctrl-C, etc ...).
>>
>> Is it planned to handle case like mine in the future ?
>>
>> Temporarly, I am planning to modify the RSE code (maybe adding an
>> extension point).
>>
>> Thanks
>>
>> Sebastien Moran
>> ANYWARE TECHNOLOGIES
>> Tel : +33 (0)5 61 00 06 63
>> Fax : +33 (0)5 61 00 51 46
>> http://www.anyware-tech.com
|
|
|
Re: Extending RSE Shell [message #575126 is a reply to message #23715] |
Fri, 30 May 2008 10:06  |
Eclipse User |
|
|
|
Hello Sebastien,
have you looked at the new RSE Terminal integration?
It provides ANSI terminal emulation, whereas the classic
RSE Command View is always line-based. Also, the Terminal
always sends character codes directly to the remote, so
if you contribute a Terminal Stream Handler you can
interpret these character codes in any way you need.
The commands view is different in that it is always
line-based. It provides a line editor, in which special
keyboard shortcuts (left,right,home,ctrl+c,ctrl+v) are
LOCALLY used to edit the commandline rather than sending
directly to the remote.
Pick what you need, but in my opinion the RSE Commands
View is not what you need. It's not designed for handling
special keystrokes.
For the Terminal, and special contributed Stream Handlers,
we are still working on an API for such extensions. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=224989
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Sébastien Moran wrote:
> Hi everyone,
>
> I am implementing a new RSE Shell. I have looked the way it has been
> done for the SSH Shell.
>
> It is working great, but I am confronted to a problem. I need to send
> specific command (through the shell) when the user hit Ctrl-Z, or Esc.
>
> I have looked deeper in the code and found in the CommandsViewPage.java,
> that a Listener is added, and is responsible of handling case like mine
> (Ctrl-C, etc ...).
>
> Is it planned to handle case like mine in the future ?
>
> Temporarly, I am planning to modify the RSE code (maybe adding an
> extension point).
>
> Thanks
>
> Sebastien Moran
> ANYWARE TECHNOLOGIES
> Tel : +33 (0)5 61 00 06 63
> Fax : +33 (0)5 61 00 51 46
> http://www.anyware-tech.com
|
|
|
Re: Extending RSE Shell [message #575194 is a reply to message #23801] |
Mon, 02 June 2008 04:07  |
Eclipse User |
|
|
|
Originally posted by: sebastien.moran.anyware-tech.com
Hello Martin,
Thanks, I'll take a look at it.
Sebastien Moran
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 06 63
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com
Martin Oberhuber a écrit :
> Hello Sebastien,
>
> have you looked at the new RSE Terminal integration?
>
> It provides ANSI terminal emulation, whereas the classic
> RSE Command View is always line-based. Also, the Terminal
> always sends character codes directly to the remote, so
> if you contribute a Terminal Stream Handler you can
> interpret these character codes in any way you need.
>
> The commands view is different in that it is always
> line-based. It provides a line editor, in which special
> keyboard shortcuts (left,right,home,ctrl+c,ctrl+v) are
> LOCALLY used to edit the commandline rather than sending
> directly to the remote.
>
> Pick what you need, but in my opinion the RSE Commands
> View is not what you need. It's not designed for handling
> special keystrokes.
>
> For the Terminal, and special contributed Stream Handlers,
> we are still working on an API for such extensions. See
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=224989
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> Sébastien Moran wrote:
>> Hi everyone,
>>
>> I am implementing a new RSE Shell. I have looked the way it has been
>> done for the SSH Shell.
>>
>> It is working great, but I am confronted to a problem. I need to send
>> specific command (through the shell) when the user hit Ctrl-Z, or Esc.
>>
>> I have looked deeper in the code and found in the
>> CommandsViewPage.java, that a Listener is added, and is responsible of
>> handling case like mine (Ctrl-C, etc ...).
>>
>> Is it planned to handle case like mine in the future ?
>>
>> Temporarly, I am planning to modify the RSE code (maybe adding an
>> extension point).
>>
>> Thanks
>>
>> Sebastien Moran
>> ANYWARE TECHNOLOGIES
>> Tel : +33 (0)5 61 00 06 63
>> Fax : +33 (0)5 61 00 51 46
>> http://www.anyware-tech.com
|
|
|
Goto Forum:
Current Time: Tue May 06 09:55:15 EDT 2025
Powered by FUDForum. Page generated in 0.06307 seconds
|