<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>offTheHill &#187; terminal</title>
	<atom:link href="http://www.offthehill.org/articles/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.offthehill.org</link>
	<description>tech, motorsports, and the occasional artwork</description>
	<lastBuildDate>Wed, 05 May 2010 23:39:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>2006-2007 </copyright>
		<managingEditor>josh@offthehill.org (offTheHill)</managingEditor>
		<webMaster>josh@offthehill.org (offTheHill)</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Babbling my way across the Internet</itunes:summary>
		<itunes:author>offTheHill</itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name>offTheHill</itunes:name>
			<itunes:email>josh@offthehill.org</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.offthehill.org/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.offthehill.org/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>offTheHill</title>
			<link>http://www.offthehill.org</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Fixing Delete and Backspace in OS X Terminal</title>
		<link>http://www.offthehill.org/articles/2008/09/25/fixing-delete-and-backspace-in-os-x-terminal/</link>
		<comments>http://www.offthehill.org/articles/2008/09/25/fixing-delete-and-backspace-in-os-x-terminal/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 16:24:28 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[backspace]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.offthehill.org/?p=84</guid>
		<description><![CDATA[	I&#8217;m constantly having trouble with getting the backspace and delete keys to work properly in OS X. Whenever it works right on the Mac, one or the other key is broken when I Â SSH to a Linux or FreeBSD box.

	After some searching, I&#8217;ve found this solution, which seems to be working:

	First, got to the Terminal [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;m constantly having trouble with getting the backspace and delete keys to work properly in OS X. Whenever it works right on the Mac, one or the other key is broken when I Â <span class="caps">SSH</span> to a Linux or FreeBSD box.</p>

	<p>After some searching, I&#8217;ve found this solution, which seems to be working:<br />
<ol>
	<li>First, got to the Terminal menu, and choose <em>Preferences&#8230;</em>Â Under the <em>Settings</em>Â section, choose the <em>Advanced</em>Â tab. Make sure <em>Delete sends Ctrl-H</em>Â is <strong>checked</strong>.</li>
	<li>Then, in the same window, go to the <em>Keyboard</em> tab (right next to <em>Advanced</em>). Find the line for <em>forward delete</em>, and set it to this value:<br />
<code>\033[3~</code></li>
	<li>Lastly, you need to run the following line at the terminal. The trick with the line below though is that you need to type the ^H byÂ pressing Control-V and then Control-H. You <strong>can not</strong>Â just cut and paste the line below, you need to type it:<br />
<code>echo -e &#34;stty erase Ë†H&#34; &#62;&#62; ~/.bash_profile</code></li><br />
</ol><br />
Now you can restart Terminal, and your backspace and delete should work correctly everywhere!</p>

	<p>For further reading on this topic check out these two links:<br />
<ul>
	<li><a href="http://www.tldp.org/HOWTO/BackspaceDelete/">Linux Backspace/Delete mini-HOWTO</a></li>
	<li><a href="http://www.ibb.net/~anne/keyboard/">Consistent BackSpace and Delete Configuration</a></li><br />
</ul></p>

	<p>This problem, and various solutions are documented all over the net, but I found and used <a href="http://fredericiana.com/2006/10/16/fixing-backspace-and-delete-for-ssh-in-os-xs-terminalapp/">this</a> page most recently.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2008/09/25/fixing-delete-and-backspace-in-os-x-terminal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Are your arrows keys not working in less and vi?</title>
		<link>http://www.offthehill.org/articles/2007/11/05/are-your-arrows-keys-not-working-in-less-and-vi/</link>
		<comments>http://www.offthehill.org/articles/2007/11/05/are-your-arrows-keys-not-working-in-less-and-vi/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 23:58:40 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[iterm]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.offthehill.org/articles/2007/11/05/are-your-arrows-keys-not-working-in-less-and-vi/</guid>
		<description><![CDATA[	I&#8217;ve had this problem sporadically with iTerm on my Mac, and I seem to remember this happening recently on my Linux machines as well. If you have this problem, try this:

	$ export TERM=linux

	If this works, on a Mac you can set it in your .profile:


if [ &#34;${TERM_PROGRAM}&#34; == &#34;iTerm.app&#34; ]
then
export TERM=linux
fi


	On Linux, you can do [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;ve had this problem sporadically with iTerm on my Mac, and I seem to remember this happening recently on my Linux machines as well. If you have this problem, try this:</p>

	<p><code>$ export TERM=linux</code></p>

	<p>If this works, on a Mac you can set it in your .profile:</p>

<pre>
if [ &#34;${TERM_PROGRAM}&#34; == &#34;iTerm.app&#34; ]
then
export TERM=linux
fi
</pre>

	<p>On Linux, you can do the same, but leave out the if and just do the export line.</p>]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2007/11/05/are-your-arrows-keys-not-working-in-less-and-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Slow Login and Terminal Startup</title>
		<link>http://www.offthehill.org/articles/2006/10/19/os-x-slow-login-and-terminal-startup/</link>
		<comments>http://www.offthehill.org/articles/2006/10/19/os-x-slow-login-and-terminal-startup/#comments</comments>
		<pubDate>Thu, 19 Oct 2006 08:14:11 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iterm]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">1832217994</guid>
		<description><![CDATA[ A while back my Mac starting taking really long to wake from sleep. I&#8217;d get a spinning beachball (SBOD) for 30 seconds before the login screen would appear, and it would take a while for my password to authenticate.

	I also noticed that when I started Terminal or iTerm, it took forever. First it took [...]]]></description>
			<content:encoded><![CDATA[ A while back my Mac starting taking really long to wake from sleep. I&#8217;d get a spinning beachball (<span class="caps">SBOD</span>) for 30 seconds before the login screen would appear, and it would take a while for my password to authenticate.

	<p>I also noticed that when I started Terminal or iTerm, it took forever. First it took forever for the window to even appear, and then when it did the &#8220;last login&#8221; line would appear, pause, and then about 30 seconds or more later, the prompt would finally appear and you could use the terminal normally.</p>

	<p>I searched the web all over for help on this and did a few maintenance things, but nothing helped. One person online found the solution to their problem by running &#8216;top&#8217; and watching the login process, but nothing out of the ordinary was happening on my machine.</p>

	<p>Then it dawned on me: The exact same thing happens on my Linux machines when the <span class="caps">LDAP</span> settings aren&#8217;t working correctly, because the <span class="caps">LDAP</span> timeout defaults to around 30 seconds.</p>

	<p>So I started Directory Access, and sure enough, there was an <span class="caps">LDAP</span> server listed under the Authentication tab. I had recently added the same server for the Contacts tab, but I didn&#8217;t expect or want to use it for authentication.</p>

	<p>Removing the <span class="caps">LDAP</span> server cleared up my slow logins and terminal starts, so make sure you check Directory Access if you are having a similar problem.</p>]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2006/10/19/os-x-slow-login-and-terminal-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
