Re: [dwm] I like Dmenu a little simpler

From: Joerg van den Hoff <j.van_den_hoff_AT_fzd.de>
Date: Sun, 9 Mar 2008 11:19:14 +0100

On Fri, Mar 07, 2008 at 07:22:24PM +0100, Szabolcs Nagy wrote:
> On 3/7/08, Joerg van den Hoff <j.van_den_hoff_AT_fzd.de> 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
Received on Sun Mar 09 2008 - 11:19:15 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:25:03 UTC