42 votes
Accepted

Pasting 'required text' into terminal emulator results in '^[[200~required text~'

These characters are used for bracketed paste mode. Some terminal-based programs enable this mode so that they could distinguish pasted text from directly typed text. For example, text editors ...
u1686_grawity's user avatar
17 votes

rxvt - how to clear scrollback

If you want to clear the scroll-back by pressing Ctrl-L, add this to your ~/.Xresources URxvt.keysym.Control-l: command:\033c This is like running: echo -ne '\033c' However it outputs the text to ...
ideasman42's user avatar
15 votes

Get Ctrl+Arrow to work under tmux+urxvt

Add this to your .Xdefaults URxvt.keysym.Control-Up: \033[1;5A URxvt.keysym.Control-Down: \033[1;5B URxvt.keysym.Control-Left: \033[1;5D URxvt.keysym.Control-Right: \033[1;5C URxvt will now ...
Dominik Heidler's user avatar
13 votes

Emacs key for Home & End

These worked for me: (global-set-key (kbd "<home>") 'beginning-of-line) (global-set-key (kbd "<end>") 'end-of-line)
Doguleez's user avatar
  • 131
11 votes

Pasting 'required text' into terminal emulator results in '^[[200~required text~'

There is an additional way that this problem can manifest. Readline's ~/.inputrc file can contain the following: set enable-bracketed-paste On This is not fixed by any of the above methods and has ...
DanG's user avatar
  • 111
8 votes

How to configure rxvt-unicode to behave similar to gnome-terminal? (or other's from xfce/mate)

Attempt to answer own question: Matches gnome-shell, with grey on black colors set. Details: RMB to launch URL (to allow regular LMB/MMB paste). Ctrl-Shift-C/V for copy-paste. Ctrl +/- to zoom fonts,...
ideasman42's user avatar
7 votes

urxvt settings - reload without restarting terminal?

I created a Perl extension that reloads urxvt configuration upon recieving SIGUSR1: https://github.com/regnarg/urxvt-config-reload Currently it supports only reloading color configuration but other ...
regnarg's user avatar
  • 201
6 votes

Fixed highlighting in tmux

I run urxvt in arch linux. The op's answer did not help me. This helped me: https://github.com/tmux/tmux/blob/2.1/FAQ#L355-L383 search for italic and run that; then, put this in tmux config set -g ...
dylnmc's user avatar
  • 241
6 votes

Display unicode in tmux?

Would you please try the following and see if it helps? rename .tmux.conf to something else set LANG="en_US.UTF-8" Clarification: I have seen the existence of ~/.tmux.conf may cause problem so just ...
hkdtam's user avatar
  • 399
5 votes

Some unicode symbols still not displayed with urxvt or xterm

Fernando Basso's answer already helped me a lot. However, as he also pointed out, I still could not get all the glyphs to work. Especially the symbol indicating the line in airline (㏑) didn't work ...
niklaas's user avatar
  • 71
5 votes

Some unicode symbols still not displayed with urxvt or xterm

What I do here to get the glyphs I need working on urxvt is to add more fonts in the font list: URxvt.font: xft:Ubuntu Mono:pixelsize=18:antialias=true:hinting=true,\ xft:Source Code Pro:...
Fernando Basso's user avatar
5 votes
Accepted

How to disable urxvt autoscroll on output?

I see that the question was posted a year ago, but it is at the top of my search results. I've found and using this config: URxvt*scrollTtyOutput: false URxvt*scrollWithBuffer: true URxvt*...
Bsalex's user avatar
  • 166
5 votes
Accepted

How to disable the bell in urxvt?

I was able to disable the bell on GNOME with the command: $ gsettings set org.gnome.desktop.wm.preferences audible-bell false In general, the PC speaker page from the ArchWiki appears to have a ...
Deathkamp Drone's user avatar
4 votes

Pasting 'required text' into terminal emulator results in '^[[200~required text~'

This seems to work for me (though it doesn't make sense) In my ubuntu Mate Terminal I go Edit > Keyboard Shortcuts goto Paste - the keys are already mapped to Shift+Ctrl+V I select and re-enter by ...
johndpope's user avatar
  • 191
4 votes

urxvt triple-click not selecting lines as expected

Fixed by disabling the selection Perl extension. I was under the misapprehension that -pe "" would disable all extensions (I think I read this somewhere), but it doesn't. In fact I'm not sure ...
Lqueryvg's user avatar
  • 578
3 votes

Mouse wheel scrolling in less and vim using urxvt

I wrote this for a very similar question, see https://superuser.com/a/1356948/900060 Paste this in $HOME/.urxvt/ext/vtwheel (create the file if it doesn't exist): #! perl # Implements a scrollwheel ...
Clara's user avatar
  • 41
2 votes

How can I prevent or interrupt accidental copy/paste in the terminal?

Using urxvt makes this very easy. Simply enable confirm-paste in your .Xresources. URxvt.perl-ext-common: confirm-paste, I think it comes with certain packages of urxvt or urxvt perls... But ...
Adrift's user avatar
  • 21
2 votes
Accepted

How can I make a searchable shortcuts cheat sheet?

This is hard to answer, because depending on your workflow, what works for you and what works for others may be vastly different. But I'm going to go ahead and make a recommendation: If you do most ...
J.M. Janzen's user avatar
2 votes
Accepted

Close prompt for urxvt

A perl script did the trick. I ended up with this: #!/usr/bin/perl sub on_wm_delete_window { my ($self, $event) = @_; my $CP = `ps --ppid $self->{shell_pid} -o pid= | wc -l`; chomp $...
fredefox's user avatar
  • 113
2 votes
Accepted

Rendering of unicode symbols in urxvt (height / width) vs. gnome-terminal

The different heights are expected, just like the issue that too wide symbols are replaced with a square symbol.. I've asked about this on the rxvt-unicode mailing list a while ago (Q4 2004), and ...
blueyed's user avatar
  • 1,221
2 votes

How to prevent terminal from closing after command exits?

workon is a function (not a separate executable) for a reason: its job is to set something in the current shell. I don't use the tool and I don't know the details. It's irrelevant if it sets variables,...
Kamil Maciorowski's user avatar
1 vote

Pasting 'required text' into terminal emulator results in '^[[200~required text~'

To stop this on Ubuntu 22.04, I added this line to ~/.inputrc: "\C-v": "" For me, my clipboard manager (Diodon) would always send a Ctrl+V to the terminal, after which I would ...
Tahlor's user avatar
  • 155
1 vote

Urxvt with weird colors in Vim

tldr: Workaround - set term to 88 color mode. I've also had issues like this. I found that urxvt as provided in centos(7, and 8-stream) only supports 88 color mode. It even provides the symlink /usr/...
agentrnge's user avatar
1 vote

Missing parts of utf-8 charset in urxvt with VcXsrv

The problem comes from using characters which are in the Private Use plane of Unicode, which is not guaranteed to have anything particular in that. Windows XP systems could explicitly edit the fonts ...
Paul Stelian's user avatar
1 vote
Accepted

How do I map Ctrl + F8 in vim?

[After testing, I have transferred my comment to an answer.] Your set command is not using the same value as your scancode. Also, you need to be sure you're using an escape character instead of the ...
Heptite's user avatar
  • 19.8k
1 vote

How to execute command on urxvt startup

If you want to put that into your .bashrc file, it would be improved a little: you should ensure that the string is directed to the terminal also, the shell should be interactive (in case some script ...
Thomas Dickey's user avatar
1 vote

How do I "unbind" Ctrl+BackSpace in URxvt?

I simply managed to unbind it with URxvt.keysym.C-BackSpace: command:\000 Remember to do xrdb ~/.Xresources and restart urxvt.
lsund's user avatar
  • 133

Only top scored, non community-wiki answers of a minimum length are eligible