From MickeyF@stac.com  Wed Aug 14 14:39:50 1996
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "Wed" "14" "August" "1996" "14:29:00" "PDT" "Mickey Ferguson" "MickeyF@stac.com" "<32124821@smtpgateway.stac.com>" "51" "Re: emacs 19.32 for win95 - window title wrong" "^From:" nil nil "8" nil nil nil nil]
	nil)
Received: from nic.cerf.net (nic.cerf.net [192.102.249.3]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id OAA02439 for <voelker@cs.washington.edu>; Wed, 14 Aug 1996 14:39:50 -0700
Received: from keymaster.stac.com (keymaster.stac.com [199.106.174.7]) by nic.cerf.net (8.7.5/8.6.9) with SMTP id OAA19275 for <voelker@cs.washington.edu>; Wed, 14 Aug 1996 14:39:47 -0700 (PDT)
Received: from smtpgateway.stac.com by keymaster.stac.com (5.x/SMI-SVR4) 	id AA03204; Wed, 14 Aug 1996 14:39:46 -0700
Received: by smtpgateway.stac.com with Microsoft Mail 	id <32124821@smtpgateway.stac.com>; Wed, 14 Aug 96 14:41:53 PDT
Message-Id: <32124821@smtpgateway.stac.com>
Encoding: 51 TEXT
X-Mailer: Microsoft Mail V3.0
From: Mickey Ferguson <MickeyF@stac.com>
To: voelker <voelker@cs.washington.edu>
Subject: Re: emacs 19.32 for win95 - window title wrong
Date: Wed, 14 Aug 96 14:29:00 PDT


>> Back in 19.31, the title bar for my emacs window said
>> emacs@machine.domain, e.g. emacs@mickey.stac.com.  Now it just says
>> emacs@MICKEYF_PENTIUM.  It apparently is looking in the windows registry
>> at the
>>
>>HKEY_LOCAL|MACHINE\System\CurrentControlSet\control\ComputerName\ComputerN  
ame
>>key instead.  Is this really what we want?

>By default now, Emacs doesn't load winsock until a network function is
>used (so that, on machines that are only intermittently connected to
>the network, running Emacs doesn't cause the dialup connection prompt
>to appear).  This means that Emacs can't figure out your FQDN on
>startup, and uses GetComputerName to name the title bar.

>You can workaround this by setting the configuration variable
>PRELOAD_WINSOCK, either in your environment or in the registry with
>the other Emacs keys (it doesn't matter what the value is).  Setting
>this variable causes Emacs to load winsock upon startup, and it can
>now determine what your FQDN is to name the title bar.

>The installing process is going to have to be amended to allow people
>to specify whether they are always connected to a network or not.

Can it check to see whether winsock is already loaded before trying to load 
it?  On a system which is already connected to a network, winsock should 
already be there.

Also, I seem to have the necessary information in my registry.  From my 
registry:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP]
"LMHostFile"="C:\\WIN95\\lmhosts"
"NodeType"="1"
"EnableDNS"="1"
"HostName"="mickey2"
"Domain"="stac.com"
"SearchList"=""
"NameServer"="199.106.174.6"
"Lanabase"="0"

Out of that, I could paste together HostName and Domain to come up with 
mickey2.stac.com, which is the proper name for my system.  Is this standard 
setup, or specific to my PC?

BTW, I know 19.32 just became available for win95 in precompiled format.  Do 
you know if 19.33 will be available for win95 soon?  (Boy, I also wish 
someone would also precompile it for dos, since I need both flavors 
available, and I'm still stuck at 19.30 for dos... but I know that's not 
your baby.)

