如何更改 Limp 用于连接 SBCL 的屏幕管理器“Screen”中的字体大小?
我最近开始使用 Lisp,而 Limp 是 VIM 唯一可用的插件。但是,一旦我设置好并按 F12,出现的类似终端的窗口的字体就非常小。我的屏幕分辨率为 1920x1080,阅读这么小的字体是不切实际的。我浏览了“屏幕”的手册页,但找不到任何有关更改字体或字体大小的有用信息。有办法做到这一点吗?
使用“xterm”而不是“screen”之类的东西怎么样?我查看了bridge.vim的代码。我不认为这是一项太大的任务。对此有什么想法吗?
I recently started using Lisp and Limp is the only available plugin for VIM. But, once I set it up and hit F12, the terminal like window that appears has a very small font size. I have a screen resolution of 1920x1080 and it's impractical to read such small fonts. I went through the man page of 'screen', but couldn't find any useful information on changing the font or font size. Is there a way to do this?
And how about using something like 'xterm' rather than 'screen'? I looked through the code of bridge.vim. I don't think it is too much of a task. Any ideas on this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
screen
是指 GNU screen 吗?GNU screen 是一个在另一个终端或模拟器中运行的终端模拟器。它无法直接控制字体大小;它纯粹基于文本。您看到的窗口必须是某个 GUI 终端模拟器;你还没有告诉我们足够的信息来猜测哪一个(可能是 xterm,可能是 Gnome 终端,等等)。
对于 xterm,control-right-click 应该会弹出“VT Fonts”菜单,它可以让您选择不同的字体。如果没有任何可用字体符合您的喜好,您可以使用 X 资源重新配置选项,包括默认字体的选择。
xterm 还支持设置当前字体的控制序列。您必须知道所需字体的名称。
xlsfonts
将向您显示一个非常长的字体名称列表(它只向我显示了其中的 5594 个)。例如,如果您从 xterm 中运行的 shell 运行此命令:它应该为您提供我通常使用的字体。 但是
screen
通常会拦截这样的转义序列,因此它可能无法在xterm
下的screen
中工作。其他终端仿真器应该有类似的机制。
By
screen
, do you mean GNU screen?GNU screen is a terminal emulator that runs in another terminal or emulator. It has no direct control over font sizes; it's purely text based. The window you're seeing must be some GUI terminal emulator; you haven't told us enough to guess which one (could be xterm, could be Gnome terminal, etc.).
For xterm, control-right-click should bring up the "VT Fonts" menu, which will let you select a different font. If none of the available fonts are to your liking, you can use X resources to reconfigure the options, including the choice for the default font.
xterm also supports a control sequence that sets the current font. You have to know the name of the font you want.
xlsfonts
will show you a very long list of font names (it just showed me 5594 of them). For example, if you run this from a shell running in xterm:it should give you the font I usually use. But
screen
generally intercepts escape sequences like that, so it probably won't work fromscreen
underxterm
.Other terminal emulators should have similar mechanisms.