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

📄 .autocis

📁 支持X/YModem和cis_b+协议的串口通讯程序
💻 AUTOCIS
字号:
# .autocis - xc script to visit CIS automagically.# This file uses 4-character tabstops.# It will log in, visit CIS Mail (if mail is waiting), then the#  PRACTICE and UNIX Fora, uploading any prepared files, downloading#  all new messages, and capture them into three separate files.# The following assumption is made about your CIS interactions:#  You are in "expert" mode in MAIL.#  You are in Command mode in all Fora.#  You have opted for continuous reading in all Fora.#  You have set your Prompt Char set to '^H' --backspace-- in all Fora.#	This last is VERY critical to the properly trigger the WAITFORs# This script will call another script, .temp_opt, to set Forum options# for only the current logintty "on"		# echo to the tty while script is running (default anyways)debug "on"		# capture in debug.log providing file pre-existsset proto 7e	# CIS is happierset bps 2400set cis off		# don't trigger on any stray ENQ characterset xoff on		# set XON/XOFF signalling#  if linked; then  # this alternate routine calls a#	call .cisdial	# sub-script with the dialing information#  endifif ! linked; then dial "7662080"; endif	# dial this numberwhile ! waitfor "CONNECT" 52			# give modem 52 secs to say "CONNECT"	do		redial	donepause 2						# let network catch uptransmit "^C"				# First thing to send CISpause 3						# let network catch updebug "off"					# so as not to display the password# Now send CIS one string with PPN, first service to go to, and passwordtransmit "72160,1341/go:mail\\beige*screw^M"debug "on"if waitfor "CompuServe Mail^M" 8			# we already asked to GO MAILthen if ! waitfor "No messages pending" 4	# unless nothing waiting, then	 set cfile "email"						# use this capture file		capture "on"						# open it		file echo `date`					# time stamp it		transmit "rec all^M"				# ask to read everything		while ! waitfor "Mail!"				#  until this string appears			do; done						#  script does nothing		transmit "del all^M"				# remove msgs from CIS mbox		capture "off"						# close the capture file	fielse	beep							# beep if we never get to CISMailendifset cfile "pra"						# new capture filetransmit "g practice^M"				# new Forumwaitfor "moment please..."			# "Welcome" should follow thiscapture "on"						# start appending to 'pra'if waitfor "forum !^H" 60			# prompt with a backspacethen	call ".temp_opt"				# set Forum options for this session.	assign Upload eq `ls rp 2>/dev/null`	if Upload eq "praR"				# is there a 'praR' file	then	capture "off"			# then turn off capturing		type "praR"					# transmit the 'praR' file		transmit "^M"				# this extra newline will trigger		while ! waitfor "% choice required"	# this response after the upload			do; done		shell "mv praR /usr/tmp/praR$$"	# rename the 'praR' file		capture "on"				# start capturing again	fi	transmit "rea new^M^M"			# read all new messages	while ! waitfor "% choice required"		do; done	capture "off"else	beep							# beep if Forum closed, or you get bumpedfiset cfile "uni"						# same stuff in another Forumtransmit "g unixforum^M"waitfor "moment please..."capture "on"if waitfor "forum !^h" 60then	call ".temp_opt"				assign Upload eq `ls ru 2>/dev/null`	if Upload eq "uniR"	then	capture "off"		type "uniR"		transmit "^M"		while ! waitfor "% choice required"			do; done		shell "mv uniR /usr/tmp/uniR$$"		capture "on"	fi	transmit "rea new^M^M"	while ! waitfor "% choice required"		do; done	capture "off"else	beepfitransmit "off^M"quit

⌨️ 快捷键说明

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