Created Perl extension "osc_test" to experiment
with the new version "tabbedex":

----

#! perl

sub on_child_start
{
        my ($self, @argv) = @_;
        my $tabbedex = $self->{tabbedex};

        my $tab_command = "new_tab";
        my $osc = "emacs";
        $tabbedex->tab_osc_seq_perl($self, $tab_command, $osc);
}

----

Command:

urxvt -pe osc_test

----

Outcomes:

1. A new urxvt window opens.

2. On the commandline of the originating window
(the window into which the command was entered),
an error message:

urxvt: Can't call method "tab_osc_seq_perl" on an undefined value at 
/path/to/urvxt/extensions/osc_test line 11.

-----

P.S. An idle thought -- what if urxvt was written in LISP... now that would be
truly wizardlike (cue the inevitable interjections about Python and Haskell, of 
course).


> -----Original Message-----
> From: [email protected]
> Sent: Sat, 27 Dec 2014 04:41:46 +0100 (CET)
> To: [email protected]
> Subject: Re: urxvt, tabbedex, tmux: Opening a new tab and sending a
> command
> 
> Hi,
> 
> I can contribute to that:
> 
> You can find my extended tabbedex extention here:
> https://github.com/michaeltraxler/urxvt-perls/blob/master/tabbedex
> 
> where the help with an example script can be found here:
> https://github.com/michaeltraxler/urxvt-perls

____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/manager



_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to