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
; Tera Term用 Dracula Theme 設定 | |
; https://draculatheme.com | |
; | |
; License: CC0 | |
; | |
; 以下の設定を、TERATERM.INI内の同じ設定と置き換えてください | |
; VTBoldColor, VTBlinkColor, URLColor の設定は適当なのでお好みに合わせて調整してください | |
; | |
[Tera Term] | |
ANSIColor=0,0,0,0, 1,255,110,103, 2,90,247,142, 3,244,249,157, 4,202,169,250, 5,255,146,208, 6,154,237,254, 7,230,230,230, 8,104,104,104, 9,255,85,85, 10,80,250,123, 11,241,250,140, 12,202,169,250, 13,255,121,198, 14,139,233,253, 15,191,191,191 |
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
#!/bin/bash | |
# | |
# resize.bash -- resize コマンドの手抜き再実装 (bashスクリプト) | |
# | |
# xterm の付属コマンド resize[*1] の機能の内、端末(エミュレータ)の現在の | |
# サイズを調べて TTY の設定を合わせる機能の実装例です。 | |
# | |
# 原理: | |
# rubyスクリプト版[*2]を参照 | |
# |
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/env ruby | |
#encoding: ASCII-8BIT | |
# | |
# resize.rb -- resize コマンドの手抜き実装 | |
# | |
# xterm の付属コマンド resize[1] の機能の内、端末(エミュレータ)の現在の | |
# サイズを調べて TTY の設定を合わせる機能の実装例です。 | |
# | |
# 原理: | |
# カーソル位置を 9999 行目 9999 桁目に移動する命令を送信し、実際に移動した |
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
strdim w 2 | |
w[0] = "ドド" | |
w[1] = "スコ" | |
f1 = 4 | |
f2 = 0 | |
until f1 == 3 && f2 == 2 | |
random n 1 | |
dispstr w[n] |
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
vim | |
>= 95 button-event mouse | |
>= 141 request termcap/terminfo string | |
>= 277 sgr-mouse | |
Emacs (xterm.el) | |
>= 216 modifyOtherKeys | |
>= 242 query background color | |
MinEd | |
>= 251 title stack | |
>= 210 UTF-8 title |
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
[User keys] | |
User1=515,0,@ | |
User2=519,0,^ | |
User3=520,0,& | |
User4=521,0,* | |
User5=522,0,( | |
User6=523,0,) | |
; - はキーが一致するので設定不要 | |
;User7=12,0,- | |
User7=524,0,_ |
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
sue@hiyo% repeat 10 test/openssh/8.2/bin/scp -P 8222 -o Ciphers=chacha20-poly1305@openssh.com scptest.dat localhost:/dev/null | |
scptest.dat 100% 1024MB 82.1MB/s 00:12 | |
scptest.dat 100% 1024MB 79.5MB/s 00:12 | |
scptest.dat 100% 1024MB 80.3MB/s 00:12 | |
scptest.dat 100% 1024MB 80.1MB/s 00:12 | |
scptest.dat 100% 1024MB 80.7MB/s 00:12 | |
scptest.dat 100% 1024MB 80.5MB/s 00:12 | |
scptest.dat 100% 1024MB 78.2MB/s 00:13 | |
scptest.dat |
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
--- kanji.c.orig 2020-07-03 12:30:37.251639000 +0900 | |
+++ kanji.c 2020-07-03 12:30:41.693271000 +0900 | |
@@ -1018,9 +1018,11 @@ | |
buf[0] = (char)c1; | |
buf[1] = (char)getkbd(); | |
- if (!(c1 & 16)) | |
+ if (!(c1 & 32)) { | |
+ /* nothing to do */ | |
+ } else if (!(c1 & 16)) { |
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
# | |
# paste64 -- OSC 52 (PASTE64) を利用した端末エミュレータ経由でのクリップボード書き込み | |
# | |
# 使い方: | |
# % ls | paste64 | |
# ls の結果をクリップボードに書き込む。 | |
# | |
# % cat hoge | nkf -s | paste64 | |
# ファイル hoge の内容(日本語を含む)をクリップボードに書き込む。 | |
# 漢字コードの扱いは端末依存。 |
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
sue@taiyo% repeat 10 zsh -c 'ssh 192.168.56.53 rm -f benchmark3; time rsync benchmark3 192.168.56.53:' | |
rsync benchmark3 192.168.56.53: 9.16s user 4.13s system 54% cpu 24.191 total | |
rsync benchmark3 192.168.56.53: 9.16s user 4.01s system 55% cpu 23.929 total | |
rsync benchmark3 192.168.56.53: 9.09s user 4.10s system 54% cpu 24.172 total | |
rsync benchmark3 192.168.56.53: 9.20s user 4.11s system 55% cpu 24.163 total | |
rsync benchmark3 192.168.56.53: 9.10s user 4.02s system 53% cpu 24.397 total | |
rsync benchmark3 192.168.56.53: 9.24s user 4.22s system 55% cpu 24.085 total | |
rsync benchmark3 192.168.56.53: 9.11s user 4.04s system 54% cpu 24.182 total | |
rsync benchmark3 192.168.56.53: 9.18s user 4.04s system 55% cpu 24.034 total | |
rsync benchmark3 192.168.56.53: 8.98s user 4.00s system 53% cpu 24.107 total |
NewerOlder