Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102927615
D10642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10642.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10642: Fix serial line terminal size.
Attached
Detach File
Event Timeline
Log In to Comment