ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.pod (file contents):
Revision 1.59 by root, Thu Feb 17 15:07:48 2005 UTC vs.
Revision 1.60 by root, Thu Feb 17 15:13:47 2005 UTC

419 use IO::Pty; 419 use IO::Pty;
420 use Fcntl; 420 use Fcntl;
421 421
422 my $pty = new IO::Pty; 422 my $pty = new IO::Pty;
423 fcntl $pty, F_SETFD, 0; # clear close-on-exec 423 fcntl $pty, F_SETFD, 0; # clear close-on-exec
424
425 system "@@RXVT_NAME@@ -pty-fd " . (fileno $pty) . "&"; 424 system "@@RXVT_NAME@@ -pty-fd " . (fileno $pty) . "&";
425 close $pty;
426 426
427 # now communicate with rxvt 427 # now communicate with rxvt
428 my $slave = $pty->slave; 428 my $slave = $pty->slave;
429 while (<$slave>) { print $slave "got <$_>\n" } 429 while (<$slave>) { print $slave "got <$_>\n" }
430 430

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines