LoginSignup
8
8

More than 5 years have passed since last update.

Emacs の Tronesque Theme を Tera Term 上で使うときの設定

Last updated at Posted at 2015-07-15

めちゃくちゃニッチです。

Tronesque Theme とは?

問題

  • nw 環境で使用する場合、ターミナルエミュレータが定義する ANSI カラー16色を Tronesque 仕様にする必要がある
    • 当然 Emacs 以外の色も変わっちゃう
    • でもかっこいいのでそこは許した
  • 作者の Github リポジトリには Mac の ターミナル.app 向けの設定ファイルしか存在しない

解決方法

  • Teraterm.ini の該当箇所を下記のように設定する
ANSIColor=0,8,23,36, 1,245,181,95, 2,166,243,221, 3,29,84,131, 4,40,114,178, 5,175,192,253, 6,255,254,217, 7,239,255,254, 8,3,51,64, 9,255,105,77, 10,104,246,203, 11,255,254,78, 12,186,214,226, 13,150,165,217, 14,210,241,255, 15,211,249,238

うまくいかないとき

  • Emacs で256色出せていない?
    • .bashrc などに export TERM=xterm-256color を追記する
  • Tera Term の設定→ウィンドウを確認
    • 16色モードにチェックが入っているか
    • 256色モードにチェックが入っているか
8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8