📄 isip_change_xterm_title.pl
字号:
#! @PERL@## file: $isip/util/misc/isip_change_xterm_title/isip_change_xterm_title#$ISIP_HELP_FILE = <<__ISIP_HELP_HERE_FILE__;name: isip_change_xterm_titlesynopsis: isip_change_xterm_title <new_name>descr: this program changes the name of the current xterm to the name given by the user. multiple white spaces in the string are collapsed.options: -help: display this help messagearguments: new_name: desired name for the windowman page: none__ISIP_HELP_HERE_FILE__# return: none## define the program name#@tmp = split(/\//, $0);$ISIP_PROG = pop(@tmp);# define command line options## load the command_line module#require "$ENV{ISIP}/lib/scripts/perl/command_line.pm";# parse the command line.#(@new_name) = command_line(-1);# create the new xterm string and write it to stdout# this line consists of ESC ] 0;new_name CTRL-G# where ESC is the literal escape (\e)# CTRL-G is the literal control character# there are no spaces between each character#printf STDOUT "\e]0;@new_name\cG\n";# end of file#
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -