Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 00:55:44 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r242644 - in stable/7: etc/root share/skel
Message-ID:  <201211060055.qA60tian035082@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Tue Nov  6 00:55:43 2012
New Revision: 242644
URL: http://svnweb.freebsd.org/changeset/base/242644

Log:
  MFC r242514,r242541:
  
  	Revert the change that makes less default.
  
  	Since I've committed this I've receieved roughly an equal
  	amount of email thanking me for making this change
  	and asking me to revert it.
  
  	I've resisted making this change because
  	new users tend to prefer less over more
  	and these users are the least likely to know
  	how to change the PAGER on their own.
  
  Requested by:	many
  Objected to:	just as many
  Decision made by:	core
  
  ====
  	Change default prompt to show ~ again for the home directory
  
  Approved by:	cperciva (implicit)

Modified:
  stable/7/etc/root/dot.cshrc
  stable/7/share/skel/dot.cshrc
Directory Properties:
  stable/7/etc/   (props changed)
  stable/7/share/skel/   (props changed)

Modified: stable/7/etc/root/dot.cshrc
==============================================================================
--- stable/7/etc/root/dot.cshrc	Tue Nov  6 00:55:43 2012	(r242643)
+++ stable/7/etc/root/dot.cshrc	Tue Nov  6 00:55:43 2012	(r242644)
@@ -18,7 +18,7 @@ umask 22
 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
 
 setenv	EDITOR	vi
-setenv	PAGER	less
+setenv	PAGER	more
 setenv	BLOCKSIZE	K
 
 if ($?prompt) then
@@ -26,7 +26,7 @@ if ($?prompt) then
 	if ($uid == 0) then
 		set user = root
 	endif
-	set prompt = "%n@%m:%/ %# "
+	set prompt = "%n@%m:%~ %# "
 	set promptchars = "%#"
 
 	set filec

Modified: stable/7/share/skel/dot.cshrc
==============================================================================
--- stable/7/share/skel/dot.cshrc	Tue Nov  6 00:55:43 2012	(r242643)
+++ stable/7/share/skel/dot.cshrc	Tue Nov  6 00:55:43 2012	(r242644)
@@ -18,7 +18,7 @@ umask 22
 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
 
 setenv	EDITOR	vi
-setenv	PAGER	less
+setenv	PAGER	more
 setenv	BLOCKSIZE	K
 
 if ($?prompt) then
@@ -26,7 +26,7 @@ if ($?prompt) then
 	if ($uid == 0) then
 		set user = root
 	endif
-	set prompt = "%n@%m:%/ %# "
+	set prompt = "%n@%m:%~ %# "
 	set promptchars = "%#"
 
 	set filec



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211060055.qA60tian035082>