aboutsummaryrefslogtreecommitdiff
path: root/FAQ
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-06-09 17:19:15 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-06-11 11:17:17 +0200
commit27b28f1dc264e9947ea22bd64fd8f00ac98442f5 (patch)
tree939c773b9a64317a857476183d3c34a64809c993 /FAQ
parent587b4435924bab598a904531dc8d01656d1e519a (diff)
downloadst-27b28f1dc264e9947ea22bd64fd8f00ac98442f5.tar.gz
st-27b28f1dc264e9947ea22bd64fd8f00ac98442f5.tar.bz2
FAQ: update typo and escape code for smkx
Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ4
1 files changed, 2 insertions, 2 deletions
diff --git a/FAQ b/FAQ
index bb2bde4..c8e76a5 100644
--- a/FAQ
+++ b/FAQ
@@ -37,7 +37,7 @@ Taken from the terminfo manpage:
are pressed, this information can be given. Note that it is not
possible to handle terminals where the keypad only works in
local (this applies, for example, to the unshifted HP 2621 keys).
- If the keypad can be set to transmit or not transmit, tive these
+ If the keypad can be set to transmit or not transmit, give these
codes as smkx and rmkx. Otherwise the keypad is assumed to
always transmit.
@@ -48,7 +48,7 @@ sequences.
But buggy applications like bash and irssi for example don't do this. A fast
solution for them is to use the following command:
- $ printf "\033?1h\033=" >/dev/tty
+ $ printf '\033[?1h\033=' >/dev/tty
or
$ echo $(tput smkx) >/dev/tty