aboutsummaryrefslogtreecommitdiff
path: root/termkey_new.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-23 23:20:24 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-23 23:20:24 +0000
commit9f0ef4953d153aaed45166050797e97545b96954 (patch)
tree87e48ace622fe2ce3f476d2703548814a99d6753 /termkey_new.3
parenta71f68dd5718a77d5a97fc6d8e2fcd816657bb3b (diff)
downloadtermo-9f0ef4953d153aaed45166050797e97545b96954.tar.gz
termo-9f0ef4953d153aaed45166050797e97545b96954.tar.xz
termo-9f0ef4953d153aaed45166050797e97545b96954.zip
Don't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add a flag to take it if required
Diffstat (limited to 'termkey_new.3')
-rw-r--r--termkey_new.33
1 files changed, 3 insertions, 0 deletions
diff --git a/termkey_new.3 b/termkey_new.3
index c1742fc..38e23b8 100644
--- a/termkey_new.3
+++ b/termkey_new.3
@@ -41,6 +41,9 @@ device, do not call the \fBtcsetattr\fP() \fBtermios\fP function on it to set it
.TP
.B TERMKEY_FLAG_SPACESYMBOL
Report space as being a symbolic key rather than a Unicode codepoint.
+.TP
+.B TERMKEY_FLAG_CTRLC
+Disable the \fBSIGINT\fP behaviour of \fICtrl-C\fP. If this flag is provided, then \fICtrl-C\fP will be available as a normal keypress, rather than sending the process group a \fBSIGINT\fP. This flag only takes effect without \fBTERMKEY_FLAG_NOTERMIOS\fP; with it, none of the signal keys are disabled anyway.
.PP
When the constructor is invoked, it 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().
.SH VERSION CHECK MACRO