?? scriptdemo
字號(hào):
# 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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -