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

📄 script.qwk

📁 功能丰富的串口通讯程序
💻 QWK
字号:
# script to login to a PCBoard BBS, download QWK mail, and logout# run this from the shell as seyon -script channel1# or run it from crond# dial the numberif !linkeddial "354-5776"endif# keep dialing the number until connectedconnect:waitfor "CONNECT"if !waitforredialgoto connectendif# pause to allow the system to catch uppause 3# usual stiffwaitfor "Enter Language # to use (Enter)=no change? " # commenttransmit "^M" # if you turn on color, you'll have to modify the expected# prompts to include the color escape codes, not a good thing# better turn on color at the end of the script, if yo want it# I don't know of another Unix comm program that has whenwaitfor "Do you want Color? Y=Yes, N or Enter = No? "transmit "^M" # name and passwordwaitfor "Enter your first name? "transmit "jone doe^M"waitfor "Password (Dots will echo)? "transmit "you guess^M"# get rid of those nasty prompts that we don't know how many we will get# we cannot do this without the when command, since PCBoard keeps changing# the prompt depending on the number of your callwhen "(Enter)=More? " "^M"when "Enter = Yes? " "n^M"# the usuall Channel 1 promptwaitfor "Channel 1 Command? "# once we are here, clear all standing when commandswhen# goto the QWK mail doortransmit "open 7^M"# once here, ask for your packetwaitfor "Qmail Command? "transmit "d^M"# of course we want itwaitfor "receive these messages (Y/N)? "transmit "y
"# once th epacket is archived and the BBS is ready to send it, execute# Zmodem to receive it. Seyon doesn't allow auto-Zmodem in a scriptwaitfor "Prepare to download"pause 3shell "$rz -vv"# all done, sign offwaitfor "Qmail Command? "transmit "g^M"# hangup, quit Seyon and return to the shellhangupquit

⌨️ 快捷键说明

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