From owner-svn-src-head@freebsd.org Sun Apr 9 11:09:16 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 1402DD366F6; Sun, 9 Apr 2017 11:09:16 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail108.syd.optusnet.com.au (mail108.syd.optusnet.com.au [211.29.132.59]) by mx1.freebsd.org (Postfix) with ESMTP id D12F01C1; Sun, 9 Apr 2017 11:09:15 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c122-106-153-191.carlnfd1.nsw.optusnet.com.au [122.106.153.191]) by mail108.syd.optusnet.com.au (Postfix) with ESMTPS id 408B91A1881; Sun, 9 Apr 2017 21:09:14 +1000 (AEST) Date: Sun, 9 Apr 2017 21:09:14 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Andrey Chernov cc: Bruce Evans , Bruce Evans , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r316642 - head/sys/dev/syscons In-Reply-To: Message-ID: <20170409203245.I2327@besplex.bde.org> References: <201704081000.v38A0dBU078784@repo.freebsd.org> <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org> <23b8c635-f856-51b5-a338-d9bb53aefc7c@freebsd.org> <20170409164754.E1567@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=KeqiiUQD c=1 sm=1 tr=0 a=Tj3pCpwHnMupdyZSltBt7Q==:117 a=Tj3pCpwHnMupdyZSltBt7Q==:17 a=kj9zAlcOel0A:10 a=pFTmfaicEet0DjLtfrUA:9 a=CjuIK1q_8ugA:10 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 11:09:16 -0000 On Sun, 9 Apr 2017, Andrey Chernov wrote: > On 09.04.2017 10:33, Bruce Evans wrote: >> On Sun, 9 Apr 2017, Andrey Chernov wrote: >> >>> On 09.04.2017 7:54, Andrey Chernov wrote: >>>> On 08.04.2017 13:00, Bruce Evans wrote: >>>>> Log: >>>>> Quick fix for removal of the mouse cursor in vga direct graphics >>>>> modes >>>>> ... >>>> >>>> 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. >>> >>> Probably we just can change default to remove additional vidcontrol -M >>> setup. I usually have this range started with 0x03. >> >> That can only work if you also avoid 9-bit text modes. 9-bit modes >> give 1-bit separations between characters, except for those in the >> graphics range (starting at about 0xd0). > > Then let is stays as it is. For me small line in the mouse cursor looks > less distractive that junk in all 4 chars around, which happens if fonts > codepage have 0xd0-0xd3 as valid characters. Both look bad. Low characters are a better choice if you don't mind the gap, since sc has too many magic characters whose magic can't be turned off with a flag line -opost. These chars are 7-13 and 27. Also 0 with scteken. I don't know of any way to reach the glyphs behind these characters using syscons. The cursor would have to have to consist of vertical lines of width 2 or more for it to be translatable across all positions (reduce to width 1 at the gap so that the hardware extends back to width 2). 8x16 doesn't have enough pixels for that. The border has width 1 in most places. Bruce