X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=FAQ;h=447577f1e26b80259a4af87f44f918c045f907de;hb=8c5ba1cfb09edc12d4992df4667c6ea2a476c82f;hp=9f30ca35f6a1b1a9d71caba52834132775abfd53;hpb=457969381869f9f3ecbb462bf40f053f2a748a02;p=st.git diff --git a/FAQ b/FAQ index 9f30ca3..447577f 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) @@ -84,8 +84,15 @@ If you are using zsh, then read the zsh FAQ 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 - use this capability. If you want it, you have to use st-meta value + 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, but it is mandatory in POSIX +. +If you want compile st for OpenBSD you have to remove -lrt from config.mk. +