ansitest/topscrn4-xterm.sh

15 lines
599 B
Bash
Raw Normal View History

2022-02-22 21:20:39 -06:00
#!/bin/bash
2022-02-22 21:40:14 -06:00
# This is useful with Maximized lxterminal, xfce4-terminal, OSX terminal, etc where you can easily resize the font
# NOTE: if using ssh Use: ssh -t hostname $HOME/bin/topscrn4-xterm.sh
2022-02-22 21:20:39 -06:00
# open 4-pane screen with sys monitoring
2022-02-22 21:24:56 -06:00
# Requires: bwm-ng top screen iostat watch openvt/open
2022-02-22 21:40:14 -06:00
2022-02-22 21:24:56 -06:00
# Requires other files: dot-screenrc-mon1-combined ( renamed as .screenrc-mon1-combined in user's home dir )
# ^^ mon1-df-short in /usr/local/bin
2022-02-22 21:20:39 -06:00
2022-02-22 21:24:56 -06:00
# if we try to throw it in the BG, get "screen must be connected to a terminal" error - must be FG
TERM=linux screen -R -c $HOME/.screenrc-mon1-combined