<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Talk%3ATcsh</id>
		<title>Talk:Tcsh - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Talk%3ATcsh"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Talk:Tcsh&amp;action=history"/>
		<updated>2026-05-03T02:51:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Talk:Tcsh&amp;diff=6592&amp;oldid=prev</id>
		<title>Ninereasons at 17:53, 9 June 2006</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Talk:Tcsh&amp;diff=6592&amp;oldid=prev"/>
				<updated>2006-06-09T17:53:09Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Switching from bash==&lt;br /&gt;
Getting used to &amp;lt;code&amp;gt;tcsh&amp;lt;/code&amp;gt; is one of the hardest things to do, when coming from Linux, where &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt; is the default [[login shell]].  It's not necessarily evil to switch your login shell to &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;, which is a very decent shell (it's hard to do without ''functions'', which make &amp;lt;code&amp;gt;sh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt; more suitable for scripting than &amp;lt;code&amp;gt;tcsh&amp;lt;/code&amp;gt;).  We're only warned to be aware that if you switch &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;, you might find a few gotchas.  Without being religious about it, although accustomed to &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;, you might decide that since FreeBSD is oriented toward &amp;lt;code&amp;gt;tcsh&amp;lt;/code&amp;gt; you'll give it a try.  Of course, since this shell is new to you, you read the manual and you do most of your experimenting as a non-root user.&lt;br /&gt;
&lt;br /&gt;
But after you get started, you run into more dissimilarities than you expected.  So many things that made the command line faster and simpler than clicking icons in X now seem to be missing.  &lt;br /&gt;
* One thing that irks you is that your system scripts are written in a different language than the commandline - &amp;lt;code&amp;gt;sh&amp;lt;/code&amp;gt; as opposed to &amp;lt;code&amp;gt;tcsh&amp;lt;/code&amp;gt;, so that you can't just lift expressions out of a script and paste them into the commandline to run them, or ''visa versa''.  &lt;br /&gt;
* You press TAB and nothing happens.  &lt;br /&gt;
* You are looking to repeat a command that matches an expression somewhere ''after'' the beginning of the line.  &lt;br /&gt;
* &amp;lt;code&amp;gt;tcsh&amp;lt;/code&amp;gt; has no equivalent to ''function''&lt;br /&gt;
* Pattern matching doesn't always work as you expected.&lt;br /&gt;
* You have to type &amp;quot;rehash&amp;quot; after you install a new program.&lt;br /&gt;
* You type ''login -f user'' as root, and you're told:&lt;br /&gt;
*: &amp;lt;code&amp;gt;login: Too many arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The list of differences grows longer, so your start is rough and you have to refer to the man page more often than you expected.  You're thinking of giving up, and sticking with what you know better: &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;.  How do you overcome these differences?  What keeps you using &amp;lt;code&amp;gt;tcsh&amp;lt;/code&amp;gt;?  I think there's a great article in that.  What do you think? Does it belong in this one, or a separate article? [[User:Ninereasons|Ninereasons]] 13:53, 9 June 2006 (EDT)&lt;/div&gt;</summary>
		<author><name>Ninereasons</name></author>	</entry>

	</feed>