MobaXterm使用
2022-03-09 11:47 youxin 阅读(2296) 评论(0) 编辑 收藏 举报
配置文件:https://blog.mobatek.net/post/mobaxterm-configuration-settings/
配置文件ini位置:
How to locate my MobaXterm configuration file?
Well, it depends… Your MobaXterm.ini configuration file should be located:
- in the same folder as MobaXterm executable if you are using MobaXterm Portable Edition
- in %MyDocuments%\MobaXterm folder if you are using MobaXterm Installer Edition
- in %MyDocuments%\MobaXterm folder if you are using MobaXterm Portable Edition and if you only have read access to the folder where the executable is
windows安装版位置:C:\Users\xxx\Documents\MobaXterm下面。
ssh keepalived:
隐藏菜单栏下的那排按钮
菜单栏下的那排按钮感觉有点鸡肋,全部可以从菜单栏里找到,而且使用频率也不是非常高。况且,大部分屏幕是长方形的,上下空间有限,左右还比较富余一些,因此去掉它可以省下很大空间。
在菜单栏点击 「view」 --> 「show menu bar」,即可隐藏此排按钮。
右键粘贴
在Moba及很多终端工具里,都有这样的功能:鼠标左键划选复制文件,右键粘贴文本。但在Moba中右键粘贴功能默认不打开,我们可以手动打开。
在菜单栏点击 「settings」 --> 「Configuration」,在弹出的对话框中选择 「terminal」,再将 「paste using right-click」 打上对勾即可。
修改鼠标滚轮行为:他默认的是滚轮滚动的是历史命令
https://superuser.com/questions/1348991/mobaxterm-how-to-change-mouse-scroll-in-to-terminal-screen-scroll-up-down
This is not a default behaviour and cannot be configured using the UI / settings dialogue. You have to manually edit the ini-file.
- Close MobaXTerm, otherwise changes to the ini-file will be overwritten
- find the documents inside your user folder and got to the folder named MobaXterm
- open the file named MobaXterm.ini with a text editor
- look for the section called [Misc]
-
in this section add a line like this:
ScrollMod=alt
Chosse a parameter that suits your needs: alt | ctrl | shift
- open MobXTerm again and scroll the window holding down the selected control key
see MobaXTerm-documentation here: https://blog.mobatek.net/post/mobaxterm-configuration-settings/
But heads up. This will probably still cause problems inside a screen session. You can fix this quick by pressing Ctrl + A and Esc or edit your .screenrc as described here:
按照上面说的,确实滚轮就是上下 滑动了。
[Misc]下面这个值可以设置大一点
ScrollbackLines 360000 Specify scrollback buffer size
mobaxterm将终端输出记录到日志文件
新建会话->SSH->终端设置->勾选将终端输出记录到,选择相应的文件夹即可
然后重新开启一个会话,就在你设置的目录下面,会有日志产生了
Session 断开连接后,可以很方便地再次连接
经常会遇到打开一个Session窗口,如果长时间不操作或者网络中途断开,需要重新登录远程机器的场景。
此时不需要关闭窗口,重新打开一个。
MobaXterm提供了便捷方式:只需要 输入R 即可重启 Session.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
2016-03-09 MySQL多表查询
2016-03-09 MySQL: ERROR13(HY000):Can't get stat of
2015-03-09 Linux定时器的实现
2015-03-09 Linux定时器 使用
2015-03-09 空基类优化empty base class optimization
2014-03-09 图灵完备
2014-03-09 转:implementing cons/car/cdr without explicit storage