9fans archive / 1998 / 08 / 17    prev next

search terms are split using tokenize from:regexp searches From: lines subject:regexp searches Subject: lines before:yyyy[/mm[/dd]] and after:yyyy[/mm[/dd]] specify date range powered by grep(1)
From: Kenji Okamoto okamoto@ear... Subject: updated version of ktrans {JIS coded] Date: Sat, 15 Aug 1998 18:13:14 +0900 I still has one more problem regarding reading /dev/kbd. In main() function of translate.c of original ktrans, I added two lines just before the line to get mp: mp = match(bp, &nchar, table);. The added lines are very simple tolower() function like this: if (table == kana && (*bp <='Z' && *bp>= 'A')) *bp = tolower(*bp); Here, I expected the behaviour such that we see "$B$+(B" when I input from keyboard like "KA". However, I got k$B$"(B. I;ve read siource codes many times, but I couldn't got success to understand the reason why it behaves like that. I know my brains are reaching to my max though... Kenji