You are not logged in.

clif2

Beginner

  • "clif2" started this thread

Posts: 1

Location: UK

  • Send private message

1

Saturday, April 22nd 2006, 9:47pm

Kate terminal variables

Is it possible to substitute the name of the current buffer into the Konsole window pane using a variable?

e.g:

command $currentbuffer

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Tuesday, April 25th 2006, 10:02pm

Hmm, interesting question.

Maybe through Kate's DCOP interface

Cheers,
_
Qt/KDE Developer
Debian User

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

3

Thursday, April 27th 2006, 6:28pm

I already looked there but couldn't find anything (strange enough). Note I looked with the Kate supplied with KDE 3.4.3, maybe a decent DCOP call exists in KDE 3.5.x. You can find it with the kdcop utility.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Saturday, April 29th 2006, 9:19pm

This is also for Kate from KDE3.4

Source code

1
dcop kate __KateMainWindow#1 caption | sed s#" - Kate"##


Cheers,
_
Qt/KDE Developer
Debian User