1 # $Id: screenrc,v 1.15 2003/10/08 11:39:03 zal Exp $
2 #
3 # /etc/screenrc
4 #
5 # This is the system wide screenrc.
6 #
7 # You can use this file to change the default behavior of screen system wide
8 # or copy it to ~/.screenrc and use it as a starting point for your own
9 # settings.
10 #
11 # Commands in this file are used to set options, bind screen functions to
12 # keys, redefine terminal capabilities, and to automatically establish one or
13 # more windows at the beginning of your screen session.
14 #
15 # This is not a comprehensive list of options, look at the screen manual for
16 # details on everything that you can put in this file.
17 #
18
19 # ------------------------------------------------------------------------------
20 # SCREEN SETTINGS
21 # ------------------------------------------------------------------------------
22
23 startup_message off
24 #nethack on
25
26 #defflow on # will force screen to process ^S/^Q
27 deflogin on
28 #autodetach off
29
30 # turn visual bell on
31 vbell off
32 vbell_msg " Wuff ---- Wuff!! "
33
34 # define a bigger scrollback, default is 100 lines
35 defscrollback 4096
36
37
38 # caption always "%{kw}%-w %{Bw} %n %t %{kw}%+w "
39 caption always "%{kw}%-w %{wm} [%n %t] %{kw}%+w %=%{bw} [%l] %{yb} [%Y %M %c:%s]"
40
41 # ------------------------------------------------------------------------------
42 # SCREEN KEYBINDINGS
43 # ------------------------------------------------------------------------------
44
45 # Remove some stupid / dangerous key bindings
46 bind ^k
47 #bind L
48 bind ^\
49 # Make them better
50 bind \\ quit
51 bind K kill
52 bind I login on
53 bind O login off
54 bind } history
55
56 # An example of a "screen scraper" which will launch urlview on the current
57 # screen window
58 #
59 #bind ^B eval "hardcopy_append off" "hardcopy -h $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"
60
61 # ------------------------------------------------------------------------------
62 # TERMINAL SETTINGS
63 # ------------------------------------------------------------------------------
64
65 # The vt100 description does not mention "dl". *sigh*
66 termcapinfo vt100 dl=5\E[M
67
68 # turn sending of screen messages to hardstatus off
69 hardstatus on
70 # Set the hardstatus prop on gui terms to set the titlebar/icon title
71 # termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
72 # use this for the hard status string
73 hardstatus always "%h%? users: %u%?"
74
75 # An alternative hardstatus to display a bar at the bottom listing the
76 # windownames and highlighting the current windowname in blue. (This is only
77 # enabled if there is no hardstatus setting for your terminal)
78 #
79 #hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
80
81 # set these terminals up to be 'optimal' instead of vt100
82 # termcapinfo xterm*|linux*|rxvt*|Eterm* OP
83
84 # Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
85 # (This fixes the "Aborted because of window size change" konsole symptoms found
86 # in bug #134198)
87 #termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
88
89 # To get screen to add lines to xterm's scrollback buffer, uncomment the
90 # following termcapinfo line which tells xterm to use the normal screen buffer
91 # (which has scrollback), not the alternate screen buffer.
92 #
93 #termcapinfo xterm|xterms|xs|rxvt ti@:te@
94
95 # ------------------------------------------------------------------------------
96 # STARTUP SCREENS
97 # ------------------------------------------------------------------------------
98
99 # Example of automatically running some programs in windows on screen startup.
100 #
101 # The following will open top in the first window, an ssh session to monkey
102 # in the next window, and then open mutt and tail in windows 8 and 9
103 # respectively.
104 #
105 # screen top
106 # screen -t monkey ssh monkey
107 # screen -t mail 8 mutt
108 # screen -t daemon 9 tail -f /var/log/daemon.log
.screenrc
内核编译和嵌入式产品的设计与开发
前往
- 公告/注意事项
- ↳ 新闻和通知
- ↳ 软件推荐
- 系统安装
- ↳ 教学和常见问答
- ↳ 系统安装和升级
- ↳ 启动和引导
- ↳ 网卡无线拨号
- ↳ 硬件与内核
- ↳ 笔记本及便携设备
- ↳ Ubuntu衍生版
- ↳ 其他类Unix OS发行版
- ↳ Debian发行版
- 配置美化
- ↳ 中文显示和输入法
- ↳ 个人配置文件存放点
- ↳ 软件文档翻译
- ↳ 窗口管理器及美化
- ↳ 桌面展示
- 软件使用
- ↳ 办公、图像、机械电子设计等
- ↳ Vim和Emacs
- ↳ 开源模板库
- ↳ 互联网相关软件
- ↳ 影音多媒体
- ↳ 游戏和模拟器
- ↳ 虚拟机和虚拟化
- ↳ Wine及其分支
- ↳ 其它类软件
- 服务器管理
- ↳ 服务器运维
- ↳ 云计算和容器(K8S/KVM/Docker/WSL等)
- ↳ Ubuntu VPS
- 程序设计与开发
- ↳ Shell脚本
- ↳ 软件/网站开发
- ↳ 内核及嵌入式开发
- ↳ Ubuntu编译和打包
- ↳ 开源小工具
- ↳ 挑战任务
- 感想与交流
- ↳ 深度PK版
- ↳ Ubuntu故事和感慨
- ↳ 同城交流
- ↳ 校园社团
- ↳ 港澳台校区
- ↳ 国外校区
- 站务区
- ↳ 论坛管理
- ↳ Ubuntu中文网上商店