[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prompt issue with tramp shell
From: |
Colin Baxter |
Subject: |
Re: Prompt issue with tramp shell |
Date: |
Sun, 18 Oct 2020 15:37:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
>>>>> Daniel Martín <mardani29@yahoo.es> writes:
> Ergus <spacibba@aol.com> 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 can't reproduce the issue. Check if you have a ~/.emacs_BASH or
> ~/.emacs.d/init_BASH.sh that may be configuring the prompt
> incorrectly. You could also try to run /bin/sh instead; that will
> ignore any ~/.bashrc from the remote system.
Try putting only the following three lines in your ~/.emacs_bash
# -*- mode: sh; -*-
# echo ""
printf '\r\n%.0s' {1..50} ## Clears screen and puts single prompt at bottom
Best wishes,
- Prompt issue with tramp shell, Ergus, 2020/10/16
- Re: Prompt issue with tramp shell, Colin Baxter, 2020/10/16
- Re: Prompt issue with tramp shell, Daniel Martín, 2020/10/18
- Re: Prompt issue with tramp shell,
Colin Baxter <=
- Re: Prompt issue with tramp shell, Ergus, 2020/10/20
- Re: Prompt issue with tramp shell, Emanuel Berg, 2020/10/20
- the Elisp robot [photo] (was: Re: Prompt issue with tramp shell), Emanuel Berg, 2020/10/20
- Re: the Elisp robot [photo] (was: Re: Prompt issue with tramp shell), Emanuel Berg, 2020/10/20
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21