You are not logged in.

#1 2009-10-16 07:22:22

drtoki
Member
From: {x ∈ A | p(x) = 1}
Registered: 2009-07-22
Posts: 95

copy to X buffer / urxvt url marking

How would I access the X buffer in Perl? I want to specifically use the highlight-middle click buffer and not the clipboard.

I'm trying to modify the mark-yank-url Perl script/extension to fit my needs, but my extremely limited Perl knowledge isn't helping me all too much. I want the script to accomplish two things. One, highlight and scroll through all matches of the given regexp string, similar to the current functionality, but automatically yank the highlighted section to the X buffer as it cycles. Two, implement a numbering system similar to the elinks link numbering system where typing in a number, while in mark-mode, would highlight and yank the corresponding match.

I'm also trying to modify the regexp string to fit the format of my work's servers, but that's probably the easiest part of it all. I don't think it should be much of a problem for me.

Any Perl gurus among the Arch community willing to help me out? smile

Offline

Board footer

Powered by FluxBB