View gist:1d71d83182f80cef62dd24d4a8cbca07
% infocmp tmux-256color
# Reconstructed via infocmp from file: /usr/local/share/misc/terminfo.db
tmux-256color|tmux with 256 colors,
am, hs, km, mir, msgr, xenl,
colors#256, cols#80, it#8, lines#24, pairs#32767,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
View gist:f48f4b32e1f0c76a32b11febd25d715d
13:34:25 [default-akka.actor.default-dispatcher-1422] ERROR c.p.h.ControllerActor - Poster Errorscala.MatchError: JNothing (of class org.json4s.JsonAST$JNothing$)
at com.ponkotuy.data.Material$.fromJson(Material.scala:33)
at com.ponkotuy.restype.Material$.postablesFromObj(Material.scala:22)
at com.ponkotuy.restype.Port$.postables(Port.scala:19)
at com.ponkotuy.http.ControllerActor$$anonfun$receive$2.applyOrElse(PostActor.scala:66)
at akka.actor.Actor$class.aroundReceive(Actor.scala:482)
at com.ponkotuy.http.ControllerActor.aroundReceive(PostActor.scala:59)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
at akka.actor.ActorCell.invoke(ActorCell.scala:495)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
View multisend.ttl
server_b="server-b mcast"
prompt="%"
connect "server-b"
wait prompt
setmulticastname server_b
unlink
connect "server-a"
wait prompt
View broadcast-test.ttl
total=250
xcount=20
xdelta=50
ydelta=50
for i 1 total
call opentt
unlink
next
View vim-lrm-il-fix.diff
diff --git a/src/screen.c b/src/screen.c
index 0ec9ea2..01ea728 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -9732,6 +9732,7 @@ screen_ins_lines(
int j;
unsigned temp;
int cursor_row;
+ int cursor_col = 0;
int type;
View vim-lrm-req.diff
diff --git a/src/main.c b/src/main.c
index 268c256..04edcad 100644
--- a/src/main.c
+++ b/src/main.c
@@ -825,6 +825,7 @@ vim_main2(void)
may_req_termresponse();
may_req_bg_color();
+ may_req_lrm_status();
#endif
View resize.rb
#!/usr/bin/env ruby
#encoding: ASCII-8BIT
#
# resize.rb -- resize コマンドの手抜き実装
#
# xterm の付属コマンド resize[1] の機能の内、端末(エミュレータ)の現在の
# サイズを調べて TTY の設定を合わせる機能の実装例です。
#
# 原理:
# カーソル位置を 999 行目 999 桁目に移動する命令を送信し、実際に移動した
View gist:9fc4103083595e2431d03868ad042a61
% uname -a
FreeBSD mizup 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
% printf "abaaaaaaaaaaaaaaabaaaa" | hexdump -C
00000000 61 62 61 61 61 61 61 61 61 61 61 61 61 61 61 61 |abaaaaaaaaaaaaaa|
*
00000010
########
% uname -a
View .vimrc
if has('patch-8.0.0238')
if &term =~ "screen"
let &t_BE = "\e[?2004h"
let &t_BD = "\e[?2004l"
exec "set t_PS=\e[200~"
exec "set t_PE=\e[201~"
endif
else
if has('patch-8.0.0210')
set t_BE=
View gist:eeb3431f68b4d23c349eaa5ae90b437b
sue@mizup% echo $PATH
/bin:/usr/bin
sue@mizup% echo $path
/bin /usr/bin
sue@mizup% cat /home/sue/path:test/path-test
#!/bin/sh
echo $0 test
sue@mizup% path-test
zsh: command not found: path-test
sue@mizup% path=($path /home/sue/path:test)