<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: about distel</title>
	<atom:link href="http://erlang-china.org/study/about-distel.html/feed" rel="self" type="application/rss+xml" />
	<link>http://erlang-china.org/study/about-distel.html</link>
	<description>erlang 中文社区</description>
	<lastBuildDate>Tue, 03 Jan 2012 15:49:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: bryant.yan</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-15263</link>
		<dc:creator>bryant.yan</dc:creator>
		<pubDate>Fri, 25 Dec 2009 09:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-15263</guid>
		<description>环境
emacs=23.0.0.1
os = xp sp3
.emacs 配置抄用 http://bc.tech.coop/blog/070528.html
-----------------------------
实际状况
emacs：
error “Can’t handle event closed in state derl-recv-challenge-ack
emacs erlang: 
Connection attempt from disallowed node ‘distel_3844@LIWOOOOD-3FD36A’ ** 

问题:
通常两种问题 1. cookie 不匹配 2. node name 不匹配

排查问题:
首先排查第一个问题:
查看在emacs 中和erlang中是否调用同一个cookie配置文件. 默认情况下是检查
home 目录下的 .erlang.cookie.   
1. elrang 中通过 init:get_argument(home). 找到位置 &quot;c:/Document .../Admini..&quot;，
2  emacs 中cookie 可通过变量 derl-cookie 查看. 结果:
Its value is nil
但有这么一句
When NIL, we read ~/.erlang.cookie.

mmd 我想知道问题了,
C:\&gt;env &#124; grep HOME
HOME=d:\emacs
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator

问题总结:
在windows下 emacs 调用的home目录是  HOME. 而在erlang所依赖的home 目录是HOMEPATH. 两个调用的 .erlang.cookie 位置不一样

解决：
1.  cp &quot;c:/Documents and .../Administ../.erlang.cookie&quot; d:/emacs
2.  在erlang 端 -setcookie cookie , 
    在emacs中(setq derl-cookie &quot;cookie&quot;)

