Button Bar功能可以保存一些常用命令避免重复输入,但是有时候secureCRT的button bar经常莫名其妙消失,重装系统或软件后,也都需要重新一个个添加Button,如果能备份就能减少这些费时间的操作
第一行的数字是button个数,十六进制,如果是像我一样button全部消失,有多个ButtonBar文件可以先保留有自己内容的,然后删掉所有的,重新打开secureCRT看看生成的是哪一个,将带自己原来内容的添加到新生成的ini配置文件中(要修改第一行的数字)。
例如:
Z:"Default"=00000010
SEND,ubus call router router_call_rst_factory\\r\\n,rst,,,0,1,
SEND,ubus call project_config get_ap_cp_version\\r\\n,ap_cp_version,,,0,1,
SEND,tail -f /tmp/log/voip.log
SEND,ifconfig\\r\\n,ifconfig,,,0,1,
SEND,uci show |grep qos\\r\\n,qos uci,,,0,1,
SEND,ebtables -L --Lc\\r\\n,ebtables show,,,0,1,
SEND,tc qdisc \\r\\n,tc qdisc,,,0,1,
SEND,tc -s class ls dev ccinet0 \\r\\n,tc class ccinet0,,,0,1,
SEND,tc -s class ls dev autolan \\r\\n,tc class autolan,,,0,1,
SEND,tc -s filter ls dev ccinet0\\r\\n,tc filter ccinet0,,,0,1,
SEND,tc -s filter ls dev autolan \\r\\n,tc filter autolan,,,0,1,
SEND,iptables -t mangle -nvL\\r\\n,iptables mangle,,,0,1,
SEND,ubus call version set_atcmd_info '{"atcmd":"AT+CFUN=0"}'\\r\\n,CFUN0,,,0,1,
SEND,ubus call version set_atcmd_info '{"atcmd":"AT+CFUN=0"}'\\r\\n,CFUN1,,,0,1,
SEND,ifconfig eth1 down\\r\\n,eth1 down,,,0,1,
SEND,ifconfig eth1 up\\r\\n,eth1 up,,,0,1,