<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkuro</author_name>
  <author_url>https://blog.hatena.ne.jp/tkuro/</author_url>
  <blog_title>初学者の箸置</blog_title>
  <blog_url>https://tkuro.hatenadiary.org/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>ncurses</anon>
  </categories>
  <description>久々の熱暴走した家鯖のモニタに また watchコマンド使ってたのですが http://d.hatena.ne.jp/tkuro/20110519/1305753099 パッと見に上がってるのか下がってるのかわからんことがあったので色つけてみました。 ncursesの基本 initscr() でスタート 色使うなら start_color() ペア色にする場合は init_pairで作る。 init_pair(番号, foreground, background) attron(...) で色つける。ペア参照はマクロ COLOR_PAIR(番号)が必要。 必要なのはこんなところかな watch…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkuro.hatenadiary.org%2Fentry%2F20140904%2F1409805231&quot; title=&quot;watchコマンドdiff表示をカラーに - 初学者の箸置&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tkuro/20140904/20140904133242.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-04 13:33:51</published>
  <title>watchコマンドdiff表示をカラーに</title>
  <type>rich</type>
  <url>https://tkuro.hatenadiary.org/entry/20140904/1409805231</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
