Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5651123imm; Mon, 23 Jul 2018 03:43:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpen3YR2QM2lfmuxKWZkVC8siPj1bJ3HslgDkP64R60sZ0g8udf/7CdBP4prR47EZPLvorWk X-Received: by 2002:a63:c20:: with SMTP id b32-v6mr11467999pgl.400.1532342589030; Mon, 23 Jul 2018 03:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532342589; cv=none; d=google.com; s=arc-20160816; b=lG1i2wUrxHvkhZipST2YKNaQFkeIobYk3MUNjLUfDw4kj5qN5L96dStMpwDGmrBwXv BgmRcqE63fZwCKZLq0bEM5xuw3oFC+IBTyq/YWAgqb8pIWhnWZZRQFyKHZz2Zl018wYC gxpmzCU52yCnhMWqxYFu1Ag6VtSD6U3DBBiU9X84haQl883+bTTRSKffscV4n70acsSI m/0KZBZpYLGp31eZH/BSK0ziUv6yf7jbgcEd70e2dsF8STUdF6osoKBXs/jlVWqTFNJt zopoWoVI6vfajKjmPxuQ7dU08PPZJuW7WhavrWOx3pqX4J55hVSCLhU0KuGTICwnO65V kypg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=r44X26RAuCyTWDcur8Bx0Qub4dNryr539qsFhq2XuDI=; b=Yag1cYrvnHkz6fHgRf3CyjkwiloASPBb+1k6CYg6dn9v+6k9gqQGPkepuLvRgWWBE1 lLcj9IU0RUwqMnskdBtZLn2A6CvB/ONTyRmXWM7fnNq18QJJ0yzGCcEnAdu7z4bITP2E gkPyAuC5+ZZG0Xeg68WW8SsJOsesAWZ4lnNdEN0FncH2xdAHTiATR26j+DGVfoiePquI 4pr/tBs3gDv4rQpg0uYtHpH8fm/hbDslOetcbbIVZC5Z/Tm7Nf6EEPuquMijx1MkEvqX 61KWnN5NSRzbhYsq6+ptWF31ufCQL69vPW4k7o3m3NbLfJYu8lsGJzyjIPxTwV2HK+T1 r8IQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18-v6si8379958pgn.433.2018.07.23.03.42.54; Mon, 23 Jul 2018 03:43:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388183AbeGWLmj (ORCPT + 99 others); Mon, 23 Jul 2018 07:42:39 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:33430 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387906AbeGWLmj (ORCPT ); Mon, 23 Jul 2018 07:42:39 -0400 Received: from kilobyte by tartarus.angband.pl with local (Exim 4.89) (envelope-from ) id 1fhYHn-0005I8-Pr; Mon, 23 Jul 2018 12:41:51 +0200 Date: Mon, 23 Jul 2018 12:41:51 +0200 From: Adam Borowski To: Geert Uytterhoeven Cc: Greg KH , Jiri Slaby , linux-console@vger.kernel.org, Bartlomiej Zolnierkiewicz , Linux Fbdev development list , Linux Kernel Mailing List Subject: Re: [PATCH 0/6] vt: no blinking on console, 256/24-bit color improvements Message-ID: <20180723104151.z3lasjmdd3ubh2sc@angband.pl> References: <20180718030152.kdq53mwpdfusvwl5@angband.pl> <20180721074319.GA30454@kroah.com> <20180721213843.wkculy5cdrrbmuij@angband.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 23, 2018 at 10:53:29AM +0200, Geert Uytterhoeven wrote: > On Sat, Jul 21, 2018 at 11:39 PM Adam Borowski wrote: > > Technically, every console can be made to blink by drawing/clearing affected > > characters a few times per second, but that'd be quite a waste of coding > > time and kernel size. There's a reason browsers dropped support for > > and text-decoration:blink. > > It's very simple and fast to implement in fbcon for FB_TYPE_PLANES or > FB_TYPE_INTERLEAVED_PLANES and FB_VISUAL_PSEUDOCOLOR ;-) Interesting... I'm still not going to do the effort to implement that (which would require learning fbdev internals first), though. But while I dislike this feature, someone else might want it. The main problem here is that there are only 8 or 7 bits available for attributes, thus it's better to use them for something more useful. And here, fbcon already interprets this bit as bright background, thus this patchset makes vt use it instead of non-existant blink. There'll be more bits available once attributes get migrated into uniscr -- either 11 or 32 bits depending on chosen implementation. But I still wouldn't go too wild with them: the console is meant for recovery tasks as on any properly working system you can have an X terminal configured for pixel-to-pixel identical behaviour as anything console can do. Thus, only cheap improvements to attributes make sense. This patchset is currently at +3 net lines, this certainly counts as cheap. On the other hand, displaying the _glyph_ better would be worth some effort. Nicolas' uniscr that's already in Greg's tree did most of the work, what remains is a way to load and store a font with more glyphs (needs a sparse representation). Meow! -- // If you believe in so-called "intellectual property", please immediately // cease using counterfeit alphabets. Instead, contact the nearest temple // of Amon, whose priests will provide you with scribal services for all // your writing needs, for Reasonable And Non-Discriminatory prices.