HELP: Emacs not working

HELP: Emacs not working

Post by W. Paul Mil » Thu, 05 Oct 1995 04:00:00

>Hello everyone,
>my emacs seem not to be running in the X-windows. I know that emacs came
>with a version that runs in X-Windows; the one with menu bars. When I
>try to startup emacs in X. The hard-disk does attempt to load it out,
>but it dies out half way through. I quit X-windows, and saw this message

>    "Standard input is not a tty"
>I know that something is missing, but just dont know what. I would be
>glad if anyone could help me out with this.

I don't know for sure. Have you tried running it from an xterm in X.
Also I have 2 versions of emacs:
a symbolic link then points emacs to the "with" version. Originally
it pointed to the "no" version. emacs will still work if not in X, as
it is smart enought to know the difference. The "with" version is
somewhat larger than the other version. Check your link. Maybe that
will solve your problem.

| ------------------ |  New LINUX Hacker | My only love is my |

| -----------------  |    Old C Hacker   |    is worth it!    |


HELP: Emacs not working

Post by lian » Sat, 07 Oct 1995 04:00:00

Hi !

its solve. Thanks Paul. Its working. You are right, i forgot to put the
symbolic link to emac-19.27-with-x11


HELP: Emacs not working

Post by Guillaume Lauren » Sat, 07 Oct 1995 04:00:00

> my emacs seem not to be running in the X-windows. I know that emacs came


I suppose you tried to launch emacs from a window-manager menu, rather
than a shell command in an xterm. Try launching it from an xterm as
you would from a console and it will probably come up in the xterm
(tty-based, no X support). If not, the problem is elsewhere.

The menu entry in your window manager probably points to "emacs" which
is, on most setups, a symlink to a text-based emacs executable, thus,
that can only work when launched from a tty, which is not the case when
the window-manager (fvwm I suppose) tries to run it. You have several solutions :

Straightforward :

- edit the window manager's setup file so that the "emacs" entry
points to the correct executable.

Less straightforward, but much more flexible :

- change "emacs" to a small script that checks for the existence of
the DISPLAY var and launch the correct executable (check that your
xinitrc exports one).

Easy-lazy :

- run the emacs executable with X support from an xterm.