Search:

PmWiki

pmwiki.org

edit SideBar

Main / Screen

Screen internal commands:
ctrl a, c = create a new window
ctrl a, k = kill current window
ctrl a, shift A = rename current window
ctrl a, 0 = switch to screen 0
ctrl a, m = toggle monitor for activity
ctrl a, _ = toggle monitor for silence
ctrl a, esc = copy mode, which allows scrollback
ctrl a, :quit = close down screen
ctrl a, d = detach screen
ctrl a, ? = help
ctrl s = suspend
ctrl q = end suspend

Screen external commands:
screen -ls = list screen sessions
screen -x <session_name> = connect to open session

If suddenly the X window display quits working in screen, perhaps the host changed the DISPLAY EV underneath you - detach and echo it at the master prompt to check.

If you are only getting use of half the real estate, try a ctrl a, shift Z.

If you get the stupid "Must be connected to a terminal" error in cygwin, try running the cygwin/Cygwin.bat and then execute screen from there instead.

http://www.pixelbeat.org/lkdb/screen.html

Screen Serial Support

screen /dev/ttyUSB0 115200 for example

Sample .screenrc to give a status bar

# Turn off the welcome message
startup_message off

# Disable visual bell
vbell off

# Set scrollback buffer to 10000
defscrollback 10000

# Customize the status line
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'

Page last modified on May 27, 2021, at 04:48 PM