From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Terminal emulator in Windows Date: Wed, 11 Jan 2023 21:01:07 +0800 Message-ID: <871qo1fcoc.fsf@yahoo.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14793"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: akib@disroot.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 11 14:02:43 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 1pFakc-0003GI-W0 for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Jan 2023 14:02:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFajc-0005CC-8o; Wed, 11 Jan 2023 08:01:40 -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 1pFajQ-00058p-R7 for emacs-devel@gnu.org; Wed, 11 Jan 2023 08:01:34 -0500 Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFajI-0006KR-NJ for emacs-devel@gnu.org; Wed, 11 Jan 2023 08:01:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673442077; bh=77i1ui/DH7UafgAoGsC/nZjhMBcf2RsFKQ1gNSbjvCU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=GvQgr3yoDFjzHd0RPJuBkaP1tUEcdB/jw30qVsq6XgaGvS5AcJ+ZnKoAyzcrmO5QW0zlKUC+WwqeleqfKnfqC0fgjUNzzX182Se+ndzgXeI4xbrspzw4YGG4afEHCofCm2vEV26zGnmcTOXGtL6oeWdVO3fgTbDi9yYsdx5DWkmu0Ot/aOhcCPF8wfsHivgMA/S667ZctWyvTq4nNu21wlHv958B313gPER5uzf7PsTv1hPtWvPF+vX+gsZ20frfLuYqP2L68SLyiXrCSxmTg3I0FdJNSq66PwlzTqOM9qBal/euqc2IT5izK/z5bo8ZZWDCtBiKPfXpMQLfzN9pgw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673442077; bh=crYrBAhCmoPNVd2hy3wF+Px7ROo9BgEIWiHUR83+qRX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GDRMPpuyMOZOH+ht4pnrbk0mfBT/8cXnY+/+/Z+cdx3ITUM7OaZqPdCX6ZGEcKNXclgvxuSI4pZgcqWdy3PT3RYkC1RVLVRYIGYIkmLQdFBhXdG4KupHlHUFtb+Hg0lcX7BRzIuTkpayGml1vweV7ePtLung4wwWa+dpljUjW59X9/ZqYxoVM++CbbjY/xlA4CvA/JOEHev+52KeknXwwhNpfQju+OCTKax8pyGymTz3oCtPSP97+j8iTGRIwja72H/D4oz4dPWjkCfQrR26YM2flI/d2c4EtK9EPGsmbpJCRlN5EVvN5nglJEoI/ukY7CxLSS1udefXSeeMrD3N/Q== X-YMail-OSG: l0GpMscVM1l6aN60eoEBs9tThDNkv0W31YxHzgmlHkzgBxFXj33glLUJ21LQvbr yx6zpuFoIeCGpEYcfyRkdcLkch.EcW6ZldWOyN9usr0pAW6.j5lEML5alpVLzVmXiWwlu5XAO8ST Z0eZaebS4_vzlr2u6DiQ7K5Nuarc9h.JZc0gYz_bS4qv5E9X3bvqqQc9wtOQgY6_Op8A9E86qGcx 9aJXRcPLx7xjRW1ZPvP2JsYzR4yw330QAwScOek6b1FF4aB8SmkYMaqXQNqBbyGpLX1ZSP.g0dJt qAhUoJaA9EyPh9N0.Jb6CeNl_sJKZlIQ6yCeV09JmqQj1MRcNJyK..bVLIMD0L5PlHGL8aQvel78 OIn83hI4Ktt73nncGb3xqvAirYTqPuqMpeYoDPJL7xS8_Uq4UCR2..73LGcLja__TMuHle5SBJDy jOVmoiKUd4s2vE2TwY0oCtMG_uI6dzqfQcWWJBNy.GTzF1Wlip3F90.bbIOODaqDzPGrI2wlQzSU J.WB43EyS7SnT0t27M9X3SbO2eJ7od3Pb16EXZ_5cJw.bSJNTKqrk6vxgK56lD24uQC.g1YBgin6 wml5nujVf4uScbAnGDwK66Kb04jeUEa15X79sZ5SV__Ol7_VoKs6se8LITa_nigClfsTVDKEocxD 297haEXLB6B80c9AyJo8pIEU36Ybk6VJ7esovfVNR6zyisXqnwVJtT1GW72DpC3SOBNOF00Ye3L_ vbc40Zc_jrhynSXRs36Mn3ETLnOBbfQV5crZEgDSUuOIwoMHN6ndXRwamtYbtx3173Crp6A0QDL0 J6ItNOWMruya1qGnY.fpzdQaAXezAEVZsGtqTi8NZD X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 11 Jan 2023 13:01:17 +0000 Original-Received: by hermes--production-sg3-5ff5bbd69d-r9zfq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e308e006eda33f1a18e03bf511d881ff; Wed, 11 Jan 2023 13:01:13 +0000 (UTC) In-Reply-To: <83h6wxme2y.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 11 Jan 2023 14:48:53 +0200") X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.31; envelope-from=luangruo@yahoo.com; helo=sonic308-56.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:302337 Archived-At: 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? As far as I know, mintty and other tools are for the Cygwin Unix environment, and term.el does work on a Cygwin build of Emacs.