Появилась идея выводить температуру CPU Raspberry Pi в нижней строке screen. Сейчас содержимое файла .screenrc следующее:
#----------------------------------------------------------------------------
# ~/.screenrc: executed by screen for user settings
# $Revision: 2.10 (CentOS Edition by Wakko Warner) $
# $Comment: Any comments please send to [email protected] $
#----------------------------------------------------------------------------
caption always "%{= 45}%{+b w}Screen: %n | %h %=%t %c"
hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
# hardstatus string "[screen %n%?: %t%?] %h"
defshell -bash
shell -$SHELL
# VARIABLES
# ===============================================================
# Automatically detach on hangup.
autodetach on # default: on
# Don't display the copyright page
startup_message off # default: on
# Affects the copying of text regions
crlf off # default: off
# Change default scrollback value for new windows
defscrollback 1000 # default: 100
# Define the time that all windows monitored for silence should
# wait before displaying a message. Default 30 seconds.
silencewait 15 # default: 30
# UTF-8 support
defutf8 on
# PuTTY tweaks
termcapinfo xterm* ti@:te@
termcapinfo xterm ti@:te@
# STARTUP SCREENS
# ===============================================================
# Uncomment one/some following lines to automatically let
# SCREEN start some programs in the given window numbers:
# screen -t IRC 0 irssi
# screen -t EDIT 1 vim
# screen -t GOOGLE 2 links http://www.google.com
# screen -t NEWS 3 slrn
# screen -t WWW 4 links http://rt.com
# screen -t HTOP 0 htop
# screen -t BASH 1
# screen -t F3 2
# screen -t F4 3
# screen -t F5 4
# screen -t F6 5
# screen -t F7 6
# screen -t F8 7
# screen -t F9 8
# screen -t F10 9
# select 1
Как я понимаю, в строку hardstatus alwayslastline
нужно добавить vcgencmd measure_temp
. Но выводиться сама команда, а не её результат.