🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Greg Schechter Fri, 21 May 1993 22:51
Using multiple displays with Epoch 4.0
#780
Author: Greg Schechter
Date: Fri, 21 May 1993 22:51
26 lines
1696 bytes
Hi,

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

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

  Has anyone tried this with any luck?

Thanks,

Greg

=============================================================================
= Greg Schechter                             IMPS Advanced Technology Group =
= SunSoft, Inc.	          	    	    	    	 Mailstop MTV23-205 =
= 2550 Garcia Avenue                               Mountain View, CA  94043 =
= Greg.Schechter@Eng.Sun.COM   	    	    	    	     (415) 336-6950 =
=============================================================================
Re: Using multiple displays with Epoch 4.0
#862
Author: 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
Re: Using multiple displays with Epoch 4.0
#864
Author: Hamish Macdonald
Date: Fri, 04 Jun 1993 16:12
12 lines
1246 bytes
>>>>> On 22 May 1993 13:47:13 EST,
>>>>> In message <DBC.93May22134713@hamlet.cs.brown.edu>,
>>>>> dbc@cs.brown.edu (Brook Conner) wrote:

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

Lucid emacs 19.

FSF Emacs 19 is built directly on top of Xlib, as it always has been.
Re: Using multiple displays with Epoch 4.0
#865
Author: Jamie Zawinski
Date: Sat, 05 Jun 1993 01:26
22 lines
1622 bytes
In gnu.epoch.misc Brook Conner <dbc@cs.brown.edu> wrote:
> 
> I suppose in theory it shouldn't be hard to modify x_create_screen to
> make a new connection

The real tricky part is resource usage: you have to be careful to use server
IDs only with the server they came from, whereas right now, X ids are stored
all over the place.  (We're probably going to do it eventually.)

> 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.

This part is a no-brainer in lemacs.

> 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.

You mean Lucid Emacs; FSF19 still uses raw Xlib, which is a bad idea for
the reason you just stated...

	-- Jamie
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads