<?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: A Reason to Use iTerm for Mac Os X.</title>
	<atom:link href="http://globalconfig.net/2009/01/12/a-reason-to-use-iterm-for-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://globalconfig.net/mactips/a-reason-to-use-iterm-for-mac-os-x/</link>
	<description>Studying for Network Certifications</description>
	<lastBuildDate>Thu, 01 Dec 2011 17:41:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Brandon</title>
		<link>http://globalconfig.net/mactips/a-reason-to-use-iterm-for-mac-os-x/#comment-235</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Fri, 24 Apr 2009 01:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.globalconfig.net/?p=667#comment-235</guid>
		<description>&lt;p&gt;Mike- I dont know how I missed this comment but wanted to say:  Great Job!&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Brandon&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mike- I dont know how I missed this comment but wanted to say:  Great Job!</p>

<p>Regards,</p>

<p>Brandon</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MBR</title>
		<link>http://globalconfig.net/mactips/a-reason-to-use-iterm-for-mac-os-x/#comment-234</link>
		<dc:creator>MBR</dc:creator>
		<pubDate>Sat, 24 Jan 2009 11:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.globalconfig.net/?p=667#comment-234</guid>
		<description>&lt;p&gt;Great idea, Brandon!  Thanks for posting it.&lt;/p&gt;

&lt;p&gt;I expanded on your original script, to add an optional command line
arg for the device identifier (r1, sw1, etc), and to read files for
the values that change with each rack rental.  The command line arg
lets you use one expect script for all devices.  Using the file system
to store some values allows them to be updated easily from the command
line without bothering with an editor: &quot;echo foo &gt;file&quot;&lt;/p&gt;

&lt;p&gt;This all works fine with both iTerm and Terminal.app.  In Terminal.app
just set the shell startup command and &quot;Window &gt; Save Windows as Group...&quot;
You can save individual terminal settings with &quot;Shell &gt; Export Settings...&quot;
but that&#039;s much slower to startup (a couple of minutes vs a few seconds).&lt;/p&gt;

&lt;h1&gt;!/usr/bin/expect --&lt;/h1&gt;

&lt;p&gt;#&lt;/p&gt;

&lt;h1&gt;usage: ine [device]&lt;/h1&gt;

&lt;h1&gt;where device is r1, r2, etc&lt;/h1&gt;

&lt;p&gt;#&lt;/p&gt;

&lt;h1&gt;2009-01-19 Michael Rose mikerose@gmail.com&lt;/h1&gt;

&lt;h1&gt;Based on a script by Brandon Carroll&lt;/h1&gt;

&lt;p&gt;gets [open $env(HOME)/INE_PASS] pass
gets [open $env(HOME)/INE_RACK] rack&lt;/p&gt;

&lt;p&gt;set device [lindex $argv 0]
set user &quot;scrack$rack$device&quot;&lt;/p&gt;

&lt;p&gt;spawn telnet racks.internetworkexpert.com
expect &quot;Username:&quot;
send &quot;$user\r&quot;
expect &quot;Password:&quot;
send &quot;$pass\r&quot;
puts &quot;\r&quot;
sleep 2
send &quot;\r&quot;
interact;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great idea, Brandon!  Thanks for posting it.</p>

<p>I expanded on your original script, to add an optional command line
arg for the device identifier (r1, sw1, etc), and to read files for
the values that change with each rack rental.  The command line arg
lets you use one expect script for all devices.  Using the file system
to store some values allows them to be updated easily from the command
line without bothering with an editor: &#8220;echo foo &gt;file&#8221;</p>

<p>This all works fine with both iTerm and Terminal.app.  In Terminal.app
just set the shell startup command and &#8220;Window &gt; Save Windows as Group&#8230;&#8221;
You can save individual terminal settings with &#8220;Shell &gt; Export Settings&#8230;&#8221;
but that&#8217;s much slower to startup (a couple of minutes vs a few seconds).</p>

<h1>!/usr/bin/expect &#8211;</h1>

<p>#</p>

<h1>usage: ine [device]</h1>

<h1>where device is r1, r2, etc</h1>

<p>#</p>

<h1>2009-01-19 Michael Rose <a href="mailto:mikerose@gmail.com">mikerose@gmail.com</a></h1>

<h1>Based on a script by Brandon Carroll</h1>

<p>gets [open $env(HOME)/INE_PASS] pass
gets [open $env(HOME)/INE_RACK] rack</p>

<p>set device [lindex $argv 0]
set user &#8220;scrack$rack$device&#8221;</p>

<p>spawn telnet racks.internetworkexpert.com
expect &#8220;Username:&#8221;
send &#8220;$user\r&#8221;
expect &#8220;Password:&#8221;
send &#8220;$pass\r&#8221;
puts &#8220;\r&#8221;
sleep 2
send &#8220;\r&#8221;
interact;</p>]]></content:encoded>
	</item>
</channel>
</rss>

