Date: Tue, 18 May 1999 13:42:55 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Richard Dawe cc: DJGPP workers Subject: Re: $HOSTNAME doesn't override library code In-Reply-To: <373EF59A.C50A0C31@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.