好用的screen设置

复制代码
#转自 http://hi.baidu.com/lazync/item/722f0b15657dd9fd746a841e

#在~/.screenrc中输入以下内容
#
se the startup message startup_message off term linux ##use ` as the Global Key ## escape `` ##set a biger buffer defscrollback 4096 #设置状态栏 hardstatus alwayslastline shelltitle "$|bash" hardstatus string '%{= kG}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{C}(F1)New (F2)Rename (F3)Monitor (F4)Slience %{g}][%{kB} %d/%m %{w}%c %{g}]' ##shutdown the noise vbell off ## w to show the window list bind w windowlist -b bind ^w windowlist -b ##initial apps to run screen screen screen screen select 0 #进行快捷键的绑定 bindkey -k k1 screen bindkey -k k2 title bindkey -k k3 monitor bindkey -k k4 silence bindkey -k k5 colon #bindkey -k k6 split #bindkey -k k; focus bindkey -k k7 focus #bindkey -k k8 only bindkey -k k9 detach bindkey -k F1 prev bindkey -k F2 next attrcolor u "-u B" sessionname lyn autodetach on
复制代码

 

posted on   liugoodness  阅读(341)  评论(0编辑  收藏  举报

编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· 展开说说关于C#中ORM框架的用法!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?

导航

< 2013年1月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31 1 2
3 4 5 6 7 8 9

统计

点击右上角即可分享
微信分享提示