"daniellewis" <03101417@brookes.ac.uk> writes:
> PostgreSQL (Version 8.0.1). I installed from fink; tcl/tk 8.4.1-12, and
> changed the pgaccess bash script to read wish8.4. I tried to run this
> and I go the following error:
> Application initialization failed: no display name and no $DISPLAY
> environment variable
> Error in startup script: invalid command name "image"
> while executing
> "image create bitmap dnarw -data {
I believe this implies that you are running plain Tcl, not Tcl/Tk
(since image is a Tk command). Check whether the script is really
being executed by wish and not by plain tclsh.
regards, tom lane