aboutsummaryrefslogtreecommitdiff
path: root/man/termkey_new.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-04-25 00:59:13 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-04-25 00:59:13 +0100
commitaf3c0bf378a74408de83dc37b17420ff5cdb37a1 (patch)
treef3cbf2b5ecb239a17f07966985b8922405ffdd89 /man/termkey_new.3
parentcd57c39191e330ebec43468a0b47c5b6b23a3dc9 (diff)
downloadtermo-af3c0bf378a74408de83dc37b17420ff5cdb37a1.tar.gz
termo-af3c0bf378a74408de83dc37b17420ff5cdb37a1.tar.xz
termo-af3c0bf378a74408de83dc37b17420ff5cdb37a1.zip
Many small manpage markup fixes
Diffstat (limited to 'man/termkey_new.3')
-rw-r--r--man/termkey_new.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man/termkey_new.3 b/man/termkey_new.3
index 6fad1ef..02e6774 100644
--- a/man/termkey_new.3
+++ b/man/termkey_new.3
@@ -19,7 +19,9 @@ Link with \fI\-ltermkey\fP.
.PP
\fBtermkey_destroy\fP() destroys the given instance and releases any resources controlled by it. It will not close the underlying filehandle given as the \fIfd\fP argument to \fBtermkey_new\fP().
.PP
-The constructor attempts to detect if the current locale is UTF-8 aware or not, and sets either the \fBTERMKEY_FLAG_UTF8\fP or \fBTERMKEY_FLAG_RAW\fP flag. One of these two bits will always be in effect. The current flags in effect can be obtained by \fBtermkey_get_flags\fP(3).
+The constructor attempts to detect if the current locale is
+.SM UTF-8
+aware or not, and sets either the \fBTERMKEY_FLAG_UTF8\fP or \fBTERMKEY_FLAG_RAW\fP flag. One of these two bits will always be in effect. The current flags in effect can be obtained by \fBtermkey_get_flags\fP(3).
.PP
If a file handle is provided, the terminfo driver may send a string to initialise or set the state of the terminal before \fBtermkey_new\fP() returns. This will not be done if no file handle is provided, or if the file handle is a pipe (\fBS_ISFIFO\fP()). In this case it will be the caller's responsibility to ensure the terminal is in the correct mode. Once initialised, the terminal can be stopped by \fBtermkey_stop\fP(3), and started again by \fBtermkey_start\fP(3).
.SH VERSION CHECK MACRO