[comp.sys.sgi] emacs

visti@SAUNA.HUT.FI (Hannu Visti) (12/12/90)

I compiled and installed emacs-18.55 to a personal iris (irix 3.3.1).
Installation went normally, but this emacs cannot handle my .emacs-file,
it complains "error in init file" everytime I start it.
If I take .emacs to a buffer and eval it, it works normally.
My homedirectory is NFS-mounted, and the same .emacs works normally
with the same emacs-version in suns and sonys. 

The emacs in the iris rejects also other users' elisp files, not only mine,
and the problem has occurred in all SGI-machines I know.

any ideas?

/hv

laplante@ocgy.ubc.ca (Denis Laplante (guest)) (12/14/90)

In article <9012120820.AA01430@cs.hut.fi>, visti@SAUNA.HUT.FI (Hannu
Visti) writes:
> 
> I compiled and installed emacs-18.55 to a personal iris (irix 3.3.1).
> Installation went normally, but this emacs cannot handle my
.emacs-file,
> it complains "error in init file" everytime I start it.
> 

I fixed that problem by making sure that /etc/passwd on every machine
contained my name.  It would appear that the YP version of passwd is
not consulted when looking for ~/.emacs .  
I placed the redundant entries after the '+' entry, so that those
programs
making normal use of YP will get the YP version.

Most likely there is a better way to fix this at compile time.

dprmjc@inetg1.Arco.Com (M. J. Cole) (12/14/90)

In article <9012120820.AA01430@cs.hut.fi>, visti@SAUNA.HUT.FI (Hannu Visti) writes:
> 
> I compiled and installed emacs-18.55 to a personal iris (irix 3.3.1).
> ...
> it complains "error in init file" everytime I start it.
> 

Are you using Yellow Pages (YP)?  I encountered this problem when we installed YP.

Try relinking  with the library : -lsun.  See the (3Y) section of the man pages
for intro(3). 

If this doesn't work, create a "dummy" entry at the bottom of the password
file.  Like so...

root:XXXX:0:0:Super-User:/:/bin/csh
..
.. lots of entries
..
+::0:0::
dprmjc:XXXX:8888:42:M. J. Cole, PRC-D3234, 754-6857:/usr/people/dprmjc:/bin/csh




-- 
...............................................................................  
Mary J. Cole        ARCO Oil & Gas Company 
mjcole@arco.com     2300 W. Plano Parkway; PRC-D3239; 
(214)754-6857       Plano, TX 75075 
...............................................................................