From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#24547: 24.4; dired should colour in sockets and pipes Date: Wed, 31 Jul 2019 23:45:44 +0300 Organization: LINKOV.NET Message-ID: <87ftmmrkzr.fsf@mail.linkov.net> References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> <875znnxhas.fsf@mail.linkov.net> <20190728145350.GA29513@goll.lan> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="112828"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , 24547@debbugs.gnu.org To: "Trent W. Buck" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 31 23:25:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsw5u-000TBp-A7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Jul 2019 23:25:10 +0200 Original-Received: from localhost ([::1]:44668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsw5t-0000O5-0J for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Jul 2019 17:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47016) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsw5n-0000Nn-Iz for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2019 17:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsw5m-0002LO-Lc for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2019 17:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsw5m-0002LH-IB for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2019 17:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsw5m-0004jL-Bg for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2019 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156460829918165 (code B ref 24547); Wed, 31 Jul 2019 21:25:02 +0000 Original-Received: (at 24547) by debbugs.gnu.org; 31 Jul 2019 21:24:59 +0000 Original-Received: from localhost ([127.0.0.1]:53191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsw5j-0004iu-9s for submit@debbugs.gnu.org; Wed, 31 Jul 2019 17:24:59 -0400 Original-Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:42200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsw5g-0004iY-7O for 24547@debbugs.gnu.org; Wed, 31 Jul 2019 17:24:57 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E0CFE6A1728; Wed, 31 Jul 2019 21:24:54 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a99.g.dreamhost.com (100-96-90-160.trex.outbound.svc.cluster.local [100.96.90.160]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 545986A1FD2; Wed, 31 Jul 2019 21:24:49 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a99.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Wed, 31 Jul 2019 21:24:54 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Whistle-Trade: 625827f57e044e63_1564608289629_3542721502 X-MC-Loop-Signature: 1564608289629:2559372451 X-MC-Ingress-Time: 1564608289629 Original-Received: from pdx1-sub0-mail-a99.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a99.g.dreamhost.com (Postfix) with ESMTP id 4F53B810A2; Wed, 31 Jul 2019 14:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=eMhPhRdsoABniAbv0S+oVHhgJOI=; b= 1OBtGiB7Zd77k4GP9MQeP8Jt68AWD3WXuEVFr37oEN8YZ1dyNGUJQdytlyUMGqyS 62WzeRa5vXzKoTrES4fbgPRs1FrxA06Z9LxQiNpegZ4qpikj9EPGad7Yu855hvam jcaEImKNjQlwh+cJE/yMSoE7o/kcI3tr3RIlLmXCsw8= Original-Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a99.g.dreamhost.com (Postfix) with ESMTPSA id 448878109E; Wed, 31 Jul 2019 14:24:41 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a99 In-Reply-To: <20190728145350.GA29513@goll.lan> (Trent W. Buck's message of "Mon, 29 Jul 2019 00:53:56 +1000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrleehgdduheelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehtrhgvnhhtsghutghksehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164191 Archived-At: >> What are the remaining special file types possible in ls output? >> >> For example, in /run I see only "s" and "p" files. But in /dev there are >> also "b" and "c". These "block" and "character" device files could be >> highlighted using the same face with sockets and pipes. > > As I hinted earlier, GNU ls's --color output is governed by the dircolors program. > "dircolors --print-database" gives a bunch of stuff. The part you asked about is: > > DIR 01;34 # directory > LINK 01;36 # symbolic link. (If you set this to 'target' instead of a > # numerical value, the color is as for the file pointed to.) > MULTIHARDLINK 00 # regular file with more than one link > FIFO 40;33 # pipe > SOCK 01;35 # socket > DOOR 01;35 # door > BLK 40;33;01 # block device driver > CHR 40;33;01 # character device driver > ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ... > MISSING 00 # ... and the files they point to Thanks for the detailed explanation. I wonder what would be a common word for these special file types: pipe, socket, block and character device? Currently the face name is 'dired-socket', but this doesn't seem right since it's used not only for socket, but also for pipe, block and character devices. Is 'dired-special' a better name? At least the manual (info "(coreutils) What information is listed") named them "special file".