russo@chaos.utexas.edu (Thomas Russo) (02/21/90)
Ok. I just read the emacs "PROBLEMS" file, and seems like some people have had this same "gethostbyname bombs if display is hostname:0" problem too: * Emacs won't work with X-windows if the value of DISPLAY is HOSTNAME:0. Some people have found that Emacs was unable to connect to the local host by name, as in DISPLAY=prep:0 if you are running on prep, but could handle DISPLAY=unix:0. Here is what tale@rpi.edu said: Seems as though gethostbyname was bombing somewhere along the way. Well, we had just upgrade from SunOS 3.5 (which X11 was built under) to SunOS 4.0.1. Any new X applications which tried to be built with the pre OS-upgrade libraries had the same problems which Emacs was having. Missing /etc/resolv.conf for a little while (when one of the libraries was built?) also might have had a hand in it. The result of all of this (with some speculation) was that we rebuilt X and then rebuilt Emacs with the new libraries. Works as it should now. Hoorah. So, is there a chance that 3.2.1 broke X libraries in some strange way? Has anybody ever run across such problems? Thomas Russo Center for Nonlinear Dynamics, University of Texas at Austin russo@chaos.utexas.edu or phib421@utchpc.bitnet ------