Aller au contenu
Infogérance Linux Debian en France

Infogérance Linux Debian en France

Kogitae : Ingéniérie de l'hébergement Internet

  • Accueil
  • Parcours
  • Presse
  • Portfolio
  • Blog

A good screenrc config for Screen – Ubuntu Forums

  • Accueil » Blog » A good screenrc config for Screen – Ubuntu Forums
DansGénéralités

A good screenrc config for Screen – Ubuntu Forums

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # ### Created by Brad Sims <tanfj@yahoo.com> 25/06/2004 ### I got tired of .screenrc’s on the internet being so ### poorly commented… So being a good GNUbie I took matters ### into my own hands; and wrote this dotfile. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # ## Explanation of hardstatus line ## # Ignore the ‘ marks if you use these examples for yourself # Note that if you want to use the color brown under konsole # You actually use bright yellow (%{Y}). # Note the embeded space after the colon, I feel # it just looks nicer with a blank between the # text and console edge: # ‘%{=b}%{G} Screens: ‘ # This prints the window listing in blue: # ‘%{b}%w’ # This right-aligns what follows: # ‘%=’ # This displays the time (hours and minutes) in 12hr format # and adds an AM/PM flag, in bold green: # ‘%{G}%C%A’ # This displays the day of the week: # ‘%D’ #This displays the date in Mon/day/year format: # and again I embeded a space to give me one space # between the text and console edge: # ‘%M/%d/%Y ‘ # The resultsing command give you a status line that # looks like this: # | Screens: 0* bash <blanks zapped> 5:30PM Fri, Jun/25/2004 | # (The pipes indicate the edges of the xterm/console). # Green text, time, and date; windows in blue: hardstatus alwayslastline « %{=b}%{G} Screen(s): %{b}%w %=%{kG}%C%A %D, %M/%d/%Y  » # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # ## Some general options ## # Turn off start message: startup_message off # Set messages timeout to one second: msgwait 1 # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # ## Keybindings ## # bind <F7> to detach screen from this terminal # bind <F8> to kill current session # bind <F10> to create a new screen # bind <F9> to rename an existing window # bind <F11> to move to previous window # bind <F12> to move to next window bindkey -k k7 detach bindkey -k k8 kill # space in keyboard bindkey -k k; screen bindkey -k k9 title bindkey -k F1 prev bindkey -k F2 next # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #

viaA good screenrc config for Screen – Ubuntu Forums.

bash-screen-setup-screenrc config-bind-f11-admin freelance-administrateur-serveur-ubuntu good-screenrc linux-screen-screenrc linux-screenrc-t minimal-screenrc-settings screen-bind-f1 screen-bindkey-command screen-debian-screenrc screen-xterm-ubuntu screenrc screenrc-bind screenrc-bind-f11 screenrc-bindkey-next-prev screenrc-for-ubuntu ubuntu ubuntu-forums ubuntu-screen-colon ubuntu-screen-conf-screenrc

Étiquettes

administrateur-systeme-freelance (9) amazon (3) apache (14) asterisk (9) auth (3) bash (6) blog-administrateur-systeme (14) blog-administration-systeme (4) collectd (5) cpu (3) debian (30) dovecot (4) duplicate (3) f (6) freelance-asterisk (3) google (3) infogerance-linux (5) infogérance (4) ipv6 (7) kernel (4) kogitae (30) kogitae-com (3) kogitae-fr (6) lamp-or-linux-or-developpement-web-and-apache-or-php-or-mysql-or-adobe-or-eclipse-or-zend-or-mozilla-or-firefox (17) lenny (4) lighttpd (5) limit (4) linux (26) mail (7) mdadm (6) mysql (14) openvz (9) optimiser (4) php (5) postfix (11) privvmpages-openvz (3) pxe (3) raid (3) SEO (5) ssh (8) ssl (3) test (3) voip (4) wordpress (6) www-kogitae-fr (7)