<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Smart -Web Magazine</title>
	<atom:link href="http://rfs.jp/feed" rel="self" type="application/rss+xml" />
	<link>http://rfs.jp</link>
	<description>WEB開発者に嬉しいステキ講座</description>
	<lastBuildDate>Thu, 17 May 2012 08:15:36 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>.bashrcの編集</title>
		<link>http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/bashrc_edit.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bashrc_edit</link>
		<comments>http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/bashrc_edit.html#comments</comments>
		<pubDate>Mon, 07 May 2012 13:10:19 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[コマンドライン]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2501</guid>
		<description><![CDATA[文字化けしていたので、.bashrcでEUC-JPの設定をしました。 vi .bachrc まずはviの文字コードを設定するために、下記のようにしてEUC-JPに設定しました。 :set encoding=euc-jp  &#8230; <a href="http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/bashrc_edit.html">+1 Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>文字化けしていたので、.bashrcでEUC-JPの設定をしました。</p>

<pre class="box-shell">
vi .bachrc
</pre>

<p>まずはviの文字コードを設定するために、下記のようにしてEUC-JPに設定しました。</p>

<pre class="box-shell">
:set encoding=euc-jp
</pre>

<p>現在の設定を確認するには以下のようにします。</p>

<pre class="box-shell">
:set enc?
</pre>

<p>次に、.bachrc に下記の行を追加しました。</p>

<pre class="box-shell">
export LANG="ja_JP.EUC-JP"
</pre>

<p>viを終了させ、先ほどの設定を即時に反映したいので下記のコマンドを実行します。</p>

<pre class="box-shell">
source ~/.bashrc
</pre>

<p>これでコマンドプロンプトの文字化けは解消しました。</p>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/bashrc_edit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bonobo - Eyesdown</title>
		<link>http://rfs.jp/blog/music/bonobo-eyesdown.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bonobo-eyesdown</link>
		<comments>http://rfs.jp/blog/music/bonobo-eyesdown.html#comments</comments>
		<pubDate>Sat, 05 May 2012 21:43:03 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2497</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="360" src="http://www.youtube.com/embed/6qmVNB4nalk" frameborder="0" allowfullscreen></iframe>
</div>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/bonobo-eyesdown.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TOKiMONSTA - Darkest feat. Gavin Turek</title>
		<link>http://rfs.jp/blog/music/tokimonsta-darkest-feat-gavin-turek.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tokimonsta-darkest-feat-gavin-turek</link>
		<comments>http://rfs.jp/blog/music/tokimonsta-darkest-feat-gavin-turek.html#comments</comments>
		<pubDate>Sat, 05 May 2012 21:41:25 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2495</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="360" src="http://www.youtube.com/embed/bKGTy5jHa60" frameborder="0" allowfullscreen></iframe>
</div>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/tokimonsta-darkest-feat-gavin-turek.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Mars Volta - The Widow</title>
		<link>http://rfs.jp/blog/music/the-mars-volta-the-widow.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-mars-volta-the-widow</link>
		<comments>http://rfs.jp/blog/music/the-mars-volta-the-widow.html#comments</comments>
		<pubDate>Fri, 04 May 2012 14:02:39 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2490</guid>
		<description><![CDATA[Cut ChemistのPVにマーズ・ヴォルタのディーントニ・パークスが参加していました。]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="360" src="http://www.youtube.com/embed/VUBQLnEGHNk" frameborder="0" allowfullscreen></iframe>
</div>
<p>
Cut ChemistのPVにマーズ・ヴォルタのディーントニ・パークスが参加していました。
</p>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/the-mars-volta-the-widow.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quakers - Smoke feat. Jonwayne</title>
		<link>http://rfs.jp/blog/music/quakers-smoke-feat-jonwayne.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quakers-smoke-feat-jonwayne</link>
		<comments>http://rfs.jp/blog/music/quakers-smoke-feat-jonwayne.html#comments</comments>
		<pubDate>Fri, 04 May 2012 13:51:17 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2488</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="480" src="http://www.youtube.com/embed/d3EhoaHo-sM" frameborder="0" allowfullscreen></iframe>
</div>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/quakers-smoke-feat-jonwayne.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nas - The Don</title>
		<link>http://rfs.jp/blog/music/nas-the-don.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nas-the-don</link>
		<comments>http://rfs.jp/blog/music/nas-the-don.html#comments</comments>
		<pubDate>Sun, 29 Apr 2012 15:56:37 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2486</guid>
		<description><![CDATA[セレブ的な格好が似合わないのはご愛嬌で、No I.D.プロデュースの新作アルバムが気になります。]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="360" src="http://www.youtube.com/embed/E3wIJ774gJs" frameborder="0" allowfullscreen></iframe>
</div>
<p>セレブ的な格好が似合わないのはご愛嬌で、No I.D.プロデュースの新作アルバムが気になります。</p>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/nas-the-don.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Bamboos - The Wilhelm Scream</title>
		<link>http://rfs.jp/blog/music/the-bamboos-the-wilhelm-scream.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-bamboos-the-wilhelm-scream</link>
		<comments>http://rfs.jp/blog/music/the-bamboos-the-wilhelm-scream.html#comments</comments>
		<pubDate>Sun, 29 Apr 2012 12:24:04 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2484</guid>
		<description><![CDATA[Bamboosがジェームス・ブレイクの「The Wilhelm Scream」をカバー。フォーリン〜の箇所がなければ原曲がわからないぐらいファンクに染め上げています。出だしが特にかっこいいですね。]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="360" src="http://www.youtube.com/embed/-4CTVtpgoIw" frameborder="0" allowfullscreen></iframe>
</div>
<p>Bamboosがジェームス・ブレイクの「The Wilhelm Scream」をカバー。フォーリン〜の箇所がなければ原曲がわからないぐらいファンクに染め上げています。出だしが特にかっこいいですね。</p>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/the-bamboos-the-wilhelm-scream.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squarepusher - &#039;Dark Steering&#039;</title>
		<link>http://rfs.jp/blog/music/squarepusher-dark-steering.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=squarepusher-dark-steering</link>
		<comments>http://rfs.jp/blog/music/squarepusher-dark-steering.html#comments</comments>
		<pubDate>Sun, 22 Apr 2012 11:51:24 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2479</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="360" src="http://www.youtube.com/embed/XvLAKrVbCBM" frameborder="0" allowfullscreen></iframe>
</div>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/squarepusher-dark-steering.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swallowtail Butterfly ～あいのうた～</title>
		<link>http://rfs.jp/blog/music/swallowtail-butterfly-%ef%bd%9e%e3%81%82%e3%81%84%e3%81%ae%e3%81%86%e3%81%9f%ef%bd%9e.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=swallowtail-butterfly-%25ef%25bd%259e%25e3%2581%2582%25e3%2581%2584%25e3%2581%25ae%25e3%2581%2586%25e3%2581%259f%25ef%25bd%259e</link>
		<comments>http://rfs.jp/blog/music/swallowtail-butterfly-%ef%bd%9e%e3%81%82%e3%81%84%e3%81%ae%e3%81%86%e3%81%9f%ef%bd%9e.html#comments</comments>
		<pubDate>Thu, 05 Apr 2012 16:56:11 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[MUSIC BLOG]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2476</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="box-movie">
<iframe width="640" height="480" src="http://www.youtube.com/embed/zL9GzM7dQi4" frameborder="0" allowfullscreen></iframe>
</div>

<div class="box-movie">
<iframe width="640" height="480" src="http://www.youtube.com/embed/gUc_N_pUXKs" frameborder="0" allowfullscreen></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/blog/music/swallowtail-butterfly-%ef%bd%9e%e3%81%82%e3%81%84%e3%81%ae%e3%81%86%e3%81%9f%ef%bd%9e.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screenコマンド</title>
		<link>http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/screen%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=screen%25e3%2582%25b3%25e3%2583%259e%25e3%2583%25b3%25e3%2583%2589</link>
		<comments>http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/screen%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89.html#comments</comments>
		<pubDate>Sun, 01 Apr 2012 17:14:49 +0000</pubDate>
		<dc:creator>リズムファクトリー</dc:creator>
				<category><![CDATA[コマンドライン]]></category>

		<guid isPermaLink="false">http://rfs.jp/?p=2470</guid>
		<description><![CDATA[1つのターミナルウインドウで複数のスクリーンを開き、スクリーンを切り替えるscreenコマンドを紹介します。 ターミナルでscreenコマンドを実行すると、新しいスクリーンが表示されます。 screen SCREENが実 &#8230; <a href="http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/screen%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89.html">+1 Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
1つのターミナルウインドウで複数のスクリーンを開き、スクリーンを切り替えるscreenコマンドを紹介します。
</p>

<p>
ターミナルでscreenコマンドを実行すると、新しいスクリーンが表示されます。
</p>

<pre class="box-shell">
screen
</pre>

<p>
SCREENが実行されたので、そのスクリーンでtopコマンドを実行してみます。
</p>

<pre class="box-shell">
top
</pre>

<p>
スクリーンの切り替えを試すために、新しいスクリーンを立ち上げます。[control]+[a]+[c]で新しいスクリーンを作成します。その新しいスクリーンでhostsを開いてみます。
</p>

<pre class="box-shell">
vi /etc/hosts
</pre>

<p>
これで2つのスクリーンでtop、vi /etc/hostsを実行していることになります。<br />
ウインドウの切り替えは次のスクリーンを表示で[control]+[a]+[n]、前のスクリーンを表示で[control]+[a]+[p]です。次の次のスクリーンを表示したい場合は次のスクリーンを表示する[control]+[a]+[n]を2回押せば表示されます。<br />
そのほか、[control]+[a]+[1]のようにスクリーン番号を指定する方法があります。
</p>

<p>
ウィンドウを閉じるには、exitコマンドを実行します。
</p>

<pre class="box-shell">
exit
</pre>

<p>
開いているウィンドウの数を知りたい場合は、[control]+[a]+[w]とすると画面の最下行に下記のようなスクリーンの一覧が表示されます。先頭の数字はスクリーン番号です。数字と$の間の記号は、*がアクティブなウィンドウ、-が直前にアクティブだったウィンドウです。最後のbashはスクリーンのタイトルです。
</p>

<pre class="box-shell">
0*$ bash  1$ Bash  2-$bash
</pre>

<table>
<tr>
<td>キー割り当て</td><td>意味</td>
</tr>
<tr>
<td>[control]+[a]+[n]</td><td>次のウィンドウに切り替える</td>
</tr>
<tr>
<td>[control]+[a]+[p]</td><td>前のウィンドウに切り替える</td>
</tr>
<tr>
<td>[control]+[a]+[数字]</td><td>指定した数字のウィンドウに切り替える</td>
</tr>
<tr>
<td>[control]+[a]+[c]</td><td>新しいウィンドウを作成してbashを起動する</td>
</tr>
<tr>
<td>[control]+[a]+[w]</td><td>開いているウィンドウの一覧を表示する</td>
</tr>
<tr>
<td>[control]+[a]+[A]</td><td>ウィンドウのタイトルを変更する</td>
</tr>
<tr>
<td>[control]+[a]+[?]</td><td>ヘルプを表示する</td>
</tr>
<tr>
<td>[control]+[a]+[control]+[a]</td><td>直前にアクティブだったウィンドウに切り替える</td>
</tr>
<tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://rfs.jp/server/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3/screen%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

