diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2014-06-09 17:19:15 +0200 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-06-11 11:17:17 +0200 |
| commit | 27b28f1dc264e9947ea22bd64fd8f00ac98442f5 (patch) | |
| tree | 939c773b9a64317a857476183d3c34a64809c993 | |
| parent | 587b4435924bab598a904531dc8d01656d1e519a (diff) | |
| download | st-27b28f1dc264e9947ea22bd64fd8f00ac98442f5.tar.gz st-27b28f1dc264e9947ea22bd64fd8f00ac98442f5.zip | |
FAQ: update typo and escape code for smkx
Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
| -rw-r--r-- | FAQ | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -37,7 +37,7 @@ Taken from the terminfo manpage: | |||
| 37 | are pressed, this information can be given. Note that it is not | 37 | are pressed, this information can be given. Note that it is not |
| 38 | possible to handle terminals where the keypad only works in | 38 | possible to handle terminals where the keypad only works in |
| 39 | local (this applies, for example, to the unshifted HP 2621 keys). | 39 | local (this applies, for example, to the unshifted HP 2621 keys). |
| 40 | If the keypad can be set to transmit or not transmit, tive these | 40 | If the keypad can be set to transmit or not transmit, give these |
| 41 | codes as smkx and rmkx. Otherwise the keypad is assumed to | 41 | codes as smkx and rmkx. Otherwise the keypad is assumed to |
| 42 | always transmit. | 42 | always transmit. |
| 43 | 43 | ||
| @@ -48,7 +48,7 @@ sequences. | |||
| 48 | But buggy applications like bash and irssi for example don't do this. A fast | 48 | But buggy applications like bash and irssi for example don't do this. A fast |
| 49 | solution for them is to use the following command: | 49 | solution for them is to use the following command: |
| 50 | 50 | ||
| 51 | $ printf "\033?1h\033=" >/dev/tty | 51 | $ printf '\033[?1h\033=' >/dev/tty |
| 52 | 52 | ||
| 53 | or | 53 | or |
| 54 | $ echo $(tput smkx) >/dev/tty | 54 | $ echo $(tput smkx) >/dev/tty |
