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

📄 config.but

📁 大名鼎鼎的远程登录软件putty的Symbian版源码
💻 BUT
📖 第 1 页 / 共 5 页
字号:
that does this, you will see a stepped effect on the screen, likethis:\c First line of text\c                   Second line\c                              Third lineIf this happens to you, try enabling the \q{Implicit CR in every LF}option, and things might go back to normal:\c First line of text\c Second line\c Third line\S{config-erase} \q{Use background colour to erase screen}\cfg{winhelp-topic}{terminal.bce}Not all terminals agree on what colour to turn the screen when theserver sends a \q{clear screen} sequence. Some terminals believe thescreen should always be cleared to the \e{default} backgroundcolour. Others believe the screen should be cleared to whatever theserver has selected as a background colour.There exist applications that expect both kinds of behaviour.Therefore, PuTTY can be configured to do either.With this option disabled, screen clearing is always done in thedefault background colour. With this option enabled, it is done inthe \e{current} background colour.Background-colour erase can be turned on and off by controlsequences sent by the server. This configuration option controls the\e{default} state, which will be restored when you reset theterminal (see \k{reset-terminal}). However, if you modify thisoption in mid-session using \q{Change Settings}, it will take effectimmediately.\S{config-blink} \q{Enable blinking text}\cfg{winhelp-topic}{terminal.blink}The server can ask PuTTY to display text that blinks on and off.This is very distracting, so PuTTY allows you to turn blinking textoff completely.When blinking text is disabled and the server attempts to make sometext blink, PuTTY will instead display the text with a boldedbackground colour.Blinking text can be turned on and off by control sequences sent bythe server. This configuration option controls the \e{default}state, which will be restored when you reset the terminal (see\k{reset-terminal}). However, if you modify this option inmid-session using \q{Change Settings}, it will take effectimmediately.\S{config-answerback} \q{Answerback to ^E}\cfg{winhelp-topic}{terminal.answerback}This option controls what PuTTY will send back to the server if theserver sends it the ^E enquiry character. Normally it just sendsthe string \q{PuTTY}.If you accidentally write the contents of a binary file to yourterminal, you will probably find that it contains more than one ^Echaracter, and as a result your next command line will probably read\q{PuTTYPuTTYPuTTY...} as if you had typed the answerback stringmultiple times at the keyboard. If you set the answerback string tobe empty, this problem should go away, but doing so might causeother problems.Note that this is \e{not} the feature of PuTTY which the server willtypically use to determine your terminal type. That feature is the\q{Terminal-type string} in the Connection panel; see\k{config-termtype} for details.You can include control characters in the answerback string using\c{^C} notation. (Use \c{^~} to get a literal \c{^}.)\S{config-localecho} \q{Local echo}\cfg{winhelp-topic}{terminal.localecho}With local echo disabled, characters you type into the PuTTY windoware not echoed in the window \e{by PuTTY}. They are simply sent tothe server. (The \e{server} might choose to echo them back to you;this can't be controlled from the PuTTY control panel.)Some types of session need local echo, and many do not. In itsdefault mode, PuTTY will automatically attempt to deduce whether ornot local echo is appropriate for the session you are working in. Ifyou find it has made the wrong decision, you can use thisconfiguration option to override its choice: you can force localecho to be turned on, or force it to be turned off, instead ofrelying on the automatic detection.\S{config-localedit} \q{Local line editing}\cfg{winhelp-topic}{terminal.localedit}Normally, every character you type into the PuTTY window is sentimmediately to the server the moment you type it.If you enable local line editing, this changes. PuTTY will let youedit a whole line at a time locally, and the line will only be sentto the server when you press Return. If you make a mistake, you canuse the Backspace key to correct it before you press Return, and theserver will never see the mistake.Since it is hard to edit a line locally without being able to seeit, local line editing is mostly used in conjunction with local echo(\k{config-localecho}). This makes it ideal for use in raw mode\#{FIXME} or when connecting to MUDs or talkers. (Although some moreadvanced MUDs do occasionally turn local line editing on and turnlocal echo off, in order to accept a password from the user.)Some types of session need local line editing, and many do not. Inits default mode, PuTTY will automatically attempt to deduce whetheror not local line editing is appropriate for the session you areworking in. If you find it has made the wrong decision, you can usethis configuration option to override its choice: you can forcelocal line editing to be turned on, or force it to be turned off,instead of relying on the automatic detection.\S{config-printing} Remote-controlled printing\cfg{winhelp-topic}{terminal.printing}A lot of VT100-compatible terminals support printing under controlof the remote server. PuTTY supports this feature as well, but it isturned off by default.To enable remote-controlled printing, choose a printer from the\q{Printer to send ANSI printer output to} drop-down list box. Thisshould allow you to select from all the printers you have installeddrivers for on your computer. Alternatively, you can type thenetwork name of a networked printer (for example,\c{\\\\printserver\\printer1}) even if you haven't alreadyinstalled a driver for it on your own machine.When the remote server attempts to print some data, PuTTY will sendthat data to the printer \e{raw} - without translating it,attempting to format it, or doing anything else to it. It is up toyou to ensure your remote server knows what type of printer it istalking to.Since PuTTY sends data to the printer raw, it cannot offer optionssuch as portrait versus landscape, print quality, or paper trayselection. All these things would be done by your PC printer driver(which PuTTY bypasses); if you need them done, you will have to finda way to configure your remote server to do them.To disable remote printing again, choose \q{None (printingdisabled)} from the printer selection list. This is the defaultstate.\H{config-keyboard} The Keyboard panelThe Keyboard configuration panel allows you to control the behaviourof the keyboard in PuTTY.\S{config-backspace} Changing the action of the Backspace key\cfg{winhelp-topic}{keyboard.backspace}Some terminals believe that the Backspace key should send the samething to the server as Control-H (ASCII code 8). Other terminalsbelieve that the Backspace key should send ASCII code 127 (usuallyknown as Control-?) so that it can be distinguished from Control-H.This option allows you to choose which code PuTTY generates when youpress Backspace.If you are connecting to a Unix system, you will probably find thatthe Unix \c{stty} command lets you configure which the serverexpects to see, so you might not need to change which one PuTTYgenerates. On other systems, the server's expectation might be fixedand you might have no choice but to configure PuTTY.If you do have the choice, we recommend configuring PuTTY togenerate Control-? and configuring the server to expect it, becausethat allows applications such as \c{emacs} to use Control-H forhelp.(Typing \i{Shift-Backspace} will cause PuTTY to send whichever codeisn't configured here as the default.)\S{config-homeend} Changing the action of the Home and End keys\cfg{winhelp-topic}{keyboard.homeend}The Unix terminal emulator \c{rxvt} disagrees with the rest of theworld about what character sequences should be sent to the server bythe Home and End keys.\c{xterm}, and other terminals, send \c{ESC [1~} for the Home key,and \c{ESC [4~} for the End key. \c{rxvt} sends \c{ESC [H} for theHome key and \c{ESC [Ow} for the End key.If you find an application on which the Home and End keys aren'tworking, you could try switching this option to see if it helps.\S{config-funkeys} Changing the action of the function keys and keypad\cfg{winhelp-topic}{keyboard.funkeys}This option affects the function keys (F1 to F12) and the top row ofthe numeric keypad.\b In the default mode, labelled \c{ESC [n~}, the function keysgenerate sequences like \c{ESC [11~}, \c{ESC [12~} and so on. Thismatches the general behaviour of Digital's terminals.\b In Linux mode, F6 to F12 behave just like the default mode, butF1 to F5 generate \c{ESC [[A} through to \c{ESC [[E}. This mimics theLinux virtual console.\b In Xterm R6 mode, F5 to F12 behave like the default mode, but F1to F4 generate \c{ESC OP} through to \c{ESC OS}, which are thesequences produced by the top row of the \e{keypad} on Digital'sterminals.\b In VT400 mode, all the function keys behave like the defaultmode, but the actual top row of the numeric keypad generates \c{ESCOP} through to \c{ESC OS}.\b In VT100+ mode, the function keys generate \c{ESC OP} through to\c{ESC O[}\b In SCO mode, the function keys F1 to F12 generate \c{ESC [M}through to \c{ESC [X}.  Together with shift, they generate \c{ESC [Y}through to \c{ESC [j}.  With control they generate \c{ESC [k} throughto \c{ESC [v}, and with shift and control together they generate\c{ESC [w} through to \c{ESC [\{}.If you don't know what any of this means, you probably don't need tofiddle with it.\S{config-appcursor} Controlling Application Cursor Keys mode\cfg{winhelp-topic}{keyboard.appcursor}Application Cursor Keys mode is a way for the server to change thecontrol sequences sent by the arrow keys. In normal mode, the arrowkeys send \c{ESC [A} through to \c{ESC [D}. In application mode,they send \c{ESC OA} through to \c{ESC OD}.Application Cursor Keys mode can be turned on and off by the server,depending on the application. PuTTY allows you to configure theinitial state.You can also disable application cursor keys mode completely, usingthe \q{Features} configuration panel; see\k{config-features-application}.\S{config-appkeypad} Controlling Application Keypad mode\cfg{winhelp-topic}{keyboard.appkeypad}Application Keypad mode is a way for the server to change thebehaviour of the numeric keypad.In normal mode, the keypad behaves like a normal Windows keypad:with NumLock on, the number keys generate numbers, and with NumLockoff they act like the arrow keys and Home, End etc.In application mode, all the keypad keys send special controlsequences, \e{including} Num Lock. Num Lock stops behaving like NumLock and becomes another function key.Depending on which version of Windows you run, you may find the NumLock light still flashes on and off every time you press Num Lock,even when application mode is active and Num Lock is acting like afunction key. This is unavoidable.Application keypad mode can be turned on and off by the server,depending on the application. PuTTY allows you to configure theinitial state.You can also disable application keypad mode completely, using the\q{Features} configuration panel; see\k{config-features-application}.\S{config-nethack} Using NetHack keypad mode\cfg{winhelp-topic}{keyboard.nethack}PuTTY has a special mode for playing NetHack. You can enable it byselecting \q{NetHack} in the \q{Initial state of numeric keypad}control.In this mode, the numeric keypad keys 1-9 generate the NetHackmovement commands (\cw{hjklyubn}). The 5 key generates the \c{.}command (do nothing).Better still, pressing Shift with the keypad keys generates thecapital forms of the commands (\cw{HJKLYUBN}), which tells NetHackto keep moving you in the same direction until you encountersomething interesting.For some reason, this feature only works properly when Num Lock ison. We don't know why.\S{config-compose} Enabling a DEC-like Compose key\cfg{winhelp-topic}{keyboard.compose}DEC terminals have a Compose key, which provides an easy-to-rememberway of typing accented characters. You press Compose and then typetwo more characters. The two characters are \q{combined} to producean accented character. The choices of character are designed to beeasy to remember; for example, composing \q{e} and \q{`} producesthe \q{\u00e8{e-grave}} character.If your keyboard has a Windows Application key, it acts as a Compose

⌨️ 快捷键说明

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