From owner-freebsd-current@FreeBSD.ORG Fri Jul 11 02:48:53 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057DF106567B for ; Fri, 11 Jul 2008 02:48:53 +0000 (UTC) (envelope-from vlad.k.sm@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id CD6D88FC13 for ; Fri, 11 Jul 2008 02:48:52 +0000 (UTC) (envelope-from vlad.k.sm@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4493479rvf.43 for ; Thu, 10 Jul 2008 19:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=mC9ehpcZIy/LGG13p47sHVmbpHNRk4DTuObJNjOMv1I=; b=GKN3pR3/BYNiCuFWNPhoAvSWg6ZPHEbbOMedqcgBQoIj/7IcrQHNdoM+ULv8X2qdDE mvFi52Q3QtQflZwXRtPTb63bVVQ4HmR+65MMGEeoX8ZP72soZVyklIDUh8xw1p7YeUqX 5nX4Nly0RysZ99FAIqLjoUsD5mQBoAFbwZ7KQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WjCnNPVZj0l4p9/70dtPUPK2Qyt26TPaSpqOlsKbbGbMI4jullI6yWodXU5hX00vRB yNtJoo5l232vC9dfOCeQu50E2xe+xW3U+5mlavcC6w6jpFlbZNsmd+XOvczlFzGLWSc3 EaxUi6xtE36eRd7m9A6jV61i/DWvOGdkjH8lI= Received: by 10.140.171.18 with SMTP id t18mr1724530rve.22.1215742881319; Thu, 10 Jul 2008 19:21:21 -0700 (PDT) Received: from ?71.196.209.227? ( [71.196.209.227]) by mx.google.com with ESMTPS id l31sm59363rvb.6.2008.07.10.19.21.19 (version=SSLv3 cipher=RC4-MD5); Thu, 10 Jul 2008 19:21:19 -0700 (PDT) Message-ID: <48762A10.60406@gmail.com> Date: Thu, 10 Jul 2008 20:26:08 +0500 From: Vlad K Sm User-Agent: Thunderbird 2.0.0.14 (X11/20080708) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20080710120018.0A82810656A0@hub.freebsd.org> In-Reply-To: <20080710120018.0A82810656A0@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: /etc/rc.d/syscons question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 02:48:53 -0000 Hi, I've found that if in /etc/rc.conf specify: keybell="off" then it affects only tty0 (default console). I checked implementation of /etc/rc.d/syscons snd yes, such flags are set for /dev/ttyv0 only and if you need some flags for all screens, need to use "allscreens_kbdflags". syscons: # keybell # case ${keybell} in [Nn][Oo] | '') ;; *) echo -n ' keybell'; kbdcontrol < ${kbddev} -b ${keybell} ;; esac # set this keyboard mode for all virtual terminals # if [ -n "${allscreens_kbdflags}" ]; then sc_init echo -n ' allscreens_kbd' for ttyv in /dev/ttyv*; do kbdcontrol ${allscreens_kbdflags} < ${ttyv} > ${ttyv} 2>&1 done My question: is it by design that flags in rc.local are set for ttyv0 only or this is an issue which is waiting for improvement? Thanks, Vladimir Kuzmin