View haiku.ttl
1 2 3 4 5 6 7 8 9 10
strdim haiku 3
haiku[0] = "古池や 蛙飛び込む 水の音"
haiku[1] = "柿食えば 鐘が鳴るなり 法隆寺"
haiku[2] = "松島や ああ松島や 松島や"
 
; 端末初期化
; カーソル非表示(#27"[?25l")、代替スクリーンへ変更(#27"[?1049h")
; 左右マージンモード有効(#27"[?69h")、画面消去(#27"[2J")
dispstr #27"[?25l" #27"[?1049h" #27"[?69h" #27"[2J"
pause 1
View cal.txt
1 2 3 4 5 6 7 8 9 10
date = getdate(time());
t = getdate(mktime(0, 0, 0, date.mon, 1, date.year));
offset = t.wday;
 
if (date.mon == 12) {
date.year += 1;
date.mon = 1;
}
else {
date.mon += 1;
View cal-messagebox.ttl
1 2 3 4 5 6 7 8 9 10
getdate y "%Y"
str2int year y
getdate m "%m"
str2int mon m
getdate d "%d"
str2int day d
getdate w "%w"
str2int wday w
 
offset = (wday + 8 - (day % 7)) % 7
View cal.ttl
1 2 3 4 5 6 7 8 9 10
getdate y "%Y"
str2int year y
getdate m "%m"
str2int mon m
getdate d "%d"
str2int day d
getdate w "%w"
str2int wday w
 
offset = (wday + 8 - (day % 7)) % 7
View yamada.ttl
1 2 3 4 5 6 7 8 9 10
;;; yamada.ttl --- 山田が踊ります
 
;; Copyright (C) 2013 by Wataru MIYAGUNI
;; Copyright (C) 2014 by IWAMOTO Kouichi
 
;; 作者: いわもと こういち
;; オリジナル版作者: Wataru MIYAGUNI (gonngo _at_ gmail.com)
;; Version: 0.0.1
 
;;; ライセンス:
View gist:c9db22ed1668e2e29a76
1 2 3 4
let &t_SI .= "\e[?14004h"
let &t_EI .= "\e[?14004l"
inoremap <special> <Esc>[=27%~ <nop>
noremap <special> <Esc>[=27%~ <nop>
View uudecode.ttl
1 2 3 4 5 6 7 8 9 10
setsync 1
timeout = 0
 
; getspecialfolder save_dir "MyDocuments"
getspecialfolder save_dir "Desktop"
; save_dir = "C:\My Documents"
; save_dir = ""
 
do
recvln
View errormsg.txt
1 2 3 4 5 6 7 8 9 10
---------------------------------------------
Welcome to MyFleetGirls Client Ver 0.13.6
---------------------------------------------
 
Exception in thread "main" java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
View cursor-pos-test.sxl
1 2 3 4 5 6 7 8 9 10
P0;0;8q"1;1
#0;2;0;0;0#1;2;64;75;90#2;2;45;39;58#3;2;45;26;23#4;2;51;59;49#5;2;28;45;73#6;2;99;94;90#7;2;29;44;71#8;2;17;14;20#9;2;87;80;55#10;2;100;100;100#11;2;20;27;53#12;2;15;4;2#13;2;25;35;71#14;2;100;95;88#15;2;1;1;1
#0!100@$
#0!100A$
#0!2C#10!96C#0!2C$
#0!2G#10!96G#0!2G$
#0!2O#10!2O#7!92O#10!2O#0!2O$
#0!2_#10!2_#7!92_#10!2_#0!2_$
-
#0!2@#10!2@#7!92@#10!2@#0!2@$
View lrm-test.txt
1 2 3 4 5 6 7 8 9 10
11111111111111111111111111111111111111111111111111111111111111111111111111111111
22222222222222222222222222222222222222222222222222222222222222222222222222222222
33333333333333333333333333333333333333333333333333333333333333333333333333333333
44444444444444444444444444444444444444444444444444444444444444444444444444444444
55555555555555555555555555555555555555555555555555555555555555555555555555555555
66666666666666666666666666666666666666666666666666666666666666666666666666666666
77777777777777777777777777777777777777777777777777777777777777777777777777777777
88888888888888888888888888888888888888888888888888888888888888888888888888888888
99999999999999999999999999999999999999999999999999999999999999999999999999999999
00000000000000000000000000000000000000000000000000000000000000000000000000000000
Something went wrong with that request. Please try again.