emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash source code block: problem after ssh commands


From: Max Nikulin
Subject: Re: bash source code block: problem after ssh commands
Date: Mon, 1 Jul 2024 16:41:22 +0700
User-agent: Mozilla Thunderbird

On 30/06/2024 23:42, Ihor Radchenko wrote:
Max Nikulin writes:

On 30/06/2024 22:28, Ihor Radchenko wrote:
I do not see a great benefit of re-implementing session support via
actual terminal. (I think we agree here).

`shell' and so comint allocates "actual" pty.

Are you sure?

ps wf
    PID TTY      STAT   TIME COMMAND
   2269 pts/0    Ss     0:01 /bin/bash
 123454 pts/0    Sl     0:16  \_ emacs -Q
 125104 pts/4    Ss+    0:00      \_ /bin/bash --noediting -i
 129807 pts/5    Ss+    0:00      \_ /bin/bash
 132172 pts/6    Ss+    0:00      \_ /usr/bin/bash --noediting -i

pts/0 is created by konsole, others are `shell' and `term' sessions inside Emacs.

My experience is that it is not easy to start a process without a tty in Emacs. Eli will object.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]