emacs-devel
[Top][All Lists]
Advanced

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

Re: Terminal emulator in Windows


From: Akib Azmain Turja
Subject: Re: Terminal emulator in Windows
Date: Wed, 11 Jan 2023 21:18:46 +0600

Rudolf Schlatte <rudi@constantly.at> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>>>> From: Po Lu <luangruo@yahoo.com>
>>>> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
>>>> Date: Wed, 11 Jan 2023 18:14:54 +0800
>>>> 
>>>> Akib Azmain Turja <akib@disroot.org> writes:
>>>> 
>>>> > In general, is it possible to implement Windows terminal emulation?
>>>> 
>>>> Since MS Windows has never been used connected to text terminals, what
>>>> would be the point?
>>>
>>> I don't think this is accurate.  Windows XP implements the telnet
>>> protocol, so you can connect to it from a remote system.
>>>
>>>> AFAIU it is possible to run command.com in a shell buffer, but when you
>>>> do that you cannot restart the system without it being wedged.  I think
>>>> that is the more important thing to fix, but I don't know where to
>>>> start.
>>>
>>> I'm not sure I see the relevance.  cmd.exe can indeed be run via
>>> "M-x shell", but that's not a terminal emulator, since terminal
>>> commands (like cursor movement and colors) are not supported.
>>> "M-x shell" is just a simple text-mode interface to the shell
>>> and any console commands you run.
>>
>> Right, but Windows doesn't have a native, terminal interface with cursor
>> movement, correct?
>
> I believe Windows got one relatively recently, see this blog post from
> 2018:
>
> https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/
>
>

Hmm, a quick internet search reveals that the thing is an API, not an
escape sequence protocol like the VT series terminals or ECMA-48
specification.

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

Attachment: signature.asc
Description: PGP signature


reply via email to

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