X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=FAQ;h=adac39f891af24aa55d2cde080aa50fc7ae2a6c0;hb=8306568bd0b9d082c58ad897b4562ffe6822e585;hp=23d557d57318528619125adb570e9a6e13a8ad70;hpb=4de64fa4d24fe0164bc59dd853982a43a9c19e56;p=st.git diff --git a/FAQ b/FAQ index 23d557d..adac39f 100644 --- a/FAQ +++ b/FAQ @@ -26,7 +26,7 @@ st or st-256color. The default value for TERM can be changed in config.h Using a terminal multiplexer. -* `st -e tmux` using C-a [ +* `st -e tmux` using C-b [ * `st -e screen` using C-a ESC ## Why doesn't the Del key work in some programs? @@ -37,23 +37,23 @@ 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. 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. -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: - $ printf "\033?1h\033=" >/dev/tty + $ printf '\033[?1h\033=' >/dev/tty or $ 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: enable-keypad (Off) @@ -83,3 +83,18 @@ If you are using zsh, then read the zsh FAQ zle -N zle-line-finish Putting these lines into your .zshrc will fix the problems. + +## How can I use meta in 8bit mode? + + St supports meta in 8bit mode, but the default terminfo entry doesn't + use this capability. If you want it, you have to use the 'st-meta' value + in TERM. + +## I cannot compile st in OpenBSD + +OpenBSD lacks of librt, despite it begin mandatory in POSIX +. +If you want to compile st for OpenBSD you have to remove -lrt from config.mk, and +st will compile without any loss of functionality, because all the functions are +included in libc on this platform. +