scriptdemo
来自「minicom2.0源代码」· 代码 · 共 30 行
TXT
30 行
# A little demonstration of the possibilities of "runscript".# This script can be executed by typing: "runscript scriptdemo".## Adjust the stty's below to your system: BSD-like or SysV-like.# Linux ofcourse accepts both :-)# goto mainleft: print "\010 \010\010*\c" returnright: print "\010 *\c" returnmain:# ! stty -echo cbreak ! stty -echo -icanon min 1 verbose off print Demo! press 'q' to move left, 'w' to move right, 'ESC' to stop. print " *\c" expect { "q" gosub left "w" gosub right "\033" break } print \nEnd of demonstration.# ! stty -cbreak echo ! stty icanon echo min 5 sleep 1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?