I would like to open PDFs (say, with evince) by clicking in the terminal.The setup is urxvt in Fedora 19 here, but if urxvt cannot do this, can you let me know which terminal emulators can. I got URL detection working by putting:urxvt*perl-lib: /usr/libi64/urxvt/perl/urxvt*perl-ext-common: default,matcherurxvt*matcher.button: 1urxvt*url-launcher: /usr/bin/xdg-openInto my ~/.Xdefaults and running xrdb -load ~/.Xdefaults, so hopefully there is some similar solution for the problem at hand.
Clickable PDFs in rxvt
pdf;rxvt;evince
I think I found the answer. One has to look at /usr/lib64/urxvt/perl/matcherand there they give examples. My usecase is to do find . | grep -i somethingand get a bunch of lines like ./foo/bar/something1.pdf./bar/foo/something-and-else.pdfso that adding the two lines urxvt*matcher.pattern.1:  \\B(./\\S+?).pdfurxvt*matcher.launcher.1: evince $1.pdfseems to do the job. I am quite clueless about perl regular expressions, sothis is not ideal. E.g.,./foo/bar/something.pdf.trashinfowill be caught (it shouldn't - it is not a PDF file!), whereas./foo/barname barsurname - something.pdfwill not be caught due to the whitespaces. Perhaps somebody can write something more elegant. Thanks to everyone who took interest in this, cheers!