From owner-svn-src-all@freebsd.org Wed Jul 5 13:08:08 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C79B3DAADCD; Wed, 5 Jul 2017 13:08:08 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A311380051; Wed, 5 Jul 2017 13:08:08 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v65D8744006333; Wed, 5 Jul 2017 13:08:07 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v65D87Rf006329; Wed, 5 Jul 2017 13:08:07 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201707051308.v65D87Rf006329@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Wed, 5 Jul 2017 13:08:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320672 - in head: etc/root share/skel X-SVN-Group: head X-SVN-Commit-Author: trasz X-SVN-Commit-Paths: in head: etc/root share/skel X-SVN-Commit-Revision: 320672 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 13:08:08 -0000 Author: trasz Date: Wed Jul 5 13:08:07 2017 New Revision: 320672 URL: https://svnweb.freebsd.org/changeset/base/320672 Log: Cosmetic tweaks to the default shell rc files, mostly comments. MFC after: 2 weeks Modified: head/etc/root/dot.login head/etc/root/dot.profile head/share/skel/dot.login head/share/skel/dot.profile Modified: head/etc/root/dot.login ============================================================================== --- head/etc/root/dot.login Wed Jul 5 10:43:27 2017 (r320671) +++ head/etc/root/dot.login Wed Jul 5 13:08:07 2017 (r320672) @@ -2,11 +2,11 @@ # # .login - csh login script, read by login shell, after `.cshrc' at login. # -# see also csh(1), environ(7). +# See also csh(1), environ(7). # # Query terminal size; useful for serial lines. if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z -# Uncomment to display a random cookie each login: +# Uncomment to display a random cookie on each login. # if ( -x /usr/bin/fortune ) /usr/bin/fortune -s Modified: head/etc/root/dot.profile ============================================================================== --- head/etc/root/dot.profile Wed Jul 5 10:43:27 2017 (r320671) +++ head/etc/root/dot.profile Wed Jul 5 13:08:07 2017 (r320672) @@ -9,4 +9,8 @@ export TERM PAGER=more export PAGER +# Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi + +# Uncomment to display a random cookie on each login. +# if [ -x /usr/bin/resizewin ] ; then /usr/bin/fortune -s ; fi Modified: head/share/skel/dot.login ============================================================================== --- head/share/skel/dot.login Wed Jul 5 10:43:27 2017 (r320671) +++ head/share/skel/dot.login Wed Jul 5 13:08:07 2017 (r320672) @@ -2,8 +2,11 @@ # # .login - csh login script, read by login shell, after `.cshrc' at login. # -# see also csh(1), environ(7). +# See also csh(1), environ(7). # +# Query terminal size; useful for serial lines. if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z + +# Display a random cookie on each login. if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips Modified: head/share/skel/dot.profile ============================================================================== --- head/share/skel/dot.profile Wed Jul 5 10:43:27 2017 (r320671) +++ head/share/skel/dot.profile Wed Jul 5 13:08:07 2017 (r320672) @@ -24,4 +24,5 @@ ENV=$HOME/.shrc; export ENV # Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi +# Display a random cookie on each login. if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi