[Konsole-devel] Extending TerminalInterface

rahman duran rahman.duran at gmail.com
Thu Mar 26 19:33:40 UTC 2009


On Thu, Mar 26, 2009 at 9:16 PM, Eike Hein <hein at kde.org> wrote:

>
> Hi Rahman, Hi Robert,
>
> as seen in the thread on kde-core-devel, Rahman is
> currently working on extending TerminalInterface
> for KDE 4.3 by adding a subclass with an additional
> method needed by Dolphin.
>
> It might be a good idea to use this opportunity to
> do all the other extensions that have been proposed
> in one go.
>
> Things I can currently think of:
>
> * A way to get the CWD out of a terminal, useful
>  for session management in KPart-using apps (this
>  can be a method, but a signal would be nice as
>  well, which Dolphin could use for syncing its
>  folder view with the CWD of the terminal if a
>  change originates in the terminal).
>
> * The undocumented slots in the KPart Yakuake uses
>  to trigger the Edit Profile and Manage Profiles
>  dialogs.
>
> * Perhaps it would be nice to place the KPart's
>  undocumented overrideShortcut() signal there.
>
> * A way to trigger the Konsole KPart's search bar,
>  to enable search in KPart-using apps.
>
> Dunno how Konsole-specific we can make this, however,
> since the interface is theoretically intended to be
> generic. Perhaps we should just take the plunge and
> call the extended version KonsoleInterface, though.
>
> It would be nice if we could somehow get together
> on this, so we don't end up with yet another exten-
> ded subclass later.
>
> I suggest we do the discussion to konsole-devel,
> which I've also CC'd.
>
>
> --
> Regards,
> Eike Hein, hein at kde.org
>

Hi Eike,

Dolphin needed funcitons are:

   * a signal, CWD to make dolphinview synchronize url

   * a function that checks if any process running in terminal

   * a function that checks if there is any inputted text that not pressed
enter yet. (this is a major bug for dolphin that can cause data loss. see
bug: https://bugs.kde.org/show_bug.cgi?id=161637)

As I'm running out of time (I only have 3 or 4 days, then I will not be able
work on this), I started to work on these. I will post my patches, so you
can combine your works with it.

Best regards,
-- 
Rahman Duran

Software Engineer
Turkey

How many apples fell on Newton's head before he took the hint!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20090326/3cfeca4d/attachment.html>


More information about the konsole-devel mailing list