projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e1f74
)
*** empty log message ***
author
root
<root>
Thu, 17 Feb 2005 15:13:47 +0000
(15:13 +0000)
committer
root
<root>
Thu, 17 Feb 2005 15:13:47 +0000
(15:13 +0000)
doc/pty-fd
patch
|
blob
|
history
doc/rxvt.1.pod
patch
|
blob
|
history
diff --git
a/doc/pty-fd
b/doc/pty-fd
index
4d0812c
..
cc13261
100755
(executable)
--- a/
doc/pty-fd
+++ b/
doc/pty-fd
@@
-7,6
+7,7
@@
my $pty = new IO::Pty;
fcntl $pty, F_SETFD, 0; # clear close-on-exec
system "rxvt -pty-fd " . (fileno $pty) . "&";
+close $pty;
# now communicate with rxvt
my $slave = $pty->slave;
diff --git
a/doc/rxvt.1.pod
b/doc/rxvt.1.pod
index
1035bc5
..
3c4d081
100644
(file)
--- a/
doc/rxvt.1.pod
+++ b/
doc/rxvt.1.pod
@@
-421,8
+421,8
@@
longer example is in F<doc/pty-fd>):
my $pty = new IO::Pty;
fcntl $pty, F_SETFD, 0; # clear close-on-exec
-
system "@@RXVT_NAME@@ -pty-fd " . (fileno $pty) . "&";
+ close $pty;
# now communicate with rxvt
my $slave = $pty->slave;