.\" Man page for termprobes .\" Copyright (C) 2026 Peter Poeml .\" .\" This man page is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .TH TERMPROBES 1 "2026-11-02" "initviocons 0.6.1" "User Commands" .SH NAME termprobes \- print the escape sequence reply matrix of the current terminal .SH SYNOPSIS .B termprobes .SH DESCRIPTION .B termprobes sends a fixed set of probe sequences to the terminal and prints, for each probe, the sequence itself next to the reply it received. The probes are device attributes (DA), the old terminal ID, DA1, extended DA, secondary DA, the answerback query and the window title query. .PP The table produced this way is what .BR initviocons (1) is built on: it shows which sequences a given terminal answers, and so which of them can be used to identify it. It is a diagnostic tool; it does not change the terminal configuration. .PP The candidates in the table include Linux console, PuTTY, GNOME Terminal, xterm, kterm, screen, rxvt, teraterm, mlterm, konsole and the Windows telnet client. macOS Terminal.app is indistinguishable from kterm and works with .B TERM=kterm . .SH OPTIONS None. .SH NOTES The output is intended for terminals that actually answer the probes. Redirecting the script to a file, or running it in a terminal emulator that does not implement one of the sequences, will produce blank or misleading columns. .PP The script waits for the Enter key before it exits, and restores the cursor with .BR setterm (1) if that program is available. .SH SEE ALSO .BR initviocons (1), .BR tty (1), .BR terminfo (5) .SH AUTHOR Peter Poeml