This shows you the differences between two versions of the page.
— |
unix:rc-scripts [2008/05/11 21:25] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== rc-scripts ====== | ||
+ | This is a page for me to keep my '' | ||
+ | |||
+ | ===== .screenrc ===== | ||
+ | Make the '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | There are three screens: | ||
+ | * 0: " | ||
+ | * 1: " | ||
+ | * 2: "Named Windows 2" | ||
+ | |||
+ | and at the bottom right the hostname is displayed. | ||
+ | |||
+ | <code conf> | ||
+ | # Undo stupid settings in / | ||
+ | termcapinfo xterm ' | ||
+ | vbell off # Use the real bell, like a man! | ||
+ | |||
+ | # Startup message is annoying | ||
+ | startup_message off | ||
+ | |||
+ | # Make sure that ~/ | ||
+ | # (if this weren' | ||
+ | shell -bash | ||
+ | shelltitle bash | ||
+ | |||
+ | # Misc h4x to make scrollback work | ||
+ | terminfo * te@:ti@ | ||
+ | termcapinfo xterm|xterms|xs|rxvt ti=\E7\E[? | ||
+ | defscrollback 1024 | ||
+ | |||
+ | # Status line of ultimate win! | ||
+ | hardstatus alwayslastline | ||
+ | # See the " | ||
+ | # I can't remember which Debian person got me started. | ||
+ | # A note on colours: %{abc} where a is things like d for dim, b for bold, .. | ||
+ | # b is the background colour | ||
+ | # c is the foreground colour | ||
+ | # A . in any of those places indicates that setting should not be changed | ||
+ | # 1 - Blue background and white foreground | ||
+ | # 2 - List all windows before the current window | ||
+ | # 3 - Show the current window with a red background | ||
+ | # 4 - List the remaining windows with a blue background | ||
+ | # 5 - Pad to the width of the screen. | ||
+ | # 6 - Switch to green text to show the hostname | ||
+ | # 7 - Switch to yellow text to show the date in ISO8601 and the time in 24 hour | ||
+ | # | ||
+ | # This one includes a clock with the hostname | ||
+ | #hardstatus string " | ||
+ | hardstatus string " | ||
+ | </ | ||
+ | |||