From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59777 invoked by alias); 19 Oct 2019 11:21:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 59764 invoked by uid 89); 19 Oct 2019 11:21:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=sometime, coreutils, personal, hear X-HELO: esa3.hgst.iphmx.com Received: from esa3.hgst.iphmx.com (HELO esa3.hgst.iphmx.com) (216.71.153.141) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 19 Oct 2019 11:21:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1571484065; x=1603020065; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=h7DOaa8a/KPv1kfFEC0j7BI/E+VidrKcvyA1maVSnyo=; b=rK5HYnrJfpLtBmJ+JgDgR6rgA0xD2Yo4ygTerzXWDJPzUVcFNOXG3Vje iqnJvh1cyAZQYOyZNg9n0vqi80sMC5KNFC0Ym0WyYgg7q1L5Bo9k45UiZ WaWUD+8Ztj6TOeFi6B/tbcIuxhYa4ldkyQRIMWfCj40oObXYP4mLtRfWG +8NfHivm4JehWqnK7lDuJqhiWZub9qgj2FSkq1BW5Uw1dEhAPzg/d1SFa tTh6f5kYX9mZtb9VIvIItbMwioS5OflnN21n3yJf34u/3yh5TTsr4SI7E uG685q5hqNuQEeP5OrwZKrciACESHe+vCB+aYXsYEv7TpJDfVe140e1kC w==; IronPort-SDR: miXLD2LKO/9mWMvcBNvuhLwBgeOa30wsRRpg6v0XWZ9T8ZDrIQEpHMYvVFpByqN7hEIbnO1ZvQ mgBfNW4WxEJ3/QYBrLDIKc88YmaDeISeKd5SgOHpfaAlvAMyFwDQoOJCOh01sHyzUUutnXN4uc 66rXhaY2y09iG9F9CdwyB0Hi+oeZR6sqYZunXzozOkk74aWbbB/HT+fjJYQPPG65/t0hxsdJCe 0XLyYu5+5viXbuTW/jgXnnJVV+VDTxgsCy/64WC+JEsZD9w1vM1LjqTe6R4iVsUesVIs6f38qx RoI= Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 19 Oct 2019 19:21:04 +0800 IronPort-SDR: lFXYoHpW3kwXXPzMavvwccXk9c0L/2Lszq0mhV5DjSoSidjlQnTQMIb4Nrdnnxm/EBTGPii7Uu /omkcWM8nvJqzpaTigNTQCphTm6Np0cwbcJyTeV165pjPyO/0ua8Cb8zxjHJVKLqKI/Jxlgi/Z aDmlQ/hzDnywnaWivpbgpWstE9ow+BamVj+EPsEyO1uRYGV31MwUn7+sNRsdO6ZfQW5yjrFGPw Yk1BBJk+r86XNwT42sldLsC4V6pCf3Jm0HEwbxOwXt4Nl64TDpR1hgwsuMak8ZmkSWeuwKdsRN Z4B+hHHQhd9Pgt5HWacMSRJ9 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2019 04:16:40 -0700 IronPort-SDR: Wqrf+YvO1YGYdaqcaY+IKqIuSa02Sp3ysCv8eSQZS7Lt2oK1k+iKOzoMEKsW+YSKO01hMvT53Y jRLv0SNAfF3dH+mY0iFkBXoreIT0VzbE6Xyj4Gwy1Po/ZjjPwxA2JEH1+S5VB5UM/BZ+LRKJ7h 4POb8p+K5PnNrBXzO4QlqC+0g4PaBExDK1Fz7847i6M79r22emt6dtH/ewU/bz49IFlVyOrr8q t4VWPbnrV12AywzsRY7Mh+gveUzxz7VMtqQeKHfzslfsgFOU9YgG2z4X+fROScujjiK9ouAS/F gXA= WDCIronportException: Internal Received: from unknown (HELO redsun52) ([10.149.66.28]) by uls-op-cesaip01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2019 04:21:04 -0700 Date: Sat, 19 Oct 2019 11:21:00 -0000 From: "Maciej W. Rozycki" To: Andrew Burgess cc: Tom Tromey , Tom Tromey , gdb-patches@sourceware.org Subject: Re: [binutils-gdb] Style the gdb welcome message In-Reply-To: <20191015083234.GT4962@embecosm.com> Message-ID: References: <20181228210008.91892.qmail@sourceware.org> <875zkr9c9p.fsf@tromey.com> <20191015083234.GT4962@embecosm.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2019-10/txt/msg00658.txt.bz2 On Tue, 15 Oct 2019, Andrew Burgess wrote: > > I'm curious to hear what others think. In the absence of comments I'll > > remove it sometime before 9.1, I think. Or I'll approve a patch to > > do so. > > What this might mean is that if ~/.gdbinit contains only (or starts > with) commands that produce no output, for example 'set style enabled > off' then these would be processed before GDB printed the welcome > message. Thank you all who responded for your input. As this is a matter of a human interface I realise that personal perception will be very different among various people, from positive, through neutral to disturbing. The classic single-colour interface is uniform and does not, in my personal experience, cause any disturbance or distraction to me. Other people may appreciate the highlighting. I think a way to move forward might be to borrow from other GNU projects, such as GCC and coreutils, and have an environment variable defined called GDB_COLORS, analogously to GCC_COLORS or LS_COLORS, and make GDB interpret it ahead of its usual initialisation files (which could optionally override the environment settings). Thoughts? Maciej