<?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>《Vim也是个播放器》的评论</title>
	<atom:link href="http://qixinglu.com/archives/vim_is_ascii_player/feed" rel="self" type="application/rss+xml" />
	<link>http://qixinglu.com/archives/vim_is_ascii_player?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vim_is_ascii_player</link>
	<description>潜心修炼，早日成仙。GNU/Linux、Ubuntu、Firefox、LiveCD、游戏MOD。</description>
	<lastBuildDate>Mon, 26 Jul 2010 06:57:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>老白</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-602</link>
		<dc:creator>老白</dc:creator>
		<pubDate>Tue, 16 Mar 2010 14:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-602</guid>
		<description>好玩。。。。。。。</description>
		<content:encoded><![CDATA[<p>好玩。。。。。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>muzuiget</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-552</link>
		<dc:creator>muzuiget</dc:creator>
		<pubDate>Mon, 01 Mar 2010 10:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-552</guid>
		<description>Nexuiz好久没玩了，新版也没装过。很久之前翻译过&lt;a href=&quot;/archives/nexuiz_console_command&quot; rel=&quot;nofollow&quot;&gt;一些控制台命令&lt;/a&gt;，里面有个“bot_nofire”命令不知道还管不管用。</description>
		<content:encoded><![CDATA[<p>Nexuiz好久没玩了，新版也没装过。很久之前翻译过<a href="/archives/nexuiz_console_command" rel="nofollow">一些控制台命令</a>，里面有个“bot_nofire”命令不知道还管不管用。</p>
]]></content:encoded>
	</item>
	<item>
		<title>jiazhoulvke</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-551</link>
		<dc:creator>jiazhoulvke</dc:creator>
		<pubDate>Mon, 01 Mar 2010 09:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-551</guid>
		<description>囧，我是用sudo apt-get install mplayer安装的啊。不管它了，反正影响不大，能看视频就行了。

貌似你对Nexuiz颇有研究哦？能不能教教俺怎么过2.5.2版的单人模式第12关？之前一直玩的是2.5.1版，那里面的12关很好过。前天刚下了2.5.2版，这次里面多了那把火枪，简直太变态了，被电脑烧得惨不忍睹，我又不会用那把枪，每次倒数1、2名。==&quot;

有什么作弊码之类的也行。XD</description>
		<content:encoded><![CDATA[<p>囧，我是用sudo apt-get install mplayer安装的啊。不管它了，反正影响不大，能看视频就行了。</p>
<p>貌似你对Nexuiz颇有研究哦？能不能教教俺怎么过2.5.2版的单人模式第12关？之前一直玩的是2.5.1版，那里面的12关很好过。前天刚下了2.5.2版，这次里面多了那把火枪，简直太变态了，被电脑烧得惨不忍睹，我又不会用那把枪，每次倒数1、2名。==&#8221;</p>
<p>有什么作弊码之类的也行。XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>muzuiget</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-546</link>
		<dc:creator>muzuiget</dc:creator>
		<pubDate>Sun, 28 Feb 2010 16:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-546</guid>
		<description>那看来你的mplayer并非通过包管理软件来安装的。

我下载试用了，很好很强大，果然自动完成，哈哈。当然不介意啦，GPL嘛，你的代码还值得我学习。</description>
		<content:encoded><![CDATA[<p>那看来你的mplayer并非通过包管理软件来安装的。</p>
<p>我下载试用了，很好很强大，果然自动完成，哈哈。当然不介意啦，GPL嘛，你的代码还值得我学习。</p>
]]></content:encoded>
	</item>
	<item>
		<title>jiazhoulvke</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-545</link>
		<dc:creator>jiazhoulvke</dc:creator>
		<pubDate>Sun, 28 Feb 2010 13:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-545</guid>
		<description>我用dpkg-query -S `which mplayer`的结果是：
dpkg：没有找到 /usr/local/bin/mplayer。

昨天另外想了个办法，终于解决了这个问题：
    normal G
    let n = line(&quot;.&quot;)/25
    while i &lt; n
        ...
    endwhile

将你的代码稍加修改，做成了个vim播放器，不知介意否？XD.
https://dl.dropbox.com/u/3007379/soft/vimplayer.7z</description>
		<content:encoded><![CDATA[<p>我用dpkg-query -S `which mplayer`的结果是：<br />
dpkg：没有找到 /usr/local/bin/mplayer。</p>
<p>昨天另外想了个办法，终于解决了这个问题：<br />
    normal G<br />
    let n = line(&#8220;.&#8221;)/25<br />
    while i &lt; n<br />
        &#8230;<br />
    endwhile</p>
<p>将你的代码稍加修改，做成了个vim播放器，不知介意否？XD.<br />
<a href="https://dl.dropbox.com/u/3007379/soft/vimplayer.7z" rel="nofollow">https://dl.dropbox.com/u/3007379/soft/vimplayer.7z</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>muzuiget</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-542</link>
		<dc:creator>muzuiget</dc:creator>
		<pubDate>Sat, 27 Feb 2010 14:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-542</guid>
		<description>我记得ubuntu默认把mplayer的核心分成一个“mplayer-nogui“包的，而smplayer作者的为“mplayer”，你验证一下
dpkg-query -S `which mplayer`
把输出结果里包删掉，然后重新安装“mplayer”这个包，如果下载地址是ppa的话就没错了。

那么不要读入vim里，把vim脚本也用shell script输出，比如
txtnum=$(ls *.txt &#124; wc -l)
echo &quot;while i &lt; $txtnum&quot;
或者直接修改vim脚本
sed -i &#039;s/3283/&#039;$txtnum&#039;/&#039; ascii_player.vim</description>
		<content:encoded><![CDATA[<p>我记得ubuntu默认把mplayer的核心分成一个“mplayer-nogui“包的，而smplayer作者的为“mplayer”，你验证一下<br />
dpkg-query -S `which mplayer`<br />
把输出结果里包删掉，然后重新安装“mplayer”这个包，如果下载地址是ppa的话就没错了。</p>
<p>那么不要读入vim里，把vim脚本也用shell script输出，比如<br />
txtnum=$(ls *.txt | wc -l)<br />
echo &#8220;while i < $txtnum&#8221;<br />
或者直接修改vim脚本<br />
sed -i &#8216;s/3283/&#8217;$txtnum&#8217;/&#8217; ascii_player.vim</p>
]]></content:encoded>
	</item>
	<item>
		<title>jiazhoulvke</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-541</link>
		<dc:creator>jiazhoulvke</dc:creator>
		<pubDate>Sat, 27 Feb 2010 14:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-541</guid>
		<description>我在更新完源后就已经马上升级了，还是那样，囧。

我尝试着写一个shell脚本来完全自动化完成这一系列工作：生成图片，转换格式，生成txt，再调用vim播放。但在写vim脚本时遇到问题。你在vim脚本里用的是：
while i &lt; 3283
它是专门针对badapple这个视频而言的，对于其它长度的视频来说不适用。我可以通过shell得到txt文件的总数：ls -l ~/*.txt &#124; grep &quot;^-&quot; &#124; wc -l。但不知如何把它读入vim的变量里面。查过vim的帮助文档，也google过，找不到解决方法，唯一接近的答案是r!,但用r!只能将结果读入文本中，而不是vim变量。</description>
		<content:encoded><![CDATA[<p>我在更新完源后就已经马上升级了，还是那样，囧。</p>
<p>我尝试着写一个shell脚本来完全自动化完成这一系列工作：生成图片，转换格式，生成txt，再调用vim播放。但在写vim脚本时遇到问题。你在vim脚本里用的是：<br />
while i &lt; 3283<br />
它是专门针对badapple这个视频而言的，对于其它长度的视频来说不适用。我可以通过shell得到txt文件的总数：ls -l ~/*.txt | grep &quot;^-&quot; | wc -l。但不知如何把它读入vim的变量里面。查过vim的帮助文档，也google过，找不到解决方法，唯一接近的答案是r!,但用r!只能将结果读入文本中，而不是vim变量。</p>
]]></content:encoded>
	</item>
	<item>
		<title>muzuiget</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-538</link>
		<dc:creator>muzuiget</dc:creator>
		<pubDate>Fri, 26 Feb 2010 15:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-538</guid>
		<description>确定升级了mplayer？我用的版本为
MPlayer SVN-r29643-Ubuntu-RVM (C) 2000-2009 MPlayer Team

我囧，原来有人比我先做了，方法居然也差不多。其实这个命令用法我也发现了，它输出了一个空白页和两个ascii页，很郁闷，所以得处理一下，提取出其中一页，结果我先去改源代码了，改不成才写脚本，结果改成功了。

他那里用的管道配合head和tail来搞定，确实简单多了，我还以为得很复杂，不过我刚才又想到用 
sed -n &#039;25,49p&#039;
来截取25-49行

我迟点在重新验证一下更新文章，谢谢你的回复。</description>
		<content:encoded><![CDATA[<p>确定升级了mplayer？我用的版本为<br />
MPlayer SVN-r29643-Ubuntu-RVM (C) 2000-2009 MPlayer Team</p>
<p>我囧，原来有人比我先做了，方法居然也差不多。其实这个命令用法我也发现了，它输出了一个空白页和两个ascii页，很郁闷，所以得处理一下，提取出其中一页，结果我先去改源代码了，改不成才写脚本，结果改成功了。</p>
<p>他那里用的管道配合head和tail来搞定，确实简单多了，我还以为得很复杂，不过我刚才又想到用<br />
sed -n &#8217;25,49p&#8217;<br />
来截取25-49行</p>
<p>我迟点在重新验证一下更新文章，谢谢你的回复。</p>
]]></content:encoded>
	</item>
	<item>
		<title>jiazhoulvke</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-537</link>
		<dc:creator>jiazhoulvke</dc:creator>
		<pubDate>Fri, 26 Feb 2010 14:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-537</guid>
		<description>添加了那个源，但还是没有aa和caca驱动，看来是RP问题了……

其实aview是可以直接输出到txt的,比如：
echo q&#124;aview -driver stdout -kbddriver stdin test.pgm

这个帖子里面有介绍 http://goo.gl/lGqq</description>
		<content:encoded><![CDATA[<p>添加了那个源，但还是没有aa和caca驱动，看来是RP问题了……</p>
<p>其实aview是可以直接输出到txt的,比如：<br />
echo q|aview -driver stdout -kbddriver stdin test.pgm</p>
<p>这个帖子里面有介绍 <a href="http://goo.gl/lGqq" rel="nofollow">http://goo.gl/lGqq</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>muzuiget</title>
		<link>http://qixinglu.com/archives/vim_is_ascii_player#comment-536</link>
		<dc:creator>muzuiget</dc:creator>
		<pubDate>Fri, 26 Feb 2010 13:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://qixinglu.com/?p=2075#comment-536</guid>
		<description>我看了下，抱歉，不是medibuntu源，是smplayer作者的源，文章已更新。源码中aa视频驱动默认禁用的，具体参数名字忘了，大概是“--enable-aa-driver”，用“./configure --help”查看吧。</description>
		<content:encoded><![CDATA[<p>我看了下，抱歉，不是medibuntu源，是smplayer作者的源，文章已更新。源码中aa视频驱动默认禁用的，具体参数名字忘了，大概是“&#8211;enable-aa-driver”，用“./configure &#8211;help”查看吧。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
