On Wed, Sep 26, 2007 at 10:11:21PM +1200, Atom Smasher wrote: > should it be considered a bug that the _current_ value of MRXVT_TABTITLE > is not exported to the command specified by 'bellCommand'? > > ideally, i'd like to see more info about the current environment exported > to the bellCommand, but i can do what i need with MRXVT_TABTITLE. > > fwiw, i'd like to have a script that plays *different* sounds, depending > on what tab rings the bell. ie; a "you've got mail" sample if the > MRXVT_TABTITLE identifies the tab as pine/mutt. my current zshrc file > dynamically names the tabs with the current command, so updating > MRXVT_TABTITLE in the same chunk of code would be a no-brainer.
Erm. This isn't a "no brainer" . While zsh is free to do what it pleases with it's environment variable MRXVT_TABTITLE, it can not propagate this change to mrxvt's environment! Perhaps a more flexible approach would be to make bellCommand percent interpolated, so you can access information about the current tab as you please. This would cause some backward incompatibility, and is probably a security risk to interpolate the tab title into a string that is passed to the shell. Alternately we could manually update the environment ourselves before execing bellCommand... GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 82. I will not shoot at any of my enemies if they are standing in front of the crucial support beam to a heavy, dangerous, unbalanced structure. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Materm-usage mailing list Materm-usage@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-usage Mrxvt home page: http://materm.sourceforge.net