delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/29/03:15:23

Date: Tue, 29 Aug 2000 10:13:55 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nimrod Abing <n_abing AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: CVS 1.10 (under DJGPP) quirks
In-Reply-To: <F32XRPmcarcR4ZDgC81000004df@hotmail.com>
Message-ID: <Pine.SUN.3.91.1000829100743.26101B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 29 Aug 2000, Nimrod Abing wrote:

> >Perhaps installing CVS somehow defined your (fake) username, and Emacs
> >was trying to find your home directory as ~user or something.  Try
> >evaluating (user-real-login-name) and (user-login-name), and see what
> >they print.
> 
> C-h v user-real-login-name returns ``dosuser''. How do I change this?

Set the value of the environment variable USER (``dosuser'' comes from 
djgpp.env).

What does (user-login-name) yield?  If it's not the same value as 
(user-real-login-name), you will be in trouble.

> Anyway, shouldn't Emacs be looking for $HOME/_emacs first?

In general, yes, but the algorithm is complex and makes sense on Unix 
only; problems such as different user names from different function calls 
can easily break it.  See startup.el for the gory details.

> I have dual-boot Red Hat Gnu/Linux and Windows 9x computer. I also have
> sources for Emacs 20 packaged as an RPM. Is it possible to build it
> with DJGPP?

Emacs builds with DJGPP out of the box.  Assuming that the RPMs contain 
the complete Emacs source distribution, you need these two commands to 
build Emacs with DJGPP (after unpacking the sources):

	config msdos
	make install

> Oops. I didn't say I had a problem with CVSEDITOR in the previous post
> now did I? But CVS was having a problem finding CVSEDITOR. I don't know
> why.

Perhaps a bug in CVS.  I always use EDITOR (since I want Emacs to be the 
default editor for all programs, not only for CVS).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019