Max Nikulin <maniku...@gmail.com> writes:

>>>> 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?
> ...
>   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.

I guess not on Windows (bug#71081). But otherwise I agree.

Although, I am not sure what we need to document and what we just need
to rewrite. In theory, we may work around all the pty-related problems
by simply running a script file (that possibly also echoes its commands
to keep them recorded for user examination).

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to