Re: Clickable URLs and other patterns
On 10 May 2012, at 08:03, Nicholas Marriott wrote: > No but it would be nice. I was doing some work on cleaning up mouse > input a few weeks ago, but I ran out of time. Once that is done maybe > can do this. > Cool, I will stay tuned, thanks for the reply. Cheers, Ivan > > On Sun, May 06, 2012 at 09:39:48PM +0200, 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] - [1]http://linux.die.net/man/3/urxvtperl >> >> Cheers, >> >> Ivan >> >> References >> >> Visible links >> 1. http://linux.die.net/man/3/urxvtperl > >> -- >> 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 > -- 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
Fwd: scripting support for tmux
-- Forwarded message -- From: Sinbad Date: Fri, May 11, 2012 at 9:24 AM Subject: Re: scripting support for tmux To: Nicholas Marriott On Wed, May 9, 2012 at 12:03 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > No, no plans, although you could be more specific on what you want to > do. > > > On Wed, May 09, 2012 at 11:33:44AM +0530, Sinbad wrote: > >is there a plan to add scripting support for tmux. > >i am specifically looking for 'expect' kind of support. > >it will be helpful when a program is not being run from > >a shell. most of my work will rely on logging into remote > >hardware deivces like network switches and doing some stuff > >there, where i have minimal support from the shell. if tmux > >can provide such support it'll be great. > > > > -- > > 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 > > may be i'm alone in this, but most of the times i will log into a switch, where i will have to configure loads of things. like 100 interfaces, in which each interface configuration will take "three configuration steps", so for 100 interfaces it's 300 cli commands. this is just one case, there are several others like this. I know, i can store the configuration somewhere in the text file and copy paste the stuff, but that might become tedious if i want to change certain values in the configuration. Instead if i have script support, i can write a function which takes these values and configure the commands for me. I hope you get the idea. cheers -- 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
Re: Fwd: scripting support for tmux
On Fri, May 11, 2012 at 11:16:54AM +0530, Sinbad wrote: > -- Forwarded message -- > From: Sinbad > Date: Fri, May 11, 2012 at 9:24 AM > Subject: Re: scripting support for tmux > To: Nicholas Marriott > > > On Wed, May 9, 2012 at 12:03 PM, Nicholas Marriott < > nicholas.marri...@gmail.com> wrote: > > > No, no plans, although you could be more specific on what you want to > > do. > > > > > > On Wed, May 09, 2012 at 11:33:44AM +0530, Sinbad wrote: > > >is there a plan to add scripting support for tmux. > > >i am specifically looking for 'expect' kind of support. > > >it will be helpful when a program is not being run from > > >a shell. most of my work will rely on logging into remote > > >hardware deivces like network switches and doing some stuff > > >there, where i have minimal support from the shell. if tmux > > >can provide such support it'll be great. > > > > > > > -- > > > 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 > > > > > may be i'm alone in this, but most of the times i will log into > a switch, where i will have to configure loads of things. > like 100 interfaces, in which each interface configuration > will take "three configuration steps", so for 100 interfaces > it's 300 cli commands. this is just one case, there are > several others like this. I know, i can store the configuration > somewhere in the text file and copy paste the stuff, but that > might become tedious if i want to change certain values in the > configuration. Instead if i have script support, i can write > a function which takes these values and configure the > commands for me. I hope you get the idea. > why not calling a script with something like command-promp 'option? ' "run-shell /path/to/script '%%'" in in the script, you can use the current pane identifier, to send some text/commands with send-keys or load-buffer/paste-buffer... ? > cheers > -- > 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 -- 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