3 use constant {RXVT_CAPTURE=>1, RXVT_PASS=>(),};
7 my ($rxvt, $osc, $resp) = @_;
9 if(my ($query) = ($osc =~ /^queryinfo;([^;]+)/))
11 if ($query eq "DISPLAY")
13 $rxvt->tt_write($rxvt->display_id . "\n");
16 elsif ($query eq "DBUS_SESSION_BUS_ADDRESS")
18 $rxvt->tt_write($ENV{$query} . "\n");