svn commit: r343231 - in head: bin/csh bin/sh share/skel
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Jan 20 22:08:51 UTC 2019
Author: trasz
Date: Sun Jan 20 22:08:49 2019
New Revision: 343231
URL: https://svnweb.freebsd.org/changeset/base/343231
Log:
Don't mess with BLOCKSIZE in shell startup files - it's set by login.conf(5);
there's no need to even mention it in shell rc files. Not that it's wrong;
just pointless and somewhat misleading.
Reviewed by: jilles
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D18809
Modified:
head/bin/csh/csh.login
head/bin/csh/dot.cshrc
head/bin/sh/profile
head/share/skel/dot.cshrc
head/share/skel/dot.profile
Modified: head/bin/csh/csh.login
==============================================================================
--- head/bin/csh/csh.login Sun Jan 20 22:03:43 2019 (r343230)
+++ head/bin/csh/csh.login Sun Jan 20 22:08:49 2019 (r343231)
@@ -1,9 +1,6 @@
# $FreeBSD$
#
# System-wide .login file for csh(1).
-# Uncomment this to give you the default 4.2 behavior, where disk
-# information is shown in K-Blocks
-# setenv BLOCKSIZE K
#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
Modified: head/bin/csh/dot.cshrc
==============================================================================
--- head/bin/csh/dot.cshrc Sun Jan 20 22:03:43 2019 (r343230)
+++ head/bin/csh/dot.cshrc Sun Jan 20 22:08:49 2019 (r343231)
@@ -19,7 +19,6 @@ set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/s
setenv EDITOR vi
setenv PAGER less
-setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
Modified: head/bin/sh/profile
==============================================================================
--- head/bin/sh/profile Sun Jan 20 22:03:43 2019 (r343230)
+++ head/bin/sh/profile Sun Jan 20 22:08:49 2019 (r343231)
@@ -2,10 +2,6 @@
#
# System-wide .profile file for sh(1).
#
-# Uncomment this to give you the default 4.2 behavior, where disk
-# information is shown in K-Blocks
-# BLOCKSIZE=K; export BLOCKSIZE
-#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
# For full locales list check /usr/share/locale/*
Modified: head/share/skel/dot.cshrc
==============================================================================
--- head/share/skel/dot.cshrc Sun Jan 20 22:03:43 2019 (r343230)
+++ head/share/skel/dot.cshrc Sun Jan 20 22:08:49 2019 (r343231)
@@ -15,7 +15,6 @@ alias ll ls -lAF
# These are normally set through /etc/login.conf. You may override them here
# if wanted.
# set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
-# setenv BLOCKSIZE K
# A righteous umask
# umask 22
Modified: head/share/skel/dot.profile
==============================================================================
--- head/share/skel/dot.profile Sun Jan 20 22:03:43 2019 (r343230)
+++ head/share/skel/dot.profile Sun Jan 20 22:08:49 2019 (r343231)
@@ -8,7 +8,6 @@
# These are normally set through /etc/login.conf. You may override them here
# if wanted.
# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
-# BLOCKSIZE=K; export BLOCKSIZE
# Setting TERM is normally done through /etc/ttys. Do only override
# if you're sure that you'll never log in via telnet or xterm or a
More information about the svn-src-all
mailing list