Can four windows be distributed to four monitors? Answer question from Galactica

Source: Internet
Author: User

This question raised by Galactica is actually a broad question. So here I use a completeArticleTo answer.

 

First of all, can the Undo window be used in non-programmer GNU Emacs... shell mode 11th ??? In this article, I demonstrated a four-window working area. It looks like this. Galactica raised a question: "Can four windows be distributed on four monitors? When answering this question, I need to clarify several concepts first.

First, the so-calledWindowWindow is an Emacs concept. The concept of "window" under our general concept is called a frame in Emacs. In the definition of Emacs, a frame is a rectangular area on the screen. In the terminal environment, a frame is basically a display area of a monitor. In the X Window environment, a frame is basically included in an area of an X Window window. And"Window(Window) ", in the concept of Emacs, isA rectangle area in the frame.. Well, maybe this is why Emacs was able to provide the multi-window working mode in the terminal environment before X Window was invented.

Therefore, Galactica asked "Can four windows be distributed on four monitors ?" The first thing to solve isFrameCan it be distributed to four monitors. Next we will discuss this issue.

First of all, in terminal mode, it is obvious that it does not work. I don't know if it can be achieved through special hardware support.

What about X Window? We know that in the X Window environment, the region of an Emacs frame is the"Window). How can we understand this window? To put it simply, you can understand it as a so-called "desktop" in the MS windows concept, though not very accurate. Obviously, with the support of suitable hardware, you can configure these four monitors as a screen (Display) of X Window, on this huge virtual screen, the window of X Window can be enlarged to four physical displays. And so on, the Emacs frame running in this "window" and the Emacs window in this Emacs frame can be easily expanded to such a huge range. Below is one of my Emacs frame extensions to two monitors in this mode (sorry I don't have four monitors:-P ).

In the X Window environment, there is another working mode. It is to configure four different screens on four monitors. Of course, it can also be two. Then these four different display configurations have different windows ). In this environment, it is clear that the Emacs frame in any window cannot exceed the size of its X Window. At this time, you can open four X Windows on the four screens of the four monitors. Each window runs an Emacs frame and an Emacs window, in this way, you still have four Emacs windows in total. Alternatively, you can open four X Windows on the four screens of the four monitors. Each window runs an Emacs frame and four Emacs windows, in this way, you have a total of 16 Emacs windows.

Of course, there is no absolute thing in the world. No matter which method is used, the ultimate goal is to have as many available Windows as possible (of course, it must be large enough to be available) so that we can take care of multiple tasks at the same time. So if you have a large enough monitor, you can open enough Emacs windows. There are no technical barriers. It may be a little effort to configure X Window to meet your specific needs. Even if we use the first mode, we use a huge display, just like this, although it seems quite enjoyable, but in actual use, these virtual Windows are also quite uncomfortable when crossing the edges of different physical displays.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.