Re: [dev] [st] htop, tmux, terminfo

From: Rob <robpilling_AT_gmail.com>
Date: Sun, 12 Feb 2012 00:12:54 +0000

On Sun, Feb 12, 2012 at 12:59:30AM +0100, Martin Kopta wrote:
> The process viewer htop isn't drawing properly in st [1].
> Is there know solution for st/htop drawing problem?

This is a known "bug", I think the thread on it before is here [1]
Basically, st doesn't have a bold/bright colour, and just uses normal
black

> I have also noticed that when I log into some system via ssh, tmux
> won't let me attach my sessions due missing terminfo for
> st-256color. Well, for my private servers, I just scp .terminfo
> directory and problem is solved. However, I co-manage lots of
> various company servers and customer servers and copying .terminfo
> into each of them is just silly. Changing TERM to "xterm" forces
> apps run, but drawing goes mostly horribly wrong. So, my second
> question:
> How do you deal with st, terminfo of st and ssh to lots of various servers?
>
> [1] http://martin.kopta.eu/trash/st-htop.png


for s in $(grep '^Host' .ssh/config | awk '{print $2}')
do ssh $s tic - < path/to/st.info
done

or whatever to get tic to read stdin


Thanks,
Rob


[1] http://lists.suckless.org/dev/1104/7444.html
Received on Sun Feb 12 2012 - 01:12:54 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 12 2012 - 01:24:03 CET