jerluc / wmii

Automatically exported from code.google.com/p/wmii
MIT License
0 stars 0 forks source link

overridekeys ineffective when run in subshell #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to remove a keybinding in rc.wmii.local:/^fn Action-overridekeys
2. Rerun rc.wmii-local

What is the expected output? What do you see instead?

 Expect the removed keybinding to be disabled, instead it still works.

What version of the product are you using (wmii -v)? On what operating system?

wmii-20080520, ©2007 Kris Maglione

Please provide any additional information below.

 wmii.rc:
fn Action {
       cmd=$1 action=Action-$cmd { shift
               if(wi_fn-p $action)
                       $action $*
               if not
                       wi_runcmd `{wi_script $cmd} $*
       } &
}

 The ampersand is the problem of course, overridekeys has no chance to
modify rc.wmii's environment when run in a subshell.

-sqweek

Original issue reported on code.google.com by sqw...@gmail.com on 28 May 2008 at 11:17

GoogleCodeExporter commented 9 years ago
I distinctly remember fixing that.

2337:33b66fd0ebe0

Original comment by maglion...@gmail.com on 31 May 2008 at 10:29