diff --git a/src/etc/skel/dot.profile b/src/etc/skel/dot.profile index 6c5e598632..890cd60778 100644 --- a/src/etc/skel/dot.profile +++ b/src/etc/skel/dot.profile @@ -30,6 +30,7 @@ else fi if [ -n "${_interactive}" ]; then + /usr/bin/resizewin -z /etc/rc.initial exit fi diff --git a/src/etc/skel/dot.shrc b/src/etc/skel/dot.shrc index 5766d9fde0..7a0c56b2f2 100644 --- a/src/etc/skel/dot.shrc +++ b/src/etc/skel/dot.shrc @@ -51,6 +51,7 @@ else fi if [ -n "${_interactive}" ]; then + /usr/bin/resizewin -z /etc/rc.initial exit fi diff --git a/src/etc/skel/dot.tcshrc b/src/etc/skel/dot.tcshrc index 6bae4e499d..dcfbc0cfd2 100644 --- a/src/etc/skel/dot.tcshrc +++ b/src/etc/skel/dot.tcshrc @@ -37,6 +37,11 @@ if ($term == "xterm" || $term == "vt100" || $term == "vt102" || $term == "vt220" bindkey "\e[7~" beginning-of-line # Home rxvt/konsole bindkey "\e[8~" end-of-line # End rxvt/konsole + + set termtype=`echo ${tty} | /usr/bin/sed 's/[[:digit:]]*$//'` + if ("${termtype}" == "ttyu") then + alias postcmd '/usr/bin/resizewin' + endif endif set http_proxy=`/usr/local/sbin/read_xml_tag.sh string system/proxyurl`