Last active
June 19, 2022 09:51
-
-
Save saitoha/3377f59b0bf87882f319 to your computer and use it in GitHub Desktop.
Install mlterm-cocoa via Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
$ brew install https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/mlterm-cocoa.rb | |
# settings | |
$ mkdir $HOME/.mlterm | |
$ curl https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/color > $HOME/.mlterm/color | |
$ curl https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/font > $HOME/.mlterm/font | |
$ curl https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/main > $HOME/.mlterm/main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blue=#6699ff | |
hl_blue=#6699ff | |
green=#66ff66 | |
hl_green=#66ff66 | |
red=#ff6666 | |
hl_red=#ff6666 | |
yellow=#ffd314 | |
hl_yellow=#ffd314 | |
magenta=#9b4fff | |
hl_magenta=#9b4fff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ISO10646_UCS4_1 = Monaco; | |
ISO10646_UCS4_1_BIWIDTH = Hiragino Kaku Gothic ProN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fg_color = white | |
bg_color = black | |
alpha = 160 | |
fontsize = 18 | |
scrollbar_mode = right | |
use_variable_column_width = false | |
use_combining = true | |
use_dynamic_comb = true | |
col_size_of_width_a = 1 | |
logsize = 4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "formula" | |
class MltermCocoa < Formula | |
homepage "http://mlterm.sourceforge.net/" | |
url "https://downloads.sourceforge.net/project/mlterm/01release/mlterm-3.6.0/mlterm-3.6.0.tar.gz" | |
head "https://bitbucket.org/arakiken/mlterm", :using => :hg | |
sha1 "a71fd2643e19e96bba9b452620c6ae80bdcce4df" | |
keg_only "Conflicts with non-cocoa mlterm." | |
depends_on 'pkg-config' => :build | |
def install | |
system "./configure", "--prefix=#{prefix}", "--with-gui=quartz" | |
system "make" | |
system "make", "install" | |
system "cp -pvr cocoa/mlterm.app /Applications/" | |
system "mkdir -p /Applications/mlterm.app/Contents/MacOS" | |
system "HOME=/Applications cocoa/install.sh #{prefix}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment