ansi-to-html 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6de44dd3141015a87cf2f4baa04e52191be1ca56
4
- data.tar.gz: 36b30e5a8bd7ee6e93b0a20f19a26d1ee902db9f
3
+ metadata.gz: 205130eb4aae42a2137430eec69bec4de2723b6c
4
+ data.tar.gz: 6b4a9020884a9b13646800a85f5efe6d7430c1f2
5
5
  SHA512:
6
- metadata.gz: eea73932e671fe416d6e390f0b9439bb7298dea8d3adaf5dd32c00d18cdaa86e06ef9bc7a6ddf81c29a3c5132169c6701172e1781802d8dbc9cbe31407eb2299
7
- data.tar.gz: 1b8827dcc1e2f7a1fc12d57e1fcbff6fc83c81f5a33b7f696bb6848a01622041b3cc843de24ec6da294ea28b019f1319cfe3335d71c5e40800e1558c5026f527
6
+ metadata.gz: 21603c8384441f021d198c9afd9e78aa7b8dc3f3b016f3130cc86e3537ed0e39ac7089e885e8bded3d3fb7c0e824f06715968c5709a49696d8aaf066626a8697
7
+ data.tar.gz: cff9a210a4d1d6a6cc934c5e4a43795045ae468581296481d315bec1caf2a16327e260e7569906bde528b50604521df012123dbe3199e35419ab7524b193a2b6
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ANSI color code sequence to HTML.
4
4
 
5
- See `examples/` directory for a generated result.
5
+ See <http://uu59.github.io/ansi-to-html/index.html> for a generated result.
6
6
 
7
7
  This is almost deadcopy of [bcat](https://github.com/rtomayko/bcat/blob/master/lib/bcat/ansi.rb) :bow:
8
8
 
@@ -29,8 +29,21 @@ end
29
29
 
30
30
  ansi = Ansi::To::Html.new(ARGF)
31
31
 
32
- puts "<html><head><style>"
33
- puts %Q!</style></head><body style="color:#{colors[:fg]};background-color:#{colors[:bg]}">!
32
+ charset = case Encoding.locale_charmap.downcase
33
+ when "eucjp"
34
+ "euc-jp"
35
+ when "sjis","cp932"
36
+ "Shift_JIS"
37
+ when "utf-8","utf8"
38
+ "utf-8"
39
+ else
40
+ "utf-8"
41
+ end
42
+
43
+ puts "<html><head>"
44
+ puts %Q!<meta charset="#{charset}" />!
45
+ puts "<!-- generated by ansi-to-html #{Ansi::To::Html::VERSION} https://github.com/uu59/ansi-to-html -->"
46
+ puts %Q!</head><body style="color:#{colors[:fg]};background-color:#{colors[:bg]}">!
34
47
  puts "<pre>"
35
48
  puts ansi.to_html(colors[:pallete])
36
49
  puts "</pre>"
@@ -1,7 +1,7 @@
1
1
  module Ansi
2
2
  module To
3
3
  class Html
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansi-to-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - uu59
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2013-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -67,7 +67,6 @@ files:
67
67
  - Rakefile
68
68
  - ansi-to-html.gemspec
69
69
  - bin/ansi-to-html
70
- - examples/sample1.html
71
70
  - lib/ansi-to-html.rb
72
71
  - lib/ansi/to/html.rb
73
72
  - lib/ansi/to/html/version.rb
@@ -1,50 +0,0 @@
1
- <html><head><style>
2
- body {
3
- background-color: #000;
4
- color: #fff;
5
- }
6
- </style></head><body>
7
- <pre>
8
-
9
- nyaran<span style='color:#d7ffaf'>@xubuntu1224</span>:~/works/ansi-to-html <span style='color:#a8a8a8'>(ruby-2.0.0-p353)</span> $ colorcheck
10
- \\033[0;38;05;XXXm Text \\033[0m
11
- <span style='color:#000'>000</span> <span style='color:#A00'>001</span> <span style='color:#0A0'>002</span> <span style='color:#A50'>003</span> <span style='color:#00A'>004</span> <span style='color:#A0A'>005</span> <span style='color:#0AA'>006</span> <span style='color:#AAA'>007</span> <span style='color:#555'>008</span> <span style='color:#F55'>009</span> <span style='color:#5F5'>010</span> <span style='color:#FF5'>011</span> <span style='color:#55F'>012</span> <span style='color:#F5F'>013</span> <span style='color:#5FF'>014</span> <span style='color:#FFF'>015</span> <span style='color:#000000'>016</span> <span style='color:#00005f'>017</span> <span style='color:#000087'>018</span> <span style='color:#0000af'>019</span> <span style='color:#0000d7'>020</span> <span style='color:#0000ff'>021</span> <span style='color:#005f00'>022</span> <span style='color:#005f5f'>023</span> <span style='color:#005f87'>024</span> <span style='color:#005faf'>025</span> <span style='color:#005fd7'>026</span> <span style='color:#005fff'>027</span> <span style='color:#008700'>028</span> <span style='color:#00875f'>029</span> <span style='color:#008787'>030</span> <span style='color:#0087af'>031</span> <span style='color:#0087d7'>032</span> <span style='color:#0087ff'>033</span> <span style='color:#00af00'>034</span>
12
- <span style='color:#00af5f'>035</span> <span style='color:#00af87'>036</span> <span style='color:#00afaf'>037</span> <span style='color:#00afd7'>038</span> <span style='color:#00afff'>039</span> <span style='color:#00d700'>040</span> <span style='color:#00d75f'>041</span> <span style='color:#00d787'>042</span> <span style='color:#00d7af'>043</span> <span style='color:#00d7d7'>044</span> <span style='color:#00d7ff'>045</span> <span style='color:#00ff00'>046</span> <span style='color:#00ff5f'>047</span> <span style='color:#00ff87'>048</span> <span style='color:#00ffaf'>049</span> <span style='color:#00ffd7'>050</span> <span style='color:#00ffff'>051</span> <span style='color:#5f0000'>052</span> <span style='color:#5f005f'>053</span> <span style='color:#5f0087'>054</span> <span style='color:#5f00af'>055</span> <span style='color:#5f00d7'>056</span> <span style='color:#5f00ff'>057</span> <span style='color:#5f5f00'>058</span> <span style='color:#5f5f5f'>059</span> <span style='color:#5f5f87'>060</span> <span style='color:#5f5faf'>061</span> <span style='color:#5f5fd7'>062</span> <span style='color:#5f5fff'>063</span> <span style='color:#5f8700'>064</span> <span style='color:#5f875f'>065</span> <span style='color:#5f8787'>066</span> <span style='color:#5f87af'>067</span> <span style='color:#5f87d7'>068</span> <span style='color:#5f87ff'>069</span>
13
- <span style='color:#5faf00'>070</span> <span style='color:#5faf5f'>071</span> <span style='color:#5faf87'>072</span> <span style='color:#5fafaf'>073</span> <span style='color:#5fafd7'>074</span> <span style='color:#5fafff'>075</span> <span style='color:#5fd700'>076</span> <span style='color:#5fd75f'>077</span> <span style='color:#5fd787'>078</span> <span style='color:#5fd7af'>079</span> <span style='color:#5fd7d7'>080</span> <span style='color:#5fd7ff'>081</span> <span style='color:#5fff00'>082</span> <span style='color:#5fff5f'>083</span> <span style='color:#5fff87'>084</span> <span style='color:#5fffaf'>085</span> <span style='color:#5fffd7'>086</span> <span style='color:#5fffff'>087</span> <span style='color:#870000'>088</span> <span style='color:#87005f'>089</span> <span style='color:#870087'>090</span> <span style='color:#8700af'>091</span> <span style='color:#8700d7'>092</span> <span style='color:#8700ff'>093</span> <span style='color:#875f00'>094</span> <span style='color:#875f5f'>095</span> <span style='color:#875f87'>096</span> <span style='color:#875faf'>097</span> <span style='color:#875fd7'>098</span> <span style='color:#875fff'>099</span> <span style='color:#878700'>100</span> <span style='color:#87875f'>101</span> <span style='color:#878787'>102</span> <span style='color:#8787af'>103</span> <span style='color:#8787d7'>104</span>
14
- <span style='color:#8787ff'>105</span> <span style='color:#87af00'>106</span> <span style='color:#87af5f'>107</span> <span style='color:#87af87'>108</span> <span style='color:#87afaf'>109</span> <span style='color:#87afd7'>110</span> <span style='color:#87afff'>111</span> <span style='color:#87d700'>112</span> <span style='color:#87d75f'>113</span> <span style='color:#87d787'>114</span> <span style='color:#87d7af'>115</span> <span style='color:#87d7d7'>116</span> <span style='color:#87d7ff'>117</span> <span style='color:#87ff00'>118</span> <span style='color:#87ff5f'>119</span> <span style='color:#87ff87'>120</span> <span style='color:#87ffaf'>121</span> <span style='color:#87ffd7'>122</span> <span style='color:#87ffff'>123</span> <span style='color:#af0000'>124</span> <span style='color:#af005f'>125</span> <span style='color:#af0087'>126</span> <span style='color:#af00af'>127</span> <span style='color:#af00d7'>128</span> <span style='color:#af00ff'>129</span> <span style='color:#af5f00'>130</span> <span style='color:#af5f5f'>131</span> <span style='color:#af5f87'>132</span> <span style='color:#af5faf'>133</span> <span style='color:#af5fd7'>134</span> <span style='color:#af5fff'>135</span> <span style='color:#af8700'>136</span> <span style='color:#af875f'>137</span> <span style='color:#af8787'>138</span> <span style='color:#af87af'>139</span>
15
- <span style='color:#af87d7'>140</span> <span style='color:#af87ff'>141</span> <span style='color:#afaf00'>142</span> <span style='color:#afaf5f'>143</span> <span style='color:#afaf87'>144</span> <span style='color:#afafaf'>145</span> <span style='color:#afafd7'>146</span> <span style='color:#afafff'>147</span> <span style='color:#afd700'>148</span> <span style='color:#afd75f'>149</span> <span style='color:#afd787'>150</span> <span style='color:#afd7af'>151</span> <span style='color:#afd7d7'>152</span> <span style='color:#afd7ff'>153</span> <span style='color:#afff00'>154</span> <span style='color:#afff5f'>155</span> <span style='color:#afff87'>156</span> <span style='color:#afffaf'>157</span> <span style='color:#afffd7'>158</span> <span style='color:#afffff'>159</span> <span style='color:#d70000'>160</span> <span style='color:#d7005f'>161</span> <span style='color:#d70087'>162</span> <span style='color:#d700af'>163</span> <span style='color:#d700d7'>164</span> <span style='color:#d700ff'>165</span> <span style='color:#d75f00'>166</span> <span style='color:#d75f5f'>167</span> <span style='color:#d75f87'>168</span> <span style='color:#d75faf'>169</span> <span style='color:#d75fd7'>170</span> <span style='color:#d75fff'>171</span> <span style='color:#d78700'>172</span> <span style='color:#d7875f'>173</span> <span style='color:#d78787'>174</span>
16
- <span style='color:#d787af'>175</span> <span style='color:#d787d7'>176</span> <span style='color:#d787ff'>177</span> <span style='color:#d7af00'>178</span> <span style='color:#d7af5f'>179</span> <span style='color:#d7af87'>180</span> <span style='color:#d7afaf'>181</span> <span style='color:#d7afd7'>182</span> <span style='color:#d7afff'>183</span> <span style='color:#d7d700'>184</span> <span style='color:#d7d75f'>185</span> <span style='color:#d7d787'>186</span> <span style='color:#d7d7af'>187</span> <span style='color:#d7d7d7'>188</span> <span style='color:#d7d7ff'>189</span> <span style='color:#d7ff00'>190</span> <span style='color:#d7ff5f'>191</span> <span style='color:#d7ff87'>192</span> <span style='color:#d7ffaf'>193</span> <span style='color:#d7ffd7'>194</span> <span style='color:#d7ffff'>195</span> <span style='color:#ff0000'>196</span> <span style='color:#ff005f'>197</span> <span style='color:#ff0087'>198</span> <span style='color:#ff00af'>199</span> <span style='color:#ff00d7'>200</span> <span style='color:#ff00ff'>201</span> <span style='color:#ff5f00'>202</span> <span style='color:#ff5f5f'>203</span> <span style='color:#ff5f87'>204</span> <span style='color:#ff5faf'>205</span> <span style='color:#ff5fd7'>206</span> <span style='color:#ff5fff'>207</span> <span style='color:#ff8700'>208</span> <span style='color:#ff875f'>209</span>
17
- <span style='color:#ff8787'>210</span> <span style='color:#ff87af'>211</span> <span style='color:#ff87d7'>212</span> <span style='color:#ff87ff'>213</span> <span style='color:#ffaf00'>214</span> <span style='color:#ffaf5f'>215</span> <span style='color:#ffaf87'>216</span> <span style='color:#ffafaf'>217</span> <span style='color:#ffafd7'>218</span> <span style='color:#ffafff'>219</span> <span style='color:#ffd700'>220</span> <span style='color:#ffd75f'>221</span> <span style='color:#ffd787'>222</span> <span style='color:#ffd7af'>223</span> <span style='color:#ffd7d7'>224</span> <span style='color:#ffd7ff'>225</span> <span style='color:#ffff00'>226</span> <span style='color:#ffff5f'>227</span> <span style='color:#ffff87'>228</span> <span style='color:#ffffaf'>229</span> <span style='color:#ffffd7'>230</span> <span style='color:#ffffff'>231</span> <span style='color:#080808'>232</span> <span style='color:#121212'>233</span> <span style='color:#1c1c1c'>234</span> <span style='color:#262626'>235</span> <span style='color:#303030'>236</span> <span style='color:#3a3a3a'>237</span> <span style='color:#444444'>238</span> <span style='color:#4e4e4e'>239</span> <span style='color:#585858'>240</span> <span style='color:#626262'>241</span> <span style='color:#6c6c6c'>242</span> <span style='color:#767676'>243</span> <span style='color:#808080'>244</span>
18
- <span style='color:#8a8a8a'>245</span> <span style='color:#949494'>246</span> <span style='color:#9e9e9e'>247</span> <span style='color:#a8a8a8'>248</span> <span style='color:#b2b2b2'>249</span> <span style='color:#bcbcbc'>250</span> <span style='color:#c6c6c6'>251</span> <span style='color:#d0d0d0'>252</span> <span style='color:#dadada'>253</span> <span style='color:#e4e4e4'>254</span> <span style='color:#eeeeee'>255</span>
19
- \\033[48;05;XXXm Text \\033[0m
20
- <span style='background-color:#000'>000</span> <span style='background-color:#A00'>001</span> <span style='background-color:#0A0'>002</span> <span style='background-color:#A50'>003</span> <span style='background-color:#00A'>004</span> <span style='background-color:#A0A'>005</span> <span style='background-color:#0AA'>006</span> <span style='background-color:#AAA'>007</span> <span style='background-color:#555'>008</span> <span style='background-color:#F55'>009</span> <span style='background-color:#5F5'>010</span> <span style='background-color:#FF5'>011</span> <span style='background-color:#55F'>012</span> <span style='background-color:#F5F'>013</span> <span style='background-color:#5FF'>014</span> <span style='background-color:#FFF'>015</span> <span style='background-color:#000000'>016</span> <span style='background-color:#00005f'>017</span> <span style='background-color:#000087'>018</span> <span style='background-color:#0000af'>019</span> <span style='background-color:#0000d7'>020</span> <span style='background-color:#0000ff'>021</span> <span style='background-color:#005f00'>022</span> <span style='background-color:#005f5f'>023</span> <span style='background-color:#005f87'>024</span> <span style='background-color:#005faf'>025</span> <span style='background-color:#005fd7'>026</span> <span style='background-color:#005fff'>027</span>
21
- <span style='background-color:#008700'>028</span> <span style='background-color:#00875f'>029</span> <span style='background-color:#008787'>030</span> <span style='background-color:#0087af'>031</span> <span style='background-color:#0087d7'>032</span> <span style='background-color:#0087ff'>033</span> <span style='background-color:#00af00'>034</span> <span style='background-color:#00af5f'>035</span> <span style='background-color:#00af87'>036</span> <span style='background-color:#00afaf'>037</span> <span style='background-color:#00afd7'>038</span> <span style='background-color:#00afff'>039</span> <span style='background-color:#00d700'>040</span> <span style='background-color:#00d75f'>041</span> <span style='background-color:#00d787'>042</span> <span style='background-color:#00d7af'>043</span> <span style='background-color:#00d7d7'>044</span> <span style='background-color:#00d7ff'>045</span> <span style='background-color:#00ff00'>046</span> <span style='background-color:#00ff5f'>047</span> <span style='background-color:#00ff87'>048</span> <span style='background-color:#00ffaf'>049</span> <span style='background-color:#00ffd7'>050</span> <span style='background-color:#00ffff'>051</span> <span style='background-color:#5f0000'>052</span> <span style='background-color:#5f005f'>053</span> <span style='background-color:#5f0087'>054</span> <span style='background-color:#5f00af'>055</span>
22
- <span style='background-color:#5f00d7'>056</span> <span style='background-color:#5f00ff'>057</span> <span style='background-color:#5f5f00'>058</span> <span style='background-color:#5f5f5f'>059</span> <span style='background-color:#5f5f87'>060</span> <span style='background-color:#5f5faf'>061</span> <span style='background-color:#5f5fd7'>062</span> <span style='background-color:#5f5fff'>063</span> <span style='background-color:#5f8700'>064</span> <span style='background-color:#5f875f'>065</span> <span style='background-color:#5f8787'>066</span> <span style='background-color:#5f87af'>067</span> <span style='background-color:#5f87d7'>068</span> <span style='background-color:#5f87ff'>069</span> <span style='background-color:#5faf00'>070</span> <span style='background-color:#5faf5f'>071</span> <span style='background-color:#5faf87'>072</span> <span style='background-color:#5fafaf'>073</span> <span style='background-color:#5fafd7'>074</span> <span style='background-color:#5fafff'>075</span> <span style='background-color:#5fd700'>076</span> <span style='background-color:#5fd75f'>077</span> <span style='background-color:#5fd787'>078</span> <span style='background-color:#5fd7af'>079</span> <span style='background-color:#5fd7d7'>080</span> <span style='background-color:#5fd7ff'>081</span> <span style='background-color:#5fff00'>082</span> <span style='background-color:#5fff5f'>083</span>
23
- <span style='background-color:#5fff87'>084</span> <span style='background-color:#5fffaf'>085</span> <span style='background-color:#5fffd7'>086</span> <span style='background-color:#5fffff'>087</span> <span style='background-color:#870000'>088</span> <span style='background-color:#87005f'>089</span> <span style='background-color:#870087'>090</span> <span style='background-color:#8700af'>091</span> <span style='background-color:#8700d7'>092</span> <span style='background-color:#8700ff'>093</span> <span style='background-color:#875f00'>094</span> <span style='background-color:#875f5f'>095</span> <span style='background-color:#875f87'>096</span> <span style='background-color:#875faf'>097</span> <span style='background-color:#875fd7'>098</span> <span style='background-color:#875fff'>099</span> <span style='background-color:#878700'>100</span> <span style='background-color:#87875f'>101</span> <span style='background-color:#878787'>102</span> <span style='background-color:#8787af'>103</span> <span style='background-color:#8787d7'>104</span> <span style='background-color:#8787ff'>105</span> <span style='background-color:#87af00'>106</span> <span style='background-color:#87af5f'>107</span> <span style='background-color:#87af87'>108</span> <span style='background-color:#87afaf'>109</span> <span style='background-color:#87afd7'>110</span> <span style='background-color:#87afff'>111</span>
24
- <span style='background-color:#87d700'>112</span> <span style='background-color:#87d75f'>113</span> <span style='background-color:#87d787'>114</span> <span style='background-color:#87d7af'>115</span> <span style='background-color:#87d7d7'>116</span> <span style='background-color:#87d7ff'>117</span> <span style='background-color:#87ff00'>118</span> <span style='background-color:#87ff5f'>119</span> <span style='background-color:#87ff87'>120</span> <span style='background-color:#87ffaf'>121</span> <span style='background-color:#87ffd7'>122</span> <span style='background-color:#87ffff'>123</span> <span style='background-color:#af0000'>124</span> <span style='background-color:#af005f'>125</span> <span style='background-color:#af0087'>126</span> <span style='background-color:#af00af'>127</span> <span style='background-color:#af00d7'>128</span> <span style='background-color:#af00ff'>129</span> <span style='background-color:#af5f00'>130</span> <span style='background-color:#af5f5f'>131</span> <span style='background-color:#af5f87'>132</span> <span style='background-color:#af5faf'>133</span> <span style='background-color:#af5fd7'>134</span> <span style='background-color:#af5fff'>135</span> <span style='background-color:#af8700'>136</span> <span style='background-color:#af875f'>137</span> <span style='background-color:#af8787'>138</span> <span style='background-color:#af87af'>139</span>
25
- <span style='background-color:#af87d7'>140</span> <span style='background-color:#af87ff'>141</span> <span style='background-color:#afaf00'>142</span> <span style='background-color:#afaf5f'>143</span> <span style='background-color:#afaf87'>144</span> <span style='background-color:#afafaf'>145</span> <span style='background-color:#afafd7'>146</span> <span style='background-color:#afafff'>147</span> <span style='background-color:#afd700'>148</span> <span style='background-color:#afd75f'>149</span> <span style='background-color:#afd787'>150</span> <span style='background-color:#afd7af'>151</span> <span style='background-color:#afd7d7'>152</span> <span style='background-color:#afd7ff'>153</span> <span style='background-color:#afff00'>154</span> <span style='background-color:#afff5f'>155</span> <span style='background-color:#afff87'>156</span> <span style='background-color:#afffaf'>157</span> <span style='background-color:#afffd7'>158</span> <span style='background-color:#afffff'>159</span> <span style='background-color:#d70000'>160</span> <span style='background-color:#d7005f'>161</span> <span style='background-color:#d70087'>162</span> <span style='background-color:#d700af'>163</span> <span style='background-color:#d700d7'>164</span> <span style='background-color:#d700ff'>165</span> <span style='background-color:#d75f00'>166</span> <span style='background-color:#d75f5f'>167</span>
26
- <span style='background-color:#d75f87'>168</span> <span style='background-color:#d75faf'>169</span> <span style='background-color:#d75fd7'>170</span> <span style='background-color:#d75fff'>171</span> <span style='background-color:#d78700'>172</span> <span style='background-color:#d7875f'>173</span> <span style='background-color:#d78787'>174</span> <span style='background-color:#d787af'>175</span> <span style='background-color:#d787d7'>176</span> <span style='background-color:#d787ff'>177</span> <span style='background-color:#d7af00'>178</span> <span style='background-color:#d7af5f'>179</span> <span style='background-color:#d7af87'>180</span> <span style='background-color:#d7afaf'>181</span> <span style='background-color:#d7afd7'>182</span> <span style='background-color:#d7afff'>183</span> <span style='background-color:#d7d700'>184</span> <span style='background-color:#d7d75f'>185</span> <span style='background-color:#d7d787'>186</span> <span style='background-color:#d7d7af'>187</span> <span style='background-color:#d7d7d7'>188</span> <span style='background-color:#d7d7ff'>189</span> <span style='background-color:#d7ff00'>190</span> <span style='background-color:#d7ff5f'>191</span> <span style='background-color:#d7ff87'>192</span> <span style='background-color:#d7ffaf'>193</span> <span style='background-color:#d7ffd7'>194</span> <span style='background-color:#d7ffff'>195</span>
27
- <span style='background-color:#ff0000'>196</span> <span style='background-color:#ff005f'>197</span> <span style='background-color:#ff0087'>198</span> <span style='background-color:#ff00af'>199</span> <span style='background-color:#ff00d7'>200</span> <span style='background-color:#ff00ff'>201</span> <span style='background-color:#ff5f00'>202</span> <span style='background-color:#ff5f5f'>203</span> <span style='background-color:#ff5f87'>204</span> <span style='background-color:#ff5faf'>205</span> <span style='background-color:#ff5fd7'>206</span> <span style='background-color:#ff5fff'>207</span> <span style='background-color:#ff8700'>208</span> <span style='background-color:#ff875f'>209</span> <span style='background-color:#ff8787'>210</span> <span style='background-color:#ff87af'>211</span> <span style='background-color:#ff87d7'>212</span> <span style='background-color:#ff87ff'>213</span> <span style='background-color:#ffaf00'>214</span> <span style='background-color:#ffaf5f'>215</span> <span style='background-color:#ffaf87'>216</span> <span style='background-color:#ffafaf'>217</span> <span style='background-color:#ffafd7'>218</span> <span style='background-color:#ffafff'>219</span> <span style='background-color:#ffd700'>220</span> <span style='background-color:#ffd75f'>221</span> <span style='background-color:#ffd787'>222</span> <span style='background-color:#ffd7af'>223</span>
28
- <span style='background-color:#ffd7d7'>224</span> <span style='background-color:#ffd7ff'>225</span> <span style='background-color:#ffff00'>226</span> <span style='background-color:#ffff5f'>227</span> <span style='background-color:#ffff87'>228</span> <span style='background-color:#ffffaf'>229</span> <span style='background-color:#ffffd7'>230</span> <span style='background-color:#ffffff'>231</span> <span style='background-color:#080808'>232</span> <span style='background-color:#121212'>233</span> <span style='background-color:#1c1c1c'>234</span> <span style='background-color:#262626'>235</span> <span style='background-color:#303030'>236</span> <span style='background-color:#3a3a3a'>237</span> <span style='background-color:#444444'>238</span> <span style='background-color:#4e4e4e'>239</span> <span style='background-color:#585858'>240</span> <span style='background-color:#626262'>241</span> <span style='background-color:#6c6c6c'>242</span> <span style='background-color:#767676'>243</span> <span style='background-color:#808080'>244</span> <span style='background-color:#8a8a8a'>245</span> <span style='background-color:#949494'>246</span> <span style='background-color:#9e9e9e'>247</span> <span style='background-color:#a8a8a8'>248</span> <span style='background-color:#b2b2b2'>249</span> <span style='background-color:#bcbcbc'>250</span> <span style='background-color:#c6c6c6'>251</span>
29
- <span style='background-color:#d0d0d0'>252</span> <span style='background-color:#dadada'>253</span> <span style='background-color:#e4e4e4'>254</span> <span style='background-color:#eeeeee'>255</span>
30
- nyaran<span style='color:#d7ffaf'>@xubuntu1224</span>:~/works/ansi-to-html <span style='color:#a8a8a8'>(ruby-2.0.0-p353)</span> $ tmux capture-pane -S -10000 -e; tmux show-buffer | ansi-to-html > /tmp/aa.html
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
- </pre>
50
- </body></html>