diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-09-28 11:50:23 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-09-28 11:50:23 +0000 |
commit | 46e42a8cbaa49ef4e15e2be8969449f1de8fdc78 (patch) | |
tree | 80b5544ef5844f58c79cfec8792ea324d1dc3121 /app-shells/bash | |
parent | move to crypto herd. (Manifest recommit) (diff) | |
download | gentoo-2-46e42a8cbaa49ef4e15e2be8969449f1de8fdc78.tar.gz gentoo-2-46e42a8cbaa49ef4e15e2be8969449f1de8fdc78.tar.bz2 gentoo-2-46e42a8cbaa49ef4e15e2be8969449f1de8fdc78.zip |
Enable checkwinsize in system bashrc #65623
Diffstat (limited to 'app-shells/bash')
-rw-r--r-- | app-shells/bash/ChangeLog | 5 | ||||
-rw-r--r-- | app-shells/bash/files/bashrc | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog index 274b01d64b47..566fad2c7160 100644 --- a/app-shells/bash/ChangeLog +++ b/app-shells/bash/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-shells/bash # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.52 2004/09/28 09:30:43 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.53 2004/09/28 11:50:23 agriffis Exp $ + + 28 Sep 2004; Aron Griffis <agriffis@gentoo.org> files/bashrc: + Enable checkwinsize in system bashrc #65623 28 Sep 2004; Travis Tilley <lv@gentoo.org> +files/bash-2.05b-jobs.patch, +files/bash-3.0-jobs.patch, bash-2.05b-r10.ebuild, bash-2.05b-r9.ebuild, diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index 2d69fc92cc28..77a6bd2d5f88 100644 --- a/app-shells/bash/files/bashrc +++ b/app-shells/bash/files/bashrc @@ -1,5 +1,5 @@ # /etc/bash.bashrc: -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/files/bashrc,v 1.4 2004/08/19 01:31:20 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/files/bashrc,v 1.5 2004/09/28 11:50:23 agriffis Exp $ # # This file is sourced by all *interactive* bash shells on startup, # including some apparently interactive shells such as scp and rcp @@ -14,6 +14,12 @@ if [[ $- != *i* ]]; then return fi +# Bash won't get SIGWINCH if another process is in the foreground. +# Enable checkwinsize so that bash will check the terminal size when +# it regains control. #65623 +# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) +shopt -s checkwinsize + # Set colorful PS1 only on colorful terminals. # dircolors --print-database uses its own built-in database # instead of using /etc/DIR_COLORS. Try to use the external file |