repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 0f8342d31b444ef866edb93fd01a23bbe1eb3340:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 0f8342d31b444ef866edb93fd01a23bbe1eb3340
Author: Marc Lehmann 
Date:   Sat Feb 19 01:08:26 2005 +0000

    *** empty log message ***

diff --git a/doc/rxvt.1.html b/doc/rxvt.1.html
index 415c99b12e3e048483eb35a130d67bae8e9cce8a..
index ..9d8a2c75bb9253d4c7ccd271bd932428d80049f4 100644
--- a/doc/rxvt.1.html
+++ b/doc/rxvt.1.html
@@ -547,14 +547,11 @@ used (a longer example is in doc/embed):

-   my $rxvt = new Gtk2::DrawingArea;
-   $...->add ($rxvt); # important to add it somewhere first
-   $rxvt->realize; # now it can be realized
-   my $xid = $rxvt->window->get_xid;
-
-
-
-   system "rxvt -embed $xid &";
+ my $rxvt = new Gtk2::Socket; + $rxvt->signal_connect_after (realize => sub { + my $xid = $_[0]->window->get_xid; + system "rxvt -embed $xid &"; + });

-pty-fd fileno
diff --git a/doc/rxvt.1.man.in b/doc/rxvt.1.man.in
index 4dbce07971aa8e9624a526b1ad54380c0a3fc38f..
index ..be3e16f9423a5234263dd0a05524b459daecc7e8 100644
--- a/doc/rxvt.1.man.in
+++ b/doc/rxvt.1.man.in
@@ -129,7 +129,7 @@
 .\" ========================================================================
 .\"
 .IX Title "rxvt 1"
-.TH rxvt 1 "2005-02-18" "5.2" "RXVT-UNICODE"
+.TH rxvt 1 "2005-02-19" "5.2" "RXVT-UNICODE"
 .SH "NAME"
 rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system)
 .SH "SYNOPSIS"
@@ -467,15 +467,12 @@ not.
 Here is a short Gtk2\-perl snippet that illustrates how this option can be
 used (a longer example is in \fIdoc/embed\fR):
 .Sp
-.Vb 4
-\&   my $rxvt = new Gtk2::DrawingArea;
-\&   $...->add ($rxvt); # important to add it somewhere first
-\&   $rxvt->realize; # now it can be realized
-\&   my $xid = $rxvt->window->get_xid;
-.Ve
-.Sp
-.Vb 1
-\&   system "@@RXVT_NAME@@ -embed $xid &";
+.Vb 5
+\&   my $rxvt = new Gtk2::Socket;
+\&   $rxvt->signal_connect_after (realize => sub {
+\&      my $xid = $_[0]->window->get_xid;
+\&      system "@@RXVT_NAME@@ -embed $xid &";
+\&   });
 .Ve
 .IP "\fB\-pty\-fd\fR \fIfileno\fR" 4
 .IX Item "-pty-fd fileno"
diff --git a/doc/rxvt.1.txt b/doc/rxvt.1.txt
index 757f1e72afe1c0d718a4f4a4cfdf97f31b2f9948..
index ..b301bc757a62671013e0d4e2d02bbf9618c714a1 100644
--- a/doc/rxvt.1.txt
+++ b/doc/rxvt.1.txt
@@ -336,12 +336,11 @@ OPTIONS
         Here is a short Gtk2-perl snippet that illustrates how this option
         can be used (a longer example is in doc/embed):

-           my $rxvt = new Gtk2::DrawingArea;
-           $...->add ($rxvt); # important to add it somewhere first
-           $rxvt->realize; # now it can be realized
-           my $xid = $rxvt->window->get_xid;
-
-           system "rxvt -embed $xid &";
+           my $rxvt = new Gtk2::Socket;
+           $rxvt->signal_connect_after (realize => sub {
+              my $xid = $_[0]->window->get_xid;
+              system "rxvt -embed $xid &";
+           });

     -pty-fd *fileno*
         Tells rxvt NOT to execute any commands or create a new pty/tty pair

-----END OF PAGE-----