ttype

来自「Advanced Bash&#8722 Scripting Guide An 」· 代码 · 共 30 行

TXT
30
字号
#!/bin/ksh# Script name: ttype# Example 10.107# Purpose: set the terminal type# Author: Andy AdminCOLUMNS=60LINES=1PS3="Please enter the terminal type: "select choice in wyse50 vt200 vt100 sundo case $REPLY in    1)	export TERM=$choice	print "TERM=$choice"	break;;		#break out of the select loop    2 | 3 )	export TERM=$choice		print "TERM=$choice"	break;;    4)	export TERM=$choice		print "TERM=$choice"	break;;    *) 	print "$REPLY is not a valid choice.Try again" 1>&2			    ;;    esacdone

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?