Re: [wmii] Enviroment

From: Kris Maglione <>
Date: Mon, 10 Mar 2008 21:25:17 -0400

On Mon, Mar 10, 2008 at 10:08:16PM +0100, Georg Göri wrote:
> So now to my problem, since I use wmii with the plan9port support I have
> having problems with my environment variables.
> As you can see in the attached env.output I have all setting from the
> rc.wmii in my environment and the problem is that the "fn#" variables make
> bash and other things not work any more. So my question is if that behavior
> is normal and if I can prevent wmii form this behavior.

You'll have to be more specific. What happens to bash? What else
has problems?

zsh, for some odd reason, unsets all of the fn# variables. If
you *must* unset them, add something like this to wi_runcmd:

fn `{env | 9 sed -n 's/^fn#([^=]+).*/\1/p'}

Kris Maglione
Law expands in proportion to the resources available
for its enforcement.
SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
Received on Tue Mar 11 2008 - 02:25:53 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:37:53 UTC