Overview
Comment: | Changed control key to ^f for screen. ^r is used in bash, ^f is not. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.62 |
Files: | files | file ages | folders |
SHA1: |
c60e775cb8aa80862ebb7af950706cd5 |
User & Date: | mrwellan on 2016-10-24 09:42:48 |
Other Links: | branch diff | manifest | tags |
Context
2016-10-24
| ||
13:24 | Added info on dashboard look controls check-in: 68a8e2b689 user: mrwellan tags: v1.62 | |
09:42 | Changed control key to ^f for screen. ^r is used in bash, ^f is not. check-in: c60e775cb8 user: mrwellan tags: v1.62 | |
2016-10-19
| ||
17:00 | Changed control key to ^r for screen. check-in: 312de0a75d user: mrwellan tags: v1.62 | |
Changes
Modified utils/viewscreen from [4887de0888] to [dee289c6f4].
1 2 3 4 5 6 7 8 9 10 | #!/bin/bash if ! type screen &> /dev/null;then xterm -geometry 180x20 -e "$*;echo Press any key to continue;bash -c 'read -n 1 -s'" & exit fi if [[ $(screen -list | egrep 'Attached|Detached'|awk '{print $1}') == "" ]];then # echo "No screen found for displaying to. Run \"screen\" in an xterm" # exit 1 | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/bash if ! type screen &> /dev/null;then xterm -geometry 180x20 -e "$*;echo Press any key to continue;bash -c 'read -n 1 -s'" & exit fi if [[ $(screen -list | egrep 'Attached|Detached'|awk '{print $1}') == "" ]];then # echo "No screen found for displaying to. Run \"screen\" in an xterm" # exit 1 xterm -e screen -e^ff & sleep 1 screen -X hardstatus off screen -X hardstatus alwayslastline screen -X hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W} %c %{g}]' fi cmd="cd $PWD;$*" screen -X screen bash -c "$cmd;echo \"Press any key to continue, ctrl-f <space> to see other windows\";bash -c 'read -n 1 -s'" |