[PATCH] add history buffer size to rc.conf

Alexey Slynko slynko at tronet.ru
Sun Aug 21 09:56:41 PDT 2005


===================================================================
RCS file: /home/dcvs/src/etc/defaults/rc.conf,v
retrieving revision 1.28
diff -u -r1.28 rc.conf
--- defaults/rc.conf	25 Jul 2005 18:57:36 -0000	1.28
+++ defaults/rc.conf	21 Aug 2005 16:34:31 -0000
@@ -359,6 +359,7 @@
 mousechar_start="NO"	# if 0xd0-0xd3 default range is occupied in your
 			# language code table, specify alternative range
 			# start like mousechar_start=3, see vidcontrol(1)
+history=""		# Set history buffer size
 allscreens_flags=""	# Set this vidcontrol mode for all virtual screens
 allscreens_kbdflags=""	# Set this kbdcontrol mode for all virtual screens
 
Index: rc.d/syscons
===================================================================
RCS file: /home/dcvs/src/etc/rc.d/syscons,v
retrieving revision 1.3
diff -u -r1.3 syscons
--- rc.d/syscons	22 Apr 2005 00:55:32 -0000	1.3
+++ rc.d/syscons	21 Aug 2005 16:34:32 -0000
@@ -165,6 +165,16 @@
 		;;
 	esac
 
+	# history buffer
+	#
+	case ${history} in
+	[Nn][Oo] | '')
+		;;
+	*)
+		echo -n ' history';	vidcontrol < ${viddev} -h ${history}
+		;;
+	esac
+
 	# set this mode for all virtual screens
 	#
 	if [ -n "${allscreens_flags}" ]; then




More information about the Submit mailing list