Page MenuHomeFreeBSD

D10642.diff
No OneTemporary

D10642.diff

Index: head/etc/root/dot.login
===================================================================
--- head/etc/root/dot.login
+++ head/etc/root/dot.login
@@ -5,5 +5,8 @@
# 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:
# if ( -x /usr/bin/fortune ) /usr/bin/fortune -s
Index: head/etc/root/dot.profile
===================================================================
--- head/etc/root/dot.profile
+++ head/etc/root/dot.profile
@@ -8,3 +8,5 @@
export TERM
PAGER=more
export PAGER
+
+if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi
Index: head/share/skel/dot.login
===================================================================
--- head/share/skel/dot.login
+++ head/share/skel/dot.login
@@ -5,4 +5,5 @@
# see also csh(1), environ(7).
#
+if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z
if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips
Index: head/share/skel/dot.profile
===================================================================
--- head/share/skel/dot.profile
+++ head/share/skel/dot.profile
@@ -21,4 +21,7 @@
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
+# Query terminal size; useful for serial lines.
+if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi
+
if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 8:38 PM (22 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14723217
Default Alt Text
D10642.diff (1 KB)

Event Timeline