Muttで端末のタイトルを設定しますか?

Muttで端末のタイトルを設定しますか?

の助けを借りてxterm タイトルバーにコマンドを表示gnome-terminalMuttが実行中の端末を確認できるように、実行中のコマンドを反映するようにタイトルを変更しました。しかし、私が本当に欲しいのは、雑種の地位をタイトルに上げることです。私のもの.muttrc

set status_format = "%n new | %M in %f [%v]."

gnome-terminal全体のステータスを私のタイトルに適用したいです。私の環境でこれを行う方法はありますか.bashrc?それとも別の方法で?

vimでこれを行う方法についての議論があります。http://vim.wikia.com/wiki/Automatically_set_screen_titleしかし…それはvimです。

ベストアンサー1

muttはすでにこれを行うことができます。

マンムテック

  ts_enabled
          Type: boolean
          Default: no

         Controls whether mutt tries to set the terminal status line and
          icon name.  Most terminal emulators emulate the status line in
          the window title.



  ts_status_format
          Type: string
          Default: “Mutt with %?m?%m messages&no messages?%?n? [%n NEW]?”

         Controls the format of the terminal status line (or window
          title), provided that “$ts_enabled” has been set. This string is
          identical in formatting to the one used by “$status_format”.

残念ながら、muttを終了してもタイトルは変わりません。

おすすめ記事