-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Sun, May 06, 2012 at 19:39:48 GMT, Ivan Necas wrote:
> Hello Tmux fellows,
>
> One thing that was troubling me a log for a long time was when some command
> produced a stack trace with file paths and lines and I had no other option
> then to copy the file path and remember the number: not very smart way of
> doing things. Well, I didn't know of any option until this weekend when
> I've found possibilities of urxvt extensions matcher [1] that allows to
> scan for some patterns in the terminal and makes it clickable to open a
> link in a browser, a file in an editor etc.
>
> This doesn't work bad in a pure urxvt environment but in combination with
> tmux there are some obstacles (like not working correctly when a link is
> wrapped across multiple lines, missing access to environment of the shell
> in the target pane etc.
>
> Therefore my question is if there is a plan to add either support for
> clickable actions directly or some urxvt-like extensions system that would
> make it possible through some scripts.
>
> [1] - http://linux.die.net/man/3/urxvtperl

Maybe this would be of interest:

=== BEGIN ===
#!/bin/sh

[ -z "$TMUX" ] && exit 1

tempfile="$( mktemp )"

tmux capture-pane
tmux save-buffer "$tempfile"
tmux delete-buffer
tmux new-window -n urlview "urlview $tempfile; rm $tempfile"
===  END  ===

Doesn't catch scrollback though.

- --Ben

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJPqGElAAoJEKaxavVX4C1Xvk8QAKSBXg9QPiZ+IUOtjZoGOY2u
TqDRMmG0QCR+OWJXWY6Q/dxWkZhGwvMjw8fC++Lk/qxyyKpYdZQY5LqAC8KqlbSB
bZQbSZvAGh9Me1IbV4ltSFxbtnzattKWD477Q2/3XWe8Qbm3SaJGHEF0d4a5c4Sq
bkn1iSq1kDNPU1EEuilJdM+REKXanW23gPeH5Z6j02YQ0lInkiVVR61Zj8ZXA4ta
bE9YTzlclrB+uF42BCZ8jyZv2F1cXpyMaXff2Lzgyodu7D/pZdELrsFDIhvOQ64p
kMkTC/L9O5XE78eMVsxhjf6V4mUBl3inA2Bq+haF4OYSZwZsj56sIgsDevHv3dGM
dvlimUBODnM8LXrENZ4zVwaNSzHFfjCJoG79+fPGqPRoA1PA7f3XjNMIjGdDjXgr
/Ld+xwTwbs6Q7CbLSKq+YQTR9O+yk+fk7ifXzC0+VNPRGUwZ17GOfcsNwJuveufF
qU1SjnpUeVtR0+aNy3u1/xcfOLG4r2JqZ5zpiawkwTs1ylYfQKH9v5Ifipdt4ZQl
jPnAwTVfARaV6c6alCsj4Kx1Fa3UZTxNAoYeBFvRKmrHbXc4kZHhQuElrwemAOb0
SO9E8S59xfMMtUFk74U26rbfDgy8OWdEVXHRbiMUy9bbJwOenINrITzrRuVpnNKM
J1QaFVEjzModD3F7oNwC
=yUg1
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to