[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.2.11-24.5); Can't connect to qnx4 machine via telnet
From: |
Michael Albinus |
Subject: |
Re: tramp (2.2.11-24.5); Can't connect to qnx4 machine via telnet |
Date: |
Fri, 08 Apr 2016 09:28:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Michael Kuryshev <address@hidden> writes:
Hi Michael,
> I’m not sure why that happens. QNX4 uses modified korn shell and an
> old one. I can’t set $PS1 from `env' command but I can pass additional
> env variable ENV pointing to ~/.kshrc which sets proper prompt
> invitation.
>
> Is it possible to modify exec's env parameters? I would like to change
>
> ENV=''
>
> to
>
> ENV=/.kshrc
>
> .
Yes, you could do it in the code. See tramp-sh.el, function
`tramp-open-shell'. But there might be other surprises, too :-(
> Thanks.
Best regards, Michael.