Hamayama
Hamayama
Hello, there are some information to install PDCurses on MSYS2/MinGW-w64. 1. https://github.com/cxxxr/lem/issues/454 [Windows] [lem-pdcurses] MSYS2/MinGW-w64 PDCurses package version 4 is broken 2. https://github.com/cxxxr/lem/wiki/Windows-Platform Lem Wiki - Windows Platform They needs...
I found that Scm_Load without SCM_LOAD_PROPAGATE_ERROR flag drops stack trace. I made a following patch for do_require function in src/load.c . ``` --- load_orig.c 2019-08-12 21:01:38.000000000 +0900 +++ load.c 2019-09-18...
本件ですが、以下の依存関係があるようでした。 ``` libgauche-0.97.dll libwinpthread-1.dll clock_getres (src/system.c で使用) clock_gettime (src/system.c で使用) sched_yield (src/system.c で使用) ``` あまりよくは理解していませんが、 MSYS2 の提供する MinGW-w64 のスレッドモデルが threads=posix であるため、 特にリンクを指定しなくても libwinpthread-1.dll 内の関数が使用可能であり、 使用すると dll への依存ができるようです。 簡単な回避方法としては、 src/mingw-dist.sh の...
すいません `LDFLAGS="-no-pthread"` でよいとログに書いてありました。 ./configure の引数にこれを渡してもいけるようです。。。
bdwgc が winpthread に依存しているかどうかですが、 成果物だけを見ると依存はしていないようです。 ただ #ifdef が複雑なので、環境によっては依存ができるのかもしれませんが。。。
2個のスタックトレースが同じ内容だった場合には、 表示しないようにしました。
本件ですが、 https://github.com/Hamayama/msjis の注意事項の 3. に以下の情報があります。 > msjis-mode の第2引数に 'CP932 を指定した場合には、iconv という外部ライブラリで > 変換が行われます。このときは、変換できない文字があると、エラーが発生します。 > (iconvの仕様による) > 一方、msjis-mode の第2引数に 'SJIS を指定した場合には、Gauche の内部で > 変換が行われます。このときは、変換できない文字があっても、エラーにはなりません。 > (げた記号等に変換されます) > (ただし、入力文字列自体が不正なバイト列であった場合には、いずれの場合も、エラーが発生します) このため、Gauche v0.9.6 の場合だと、...
iconv がエラーを出さずに続行するモードは、欲しいケースがありそうですね。 CP932 を Gauche 側に取り込むのは、少しやりすぎのような気もしますが。。。 (しかし確かに、CP932 はいずれ使われなくなるだろうと思ってから、10年以上経過しましたね。。。)
It seems that there is no portable way to restore terminal's default colors. (ref. https://stackoverflow.com/questions/36051061/color-not-ended-in-curses ) One altenative way is to write your terminal's default color codes in ~/.lem/init.lisp as...
Uhm, as a non-portable way, `tput init` command might reset terminal colors. (ref. https://superuser.com/questions/317343/reset-colors-of-terminal-after-ssh-exit-logout ) If this works on your terminal, writing the same escape sequence (you can see it...