From 3600099b52f6fa9359002290915fa5ac735af600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 20 Jan 2020 21:28:15 +0100 Subject: [PATCH] doc: foot.1: document alt/meta characters --- doc/foot.1.scd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/foot.1.scd b/doc/foot.1.scd index 889f31dc..08c65e46 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -154,6 +154,22 @@ _Examples_: - Dina:weight=bold:slant=italic - Courier New:size=12 +# ALT/META CHARACTERS + +By default, foot prefixes meta characters with *ESC*. This corresponds +to XTerm's *metaSendsEscape* option set to *true*. + +This can be disabled programatically with *\E[?1036l* (and enabled +again with *\E[?1036h*). + +When disabled, foot will instead set the 8:th bit of meta character +and then UTF-8 encode it. This corresponds to XTerm's *eightBitMeta* +option set to *true*. + +This can also be disabled programatically with *rmm* (Reset Meta Mode, +*\E[?1034l*), and enabled again with *smm* (Set Meta Mode, +*\E[?1034h*). + # CONFIGURATION