From owner-svn-src-head@freebsd.org Sun Apr 9 12:55:39 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8375CD35596 for ; Sun, 9 Apr 2017 12:55:39 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15032EC7 for ; Sun, 9 Apr 2017 12:55:38 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f67.google.com with SMTP id r36so9335628lfi.0 for ; Sun, 09 Apr 2017 05:55:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=g0kPzCUkskRCJJ4ke2bpsEyJr6SWqsM1Hyks52MTSP0=; b=e/eiexgFl9JRKa5LE//0zOODHiPp/xrsVAJkdsrZ62kASlo5L2eG39X4qa/NPSz/D4 gsYb/8rOo4ixsCEb0rsLrvB61mG2nUX6W+S44myE+gR3iEqC1v8rJlVZKZRIvmD/FKXB alVpj/AqWHgqsc0zxcnWeceCuPwZ0tBJqAXts0fp9ZRFWbE/HCmt91/e2pPmPBBbcQiu XEVewKCmJajGOefxnEuZZ7xDV2v2cG3Pckx2ylne5oZK5Zlhk2Jyt3edJ783RfjVWE6/ sNrw+z5rj6h2zs9Y+ss1nKYMWw5ftT13A9e8Dr00h20qOXs34JASKRzc790WYIRnhY1K q8rA== X-Gm-Message-State: AFeK/H3l7/7N1r1wCnmSaHa3e7XFcBQbcrkNr9vslVOWCOfigcZ5z+S07escUntFU/3XpA== X-Received: by 10.46.92.65 with SMTP id q62mr13648794ljb.48.1491742536546; Sun, 09 Apr 2017 05:55:36 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id q123sm2138961ljb.18.2017.04.09.05.55.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 05:55:36 -0700 (PDT) Subject: Re: svn commit: r316642 - head/sys/dev/syscons To: Bruce Evans References: <201704081000.v38A0dBU078784@repo.freebsd.org> <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org> <20170409150512.B1318@besplex.bde.org> <5d76f933-7d70-411f-9233-0f1e6b72023e@freebsd.org> <20170409195358.I2327@besplex.bde.org> Cc: Bruce Evans , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Andrey Chernov Message-ID: <579d9011-a042-4f69-892a-703042706bd3@freebsd.org> Date: Sun, 9 Apr 2017 15:55:31 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170409195358.I2327@besplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2017 12:55:39 -0000 On 09.04.2017 13:32, Bruce Evans wrote: > How do you initialize actual use of sc->cursor_char? It is only used > when SC_NO_FONT_LOADING is not defined. Configuring SC_PIXEL_MODE > forces SC_NO_FONT_LOADING to be undefined. Except to test sc->cursor_char, I use text console mode with loading national codepage font. I don't touch sc->cursor_char directly, I only use 'vidcontrol -M' to move range start to 0x03 since 0xd0-0xd3 and 0xd4 are valid characters in my codepage. Loading font and changing mousechar start are both through rc.conf variables: font8x14="cp866-8x14" font8x16="cp866b-8x16" font8x8="cp866-8x8" mousechar_start="3" > is almost always defined. Apparently the char cursor is turned off with > loadable fonts since it would mess up special fonts more than the default > font. But not as much as the mouse cursor. If you mean just cursor, I have it (even not block but underline cursor). It is not strictly char (i.e. text cursor), but emulation of it via loaded font change on the fly. Via rc.conf variable too: cursor="destructive"