|
|
@ -42,10 +42,10 @@ Taken from the terminfo manpage: |
|
|
|
always transmit. |
|
|
|
always transmit. |
|
|
|
|
|
|
|
|
|
|
|
In the st case smkx=E[?1hE= and rmkx=E[?1lE>, so it is mandatory that |
|
|
|
In the st case smkx=E[?1hE= and rmkx=E[?1lE>, so it is mandatory that |
|
|
|
applications which want to test against keypad keys, have to send these |
|
|
|
applications which want to test against keypad keys send these |
|
|
|
sequences. |
|
|
|
sequences. |
|
|
|
|
|
|
|
|
|
|
|
But buggy applications like bash and irssi for example don't do this. A fast |
|
|
|
But buggy applications (like bash and irssi, for example) don't do this. A fast |
|
|
|
solution for them is to use the following command: |
|
|
|
solution for them is to use the following command: |
|
|
|
|
|
|
|
|
|
|
|
$ printf '\033[?1h\033=' >/dev/tty |
|
|
|
$ printf '\033[?1h\033=' >/dev/tty |
|
|
@ -53,7 +53,7 @@ solution for them is to use the following command: |
|
|
|
or |
|
|
|
or |
|
|
|
$ echo $(tput smkx) >/dev/tty |
|
|
|
$ echo $(tput smkx) >/dev/tty |
|
|
|
|
|
|
|
|
|
|
|
In the case of bash readline is used. Readline has a different note in its |
|
|
|
In the case of bash, readline is used. Readline has a different note in its |
|
|
|
manpage about this issue: |
|
|
|
manpage about this issue: |
|
|
|
|
|
|
|
|
|
|
|
enable-keypad (Off) |
|
|
|
enable-keypad (Off) |
|
|
@ -84,8 +84,8 @@ If you are using zsh, then read the zsh FAQ |
|
|
|
|
|
|
|
|
|
|
|
Putting these lines into your .zshrc will fix the problems. |
|
|
|
Putting these lines into your .zshrc will fix the problems. |
|
|
|
|
|
|
|
|
|
|
|
## How can use meta in 8bit mode? |
|
|
|
## How can I use meta in 8bit mode? |
|
|
|
|
|
|
|
|
|
|
|
St support meta in 8bit mode, but the default terminfo entry doesn't |
|
|
|
St supports meta in 8bit mode, but the default terminfo entry doesn't |
|
|
|
use this capability. If you want it, you have to use st-meta value |
|
|
|
use this capability. If you want it, you have to use the 'st-meta' value |
|
|
|
in TERM. |
|
|
|
in TERM. |
|
|
|