From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: Prompt issue with tramp shell Date: Fri, 16 Oct 2020 15:48:28 +0100 Message-ID: <87imbap6pv.fsf@yandex.com> References: <20201016144103.r3npeqap7uo63ney.ref@Ergus> <20201016144103.r3npeqap7uo63ney@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32214"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 16:52:43 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 1kTR63-0008IN-7n for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 16:52:43 +0200 Original-Received: from localhost ([::1]:46970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTR62-0007P6-98 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 10:52:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTR2C-0004Lv-KC for help-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:48:45 -0400 Original-Received: from forward105p.mail.yandex.net ([77.88.28.108]:45956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTR27-0002rf-T5 for help-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:48:43 -0400 Original-Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 449A24D40715; Fri, 16 Oct 2020 17:48:31 +0300 (MSK) Original-Received: from mxback11q.mail.yandex.net (mxback11q.mail.yandex.net [IPv6:2a02:6b8:c0e:1b4:0:640:1f0c:10f2]) by forward101q.mail.yandex.net (Yandex) with ESMTP id 40910CF40005; Fri, 16 Oct 2020 17:48:31 +0300 (MSK) Original-Received: from vla4-a16f3368381d.qloud-c.yandex.net (vla4-a16f3368381d.qloud-c.yandex.net [2a02:6b8:c17:d85:0:640:a16f:3368]) by mxback11q.mail.yandex.net (mxback/Yandex) with ESMTP id ZITdr75PSr-mVguZToR; Fri, 16 Oct 2020 17:48:31 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1602859711; bh=qNdoZrp2QswAErvNXEJrD5cg1Sb2t74D4awfhXTUDMg=; h=In-Reply-To:Subject:To:From:Cc:Cc:Date:References:Message-ID; b=MFSN+Y4AbNIU8DCfB0mqJ11sNXjPvZ0jMh66lf2A0tYTFqdlTHrizWCU9XABgKwLE mLa5JmaPaSTI7Rya3gBfcSlWR+M9JKd+8KtqiWqkFk3urLyGRZwR90Vvu+oMh2NFPy N3rcbsG08+dgzfbBj/me66w1NoRGv1MIGluKYx4U= Authentication-Results: mxback11q.mail.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by vla4-a16f3368381d.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id UlPhb2gCrg-mUnqo4Lx; Fri, 16 Oct 2020 17:48:30 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <20201016144103.r3npeqap7uo63ney@Ergus> (Ergus's message of "Fri, 16 Oct 2020 16:41:03 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=77.88.28.108; envelope-from=m43cap@yandex.com; helo=forward105p.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/16 10:48:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:124508 Archived-At: >>>>> Ergus writes: > Hi: I am trying to use a shell with tramp > C-x C-f ssh:/.... M-x shell > then I select bash. > and I have a problem that the prompt is shown twice like this: > []0; user@host:/home/user ^G[user@host /home/user]$ > I am not sure if I need an extra config on emacs or in bash? I recommend you to use eshell rather than shell. Best wishes,