A brief list of the main screen commands.
$ screen -list
$ screen -R <session_name>
-
detach from that session: first, press
CTRL+A
, thenD
-
kill that session: first, press
CTRL+A
, thenK
-
scroll with arrows:
- first, press
CTRL+A
, thenEsc
. - next, press the
Up
andDown
arrow keys or thePgUp
andPgDn
keys to scroll through previous output - press
Esc
to exit scrollback mode.
- first, press
$ killall screen; screen -wipe
Indeed, the command screen -wipe
is used to clean the screen list
Create a file ~/.screenrc
and add the following lines therein
# Enable mouse scrolling and scroll bar history scrolling
termcapinfo xterm* ti@:te@
Create a file ~/.screenrc
and add the following lines therein
logfile ${HOME}/.ros/3dmr/logs/%H_%S_%Y%m%d-%c.log
logfile flush 1
log on
# Uncomment to enable timestamping in logs
logtstamp after 1
# logtstamp string "[ %t: %Y-%m-%d %c:%s ]\012"
logtstamp on
the logs will be created in the folder ${HOME}/.ros/3dmr/logs
. This log folder is set in the file config.sh
(main folder of the repo).