mtimeout.1: Use correct dash for number ranges.
[misc] / xtitle.1
CommitLineData
0f581568
MW
1.TH xtitle 1 "29 March 2012" "Mark Wooding" "Toys"
2.SH NAME
3xtitle \- set or read an xterm title string
4.SH SYNOPSIS
5.B xtitle
6.RB [ \-q ]
7.br
8.B xtitle
9.I string
10\&...
11.SH DESCRIPTION
12The
13.B xtitle
14program sets or reads the title string of an
15.BR xterm (1)
16or compatible terminal emulator.
17.PP
18Without
19.BR \-q ,
20concatenate the
21.IR string s
22provided on the command line
23with spaces between them,
24and set the result as the title string.
25.PP
26With
27.BR \-q ,
28read the current title and
29write it to standard output
30followed by a newline.
31.PP
32If standard input is a terminal then
33.B xtitle
34will use it
35(writing to file descriptor 0!);
36otherwise it will open
37.B /dev/tty
38and use that.
39.SH BUGS
40.B xtitle
41makes no attempt to determine whether its terminal is in fact
42.B xterm
43or something compatible.
44.PP
45In
46.B \-q
47mode,
48if the terminal doesn't understand the necessary control sequence,
49or the feature has been disabled for (quite sensible) security reasons,
50then
51.B xtitle
52will wait forever for the title string to appear.
53.SH AUTHOR
54Mark Wooding, <mdw@distorted.org.uk>