urxvt(1) RXVT-UNICODE urxvt(1) rxvt-unicode (ouR XVT, unicode) - VT102 X (SYNOPSIS) urxvt [options] [-e command [ args ]] (DESCRIPTION) rxvt-unicode 9.31 vt102 xterm(1) Tektronix 4014 (toolkit-style) . rxvt- unicode (swap) -- X . . (FREQUENTLY ASKED QUESTIONS) urxvt(7) ( "man 7 urxvt" ). . RXVT-UNICODE RXVT (RXVT-UNICODE VS. RXVT) rxvt rxvt-unicode . . (cursive) . . . : rxvt-unicode (BiDi) ( -- -- ) . "mlterm" . rxvt-unicode "mlterm" latin1 . : . rxvt-unicode XFT ISO 14755 i18n rxvt . . rxvt : rxvt-unicode . / . urxvtd(1) () urxvtc(1) () . ( ) : ( ) urxvt(7) . (OPTIONS) urxvt ( xterm ) . << >> . `urxvt -h' Options . `Compile XIM:' XIM Options . : `urxvt -help' . urxvt (resource name) ( --/++) . : `urxvt --loginShell --color1 Orange'. : -help, --help . -display displayname X ( -d ). DISPLAY . -depth bitdepth frills: visual : depth. [ X ( libXft) "-depth 32" / . ] -visual visualID frills: visual ( visual "xdpyinfo" ) colormap . visual DirectColor . -geometry geom (-g ) : geometry. -rv|+rv / : reverseVideo. -j|+j / (jump scrolling - ) : jumpScroll. -ss|+ss / (skip scrolling - ) : skipScroll. -fps number frills: ( ) : refreshRate. -fade number (focus). 100 : fading. -fadecolor colour (-fade ). (opaque black) : fadeColor. -icon file pixbuf: () . (pagers) : iconFile. -bg colour : background. -fg colour : foreground. -cr colour : cursorColor. -pr colour : pointerColor. -pr2 colour : pointerColor2. -bd colour : borderColor. -fn fontlist . . ( ) . . font . X11 (X11 core font) "x:" . XFT "xft:" : urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" urxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono" "How does rxvt-unicode choose fonts?" FAQ urxvt(7) . -fb fontlist font-styles: (bold) (bold). boldFont . -fi fontlist font-styles: (italic) (italic). italicFont . -fbi fontlist font-styles: (bold italic) (bold italic). boldItalicFont ..IP "-is|+is" 4 font-styles: / (Bold/Blink) / (). intensityStyles . -name name . <<.>> <<*>> . . -ls|+ls login-shell/sub-shell loginShell. -mc milliseconds . -ut|+ut utmp: / utmp utmpInhibit. -vb|+vb / (visual bell) visualBell. -sb|+sb / scrollBar. -sr|+sr / scrollBar_right. -st|+st rxvt ( XTerm/NeXT) / (trough) scrollBar_floating. -si|+si / TTY scrollTtyOutput . -sk|+sk / scrollTtyKeypress. -sw|+sw / (scrollback) . -si scrollWithBuffer. -ptab|+ptab () << >> ("Horizontal Tab") . pastableTabs. -bc|+bc cursorBlink. -uc|+uc () cursorUnderline. -iconic (iconified) . -ic . -sl number number (scrollback). saveLines. -b number frills: number . internalBorder. -w number frills: number . -bw -borderwidth. externalBorder. -bl frills: MWM WM rxvt-unicode borderLess. MWM ( kwin) override- redirect . -override-redirect frills: override- redirect override- redirect. -dockapp WithdrawnState dockapp . -sbg frills: / . skipBuiltinGlyphs. -lsp number frills: ( ) . lineSpace. -letsp number frills: . . letterSpace. -tn termname TERM . termcap(5) li# co# termName. -e command [arguments] urxvt -title (-T) -n (basename) . . -e SHELL sh(1) . . : urxvt -e sh -c "shell commands" -title text (-T ) (basename) -e ( ) title. -n text (basename) -e ( ) iconName. -C . -pt style XIM: (input method) OverTheSpot OffTheSpot Root preeditType. "xim-onthespot" ( ) (preedit) "OnTheSpot" . -im text XIM: (input method). inputMethod. -imlocale string IM. "LC_CTYPE" "de_DE.UTF-8" "ja_JP.EUC-JP" . imLocale. -imfont fontset X Input Method imFont . -tcw . ( ) . tripleclickwords. -dpb|+dpb frills: ( ) (bracketed paste mode) ( ). . . . ctrl--- disablePasteBrackets. -insecure <<>> ("insecure") . insecure ..IP "-mod modifier" 4 Meta : alt meta hyper super mod1 mod2 mod3 mod4 mod5 modifier. -ssc|+ssc / ( ) secondaryScreen. -ssr|+ssr / ( ) secondaryScroll. -rm mode frills: auto () always never . auto (scrollback) ( always ) ( never ) rewrapMode. -hold|+hold / . urxvt . hold. -cd path ( -e). path urxvt chdir. -xrm string X Toolkit string . . .Xdefaults "*.background: black". urxvt -xrm ( ) . -keysym.sym string (key symbol). keysym . -embed windowid urxvt (embed) . urxvt unmap/map (top-level) . urxvt . (subwindow) urxvt . urxvt . urxvt ( stdin/out/err) . "-embed" . Gtk2-perl ( doc/embed ): my $rxvt = new Gtk2::Socket; $rxvt->signal_connect_after (realize => sub { my $xid = $_[0]->window->get_xid; system "urxvt -embed $xid &"; }); -pty-fd file descriptor urxvt pty/tty (file descriptor) tty master . urxvt . urxvt utmp/wtmp pty/tty - . "-1" pty/tty perl . perl ( doc/pty-fd ): use IO::Pty; use Fcntl; my $pty = new IO::Pty; fcntl $pty, F_SETFD, 0; # clear close-on-exec system "urxvt -pty-fd " . (fileno $pty) . "&"; close $pty; # now communicate with rxvt my $slave = $pty->slave; while (<$slave>) { print $slave "got <$_>\n" } pty ( unix domain socket tcp socket) . tty urxvt : use Socket; use Fcntl; socketpair my $URXVT, my $slave, Socket::AF_UNIX, Socket::SOCK_STREAM, Socket::PF_UNSPEC; fcntl $slave, Fcntl::F_SETFD, 0; system "exec urxvt -pty-fd " . (fileno $slave) . " &"; close $slave; syswrite $URXVT, "Type a secret password: "; my $secret = do { local $/ = "\r"; <$URXVT> }; print "Not so secret anymore: $secret\n"; -pe string perl ( ) . perl-ext ..SH " (RESOURCES)" : `urxvt --help` ( ) . . X11 xrdb . X ~/.Xresources . urxvt / : 1. app-defaults $XAPPLRESDIR 2. $HOME/.Xdefaults 3. RESOURCE_MANAGER root-window screen 0 4. SCREEN_RESOURCES root-window 5. $XENVIRONMENT $HOME/.Xdefaults- 6. -xrm X urxvt : Rxvt URxvt. Rxvt urxvt rxvt URxvt urxvt urxvt . . . ( perl urxvtperl(3) ): depth: bitdepth xft: visual -depth. buffered: boolean xft: / (double-buffering) xft (: ). / . . geometry: geom (geometry) X [ 80x24] -geometry. background: colour [: White] -bg. foreground: colour [: Black] -fg. colorn: colour n 0-7 () 8-15 (bold = blink = ) . : 0=black 1=red 2=green 3=yellow 4=blue 5=magenta 6=cyan 7=white COLOURS AND GRAPHICS . 15 () (escape command) ( urxvt(7) ). 16-79 4x4x4 ( xterm 88 ). 80-87 . colorBD: colour colorIT: colour (bold) (italic) . ( styles) (reverse video) . colorUL: colour (underlined) . underlineColor: colour . . highlightColor: colour (highlighted) . (reverse video) . highlightTextColor: colour highlightColor . cursorColor: colour . -cr. cursorColor2: colour . cursorColor . . reverseVideo: boolean True: (reverse video) -rv. False: [] +rv. COLOURS AND GRAPHICS . jumpScroll: boolean True: (jump scrolling) . urxvt -j. False: (smooth scrolling) . urxvt +j. skipScroll: boolean True: () (skip scrolling) . urxvt ( ) . urxvt -ss. False: ( ) +ss. refreshRate: number frills: ( 60 ). . fps . 10 "-0.1" ( 50 0.02). urxvt . -fps. fading: number -fade. fadeColor: colour ( fading:). -fadecolor. iconFile: file (pixmap) -icon. scrollColor: colour [: #B2B2B2]. troughColor: colour (trough) [: #969696]. rxvt ( XTerm/NeXT) . borderColor: colour . font: fontlist . . ( ) . ( ) -fn. X11 (XLFD) "x:" Xft ( xft) "xft:" . (hints) ("[]") . "codeset=codeset-name" Xft . URxvt.font: 9x15bold,\ -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ xft:Code2000:antialias=false . "9x15bold" ( iso8859-1 ) ( ) . - . Xft (aliasing) JIS 0208 ( ) . . (catch-all) ..IP "boldFont: fontlist" 4 italicFont: fontlist boldItalicFont: fontlist bold italic bold italic . font bold italic . () << >> ("morphing") . . . intensityStyles: boolean (True -is ) bold/blink / . (False +is) . title: string -e ( ) -title. iconName: string -n. mapAlert: boolean True: (map) . False: (map) []. urgentOnBell: boolean True: (urgency hint) wm . False: []. urxvt . visualBell: boolean True: -vb. False: [] +vb. loginShell: boolean True: (login shell) `-' argv[0] -ls. False: [] +ls. multiClickTime: number . -mc. utmpInhibit: boolean True: utmp -ut. False: utmp [] +ut. print-pipe: string vt100 [ lpr(1)]. Print Ctrl-Print Shift-Print . . : URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) "Print" . scrollstyle: mode rxvt plain next xterm. plain . thickness: number . scrollBar: boolean True: [] -sb. False: +sb. scrollBar_right: boolean True: -sr. False: +sr. scrollBar_floating: boolean True: rxvt -st. False: rxvt +st. scrollBar_align: mode top () bottom () centre () [] / . scrollTtyOutput: boolean True: tty -si. False: tty +si. scrollWithBuffer: boolean True: tty ( ) scrollTtyOutput False -sw. False: tty +sw. scrollTtyKeypress: boolean True: . rxvt-unicode -sk. False: +sk. saveLines: number number [ ] -sl. internalBorder: number number . -b. externalBorder: number number . -w -bw -borderwidth. borderLess: boolean MWM WM rxvt-unicode -bl. skipBuiltinGlyphs: boolean frills: / . -sbg. termName: termname TERM -tn. lineSpace: number ( ) [ ] -lsp. meta8: boolean True: Meta (Alt) . False: Meta (Alt) (escape) []. mouseWheelScrollPage: boolean True: . False: []. pastableTabs: boolean True: . False: "-ptab". cursorBlink: boolean True: . False: [] -bc. cursorUnderline: boolean True: . False: [] -uc. pointerBlank: boolean True: . False: []. pointerColor: colour ..IP "pointerColor2: colour" 4 . pointerShape: string frills: [: xterm]. X11/cursorfont.h ( "XC_" ). pointerBlankDelay: number [: ]. ( 987654321) . backspacekey: string backspace . DEC Delete ( ) control Backspace ( ) - DEC . deletekey: string delete ( delete ) . Execute . cutchars: string ( ). perl ( urxvtperl(3) ) (regex) ( regex ). ISO-8859-1 . ISO-8859-1 . : BACKSLASH `"'&()*,;<=>?@[]^{|} preeditType: style OnTheSpot OverTheSpot OffTheSpot Root -pt. inputMethod: name (name) (inputMethod) -im. imLocale: name (locale) IM. "LC_CTYPE" "de_DE.UTF-8" "ja_JP.EUC-JP" -imlocale. imFont: fontset XIM "OverTheSpot" "OffTheSpot" . X ( XLFD ) urxvt . ** -imfont. tripleclickwords: boolean . -tcw. disablePasteBrackets: boolean (paste bracket) -dpb. insecure: boolean <<>> ("insecure"). Rxvt-unicode locale (echo ). (8-bit-clean) write(1) . . ( xterm ). -insecure . display-answer locale findfont . modifier: modifier Meta : alt meta hyper super mod1 mod2 mod3 mod4 mod5 -mod. answerbackString: string rxvt-unicode ENQ (control-E) . keysym . secondaryScreen: boolean / ( ). rewrapMode: mode (rewrap) auto () always never . secondaryScroll: boolean / ( ). (scrollback buffer) secondaryScreen / . hold: boolean / . urxvt . . chdir: path ( -e) . path urxvt . -cd. keysym.sym: action frills: action sym. keysym. . "Ctrl-Shift-BackSpace" . sym : (modifiers-)key modifiers (modifier) : ISOLevel3 I AppKeypad K Control C NumLock N Shift S Meta M or A Lock L Mod1 1 Mod2 2 Mod3 3 Mod4 4 Mod5 5 NumLock Meta ISOLevel3 NumLock Meta/Alt ISO Level3 Shift/AltGr . AppKeypad . . "a" "Meta-a" "Shift-a" . "builtin:" . key X . xev(1) . "XK_" X11/keysymdef.h ( "XK_" ). key (hex) (0x0000 - 0xFFFF). action ("\n": "\\": "\000": ) RESOURCES "man 7 X" . . (literal) tty ( "string:" ). - : string:STRING action "string:" ( ) "STRING" . Shift-Tab "echo rm -rf /" : URxvt.keysym.Shift-Tab: string:echo rm -rf /\n (keymap) . "keysym-list" action list/PREFIX/MIDDLE/SUFFIX keysym <> . : URxvt.keysym.M-C-0x61: list|\033<|abc|> : URxvt.keysym.Meta-Control-0x61: string:\033 URxvt.keysym.Meta-Control-0x62: string:\033 URxvt.keysym.Meta-Control-0x63: string:\033 command:STRING action "command:STRING" STRING urxvt ( "string:" - ). urxvt . << "zh_CN.GBK" Control-Meta-c>> : URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 Control-Meta-1 Control-Meta-2 "suxuseuro" "9x15bold" : URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007 ( urxvt(7) ): URxvt.keysym.M-C-3: command:\033[8;25;80t URxvt.keysym.M-C-4: command:\033[8;48;110t builtin: (builtin) urxvt . . (modifiers) . "Insert" "Shift-Insert" urxvt . "builtin:" <<>> : URxvt.keysym.Insert: URxvt.keysym.S-Insert: builtin: "Insert" . "Shift-Insert" . builtin-string: urxvt . - urxvt . : urxvt "Shift-Insert" (paste ). "ESC [ 2 $" ( ): URxvt.keysym.S-Insert: builtin-string: URxvt.keysym.C-S-Insert: builtin: "Control-Shift-Insert" . "C-M-c" ( ) "C-M-v" ( ) : URxvt.keysym.C-M-c: builtin-string: URxvt.keysym.C-M-v: builtin-string: EXTENSION:STRING STRING ( ) EXTENSION urxvtperl(3) . . selection matcher ( urxvt-selection(1) urxvt-matcher(1) ). Alt-Control-c PC urxvt rot13 <<>> : URxvt.keysym.M-C-c: selection:rot13 perl:STRING *DEPRECATED* perl . . perl-ext-common: string perl-ext: string () perl (: "default") -pe. "-" . "perl-ext-common" . "default,-selection" "selection" . "/" urxvt ( ). . "default,/background" "background" OSC . "selection" "option-popup" "selection-popup" "readline" "searchable-scrollback" "confirm-paste" keysym . perl-ext . . . perl . perl-ext-common perl-ext . perl-eval: string Perl . urxvtperl(3) . perl-lib: path (:) . perl urxvt $URXVT_PERL_LIB $HOME/.urxvt/ext /usr/lib/urxvt/perl/ . urxvtperl(3) ..IP "selection.pattern-idx: perl-regex" 4 urxvtperl(3) . selection-autotransform.idx: perl-transform urxvtperl(3) . searchable-scrollback: keysym *DEPRECATED* . keysym : URxvt.keysym.M-s: searchable-scrollback:start url-launcher: string URL . "selection-popup" "matcher" . transient-for: windowid frills: WM_TRANSIENT_FOR (window id) . override-redirect: boolean frills: override-redirect -override-redirect. iso14755: boolean / ISO 14755 ( ). iso14755_52: boolean / ISO 14755 5.2 ( ). (THE SCROLLBAR) urxvt (: saveLines) . urxvt . xterm- scrollbar xterm . Button1 (xterm- scrollbar) Shift-Next. Button3 (xterm-scrollbar) Shift-Prior. Button2. (MOUSE REPORTING) Shift Meta (Alt) . -- . Button1 Button3 ESC [ 6 ~ (Next) ESC [ 5 ~ (Prior) . ESC [ A (Up) ESC [ B (Down) . : (THE SELECTION: SELECTING AND PASTING TEXT) / xterm(1) . (Selecting): (drag) ( ) tripleclickwords . Meta ( Meta+Ctrl) (: frills) . . (Pasting): urxvt PRIMARY ( Meta CLIPBOARD) . Shift-Insert PRIMARY . rxvt-unicode Ctrl-Meta-c CLIPBOARD . CLIPBOARD CLIPBOARD ..SH " (CHANGING FONTS)" ( ) (keypad) rxvt-unicode . . (escape sequences) : printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" : URxvt.keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007 URxvt.keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007 rxvt-unicode . ISO 14755 (ISO 14755 SUPPORT) ISO 14755 . . rxvt-unicode "--enable-frills" rxvt- unicode "--enable-iso14755" . o 5.1: (Basic method) . "Control" "Shift" ( ) . "Control" "Shift" (commit) . "Control" "Shift" "Space" . . "671d 65e5". "Control" "Shift" "6-7-1-D-SPACE-6-5-E-5" (modifier) . o 5.2: (Keyboard symbols entry method) (keycap) (locale) . "Control" "Shift" . ( home ) . "Shift" "ISO Level 2 Switch" (Shift-Tab) . o 5.3: (Screen-selection entry method) ( ) . o 5.4: (Feedback method) . "Control" "Shift" . () ( ) "Control" "Shift" . - (line drawing) . rxvt-unicode A B ISO 14755 5.2 . (LOGIN STAMP) urxvt utmp(5) who(1) . urxvt setuid root setgid root ..SH " (COLOURS AND GRAPHICS)" urxvt / : ANSI ( /) ( ) RGB 4x4x4 ( 6x6x6) () . urxvt RGB (24-bit) fg/bg : " ESC [ 38 ; 2 ; R ; G ; Bm " / " ESC [ 48 ; 2; R ; G ; Bm ". : 7x7x5 ( ) 6x6x4 ( ) . RGB . . . ANSI . color0 (black) = Black color1 (red) = Red3 color2 (green) = Green3 color3 (yellow) = Yellow3 color4 (blue) = Blue3 color5 (magenta) = Magenta3 color6 (cyan) = Cyan3 color7 (white) = AntiqueWhite color8 (bright black) = Grey25 color9 (bright red) = Red color10 (bright green) = Green color11 (bright yellow) = Yellow color12 (bright blue) = Blue color13 (bright magenta) = Magenta color14 (bright cyan) = Cyan color15 (bright white) = White foreground = Black background = White foreground background cursorColor cursorColor2 colorBD colorUL 0-15 color0-color15 . ( ) . RGB 16..79 (16..231) : index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 index_256 = (r * 6 + g) * 6 + b + 16 # r, g, b = 0..5 80..87 (232..239) (/ / /) - RGB . () xterm . (resources) (" ") . terminfo RGB ( ...). -rv ("reverseVideo: True") / . xterm(1) . urxvt -fg Black -bg White -rv xterm(1) . (ALPHA CHANNEL SUPPORT) Xft Xft/Xrender/X rxvt-unicode : "[percent]" "percent" (0-100) 0 100 . "[50]red" "[95]#00ff00" . . rxvt-unicode "rgba:rrrr/gggg/bbbb/aaaa" ( /) "aaaa" () . 0000 ffff . "rgba:ff00/0000/0000/8000" "rgba:0000/ff00/0000/f332" . "-depth 32" (visual) X-server ARGB X ARGB rxvt-unicode . : urxvt -depth 32 -bg rgba:0000/0000/0000/4444 -fg "[80]pink" (compositing manager) ( ). pixmap (pseudo- transparency) ( ) RENDER ( ) RENDER EXTENSION . Xft X-server RENDER ..SH " (ENVIRONMENT)" urxvt / : TERM "rxvt-unicode" (resources) . COLORTERM urxvt "rxvt" "rxvt-xpm" "-mono" rxvt-unicode . COLORFGBG "fg;bg" "fg;xpm;bg" "fg" / ( "default" (escape sequence) ) "bg" ( "default") urxvt "xpm" "default" . "ncurses" "slang" ( ). WINDOWID () X Window urxvt ( ). TERMINFO terminfo urxvt "--with-terminfo=PATH" . DISPLAY urxvt "-display" . ":0" . SHELL "/bin/sh" . RXVT_SOCKET [sic] (unix domain socket) urxvtc(1) urxvtd(1) . : $HOME/.urxvt/urxvtd-. URXVT_PERL_LIB : perl. -perl-lib ~/.urxvt/ext . URXVT_PERL_VERBOSITY urxvtperl(3). HOME (daemon) ( ".Xdefaults") . XAPPLRESDIR X . XENVIRONMENT X urxvt . (FILES) /usr/lib/X11/rgb.txt . (SEE ALSO) urxvt(7), urxvtc(1), urxvtd(1), urxvt-extensions(1), urxvtperl(3), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) (CURRENT PROJECT COORDINATOR) Marc A. Lehmann . .SH " (AUTHORS)" John Bovey Xvt. Rob Nation Xvt Rxvt . Angelo Haritsis ( ). mj olesen . (changes.txt . .) Oezguer Kesim (changes.txt .a ..) Geoff Wing . (changes.txt .. - rxvt-unicode) Marc Alexander Lehmann rxvt-unicode perl . (Changes . ) Emanuele Giaquinta pty/utmp . 9.31 2023-01-02 urxvt(1)