From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Terminal emulator in Windows Date: Wed, 11 Jan 2023 15:19:51 +0200 Message-ID: <83eds1mcnc.fsf@gnu.org> References: <87bkn6hkwa.fsf@disroot.org> <83a62qo72p.fsf@gnu.org> <877cxunz6c.fsf@disroot.org> <83wn5umi8j.fsf@gnu.org> <87zgapmn1z.fsf@disroot.org> <87a62pfkdd.fsf@yahoo.com> <83h6wxme2y.fsf@gnu.org> <871qo1fcoc.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24772"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akib@disroot.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 11 14:20:18 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pFb1d-00069M-CE for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Jan 2023 14:20:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFb0s-0002w2-QY; Wed, 11 Jan 2023 08:19:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFb0o-0002vk-Qw for emacs-devel@gnu.org; Wed, 11 Jan 2023 08:19:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFb0o-0001FI-Ed; Wed, 11 Jan 2023 08:19:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=g3fLNRG8Xc7U8GAucSmee0c4ODxmYbhg1kd6gANroyQ=; b=AFCaTHSJEk4v gSUZYAxqTHje0+WWmZ1atVDSRGX1WtQPCnrLGIrmnDTmFNOprPoeHk450G9v9e5O/Ul4vxYkQ9pwp MMF+K0AH4cVFpiL5o/251YGds/2KebiXBICEBDG67kOBnt50+Hsf5DVVjBD1FPEvy3pbWRU38Bv6X lzZza7oX+XhYZVjBTIahKtl2TBrn5Ex1bv/MMIgkJQD1qUELLDkUpRg1Bniic2Nn84wpxGpkn3+QG Z1cOlH29PgGtqlR6g97RBNfBBBJLD0g2mHkA1R4RpgTCMq4FGqECxgM3rk5yn0U2/86F3kMnRdTrm GbVL8XCU1PwInlb4IbJhNA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFb0j-0002y0-3j; Wed, 11 Jan 2023 08:19:25 -0500 In-Reply-To: <871qo1fcoc.fsf@yahoo.com> (message from Po Lu on Wed, 11 Jan 2023 21:01:07 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302338 Archived-At: > From: Po Lu > Cc: akib@disroot.org, emacs-devel@gnu.org > Date: Wed, 11 Jan 2023 21:01:07 +0800 > > Eli Zaretskii writes: > > >> From: Po Lu > >> Cc: Eli Zaretskii , emacs-devel@gnu.org > >> Date: Wed, 11 Jan 2023 18:14:54 +0800 > >> > >> Akib Azmain Turja 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 think it does, but it is almost never used. I remember at some point logging into a Windows system via telnet, which emulated vt100.