<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践OK]FreeBsd: 安装 rz , sz 工具包lrzsz。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Thu, 05 Oct 2017 10:48:06 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	[实践OK]FreeBSD中安装pkg:<a href="https://jackxiang.com/post/10436/" target="_blank">https://jackxiang.com/post/10436/</a><br/>安装包安装方式：<br/>pkg install -y lrzsz <br/> <br/>Port安装方式：<br/>cd /usr/ports/comms/lrzsz<br/>make install clean<br/>备注：这种方式为编译安装，安装时同样需要联网下载。<br/><br/>lrzsz的操作上传下载的文件列表：<br/>/usr/local/bin/lrx<br/>/usr/local/bin/lrz<br/>/usr/local/bin/lsb<br/>/usr/local/bin/lrb<br/>/usr/local/bin/lsx<br/>/usr/local/bin/lsz<br/><br/><br/>第一步：软链接：<br/>ln -sf /usr/local/bin/lrz /usr/local/bin/rz<br/>ln -sf /usr/local/bin/lsz /usr/local/bin/sz<br/><br/><br/>第二步：<br/>vim ~/.bashrc<br/>在文件末尾添加：<br/>export PATH=$PATH:/usr/local/bin<br/>source ~/.bashrc<br/><br/>Linux可以，Freebsd上不行：<br/>cat &lt;&lt; EOF &gt;&gt; ~/.bashrc<br/>export PATH=$PATH:/usr/local/bin<br/>EOF<br/><br/><br/><br/><br/>Cause<br/><br/>This problem may be caused by improper handling of escape sequences embedded in the files being uploaded.<br/><br/>Resolution<br/><br/>Use the -e or --escape option on lrz, which escapes control characters (Z). For example, type, lrz -e. Some Zmodem clients expect escaping, while others do not.<br/>Notes<br/><br/>Note, some installations of lrzsz do not have the &quot;sz&quot; or &quot;rz&quot; commands, only &quot;lsz&quot; and &quot;lrz&quot;. You can edit your .login file and add lines like &quot;alias sz lsz&quot; and &quot;alias rz lrz -e&quot;. This way, when you type &quot;sz&quot; or &quot;rz&quot;, it will automatically execute the right program with the right options.<br/><br/>lrzsz is part of the FreeBSD ports collection. It contains a set of shell commands for sending and receiving files via the X/Y/ZMODEM protocols. Your SSH or Telnet client must support them for transfers to work.<br/><br/><br/><br/>From:http://francs3.blog.163.com/blog/static/405767272014658362237/<br/><br/><br/>二、pkg 安装方式<br/>1.1 pkg 安装 lrzsz<br/><br/>root@francs:~&nbsp;&nbsp;# pkg install lrzsz&nbsp;&nbsp;<br/>Updating repository catalogue&nbsp;&nbsp;<br/>The following 2 packages will be installed:&nbsp;&nbsp;<br/>&nbsp;&nbsp;<br/> Upgrading gettext:&nbsp;&nbsp;0.18.3.1&nbsp;&nbsp;-&gt;&nbsp;&nbsp;0.18.3.1_1&nbsp;&nbsp;<br/> Installing lrzsz:&nbsp;&nbsp;0.12.20_4&nbsp;&nbsp;<br/>&nbsp;&nbsp;<br/>The installation will require&nbsp;&nbsp;423 KB more space&nbsp;&nbsp;<br/>&nbsp;&nbsp;<br/>66 KB to be downloaded&nbsp;&nbsp;<br/>&nbsp;&nbsp;<br/>Proceed&nbsp;&nbsp;with installing packages [y/N]: y&nbsp;&nbsp;
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]FreeBsd: 安装 rz , sz 工具包lrzsz。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>