🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #862

Re: Using multiple displays with Epoch 4.0

#862
From: Brook Conner
Date: Sat, 22 May 1993 18:47
37 lines
2227 bytes
**> On 21 May 1993 18:51:11 -0400, Greg.Schechter@eng.SUn.COM (Greg Schechter) said:

  Greg>   Perhaps someone has encountered this situtation and found a solution?
  Greg> I want to run one instance of Epoch (I'm currently on Epoch 4.0
  Greg> Patchlevel 1), and have the flexibility of creating new screens on a
  Greg> different X display than the one I started up on.

Sorry, Greg, epoch won't do that.

It creates a single Display andd never makes another Display
connection (like most X Clients).

I suppose in theory it shouldn't be hard to modify x_create_screen to
make a new connection, but you only want to do that if you are making
a new connection on a different display (you don't want to run out of
file descriptors...).  Also, you'd have to hack the event handling
code in a major way --- I don't want to think what that might look
like.

  Greg>   The obvious way to me to do this would be to set my DISPLAY
  Greg> environment variable within the emacs environment (via "M-x setenv")
  Greg> to the other display (say ":0.1" if my default display was originally
  Greg> ":0.0").  However, this doesn't seem to affect the creation of
  Greg> subsequent windows.

All that will do is affect the environment passed to child
processes.....

  Greg>   Has anyone tried this with any luck?

This kind of thing (and others, like dialing up via modem and
connecting to an existing Emacs process) is one reason why Emacs 19 is
using the X Toolkit to handle event processing.

Brook
--
Klacktoveedsedstene
Technical Details
Message-ID: <DBC.93May22134713@hamlet.cs.brown.edu>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!brunix!doorknob!dbc
References: <15932.738021898@atticus>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,73be33f046e96c94
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1993-06-04 07:34:23 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!brunix!doorknob!dbc
From: dbc@cs.brown.edu (Brook Conner)
Subject: Re: Using multiple displays with Epoch 4.0
In-Reply-To: Greg.Schechter@eng.SUn.COM's message of 21 May 1993 18:51:11 -0400
Message-ID: <DBC.93May22134713@hamlet.cs.brown.edu>
Sender: news@cs.brown.edu
Organization: Dept. of Computer Science, Brown University
References: <15932.738021898@atticus>
Distribution: gnu
Date: Sat, 22 May 1993 18:47:13 GMT
Lines: 37