On Fri, Mar 07, 2008 at 07:22:24PM +0100, Szabolcs Nagy wrote: > On 3/7/08, Joerg van den Hoff <[EMAIL PROTECTED]> wrote: > > interactively I use tcsh (i.e. SHELL is set to this, too), but > > dwm is started from within .xinitrc which has `#!/bin/sh' > > in the first line, so is executed as bourne shell script. > > that should do, right? > > apparently not > > with tcsh you need > "set exe=`dmenu_path | dmenu` && exec $exe" > instead of > "exe=`dmenu_path | dmenu` && exec $exe" > > or alternatively use a recent dmenu which has dmenu_run >
OK, I see, thanks. I now settled for explicitely enforcing the use of `sh' (see response to henrik holt in this thread). question: should'nt the fact that the original source code relies on using `sh' as default shell be considered a minor bug? i.e. should'nt indeed use of `sh' (which is always there) be enforced in the call of `dmenu'? joerg
