From owner-svn-src-head@freebsd.org Sun Apr 9 05:24:03 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 49218D35437 for ; Sun, 9 Apr 2017 05:24:03 +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 F06D7CB for ; Sun, 9 Apr 2017 05:24:02 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f66.google.com with SMTP id i3so2304246lfh.2 for ; Sat, 08 Apr 2017 22:24:02 -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:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1fnU/57/69WsPAPZDyrTfgev2j7+LI7nrpZ2LxO/2kQ=; b=qHGCuNQ4fpHmPluDVPRe6bG5imRbGjaW73BX8ODSOiFlXefxFKwc6+0J6fyLSBtju7 kH3MUDN3X4pLwUn37WY15KEJBvhFWh7Q2TqW4bC811o/vxrVW7gmKOxvhQiQNmbmR6At j7YJfXwiG8UWiSt6N1OnvmrcILCcn0oD/Xf8zomFyDoqu+9qszTAovZXu+CjQ9VuIQ37 wXcXPS+KThz/Ab0Wb4aHN+ONz97oR4y/u6oGJaOYQ7XyNYs7agnSKwZkl6n9cMzUYps2 IGt8HejRe+/y6JMdssMHb2PL1gHxGuRvFnvdsJh9+Ol12+HkdkZhp2Wos0KRmQ03RbFE A8xA== X-Gm-Message-State: AFeK/H2RHPa2xL7bk56qKVHOXoELO7rPk80hJnR7uZO/LGkjBbOlXVEglHdnuLdnEf99pg== X-Received: by 10.25.43.205 with SMTP id r196mr13847821lfr.116.1491715440488; Sat, 08 Apr 2017 22:24:00 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id e124sm1969792lfg.8.2017.04.08.22.23.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 22:23:59 -0700 (PDT) Subject: Re: svn commit: r316642 - head/sys/dev/syscons To: Bruce Evans , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201704081000.v38A0dBU078784@repo.freebsd.org> <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org> From: Andrey Chernov Message-ID: <23b8c635-f856-51b5-a338-d9bb53aefc7c@freebsd.org> Date: Sun, 9 Apr 2017 08:23:55 +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: <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.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 05:24:03 -0000 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 >> (that is, in all supported 8, 15, 16 and 24-color modes). Moving the >> mouse cursor while holding down a button (giving cut marking) left a >> trail of garbage from misremoved mouse cursors (usually colored >> rectangles and not cursor shapes). Cases with a button not held down >> worked better and may even have worked. >> >> No renderer support for removing (software) mouse cursors is needed >> (and many renderers don't have any), since sc_remove_mouse_image() >> marks for update the region containing the image and usually much >> more. The mouse cursor can be (partially) over as many as 4 character >> cells, and removing it in only the 1-4 cells occupied by it would be >> best for efficiency and for avoiding flicker. > > 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.