📄 mrxvt.1
字号:
Clear the scroll back buffer, and send "Ctrl+M" to the child process. When running a shell, this clears the scroll back buffer and executes the current command. (Primary screen only)..It Ctrl+Shift+F1Open.Nmman page in a new tab..It Ctrl+Shift+F12Enable / disable all keyboard macros (except this one of course)..El.Ed..Ss "Defining custom shortcuts" \"{{{2.Bd -filledNOTE: The .Sq hotkeymechanism used in versions 0.4.2 and earlier is now obsolete. It has been replaced by the.Sq macrofunctionality (described below) as of version 0.5.0..PpYou can define your own keyboard shortcuts in your configuration file by using the following syntax:.VbMrxvt.macro.[modifiers+]keyname: action.VeHere.Sq modifiersis a.Sq +separated list of modifiers.Sq Em Ctrl ,.Sq Em Alt ,.Sq Em Meta ,.Sq Em Shift ..Sq Em Primary .and.Sq Em Add .The first four refer to the respective modifier keys..Sq Em Primarytells.Nmto make the macro available ONLY when the primary screen is displayed (e.g..Sq Em Primarymacros will not be effective when you are running.Xr vim 1 ,but will be effective when you are at the shell prompt). Finally.Sq Em Addtells.Nmto add the macro action to any previous action associated to that particular key. For instance.VbMrxvt.macro.Primary+Shift+Return: Esc \eecMrxvt.macro.Primary+Add+Shift+Return: Str ^M.Vewill define the macro.Sq Shift+Returnto first send the escape sequence.Sq \eecto.Nm(which has the effect of clearing the scroll back buffer) and then send.Sq Ctrl-Mto the child process, but ONLY in the primary screen. If you're running a shell, then this effectively clears the scroll back buffer and executes the command..Pp.If the.Sq Em Addmodifier is not specified, then the macro action replaces any previous action (if any) associated to the specified key. It is an error to add a macro to a non-existing macro. Currently one key can have at most 16 actions associated to it (this might be reduced to 8 in future)..Pp..Sq keynameis the name of the key you want to bind to the specified macro. Non alpha numeric keys (e.g. punctuation, or cursor/keypad keys) are specified by using their keyname, which you can find by xev(1), or looking directly in the system header file.Pa /usr/include/X11/keysymdef.h ..Pp.In case you want to unbind a default keyboard macro, just bind the appropriate key to the function.Sq Ic Dummy .For example.VbMrxvt.macro.Ctrl+Shift+t: Dummy.Vewill disable the default keyboard shortcut.Sq Ctrl+Shift+t .If you want to disable all keyboard macros, use the option.Sq Fl dm(which can also be accessed via a pop-up menu). The default keyboard macros are defined in the system configuration file.Pa /etc/mrxvt/mrxvtrcso if you only want to disable all default shortcuts keys, don't read the system configuration file by using the .Fl nscoption..Pp.Notice that keyboard shortcuts definitions are incompatible with X Windows own resource parsing API, i.e., XGetDefaults. So, to enable the keyboard shortcuts, you will need to enable resources but disable xgetdefault when you configure.Nm Ns ..PpFinally.Sq actionis the action you want bound to the specified macro key. The available actions you can bind to macros are:.\" {{{3 Available macros list.Bl -tag -width 4n -offset 4n.It Ic DummyClear an existing keyboard shortcut.\" ------------------------------------------------------------.It Ic Esc Ar strSend the escape sequence.Ar strto.Nm .The following escape sequences are interpolated into the argument string:.Bl -tag -compact -offset 4n -width 8n.It \eaBell.It \ebBackspace.It \eE, \eeEscape.It \enNewline.It \erCarriage return.It \etTab.It \e Ns Ar dddChar with octal ASCII code.Ar ddd ..It ^@, ^A .. ^Z .. ^_, ^?Control-@, Control-A ....El.\" ------------------------------------------------------------.It Ic Str Ar strSend the string.Ar strto the child process. The string.Ar stris backslash escaped as above..\" ------------------------------------------------------------.It Ic NewTab Oo Ar -N Oc Oo Ar \*qtitle\*q Oc Op Oo ! Oc Ns Ar commandOpen a new tab..Ar Nspecifies the profile number. If omitted, profile 0 is used. If only.Sq -(with no number) is specified, then the profile of the current active tab is used (i.e. this can be used to duplicate the current tab)..Ar titleis specified (needs to be double quoted), use that for the tab title. If.Ar commandis specified, execute that command in the new tab (instead of the one specified by the resource file, or the shell). If command begins with an.So ! Scthen run a shell first, and execute the command in the shell..\" ------------------------------------------------------------.It Ic Close Op Ar NClose a tab. If no argument is specified, close all tabs and exit. If.Ar Nis 0, close the active tab. Otherwise close the.Ar N Ns th tab ..\" ------------------------------------------------------------.It Ic GotoTab Op Ar NGoto tab. If.Ar Nis ommited or 0, then goto the previous active tab. Otherwise goto the.Ar N Ns thtab. If.Ar Nbegins with a.Sq +or.Sq -then.Ar Nis relative to the current tab..\" ------------------------------------------------------------.It Ic MoveTab Ar NMove active tab to position.Ar N .If.Ar Nbegins with a.Sq +or.Sq -then.Ar Nis relative to the current tab..\" ------------------------------------------------------------.It Ic Scroll Ar amountScroll the active tab by.Ar amountlines (negative values mean scroll backward). If.Ar amountends with.Sq pthen scroll.Ar amountpages instead of lines..\" ------------------------------------------------------------.It Ic CopyCopy selection into clipboard (not implemented)..\" ------------------------------------------------------------.It Ic PastePasete selection into active tab..It Ic ToggleSubwin Op Oo Ar + Ns | Ns Ar - Oc Ns Op Ar b Ns | Ns Ar m Ns | Ns Ar s Ns | Ns Ar tToggle visibility of sub-windows. If the argument begins with a.Sq +the subwindow is shown. If it begins with a.Sq -the subwindow is hidden. Otherwise it is toggled. The letters.Sq Ar b ,.Sq Ar m ,.Sq Ar sand.Sq Ar trepresent the tabbar buttons, menubar, scrollbar and tabbar respectively. NOTE: Currently you can only toggle one subwindow at a time..\" ------------------------------------------------------------.It Ic ResizeFont Oo Ar + Ns | Ns Ar - Oc Ns Ar NResize the font. With Xft,.Ar Nrepresents the size increment of the xft font. Without Xft,.Ar Nrepresents the index of the X11 fonts specified by the.Cm font Ns Ar Nresources..\" ------------------------------------------------------------.It Ic ToggleVeryBoldToggle use of bold font for colored text..\" ------------------------------------------------------------.It Ic ToggleTransparencyToggle pseudo transparency..\" ------------------------------------------------------------.It Ic ToggleBroadcastToggle broadcasting of input to all tabs..\" ------------------------------------------------------------.It Ic ToggleHoldToggle holding of exited tabs..\" ------------------------------------------------------------.It Ic ToggleFullscreenToggle between full screen and regular mode. Also enable.Fl Fl smoothResizeto get true full screen. This will only work if you are running an EWMH compatible window manager (e.g. Fvwm / OpenBox / KDE / Gnome)..\" ------------------------------------------------------------.It Ic SetTitleSet title of active tab to selection. (The selection must be owned by.Nm ).\" ------------------------------------------------------------.It Ic PrintScreen Oo Fl ps Oc Op Ar commandDump screen to printer. If the.Fl poption is specified, then the output is pretty printed (i.e. escape sequences are used to get the same color in the output as on your screen). If the.Fl soption is specified, then the entire scroll back is printed (instead of just the current screen). Finally, if command is specified it is used as the printer pipe (if not the value of.Ic printPipeor the compiled in default is used)..\" ------------------------------------------------------------.It Ic SaveConfig Op Ar filenameSave config to file. If no filename is specified, save to.Pa ~/.mrxvtrc.save ..\" ------------------------------------------------------------.It Ic ToggleMacrosToggle the use of keyboard shortcuts. When macros are disabled (either by using this macro, or by the.Fl dmoption), then this is the only keyboard shortcut that will work. Thus you can re-enable your keyboard shortcuts via the keyboard using this function..\" ------------------------------------------------------------.El.Ed.Ss Mouse shortcuts \"{{{2.Bd -filled.Bl -tag -width 4n.It Changing tab titlesThis mouse shortcut can be used to dynamically change the tab title as follows: Select text in the terminal window. Then middle click on a tab to change the tab's title. If you middle click on the tabbar background, then the title of the active tab is changed..It Tab list menuBy default, if you right click on the tab bar, or control-left-click on the terminal window, a popup menu with a list of currently open tabs pops up. The actual menu popped up can be customized as described under the section.Sx MENUS ..It Popup menusIf you Control-click on the terminal window (with any mouse button), it pops up a menu. The actual menu popped up can be customized as described under the section.Sx MENUS ..It Moving tabsClick and drag a tab to some other location on the tab-bar to move it..El.Ed.\"}}}...Sh ESCAPE SEQUENCES \"{{{1...Bd -filledYou have several escape sequences to control.Nm .All default.Xr rxvt 1escape sequences are supported by.Nm .A few extra escape sequences have been added to improve DEC compatibility, and allow interaction with extra.Nmfeatures (e.g. tabs). The supported escape sequences are listed in the file.Pa mrxvt_seq.txtincluded in the distribution..PpFor omissions in the documentation, and a more complete reference to escape sequences you should look at the file.Pa ctlseqs.txtthat comes with the xterm package,.Xr console_codes 4and the original rxvt documentation in the file.Pa rxvtRef.txt ..PpFor basic interaction with.Nm(e.g. changing the tab title etc.) you should also look at the programs.Pa share/scripts/settitle.cand.Pa share/scripts/mrxvtset.plthat are supplied with the.Nmdistribution..Ed...Sh ENVIRONMENT \"{{{1...Bd -filled.Bl -tag -width 4n.It Ev COLORFGBGSet to the terminal foreground and background colors..It Ev COLORTERMSets to the terminal sub-name that indicates its color..It Ev DISPLAYUsed (and set) to the X display bieng used..It Ev PATH_ENVPath to look for menu / background files (see.Fl pathoption)..It Ev TERMSet to the terminal name in the window you have created..It Ev MRXVT_TABTITLESet to the initial tab title of each terminal. Notice that its value will not be altered if the user uses a shortcut or escape sequence to change the tab title. The user must modify it manually after doing that..It Ev WINDOWIDSet to the X window id number of the mrxvt window..El.Ed...Sh FILES \"{{{1...Bd -filledThe actual pathnames given may differ on your system..Bl -tag -width 4n.It Pa default.menuThe default menu file loaded at startup (searched for in your.Fl path ) ..It Pa ~/mrxvtDirectory in which to look for user menu and image files..It Pa ~/.mrxvtrcThis is the default configuration file (since 0.3.9). If present, resources read from this file override existing resources..It Pa ~/.Xdefaults(OBSOLETE) This was the default configuration file (before 0.3.9). If present, resources read from this file override existing resources..It Pa ~/.Xresources(OBSOLETE) If both.Pa .mrxvtrcand.Pa .Xdefaultsare not found, try this one..It Pa /etc/mrxvtSystem wide directory in which to look for user menu and image files..It Pa /etc/mrxvt/default.menuDefault menu file read on startup..It Pa /etc/mrxvt/mrxvtrcSystem wide configuration file. (By default this file only defines the default keyboard macros).It Pa /etc/utmpSystem file for login records..It Pa /usr/lib/X11/rgb.txt Color names..It Pa /usr/X11R6/lib/X11/app-defaults/XTerm(OBSOLETE) If enable xgetdefaults at compiled time, this is the first configuration file read. .El.Ed...Sh BUGS \"{{{1...Ss "Reporting bugs".Bd -filledPlease report bugs using the sourceforge bug tracker system at.Pp.Bd -centered.Ad http://sourceforge.net/projects/materm.Ed.PpAlternately you can send your bug report to the mrxvt developer mailing list at.Pp.Bd -centered.Mt materm-devel@lists.sourceforge.net.Ed.PpBe sure you give us enough details to reproduce the bug ourselves, and check to see if your bug still exists in the current CVS version..Ed.Ss "Known bugs".Bd -filled.Bl -dash -compact -width 2.ItTabs don't work properly when running under Xnest..ItTransparency and tinting are global, not specific to a terminal..ItOff-focus fading does not work under freetype font..ItThe transparentForce option does not work well with all window managers (e.g. OpenBox)..El.Ed...Sh SEE ALSO \"{{{1...Bd -filled.Xr rxvt 1 ,.Xr xterm 1 ,.Xr resize 1 ,.Pa mrxvt_seq.txt ,.Ar Xterm control sequences(this is the file.Pa ctlseqs.msor.Pa ctlseqs.txt ) ,.Xr console_codes 4.Pp.Bd -centered.Ad http://materm.sourceforge.net.Ed.Ed...Sh AUTHORS \"{{{1...An "Terminator" < Ns Mt jimmyzhou@users.sourceforge.net Ns >.An "Gautam Iyer" < Ns Mt gi1242@users.sourceforge.net Ns >..
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -