aboutsummaryrefslogtreecommitdiff
path: root/uxd.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-18 06:11:54 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-18 06:11:54 -0500
commitf381da6760b6beec1f875f1a982719c1b6be55a3 (patch)
tree75f75a1f200902921e2b89eb6cbafdd462330e14 /uxd.rst
parent0b59672d55379f824dd592b7a5c854d9a21a2c12 (diff)
downloaduxd-f381da6760b6beec1f875f1a982719c1b6be55a3.tar.gz
add -t/-T (terminal setup) options.
Diffstat (limited to 'uxd.rst')
-rw-r--r--uxd.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/uxd.rst b/uxd.rst
index ddc3b9a..459de77 100644
--- a/uxd.rst
+++ b/uxd.rst
@@ -147,6 +147,20 @@ as *K*, *M*, and *G* for power-of-10 based (e.g. *1K* is 1000 bytes).
.. like -s, but also sets -o so addresses start at 0.
+-t
+ Put terminal in UTF-8 mode, if possible. Prints **ESC % G** sequence, which
+ may or may not be supported by your terminal. To avoid surprises, this
+ option also takes the terminal out of UTF-8 mode before **uxd** exits,
+ on the theory that you won't need this option if the terminal is normally
+ running in UTF-8 mode. If this assumption turns out to be wrong, you can
+ use the **-T** option instead.
+
+-T
+ Same as **-T**, but leaves the terminal in UTF-8 mode on exit. Can be
+ used to recover from a previous misuse of **-t**, like so::
+
+ uxd -T -dd
+
-u
Use uppercase hex digits *A-F*. Default is lowercase.