From: Giovanni Biscuolo <g@xelera.eu>
To: help-gnu-emacs@gnu.org
Cc: help-guix@gnu.org
Subject: Re: 29.1: tramp: use $SHELL environment variable to start remote shell?
Date: Fri, 23 Feb 2024 19:31:42 +0100 [thread overview]
Message-ID: <87jzmv58xd.fsf@xelera.eu> (raw)
In-Reply-To: <87o7c75j1l.fsf@xelera.eu>
[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]
Giovanni Biscuolo <g@xelera.eu> writes:
[...]
> I need my remote profile to be loaded because all hosts I manage have
> Guix [2] installed and all needed environment variables are set by the
> user profile; here is an example of a "M-x shell" remote connection to a
> guix host (foreign distro), the same holds for "M-x eshell":
>
> --8<---------------cut here---------------start------------->8---
>
> /ssh:local.biscuolo.anemone:/localhome/g/ #$ guix describe
> guix 3676e31
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: 3676e312aaf1ce10ed1d7844e871b54e04624098
> /ssh:local.biscuolo.anemone:/localhome/g/ #$ $SHELL -l
> (anemone)g@anemone:~$ guix describe
> Generation 9 Apr 21 2021 09:23:33 (current)
> guix 13c4a37
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 13c4a377f5a2e1240790679f3d5643385b6d7635
>
> --8<---------------cut here---------------end--------------->8---
> (as you can see, without proper environment guix is not able to run as
> it should)
Please forgive me for the noise: the problem is in the environment of
(one of) my remote user!
I tested again with other users on other hosts and the environment
variables of my profile are correctly set.
Anyway, the shell I get when connecting is still not fully functional,
for example autocompletion does not work (write a substring and then
TAB) and also up and down arrow keys do not work (echoes escape
sequances instead of showing the shell history)
Am I still doing something wrong with my environment?
Ouch! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
next prev parent reply other threads:[~2024-02-23 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 14:53 29.1: tramp: use $SHELL environment variable to start remote shell? Giovanni Biscuolo
2024-02-23 18:31 ` Giovanni Biscuolo [this message]
2024-03-01 21:35 ` James Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzmv58xd.fsf@xelera.eu \
--to=g@xelera.eu \
--cc=help-gnu-emacs@gnu.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).