?? seyon.man
字號:
.BI hangupViaDTR " (boolean)"When enabled, Seyon will hangup up the modem by dropping DTR. This ismuch quicker than hanging up by sending a Hayes-like hangup string tothe modem and waiting to allow for escape guard time. However, somemodems and serial drivers choke on dropping DTR and others just don'thangup when DTR is dropped, so in these cases it should be disabled.If disabled, Seyon will hangup the modem by sending the stringspecified by the resource modemAttentionString, followed by thatspecified by the resource modemHangupString..I Default value: off.TP.BI metaKeyTranslation " (boolean)"Whether to transmit keys pressed while the meta (ALT) key is held downas an escape (ESC) followed by the key press. Most hosts do notsupport 8-bit sessions, and hence do not recognize the meta key.Therefore, this translation mode has to be enabled when connected tosuch hosts to take advantage of the meta key in programs that make useof it like Emacs..I Default value: on.TP.BI modemAttentionString " (string)"The string to send to the modem to get its attention (switch tocommand mode). This string will be sent to the modem before the hangupstring when hangupViaDTR is disabled..I Default value: +++.TP.BI modemHangupString " (string)"The hangup string to send to the modem when hangupViaDTR is disabled.Default value: ATH^M.TP.BI modems " (string)"A list of modem devies to use. Seyon will try modems in this list oneafter the other until it finds an available modem or the list isexhausted. .I No default value..TP.BI modemStatusInterval " (int)"This resource controls the amount of time (in seconds) between updatesto the modem status toggles (including the clock). The default is fiveseconds, but you can set it to one second (or any other number) if youwant the toggles to be updated more frequently. Even if you set thisto a large number, Seyon is intellegent enough to update the togglesafter each connect or hangup..I Default value: 5.TP.BI modemVMin " (int)"This resource specifies the minimum number of characters that shouldbe in the buffer before the read process is satified. The read processwill wait until that number of incoming characters is in the buffer or0.1 second has elapsed between the receiption of two characters beforedisplaying the data in the buffer. This results in the data beingdisplayed in chunks and speeds up the terminal display. The speedupwould be most noticeable on slow machnes with fast modems.Leave this resource at its default (1) or set it at a low value (6) ifyou have a slow modem (e.g. 2400bps). Otherwise you might set it tothe maximum value, which is platform-dependent but generally 255. Ifyou set it to any number greater than the maximum value, it will betruncated to the maximum value..I Default value: 1.TP.BI newlineTranslation " (string)"When the Enter key is pressed, newline character (\\n) is generated.This resource determines what to translate this character to. Threemodes are possible: no translation (newline), carriage return (\\r),and carriage return / line feed. Unix systems usually expect newlineor carrage return, DOS systems expect carraige return or carriagereturn / line feed. The three keywords corresponding to the abovemodes are.IR nl ", " cr ", and " cr/lf ..I Default value: cr.TP.BI noConnectStringX " [X = 1-4] (string)"The response strings given by the modem when connection fails. .IR "Default values: NO CARRIER" ", " "NO DIALTONE" ", " BUSY ", " VOICE(respectively).TP.BI phonelistFile " (string)"The name of the phone list (dialing directory) file. See the includedexample to learn how this file should be formatted..I Default value: phonelist.TP.BI postConnectAction " (string)"Specifies a simple or compound action that will be executed after aconnection to a remote host is made. This action will be executedbefore running any script attached to that host in the dialingdirectory. All actions here have to be synchronous. Refer to thesection entitled \fISeQuickKeys\fP below for a description ofavailable actions..I Default value: Beep();.TP.BI protocolsFile " (string)"The name of the protocols file. This file tells Seyon what file transferprotocols are available. The user will be promted with a list based onthis file when file transfer is to be initiated..I Default value: protocols.TP.BI quickKey?Refer to the section entitled \fISeQuickKeys\fP below..TP.BI rtsctsFlowControl " (boolean)"Whether Seyon should turn on RTS/CTS hardware flow control. Make surethe modem is set to use this as well..I Default value: off.TP.BI scriptDirectory " (string)"Seyon's script directory. When looking for scripts, Seyon will firsttry this script directory, then the current directory..I Default value: defaultDirectory.TP.BI showFunMessages " (boolean)"Whether to display funny messages when Seyon has no other importantinformation to show. Seyon will display those messages at an intervalspecified by the \fIfunMessagesInterval\fP resource when there is noother important information to convey to the user. To disable thedisplay of fun messages, this resource has be set to off..I Default value: on.TP.BI startupAction " (string)"Specifies a simple or compound action that will be executed onstartup. This action is executed prior to running any script (in casethe -script switch is given) or dialing any entry of the dialingdirectory (in case the -dial switch is given or the resourcedialAutoStart is enabled). You can make Seyon open the dialingdirectory automatically on startup by using the simple action``OpenWidnow(Dial);'' as a constituent of this complex action stack.Note that running the startup script is just a special case of thisresource. Refer to the section entitled \fISeQuickKeys\fP for adescription of available actions..I Default value: RunScript(startup);.TP.BI startupFile " (string)"Seyon's startup file. Seyon will execute all commands in this fileupon startup. This file can have any commands acceptable as scriptcommands. The most useful command to put here is the \fIset\fPcommand, to set the various communications parameters..I Default value: startup.TP.BI stripHighBit " (boolean)"Whether to strip the high (eights) bit from incoming characters. Ifset to on, the high bit of all incoming characters will be stripped,which will make an 8-N-1 setting behave like 7-N-1, even though eightbits are used for each character..I Default value: off.TP.BI xonxoffFlowControl " (boolean)"Whether Seyon should turn on XON/XOFF software flow control..I Default value: off.SH SEQUICKKEYSSeyon allows the user to have custom buttons, called SeQuickKeys (zquickies), to which actions can be attached. SeQuickKeys provide aconvenient way via which the user can invoke frequently-usedoperations by a singe mouse click. SeQuickKeys are specified throughthe resources quickKeyX, where X is an integer corresponding to theorder at which that SeQuickKey is to appear on the command center.Relevant subparts of that resource are \fIvisible\fP, \fIaction\fP,and \fIlabel\fP. Here is an example:.PD 0.nf.IPSeyon*quickKey3.visible: on.IPSeyon*quickKey3.action: FileTransfer(1,file); Beep(); .IPSeyon*quickKey3.label: Upload.fi.PD.PThe first line specifies that SeQuickKey3 should be visible. Thesecond line specifies the action bound to the SeQuickKey (in thiscase, a compound action), and the third line specifies the label forthat SeQuickKey's button. Other subparts can also be specified in asimilar fashion (e.g. background, foreground, ..etc.)Actions can be either simple or compound. A compound action consistsof a stack of simple actions and can be used as simple mini-script.\fIExamples:\fP .nf\(bu Set(idleGuard,on); DialEntries(Default);\(bu Echo("Uploading files..."); Transmit(rz); \\ FieTransfer(1,"*.ico $HOME/acct.wks"); Echo(Done);\(bu OpenWindow(Dial); DialEntries("2 5 6");\(bu Echo("Goodbye.."); Hangup(); Quit();\(bu Set(baud,9600); ManualDial("555-5555");\(bu Echo("Will upload..."); ShellCommand("$sz *.wks");\(bu Set(parity,0); RunScript(login.scr); Echo(Finished);.fi.PThe following is a list of actions Seyon currently supports. Asterisksdesignate asynchronoous actions. Brackets designate optionalarguments..TP.BI Beep ();Rings the bell making a short beep..TP.BI CloseWindow "(window [,...]);"Closes (dismisses) the given windows. Currenly the only valid argumentto this action is Dial, which corresponds to the dialing idrectorywindow. \fIExample:\fP CloseWindow(Dial);.TP.BI DialEntries (entries-list); *Dials entries in the dialing directory corresponding by order to thegiven list. Entries will be dialed as if the user had selected them onthe dialing directory. Entries will be dialed without opening thedialing directory. You can use the action ``OpenWindow(Dial);'' andstack the two actions in a compound action if you want the dialingdirectory to be opened.The list must be quoted if it consists of more than one entry, andentries should be separated by white space, not commas. If the listconsists of just the word ``Default'', then the entries given by theresource defaultPhoneEntries will be dialed, refer to the descriptionof that resource for more details.The most common use of this action is attach frequesntly-dialed hoststo SeQuickKeys, making dialing those hosts a one-click operation. Ifthis action is not the last in a compound action stack, actionsspecified by the resource postConnectAction may not work properly.\fIExamples:\fP DialEntries(2); DialEntries("2 4 5");DialEntries(Default);.TP.BI DivertFile ([file]); *Sends the given file to the remote host as a text upload. If theoptional argument ``file'' is not specified, Seyon will pop up adialog box asking for the file name. In the latter case this action issimilar to clicking Divert from the Misc window. \fIExamples:\fPDivertFile("/tmp/acct.wks"); DivertFile();.TP.BI Echo ([string]);Echos the given string to the terminal. Does not send it to the modem(use Transmit for that). If the string consists of more than one word,it must be quoted. Note that unlike the shell command of the samename, this command does not accepts the switch -n but always appendsnewline to the string. If the argument is omitted, an empty line willbe echoed. \fIExamples:\fP Echo(Hello); Echo("Hello there"); Echo();.TP.BI FileTransfer "(entry, [file-list]);" *Executes the transfer protocol corresponding by order in the trasferconsole (protocols file) to ``entry''. If that protocol requires afile name and file-list is omitted, Seyon will pop up a dialog boxasking for the file. Otherwise file-list will be passed to thatprotocol. The list must be quotes if it consists of more than one wordand items in it should be separated by white space. It can containwild cards and shell variables. \fIExamples:\fP FileTransfer(1);FileTransfer(2,acct.wks); FileTransfer(2,"*.wks $HOME/acct.wks");.TP.BI Hangup ();Disconnects the line. Does not pop up a confirmation box..TP.BI IconifyWindow "(window [,...]);"Iconifies the given windows. Valid arguments to this action are Main,Dial, and Term, corresponding respectively to the command center,dialing directory, and terminal emulator windows. When the argument isTerm, this action will work only if the terminal emulator sets theenvirenment variable WINDOWID, like xterm does. \fIExamples:\fPIconifyWindow(Main,Dial,Term); IconifyWindow(Dial);.TP.BI ManualDial ([number]); *Dials a number as if the Manual button had been clicked from thedialing directory. If ``number'' is specified, it will be dialeddirectly and no dialog box will be popped up asking for the number.\fIExamples:\fP ManualDial(555-5555); ManualDial();.TP.BI Message ([string]);Echos the given string to the message box of Seyon's command center(main window). If the string consists of more than one word, it mustbe quoted. If the argument is omitted, an empty line will be echoed.\fIExamples:\fP Message(Hello); Message("Hello there"); Message();.TP.BI OpenWindow "(window [,...]);"Opens each of the given windows by popping it if closed orde-iconifying it if in an iconic state. Valid arguments to this actionare Main, Dial, and Term, corresponding respectively to the commandcenter, dialing directory, and terminal emulator windows. When theargument is Term, this action will work only if the terminal emulatorsets the envirenment variable WINDOWID, like xterm does.\fIExamples:\fP OpenWindow(Main,Dial,Term); OpenWindow(Dial);.TP.BI Quit ();Exits Seyon completely and returns to the shell. Does not pop up aconfirmation box..TP.BI RunScript ([script-name]); *Executes the script given by the file script-name. The script will beexecuted as if the user had selected it via the Script button. Ifscript-name is omitted, a dialog box will be popped up asking for thescript name. This is a very versatile action, as many remote and localcommands or series of commands can be performed by attachingappropriate scripts to SeQuickKeys. \fIExamples:\fPRunScript(login.scr); RunScript();.TP.BI Set "(parameter, value);"Sets the specified parameter to the given value. Can be used to setthe various communications parameters. Available parameters are listedunder the script command ``set''. \fIExamples:\fP Set(baud,9600);Set(parity,0); Set(idleGuard,off)..TP.BI ShellCommand (shell-command); *Executes the given shell command via the user's shell pointed to bythe SHELL environment variable, or /bin/sh if that environmentvariable is not set. Note that the command must be quoted if itconsists of more than one word. If the first non-space letter of thecommand is the character ``$'', then standard input and standardoutput will be redirected to to the modem. This action can be used toexecute any external program from withen Seyon. \fIExample:\fPShellCommand(ls); ShellCommand("$cd $HOME; sz -vv *.wks");.TP.BI Transmit (string);Transmits the given string to the remote host. The string must bequoted if it consists of more than one word. The string is transmittedas is (no case conversions are performed). No newline character orcarriage return is appended to the string, use the prefix charactersfor that (e.g. ^M, ^J). See the discripttion of the script command``transmit'' for more details. \fIExample:\fP Transmit(ls^M);Transmit("ls -CF^M");.SH SCRIPT LANGUAGEScript files can automate some tedious tasks such as logging into asystem. A script file is an ascii text file and may be entered oredited using any standard text editor.The script file is read line by line. Empty lines (consisting of
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -