対象者
- 名無しさん
- gitとか知らない
- GitHubは名前だけ知ってる
- とりあえず試してみたい人
WoW64環境でのみ動作する。他の環境では何もしない。
1:xyzzy(cli)を実行したプロセスから見えているであろうファイルを自動的に選ぶ
2:xyzzy内部の状態に合わせて、与えられたファイル名を変換する
C:\Windows\System32\mapisvc.inf が与えられた場合、| //使い方の例 : DebugOut("%d %s\n", __LINE__, __FUNCTION__); | |
| struct DebugOut { | |
| DebugOut(const char* fmt, ...) { | |
| va_list args; | |
| va_start(args, fmt); | |
| char buf[1024]; | |
| vsprintf(buf, fmt, args); | |
| OutputDebugStringA(buf); | |
| va_end(args); |
| lisp | |
| Fsi_output_debug_string (lisp string) | |
| { | |
| if(stringp(string)) | |
| { | |
| char srcPath[MAX_PATH+1]; | |
| w2s(srcPath, xstring_contents(string), xstring_length(string)); | |
| strcat(srcPath, "\n"); | |
| OutputDebugStringA(srcPath); | |
| } |
msysGitをインストール後、 「スタート」>「Git」>「Git Bash」を実行して Git Bash を立ち上げ、 以下のコマンドを実行することで、さまざまな作業を行えます
| 𠀋 UCS4=U+2000B, UCS2=U+D840,U+DC0B, SJIS=87A0 | |
| 𡈽 UCS4=U+2123D, UCS2=U+D844,U+DE3D, SJIS=8861 | |
| 𡌛 UCS4=U+2131B, UCS2=U+D844,U+DF1B, SJIS=886B | |
| 𡑮 UCS4=U+2146E, UCS2=U+D845,U+DC6E, SJIS=8880 | |
| 𡢽 UCS4=U+218BD, UCS2=U+D846,U+DCBD, SJIS=889B | |
| 𠮟 UCS4=U+20B9F, UCS2=U+D842,U+DF9F, SJIS=9873 | |
| 𡚴 UCS4=U+216B4, UCS2=U+D845,U+DEB4, SJIS=9883 | |
| 𡸴 UCS4=U+21E34, UCS2=U+D847,U+DE34, SJIS=988E | |
| 𣇄 UCS4=U+231C4, UCS2=U+D84C,U+DDC4, SJIS=EB59 | |
| 𣗄 UCS4=U+235C4, UCS2=U+D84D,U+DDC4, SJIS=EB92 |
xyzzy 終了時には、以下のように conf.cc:write_conf() 群が呼び出されている
write_conf(Misc, 1920x1080, WINDOWPLACEMENT:(69,69)-(1221,679),1)
write_conf(Misc, saveWindowSize, 1, 0)
write_conf(Misc, saveWindowPosition, 1, 0)
write_conf(Misc, restoreWindowSize, 1, 0)
write_conf(Misc, restoreWindowPosition, 1, 0)| #define _CRT_SECURE_NO_WARNINGS | |
| #include <stdio.h> | |
| #include <windows.h> | |
| #include <tchar.h> | |
| int main(int argc, const char* argv[]) { | |
| // 自分の名前 | |
| TCHAR filename[MAX_PATH]; | |
| GetModuleFileName(0, filename, MAX_PATH); |