🌑

工作備忘錄

置換Tiptop預設Shell

目前Tiptop的預設Shell是KSH,對於常用鍵(Backspace/Delete)支援相當不友善。

可以用指令改善支援狀況,分為2種情境:

  1. 在Vtcp for TIPTOP
    輸入stty sane && set -o emacs && stty erase "^H" && bind "^I=complete" && bind "^?=delete-char-forward" && bind "^[B=backward-word" && bind "^[F=forward-word"
    並在終端機選單Setup[C]>Keyboard ...>Key maps ...>Ctrl_Key ...新增對應按鍵組合

    • Ctl_Lft輸入<ESC>B
    • Ctl_Rgt輸入<ESC>F
  2. 在其他終端機
    先輸入bash切換到BASH,
    再輸入stty sane && stty erase "^?"

— 2026年4月14日

Search