如何配置Msys的默认大小,颜色和字体? [英] How do you configure Msys's default size, color, and font?

查看:185
本文介绍了如何配置Msys的默认大小,颜色和字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在探索使用MSys作为Windows开发的一种类似"nix的外壳".但是,默认的颜色和尺寸使我发疯.有人对我如何更改默认大小,颜色和/或字体有任何想法吗?老实说,如果我可以将默认的Shell字符宽度/高度设置得更大一点,我会很高兴,但是其他人也很好...

I've been exploring use of MSys lately as an alternative, 'nix-like shell for my windows development. However, the default colors and size are driving me crazy. Anyone have any idea as to how I can change the default size, color, and / or font? Honestly, I'd be happy if I could make the default character width/height of the shell larger, but the others would be nice too...

说明:msys shell是与Windows shell分离的应用程序-不存在正常的"right-click-upper-left-> properties"配置(与Windows Shell一样).

Clarification: the msys shell is a separate app from the windows shell - the normal 'right-click-upper-left -> properties' configuration (like with the windows shell) is not present.

看起来像是在发射rxvt.谢谢!

Looks like underneath it's firing off rxvt. Thanks!

推荐答案

如果从命令行运行MSYS bash,则在后台是Windows命令外壳窗口,因此配置它是相同的.

If you're running MSYS bash from a command line, Behind the scenes it's a windows command shell window, so configuring it is just the same.

  • 右键单击标题栏上的 外壳窗口的顶部,然后选择 '属性'

  • Right click on the title bar at the top of the shell window and select 'properties'

使用选项配置窗口 在对话框的选项卡上;这些 应该是不言自明的.

Configure the window with the options on the tabs on the dialog; these should be fairly self-explanatory.

关闭对话框时,选择 '修改启动此操作的快捷方式 窗口"以保存配置 返回为默认值.

When you close the dialog, select 'Modify shortcut that started this window' to save the configuration back as defaults.

编辑:如果您正在通过X服务器在xterm或RXVT窗口中运行Shell,请使用-fg(前景),-bg(背景)和-fn(字体).记不清RXVT开关是什么,但是您应该能够在手册页中看到它们.您也可以通过.Xdefaults文件配置它们.同样,请参见手册页以获取详细信息.

If you're running the shell in an xterm or RXVT window through an X server, start the xterm window with -fg (foreground), -bg (background) and -fn (font). Can't remember what the RXVT switches are, but you should be able to see them in the man page. You can also configure them through your .Xdefaults file. Again, see the man page for details.

:Paulo,请注意,MSYS还附带了XVT的X-less版本,该OP似乎正在使用该版本.这是在MSYS上配置RXVT的链接.

Thanks Paulo - note that MSYS also comes with an X-less version of RXVT, which the OP seems to be using. Here's a link for configuring RXVT on MSYS.

这篇关于如何配置Msys的默认大小,颜色和字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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