www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/18/08:35:59

Date: Tue, 18 May 1999 13:42:55 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <richdawe AT bigfoot DOT com>
cc: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: $HOSTNAME doesn't override library code
In-Reply-To: <373EF59A.C50A0C31@bigfoot.com>
Message-ID: <Pine.SUN.3.91.990518134237.24330Q-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 16 May 1999, Richard Dawe wrote:

> Unless a DNS server is used, the name defaults to the same as the LAN
> manager name. If a DNS server is used, then a name is provided in the
> networking control panel. This gets stored in the following registry key:
> 
> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP

If registry is all there is to it, then maybe the libc's version
should be upgraded to handle that, too.  IIRC the code required to
access the registry is quite small.

> BTW the user name gets stored in:
> 
> HKEY_LOCAL_MACHINE\Network\Logon

So if we add the registry code, the functions that return the user
name could also be upgraded.

Thanks for the info.

- Raw text -


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