duadua
V2EX  ›  macOS

请问控制终端屏幕刷新的环境变量或者设置是哪个?iTerm 和 Terminal 表现不一致

  •  
  •   duadua · Oct 9, 2014 · 3785 views
    This topic created in 4409 days ago, the information mentioned may be changed or developed.
    $ vim ~/.profile
    然后退出vim

    这是iTerm下结果


    这是Terminal下结果
    2 replies  •  2014-10-09 11:56:20 +08:00
    dorentus
    dorentus
    Oct 9, 2014
    1
    echo $TERM 看看,应该是下面的 TERM 不对吧。

    到 Terminal 的“设置”-“高级”里面,“仿真”-“声明终端为”处,改成“xterm-256color”应该就好了。
    duadua
    duadua
    OP
    Oct 9, 2014
    2
    @dorentus
    谢谢! 原来Terminal Emulation是ansi,iTerm是xterm-256color
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4166 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:05 · PVG 09:05 · LAX 17:05 · JFK 20:05
    ♥ Do have faith in what you're doing.