Closed lvxnull closed 8 months ago
overall LGTM. Thanks for your contribution.
the best contribution in this MR is the usage of shlex
and using the current working directory. I am wondering why I have not thought of both improvements.
Thanks a lot for not only giving the ideas, but also implementing it.
I have tested it locally and with foot
everything works fine (with and without spaces in folder names).
Not sure about flatpack
and remote folders
. Have you tested it?
I tested the vast majority of the supported terminals natively on debian. I also tested some terminals through flatpak, and they work as long as the terminal has access to user files. This can be tweaked through flatseal by the user if it's not the case by default. ~I did not test remote folders.~ UPDATE: I tested sftp. It works.
Since this PR adds shell quoting with shlex
, #80 is now obsolete.
I am tested it today. Locally all works perfect.
things I noticed:
SHLVL
to 1
. But to be honest lets not care about it. I see no blocking point here.err: slave.c:417: ssh -t u181505-sub1@u181505-sub1.your-storagebox.de cd / \; exec \$SHELL: failed to execute: No such file or directory
err: fdm.c:215: no such FD: 6
with spaces I am getting the same with quoting:
err: slave.c:417: ssh -t u181505-sub1@u181505-sub1.your-storagebox.de cd ''"'"'/test test'"'"'' \; exec \$SHELL: failed to execute: No such file or directory
err: fdm.c:215: no such FD: 6
@Stunkymonkey This happened because foot doesn't support passing the entire command as a single string. Should be fixed now.
yes works now.
I am wondering why I am seeing both context entrys, but that not your fault.
so all LGTM.
thank you very much for your fast responses and your contribution.
Also adds xterm support
Fixes #76 Fixes #79