AquaSKK を素の iTerm2 で使うと、IM 状態を変更するための "C-j" や "l" がそのまま入力されてしまって不便という問題があり、 以下のあたりでその問題を直すパッチを作ってくださった方がおりました。
僕も 1.0.0 が出たころに上記パッチを当てた iTerm2 をずっと使ってました。
7[?69h[19;40s8[1;1H[2J[2;1H12345678901234567890 | |
#[3;30Haaa | |
%[5;1H************************************************************** | |
bbb | |
[8;19H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@7[r[s[?69l8 | |
VT525's result as follows. | |
12345678901234567890 | |
# aaa |
diff -r 92c9748e0ccb src/config.h.in | |
--- a/src/config.h.in Sun Oct 06 17:46:56 2013 +0200 | |
+++ b/src/config.h.in Sun Oct 13 23:11:37 2013 +0200 | |
@@ -442,3 +442,6 @@ | |
/* Define if you want Cygwin to use the WIN32 clipboard, not compatible with X11*/ | |
#undef FEAT_CYGWIN_WIN32_CLIPBOARD | |
+ | |
+/* Define if we have AvailabilityMacros.h on Mac OS X */ | |
+#undef HAVE_AVAILABILITYMACROS_H |
AquaSKK を素の iTerm2 で使うと、IM 状態を変更するための "C-j" や "l" がそのまま入力されてしまって不便という問題があり、 以下のあたりでその問題を直すパッチを作ってくださった方がおりました。
僕も 1.0.0 が出たころに上記パッチを当てた iTerm2 をずっと使ってました。
Vim Advent Calendar 2012の345日目(2013-11-10)の記事です。
普通のWindowsアプリにおいて、擬似的にViエディタのNormal mode編集操作を使えるようにするIMEを作りました。
#!/bin/sh | |
GH_TOKEN=$1 | |
UPLOAD_FILE=$2 | |
GH_USER_NAME=$3 | |
GH_REPO_NAME=$4 | |
VERSION=$5 | |
if [ $# -ne 5 ]; then | |
echo "Invalid arguments." |
# The function ds() below reads a Sixel graphics file and creates an RGB Image, | |
# which can then be displayed and processed using the Image package. | |
# Public domain example code. | |
using Color, Images, ImageView | |
function vt340_palette() | |
pal = RGB[] | |
push!(pal, RGB(0.00, 0.00, 0.00)) | |
push!(pal, RGB(0.20, 0.20, 0.80)) |
diff --git a/src/ansi.c b/src/ansi.c | |
index d88e153..fc42a0a 100644 | |
--- a/src/ansi.c | |
+++ b/src/ansi.c | |
@@ -1493,8 +1493,24 @@ int c; | |
{ | |
if (curr->w_stringp >= curr->w_string + MAXSTR - 1) | |
curr->w_state = LIT; | |
+# ifdef UTF8 | |
+ else if (c < 0x80) |
Pq"1;1;128;36 | |
#0!16~#1!16~#2!16~#3!16~#4!16~#5!16~#6!16~#7!16~$- | |
#0!16~#1!16~#2!16~#3!16~#4!16~#5!16~#6!16~#7!16~$- | |
#0!16~#1!16~#2!16~#3!16~#4!16~#5!16~#6!16~#7!16~$- | |
#8!16~#9!16~#10!16~#11!16~#12!16~#13!16~#14!16~#15!16~$- | |
#8!16~#9!16~#10!16~#11!16~#12!16~#13!16~#14!16~#15!16~$- | |
#8!16~#9!16~#10!16~#11!16~#12!16~#13!16~#14!16~#15!16~$- | |
\ |
let &t_SI .= "\e[?14004h" | |
let &t_EI .= "\e[?14004l" | |
inoremap <special> <Esc>[=27%~ <nop> | |
noremap <special> <Esc>[=27%~ <nop> |
--- terms.c.orig 2014-09-23 21:36:24.992432936 +0900 | |
+++ terms.c 2014-09-23 21:51:16.598842197 +0900 | |
@@ -463,6 +463,80 @@ | |
#define MOVE(line,column) writestr(tgoto(T_cm,column,line)); | |
+int output_sixel_fp(char *file, int x, int y) | |
+{ | |
+ int length; | |
+ long size, rsize, count = 0; |