mfiler4のgitリポジトリ
修订版 | 3a2fce6cc6dea02ac67f50af62343bba689c4d51 (tree) |
---|---|
时间 | 2012-12-14 03:19:46 |
作者 | ab25cq <ab25cq@gmai...> |
Commiter | ab25cq |
1.0.5 release
@@ -1,4 +1,23 @@ | ||
1 | 1 | |
2 | +2012 14th December version 1.0.5 | |
3 | + | |
4 | + 1. mfiler4 start to use ncurses or ncursesw. | |
5 | + | |
6 | + 2. delete keymap inner command | |
7 | + | |
8 | + 3. delete key_meta_left, key_meta_right, key_meta_up, key_meta_down, | |
9 | + key_ctrl_left, key_ctrl_right, key_ctrl_up, key_ctrl_down, key_ctrl_delete, | |
10 | + key_ctrl_space environment variable. Added key_delete2 environment | |
11 | + variable. | |
12 | + | |
13 | + 4. Binded meta + l key to backward directory. Binded meta + r key to forward | |
14 | + director. | |
15 | + | |
16 | + 5. Binded meta + a to mark all files without directories. Binded meta + e | |
17 | + to mark all files. | |
18 | + | |
19 | + 6. Added -O3 option to gcc. | |
20 | + | |
2 | 21 | 2012 12月13日 version 1.0.4d |
3 | 22 | |
4 | 23 | 1. Linuxで動作確認 |
@@ -16,6 +16,7 @@ void xinitscr() | ||
16 | 16 | { |
17 | 17 | initscr(); |
18 | 18 | raw(); |
19 | + noecho(); | |
19 | 20 | keypad(stdscr, TRUE); |
20 | 21 | |
21 | 22 | int background = COLOR_BLACK; |
@@ -57,29 +58,6 @@ int xgetch(int* meta) | ||
57 | 58 | |
58 | 59 | *meta = 1; |
59 | 60 | return key; |
60 | -/* | |
61 | - fd_set mask; | |
62 | - | |
63 | - FD_ZERO(&mask); | |
64 | - FD_SET(0, &mask); | |
65 | - | |
66 | - struct timeval tv; | |
67 | - tv.tv_sec = 0; | |
68 | - tv.tv_usec = 500; | |
69 | - | |
70 | - select(5, &mask, NULL, NULL, &tv); | |
71 | - | |
72 | - /// キー処理 /// | |
73 | - if(FD_ISSET(0, &mask)) { | |
74 | - key = getch(); | |
75 | - *meta = 1; | |
76 | - return key; | |
77 | - } | |
78 | - else { | |
79 | - *meta = 0; | |
80 | - return key; | |
81 | - } | |
82 | -*/ | |
83 | 61 | } |
84 | 62 | else { |
85 | 63 | if(key >= kKeyMetaFirst |
@@ -908,7 +908,7 @@ int main(int argc, char* argv[]) | ||
908 | 908 | CHECKML_BEGIN(FALSE); |
909 | 909 | |
910 | 910 | /// ファイラでもスクリプトでも共通の環境変数を初期化 /// |
911 | - setenv("VERSION", "1.0.4d", 1); | |
911 | + setenv("VERSION", "1.0.5", 1); | |
912 | 912 | setenv("MFILER4_DATAROOTDIR", DATAROOTDIR, 1); |
913 | 913 | |
914 | 914 | /// mfiler4のホームディレクトリを保存しておく /// |