Re: FVWM: Key binding to raise specific window?

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 9 Jul 2002 11:16:23 +0200

On Mon, Jul 08, 2002 at 12:11:03PM -0600, Jed S. Baer wrote:
> > That command is not correct:
> >
> > $ xdaliclock -24 -noseconds -visual best -memory low \
> > -bg deepolive -fg palegold -font \
> > -*-lucidatypewriter-medium-r-normal-*-15-*-100-100-*-*-*-* \
> > -geometry 60x20
> > zsh: no matches found:
> > -*-lucidatypewriter-medium-r-normal-*-15-*-100-100-*-*-*-*
> >
> > Since the font name contains wildcards, you have to quote it:
>
> Well, bash doesn't mind. Maybe bash doesn't do wildcard expansion on
> command qualifiers? Whether it's a problem would also depend partly on how
> Fvwm invokes the shell process.

As /bin/sh unless told otherwise. You're right, /bin/sh should
run this command, but quoting is a good idea anyway.

> I know, but unfortunately can't find the
> reference at the moment, that it's possible to invoke a shell (at least
> bash, anyway) in manner which disables various normal shell processing.
> Also, a quick read of the bash manpage indicates that * is expanded only
> when it is introduced by '$', i.e. '$*', making it a parameter, or as part
> of pathname expansion or pattern expansion. So, I'm concluding that bash
> doesn't see the * as being in any context it uses for expansion or
> substitution.
>
> Regardless, it works fine without quoting in 2.2.5, but not reliably in
> 2.4.7.

> Is there a difference in the way the Exec function is implemented?

No. Swallowing works very reliable if two conditions are met:

  (a) The application starts up fine.
  (b) The window has the title/class/resource specified in the
      hangon string.
  (c) The window is not swallowed by someone else.

If it does not work, make sure each of these conditions are met.

> I'm tempted to re-install 2.4.7 (what I have handy) and run it
> with -debug.

Forget -debug it's not useful for anybody, including us
decvelopers.

>
> Later,
> jed
> --
> We're frogs who are getting boiled in a pot full of single-character
> morphemes, and we don't notice. - Larry Wall; Perl6, Apocalypse 5


Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, mail: dominik.vogt_at_schlund.de, phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jul 09 2002 - 04:17:45 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST