using perl extenstions from scripts
Marc Lehmann
schmorp at schmorp.de
Tue Jan 7 04:06:54 CET 2014
On Mon, Jan 06, 2014 at 08:44:09AM +0100, Michael Traxler <M.Traxler at gsi.de> wrote:
> note the different name of the function (on_osc_seq_perl is never called!).
on_osc_seq_perl is definitely being called, otherwise it couldn't have
been forwarded to your tab_osc_seq_perl from urxvt::ext::tabbedex::tab.
> But this doesn't solve the issue, that I can not chose from a script a tab
> (with make_current) and then call programs in this particular tab (by that
> in different shells).
I am not sure what you are trying to do - you can create a new tab with a
speciifc program inside, or you can send keypresses to the programs/shell
running inside an existing tab. urxvt doesn't control the shell.
for all that, you'd have to write code to do it.
> Any idea for that?
That strongly depends on the exqct problem you are trying to solve. If the
tab is guaranteed to run a shell at the moment that is expecting fresh
comamnd input this you can just feed it "mycommand\r" via tt_write for
example.
The cleaner way would be to start a new tab running the command you want to
run.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the rxvt-unicode
mailing list