⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu

📁 Mrxvt是一个小巧
💻
字号:
#!/bin/sh --# shell wrapper to avoid typing Menu escape sequencesif test $# -eq 0; thenecho "\usage: `basename $0` cmdwhere the most common commands are	[menu] [menu:name]	[read:file] [read:file;name]	[title:string]	+/path/menu	+/path/menu/*	+/menu/path/{-}	+/menu/path/{item}{rtext} action	-/*	-/path/menu	-/path/menu/*	-/path/{-}	-/path/{item}	<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End	[done]	[rm] [rm:] [rm*] [rm:*] [rm:name]	[swap] [prev] [next]	[clear] [show] [hide]	[pixmap:file]	[dump]NB: commands may need to be quoted to avoid shell expansion"exitfiEcho="echo -n"# some systems/shells don't like `echo -n'case `/bin/uname` in    SunOS) Echo="echo";;esacwhile [ $# -gt 0 ]do    case $1 in	+* | -* | '<'* | '['*)		# send raw commands	$Echo "]10;$1"	;;	*)					# read in menu files	if test $1 = "default";	then	    $Echo "]10;[read:$0]"	else	    $Echo "]10;[read:$1]"	fi	if test "$COLORTERM" != "rxvt-xpm";	# remove pixmap stuff	then	    $Echo "]10;[menu][:-/Terminal/Pixmap:][show]"	fi	;;    esac    shiftdoneexit	# stop shell here!#-------------------------------------------------------------------------# since everything before a [menu] tag is ignored, we can put a default# menu here#-------------------------------------------------------------------------[menu:default]/Programs/*{Edit}		vi\r{Top}		top\r{Dir}		ls -la|more\r{Dir-Time}	ls -lat|more\r{Space Left}	df\r{-}{Exit}		exit\r/Shell/*{check mail}	mail\r{Background}	^Z bg\r{Kill}		^C\r[show][done]#--------------------------------------------------------------------- eof

⌨️ 快捷键说明

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