From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: how to customize shell prompt (for emacs tramp compatibility) Date: Thu, 13 Dec 2018 18:32:16 +0100 Message-ID: <874lbhgwnz.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXUqq-0000f3-My for help-guix@gnu.org; Thu, 13 Dec 2018 12:32:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXUql-0006cm-MI for help-guix@gnu.org; Thu, 13 Dec 2018 12:32:44 -0500 Received: from ns13.heimat.it ([46.4.214.66]:38538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXUql-0006b4-Dc for help-guix@gnu.org; Thu, 13 Dec 2018 12:32:39 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id E1A8C300EA5 for ; Thu, 13 Dec 2018 17:32:37 +0000 (UTC) Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NEnaB_0mg5VV for ; Thu, 13 Dec 2018 17:32:18 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 76F42300673 for ; Thu, 13 Dec 2018 17:32:18 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id AB49E300056 for ; Thu, 13 Dec 2018 18:32:17 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I'm having problems to remotely browse my guixsd testing host using emacs dired via tramp, the exact error message I get is: =2D-8<---------------cut here---------------start------------->8--- tramp-file-name-handler: Couldn=E2=80=99t find a proper =E2=80=98ls=E2=80= =99 command =2D-8<---------------cut here---------------end--------------->8--- I found this explanation on stackexchange https://stackoverflow.com/questions/6954479/emacs-tramp-doesnt-work/8363532= #8363532 actually PS1 is \u@\h \w\$, it should be \u@\h:\w\$ to be "tramp compatible" please is there a way to declaratively customize user prompts in config.scm or similar? should that "unusual" prompt considered a bug to be fixed? [1] best regards Gio [1] I'm going where it's defined and try to propose a patch in guix-devel =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlwSl6EACgkQ030Op87M ORJJ+w//aA+qASlRqt0gdBbFIhkZDanXQixccsUfteB2/xx7JWnfTjwa1VQuZCLM 553AF2Eq+T58dbIMFbUQayTjhCXfDG+tcN7Upvt2E/myG3kG+Nfqaf68nIplIyf7 HbCnkpQJaYr+dIy3egd2sO2ZUCcpCvR0igV8r/BeFwZHJaisRugkC4NfPEIFjsYu 7vIfPI17RLqb3xl6mOkWhqrSj6tBfdc1Lo3Upc6kvpxX1jPaVsRJXa1AO8IZSqKs jfdRqZ28x5RrUeuKhX5HELoDvVbxGIIy2A+beGU/qxRyMHC0WZ+rAW6ZUrbaORM5 oQJV/shBlJ/vHbUZTsQhQvcXCaveVA+ZwdnsqMKTDyssEdUr3VflDiuhXAi/JD35 rNEDq2OR4DOos7sxx2TDrNSGmnHBa2f08MQHotHQLbhdsZhML50O2pIu2OisNxfe o2ihboi9zLaPYwHIZ3e4evrYwk2gBoIfti01U/taB5IidkqJW+z+6PC9CXMfUN5s qu9lC+Vt2x6X0Zv6SH+TePRT7NHjs474CZNiQqonIqfUhsY1fhNMNw7Ys7f6mr6j ldPlepTXGvH1bHmSBKqe/5shqLzDdVdWPbvstfTt1h6pFsAJQ0ukqb5iUe3bGYdV DWFwfO1UPUu/8G1F1JSuwyXTyuVhgRoVZPUvI1YLjgk1vSWOYWA= =48R+ -----END PGP SIGNATURE----- --=-=-=--