aboutsummaryrefslogtreecommitdiff
path: root/safetitle.1
diff options
context:
space:
mode:
Diffstat (limited to 'safetitle.1')
-rw-r--r--safetitle.125
1 files changed, 11 insertions, 14 deletions
diff --git a/safetitle.1 b/safetitle.1
index 2d85c57..d8fa0e4 100644
--- a/safetitle.1
+++ b/safetitle.1
@@ -12,7 +12,8 @@
.Pp
.Nm
sets the title of the current terminal window,
-unless the current terminal is recognized as
+unless the current terminal type is blacklisted.
+By default, the single blacklisted terminal is NetBSD's
.Xr wscons 4 .
.Pp
If run within
@@ -21,14 +22,20 @@ If run within
will correctly identify the terminal in which
.Xr screen 1
is run.
+If there are multiple terminals attached to the same
+.Xr screen 1
+session,
+.Nm
+will ensure that none of them are blacklisted.
.Pp
+The reason why
.Nm
-is superstitious about the type of the terminal
-because some terminals do not support the control sequences
+is superstitious about the type of the terminal is
+that some terminals do not support the control sequences
that modify the title.
Specifically, NetBSD's
.Xr wscons 4
-is rendered (almost) unusable when it is sent such control sequences.
+is rendered (nearly) unusable when it is sent such control sequences.
.Nm
provides a simple interface to setting the title in terminals that support it,
while leaving terminals that do not support it alone.
@@ -44,13 +51,3 @@ will warn you if the current terminal type is blacklisted.
.Nm
is written by John Ankarström
.Aq Mt john (at) ankarstrom.se .
-.Sh BUGS
-.Pp
-.Nm
-supports
-.Xr screen 1 ,
-except if there are more than one terminal attached to the current session.
-In that case,
-.Nm
-will err on the side of caution and regard the terminals as blacklisted.
-Thus, the title will not be set.