Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
587b443
)
FAQ: update typo and escape code for smkx
author
Hiltjo Posthuma <
[email protected]
>
Mon, 9 Jun 2014 15:19:15 +0000
(17:19 +0200)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Wed, 11 Jun 2014 09:17:17 +0000
(11:17 +0200)
Signed-off-by: Roberto E. Vargas Caballero <
[email protected]
>
FAQ
diff
|
blob
|
history
diff --git
a/FAQ
b/FAQ
index
bb2bde4
..
c8e76a5
100644
(file)
--- 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).
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,
t
ive these
+ If the keypad can be set to transmit or not transmit,
g
ive these
codes as smkx and rmkx. Otherwise the keypad is assumed to
always transmit.
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:
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
or
$ echo $(tput smkx) >/dev/tty