Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Changes to PTP terminal

Ah, yes. Sounds like a great feature to have in the Remote Terminal for
everyone, not just PTP ;)

On 2015-02-09, 1:56 PM, "Greg Watson" <g.watson@xxxxxxxxxxxx> wrote:

>If you mean "what can it do", then the parser is called with every buffer
>of data that is sent from the remote host to the terminal. If the parse
>method returns true, the buffer will be displayed in the terminal. If the
>method returns false, nothing will be displayed.
>
>If you mean “what does PTP use it for”, this is the basis of Steve’s
>integration of command line tools with GUI tools. PTP uses the parser to
>intercept a special escape sequence that is used to drive the UI from the
>command line. So by typing a command in the terminal, it is possible to
>pop up a dialog in the UI. Or it can record all commands that have been
>typed and provide a GUI version of the command history.
>
>Just to be clear, there are two parts to this. The (now) TM Remote
>Terminal part that just provides the extension point, and the PTP part
>which provides the extension that does the command line/UI integration.
>
>Greg
>
>> On Feb 9, 2015, at 1:44 PM, Doug Schaefer <DSchaefer@xxxxxxx> wrote:
>> 
>> What does the parser do? For this of us who are not Steve ;)
>> 
>> On 2015-02-09, 12:56 PM, "Greg Watson" <g.watson@xxxxxxxxxxxx> wrote:
>> 
>>> This email is mainly for Steve, but I wanted to keep everyone in the
>>>loop.
>>> 
>>> I¹ve made some changes to the PTP terminal support in master. In
>>>summary,
>>> these are:
>>> 
>>> 1. TM terminal support for remote services (org.eclipse.remote) has
>>>been
>>> moved to the TM project, hereafter referred to as TM Remote Terminal.
>>> 
>>> 2. In order to support the same functionality provided by TM terminal,
>>>I
>>> added an extension point to the TM Remote Terminal called ³parsers². A
>>> parser must implement the
>>> org.eclipse.m.terminal.remote.IRemoteTerminalParser interface.
>>>Basically,
>>> this call a parse() method with the contents of every buffer from the
>>> remote system. See the extension point and Javadoc for more
>>>information.
>>> 
>>> 3. The command handler (which allows a user to right-click on a
>>> synchronized project and open a terminal) remains relatively unchanged.
>>> 
>>> Please take a look a these changes and let me know if everything is
>>> working as expected. It¹s possible that I may have overlooked something
>>> in the conversion.
>>> 
>>> We can also discuss this more tomorrow if anyone has questions or
>>> concerns.
>>> 
>>> Greg
>>> _______________________________________________
>>> ptp-dev mailing list
>>> ptp-dev@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>> 
>> _______________________________________________
>> ptp-dev mailing list
>> ptp-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>
>_______________________________________________
>ptp-dev mailing list
>ptp-dev@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe
>from this list, visit
>https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top