From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp and adb, strange escape codes in dired Date: Fri, 12 Jun 2020 17:50:08 +0200 Message-ID: <875zbw2si7.fsf@gmx.de> References: <87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <20200611152844.GA13455@tuxteam.de> <87pna5ebbs.fsf@gmx.de> <87bllozl9a.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Giovanni Biscuolo Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 12 17:51:57 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjlyH-0005Xv-KI for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jun 2020 17:51:57 +0200 Original-Received: from localhost ([::1]:52198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjlyG-0001HE-Fy for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jun 2020 11:51:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjlwd-0001GY-75 for help-gnu-emacs@gnu.org; Fri, 12 Jun 2020 11:50:15 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:34421) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjlwb-0005HC-20 for help-gnu-emacs@gnu.org; Fri, 12 Jun 2020 11:50:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1591977010; bh=vBWYBHPzFtmm+PkG+TN0sZZ1Gj6GQh6ji9jRjXZtANU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=b4IVOeha50PxTtW5gstB81TYmW3lcE1vPmtllKHFuBuUIgP9k8ayOrfAnrmWi/xaB DGZ1/4v6n5vduzWcQhe7sQ0HCsXewDAjzzMsEnNUyAE50WB5FJ8+nzmAPYsu2Ii8tw NIs9OsAsUTWHi9r709yvzsMEITqNgzIqdvdRHkdc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.53.192]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MnakR-1j2QR50rzB-00jbU8; Fri, 12 Jun 2020 17:50:10 +0200 In-Reply-To: <87bllozl9a.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> (Giovanni Biscuolo's message of "Fri, 12 Jun 2020 11:28:01 +0200") X-Provags-ID: V03:K1:jW9HduMbhZbD1J8vGU0an5lYhuAGXcvq0PMyYZ1aMXJ8nTQRVYh pQ8jecB83nvJV6Fpn+jqmkrQsvpZ2h+z+GjZyNAJXTtYb+74O8LgWzv9g+bDp4UZzBs9xvO K8yLVmp2j1qIeEK6ebtBP2Mo/7rOip0/Nlhr47p/3UErX/FecEWAPhs8rtLrnnBtVxb9X8V 7/Hd2iUwgMOudUV+g8uTw== X-UI-Out-Filterresults: notjunk:1;V03:K0:3WHgChMVeSk=:+LKKDPJOjeOhYOaLiDg+vK TwHdCTmNIPR26iDjJut5KTEAKtx8JcNOGwUUT70y8bpoGgMNu98Hc01teRfw4nyrreU4y+/2X ZGJ+UUJfFZ6aTmhOhlgdQE/4Vuv7CObv6oQRm2R20ne/99G89pJGtVCAuVqxLA0G0br+1i1/i bvek8j+9lPs/gYVop5ncclxW36dmwgpYJTrpplnJ8Uxh02xZvFXlvBCE1TCJ3bDjcsLJQdGrY OpM3uWl5KisxpfUUZN1BxwFVK3fagXM60+utqYIWT8D7qsP8ADcqetwZ8mb5IpgSUx3/adirB HLgUDqAIyJC9LgyhFWKY3PrYQVUbPr+eUOx5iK4s+HvmKdk9kH/nH1CkSrLQYg7eJfBWMbwus eRE6S1P3rcuKP/voTzER2smYC4CrHd1TMvcNXxfDk0KgMN94y/4kbzg07pVDCZagaPL8maKMb 178X15J+9pM3RI+bY9ZhEopQbscPWAwz8r7xiPPfHVVNXgDBkFfNq3raGL9gwxxuZ5muhiwbF 0lPkUljeJW16fXmnNS+qRuyc3d0UpkAY2Z+kpfLTfhW6nlZxHJt+pNEhNCFC8O+Ecbgjmhcox qCfREbeyq8Zp6dvccs8C1rVsn+cWXDqds+osUVGWVwO2BGh1Y54+aRycbBBJkxu2FnMedrxQ1 r9/ra51WrlDYdyEX6bvopMPzdz/JDBgfgP8zDo1DsGjjUD/13jWh5A3Q7WrjA+zHsmC+rdOjO e8qt3I2mIiDFEyROGo9CL6HS/F0B8K+n+5KggUF5nWzIYXZHSDXHKqremzQToYnD7Mkozsvz Received-SPF: pass client-ip=212.227.15.19; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/12 11:50:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123359 Archived-At: Giovanni Biscuolo writes: > Hi Michael, Hi Giovanni, > Is it more appropriate if I file a bug report? I can copy all the > relevant information from this thread to a proper bug report if this > helps. Yes, pls do if my following advice doesn't work. > Toybox, more info below, included tramp debug infos. That's also on my Galaxy. > In my adb shell, "ls -1" give me no colours. Same here. > Test #1 (adb shell via Emacs shell): > > jflte:/ # ls --time-style=long-iso /dev/null > ls --time-style=long-iso /dev/null > ls: Unknown option time-style=long-iso (see "ls --help") Same here. > Test #3 (adb shell via Emacs shell): > > jflte:/ # ls --color=never -al /dev/null > ls --color=never -al /dev/null > crw-rw-rw- 1 root root 1, 3 2020-05-31 13:03 /dev/null > > (/dev/null in the output above is in yellow) Same here. And since it is fixed for me in tramp-adb, there are good chances we'll fix it also for you :-) It looks to me like this is bug#30594 (https://debbugs.gnu.org/30594). This bug has been fixed with Tramp 2.4, part of Emacs 27.1. So I recommend you to install this Tramp version from GNU ELPA (Tramp 2.4.3.5 is the recent version). > Thank you and happy hacking! Gio' Best regards, Michael.