From f381da6760b6beec1f875f1a982719c1b6be55a3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 18 Dec 2024 06:11:54 -0500 Subject: add -t/-T (terminal setup) options. --- uxd.1 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'uxd.1') 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 -- cgit v1.2.3