On Fri, Mar 07, 2008 at 07:05:30PM +0300, Alexander Polakov wrote:
> * Joerg van den Hoff <[EMAIL PROTECTED]> [080307 19:00]:
> > On Fri, Mar 07, 2008 at 01:11:33PM +0100, Szabolcs Nagy wrote:
> > > On 3/7/08, Joerg van den Hoff <[EMAIL PROTECTED]> wrote:
> > > > I was expecting that the selected entry is fed to `exec' or
> > > > whatever. simple question: what is supposed to happen and
> > > > how do I use `dmenu' sensibly?
> > > 
> > > have you edited dmenu_run? how do you call dmenu_run in dwm config.h?
> > > 
> > 
> > I'm mostly using 4.7 right now and there (contrary to what's
> > in the repository) is no `dmenu_run'. rather,  `mod1-p'  has
> > it's default binding, namely essentially (deleting the color
> > settings stuff):
> > 
> > "exe=`dmenu_path | dmenu` && exec $exe"
> > 
> > I  confess  guilty  of  not having looked at the source code
> > before posting, but it seems that the above actually  should
> > do  what  I  expected:  (attempt  to) execute the selection.
> > but, e.g., selecting `gv' and hitting return has no  visible
> > consequences.   using  the  above  binding in a shell yields
> > correct behaviour, though.
> >
> 
> what shell are you using? try starting dwm like this
> SHELL=/bin/sh dwm

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?


> 
> > so  I  repeat my question: might the problem have to do with
> > the BUGS section of the `dwm' manpage  (I  seee  this  'EOF'
> > at the r.h.s. of the statusbar)?
> 
> no

mmh. anyone using `dwm' with MacOS without this problem?
> 

Reply via email to