参考：
http://osdir.com/ml/lang.erlang.distel.devel/2003-02/msg00001.html</description>
		<content:encoded><![CDATA[<p>环境<br />
emacs=23.0.0.1<br />
os = xp sp3<br />
.emacs 配置抄用 <a href="http://bc.tech.coop/blog/070528.html" rel="nofollow">http://bc.tech.coop/blog/070528.html</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
实际状况<br />
emacs：<br />
error “Can’t handle event closed in state derl-recv-challenge-ack<br />
emacs erlang:<br />
Connection attempt from disallowed node ‘distel_3844@LIWOOOOD-3FD36A’ ** </p>
<p>问题:<br />
通常两种问题 1. cookie 不匹配 2. node name 不匹配</p>
<p>排查问题:<br />
首先排查第一个问题:<br />
查看在emacs 中和erlang中是否调用同一个cookie配置文件. 默认情况下是检查<br />
home 目录下的 .erlang.cookie.<br />
1. elrang 中通过 init:get_argument(home). 找到位置 &#8220;c:/Document &#8230;/Admini..&#8221;，<br />
2  emacs 中cookie 可通过变量 derl-cookie 查看. 结果:<br />
Its value is nil<br />
但有这么一句<br />
When NIL, we read ~/.erlang.cookie.</p>
<p>mmd 我想知道问题了,<br />
C:\&gt;env | grep HOME<br />
HOME=d:\emacs<br />
HOMEDRIVE=C:<br />
HOMEPATH=\Documents and Settings\Administrator</p>
<p>问题总结:<br />
在windows下 emacs 调用的home目录是  HOME. 而在erlang所依赖的home 目录是HOMEPATH. 两个调用的 .erlang.cookie 位置不一样</p>
<p>解决：<br />
1.  cp &#8220;c:/Documents and &#8230;/Administ../.erlang.cookie&#8221; d:/emacs<br />
2.  在erlang 端 -setcookie cookie ,<br />
    在emacs中(setq derl-cookie &#8220;cookie&#8221;)</p>
<p>参考：<br />
<a href="http://osdir.com/ml/lang.erlang.distel.devel/2003-02/msg00001.html" rel="nofollow">http://osdir.com/ml/lang.erlang.distel.devel/2003-02/msg00001.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liwooood</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-9816</link>
		<dc:creator>liwooood</dc:creator>
		<pubDate>Mon, 29 Dec 2008 10:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-9816</guid>
		<description>呵呵，打错了，应该是distel是从http://groups.google.com/group/erlang-china/browse_thread/thread/303e1291b86a0071下载的</description>
		<content:encoded><![CDATA[<p>呵呵，打错了，应该是distel是从http://groups.google.com/group/erlang-china/browse_thread/thread/303e1291b86a0071下载的</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liwooood</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-9815</link>
		<dc:creator>liwooood</dc:creator>
		<pubDate>Mon, 29 Dec 2008 10:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-9815</guid>
		<description>我是在xp sp3下的，emacs= 23.0.60.1 (i386-mingw-nt5.1.2600)，distel http://groups.google.com/group/erlang-china/browse_thread/thread/303e1291b86a0071 这个。每次在菜单里运行：list all erlang processes  总是返回： (error &quot;Can&#039;t handle event closed in state derl-recv-challenge-ack&quot;)，在emacs 的erlang的界面上就看到： Connection attempt from disallowed node &#039;distel_3844@LIWOOOOD-3FD36A&#039; ** ，很奇怪的是distel后边每次都会自动加上了不同的数字。

我的配置是参照  http://erlang-china.org/study/about-distel.html，</description>
		<content:encoded><![CDATA[<p>我是在xp sp3下的，emacs= 23.0.60.1 (i386-mingw-nt5.1.2600)，distel <a href="http://groups.google.com/group/erlang-china/browse_thread/thread/303e1291b86a0071" rel="nofollow">http://groups.google.com/group/erlang-china/browse_thread/thread/303e1291b86a0071</a> 这个。每次在菜单里运行：list all erlang processes  总是返回： (error &#8220;Can&#8217;t handle event closed in state derl-recv-challenge-ack&#8221;)，在emacs 的erlang的界面上就看到： Connection attempt from disallowed node &#8216;distel_3844@LIWOOOOD-3FD36A&#8217; ** ，很奇怪的是distel后边每次都会自动加上了不同的数字。</p>
<p>我的配置是参照  <a href="http://erlang-china.org/study/about-distel.html，" rel="nofollow">http://erlang-china.org/study/about-distel.html，</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackyz</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-675</link>
		<dc:creator>jackyz</dc:creator>
		<pubDate>Fri, 21 Sep 2007 07:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-675</guid>
		<description>krzycube 的这个 el ，和 http://bc.tech.coop/blog/070528.html 的相比，主要的区别在与：直接启动了 erlang 的 shell 省去了自己去手工启动和连接 erlang node 的麻烦，省事不少。</description>
		<content:encoded><![CDATA[<p>krzycube 的这个 el ，和 <a href="http://bc.tech.coop/blog/070528.html" rel="nofollow">http://bc.tech.coop/blog/070528.html</a> 的相比，主要的区别在与：直接启动了 erlang 的 shell 省去了自己去手工启动和连接 erlang node 的麻烦，省事不少。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackyz</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-674</link>
		<dc:creator>jackyz</dc:creator>
		<pubDate>Fri, 21 Sep 2007 07:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-674</guid>
		<description>@krzycube
嗯，按照你这个，配置 distel 成功了。严重感谢。</description>
		<content:encoded><![CDATA[<p>@krzycube<br />
嗯，按照你这个，配置 distel 成功了。严重感谢。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackyz</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-673</link>
		<dc:creator>jackyz</dc:creator>
		<pubDate>Fri, 21 Sep 2007 07:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-673</guid>
		<description>@krzycube 用的是 wordpress 换个 theme？当前这个破效果，改了不少东西，考虑-ing。</description>
		<content:encoded><![CDATA[<p>@krzycube 用的是 wordpress 换个 theme？当前这个破效果，改了不少东西，考虑-ing。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krzycube</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-672</link>
		<dc:creator>krzycube</dc:creator>
		<pubDate>Fri, 21 Sep 2007 06:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-672</guid>
		<description>能不能把内容面板搞宽点, 现在这样忒窄了,义行看不了几个字.即便考虑通用性,现在用640*480显示器的人应该很罕见了吧.</description>
		<content:encoded><![CDATA[<p>能不能把内容面板搞宽点, 现在这样忒窄了,义行看不了几个字.即便考虑通用性,现在用640*480显示器的人应该很罕见了吧.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackyz</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-671</link>
		<dc:creator>jackyz</dc:creator>
		<pubDate>Fri, 21 Sep 2007 04:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-671</guid>
		<description>呵呵，给你改了 coolcode 又给你改回去了。两次！晕死！
现在来改第三次。
修改方法见： http://erlang-china.org/help</description>
		<content:encoded><![CDATA[<p>呵呵，给你改了 coolcode 又给你改回去了。两次！晕死！<br />
现在来改第三次。<br />
修改方法见： <a href="http://erlang-china.org/help" rel="nofollow">http://erlang-china.org/help</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simohayha</title>
		<link>http://erlang-china.org/study/about-distel.html/comment-page-1#comment-669</link>
		<dc:creator>simohayha</dc:creator>
		<pubDate>Fri, 21 Sep 2007 03:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/misc/about-distel.html#comment-669</guid>
		<description>我是按照这个里面的配置的
http://bc.tech.coop/blog/070528.html

没有什么问题呀, 我的是ubuntu 7.04 +emacs 22.</description>
		<content:encoded><![CDATA[<p>我是按照这个里面的配置的<br />
<a href="http://bc.tech.coop/blog/070528.html" rel="nofollow">http://bc.tech.coop/blog/070528.html</a></p>
<p>没有什么问题呀, 我的是ubuntu 7.04 +emacs 22.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

