Hi,

I have a familarity with perl Gtk2, and was interested in the various
tabbed embedded urxvt terminals, even trying to create my own in
Tk..... I see the problem with resizing the Tk NoteBook with embedded urxvt 
terminals.

Anyways, Tk set aside,  I noticed a difference in the process table, when I 
compared 
the process tree of the "rxvt-tabbed" example script in the source code's
/doc directory,  against the process tree of "urxvt -pe tabbed".

For the perl script "rxvt-tabbed", when opening say 5 tabs, I get

>From ps auxww --forest:

          \_ /usr/bin/perl ./rxvt-tabbed
               \_ urxvt -embed 23068762
               |   \_ bash
               \_ urxvt -embed 23068872
               |   \_ bash
               \_ urxvt -embed 23068935
               |   \_ bash
               \_ urxvt -embed 23069016
               |   \_ bash
               \_ urxvt -embed 23069115
               |   \_ bash
               \_ urxvt -embed 23069347
                   \_ bash

This is how I always thought the process table should look, from my previous
experience with embedding. Each separate urxvt terminal appears, with it's bash 
shell.

Now compare that to the output of "urxvt -pe tabbed" with 5 open tabs:

 urxvt
   \_ bash
         \_ urxvt -pe tabbed
               \_ bash
               \_ bash
               \_ bash
               \_ bash
               \_ bash

Notice, only one instance of urxvt appears, controlling 5 separate bash 
instances.

I tried to understand the "tabbed" code, but was unable to figure out the 
hieroglyphics. :-)

So my question is what is going on here? How does that "urxvt -pe tabbed" work?
Is there any drawbacks or benefits to using what I assume are pty's?

Is there a limit on how many tabs a single urxvt terminal can handle?
Can the "urxvt -pe tabbed" get overloaded by one of the bash shells?

Thanks for reading this.


0m,
zentara

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

Reply via email to