d.menu

Hello All,

I am having a problem with d.menu that I was hoping that someone could help with.

in using d.menu with a shell script very similar to one mentioned in the User
Manual (which I listed below) I am getting a X-windows error like the following:

  X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 73 (X_GetImage)
    Serial Number of failed request: 629
    Current serial number in output stream: 629
  ERROR eof from graphics driver.

The problem only arises when command line options are used in addition to the
in-line file redirection. Used separately there doesn't seem to be a problem.
I'm using a Sun IPC with OpenWindows 3 and the mwm. I can't be sure but I think
that this used to work with OpenWindows ver 2 and olwm. Anyway the shell script
is listed below. I'd appreciate any suggestions to this problem.

:
d.menu bcolor=red tcolor=green dcolor=yellow size=5 << EOF
.T 25
.L 25
Output Scenarios:
Test1
Test2
Test3
Exit
EOF

--john cartwright
johncc@picea.cfnr.colostate.edu