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: bug#54245: 29.0.50; select usage in GNUstep Date: Mon, 14 Mar 2022 15:59:37 +0200 Message-ID: <83h780k52u.fsf@gnu.org> References: <877d99g2g1.fsf@gnus.org> <87r17hhexs.fsf@gmail.com> <87bkylqlbk.fsf@yahoo.com> <87mti4hby5.fsf@gmail.com> <87lexofcm5.fsf@gnus.org> <87h780ga7u.fsf@gmail.com> <83tuc0k7da.fsf@gnu.org> <875yogvet1.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8421"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, larsi@gnus.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 15:14:47 2022 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 1nTlTC-00021l-Qw for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 15:14:47 +0100 Original-Received: from localhost ([::1]:34998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTlTB-0004SI-IM for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 10:14:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTlEl-0000a2-Oj for emacs-devel@gnu.org; Mon, 14 Mar 2022 09:59:51 -0400 Original-Received: from [2001:470:142:3::e] (port=48798 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTlEl-0005dZ-9d; Mon, 14 Mar 2022 09:59:51 -0400 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=O+OW8MxYFpE45hZ4y9KZkzLAHpB1Qvr99pGH1g4QUY8=; b=F1rvJ19Y0wDZ yxxR1aujnVZKbOQar05TceaXQG6evW/BS4q7G2g1NN2V3eo0B1PQm43YN4lORA7EtTVfHbpL2PuYm uV+Pz5GVbRjkaF2fmkscMR4beeX+35C+9FOhfoHMhB5WgVm6VouZpUJ5476tqh8HEJYv86lhq/znm LALKI+Gq8u8aifrUaEZpOgpXS9FacUqW3NmmvfxL9xhKTiQptddWeWGQWrBGoyDGtMJ4wU3xUVX3j Sy+WJd7YH7OcDghKToy+4qf0CBdjddtDC7LVd6O0p+OjEZWc4JcEfTkNZMoHi4FNymc3fEggVSaof BjRv+GzbuKGr7jekRGt3KQ==; Original-Received: from [87.69.77.57] (port=4469 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 1nTlEk-0002m7-OY; Mon, 14 Mar 2022 09:59:51 -0400 In-Reply-To: <875yogvet1.fsf@yahoo.com> (message from Po Lu on Mon, 14 Mar 2022 21:34:02 +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" Xref: news.gmane.io gmane.emacs.devel:287147 Archived-At: > From: Po Lu > Cc: Robert Pluim , larsi@gnus.org, emacs-devel@gnu.org > Date: Mon, 14 Mar 2022 21:34:02 +0800 > > Eli Zaretskii writes: > > > The HAVE_SELECT in msdos.c is for the (old and quite defunct) MSDOS > > build with Xlib (yes, there was such a beast: see those HAVE_X_WINDOWS > > in msdos.c?), so IMNSHO we can simply drop HAVE_SELECT in msdos.c. > > When I had the time a few weeks ago, I looked into resurrecting the X11 > build on MS-DOS, but could not find any information about an Xlib > implementation for DJGPP. So I can't help but wonder exactly what > enviroment that build once ran on. > > I'd be indebted to anyone with that information. The environment was DesqView/X. It came with a tailored version of Xlib and other X libraries/utilities that ran on plain MS-DOS using (I think) the DesqView's own QEMM DOS extender. This was before DJGPP v2.x was developed that uses DPMI to switch the processor into protected mode and run 32-bit protected-mode code that uses virtual memory. That's all I know. I never myself built such an Emacs, and never used DesqView/X. See https://en.wikipedia.org/wiki/DESQview for more. Note that nowadays you'd need such an Xlib compiled with DJGPP v2.x, which could run in the DPMI environment, so if DesqView/X is still available somewhere, you will probably need to use QDPMI on plain MS-DOS. And if you run on plain MS-DOS, you'd have gazillion problems with long file names that clash in the 8+3 namespace, because Emacs stopped trying to be 8+3 clean long ago. So resurrecting such a build would be a non-trivial project.