• MobaXterm使用


    配置文件: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.

    1. Close MobaXTerm, otherwise changes to the ini-file will be overwritten
    2. find the documents inside your user folder and got to the folder named MobaXterm
    3. open the file named MobaXterm.ini with a text editor
    4. look for the section called [Misc]
    5. in this section add a line like this:

      ScrollMod=alt 

    Chosse a parameter that suits your needs: alt | ctrl | shift

    1. 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.

     

  • 相关阅读:
    iOS中的NSTimer 和 Android 中的Timer
    正则表达式中*的使用小注意
    NSUrlConnection 和 NSUrlRequest 的关系
    iOS 中的第三方库管理工具
    Android 向Application对象添加Activity监听
    Android dp px转化公式
    Android 返回桌面的Intent
    Spring+SpringMVC+Hibernate小案例(实现Spring对Hibernate的事务管理)
    Equinox OSGi应用嵌入Jersey框架搭建REST服务
    在OSGI容器Equinox中嵌入HttpServer
  • 原文地址:https://www.cnblogs.com/youxin/p/15984452.html
Copyright © 2020-2023  润新知