Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

no display name and no $DISPLAY environment variable -- ????

0 views
Skip to first unread message

Jim Kroger

unread,
Jul 13, 1995, 3:00:00 AM7/13/95
to


no display name and no $DISPLAY environment variable

This is the message I get when I try to invoke wish or
expectk. I'm a unix novice, and after searching around
in the expect and tcl/tk manuals, I can't find an
explanation of what to do about this. I don't see
in either manual any indication of how wish or
expectk depend on the $DISPLAY environment variable
or how it should be set (meaning to what, and how
to do it....the latter probably is setenv $DISPLAY ____)
and I'm stuck.

Any help or pointer would be greatly appreciated.


I'm using OSF (I think) on a Dec 3000 with X-windows.


Thanks in advance,
Jim


Eckhard Stein

unread,
Jul 14, 1995, 3:00:00 AM7/14/95
to
Hallo Jim,
wish (Tk) is based on the X-Window-system. In this system a connection
between a client and a server is made. The server is running locally
on your X-Terminal or workstation or PC with X-server-emulation. The
client may be running on your machine or somewhere else. The first thing
a client will do is making a connection with the X-server. To do this
he will fetch the contents of the environment variable DISPLAY.
If you are connected to the Internet it is something like
setenv DISPLAY 111.222.333.444:0.0
or
setenv DISPLAY aliasname:0.0
In the Decnet there is a different notation. I dont know this exactly,
but I think the character ":' is replaced by "::". But ask your local
X11-experts.

Eckhard Stein

0 new messages