[PATCH] add history buffer size to rc.conf

Matthew Dillon dillon at apollo.backplane.com
Sun Aug 21 11:08:35 PDT 2005


    Looks good, but I'm going to rename the variable so it is not
    confused with shell command line history.  I'll commit it and
    your other patch a little later today.

						-Matt

:
:This is a multi-part message in MIME format.
:--------------050407060208090303080800
:Content-Type: text/plain; charset=KOI8-R; format=flowed
:Content-Transfer-Encoding: 7bit
:
:
:--------------050407060208090303080800
:Content-Type: text/plain;
: name="syscons1.diff"
:Content-Transfer-Encoding: 7bit
:Content-Disposition: inline;
: filename="syscons1.diff"
:
:Index: defaults/rc.conf
:===================================================================
: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
:
:--------------050407060208090303080800--
:

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Submit mailing list