On Thu, Dec 13, 2012 at 09:38:01AM -0500, Scott Frazer wrote: > On Wed, Dec 12, 2012 at 2:21 PM, Nicholas Marriott > <nicholas.marri...@gmail.com> wrote: > > Hi > > > > You definitely shouldn't use C0 control codes for this, you should > > probably use DCS but with a different prefix instead of "tmux;" which is > > used for raw passthrough (look at input_dcs_dispatch). > > > > Yes, I thought that was probably not the best way to do it. I don't know how > DCS works, but I'm sure Google will help. > > > However, I'm not sure we need code to do this at all. Can't you use a > > wrapper script that sets the colour/renames the window/etc? That's what > > I do for ssh. > > > > For example something like: > > [example snipped] > > I think that would work for the 'sticky' status that I want, but I would still > have to use the alert and monitor-content indicators for fail/pass which have > the limitations I mentioned before. I'll work on the DCS method and post a > new patch. I understand it will likely be rejected, but perhaps someone else > will find it useful. I certainly do :)
You could check the return code and set different names/colours on success or failure and bind a key to reset the window options, maybe not quite as quick as it automatically removing the state but it'd work :-). ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users