zoukankan      html  css  js  c++  java
  • Mac OS X terminal滚动慢的问题

    From: http://superuser.com/questions/186284/mac-terminals-slow

    Are you scrolling and cursor-positioning by holding down the arrow keys and relying on automatic key repeat? If so, then the problem may simply be your key repeat rate. You can adjust that in the Keyboard panel of System Preferences.

    If you already have your Key Repeat Rate and Delay Before Repeat set to their fastest settings, then you may want to think about tweaking them manually using this trick that was posted on StackOverflow: http://stackoverflow.com/questions/171326/how-can-i-increase-the-key-repeat-rate-beyond-the-oss-limit/429465#429465

    You might also want to turn off Smooth Scrolling in the Appearance panel of System Preferences, in case that's slowing you down.

    It would also be interesting to compare Mac OS X's built-in Terminal.app to other terminal emulators on Mac OS X, such as iTerm, or xterm in the built-in X11 environment, or even Single User Mode (hold down Cmd-S at boot until you get a shell prompt) to see how those other emulators compare for the speed issues you're talking about.

    Once upon a time, Terminal.app was a bit slow when dumping tons of text to the window like cat'ing a huge file, because it insisted on drawing every character to the screen no matter how far behind it was getting on outputting the queued text, and it was taking too long to draw proper antialiased glyphs for every character. I haven't seen that be a problem in years and years though. 

    Change key repeat rate on that stackoverflow:

    On Mac OS X, open the Global Preferences plist

    open ~/Library/Preferences/.GlobalPreferences.plist 

    Then change the KeyRepeat field. Smaller numbers will speed up your cursor rate. The settings dialog will only set it to a minimum of 2, so if you go to 0 or 1, you'll get a faster cursor.

    I had to reboot for this to take effect. 

  • 相关阅读:
    php函数、php定义数组和数组遍历
    php语句
    php基础
    phpcms 标题设置
    上传头像预览
    简单的轮播样式
    ajax 小练习
    生成地图
    php注释规范
    thinkphp 实现分页
  • 原文地址:https://www.cnblogs.com/super119/p/3111764.html
Copyright © 2011-2022 走看看