isip_change_xterm_title.pl

来自「这是一个从音频信号里提取特征参量的程序」· PL 代码 · 共 49 行

PL
49
字号
#! @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 + =
减小字号Ctrl + -
显示快捷键?