aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-09 16:52:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-09 16:52:28 +0000
commitb611d56881058ea32667783ca4381db6c08bf096 (patch)
tree2e73072855112d83611bbbd717f5d866fc335f9d
parentterm: remove unused bit in xtsave struct (diff)
readme: clearer descriptions of secondary and tertiary DA responses
-rw-r--r--README.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/README.md b/README.md
index 03cf75c0..0bc707f4 100644
--- a/README.md
+++ b/README.md
@@ -323,16 +323,12 @@ chosen to use a different terminfo).
You can instead use the escape sequences to read the _Secondary_ and
_Tertiary Device Attributes_ (secondary/tertiary DA, for short).
-The tertiary DA response is always `\EP!|464f4f54\E\\`. The `\EP!|` is
-the standard tertiary DA response prefix, `DCS ! |`. The trailing
-`\E\\` is of course the standard string terminator, `ST`.
+The tertiary DA response is always `\EP!|464f4f54\E\\`, where
+`464f4f54` if `FOOT` in hex.
-In the response above, the interesting part is `464f4f54`; this is
-the string _FOOT_ in hex.
-
-The secondary DA response is `\E[>1;XXYYZZ;0c`, where XXYYZZ is foot's
-major, minor and patch version numbers, in decimal, using two digits
-for each number. For example, foot-1.4.2 would respond with
+The secondary DA response is `\E[>1;XXYYZZ;0c`, where `XXYYZZ` is
+foot's major, minor and patch version numbers, in decimal, using two
+digits for each number. For example, foot-1.4.2 would respond with
`\E[>1;010402;0c`.
**Note**: not all terminal emulators implement tertiary DA. Most