Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Extending RSE Shell
Extending RSE Shell [message #23715] Fri, 30 May 2008 12:50 Go to next message
Sebastien Moran is currently offline Sebastien MoranFriend
Messages: 10
Registered: July 2009
Junior Member
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 14:06 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 08:07 Go to previous message
Sebastien Moran is currently offline Sebastien MoranFriend
Messages: 10
Registered: July 2009
Junior Member
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 14:06 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 08:07 Go to previous message
Eclipse UserFriend
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
Previous Topic:Difference between dstore and ssh connection
Next Topic:RXTX terminal connection on solaris
Goto Forum:
  


Current Time: Thu Apr 25 08:57:20 GMT 2024

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

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

Back to the top