aboutsummaryrefslogtreecommitdiff
path: root/uxd.1
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.1
parent0b59672d55379f824dd592b7a5c854d9a21a2c12 (diff)
downloaduxd-f381da6760b6beec1f875f1a982719c1b6be55a3.tar.gz
add -t/-T (terminal setup) options.
Diffstat (limited to 'uxd.1')
-rw-r--r--uxd.122
1 files changed, 22 insertions, 0 deletions
diff --git a/uxd.1 b/uxd.1
index 8110efb..6258f9c 100644
--- a/uxd.1
+++ b/uxd.1
@@ -184,6 +184,28 @@ Works with negative \fIpos\fP, too.
.
.INDENT 0.0
.TP
+.B \-t
+Put terminal in UTF\-8 mode, if possible. Prints \fBESC % G\fP 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 \fBuxd\fP exits,
+on the theory that you won\(aqt 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 \fB\-T\fP option instead.
+.TP
+.B \-T
+Same as \fB\-T\fP, but leaves the terminal in UTF\-8 mode on exit. Can be
+used to recover from a previous misuse of \fB\-t\fP, like so:
+.INDENT 7.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+uxd \-T \-dd
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.TP
.B \-u
Use uppercase hex digits \fIA\-F\fP\&. Default is lowercase.
.UNINDENT