[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default remote shell in tramp
From: |
Vinh Nguyen |
Subject: |
Re: default remote shell in tramp |
Date: |
Sat, 19 Jun 2010 09:47:43 -0700 |
On Sat, Jun 19, 2010 at 9:31 AM, Michael Albinus <address@hidden> wrote:
> Vinh Nguyen <address@hidden> writes:
>
>> So what are you suggesting I do here?
>
> Check the $TERM variable and don't do anything with $PS1, if $TERM is "dumb".
>
I deleted my .bashrc to test and it still hangs (had to do C-g C-g).
Here's the ending of the debug after starting a bash session using tramp:
MASK:~$
09:44:23.663587 tramp-maybe-open-connection (3) # Found remote shell
prompt on `MASK'
09:44:23.663858 tramp-send-command (6) # exec env ENV=''
PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/bash
09:44:40.967580 tramp-accept-process-output (3) # Opening connection
for MASK using ssh...done
Hmm, I also wouldn't want to always have to modify each .bashrc...that
isn't very portable. Maybe I should just do it via sshfs, but getting
it to work on a Mac is a pain.
>>> PS: I'll start a trip tonight, being almost offline for the next 2
>>> weeks. If this proposal doesn't help, we must continue when I'll return.
>>
>> Have a safe and fun trip. Hope this gets to you before you leave.
>
> Just starting, this is my last action ...
>
> Best regards, Michael.
- Re: default remote shell in tramp, (continued)
- Re: default remote shell in tramp, Michael Albinus, 2010/06/18
- Re: default remote shell in tramp, Michael Albinus, 2010/06/18
- Re: default remote shell in tramp, Vinh Nguyen, 2010/06/18
- Re: default remote shell in tramp, Michael Albinus, 2010/06/18
- Re: default remote shell in tramp, Vinh Nguyen, 2010/06/18
- Re: default remote shell in tramp, Michael Albinus, 2010/06/18
- Re: default remote shell in tramp, Vinh Nguyen, 2010/06/18
- Re: default remote shell in tramp, Michael Albinus, 2010/06/19
- Re: default remote shell in tramp, Vinh Nguyen, 2010/06/19
- Re: default remote shell in tramp, Michael Albinus, 2010/06/19
- Re: default remote shell in tramp,
Vinh Nguyen <=
- Re: default remote shell in tramp, Terrence Brannon, 2010/06/28
- Re: default remote shell in tramp, Terrence Brannon, 2010/06/28
- Re: default remote shell in tramp, Adrian Phillips, 2010/06/29