GNU bug report logs -
#65039
30.0.50; [PATCH] Add bookmark handler for M-x shell
Previous Next
Reported by: Protesilaos Stavrou <info <at> protesilaos.com>
Date: Thu, 3 Aug 2023 14:42:01 UTC
Severity: wishlist
Tags: patch
Found in version 30.0.50
Fixed in version 31.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Visuwesh <visuweshm <at> gmail.com>
> Date: Fri, 4 Aug 2023 20:05:03 +0530
> [... 20 lines elided]
>> Thank you! This seems reasonable. Have you checked the variable
>> 'shell-file-name'?
>
> Unfortunately, it is not always reliable. I use mksh as my (local)
> shell but I use bash in the remote system. In these remote shells, I
> don't see the correct value being set:
>
> (list major-mode (file-remote-p default-directory) shell-file-name shell--start-prog)
> ⇒ (shell-mode "/ssh:REDACTED <at> REDACTED:" "/bin/mksh" "bash")
>
> `shell' also has this comment before the prompt for remote shell
> filename:
>
> ;; On remote hosts, the local `shell-file-name' might be useless.
>
> HTH.
I see. Thanks for the explanation! I shall revisit this patch as soon
as I have a way to test ssh myself. Not sure when...
--
Protesilaos Stavrou
https://protesilaos.com
This bug report was last modified 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.