java的screen_java screen的配置详解及注意事项

java screen的配置详解及注意事项

# Set default encoding using utf8

defutf8 on

## 解决中文乱码,这个要按需配置

defencoding utf8

encoding utf8 utf8

#兼容shell 使得.bashrc .profile /etc/profile等里面的别名等设置生效

shell -$SHELL

#set the startup message

startup_message off

#term linux

## 解决无法滚动

termcapinfo xterm|xterms|xs ti@:te=\E[2J

# 屏幕缓冲区行数

defscrollback 10000

# 下标签设置

caption always "%{=u .G} %-w%

hardstatus alwaysignore

hardstatus alwayslastline "%{= .K} [%l]%

#关闭闪屏

vbell off

#Keboard binding

bindkey ^[d prev

bindkey ^[f next

# bind Alt`~= to screen0~12

bindkey "^[`" select 0

bindkey "^[1" select 1

bindkey "^[2" select 2

bindkey "^[3" select 3

bindkey "^[4" select 4

bindkey "^[5" select 5

bindkey "^[6" select 6

bindkey "^[7" select 7

bindkey "^[8" select 8

bindkey "^[9" select 9

bindkey "^[0" select 10

bindkey "^[-" select 11

bindkey "^[=" select 12

# bind F5 to create a new screen

bindkey ^[n screen

# bind F6 to detach screen session (to background)

bindkey -k k6 detach

# bind F7 to kill current screen window

bindkey -k k7 kill

# bind F8 to rename current screen window

bindkey -k k8 title

启动screen:screen

列出screen: screen -ls

恢复screen:screen -rU

-U   Run screen in UTF-8 mode,加上-U可以保证恢复时不出现中文乱码

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

时间: 2017-07-02

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这段代码定义了一个枚举类型eNaviScreenFlow,用于表示导航屏幕的流程或状态。 枚举类型eNaviScreenFlow包含了一系列的枚举常量,每个常量代表一个导航屏幕的流程或状态。这些常量的命名约定使用大写字母和下划线,以表示多个单词之间的分隔。 具体的枚举常量及其对应的含义如下: - NAVI_SCREEN_FLOW_MENU: 导航菜单流程 - NAVI_SCREEN_FLOW_SRCH_AROUND: 周边搜索流程 - NAVI_SCREEN_FLOW_SRCH_GENRE: 类别搜索流程 - NAVI_SCREEN_FLOW_SRCH_FAVORITE: 收藏搜索流程 - NAVI_SCREEN_FLOW_SRCH_HOME: 家庭搜索流程 - NAVI_SCREEN_FLOW_ROUTE_ADD_VIA: 添加途经点流程 - NAVI_SCREEN_FLOW_AVOID_AREA: 避让区域流程 - NAVI_SCREEN_FLOW_HOME_SAVE: 保存家庭地址流程 - NAVI_SCREEN_FLOW_HOME_TURN: 家庭地址转向流程 - NAVI_SCREEN_FLOW_OPEN_MAP: 打开地图流程 - NAVI_SCREEN_FLOW_OPEN_MAP_SEARCH: 地图搜索流程 - NAVI_SCREEN_FLOW_COVER_BLOCK: 封面模块流程 - NAVI_SCREEN_FLOW_ROUTE_PROFILE: 路径配置流程 - NAVI_SCREEN_FLOW_FACILITY_SEARCH: 设施搜索流程 - NAVI_SCREEN_FLOW_FACILITY_SEARCH_AREA: 设施搜索区域流程 - NAVI_SCREEN_FLOW_FACILITY_SEARCH_AREA_STATE: 设施搜索区域状态流程 - NAVI_SCREEN_FLOW_FACILITY_SEARCH_AREA_CITY: 设施搜索区域城市流程 - NAVI_SCREEN_FLOW_AREA_CITY: 区域城市流程 - NAVI_SCREEN_FLOW_MYSETUP: 我的设置流程 - NAVI_SCREEN_FLOW_ROUTE_VIA_DETAIL: 途经点详情流程 - NAVI_SCREEN_FLOW__: 保留的空占位符 这样定义枚举类型可以方便程序中使用这些常量来表示不同的导航屏幕流程或状态,提高代码的可读性和可维护性。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值