From: Dave Pearson Newsgroups: comp.os.msdos.djgpp Subject: Re: emacs getting confused about location of ~/.emacs Date: Wed, 3 Jun 1998 05:22:21 GMT Organization: Hagbard's World (A Private Internet Host) Sender: usenet AT hagbard DOT demon DOT co DOT uk Message-ID: References: Reply-To: davep DOT news3 AT hagbard DOT demon DOT co DOT uk Lines: 44 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Tue, 2 Jun 1998 19:12:22 +0300 (IDT), Eli Zaretskii wrote: > > On Tue, 2 Jun 1998, Dave Pearson wrote: > > > (user-login-name) --> "DAVEP" > > (user-real-login-name) --> "davep" > > User names are case-sensitive, of course... Yup. > > Yup, this is the difference, and, the only difference is the > > case. However, and this is the interesting bit, LOGNAME, in > > AUTOEXEC.BAT, is set to "davep", not "DAVEP". For some reason that I > > can't yet fathom it is getting turned into an upper case value. Hmm, in > > fact, now that I've checked again it would appear that, for some reason, > > *everything* in my environment is being converted to uppercase. > > What shell do you use? The standard COMMAND.COM upcases the names of the > environment variables, but it leaves the values in their original > letter-case. Well, I found the cause. Because this new machine is a general "low budget, knocking about" machine I picked up a cheap sound card for it (Aztech SoundGalaxy Pro 16 III-3D PnP). This was the cause of the problem. It had placed an entry in the system registry that ran a utility called PNPCHK which appears to re-write AUTOEXEC.BAT (I say appears, I can't be certain what it is actually doing, I might take it apart and have a look later) on boot up. It doesn't change all the value to uppercase in AUTOEXEC.BAT on disk but it was causing them to be made upper case in the environment. After locating this and disabling it everything was back to normal. PnP, don't you just love it? ;-) BTW, I always use 4Dos as my shell. Thanks for all your help Eli. -- Take a look in Hagbard's World: | w3ng - The WWW Norton Guide reader. http://www.acemake.com/hagbard/ | ng2html - The NG to HTML converter. http://www.hagbard.demon.co.uk/ | eg - Norton Guide reader for Linux. Free software, including........| dgscan - DGROUP scanner for Clipper.