invalid command name
error when trying to execute Vega commands?
package require Pftcl_ogl
package require Vgtcl_ogl
package require Vgfxtcl_ogl
Vgu_AutoPackageRequire will automatically
perform the necessary package requires for all active modules.
wm withdraw .The next question is where to put that command. psish users can incorporate it in their personal
~/.psishrc
file, or the system-wide
/usr/local/lib32/tcl8.0/system.psishrc
, or at the beginning of the vgTcl script.
For a vgTcl C app, you can include the command in the
PSITCLRC
environment
variable, or insert the following call after Psitcl_CreateInterp():
Tcl_Eval( interp, "wm withdraw ." );
{ [vgGetProp $chan VGCHAN_STATSSEL] == VGCHAN_STATSOFF }
to evaluate true?
vgtcl value command to obtain the actual value.
The example above becomes:
{ [vgGetProp $chan VGCHAN_STATSSEL] == [vgtcl value VGCHAN_STATSOFF] }
PSITCLDISPLAY environment variable?
Why not just use DISPLAY?
send command, Tcl/Tk
apps must have their root windows (called ".") open on the same
X server.
Root windows are opened on the server specified by DISPLAY.
For flexibility, we'd like to be able to open subsequent GUI windows on
a different X server; that is specified by PSITCLDISPLAY.
This is simply a vgTcl convention.
See Psi_Toplevel in
/usr/local/lib32/PSI/PsiUtil.tcl.
send command fails with
X server insecure (must use xauth-style authorization)
when I try to
communicate between different systems.
xauth
instead of xhost.
To activate the security model required by Tcl/Tk, see
About Tcl/Tk and X server security
/usr/include/tcl.h,
which, due to the compiler's default search path, is being found
before the desired
/usr/local/include/tcl.h.
Either:
/usr/include/tcl.h, or
-nostdinc compiler flag to override the
default header search path, then search /usr/local/include first.
rld: Fatal Error: unresolvable symbol in .../libpf_ogl.so: vlDMBufferGetValid?
X Error of failed request: BadValue (integer parameter out of range for operation)...
when attempting to reparent a Vega window on a multipipe system?
xauth, I cannot login.
What happened?
Copyright 1998-1999 MultiGen-Paradigm Inc. -- ALL RIGHTS RESERVED
$Id: FAQ.html,v 2.10 1999/06/11 20:34:13 mew Exp $