AppInfo: screen

From LinodeWiki

Jump to: navigation, search

Contents

[edit] General Information

screen is a text-based program. Running programs inside screen allows (among other things) you to get disconnected or log out without stopping the program(s) running inside screen. It also allows you to run several virtual terminals within it and switch between them (or even display some simultaniously)

Project Page
Mailing List Archive
Man Page
FAQ
This wiki entry is doing much the same as I'm doing here.

[edit] Links

In no particular order (articles, simple tutorials, etc.):

[edit] Interesting tidbits

[edit] My .screenrc

# See /etc/screenrc for more examples
# No annoying audible bell, using "visual bell"
vbell on
# Automatically detach on hangup. autodetach on
# Don't display the copyright page startup_message off
# Change default scrollback value for new windows defscrollback 1000
# If no title is set then use this shelltitle '$ |screen'
hardstatus alwayslastline
# Use %1` #backtick 1 1200 1200 whoami
# use %2` backtick 2 1 1 /home/harleypig/iostatus
hardstatus string "%c:%s %D %m-%d-%Y | %l | io %2` | %n %t %W"

[edit] iostatus shell script

#!/bin/bash
cat /proc/io_status | perl -ne '($r,$t)=$_=~/rate=(\d+).*?tokens=(\d+)/;$_=sprintf"rate: %06u tokens: %6u",$r,$t;print'
Personal tools