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

📄 man-pter.but

📁 大名鼎鼎的远程登录软件putty的Symbian版源码
💻 BUT
📖 第 1 页 / 共 2 页
字号:
\cfg{man-identity}{pterm}{1}{2004-03-24}{PuTTY tool suite}{PuTTY tool suite}\H{pterm-manpage} Man page for pterm\S{pterm-manpage-name} NAMEpterm \- yet another X terminal emulator\S{pterm-manpage-synopsis} SYNOPSIS\c pterm [ options ]\e bbbbb   iiiiiii\S{pterm-manpage-description} DESCRIPTION\cw{pterm} is a terminal emulator for X. It is based on a port ofthe terminal emulation engine in the Windows SSH client PuTTY.\S{pterm-manpage-options} OPTIONSThe command-line options supported by \cw{pterm} are:\dt \cw{\-e} \e{command} [ \e{arguments} ]\dd Specify a command to be executed in the new terminal. Everything onthe command line after this option will be passed straight to the\cw{execvp} system call; so if you need the command to redirect itsinput or output, you will have to use \cw{sh}:\lcont{\c pterm -e sh -c 'mycommand < inputfile'}\dt \cw{\-\-display} \e{display\-name}\dd Specify the X display on which to open \cw{pterm}. (Note thisoption has a double minus sign, even though none of the others do.This is because this option is supplied automatically by GTK.Sorry.)\dt \cw{\-name} \e{font-name}\dd Specify the name under which \cw{pterm} looks up X resources.Normally it will look them up as (for example) \cw{pterm.Font}. Ifyou specify \q{\cw{\-name xyz}}, it will look them up as\cw{xyz.Font} instead. This allows you to set up several differentsets of defaults and choose between them.\dt \cw{\-fn} \e{font-name}\dd Specify the font to use for normal text displayed in the terminal.\dt \cw{\-fb} \e{font-name}\dd Specify the font to use for bold text displayed in the terminal. Ifthe \cw{BoldAsColour} resource is set to 1 (the default), bold textwill be displayed in different colours instead of a different font,so this option will be ignored. If \cw{BoldAsColour} is set to 0and you do not specify a bold font, \cw{pterm} will overprint thenormal font to make it look bolder.\dt \cw{\-fw} \e{font-name}\dd Specify the font to use for double-width characters (typicallyChinese, Japanese and Korean text) displayed in the terminal.\dt \cw{\-fwb} \e{font-name}\dd Specify the font to use for bold double-width characters(typically Chinese, Japanese and Korean text). Like \cw{-fb}, thiswill be ignored unless the \cw{BoldAsColour} resource is set to 0.\dt \cw{\-geometry} \e{geometry}\dd Specify the size of the terminal, in rows and columns of text. See\e{X(7)} for more information on the syntax of geometryspecifications.\dt \cw{\-sl} \e{lines}\dd Specify the number of lines of scrollback to save off the top of theterminal.\dt \cw{\-fg} \e{colour}\dd Specify the foreground colour to use for normal text.\dt \cw{\-bg} \e{colour}\dd Specify the background colour to use for normal text.\dt \cw{\-bfg} \e{colour}\dd Specify the foreground colour to use for bold text, if the\cw{BoldAsColour} resource is set to 1 (the default).\dt \cw{\-bbg} \e{colour}\dd Specify the foreground colour to use for bold reverse-video text, ifthe \cw{BoldAsColour} resource is set to 1 (the default). (Thiscolour is best thought of as the bold version of the backgroundcolour; so it only appears when text is displayed \e{in} thebackground colour.)\dt \cw{\-cfg} \e{colour}\dd Specify the foreground colour to use for text covered by the cursor.\dt \cw{\-cbg} \e{colour}\dd Specify the background colour to use for text covered by the cursor.In other words, this is the main colour of the cursor.\dt \cw{\-title} \e{title}\dd Specify the initial title of the terminal window. (This can bechanged under control of the server.)\dt \cw{\-ut\-} or \cw{+ut}\dd Tells \cw{pterm} not to record your login in the \cw{utmp},\cw{wtmp} and \cw{lastlog} system log files; so you will not showup on \cw{finger} or \cw{who} listings, for example.\dt \cw{\-ut}\dd Tells \cw{pterm} to record your login in \cw{utmp}, \cw{wtmp} and\cw{lastlog}: this is the opposite of \cw{\-ut\-}. This is thedefault option: you will probably only need to specify it explicitlyif you have changed the default using the \cw{StampUtmp} resource.\dt \cw{\-ls\-} or \cw{+ls}\dd Tells \cw{pterm} not to execute your shell as a login shell.\dt \cw{\-ls}\dd Tells \cw{pterm} to execute your shell as a login shell: this isthe opposite of \cw{\-ls\-}. This is the default option: you willprobably only need to specify it explicitly if you have changed thedefault using the \cw{LoginShell} resource.\dt \cw{\-sb\-} or \cw{+sb}\dd Tells \cw{pterm} not to display a scroll bar.\dt \cw{\-sb}\dd Tells \cw{pterm} to display a scroll bar: this is the opposite of\cw{\-sb\-}. This is the default option: you will probably only needto specify it explicitly if you have changed the default using the\cw{ScrollBar} resource.\dt \cw{\-log} \e{filename}\dd This option makes \cw{pterm} log all the terminal output to a fileas well as displaying it in the terminal.\dt \cw{\-cs} \e{charset}\dd This option specifies the character set in which \cw{pterm} shouldassume the session is operating. This character set will be used tointerpret all the data received from the session, and all input youtype or paste into \cw{pterm} will be converted into this characterset before being sent to the session.\lcont{ Any character set name which is valid in a MIME header (andsupported by \cw{pterm}) should be valid here (examples are\q{\cw{ISO-8859-1}}, \q{\cw{windows-1252}} or \q{\cw{UTF-8}}). Also,any character encoding which is valid in an X logical fontdescription should be valid (\q{\cw{ibm-cp437}}, for example).\cw{pterm}'s default behaviour is to use the same character encodingas its primary font. If you supply a Unicode (\cw{iso10646-1}) font,it will default to the UTF-8 character set.Character set names are case-insensitive.}\dt \cw{\-nethack}\dd Tells \cw{pterm} to enable NetHack keypad mode, in which thenumeric keypad generates the NetHack \c{hjklyubn} direction keys.This enables you to play NetHack with the numeric keypad withouthaving to use the NetHack \c{number_pad} option (which requires youto press \q{\cw{n}} before any repeat count). So you can move withthe numeric keypad, and enter repeat counts with the normal numberkeys.\dt \cw{\-xrm} \e{resource-string}\dd This option specifies an X resource string. Useful for settingresources which do not have their own command-line options. Forexample:\lcont{\c pterm -xrm 'ScrollbarOnLeft: 1'}\dt \cw{\-help}, \cw{\-\-help}\dd Display a message summarizing the available options.\S{pterm-manpage-x-resources} X RESOURCES\cw{pterm} can be more completely configured by means of Xresources. All of these resources are of the form \cw{pterm.FOO} forsome \cw{FOO}; you can make \cw{pterm} look them up under anothername, such as \cw{xyz.FOO}, by specifying the command-line option\q{\cw{\-name xyz}}.\dt \cw{pterm.CloseOnExit}\dd This option should be set to 0, 1 or 2; the default is 2. Itcontrols what \cw{pterm} does when the process running inside itterminates. When set to 2 (the default), \cw{pterm} will close itswindow as soon as the process inside it terminates. When set to 0,\cw{pterm} will print the process's exit status, and the windowwill remain present until a key is pressed (allowing you to inspectthe scrollback, and copy and paste text out of it).\lcont{When this setting is set to 1, \cw{pterm} will closeimmediately if the process exits cleanly (with an exit status ofzero), but the window will stay around if the process exits with anon-zero code or on a signal. This enables you to see what wentwrong if the process suffers an error, but not to have to botherclosing the window in normal circumstances.}\dt \cw{pterm.WarnOnClose}\dd This option should be set to either 0 or 1; the default is 1.When set to 1, \cw{pterm} will ask for confirmation before closingits window when you press the close button.\dt \cw{pterm.TerminalType}\dd This controls the value set in the \cw{TERM} environmentvariable inside the new terminal. The default is \q{\cw{xterm}}.\dt \cw{pterm.BackspaceIsDelete}\dd This option should be set to either 0 or 1; the default is 1.When set to 0, the ordinary Backspace key generates the Backspacecharacter (\cw{^H}); when set to 1, it generates the Deletecharacter (\cw{^?}). Whichever one you set, the terminal deviceinside \cw{pterm} will be set up to expect it.\dt \cw{pterm.RXVTHomeEnd}\dd This option should be set to either 0 or 1; the default is 0. Whenit is set to 1, the Home and End keys generate the control sequencesthey would generate in the \cw{rxvt} terminal emulator, instead ofthe more usual ones generated by other emulators.\dt \cw{pterm.LinuxFunctionKeys}\dd This option can be set to any number between 0 and 5 inclusive;the default is 0. The modes vary the control sequences sent by thefunction keys; for more complete documentation, it is probablysimplest to try each option in \q{\cw{pterm \-e cat}}, and press thekeys to see what they generate.\dt \cw{pterm.NoApplicationKeys}\dd This option should be set to either 0 or 1; the default is 0. Whenset to 1, it stops the server from ever switching the numeric keypadinto application mode (where the keys send function-key-likesequences instead of numbers or arrow keys). You probably only needthis if some application is making a nuisance of itself.\dt \cw{pterm.NoApplicationCursors}\dd This option should be set to either 0 or 1; the default is 0. Whenset to 1, it stops the server from ever switching the cursor keysinto application mode (where the keys send slightly differentsequences). You probably only need this if some application ismaking a nuisance of itself.\dt \cw{pterm.NoMouseReporting}\dd This option should be set to either 0 or 1; the default is 0. Whenset to 1, it stops the server from ever enabling mouse reportingmode (where mouse clicks are sent to the application instead ofcontrolling cut and paste).\dt \cw{pterm.NoRemoteResize}\dd This option should be set to either 0 or 1; the default is 0. Whenset to 1, it stops the server from being able to remotely controlthe size of the \cw{pterm} window.\dt \cw{pterm.NoAltScreen}\dd This option should be set to either 0 or 1; the default is 0. Whenset to 1, it stops the server from using the \q{alternate screen}terminal feature, which lets full-screen applications leave thescreen exactly the way they found it.\dt \cw{pterm.NoRemoteWinTitle}\dd This option should be set to either 0 or 1; the default is 0. Whenset to 1, it stops the server from remotely controlling the title ofthe \cw{pterm} window.\dt \cw{pterm.NoRemoteQTitle}\dd This option should be set to either 0 or 1; the default is 1. Whenset to 1, it stops the server from remotely requesting the title ofthe \cw{pterm} window.\lcont{This feature is a \e{POTENTIAL SECURITY HAZARD}. If a maliciousapplication can write data to your terminal (for example, if youmerely \cw{cat} a file owned by someone else on the servermachine), it can change your window title (unless you have disabledthis using the \cw{NoRemoteWinTitle} resource) and then use thisservice to have the new window title sent back to the server as iftyped at the keyboard. This allows an attacker to fake keypressesand potentially cause your server-side applications to do things youdidn't want. Therefore this feature is disabled by default, and werecommend you do not turn it on unless you \e{really} know whatyou are doing.}\dt \cw{pterm.NoDBackspace}\dd This option should be set to either 0 or 1; the default is 0.When set to 1, it disables the normal action of the Delete (\cw{^?})

⌨️ 快捷键说明

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