root/dotfiles/screen/shoma-screenrc

Revision 21305, 26.4 kB (checked in by shoma, 5 years ago)

add termcapinfo for 256 color terminal

  • Property svn:keywords set to Id
Line 
1#$Id$
2#
3#===============================================================
4# File:                 $HOME/.screenrc
5# Available:            http://www.guckes.net/setup/screenrc
6# Purpose:              Setup file for program "(GNU) screen"
7# written by:           Sven Guckes  setup-screenrc(at)guckes.net
8# Latest change:        Mon Nov 03 05:30:00 CET 2003
9# Latest user version:  screen-4.0.1      [2003-09-18]
10# Latest dev  version:  screen-4.0.0beta2 [2003-08-28]
11# Length and size:      700+ lines and 26K bytes
12# ===============================================================
13#
14# SEE ALSO:
15# SCREEN Pages:         http://www.guckes.net/screen/
16# Bug Reporting:        http://www.guckes.net/screen/bugs.php3
17#                       please read this before
18#                       posting to the mailing list - thanks!
19#
20# MailingList:          http://www.guckes.net/screen/mail.php3
21# MailingList HomePage: http://www.yahoogroups.com/group/gnu-screen/
22#
23# ===============================================================
24# screen 4.0.1 NEW STUFF
25# ===============================================================
26# the "idle" command - execute commands after an "idle time".
27# example:  lock the screen session
28# after 420 seconds (seven minutes):
29# idle  420 lockscreen
30#
31# another exmaple:  after the "idle timeout" start a ne window
32# with a console screen saver ("cmatrix") and (important!)
33# reset the idle mechanism - otherwise screen will start a new
34# window with cmatrix again after the timeout passes once more..
35# idle 666 eval "screen cmatrix" "idle 0"
36#
37# CMatrix - a console screensaver by Chris Allegretta chrisa(at)asty.org
38# homepage: http://www.asty.org/cmatrix cmatrix 1.2a [2002-03-31]
39# download: http://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gz
40#
41# more ideas:
42# situation:  you are using screen within an xterm on X.
43# let "idle" start "xtrlock" (X transparent lock); it simply
44# shows a lock icon in the middle of the X screen but other
45# than that simply waits for you to enter your password
46# while showing the whole screen transparently, that is
47# you can still see the xterm with the screen session inside.
48# let idle also a script which loops through the windows of
49# your screen sessions with eg
50#   for i in `seq 666`; do
51#     sleep 10; screen -X next
52#   done
53# adjusting the hardcopy line for this loop
54# is left to the reader as an exercise. ;-)
55#
56# ===============================================================
57# ENVIRONMENT
58# ===============================================================
59# The DISPLAY variable tells programs which display to use.
60# This mainly affects programs running on the X server.
61# However, when I use screen then I am usually using a terminal -
62# and programs do not need to contact the X server.
63# This results in programs waiting for some timeout when
64# they start up - and this just keeps getting in my way.
65# I therefore unset the DISPLAY variable with this command:
66## unsetenv DISPLAY
67# Text Tools rule!  :-)
68#
69# Note:  the command "setenv DISPLAY ''"
70# defines the variable DISPLAY to have an empty value.
71# but of course it would still *exist*.
72# and some programs seem to react to the
73# DISPLAY variable even if it is empty.
74# so to turn off the effect you *must*
75# "unset" the variable.
76#
77# ===============================================================
78# ESCAPE - the COMMAND CHARACTER
79# ===============================================================
80escape ^tt
81# escape ^aa  # default
82# escape ^pp  # suggested binding for emacs users
83#
84# ===============================================================
85# STARTUP of programs in an extra window:
86# ===============================================================
87# Uncomment one/some following lines to automatically let
88# SCREEN start some programs in the given window numbers:
89# screen -t MAIL        0 mutt
90# screen -t EDIT        1 vim
91# screen -t GOOGLE      2 links http://www.google.com
92# screen -t NEWS        3 slrn
93# screen -t WWW         4 links http://www.guckes.net/
94#
95# ===============================================================
96# VARIABLES - Boolean values (on/off)
97# ===============================================================
98  autodetach            on              # default: on
99# crlf                  off             # default: off
100  deflogin              off             # default: on
101# defsilence            off             # default: off
102  hardcopy_append       on              # default: off
103# nethack               on              # default: off
104  startup_message       off             # default: on
105  vbell                 off             # default: ???
106#
107# ===============================================================
108# TERMCAP and TERMINFO
109# ===============================================================
110#
111   attrcolor b ".I"
112   defbce "on"
113#  term xterm-256color
114#  termcapinfo xterm-256color     ti@:te@
115   termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
116#
117# termcap  xterm        'AF=\E[3%dm:AB=\E[4%dm'
118# terminfo xterm        'AF=\E[3%p1%dm:AB=\E[4%p1%dm'
119#
120# Matthias Kopfermann <matthias_kopfermann(at)gmx.de> [020222]:
121# make the cursor show up in red:
122  termcapinfo linux "ve=\E[?25h\E[?17;0;64c"
123#
124# David Breach <david(at)davidbreach.co.uk> [2003-10-13]:
125# this makes screen work within rxvt on cygwin:
126#  termcapinfo rxvt-cygwin-native ti@:te@
127  defencoding UTF-8
128#
129# ===============================================================
130# VARIABLES - Number values
131# ===============================================================
132  defscrollback         1000            # default: 100
133# msgminwait            3               # default: 1
134  silencewait           15              # default: 30
135#
136# ===============================================================
137# VARIABLES - Paths and Files (esp. programs)
138# ===============================================================
139# bufferfile:   The file to use for commands
140#               "readbuf" ('<') and  "writebuf" ('>'):
141# bufferfile            $HOME/.screen_exchange
142#
143# hardcopydir:  The directory which contains all hardcopies.
144# hardcopydir           ~/.hardcopy
145# hardcopydir           ~/.screen
146#
147# shell:  Default process started in screen's windows.
148# Makes it possible to use a different shell inside screen
149# than is set as the default login shell.  Halleluja! :-)
150# shell                 zsh
151#
152# most users will probably use the "bash" as the default shell:
153# shell                 bash
154# shell                 ksh
155# shell                 tcsh
156 shell                 zsh
157# for an overview to shells see http://georg.f-451.net/shells/
158#
159# ===============================================================
160# VARIABLES - Strings
161# ===============================================================
162#
163# some notes on COLOR before explaining its use in
164# the commands caption, hardstatus, and sorendition.
165#
166# COLOR:  colors codes are combinations of
167# [attribute modifier] [color description]
168# the manual talks of "attribute/color modifiers".
169# see the manual, section "STRING ESCAPES".
170#
171# Color table:
172# 0 Black             .    leave color unchanged
173# 1 Red               b    blue
174# 2 Green             c    cyan
175# 3 Brown / yellow    d    default color
176# 4 Blue              g    green           b    bold
177# 5 Purple            k    blacK           B    blinking
178# 6 Cyan              m    magenta         d    dim
179# 7 White             r    red             r    reverse
180# 8 unused/illegal    w    white           s    standout
181# 9 transparent       y    yellow          u    underline
182#
183# note: "dim" is not mentioned in the manual.
184#
185# ===========================================
186# CAPTION - shows a "caption" for the window.
187# ===========================================
188# a "caption" is another line which can show information -
189# in addition to the hardstatus line.
190#
191# use caption to show window list:
192# caption always "%{= kc}%?%-Lw%?%{= kY}%n*%f %t%?(%u)%?%{= kc}%?%+Lw%?"
193#
194# caption always '%{= wb}%50=%n%f %t%{= wb}'
195# this basically just shows the current window number and title
196# on its own; the "%50=" displays it in the middle of the line.
197#
198# caption always "%>%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?%<"
199# caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
200# caption always "%?%F%{.RW}%?%3n %t%? [%h]%?"
201# caption always "%{rk}%H %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
202#
203  caption always "%{kG}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kG}%?%+Lw%?"
204#
205# "push right border: current time with seconds and current date"
206# caption always "%=%c:%s %Y-%m-%d"
207# ===============================================================
208#
209# ===============================
210# Hardstatus Line and sorendition
211# ===============================
212# hardstatus: Always show the window list in the last line:
213# hardstatus alwayslastline "%w"
214# hardstatus alwayslastline "%H %w"
215#
216# use 'L' between '%' and 'w' to show the flags, too1
217# hardstatus alwayslastline "%H %Lw"
218#
219# example by Adam Spiers <gnu-screen(at)adamspiers.org> :
220# *without* colors:
221# hardstatus alwayslastline "%?%-Lw%?%n*%f %t%?(%u)%?%?%+Lw%?"
222# *with* colors:
223# hardstatus alwayslastline "%?%{yk}%-Lw%?%{wb}%n*%f %t%?(%u)%?%?%{yk}%+Lw%?"
224#
225# This will show the current time and today's date in YYmmdd, too:
226# hardstatus alwayslastline " %c | %Y%m%d |  %w"
227#
228# This will show today's date in mmdd and the current time, too:
229# hardstatus alwayslastline " %m%d %c |  %w"
230#
231# combining all of these gives:
232# hardstatus alwayslastline "%{rw}%H%{wk}|%c|%M%d|%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
233#
234# this uses a black background foreverything execpt for
235# the current window which is show on a white background.
236# hostname in red, clock in green, date in yellow:
237# hardstatus alwayslastline "%{rk}%H %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
238#
239#
240# hardstatus alwayslastline "%{rk}host: %H %33=%{yk}date: %M%d %66=%{gk}time: %c:%s%="
241#
242# hardstatus alwayslastline "%{rk}host: %H %33=%{yk}date: %M%d %66=%{gk}time: %c%="
243#
244# no "host:", "date:", or "time:" here.
245# instead, the info gets placed at 16%, 50%, and 80% so that it is
246# placed soemwhat in the middle of each of the three panels.
247# hardstatus alwayslastline "%{RY}%16=%H %33=%{YR}%50=%M%d %66=%{Gb}%80=%c%="
248#
249# 2003-08-19
250# insert the main url of the screen pages:
251# hardstatus alwayslastline "%{BW}www.guckes.net/screen/%50=%{RY}host: %H %85=%{YR}%M%d %92=%{Gb}%c%="
252#
253# 2003-03-26
254# use the hardstatus line to show the
255# latest news of the IT ticker at heise.de:
256# backtick 1 127 0 heise
257# hardstatus alwayslastline "%{bw}%1`%= "
258#
259# note: the use of ANSI color sequences is deprecated.
260#       please upgrade to (at least) screen 3.9.13
261#       so you can make use of the color letters/names!
262#
263# "sorendition": set the colors for
264# the "messages" and "text marking"
265# (ie text you mark in copy mode):
266#
267# sorendition 10 99 # default!
268# sorendition 02 40 # green  on black
269# sorendition 02 34 # yellow on blue
270# sorendition    rw # red    on white
271  sorendition    kG # black  on bold green
272#
273#
274# ============================
275# Password
276# ============================
277# # # password SZnBqiqMtfa6k
278# WARNING!!  Do NOT remove the comment
279# if you don't know what this does!
280# read on:
281# this commands sets the *internal*
282# password for the screen session.
283# if this is set then a "lock" command will
284# only let you in to the session after you
285# enter the user's account password and then
286# also the internal password for that session.
287# so this gives additional safety.
288# but if you forget the internal password
289# then you can also forget about the session - ok?!
290#
291# ===============================================================
292# Messages
293# ===============================================================
294# There are two kinds of messages:  "activity" and "bell"
295# They are also the names of the commands that set the
296# respective messages.  In every message there can be "meta
297# strings" which are replaced by values.  A meta string starts
298# with a percent sign and is then followed by one
299# of the following letters: aAcCdDfFhHlmMnstuwWyY
300# The meta strings usually refer to the current
301# date and time or to a window title or number.
302# There are also some specials like embedded branches (with %?),
303# color codes (with %{xy}) and padding (with %=, %<, %>).
304# you can find their description in the manual in section
305# "STRING ESCAPES":
306#  %%      percent sign (the escape character itself)
307#  %a      either 'am' or 'pm' - according to the current time
308#  %A      either 'AM' or 'PM' - according to the current time
309#  %c      current time HH:MM in 24h format
310#  %C      current time HH:MM in 12h format
311#  %d      day number - number of current day
312#  %D      Day's name - the weekday name of the current day
313#  %f      flags of the window
314#  %F      sets %? to true if the window has the focus
315#  %h      hardstatus of the window
316#  %H      hostname of the system
317#  %l      current load of the system
318#  %m      month number
319#  %M      month name
320#  %n      window number
321#  %s      seconds
322#  %t      window title
323#  %u      all other users on this window
324#  %w      all window numbers and names.
325#  %-w     all window numbers up to the current window
326#  %+w     all window numbers after the current window
327#  %W      all window numbers and names except the current one
328#  %y      last two digits of the year number
329#  %Y      full year number
330#
331# Older versions of screen used a single '%' character
332# to display window titles - but since version 3.7 this is
333# obsoleted by '%n' and it will vanish in future releases.
334# So please update your screenrc to meet this convention!
335#
336# ===============================================================
337# "~" stands for the "bell" character
338#
339# activity              'Activity in window %n' # default
340#
341# use %n to display the window number and %t for its title:
342# activity              "activity in window #%n title: %t~"
343#
344# activity              "activity in window #%n title: %t~"
345#
346  activity              "%C -> %n%f %t activity!"
347#
348# pass on the "beep" (CTRL-G) by adding a '~':
349  bell                  "%C -> %n%f %t bell!~"
350#
351# pow_detach_msg:       Message shown when session
352#                       gets power detached.
353  pow_detach_msg        "BYE"
354#
355# vbell_msg:            Message shown when the
356#                       "virtual bell" rings.
357  vbell_msg             " *beep* "
358#
359# ==============================================================
360#  BIND bind - defaults
361# ==============================================================
362# The "bind" command assign keys to (internal) commands
363# SCREEN checks all the keys you type; you type the key
364# which is known as the "command character" then SCREEN
365# eats this key, too, and checks whether this key is
366# "bound" to a command.  If so then SCREEN will execute it.
367#
368# The command "bind" allows you to chose which keys
369# will be assigned to the commands.
370#
371# Some commands are bound to several keys -
372# usually to both some letter and its corresponding
373# control key combination, eg the command
374# "(create) screen" is bound to both 'c' and '^C'.
375#
376# The following list shows the default bindings:
377#
378# break       ^B b
379# clear       C
380# colon       :
381# copy        ^[ [
382# detach      ^D d
383# digraph     ^V
384# displays    *
385# dumptermcap .
386# fit         F
387# flow        ^F f
388# focus       ^I
389# hardcopy    h
390# help        ?
391# history     { }
392# info        i
393# kill        K k
394# lastmsg     ^M m
395# license     ,
396# log         H
397# login       L
398# meta        x
399# monitor     M
400# next        ^@ ^N sp n
401# number      N
402# only        Q
403# other       ^X
404# pow_break   B
405# pow_detach  D
406# prev        ^H ^P p ^?
407# quit        \
408# readbuf     <
409# redisplay   ^L l
410# remove      X
411# removebuf   =
412# reset       Z
413# screen      ^C c
414# select      " '
415# silence     _
416# split       S
417# suspend     ^Z z
418# time        ^T t
419# title       A
420# vbell       ^G
421# version     v
422# width       W
423# windows     ^W w
424# wrap        ^R r
425# writebuf    >
426# xoff        ^S s
427# xon         ^Q q
428# ^]  paste .
429# -   select -
430# 0   select 0
431# 1   select 1
432# 2   select 2
433# 3   select 3
434# 4   select 4
435# 5   select 5
436# 6   select 6
437# 7   select 7
438# 8   select 8
439# 9   select 9
440# I   login on
441# O   login off
442# ]   paste .
443#
444# ===============================================================
445# Key bindings
446# ===============================================================
447# Remove some default key bindings by binding
448# them to "nothing" (empty right-hand-side):
449#
450# bind .  dumptermcap # default
451  bind .
452# bind ^\ quit        # default
453  bind ^\
454# bind \\ quit        # default
455  bind \\
456# bind h  hardcopy    # default
457# bind h
458# bind ^h ???         # default
459# bind ^h
460# bind }  history     # default
461# bind }
462#
463# And here are the default bind commands if you need them:
464#
465# bind A title
466# bind C clear
467# bind D pow_detach
468# bind F fit
469# bind H log
470# bind I login on
471# bind K kill
472# bind L login
473# bind M monitor
474# bind N number
475# bind O login off
476# bind Q only
477# bind S split
478# bind W width
479# bind X remove
480# bind Z reset
481#
482# ==============================================================
483# KEY BINDING FAQ:
484# ==============================================================
485# FAQ: So many keys are bound to some command already -
486#      which keys are unbound yet? Which are free for binding?
487# A:   SCREEN does not have a command to show you
488#      a table of currently unbound keys - sorry!
489#      You simply have to read this setup file. ;-)
490#
491#      Summary:  Here is a table of the keys
492#      which are not bound by default:
493#      unbound:  -B--E-G--J-L---P-R-TUV--Y-
494#        bound:  A-CD-F-HI-K-MNO-Q-S---WX-Z
495#
496# I suggest that you do not change the bindings for
497# 'H' ("log") and 'M' ("monitor") as they are *really*
498# useful and you might want to use them a lot;
499# in this case it is recommended to use
500# the defaults to avoid confusion.
501# personally, I use 'A' ("title") quite often, too.
502#
503# If you are using "split windows"
504# then you will also use the command
505# associated with the keys FQSX a lot, too -
506# so do not change their bindings, either!
507#
508# Anyway, I have bound the unbound uppercase letters
509# to start programs in windows directly, ie without
510# starting a new window with a shell within first.
511# This simply saves shells and thus saves RAM -
512# and also avoids that the title of windows is
513# the name of your shell.  Also, you need not "exit"
514# from a shell when you are done with some program.
515# And when using "zombie mode" then the window will stay
516# and you can resurrect them with the CTRL-SPACE command.
517# cool! :-)
518#
519# enable "zombie mode":
520# zombie z
521# here the parameter 'z' defines the key
522# which makes a zombie window go away.
523#
524#
525# ==============================================================
526# BIND and the Services:
527# ==============================================================
528# I am using the uppercase letters to start programs/services:
529#
530# the idea:
531# bind <key> <command>
532# this binds the key to start a windows with <command> inside.
533#
534# the command "screen" starts a "window" -
535# and the default key is 'c' for "create".
536# (i know - this *is* confusing at first.)
537# with 'screen -t title" you can set a titlestring.
538# the number following is the window number to be used.
539# if the window number is already taken then
540# the least highest available number is used.
541#
542#
543# bind A title  # default!
544#
545# BUUG - Berlin Unix User Group - read some news about Unix
546# bind B # unbound by default
547# bind B screen -t 'buug' 4 links www.buug.de
548# bind B screen -t 'BICS' 4 links http://ods.schule.de/bics/inf1/tagung/index.htm
549#
550# CHEM - LinuxTag event in Chemnitz -- 2003-03-01 + 2003-03-02
551# bind C screen -t 'CAMP' 9 links http://www.ccc.de/camp/index.en.html
552# bind C screen -t 'CHEM' 9 links 'www.tu-chemnitz.de/linux/tag/lt5/vortraege/?print=1'
553# bind C screen -t 'CIT'  9 links http://www.guckes.net/cit/
554# bind C screen -t 'CIT'  9 links http://www.computerinfotag.de
555# NOTE:  This overrides the default binding for the "clear" command.
556#
557# www.a1.net   www.izone.at
558# www.one.at
559# DICT - Dictionary English<->German
560# bind D pow_detach !
561# bind D screen -t 'DICT' 4 links dict.tu-chemnitz.de
562# Note: this overrides the default binding for the
563# command "pow_detach".  I hardly ever use that one.
564#
565# MUTT - Email User Agent
566# bind E # unbound by default
567# bind E screen -t 'mail' 0 mutt
568# I use email quite a lot - so window #0 is reserved for that.
569# see also:  http://www.guckes.net/mutt/
570#
571# FTP - File Transfer "Program"
572# bind F fit # default!
573# bind F screen -t 'ftp' 9 ncftp
574# bind F screen -t 'forecast' 4 links http://www.donnerwetter.de/region/suchort.mv?search=10719
575# see also:  http://www.guckes.net/ncftp/
576#
577# GOOGLE - Web Search Engine
578# bind G # unbound by default
579#  bind G screen -t 'Google' links www.google.com
580  bind G screen -t 'Google' w3m www.google.com
581#
582# HEISE - IT NewsTicker
583# bind H log # default!
584# bind H screen -t HeiseTicker links www.heise.de
585# bind H screen -t HTL links http://aosc.htlw16.ac.at/lw2003.html
586# NOTE: This overrides the default binding of the "hardcopy" command!
587#
588# IRC - International Relay Chat
589# bind I screen -t 'irc'  5 irc
590# bind I screen -t 'icq'  9 micq
591# see also:  http://www.guckes.net/irc/
592#
593# Feb 2002:  Use it to search the Internet Movie DataBase (IMDB):
594# bind I screen -t 'IMDB' 9 links http://www.imdb.com/
595# bind I screen -t 'IMDB' 9 links http://us.imdb.com/search/
596# see also: http://www.guckes.net/berlinale/
597#
598# bind J # unbound by default
599#
600## bind K  kill # default!
601   bind K
602# This *removes* the binding for 'K'
603# thus requireing you to enter the
604# command via the command line, ie ":kill".
605# This prevent accidental killing of your windows.
606# Old versions of SCREEN do not prompt for
607# confirmation on "killing a window", you see..
608#
609# LYNX - web browser
610# bind L # unbound by default
611# bind L screen -t 'lynx' 4 lynx  http://www.guckes.net/
612# see also:  http://www.guckes.net/lynx/
613# see also:  http://www.guckes.net/links/
614# bind L screen -t 'WWW'  4 links http://www.infodrom.org/Debian/events/LinuxTag2003/
615# bind L screen -t 'WWW'  4 links http://www.linuxtag.org/2003/de/conferences/conferences.html
616# bind L screen -t 'WWW'  4 links http://www.linuxinfotage.de/
617# bind L screen -t 'WWW'  4 links http://www.lug-camp-2002.de/programm.html
618# bind L screen -t 'WWW'  4 links http://www.mdlug.de/index.php/linuxtag2002/vortraege/v12.inc?menu=0|4|
619# bind L screen -t 'WWW'  4 links http://www.mdlug.de/index.php/linuxtag2002/programm.inc?menu=0|4|&nomfc=1
620# bind L screen -t 'WWW'  4 links http://www.infodrom.org/Debian/events/LinuxTag2002/workshop.php3?room=WS+2&day=2002-06-07&time=16:00
621# bind L screen -t 'WWW'  4 links http://www.guckes.net/linuxtag2002/
622# bind L screen -t 'WWW'  4 links http://www.guckes.net/
623# bind L screen -t 'LT-DRESDEN'  4 links http://www.linuxinfotag.de/
624#
625  bind M monitor # default!
626# bind M screen -t MD 9 links 'http://www.mdlug.info/linuxtag2003/index.php?option=linuxtag&Itemid=52'
627#
628# Nepal:
629# bind N screen -t 'Nepal'  links http://www.wunderground.com/global/stations/44454.html
630# Berlin, Tegel Airport:
631# bind N screen -t 'Wetter' links http://www.wunderground.com/global/stations/10382.html
632#
633# Paste - use 'P' instead of ']':
634# bind P # unbound by default
635  bind P paste .
636# The character ']' is hard to type on german keyboards,
637# as it requires the use of a yet another meta character "AltGR".
638# I prefer to use 'P' for "paste" because it is a letter
639# which is available at the same position both with the
640# US keyboards and keyboards with "Kraut layout" -
641# which I call" Krautboards", by the way. ;-)
642# bind ] paste . # default!
643#
644#      Register page at NetMind's Service:
645# bind R # unbound by default
646# bind R screen links http://www.netmind.com/URL-minder/new/register.html
647#
648#
649# SLRN - newsreader
650# bind S screen -t 'slrn' 3 slrn -n -C -k0
651# bind S screen -t 'SED' 3 links http://www.guckes.net/sed/
652# see also:
653# http://www.slrn.org  ----->
654# http://slrn.sourceforge.net
655# http://www.guckes.net/slrn/ (old)
656#
657# bind T # unbound by default
658# bind T screen -t TRASH ssh trash
659#
660# bind U # unbound by default
661# bind U screen
662# bind U screen -t 'Unterk'  4 links http://www.infodrom.org/Debian/events/LinuxTag2003/
663# VIM - editor
664# bind V # unbound by default
665  bind V screen -t 'vim' 1 vim -X
666# Editing comes with email quite naturally -
667# so I have reserved window #1 for this.
668# http://www.guckes.net/vim/
669#
670#      W - WIEN!
671# bind W screen -t 'WIEN'  4 links http://www.linuxwochen.at/cgi-bin/index?topic=Wien&print=yes
672# bind W screen -t 'WIEN'  4 links http://wien.linuxwochen.at/
673# bind W screen -t 'WIKI'  4 links http://linuxwiki.org/LinuxTag2003_2fFahrGemeinschaften
674# bind W screen -t WETTER  4 links http://www.wetteronline.de
675# bind W screen -t WETTER  4 links http://www.wetteronline.de/Mecklenb-Vorp/MecklSeen.htm
676# bind W screen -t WETTER  4 links http://www.wetteronline.de/cgi-bin/citybild?PLZ=01099&PLZN=Dresden
677#
678#      W - Webster
679# bind W screen -t WEBSTER 4 links http://www.m-w.com/
680# bind W screen -t NEWS slrn -h news.hostsharing.net
681#
682#      X - a fast way to lock the current screen.
683  bind X lockscreen
684#
685# bind Y exec !!! echo -n http://www.guckes.net/
686# bind Y stuff http://www.guckes.net/
687# This pastes the address of my homepage to the process
688# in the current window.  very nice - saves some typing.
689# and you don't have to have the functionality of
690# "abbreviating" in the processes themselves. :-)
691#
692#
693# bind Z screen -t HOME links http://www.guckes.net/
694# ===============================================================
695# BIND Examples:
696# ===============================================================
697# You can also paste the values of
698# SCREEN's environment variables:
699# bind E stuff $EMAIL
700# bind U stuff $URL
701# bind I stuff $ICQ
702#
703# ===============================================================
704# BINDKEY:
705# ===============================================================
706# [TODO briefly explain the difference between BIND and BINDKEY]
707#
708# use the PgUp and PgDn keys to enter copy mode
709# and page through the window backlog:
710  bindkey -k kP copy
711#
712# Use the function keys F7 and F8
713# to cycle backwards/forwards in
714# the list of existing windows:
715  bindkey -k k7 prev
716  bindkey -k k8 next
717#
718# make the "kb" send a backspace (CTRL-H:)
719# bindkey -d kb stuff ^H
720# WARNING:  this does not work as advertised.
721# it eats the "kb" when typing "dankbar" for example. :-(
722#
723# NumPad keybindings:
724# ^[Oo /      resize =
725# ^[Oj *      resize max
726# ^[Om -      resize -2
727# ^[Ok +      resize +2
728# ^[OM Enter
729#
730# ================================
731# At the very end... show the
732# current version and say hello :-)
733#
734# Briefly show the version number of this starting
735# screen session - but only for *one* second:
736  msgwait 1
737  version
738# change back to showing messages
739# for duration of two seconds:
740  msgwait 2
741#
742# Welcome the user:
743# echo "welcome to screen :-)"
744#
745# !THPXRF!
746# Tell Vim to use a "tabstop" of '8',
747# ie expands TABs to the next column
748# whose number is a multiple of eight.
749# vim: ts=8 et nowrap
750
Note: See TracBrowser for help on using the browser.