From owner-svn-src-head@freebsd.org Sun Apr 9 08:55:10 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 4B038D35B24 for ; Sun, 9 Apr 2017 08:55:10 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) (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 E128DAE7 for ; Sun, 9 Apr 2017 08:55:09 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f66.google.com with SMTP id 75so772125lfs.3 for ; Sun, 09 Apr 2017 01:55:09 -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=b/oUDmp7cG8z4xoz+xQyltif3CN0KWPfj4gt6vvmPDY=; b=pEcBB8PrBSQ0TcTaNkpTLqYyifsmiWWKRFBO4p4ygWEuwQnJtp87kXg9z2NikHs5Wk Jq0gNGnzC30CeHAtFpHVI+tk5HALK6UOqd5FAcjUdeWttw/EP9j1jJ+kxdsh084bhvY7 WZkgjwGs+maZg2YYvrKPTBl+0uVFkU/dmUiphWovUPvM2ejRjDQi+8ozLmvP7/Ec8WI/ 2idWkg9rHWG33S+CU01pcTlcA8lcyfkYVTP+s+d19FlcvzPdtgXWPHteK9hLExPg7s3W ayNy1F0KfobB0MF4IoYl9VkTwYhN38X5x6Vhepo5KNPjsjb8wjE7rsJfHAPvwt+V5pAc GFug== X-Gm-Message-State: AFeK/H1CU7r9rWyHibHyRfSsWNQuq6tYBrjoUk0cDvAa2FPNWsA9I9sYXoN9iMagS0y6dw== X-Received: by 10.25.17.153 with SMTP id 25mr15794043lfr.39.1491728107592; Sun, 09 Apr 2017 01:55:07 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id l2sm2050866lfe.69.2017.04.09.01.55.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 01:55:07 -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> Cc: Bruce Evans , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Andrey Chernov Message-ID: <5d76f933-7d70-411f-9233-0f1e6b72023e@freebsd.org> Date: Sun, 9 Apr 2017 11:55:00 +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: <20170409150512.B1318@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 08:55:10 -0000 On 09.04.2017 9:46, Bruce Evans wrote: >> Please don't forget that this 5 cells range (0xd0-0xd4, last one becomes >> SC_CURSOR_CHAR) can be redefined with "vidcontrol -M", it is needed for >> the case they overlap valid characters region for some code tables. > > I didn't forget it, but these cells are only used in text mode and there > are only 4 of them AFAIK (-M goes up to 252, which leaves space for only > 4 cells 252-255). Text mode is is one case that has no renderer support > for the mouse cursor. Here is 5th one (depends of SC_MOUSE_CHAR which can be set in the kernel config): #if SC_MOUSE_CHAR <= SC_CURSOR_CHAR && SC_CURSOR_CHAR < (SC_MOUSE_CHAR + 4) #undef SC_CURSOR_CHAR #define SC_CURSOR_CHAR (SC_MOUSE_CHAR + 4) #endif > NOTES gives the example of setting it to 0x3. Then if the configured > SC_CURSOR_CHAR is inside the 4-char range for the mouse cursor, then AFAIK SC_CURSOR_CHAR kernel config or vidcontrol is not supported. > There is no way to reconfigure the cursor char AFAIK. In fact, it > doesn't even seem to be configured -- SC_CURSOR_CHAR is never used, I remember times it was used but not remember how, log history needs to be browsed.