[24244] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23842 - in trunk/debathena/debathena/dotfiles: . debian

daemon@ATHENA.MIT.EDU (Evan Broder)
Thu Jun 11 21:49:22 2009

Date: Thu, 11 Jun 2009 21:49:12 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200906120149.n5C1nChs001659@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2009-06-11 21:49:12 -0400 (Thu, 11 Jun 2009)
New Revision: 23842

Modified:
   trunk/debathena/debathena/dotfiles/cshrc
   trunk/debathena/debathena/dotfiles/debian/changelog
Log:
In dotfiles:
  * Desupport extend, sextend, textend, ~/.path, cdpath, and setting the
    prompt in tcsh. (Trac: #256)


Modified: trunk/debathena/debathena/dotfiles/cshrc
===================================================================
--- trunk/debathena/debathena/dotfiles/cshrc	2009-06-12 01:45:54 UTC (rev 23841)
+++ trunk/debathena/debathena/dotfiles/cshrc	2009-06-12 01:49:12 UTC (rev 23842)
@@ -84,21 +84,10 @@
   endif
   unset x
 
-  # This "extend" alias and friends have been left in for backwards
-  # compatibility with old .environment files, just in case. The new
-  # add alias does not use them.
-  alias extend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) set extendyes && \\
-  if ($?extendyes && $?verboseadd) echo \!:2 added to end of \$\!:1 && \\
-  if ($?extendyes) setenv \!:1 ${\!:1}:\!:2 && \\
-  unset extendyes'
-  alias sextend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) set extendyes && \\
-  if ($?extendyes && $?verboseadd) echo \!:2 added to end of \$\!:1 && \\
-  if ($?extendyes) set \!:1=(${\!:1} \!:2) && \\
-  unset extendyes'
-  alias textend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) set extendyes && \\
-  if ($?extendyes && $?verboseadd) echo \!:2 added to end of \$\!:1 && \\
-  if ($?extendyes) set \!:1=${\!:1}:\!:2 && \\
-  unset extendyes'
+  # NOTE:
+  # The use of the "extend", "sextend", and "textend" aliases in
+  # ~/.environment is no longer supported.  Consult the Athena
+  # documentation on Dotfiles for supported dotfile operations
 
   # Run user environment customizations identified in your
   # ~/.environment file.  This is the place to include your own
@@ -110,17 +99,13 @@
 
   if ((! $?NOCALLS) && (-r ~/.environment)) source ~/.environment
 
-  unalias extend sextend textend
+  # NOTE:
+  # .path files are no longer supported, consult Athena documentation
+  # for the correct way to specify your PATH
+  
+  # Standard Athena path additions.
+  set path=(`/usr/bin/athdir $HOME` $path .)
 
-  if ((! $?NOCALLS) && (-r ~/.path)) then
-    # Support .path files for compatibility.
-    set athena_path=($path)
-    source ~/.path
-  else
-    # Standard Athena path additions.
-    set path=(`/usr/bin/athdir $HOME` $path .)
-  endif
-
 endif
 
 # Set appropriate bin directory variable for this platform
@@ -135,10 +120,6 @@
 set noclobber			# Don't overwrite files with redirection
 
 if ($?prompt) then		# For interactive shells only (i.e., NOT rsh):
-  # Set prompt.
-  set promptchars="%#"
-  set prompt = "athena%# "
-  set cdpath = (~)
   set interactive		#   Provide shell variable for compatability
 endif
 

Modified: trunk/debathena/debathena/dotfiles/debian/changelog
===================================================================
--- trunk/debathena/debathena/dotfiles/debian/changelog	2009-06-12 01:45:54 UTC (rev 23841)
+++ trunk/debathena/debathena/dotfiles/debian/changelog	2009-06-12 01:49:12 UTC (rev 23842)
@@ -1,3 +1,10 @@
+debathena-dotfiles (10.0.14-0debathena1) unstable; urgency=low
+
+  * Desupport extend, sextend, textend, ~/.path, cdpath, and setting the
+    prompt in tcsh. (Trac: #256)
+
+ -- Evan Broder <broder@mit.edu>  Thu, 11 Jun 2009 21:48:46 -0400
+
 debathena-dotfiles (10.0.13-0debathena1) unstable; urgency=low
 
   * Also don't run 'mailquota' on EXCHANGE.MIT.EDU accounts for now


home help back first fref pref prev next nref lref last post