On Wed, 26 Sep 2007, Gautam Iyer wrote:

> 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!
==============

oh, ok... i get it now... mrxvt exports to the bell command the 
environment that mrxvt was invoked with.


> 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...
============

if mrxvt just exports the _current_ shell environment, i could do what i 
need, and (likely) without causing problems of creating arguments to a 
command... can that be made to work?

i'm not sure what you mean about "manually update the environment 
ourselves before execing bellCommand"... if i set FOO=bar then invoke 
mrxvt, the shells in mrxvt all have FOO=bar... and if i change FOO=foo 
then call an external program via the bellCommand the external program is 
called with an environment that includes FOO=bar.


-- 
         ...atom

  ________________________
  http://atom.smasher.org/
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

        "I see in the near future a crisis approaching that unnerves
         me and causes me to tremble for the safety of my country...
         corporations have been enthroned and an era of corruption in
         high places will follow, and the money power of the country
         will endeavor to prolong its reign by working upon the
         prejudices of the people until all wealth is aggregated in a
         few hands and the Republic is destroyed."
                -- U.S. President Abraham Lincoln, 21 Nov 1864



-------------------------------------------------------------------------
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

Reply via email to