From 7148eaa3026999ec037563bce039c3d6577b3ca2 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 17 Dec 2004 11:18:13 +0000 Subject: [PATCH] I'd rather not keep losing these little test files, so here's some stuff that I can `cat' into a terminal to test particular features of it. git-svn-id: svn://svn.tartarus.org/sgt/putty@4999 cda61777-01e9-0310-a592-d414129be87e --- testdata/colours.txt | 22 ++++++++++++++++++++++ testdata/scocols.txt | 3 +++ testdata/utf8.txt | 20 ++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 testdata/colours.txt create mode 100644 testdata/scocols.txt create mode 100644 testdata/utf8.txt diff --git a/testdata/colours.txt b/testdata/colours.txt new file mode 100644 index 00000000..541eabb7 --- /dev/null +++ b/testdata/colours.txt @@ -0,0 +1,22 @@ +Test of most colour rendering. Omits the SCO fg and bg sequences, +since they are destructive. +Normal text and bold; reverse video and bold +ANSI plus bold: 0 bold 1 bold 2 bold 3 bold 4 bold 5 bold 6 bold 7 bold +xterm bright: fg0 bg0 fg1 bg1 fg2 bg2 fg3 bg3 fg4 bg4 fg5 bg5 fg6 bg6 fg7 bg7 +xterm 256: + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 + 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 + 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 + 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 + 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 + 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 + 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 + 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 + 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 + 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 + 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 + 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 + 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 + 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 + 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 + 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 diff --git a/testdata/scocols.txt b/testdata/scocols.txt new file mode 100644 index 00000000..142d662b --- /dev/null +++ b/testdata/scocols.txt @@ -0,0 +1,3 @@ +Test of (destructive) SCO colour rendering. +SCO fg: [=0F0[=7F [=1F1[=7F [=2F2[=7F [=3F3[=7F [=4F4[=7F [=5F5[=7F [=6F6[=7F [=7F7[=7F [=8F8[=7F [=9F9[=7F [=10F10[=7F [=11F11[=7F [=12F12[=7F [=13F13[=7F [=14F14[=7F [=15F15[=7F +SCO bg: [=0G0[=0G [=1G1[=0G [=2G2[=0G [=3G3[=0G [=4G4[=0G [=5G5[=0G [=6G6[=0G [=7G7[=0G [=8G8[=0G [=9G9[=0G [=10G10[=0G [=11G11[=0G [=12G12[=0G [=13G13[=0G [=14G14[=0G [=15G15[=0G diff --git a/testdata/utf8.txt b/testdata/utf8.txt new file mode 100644 index 00000000..ac705960 --- /dev/null +++ b/testdata/utf8.txt @@ -0,0 +1,20 @@ +Test of UTF-8 output in a terminal emulator +‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ + +Some basic Unicode: + ∮ E⋅da = Q, n → ∞, ∑ f(i) = ∏ g(i), ∀x∈ℝ: ⌈x⌉ = −⌊−x⌋, α ∧ ¬β = ¬(¬α ∨ β), + ℕ ⊆ ℕ₀ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ, ⊥ < a ≠ b ≡ c ≤ d ≪ ⊤ ⇒ (A ⇔ B), + +Combining characters: + STARGΛ̊TE SG-1, a = v̇ = r̈, a⃑ ⊥ b⃑ + [----------------------------|------------------------] + ๏ แผ่นดินฮั่นเสื่อมโทรมแสนสังเวช พระปกเกศกองบู๊กู้ขึ้นใหม่ + สิบสองกษัตริย์ก่อนหน้าแลถัดไป สององค์ไซร้โง่เขลาเบาปัญญา + +Wide characters with difficult wrapping: + コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ + +Arabic and bidirectional text: + (من مجمع الزوائد ومنبع الفوائد للهيثمي ، ج 1 ، ص 74-84) + عن جرير رضي الله عنه قال قال رسول الله صلى الله عليه + وسلم: بني الاسلام على خمس شهادة ان لا اله الا الله واقام -- 2.11.0