FVWM: Finally moved to 2.2, can't figure out some changes

From: David S. Goldberg <dsg_at_mitre.org>
Date: 20 May 1999 13:16:19 -0400

I'm not prepared to call these bug reports just yet (well, the
FvwmConsole thing is a feature request); most likely I'm missing
something in the man page or the FAQ (both of which I've read).
Here's the issues I've run into that I can't find a fix for. To head
off one expected answer, yes I did eliminate the old MODULEPATH and
have verified (via truss) that the 2.2 modules are the ones being
called for. If it matters, I'm running on Solaris 2.5.1 and built
fvwm2 with the openwin libraries. I also included xpm, readline and
rplay support. No compilation errors occurred.

1: I have a function that tries to warp to a given window if it
exists, if it doesn't it execs the desired program/runs the desired
module and warps to that. Here's the definition:

AddToFunc run-then-warp "I" $1 $2 $3 $4 $5 $6 $7 $8 $9
+ "I" Wait $0
+ "I" Next ($0 CirculateHit) myfocus 50 50 Iconify -1

AddToFunc warp-or-run "I" Next ($0 CirculateHit) myfocus 50 50 Iconify -1
+ "I" Next ($0) myfocus 50 50 Iconify -1
+ "I" None ($0 CirculateHit) run-then-warp $0 $1 $2 $3 $4 $5 $6 $7 $8 $9

Then I have in a menu definition:

+ "&FvwmConsole" warp-or-run FvwmConsole Module FvwmConsole

But when I try to do this I get the following error:

xterm: bad command line option "$3"
[xterm usage message deleted]

Unlike 2.0.46, which didn't pass additional function args if they
didn't exist, 2.2 seems to put in the $# stuff. Is this a bug or am I
just missing something?

2: FlipFocus doesn't work the way I expect. I have the following:

AddToFunc myfocus "I" $2 $3 $4 $5 $6 $7 $8 $9
+ "I" WarpToWindow $0 $1
+ "I" Focus

AddToFunc togglewindow "I" FlipFocus
+ "I" Prev (!iconic CurrentPage) myfocus 0 0 Nop

And bind togglewindow to Alt-TAB. Under 2.0.46 that caused Alt-TAB to
switch between only the top two windows. Under 2.2 it switches
amongst all the windows on the current page. I'm clearly missing
something but I've tried replacing the Prev with Current and Next and
Adding a Current to the first line. All to no avail. How to get the
old behavior (other than downgrading :-)?

3: My FvwmForms no longer work. Near as I can tell my configs conform
to the man pages, but when I try to start it I get the following:

X Error of failed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request: 1 (X_CreateWindow)
  Value in failed request: 0x0
  Serial number of failed request: 31
  Current serial number in output stream: 41

4: (feature request, I'll try to come up with a patch later today) My
home directory is in AFS space which means that I can't have FIFOs etc
in there. For FvwmCommand, I can specify the -f option to provide for
an alternate path for the FIFO. I need to be able to do the same for
FvwmConsole, which is hardwired to $HOME. I realize I can try
wrapping FvwmConsole with a shell script that sets HOME and execs
FvwmConsole, but that seems suboptimal. Unless there's a way to set
an envar in .fvwm2rc that I've missed.

Thanks for any help,
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg_at_mitre.org
--
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 Thu May 20 1999 - 12:17:24 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST