Debian下如何在GNU screen中获得40多个窗口 [英] How to get more than 40 windows in GNU screen under Debian

查看:32
本文介绍了Debian下如何在GNU screen中获得40多个窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是终端程序screen,它可以在一个真实"终端中创建多个虚拟终端"(这里的虚拟"和真实"这两个词是相对的,真实"终端可以是一个konsole 选项卡,不一定是 tty1-tty6).问题是我不能在一个屏幕内创建超过 40 个窗口.当我尝试创建更多时,屏幕显示不再有窗口".经过一番谷歌搜索,我发现这是由一个叫做 MAXWIN 的东西控制的,但我没有找到任何信息如何修改这个 MAXWIN.如何增加单个屏幕内的最大窗口数?

I am using the terminal program called screen, which can create several "virtual terminals" in a single "real" terminal (the words "virtual" and "real" here are quite relative, the "real" terminal can be a konsole tab as well, not necessarily tty1-tty6). The problem is that I cannot create more than 40 windows inside a single screen. When I try to create more, screen says "No more windows." After some googling I found that that this is controlled by something called MAXWIN, but I didn't find any information how to modify this MAXWIN. How can I increase the maximal number of windows inside a single screen?

我使用 Debian 6挤压".

I use Debian 6 "squeeze".

PS 我知道我可以在多个真实"(在上述意义上)终端中运行多个屏幕,但这使得使用多显示模式(screen -x)变得更加困难.

PS I understand that I can run several screen's in several "real" (in the above sense) terminals, but this makes it harder to use multiple display mode (screen -x).

推荐答案

这是一个编译时选项.严格使用来自上游的软件包,这是无法完成的.如果你想自己编译屏幕,你可以做到这一点.查看 config.h.in 文件.靠近顶部的是 #define MAXWIN 40.将其更改为您的新限制.

That's a compile time option. Using strictly packages from upstream, it can't be done. If you wanted to compile screen yourself, you could accomplish this. Look in the config.h.in file. Near the top will be # define MAXWIN 40. Change that to your new limit.

(更多信息)

这篇关于Debian下如何在GNU screen中获得40多个窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