| 1 | Research on Terminals |
| 2 | ===================== |
| 3 | |
| 4 | All tested with their latest version obtainable of Arch Linux (or macOS 11, Windows 10) as of |
| 5 | writing. Version tested is noted where possible, but otherwise compare to the git blame date. |
| 6 | |
| 7 | To contribute entries: |
| 8 | |
| 9 | - Insert in the correct category, in lexicographic order |
| 10 | - Test with both the terminal’s own terminfo, and with `xterm-256color`. |
| 11 | - If the terminal doesn’t have its own terminfo, note that, and note which it is trying to emulate. |
| 12 | - And consider filing a bug to tell them to provide their own terminfo! |
| 13 | - If a terminal has forks, especially if there’s a lot of them, only document a fork if its |
| 14 | behaviour is different. |
| 15 | - If the terminal is based on a common library, mention it. |
| 16 | - If the terminal is web-based, mention that. |
| 17 | - Document the current selection of `::default()`. |
| 18 | - Document the behaviour of at least: |
| 19 | - `Terminfo` |
| 20 | - `TerminfoScreen` |
| 21 | - `TerminfoScrollback` |
| 22 | - `VtRis` |
| 23 | - `XtermClear` |
| 24 | - “Normal” behaviour refers to: |
| 25 | - `::default()`: screen and scrollback (if at all possible) cleared |
| 26 | - `Terminfo`: at least screen cleared, and optionally scrollback |
| 27 | - `TerminfoScreen`: only screen cleared |
| 28 | - `TerminfoScrollback`: only scrollback cleared |
| 29 | - `VtRis`: screen and scrollback cleared, and (at least some modes of) terminal reset |
| 30 | - `XtermClear`: screen and scrollback cleared |
| 31 | - `Cls`: screen and scrollback cleared |
| 32 | - `WindowsVtClear`: screen and scrollback cleared |
| 33 | - There is zero tolerance for advertising via this document. |
| 34 | |
| 35 | How to test: |
| 36 | ------------ |
| 37 | |
| 38 | First link the clscli example program into your PATH, e.g. |
| 39 | |
| 40 | ``` |
| 41 | ln -s $(pwd)/target/debug/examples/clscli ~/.local/share/bin/clscli |
| 42 | ``` |
| 43 | |
| 44 | Open the terminal in its default profile, or as it comes when first installed. |
| 45 | |
| 46 | Then use `env | grep TERM` to see what the `TERM` and other related variables look like (make note!). |
| 47 | |
| 48 | Look into `/usr/share/terminfo` for a terminfo that matches the terminal, or wherever it is on your |
| 49 | system. If there's a separate but official package for the terminal’s terminfo, use it. |
| 50 | |
| 51 | First test with the native terminfo: set it either in the terminal’s settings, or use |
| 52 | `env TERM=name $SHELL`, then with the `TERM` the terminal first starts with by default, and finally |
| 53 | with `xterm-256color` if that’s not been covered yet. |
| 54 | |
| 55 | 1. First run `clscli auto`. Look quick, the name of the variant selected by default will be printed, |
| 56 | and one second later, hopefully, the screen will clear. Document that variant. |
| 57 | 2. Then run `clscli Variant` where the variant is: `Terminfo`, `TerminfoScreen`, |
| 58 | `TerminfoScrollback`, `VtRis`, `XtermClear`, and the variant discovered in 1, if not one of |
| 59 | these. Before each, run `seq 1 100` or something like it to fill the screen and some scrollback. |
| 60 | Document the behaviour if it differs from normal, or state “normal.” |
| 61 | 3. Optionally (if you want), if `clscli auto` does not exhibit the normal behaviour, open an issue |
| 62 | and provide enough details to be able to modify the `::default()` selection to select a |
| 63 | different default that works. If you’re really enthusiastic, you can even open a PR with it! |
| 64 | 4. To submit your research, either submit a PR to this file (preferred, you can even do it in the |
| 65 | GitHub Web UI), or open an issue with your research (I’ll merge it in), or send me an email. |
| 66 | |
| 67 | Platforms |
| 68 | --------- |
| 69 | |
| 70 | On macOS, the terminfo for `xterm` and variants does not by default include E3, which makes |
| 71 | `Terminfo` not clear scrollback and `TerminfoScrollback` return an error (E3 not found), even when |
| 72 | the terminal in question actually does support E3. For that reason, default behaviour on macOS is |
| 73 | switched to use `XtermClear` if the `TERM` starts with `xterm` and the terminfo doesn’t have E3. |
| 74 | |
| 75 | If the terminfo database is not available, `::default()` falls back to `XTermClear` instead of |
| 76 | supplying a useless `Terminfo`. When testing, it's expected to have a functional terminfo where |
| 77 | practical. |
| 78 | |
| 79 | Emulator libraries |
| 80 | ------------------ |
| 81 | |
| 82 | ### BearLibTerminal |
| 83 | |
| 84 | ### libamxt |
| 85 | |
| 86 | ### libt3widget |
| 87 | |
| 88 | ### libt3window |
| 89 | |
| 90 | ### libterm |
| 91 | |
| 92 | ### libtickit |
| 93 | |
| 94 | ### libtsm |
| 95 | |
| 96 | ### libvterm |
| 97 | |
| 98 | ### Qtermwidget |
| 99 | |
| 100 | ### Rote |
| 101 | |
| 102 | ### VTE |
| 103 | |
| 104 | When “VTE-based” is stated and nothing else, assume this: |
| 105 | |
| 106 | Native `TERM` is `xterm-256color`. |
| 107 | |
| 108 | - Default: `Terminfo`. |
| 109 | - `Terminfo`: normal. |
| 110 | - `TerminfoScreen`: normal. |
| 111 | - `TerminfoScrollback`: normal. |
| 112 | - `VtRis`: normal. |
| 113 | - `XtermClear`: normal. |
| 114 | |
| 115 | |
| 116 | Emulators |
| 117 | --------- |
| 118 | |
| 119 | ### Alacritty |
| 120 | |
| 121 | - Version 0.7.2 |
| 122 | |
| 123 | With native `TERM=alacritty`: |
| 124 | |
| 125 | - Default: `Terminfo`. |
| 126 | - `Terminfo`: normal. |
| 127 | - `TerminfoScreen`: normal. |
| 128 | - `TerminfoScrollback`: normal. |
| 129 | - `VtRis`: normal. |
| 130 | - `XtermClear`: normal. |
| 131 | |
| 132 | With `TERM=xterm-256color`: |
| 133 | |
| 134 | - Default: `Terminfo`. |
| 135 | - `Terminfo`: normal. |
| 136 | - `TerminfoScreen`: normal. |
| 137 | - `TerminfoScrollback`: normal. |
| 138 | - `VtRis`: normal. |
| 139 | - `XtermClear`: normal. |
| 140 | |
| 141 | ### Aminal |
| 142 | |
| 143 | - Version Nightly-develop-2020-01-26-4033a8b |
| 144 | |
| 145 | Native `TERM` is `xterm-256color`. |
| 146 | |
| 147 | - Default: `Terminfo`. **The better option would be `VtRis`, but there’s no way to tell we’re |
| 148 | running in Aminal.** |
| 149 | - `Terminfo`: does not clear scrollback, appears to clear the screen, but really erases the screen |
| 150 | without scrolling the existing output up, thus losing a screenful of information. |
| 151 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 152 | existing output up, thus losing a screenful of information. |
| 153 | - `TerminfoScrollback`: does not clear scrollback, erases the screen, but leaves cursor position |
| 154 | intact, i.e. at the bottom of the screen if we were there. |
| 155 | - `VtRis`: clears screen, doesn’t clear scrollback, but does push the existing output up, so that |
| 156 | information is not lost. |
| 157 | - `XtermClear`: as for `Terminfo`. |
| 158 | |
| 159 | ### Android Terminal Emulator |
| 160 | |
| 161 | ### Archipelago |
| 162 | |
| 163 | - Web-based |
| 164 | |
| 165 | ### ate |
| 166 | |
| 167 | - Version 1.0.1 |
| 168 | |
| 169 | Native `TERM` is `xterm-256color`. |
| 170 | |
| 171 | - Default: `Terminfo`. |
| 172 | - `Terminfo`: normal. |
| 173 | - `TerminfoScreen`: normal. |
| 174 | - `TerminfoScrollback`: normal. |
| 175 | - `VtRis`: normal. |
| 176 | - `XtermClear`: normal. |
| 177 | |
| 178 | ### Blink Shell (iOS) |
| 179 | |
| 180 | ### Bterm |
| 181 | |
| 182 | - Version 2.0.0 |
| 183 | |
| 184 | Native `TERM` is `xterm`. |
| 185 | |
| 186 | - Default: `Terminfo`. |
| 187 | - `Terminfo`: normal. |
| 188 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 189 | existing output up, thus losing a screenful of information. |
| 190 | - `TerminfoScrollback`: normal. |
| 191 | - `VtRis`: normal. |
| 192 | - `XtermClear`: normal. |
| 193 | |
| 194 | ### Butterfly |
| 195 | |
| 196 | - Web-based |
| 197 | |
| 198 | ### Cathode |
| 199 | |
| 200 | ### CMD.EXE |
| 201 | |
| 202 | - Windows 10 Pro, build 19042.630 |
| 203 | |
| 204 | There's no `TERM` variable and no terminfo database. |
| 205 | |
| 206 | - Default: `WindowsVtClear`. |
| 207 | - `Terminfo`: there's no TERM nor terminfo database. |
| 208 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 209 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 210 | - `VtRis`: prints `←c` and does nothing else. |
| 211 | - `XtermClear`: prints `←[H←[2J←[3J` and does nothing else. |
| 212 | - `Cls`: normal. |
| 213 | - `WindowsConsoleClear`: does nothing ***BUG!*** |
| 214 | - `WindowsConsoleBlank`: does nothing ***BUG!*** |
| 215 | - `WindowsVtClear`: normal. |
| 216 | |
| 217 | ### ConEmu |
| 218 | |
| 219 | - Version 210422 |
| 220 | |
| 221 | There's no `TERM` variable and no terminfo database. |
| 222 | |
| 223 | - Default: `WindowsVtClear`. |
| 224 | - `Terminfo`: there's no TERM nor terminfo database. |
| 225 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 226 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 227 | - `VtRis`: normal. |
| 228 | - `XtermClear`: normal. |
| 229 | - `Cls`: normal. |
| 230 | - `WindowsVtClear`: normal. |
| 231 | |
| 232 | ### ConsoleZ |
| 233 | |
| 234 | - Version 1.19.0.19104 |
| 235 | |
| 236 | There's no `TERM` variable and no terminfo database. |
| 237 | |
| 238 | - Default: `WindowsVtClear`. |
| 239 | - `Terminfo`: there's no TERM nor terminfo database. |
| 240 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 241 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 242 | - `VtRis`: prints `←c`, does nothing else. |
| 243 | - `XtermClear`: prints `←[H←[2J←[3J`, does nothing else. |
| 244 | - `Cls`: normal. |
| 245 | - `WindowsVtClear`: normal. |
| 246 | |
| 247 | ### Cool Retro Term |
| 248 | |
| 249 | - Version 1.1.1 |
| 250 | |
| 251 | Native `TERM` is `xterm`. |
| 252 | |
| 253 | - Default: `Terminfo`. |
| 254 | - `Terminfo`: normal. |
| 255 | - `TerminfoScreen`: normal. |
| 256 | - `TerminfoScrollback`: normal. |
| 257 | - `VtRis`: scrollback not cleared. |
| 258 | - `XtermClear`: normal. |
| 259 | |
| 260 | ### Core Terminal |
| 261 | |
| 262 | - Version 4.2.0 |
| 263 | - Doesn’t respect user shell by default. |
| 264 | |
| 265 | Native `TERM` is `xterm-256color`. |
| 266 | |
| 267 | - Default: `Terminfo`. |
| 268 | - `Terminfo`: normal. |
| 269 | - `TerminfoScreen`: normal. |
| 270 | - `TerminfoScrollback`: normal. |
| 271 | - `VtRis`: scrollback not cleared. |
| 272 | - `XtermClear`: normal. |
| 273 | |
| 274 | ### Deepin Terminal |
| 275 | |
| 276 | - Version 5.4.0.6 |
| 277 | |
| 278 | Native `TERM` is `xterm-256color`. |
| 279 | |
| 280 | - Default: `Terminfo`. |
| 281 | - `Terminfo`: normal. |
| 282 | - `TerminfoScreen`: normal. |
| 283 | - `TerminfoScrollback`: normal. |
| 284 | - `VtRis`: scrollback not cleared. |
| 285 | - `XtermClear`: normal. |
| 286 | |
| 287 | #### Old GTK version |
| 288 | |
| 289 | - Version 5.0.4.3 |
| 290 | |
| 291 | Native `TERM` is `xterm-256color`. |
| 292 | |
| 293 | - Default: `Terminfo`. |
| 294 | - `Terminfo`: normal. |
| 295 | - `TerminfoScreen`: normal. |
| 296 | - `TerminfoScrollback`: normal. |
| 297 | - `VtRis`: normal. |
| 298 | - `XtermClear`: normal. |
| 299 | |
| 300 | ### Dinu |
| 301 | |
| 302 | ### dmenu-term? |
| 303 | |
| 304 | ### domterm |
| 305 | |
| 306 | - Web-based? |
| 307 | |
| 308 | ### dwt |
| 309 | |
| 310 | - Version 0.6.0 |
| 311 | - VTE-based |
| 312 | |
| 313 | ### eDEX UI |
| 314 | |
| 315 | - Version 2.2.7 |
| 316 | - Doesn’t respect user shell by default. |
| 317 | |
| 318 | Native `TERM` is `xterm-256color`. |
| 319 | |
| 320 | - Default: `Terminfo`. |
| 321 | - `Terminfo`: normal. |
| 322 | - `TerminfoScreen`: normal. |
| 323 | - `TerminfoScrollback`: normal. |
| 324 | - `VtRis`: normal. |
| 325 | - `XtermClear`: normal. |
| 326 | |
| 327 | ### Electerm |
| 328 | |
| 329 | - Version 1.11.16 |
| 330 | - Doesn’t respect user shell by default. |
| 331 | |
| 332 | Native `TERM` is `xterm-256color`. |
| 333 | |
| 334 | - Default: `Terminfo`. **The better option would be `VtRis`, but there’s no way to tell we’re |
| 335 | running in Electerm.** |
| 336 | - `Terminfo`: normal, except scrollbar is weird, like it thinks there’s still all the old content, |
| 337 | but without showing any scrolling when going up or down. |
| 338 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 339 | existing output up, thus losing a screenful of information. |
| 340 | - `TerminfoScrollback`: normal. |
| 341 | - `VtRis`: normal. |
| 342 | - `XtermClear`: as for `Terminfo`. |
| 343 | |
| 344 | ### Elokab Terminal |
| 345 | |
| 346 | - Arabic language support! |
| 347 | |
| 348 | ### eterm |
| 349 | |
| 350 | ### Evil VTE |
| 351 | |
| 352 | - VTE-based |
| 353 | - Untested yet |
| 354 | |
| 355 | ### ExtraTerm |
| 356 | |
| 357 | - Version 0.58.0 |
| 358 | |
| 359 | Native `TERM` is `xterm-256color`. |
| 360 | |
| 361 | - Default: `Terminfo`. (Mostly because it’s the least worst and has a chance to get better.) |
| 362 | - `Terminfo`: does not clear scrollback, appears to clear the screen, but really erases the screen |
| 363 | without scrolling the existing output up, thus losing a screenful of information. |
| 364 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 365 | existing output up, thus losing a screenful of information. |
| 366 | - `TerminfoScrollback`: does nothing. |
| 367 | - `VtRis`: behaves like `Terminfo` but also prints `[2m` (badly handled unknown escape). |
| 368 | - `XtermClear`: as for `Terminfo`. |
| 369 | |
| 370 | ### fbpad |
| 371 | |
| 372 | ### Fingerterm |
| 373 | |
| 374 | - For Nokia N9 phones? |
| 375 | |
| 376 | ### Fluent Terminal (Windows) |
| 377 | |
| 378 | - Version 0.7.5.0 |
| 379 | - Xterm.js-based |
| 380 | |
| 381 | There's no `TERM` variable and no terminfo database. |
| 382 | |
| 383 | - Default: `WindowsVtClear`. |
| 384 | - `Terminfo`: there's no TERM nor terminfo database. |
| 385 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 386 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 387 | - `VtRis`: does not clear scrollback, appears to clear the screen, but really erases the screen |
| 388 | without scrolling the existing output up, thus losing a screenful of information. |
| 389 | - `XtermClear`: as for `VtRis`. |
| 390 | - `Cls`: as for `VtRis`. |
| 391 | - `WindowsVtClear`: as for `VtRis`. |
| 392 | |
| 393 | ### Foot |
| 394 | |
| 395 | - Version 1.7.2 |
| 396 | - Wayland only |
| 397 | |
| 398 | With `TERM=foot`: |
| 399 | |
| 400 | - Default: `Terminfo`. |
| 401 | - `Terminfo`: normal. |
| 402 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 403 | existing output up, thus losing a screenful of information. |
| 404 | - `TerminfoScrollback`: normal. |
| 405 | - `VtRis`: normal. |
| 406 | - `XtermClear`: normal. |
| 407 | |
| 408 | With `TERM=xterm-256color`: |
| 409 | |
| 410 | - Default: `Terminfo`. |
| 411 | - `Terminfo`: normal. |
| 412 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 413 | existing output up, thus losing a screenful of information. |
| 414 | - `TerminfoScrollback`: normal. |
| 415 | - `VtRis`: normal. |
| 416 | - `XtermClear`: normal. |
| 417 | |
| 418 | ### FQTerm |
| 419 | |
| 420 | - Version 0.9.10.1.1.g55d08df |
| 421 | |
| 422 | With `TERM=vt102`: |
| 423 | |
| 424 | - Default: `Terminfo`. |
| 425 | - `Terminfo`: doesn’t clear scrollback. |
| 426 | - `TerminfoScreen`: normal. |
| 427 | - `TerminfoScrollback`: doesn’t support E3. |
| 428 | - `VtRis`: does nothing. |
| 429 | - `XtermClear`: doesn’t clear scrollback. |
| 430 | |
| 431 | With `TERM=xterm-256color`: |
| 432 | |
| 433 | - Default: `Terminfo`. |
| 434 | - `Terminfo`: doesn’t clear scrollback. |
| 435 | - `TerminfoScreen`: normal. |
| 436 | - `TerminfoScrollback`: does nothing. |
| 437 | - `VtRis`: does nothing. |
| 438 | - `XtermClear`: doesn’t clear scrollback. |
| 439 | |
| 440 | ### Germinal |
| 441 | |
| 442 | - Version 26 |
| 443 | - VTE-based |
| 444 | |
| 445 | ### Guake |
| 446 | |
| 447 | - Version 3.7.0 |
| 448 | - VTE-based |
| 449 | |
| 450 | ### GNOME Terminal |
| 451 | |
| 452 | - Version 3.40.0 |
| 453 | - VTE-based |
| 454 | |
| 455 | With `TERM=gnome-256color`: |
| 456 | |
| 457 | - Default: `XTermClear`. |
| 458 | - `Terminfo`: behaves like `TerminfoScreen`, doesn’t clear scrollback. |
| 459 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 460 | - `TerminfoScrollback`: terminfo does not support E3. |
| 461 | - `VtRis`: normal. |
| 462 | - `XtermClear`: normal. |
| 463 | |
| 464 | With `TERM=xterm-256color`: |
| 465 | |
| 466 | - Default: `Terminfo`. |
| 467 | - `Terminfo`: normal. |
| 468 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 469 | - `TerminfoScrollback`: normal. |
| 470 | - `VtRis`: normal. |
| 471 | - `XtermClear`: normal. |
| 472 | |
| 473 | ### Goterminal |
| 474 | |
| 475 | ### Havoc |
| 476 | |
| 477 | - Wayland only |
| 478 | |
| 479 | ### Hyper |
| 480 | |
| 481 | - Web-based |
| 482 | |
| 483 | ### iTerm2 |
| 484 | |
| 485 | - Version 3.3.12 |
| 486 | |
| 487 | Native `TERM` is `xterm-256color`. |
| 488 | |
| 489 | - Default: `XtermClear`. |
| 490 | - `Terminfo`: normal (does not clear scrollback). |
| 491 | - `TerminfoScreen`: normal. |
| 492 | - `TerminfoScrollback`: does not support E3. |
| 493 | - `VtRis`: does not clear scrollback (behaves like `TerminfoScreen`). |
| 494 | - `XtermClear`: normal. |
| 495 | |
| 496 | ### jbxvt |
| 497 | |
| 498 | ### jfbterm |
| 499 | |
| 500 | ### JuiceSSH |
| 501 | |
| 502 | - Version |
| 503 | |
| 504 | Native `TERM` is `linux`. |
| 505 | |
| 506 | - Default: `Terminfo`. |
| 507 | - `Terminfo`: does not clear scrollback, appears to clear the screen, but really erases the screen |
| 508 | without scrolling the existing output up, thus losing a screenful of information. |
| 509 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 510 | existing output up, thus losing a screenful of information. |
| 511 | - `TerminfoScrollback`: does nothing. |
| 512 | - `VtRis`: does nothing |
| 513 | - `XtermClear`: as for `Terminfo`. |
| 514 | |
| 515 | ### Kermit |
| 516 | |
| 517 | - Version 3.4 |
| 518 | - VTE-based |
| 519 | |
| 520 | The `kermit` terminfo also exists, but may not be related, and does not work. |
| 521 | |
| 522 | ### King’s Cross (kgx) |
| 523 | |
| 524 | - Version 0.2.1 |
| 525 | |
| 526 | Native `TERM` is `xterm-256color`. |
| 527 | |
| 528 | - Default: `Terminfo`. |
| 529 | - `Terminfo`: normal. |
| 530 | - `TerminfoScreen`: normal. |
| 531 | - `TerminfoScrollback`: normal. |
| 532 | - `VtRis`: normal. |
| 533 | - `XtermClear`: normal. |
| 534 | |
| 535 | ### Kitty |
| 536 | |
| 537 | - Version 0.20.1 |
| 538 | |
| 539 | With native `TERM=xterm-kitty`: |
| 540 | |
| 541 | - Default: `VtRis`. |
| 542 | - `Terminfo`: does not clear scrollback, appears to clear the screen, but really erases the screen |
| 543 | without scrolling the existing output up, thus losing a screenful of information. |
| 544 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 545 | existing output up, thus losing a screenful of information. |
| 546 | - `TerminfoScrollback`: does not support E3. |
| 547 | - `VtRis`: normal. |
| 548 | - `XtermClear`: normal. |
| 549 | |
| 550 | With `TERM=kitty`: as with `xterm-kitty`. |
| 551 | |
| 552 | With `TERM=xterm-256color`: |
| 553 | |
| 554 | - Default: `Terminfo`. |
| 555 | - `Terminfo`: normal. |
| 556 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 557 | existing output up, thus losing a screenful of information. |
| 558 | - `TerminfoScrollback`: erases scrollback and screen, but does not clear them (can be scrolled, but |
| 559 | all is blank). |
| 560 | - `VtRis`: normal. |
| 561 | - `XtermClear`: normal. |
| 562 | |
| 563 | ### KMScon |
| 564 | |
| 565 | ### Konsole |
| 566 | |
| 567 | - Version 21.04.0 |
| 568 | |
| 569 | With native `TERM=xterm-256color`: |
| 570 | |
| 571 | - Default: `Terminfo`. |
| 572 | - `Terminfo`: normal. |
| 573 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 574 | existing output up, thus losing a screenful of information. |
| 575 | - `TerminfoScrollback`: normal. |
| 576 | - `VtRis`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 577 | without scrolling the existing output up, thus losing a screenful of information. |
| 578 | - `XtermClear`: normal. |
| 579 | |
| 580 | With `TERM=konsole`: |
| 581 | |
| 582 | - Default: `XtermClear`. |
| 583 | - `Terminfo`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 584 | without scrolling the existing output up, thus losing a screenful of information. |
| 585 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 586 | existing output up, thus losing a screenful of information. |
| 587 | - `TerminfoScrollback`: does not support E3. |
| 588 | - `VtRis`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 589 | without scrolling the existing output up, thus losing a screenful of information. |
| 590 | - `XtermClear`: normal. |
| 591 | |
| 592 | ### Lilyterm |
| 593 | |
| 594 | - libvte-based |
| 595 | |
| 596 | ### Liri Terminal |
| 597 | |
| 598 | - Version 0.2.0 |
| 599 | - Doesn’t respect user shell by default. |
| 600 | |
| 601 | Native `TERM` is `xterm-256color`. |
| 602 | |
| 603 | - Default: `Terminfo`. |
| 604 | - `Terminfo`: normal. |
| 605 | - `TerminfoScreen`: normal. |
| 606 | - `TerminfoScrollback`: normal. |
| 607 | - `VtRis`: doesn’t clear scrollback. |
| 608 | - `XtermClear`: normal. |
| 609 | |
| 610 | ### Literm |
| 611 | |
| 612 | - fingerterm-based? |
| 613 | |
| 614 | ### lwt |
| 615 | |
| 616 | - Version 2020-12-02 |
| 617 | - VTE-based |
| 618 | - Doesn’t respect user shell by default. |
| 619 | |
| 620 | Native `TERM` is `xterm-256color`. |
| 621 | |
| 622 | - Default: `Terminfo`. |
| 623 | - `Terminfo`: normal. |
| 624 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 625 | - `TerminfoScrollback`: normal. |
| 626 | - `VtRis`: doesn’t clear scrollback. |
| 627 | - `XtermClear`: normal. |
| 628 | |
| 629 | ### LX Terminal |
| 630 | |
| 631 | - Version 0.4.0 |
| 632 | - VTE-based |
| 633 | |
| 634 | ### MacTerm |
| 635 | |
| 636 | - Version 5 for macOS =>10.15 in development, I don't have an older mac to test 4.x. |
| 637 | |
| 638 | ### MacWise |
| 639 | |
| 640 | - Version 21.6 |
| 641 | - In VT100 emulation mode |
| 642 | - Does not have a native `TERM`. |
| 643 | |
| 644 | With `TERM=vt100`: |
| 645 | |
| 646 | - Default: `Terminfo`. |
| 647 | - `Terminfo`: erases the screen without scrolling up, thus losing info, then inserts a screenful of |
| 648 | whitespace, then scrolls up. Does not clear scrollback. |
| 649 | - `TerminfoScreen`: as for `Terminfo`. |
| 650 | - `TerminfoScrollback`: does not support E3. |
| 651 | - `VtRis`: does not clear scrollback, does not reset style. |
| 652 | - `XtermClear`: scrolls screen up, then fills the screen with whitespace, places the cursor at the |
| 653 | bottom right, then prints `3.2$`, then does that once again. (???) |
| 654 | |
| 655 | With `TERM=xterm-256color`: |
| 656 | |
| 657 | - Default: `XtermClear`. (`Terminfo` would be better, but impossible to detect.) |
| 658 | - `Terminfo`: normal. Does not clear scrollback. |
| 659 | - `TerminfoScreen`: normal. |
| 660 | - `TerminfoScrollback`: does not support E3. |
| 661 | - `VtRis`: does not clear scrollback, does not reset style. |
| 662 | - `XtermClear`: as with `TERM=vt100`. |
| 663 | |
| 664 | ### Mantid |
| 665 | |
| 666 | - Version 1.0.6 |
| 667 | - VTE-based |
| 668 | |
| 669 | ### MATE Terminal |
| 670 | |
| 671 | - Version 1.24.1 |
| 672 | - VTE-based |
| 673 | |
| 674 | ### Maui Station |
| 675 | |
| 676 | - Version 1.2.1 |
| 677 | |
| 678 | Native `TERM` is `xterm`. |
| 679 | |
| 680 | - Default: `Terminfo`. |
| 681 | - `Terminfo`: normal. |
| 682 | - `TerminfoScreen`: normal. |
| 683 | - `TerminfoScrollback`: normal. |
| 684 | - `VtRis`: doesn’t clear scrollback. |
| 685 | - `XtermClear`: normal. |
| 686 | |
| 687 | ### Microsoft Terminal / Windows Terminal |
| 688 | |
| 689 | - Version 1.7.1033.0 |
| 690 | |
| 691 | There's no `TERM` variable and no terminfo database. |
| 692 | |
| 693 | - Default: `XtermClear`. |
| 694 | - `Terminfo`: there's no TERM nor terminfo database. |
| 695 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 696 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 697 | - `VtRis`: normal. |
| 698 | - `XtermClear`: normal. |
| 699 | - `WindowsVtClear`: normal. |
| 700 | - `Cls`: normal. |
| 701 | |
| 702 | ### Miniterm |
| 703 | |
| 704 | - Version 1.7.0 |
| 705 | - VTE-based |
| 706 | |
| 707 | ### MinTTY (Windows) |
| 708 | |
| 709 | - Version 3.1.6 |
| 710 | - PuTTY-based? |
| 711 | - Via Git-Bash |
| 712 | |
| 713 | Native `TERM` is `xterm` |
| 714 | |
| 715 | - Default: `WindowsVtClear`. |
| 716 | - `Terminfo`: there's no terminfo database. |
| 717 | - `TerminfoScreen`: there's no terminfo database. |
| 718 | - `TerminfoScrollback`: there's no terminfo database. |
| 719 | - `VtRis`: normal. |
| 720 | - `XtermClear`: normal. |
| 721 | - `Cls`: does nothing. |
| 722 | - `WindowsVtClear`: normal. |
| 723 | |
| 724 | ### Miro |
| 725 | |
| 726 | - Version 0.2.0 |
| 727 | |
| 728 | ### MLTERM |
| 729 | |
| 730 | - Version 3.9.0 |
| 731 | |
| 732 | Native `TERM` is `xterm`. |
| 733 | |
| 734 | - Default: `Terminfo`. (No real good option here.) |
| 735 | - `Terminfo`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 736 | without scrolling the existing output up, thus losing a screenful of information. |
| 737 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 738 | existing output up, thus losing a screenful of information. |
| 739 | - `TerminfoScrollback`: does nothing. |
| 740 | - `VtRis`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 741 | without scrolling the existing output up, thus losing a screenful of information. |
| 742 | - `XtermClear`: as for `Terminfo`. |
| 743 | |
| 744 | ### MobaXterm |
| 745 | |
| 746 | - Version 21.1 build 4628 Home Edition |
| 747 | |
| 748 | There's no `TERM` variable and no terminfo database. |
| 749 | |
| 750 | - Default: `WindowsVtClear`. |
| 751 | - `Terminfo`: there's no TERM nor terminfo database. |
| 752 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 753 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 754 | - `VtRis`: prints `←c`, does nothing else. |
| 755 | - `XtermClear`: prints `←[H←[2J←[3J`, does nothing else. |
| 756 | - `Cls`: doesn’t clear scrollback. |
| 757 | - `WindowsVtClear`: doesn’t clear scrollback. |
| 758 | |
| 759 | #### With built-in Bash mode |
| 760 | |
| 761 | Native `TERM` is `xterm`. |
| 762 | |
| 763 | - Default: `WindowsVtClear`. |
| 764 | - `Terminfo`: there's no terminfo database. |
| 765 | - `TerminfoScreen`: there's no terminfo database. |
| 766 | - `TerminfoScrollback`: there's no terminfo database. |
| 767 | - `VtRis`: doesn’t clear scrollback. |
| 768 | - `XtermClear`: normal. |
| 769 | - `Cls`: doesn’t clear scrollback. |
| 770 | - `WindowsVtClear`: normal. |
| 771 | |
| 772 | ### mrxvt |
| 773 | |
| 774 | ### mt |
| 775 | |
| 776 | ### Nautilus Terminal |
| 777 | |
| 778 | - Version 3.5.0 |
| 779 | - VTE-based |
| 780 | |
| 781 | ### Nemo Terminal |
| 782 | |
| 783 | - Version 4.8.0 |
| 784 | - VTE-based |
| 785 | |
| 786 | ### Neovim |
| 787 | |
| 788 | - Version 0.4.4 |
| 789 | |
| 790 | `TERM` is inherited. With `xterm-256color`: |
| 791 | |
| 792 | - Default: `Terminfo`. (No real good option here.) |
| 793 | - `Terminfo`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 794 | without scrolling the existing output up, thus losing a screenful of information. |
| 795 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 796 | existing output up, thus losing a screenful of information. |
| 797 | - `TerminfoScrollback`: does nothing. |
| 798 | - `VtRis`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 799 | without scrolling the existing output up, thus losing a screenful of information. |
| 800 | - `XtermClear`: as for `Terminfo`. |
| 801 | |
| 802 | ### Orbterm |
| 803 | |
| 804 | ### Pangoterm |
| 805 | |
| 806 | - libvterm-based |
| 807 | |
| 808 | ### Pantheon/Elementary Terminal |
| 809 | |
| 810 | - Version 5.5.2 |
| 811 | |
| 812 | Native `TERM` is `xterm-256color`. |
| 813 | |
| 814 | - Default: `Terminfo`. |
| 815 | - `Terminfo`: normal. |
| 816 | - `TerminfoScreen`: normal. |
| 817 | - `TerminfoScrollback`: normal. |
| 818 | - `VtRis`: normal. |
| 819 | - `XtermClear`: normal. |
| 820 | |
| 821 | ### PowerCmd |
| 822 | |
| 823 | ### PuTTY |
| 824 | |
| 825 | - Version 0.74 |
| 826 | |
| 827 | With native `TERM=xterm`: |
| 828 | |
| 829 | - Default: `Terminfo`. |
| 830 | - `Terminfo`: normal. |
| 831 | - `TerminfoScreen`: normal. |
| 832 | - `TerminfoScrollback`: normal. |
| 833 | - `VtRis`: does not clear scrollback. |
| 834 | - `XtermClear`: normal. |
| 835 | |
| 836 | With `TERM=putty`: |
| 837 | |
| 838 | - Default: `Terminfo`. |
| 839 | - `Terminfo`: normal. |
| 840 | - `TerminfoScreen`: normal. |
| 841 | - `TerminfoScrollback`: does nothing. |
| 842 | - `VtRis`: does not clear scrollback. |
| 843 | - `XtermClear`: normal. |
| 844 | |
| 845 | ### QML Konsole |
| 846 | |
| 847 | - Version 0.1.r2.g81e74ad |
| 848 | |
| 849 | Native `TERM` is `xterm`. |
| 850 | |
| 851 | - Default: `Terminfo`. |
| 852 | - `Terminfo`: normal. |
| 853 | - `TerminfoScreen`: normal. |
| 854 | - `TerminfoScrollback`: does nothing. |
| 855 | - `VtRis`: does not clear scrollback. |
| 856 | - `XtermClear`: normal. |
| 857 | |
| 858 | ### Qt DOM term |
| 859 | |
| 860 | ### Qterminal |
| 861 | |
| 862 | - Version 0.16.1 |
| 863 | |
| 864 | Native `TERM` is `xterm-256color`. |
| 865 | |
| 866 | - Default: `Terminfo`. |
| 867 | - `Terminfo`: normal. |
| 868 | - `TerminfoScreen`: normal. |
| 869 | - `TerminfoScrollback`: normal. |
| 870 | - `VtRis`: normal. |
| 871 | - `XtermClear`: normal. |
| 872 | |
| 873 | ### rcfvt |
| 874 | |
| 875 | - Version r66.d390d61 |
| 876 | |
| 877 | Native `TERM` is `xterm-256color`. |
| 878 | |
| 879 | - Default: `Terminfo`. |
| 880 | - `Terminfo`: normal. |
| 881 | - `TerminfoScreen`: normal. |
| 882 | - `TerminfoScrollback`: normal. |
| 883 | - `VtRis`: normal. |
| 884 | - `XtermClear`: normal. |
| 885 | |
| 886 | ### ROXTerm |
| 887 | |
| 888 | - Version 3.10.1 |
| 889 | - VTE-based |
| 890 | |
| 891 | ### Runes |
| 892 | |
| 893 | ### Sakura |
| 894 | |
| 895 | - Version 3.8.1 |
| 896 | - VTE-based |
| 897 | |
| 898 | ### sdvt |
| 899 | |
| 900 | ### Snowflake |
| 901 | |
| 902 | ### st |
| 903 | |
| 904 | - Version 0.8.4 |
| 905 | |
| 906 | With `TERM=st-256color`: |
| 907 | |
| 908 | - Default: `Terminfo`. |
| 909 | - `Terminfo`: normal. |
| 910 | - `TerminfoScreen`: also clears scrollback. |
| 911 | - `TerminfoScrollback`: does not support E3. |
| 912 | - `VtRis`: normal. |
| 913 | - `XtermClear`: normal. |
| 914 | |
| 915 | With `TERM=xterm-256color`: |
| 916 | |
| 917 | - Default: `Terminfo`. |
| 918 | - `Terminfo`: normal. |
| 919 | - `TerminfoScreen`: also clears scrollback. |
| 920 | - `TerminfoScrollback`: does nothing. |
| 921 | - `VtRis`: normal. |
| 922 | - `XtermClear`: normal. |
| 923 | |
| 924 | ### sterm |
| 925 | |
| 926 | - Version 0.1.2 |
| 927 | - VTE-based |
| 928 | |
| 929 | Native `TERM` is `xterm-256color`. |
| 930 | |
| 931 | There’s no scrollback at all, so it’s impossible to know how things are really handled, but 🤷. |
| 932 | |
| 933 | - Default: `Terminfo`. |
| 934 | - `Terminfo`: normal. |
| 935 | - `TerminfoScreen`: normal. |
| 936 | - `TerminfoScrollback`: normal. |
| 937 | - `VtRis`: normal. |
| 938 | - `XtermClear`: normal. |
| 939 | |
| 940 | ### stgl |
| 941 | |
| 942 | ### StupidTerm |
| 943 | |
| 944 | - Version 1.r24.gf824e41 |
| 945 | - VTE-based |
| 946 | |
| 947 | ### Syncterm |
| 948 | |
| 949 | - Version 1.1 |
| 950 | |
| 951 | Native `TERM` is `syncterm`. |
| 952 | |
| 953 | - Default: `VtRis`. |
| 954 | - `Terminfo`: no terminfo found. |
| 955 | - `TerminfoScreen`: no terminfo found. |
| 956 | - `TerminfoScrollback`: no terminfo found. |
| 957 | - `VtRis`: normal. |
| 958 | - `XtermClear`: does not clear scrollback. |
| 959 | |
| 960 | ### Taterm |
| 961 | |
| 962 | - Version 12 |
| 963 | |
| 964 | Native `TERM` is `xterm-256color`. |
| 965 | |
| 966 | - Default: `Terminfo`. |
| 967 | - `Terminfo`: normal. |
| 968 | - `TerminfoScreen`: normal. |
| 969 | - `TerminfoScrollback`: normal. |
| 970 | - `VtRis`: normal. |
| 971 | - `XtermClear`: normal. |
| 972 | |
| 973 | ### Terminal.app (GNUstep) |
| 974 | |
| 975 | ### Terminal.app (macOS) |
| 976 | |
| 977 | - Version 2.10 (433) |
| 978 | |
| 979 | Native `TERM` is `xterm-256color`. |
| 980 | |
| 981 | - Default: `XtermClear`. |
| 982 | - `Terminfo`: normal (does not clear scrollback). |
| 983 | - `TerminfoScreen`: normal. |
| 984 | - `TerminfoScrollback`: does not support E3. |
| 985 | - `VtRis`: erases the screen without scrolling up (not abnormal) and does not clear scrollback. |
| 986 | - `XtermClear`: normal. |
| 987 | |
| 988 | ### Terminaleco |
| 989 | |
| 990 | ### Terminalpp |
| 991 | |
| 992 | ### Terminate |
| 993 | |
| 994 | - Version 0.5 |
| 995 | - VTE-based |
| 996 | - _Requires_ a TERM to be set, doesn’t manage to get set up properly without. |
| 997 | - There’s no scrollback at all, so it’s impossible to know how things are really handled, but 🤷. |
| 998 | |
| 999 | With `TERM=xterm-256color`: |
| 1000 | |
| 1001 | - Default: `Terminfo`. |
| 1002 | - `Terminfo`: normal. |
| 1003 | - `TerminfoScreen`: normal. |
| 1004 | - `TerminfoScrollback`: normal. |
| 1005 | - `VtRis`: normal. |
| 1006 | - `XtermClear`: normal. |
| 1007 | |
| 1008 | ### Terminator |
| 1009 | |
| 1010 | - Version 2.1.1 |
| 1011 | |
| 1012 | Native `TERM` is `xterm-256color`. |
| 1013 | |
| 1014 | - Default: `Terminfo`. |
| 1015 | - `Terminfo`: normal. |
| 1016 | - `TerminfoScreen`: normal. |
| 1017 | - `TerminfoScrollback`: normal. |
| 1018 | - `VtRis`: normal. |
| 1019 | - `XtermClear`: normal. |
| 1020 | |
| 1021 | ### Terminol |
| 1022 | |
| 1023 | ### Terminology |
| 1024 | |
| 1025 | - Version 1.9.0 |
| 1026 | |
| 1027 | Native `TERM` is `xterm-256color`. |
| 1028 | |
| 1029 | - Default: `Terminfo`. |
| 1030 | - `Terminfo`: normal. |
| 1031 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1032 | existing output up, thus losing a screenful of information. |
| 1033 | - `TerminfoScrollback`: normal. |
| 1034 | - `VtRis`: normal. |
| 1035 | - `XtermClear`: normal. |
| 1036 | |
| 1037 | ### Terminus |
| 1038 | |
| 1039 | ### Termistor |
| 1040 | |
| 1041 | - Wayland only |
| 1042 | |
| 1043 | ### Termit |
| 1044 | |
| 1045 | - Version 3.1.r4.g29bbd1b |
| 1046 | - VTE-based |
| 1047 | |
| 1048 | ### Termite |
| 1049 | |
| 1050 | - Version 15 |
| 1051 | - VTE-based |
| 1052 | |
| 1053 | With native `TERM=xterm-termite`: |
| 1054 | |
| 1055 | - Default: `XTermClear`. |
| 1056 | - `Terminfo`: normal (doesn’t clear scrollback). |
| 1057 | - `TerminfoScreen`: normal. |
| 1058 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1059 | - `VtRis`: normal. |
| 1060 | - `XtermClear`: normal. |
| 1061 | |
| 1062 | With `TERM=termite`: |
| 1063 | |
| 1064 | - Default: `XTermClear`. |
| 1065 | - `Terminfo`: normal (doesn’t clear scrollback). |
| 1066 | - `TerminfoScreen`: normal. |
| 1067 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1068 | - `VtRis`: normal. |
| 1069 | - `XtermClear`: normal. |
| 1070 | |
| 1071 | With `TERM=xterm-256color`: |
| 1072 | |
| 1073 | - Default: `Terminfo`. |
| 1074 | - `Terminfo`: normal. |
| 1075 | - `TerminfoScreen`: normal. |
| 1076 | - `TerminfoScrollback`: normal. |
| 1077 | - `VtRis`: normal. |
| 1078 | - `XtermClear`: normal. |
| 1079 | |
| 1080 | ### Termius |
| 1081 | |
| 1082 | - Version 7.9.0 |
| 1083 | |
| 1084 | Native `TERM` is `xterm`. |
| 1085 | |
| 1086 | - Default: `Terminfo`. **The better option would be `VtRis`, but there’s no way to tell we’re |
| 1087 | running in Termius.** |
| 1088 | - `Terminfo`: normal, except scrollbar is weird, like it thinks there’s still all the old content, |
| 1089 | but without showing any scrolling when going up or down. |
| 1090 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1091 | existing output up, thus losing a screenful of information. |
| 1092 | - `TerminfoScrollback`: normal. |
| 1093 | - `VtRis`: normal, except scrollbar is even weirder, like it thinks there’s still all the old |
| 1094 | content, but without _allowing the screen to be scrolled at all._ Once the screen fills up again, |
| 1095 | the scrollbar resets. |
| 1096 | - `XtermClear`: as for `Terminfo`. |
| 1097 | |
| 1098 | ### Termy |
| 1099 | |
| 1100 | - Version 0.3.0 |
| 1101 | - By nature, the prompt remains at the top, and every command clears the screen. |
| 1102 | - However, running a shell inside the terminal makes it behave as usually expected, so that's how |
| 1103 | this is tested. |
| 1104 | |
| 1105 | Native `TERM` is `xterm-256color`. |
| 1106 | |
| 1107 | - Default: `XtermClear`. |
| 1108 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1109 | existing output up, thus losing a screenful of information. (Doesn’t clear scrollback.) |
| 1110 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1111 | existing output up, thus losing a screenful of information. |
| 1112 | - `TerminfoScrollback`: does not support E3. |
| 1113 | - `VtRis`: normal. |
| 1114 | - `XtermClear`: normal. |
| 1115 | |
| 1116 | ### Terra |
| 1117 | |
| 1118 | ### Tess |
| 1119 | |
| 1120 | - Version 1.2r65.12944dd |
| 1121 | - Doesn’t respect user shell by default. |
| 1122 | |
| 1123 | Native `TERM` is `xterm-color`. |
| 1124 | |
| 1125 | - Default: `VtRis`. |
| 1126 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1127 | existing output up, thus losing a screenful of information. (Doesn’t clear scrollback.) |
| 1128 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1129 | existing output up, thus losing a screenful of information. |
| 1130 | - `TerminfoScrollback`: does not support E3. |
| 1131 | - `VtRis`: normal. |
| 1132 | - `XtermClear`: normal, except scrollbar is weird, like it thinks there’s still all the old content, |
| 1133 | but without showing any scrolling when going up or down. |
| 1134 | |
| 1135 | ### The Terminal |
| 1136 | |
| 1137 | ### TreeTerm |
| 1138 | |
| 1139 | ### Tilda |
| 1140 | |
| 1141 | - Version 1.5.4 |
| 1142 | |
| 1143 | Native `TERM` is `xterm-256color`. |
| 1144 | |
| 1145 | - Default: `Terminfo`. |
| 1146 | - `Terminfo`: normal. |
| 1147 | - `TerminfoScreen`: normal. |
| 1148 | - `TerminfoScrollback`: normal. |
| 1149 | - `VtRis`: normal. |
| 1150 | - `XtermClear`: normal. |
| 1151 | |
| 1152 | ### Tilix |
| 1153 | |
| 1154 | - Version 1.9.4 |
| 1155 | |
| 1156 | Native `TERM` is `xterm-256color`. |
| 1157 | |
| 1158 | - Default: `Terminfo`. |
| 1159 | - `Terminfo`: normal. |
| 1160 | - `TerminfoScreen`: normal. |
| 1161 | - `TerminfoScrollback`: normal. |
| 1162 | - `VtRis`: normal. |
| 1163 | - `XtermClear`: normal. |
| 1164 | |
| 1165 | ### Tinyterm |
| 1166 | |
| 1167 | - VTE-based |
| 1168 | - Untested yet |
| 1169 | |
| 1170 | ### Topinambour |
| 1171 | |
| 1172 | - VTE-based |
| 1173 | - Untested yet |
| 1174 | |
| 1175 | ### Tortosa |
| 1176 | |
| 1177 | - VTE-based |
| 1178 | - Untested yet |
| 1179 | |
| 1180 | ### Ume |
| 1181 | |
| 1182 | - Version r67.242a9f5 |
| 1183 | - VTE-based |
| 1184 | |
| 1185 | ### urxvt |
| 1186 | |
| 1187 | - Version 9.22 |
| 1188 | |
| 1189 | With native `TERM=rxvt-unicode-265color`: |
| 1190 | |
| 1191 | - Default: `VtRis`. |
| 1192 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1193 | existing output up, thus losing a screenful of information. (Doesn’t clear scrollback.) |
| 1194 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1195 | existing output up, thus losing a screenful of information. |
| 1196 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1197 | - `VtRis`: normal. |
| 1198 | - `XtermClear`: as for `Terminfo`. |
| 1199 | |
| 1200 | With `TERM=xterm-256color`: |
| 1201 | |
| 1202 | - Default: `Terminfo`. |
| 1203 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1204 | existing output up, thus losing a screenful of information. (Doesn’t clear scrollback.) |
| 1205 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1206 | existing output up, thus losing a screenful of information. |
| 1207 | - `TerminfoScrollback`: does nothing. |
| 1208 | - `VtRis`: normal. |
| 1209 | - `XtermClear`: as for `Terminfo`. |
| 1210 | |
| 1211 | ### uterm |
| 1212 | |
| 1213 | - libtsm-based |
| 1214 | |
| 1215 | ### uuterm |
| 1216 | |
| 1217 | - Version 80 |
| 1218 | - There’s no scrollback at all, so it’s impossible to know how things are really handled, but 🤷. |
| 1219 | |
| 1220 | With native `TERM=uuterm`: |
| 1221 | |
| 1222 | - Default: `Terminfo`. |
| 1223 | - `Terminfo`: normal. |
| 1224 | - `TerminfoScreen`: normal. |
| 1225 | - `TerminfoScrollback`: does not support E3. |
| 1226 | - `VtRis`: normal. |
| 1227 | - `XtermClear`: normal. |
| 1228 | |
| 1229 | With `TERM=xterm-256color`: very broken, but clearing works as normal. |
| 1230 | |
| 1231 | ### Viter |
| 1232 | |
| 1233 | - Version r166.c8ca21a |
| 1234 | |
| 1235 | Native `TERM` is `xterm-256color`. |
| 1236 | |
| 1237 | - Default: `Terminfo`. |
| 1238 | - `Terminfo`: normal. |
| 1239 | - `TerminfoScreen`: normal. |
| 1240 | - `TerminfoScrollback`: normal. |
| 1241 | - `VtRis`: normal. |
| 1242 | - `XtermClear`: normal. |
| 1243 | |
| 1244 | ### vt100-parser |
| 1245 | |
| 1246 | ### Wayst |
| 1247 | |
| 1248 | - Version r223.e72ca78 |
| 1249 | |
| 1250 | Native `TERM` is `xterm-256color`. |
| 1251 | |
| 1252 | - Default: `Terminfo`. **The better option would be `VtRis`, but there’s no way to tell we’re |
| 1253 | running in Wayst.** |
| 1254 | - `Terminfo`: normal, doesn’t clear scrollback. |
| 1255 | - `TerminfoScreen`: normal. |
| 1256 | - `TerminfoScrollback`: clears the screen, keeping the cursor position the same, but doesn’t clear |
| 1257 | scrollback! |
| 1258 | - `VtRis`: normal. |
| 1259 | - `XtermClear`: doesn’t clear scrollback. |
| 1260 | |
| 1261 | ### Wezterm |
| 1262 | |
| 1263 | - Version 20240203 |
| 1264 | |
| 1265 | Native `TERM` is `wezterm`. |
| 1266 | |
| 1267 | - Default: `Terminfo`. |
| 1268 | - `Terminfo`: normal. |
| 1269 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1270 | existing output up, thus losing a screenful of information. |
| 1271 | - `TerminfoScrollback`: normal. |
| 1272 | - `VtRis`: normal. |
| 1273 | - `XtermClear`: normal. |
| 1274 | |
| 1275 | ### WindTerm |
| 1276 | |
| 1277 | - Version 2.1.0 (Win10 version) |
| 1278 | |
| 1279 | There's no `TERM` variable and no terminfo database. |
| 1280 | |
| 1281 | - Default: `WindowsVtClear`. |
| 1282 | - `Terminfo`: there's no TERM nor terminfo database. |
| 1283 | - `TerminfoScreen`: there's no TERM nor terminfo database. |
| 1284 | - `TerminfoScrollback`: there's no TERM nor terminfo database. |
| 1285 | - `VtRis`: does not clear scrollback, appears to clear the screen, but really erases the screen |
| 1286 | without scrolling the existing output up, thus losing a screenful of information. |
| 1287 | - `XtermClear`: as for `VtRis`. |
| 1288 | - `Cls`: as for `VtRis`. |
| 1289 | - `WindowsVtClear`: as for `VtRis`. |
| 1290 | |
| 1291 | ### Wlterm |
| 1292 | |
| 1293 | - libtsm-based |
| 1294 | |
| 1295 | ### wlgxterm |
| 1296 | |
| 1297 | ### XFCE4 Terminal |
| 1298 | |
| 1299 | - Version 0.8.10 |
| 1300 | - VTE-based |
| 1301 | |
| 1302 | With `TERM=xfce`: |
| 1303 | |
| 1304 | - Default: `XTermClear`. |
| 1305 | - `Terminfo`: behaves like `TerminfoScreen`, doesn’t clear scrollback. |
| 1306 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 1307 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1308 | - `VtRis`: normal. |
| 1309 | - `XtermClear`: normal. |
| 1310 | |
| 1311 | With `TERM=xterm-256color`: |
| 1312 | |
| 1313 | - Default: `Terminfo`. |
| 1314 | - `Terminfo`: normal. |
| 1315 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 1316 | - `TerminfoScrollback`: normal. |
| 1317 | - `VtRis`: normal. |
| 1318 | - `XtermClear`: normal. |
| 1319 | |
| 1320 | ### xiate |
| 1321 | |
| 1322 | - Version 20.07 |
| 1323 | |
| 1324 | Native `TERM` is `xterm-256color`. |
| 1325 | |
| 1326 | - Default: `Terminfo`. |
| 1327 | - `Terminfo`: normal. |
| 1328 | - `TerminfoScreen`: normal. |
| 1329 | - `TerminfoScrollback`: normal. |
| 1330 | - `VtRis`: normal. |
| 1331 | - `XtermClear`: normal. |
| 1332 | |
| 1333 | ### Xterm |
| 1334 | |
| 1335 | - Version 367 |
| 1336 | |
| 1337 | Native `TERM` is `xterm`. |
| 1338 | |
| 1339 | - Default: `Terminfo`. |
| 1340 | - `Terminfo`: normal. |
| 1341 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1342 | existing output up, thus losing a screenful of information. |
| 1343 | - `TerminfoScrollback`: normal. |
| 1344 | - `VtRis`: normal, and dings the terminal bell. |
| 1345 | - `XtermClear`: normal. |
| 1346 | |
| 1347 | ### Yaft |
| 1348 | |
| 1349 | ### Yaftx |
| 1350 | |
| 1351 | - Version 0.2.9 |
| 1352 | - There’s no scrollback at all, so it’s impossible to know how things are really handled, but 🤷. |
| 1353 | |
| 1354 | With native `TERM=yaft-265color`: |
| 1355 | |
| 1356 | - Default: `Terminfo`. |
| 1357 | - `Terminfo`: normal. |
| 1358 | - `TerminfoScreen`: normal. |
| 1359 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1360 | - `VtRis`: normal. |
| 1361 | - `XtermClear`: normal. |
| 1362 | |
| 1363 | With `TERM=xterm-256color`: |
| 1364 | |
| 1365 | - Default: `Terminfo`. |
| 1366 | - `Terminfo`: normal. |
| 1367 | - `TerminfoScreen`: normal. |
| 1368 | - `TerminfoScrollback`: does nothing. |
| 1369 | - `VtRis`: normal. |
| 1370 | - `XtermClear`: normal. |
| 1371 | |
| 1372 | ### Yakuake |
| 1373 | |
| 1374 | - Version 21.04.0 |
| 1375 | - Konsole-based |
| 1376 | |
| 1377 | Native `TERM` is `xterm-256color`. |
| 1378 | |
| 1379 | - Default: `Terminfo`. |
| 1380 | - `Terminfo`: normal. |
| 1381 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1382 | existing output up, thus losing a screenful of information. |
| 1383 | - `TerminfoScrollback`: normal. |
| 1384 | - `VtRis`: doesn’t clear scrollback, appears to clear the screen, but really erases the screen |
| 1385 | without scrolling the existing output up, thus losing a screenful of information. |
| 1386 | - `XtermClear`: normal. |
| 1387 | |
| 1388 | ### z/Scope |
| 1389 | |
| 1390 | - Web-based? |
| 1391 | |
| 1392 | ### ZOC |
| 1393 | |
| 1394 | - Version 8 (8023) |
| 1395 | |
| 1396 | Native `TERM` is `xterm-256color`. |
| 1397 | |
| 1398 | - Default: `XtermClear`. |
| 1399 | - `Terminfo`: normal. |
| 1400 | - `TerminfoScreen`: normal. |
| 1401 | - `TerminfoScrollback`: normal. |
| 1402 | - `VtRis`: does not clear scrollback. |
| 1403 | - `XtermClear`: normal. |
| 1404 | |
| 1405 | ### Zterm |
| 1406 | |
| 1407 | ### Zutty |
| 1408 | |
| 1409 | - Version 0.8 |
| 1410 | |
| 1411 | Native `TERM` is `xterm-256color`. |
| 1412 | |
| 1413 | - Default: `VtRis`. |
| 1414 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1415 | existing output up, thus losing a screenful of information. Doesn’t clear scrollback. |
| 1416 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1417 | existing output up, thus losing a screenful of information. |
| 1418 | - `TerminfoScrollback`: does nothing. |
| 1419 | - `VtRis`: normal. |
| 1420 | - `XtermClear`: as for `Terminfo`. |
| 1421 | |
| 1422 | |
| 1423 | Serial terminal emulators? |
| 1424 | ------------------------- |
| 1425 | |
| 1426 | ### Bootterm |
| 1427 | |
| 1428 | ### Coolterm |
| 1429 | |
| 1430 | ### Cutecom |
| 1431 | |
| 1432 | ### dterm |
| 1433 | |
| 1434 | ### Easyterm |
| 1435 | |
| 1436 | ### HTerm |
| 1437 | |
| 1438 | ### iserterm |
| 1439 | |
| 1440 | ### Microcom |
| 1441 | |
| 1442 | ### Minicom |
| 1443 | |
| 1444 | ### Moserial |
| 1445 | |
| 1446 | ### Picocom |
| 1447 | |
| 1448 | ### ssterm |
| 1449 | |
| 1450 | ### tio |
| 1451 | |
| 1452 | |
| 1453 | Multiplexers |
| 1454 | ------------ |
| 1455 | |
| 1456 | ### 3mux |
| 1457 | |
| 1458 | - Version 1.1.0 |
| 1459 | |
| 1460 | Native `TERM` is `xterm-256color`. |
| 1461 | |
| 1462 | - Default: `Terminfo`. |
| 1463 | - `Terminfo`: normal. |
| 1464 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1465 | existing output up, thus losing a screenful of information. |
| 1466 | - `TerminfoScrollback`: **erases the screen like `TerminfoScreen`** and clears scrollback. |
| 1467 | - `VtRis`: does nothing. |
| 1468 | - `XtermClear`: normal. |
| 1469 | |
| 1470 | ### Byobu |
| 1471 | |
| 1472 | - Uses Tmux underneath |
| 1473 | |
| 1474 | ### Dvtm |
| 1475 | |
| 1476 | - Version 0.15 |
| 1477 | |
| 1478 | With native `TERM=dvtm-265color`: |
| 1479 | |
| 1480 | - Default: `Terminfo`. (The least worse option.) |
| 1481 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1482 | existing output up, thus losing a screenful of information. Doesn’t clear scrollback. |
| 1483 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1484 | existing output up, thus losing a screenful of information. |
| 1485 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1486 | - `VtRis`: does nothing. |
| 1487 | - `XtermClear`: as for `Terminfo`. |
| 1488 | |
| 1489 | With `TERM=xterm-256color`: |
| 1490 | |
| 1491 | - Default: `Terminfo`. |
| 1492 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1493 | existing output up, thus losing a screenful of information. Doesn’t clear scrollback. |
| 1494 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1495 | existing output up, thus losing a screenful of information. |
| 1496 | - `TerminfoScrollback`: does nothing. |
| 1497 | - `VtRis`: does nothing. |
| 1498 | - `XtermClear`: as for `Terminfo`. |
| 1499 | |
| 1500 | ### Eternal Terminal |
| 1501 | |
| 1502 | ### Mosh |
| 1503 | |
| 1504 | - Version 1.3.2 |
| 1505 | - `TERM` is inherited. |
| 1506 | - There’s no scrollback at all, so it’s impossible to know how things are really handled, but 🤷. |
| 1507 | |
| 1508 | Tested here with `xterm-256color`: |
| 1509 | |
| 1510 | - Default: `Terminfo`. |
| 1511 | - `Terminfo`: normal. |
| 1512 | - `TerminfoScreen`: normal. |
| 1513 | - `TerminfoScrollback`: does nothing. |
| 1514 | - `VtRis`: normal. |
| 1515 | - `XtermClear`: normal. |
| 1516 | |
| 1517 | ### mtm |
| 1518 | |
| 1519 | - Version r394.b14e99c |
| 1520 | |
| 1521 | With native `TERM=screen-265color-bce`: |
| 1522 | |
| 1523 | - Default: `XtermClear`. |
| 1524 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1525 | existing output up, thus losing a screenful of information. Doesn’t clear scrollback. |
| 1526 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1527 | existing output up, thus losing a screenful of information. |
| 1528 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1529 | - `VtRis`: as for `Terminfo`. |
| 1530 | - `XtermClear`: normal. |
| 1531 | |
| 1532 | With `TERM=xterm-256color`: |
| 1533 | |
| 1534 | - Default: `Terminfo`. |
| 1535 | - `Terminfo`: normal. |
| 1536 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1537 | existing output up, thus losing a screenful of information. |
| 1538 | - `TerminfoScrollback`: clears scrollback **and screen**, but leaves the cursor position. |
| 1539 | - `VtRis`: as for `TerminfoScreen`. |
| 1540 | - `XtermClear`: normal. |
| 1541 | |
| 1542 | ### Screen |
| 1543 | |
| 1544 | - Version 4.08.00 |
| 1545 | |
| 1546 | With `TERM=screen`: |
| 1547 | |
| 1548 | - Default: `XtermClear`. |
| 1549 | - `Terminfo`: normal (does not clear scrollback). |
| 1550 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 1551 | - `TerminfoScrollback`: terminfo does not support E3. |
| 1552 | - `VtRis`: adds a screenful of space to the scrollback before clearing, does not clear scrollback. |
| 1553 | - `XtermClear`: normal. |
| 1554 | |
| 1555 | With `TERM=xterm-256color`: |
| 1556 | |
| 1557 | - Default: `Terminfo`. |
| 1558 | - `Terminfo`: **clears scrollback**, even though `TerminfoScrollback` below doesn’t work. |
| 1559 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 1560 | - `TerminfoScrollback`: doesn’t do anything. |
| 1561 | - `VtRis`: adds a screenful of space to the scrollback before clearing, does not clear scrollback. |
| 1562 | - `XtermClear`: normal. |
| 1563 | |
| 1564 | ### Tab-rs |
| 1565 | |
| 1566 | - Version 0.5.7 |
| 1567 | - Scrollback is inherited from the terminal, not managed internally, so depends on what you have. |
| 1568 | - `TERM` is inherited too, so as long as it passes the escapes out, it will work as the terminal. |
| 1569 | |
| 1570 | Tested with `xterm-256color` in Alacritty: |
| 1571 | |
| 1572 | - Default: `Terminfo`. |
| 1573 | - `Terminfo`: normal. |
| 1574 | - `TerminfoScreen`: normal. |
| 1575 | - `TerminfoScrollback`: normal. |
| 1576 | - `VtRis`: normal. |
| 1577 | - `XtermClear`: normal. |
| 1578 | |
| 1579 | ### Tmux |
| 1580 | |
| 1581 | - Version 3.2 |
| 1582 | |
| 1583 | With `TERM=tmux-256color`: |
| 1584 | |
| 1585 | - Default: `Terminfo`. |
| 1586 | - `Terminfo`: normal. |
| 1587 | - `TerminfoScreen`: normal. |
| 1588 | - `TerminfoScrollback`: normal. |
| 1589 | - `VtRis`: does not clear scrollback. |
| 1590 | - `XtermClear`: normal. |
| 1591 | |
| 1592 | With `TERM=xterm-256color`: |
| 1593 | |
| 1594 | - Default: `Terminfo`. |
| 1595 | - `Terminfo`: normal. |
| 1596 | - `TerminfoScreen`: adds a screenful of space to the scrollback before clearing. |
| 1597 | - `TerminfoScrollback`: normal. |
| 1598 | - `VtRis`: does not clear scrollback. |
| 1599 | - `XtermClear`: normal. |
| 1600 | |
| 1601 | ### Zellij |
| 1602 | |
| 1603 | - Version 0.5.1 |
| 1604 | - `TERM` is inherited. |
| 1605 | |
| 1606 | Tested with `xterm-256color` in Alacritty: |
| 1607 | |
| 1608 | - Default: `VtRis`. |
| 1609 | - `Terminfo`: appears to clear the screen, but really erases the screen without scrolling the |
| 1610 | existing output up, thus losing a screenful of information. Doesn’t clear scrollback. |
| 1611 | - `TerminfoScreen`: appears to clear the screen, but really erases the screen without scrolling the |
| 1612 | existing output up, thus losing a screenful of information. |
| 1613 | - `TerminfoScrollback`: does nothing. |
| 1614 | - `VtRis`: normal. |
| 1615 | - `XtermClear`: as for `Terminfo`. |
| 1616 | |
| 1617 | |
| 1618 | Recorders |
| 1619 | --------- |
| 1620 | |
| 1621 | ### Asciinema |
| 1622 | |
| 1623 | ### Asciinema Rust |
| 1624 | |
| 1625 | ### GoTTY |
| 1626 | |
| 1627 | ### Hasciinema? |
| 1628 | |
| 1629 | ### ipbt |
| 1630 | |
| 1631 | ### Shell in a box |
| 1632 | |
| 1633 | ### Shellshare |
| 1634 | |
| 1635 | ### Showterm |
| 1636 | |
| 1637 | ### T-Rec |
| 1638 | |
| 1639 | ### Term to SVG |
| 1640 | |
| 1641 | ### Terminalizer |
| 1642 | |
| 1643 | ### Termrec |
| 1644 | |
| 1645 | ### tmate.io |
| 1646 | |
| 1647 | ### ts-player |
| 1648 | |
| 1649 | ### tty-share |
| 1650 | |
| 1651 | ### TTYcast |
| 1652 | |
| 1653 | ### ttyd |
| 1654 | |
| 1655 | ### upterm |
| 1656 | |
| 1657 | ### webtty |