Skip to content

ousttrue/w3m

 
 

Repository files navigation

w3m改 zig

w3m を改造する(5週目くらいw)。

以前は c++ で改造を試みていたのだがうまくいかなかった。 今回は zig 化を視野に繋ぎに -std=gnu23 で進行。

  • zig cc で build する
  • windows で動作する
  • 前処理、dom(lexbor), to utf8, entity decode, script & style 除去
  • utf-8 が表示できる
    • 文字のカラム幅
    • [WIP] SJIS, entity

dependencies

dependencies

量を減らすため web browser のコア機能(独断)以外を削除

  • 多言語 libwc
  • pager, pipe 連結
  • dump, backend, commandline. url 引数一個決め打ち
  • color
  • image
  • frame

windows portable

  • ncurses/termca/terminfo 依存削除。xterm 決めうちの escape sequence
  • tty, ioctl, SIGWINCH / conpty
  • socket / winsock
  • ssl
  • gzip, inflate
  • fork

Packages

No packages published

Languages

  • C 70.5%
  • HTML 20.8%
  • Zig 2.1%
  • C++ 1.5%
  • Roff 1.5%
  • Perl 1.1%
  • Other 2.5%