l0wkey
V2EX  ›  macOS

Yosemite 之后,在终端内外接键盘的小键盘无法输入

  •  
  •   l0wkey · Nov 23, 2014 · 4770 views
    This topic created in 4227 days ago, the information mentioned may be changed or developed.
    升级 10.10 之后,在终端内就无法使用外接键盘的小键盘了。。
    安装有:oh-my-zsh
    同事使用默认 bash 就没问题,小键盘可以正常输入。
    有人遇到过一样问题么?如何解决的呢?还是说这个暂时无解...
    5 replies    2014-11-24 10:26:58 +08:00
    gateswong
        1
    gateswong  
       Nov 24, 2014
    默默的试了一下,真是这样
    geeti
        2
    geeti  
       Nov 24, 2014
    .zshrc里边加入:
    ############
    # Keypad
    # 0 . Enter
    bindkey -s "^[Op" "0"
    bindkey -s "^[Ol" "."
    bindkey -s "^[OM" "^M"
    # 1 2 3
    bindkey -s "^[Oq" "1"
    bindkey -s "^[Or" "2"
    bindkey -s "^[Os" "3"
    # 4 5 6
    bindkey -s "^[Ot" "4"
    bindkey -s "^[Ou" "5"
    bindkey -s "^[Ov" "6"
    # 7 8 9
    bindkey -s "^[Ow" "7"
    bindkey -s "^[Ox" "8"
    bindkey -s "^[Oy" "9"
    # + - * /
    bindkey -s "^[Ok" "+"
    bindkey -s "^[Om" "-"
    bindkey -s "^[Oj" "*"
    bindkey -s "^[Oo" "/"
    #############
    nikolai
        3
    nikolai  
       Nov 24, 2014   ❤️ 2
    取消这个:

    bearzx
        4
    bearzx  
       Nov 24, 2014
    新系统出了是不是得等它稳定个一年再更新。。。
    l0wkey
        5
    l0wkey  
    OP
       Nov 24, 2014
    @nikolai Thx!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2579 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 06:18 · PVG 14:18 · LAX 23:18 · JFK 02:18
    ♥ Do have faith in what you're doing.