Mailinglist Archive: opensuse (3566 mails)
| < Previous | Next > |
Re: [opensuse] Re: function in .bashrc
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Thu, 26 Apr 2007 07:01:03 -0700
- Message-id: <200704260701.03300.rschulz@xxxxxxxxx>
Will,
On Thursday 26 April 2007 06:52, Will Stephenson wrote:
> ...
> >
> > % dcop konsole-7761 session-5 "sendSession 'dl'"
> > no such function
>
> sendSession was removed from the default dcop interface as it's a
> security risk. You can turn it back on by starting konsole with
> --script. That gets you feedSession and sendSession. feedSession
> just sends the text to the console, sendSession does the same and
> presses return immediately afterwards.
>
> Start a new konsole, open a new session within it and make that echo
> hello world:
>
> konsole --script&
> konsoleinstance=konsole-$!
> session=$(dcop $konsoleinstance default newSession)
> dcop $konsoleinstance $session sendSession "echo hello world\!"
>
> HTH
Thanks for the information!
> Will
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
On Thursday 26 April 2007 06:52, Will Stephenson wrote:
> ...
> >
> > % dcop konsole-7761 session-5 "sendSession 'dl'"
> > no such function
>
> sendSession was removed from the default dcop interface as it's a
> security risk. You can turn it back on by starting konsole with
> --script. That gets you feedSession and sendSession. feedSession
> just sends the text to the console, sendSession does the same and
> presses return immediately afterwards.
>
> Start a new konsole, open a new session within it and make that echo
> hello world:
>
> konsole --script&
> konsoleinstance=konsole-$!
> session=$(dcop $konsoleinstance default newSession)
> dcop $konsoleinstance $session sendSession "echo hello world\!"
>
> HTH
Thanks for the information!
> Will
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |