This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -a | |
Linux colinux 2.6.33.7-co-0.7.9 #1 PREEMPT Sat Apr 9 20:30:51 UTC 2011 i686 GNU/Linux | |
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 8 2014 09:55:01) | |
Included patches: 1-192 | |
Compiled by deton@colinux | |
Huge version without GUI. Features included (+) or not (-): | |
+acl +farsi +mouse_netterm +syntax | |
+arabic +file_in_path +mouse_sgr +tag_binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ha121 u014b | |
ha122 u00ca | |
ha123 u2033 | |
ha124 u00ec | |
ha125 u2212 | |
ha126 u02cc | |
ha127 u00fa | |
ha128 u00fc | |
ha129 u01c1 | |
ha12a - # ue003 not a valid unicode character |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- bdf2fontx.c.orig 2001-12-07 01:51:03.000000000 +0900 | |
+++ bdf2fontx.c 2015-07-20 14:52:11.000000000 +0900 | |
@@ -106,6 +106,9 @@ void bdfheader(char *name, int *width, i | |
else if (match(coding, "jisx0208") == 0) { | |
*type = 1; | |
} | |
+ else { | |
+ *type = 0; | |
+ } | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# make jisx0208 or jisx0201 BDF font file from iso10646(unicode) BDF font file. | |
use strict; | |
use warnings; | |
use Encode; | |
# from cp932_roundtrip | |
sub encode_ { | |
my $unicode = $_[0]; | |
if (#(0xe000 <= $unicode && $unicode <= 0xf8ff) || # private use area |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bdf2fontx.c b/bdf2fontx.c | |
index 816cfa6..b40a9a4 100644 | |
--- a/bdf2fontx.c | |
+++ b/bdf2fontx.c | |
@@ -85,19 +85,20 @@ int match(char *s, char *t) | |
"FONT -%[^-]-%*[^-]-%*[^-]-%*[^-]-%*[^-]--%d-%*d-%*d-%*d-%*[^-]-%d-%[^-]-%*s" | |
/* jis fixed medium r normal 14 130 75 75 C 70 jisx0201 */ | |
-void bdfheader(char *name, int *width, int *height, int *type) | |
+void bdfheader(char *name, int *width, int *height, int *type, int *xoffset, int *yoffset) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SparkFun Blackberry Trackballer Breakout | |
// https://www.switch-science.com/catalog/2276/ | |
#define DEBUG 0 | |
#define Lft 3 | |
#define Rht 2 | |
#define Up 0 | |
#define Dwn 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esc P22 P17 | |
1 P22 P23 | |
2 P16 P23 | |
3 P18 P23 | |
4 P15 P23 | |
5 P15 P20 | |
6 P19 P20 | |
7 P19 P23 | |
8 P12 P23 | |
9 P14 P23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define uim-pref-suppress-dot-uim-warning-dialog? #t) | |
(require "tutcode.scm") | |
;;; 後置型かな漢字変換を開始する | |
;;; cf. tutcode-begin-postfix-mazegaki-conversion | |
(define (tutcode-postfix-kana2kanji-conversion state pc) | |
(tutcode-context-set-mazegaki-yomi-len-specified! pc 0) | |
(let* | |
((former-seq (tutcode-postfix-katakana-acquire-yomi pc #f)) ; 連続するかな | |
(former-len (length former-seq))) | |
(and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alt key | |
// cf. http://qiita.com/MergeCells/items/17bdc1c1fb35949195b5 | |
#define Btn1 2 | |
void setup() { | |
pinMode(Btn1, INPUT_PULLUP); | |
Keyboard.begin(); | |
} | |
void loop() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind g command -c buffilt | |
bind -c buffilt \\ eval writebuf screen 'stuff "scrbuf.sh rmwrap-emacs&&exit^M"' | |
bind -c buffilt > eval writebuf screen 'stuff "scrbuf.sh rmwrap-vim&&exit^M"' | |
bind -c buffilt + eval writebuf screen 'stuff "scrbuf.sh rmwrap-mutt&&exit^M"' | |
bind -c buffilt ^E eval writebuf screen 'stuff "scrbuf.sh rmwrap-width&&exit^M"' | |
bind -c buffilt $ eval writebuf screen 'stuff "scrbuf.sh picklastarg&&exit^M"' | |
bind -c buffilt ' ' eval writebuf screen 'stuff "scrbuf.sh join-with-blank&&exit^M"' | |
bind -c buffilt e eval writebuf screen 'stuff "scrbuf.sh edit&&exit^M"' | |
bind -c buffilt g eval writebuf screen 'stuff "scrbuf.sh grep2l&&exit^M"' | |
bind -c buffilt h eval writebuf screen 'stuff "scrbuf.sh rmhtmltag&&exit^M"' |
OlderNewer