News for hackers. Stuff that matters.
Re:Benefits of using tmux – streamlining your development en... by nextos on Tuesday November 08, 2016 @04:07PM (#12903949)
Thanks, this is very interesting.

I agree one of the major pain points of X11 systems, terminals, etc is the clipboard. So many different concepts and shortcuts across programs.

I use xmonad, urxvt or xterm, emacs-nox and vimperator. I'm trying to make all them consistent. Perhaps the last thing to polish in my setup.

Re:Benefits of using tmux – streamlining your development en... by ramblenode on Tuesday November 08, 2016 @05:31PM (#12904544)
Not ideal, but the best solution I've found so far for moving text between the command line and other applications in urxvt is setting Bash to vi mode and then using visual mode for yanking/putting. I have Vim as my $EDITOR, which is opened when entering visual mode (I believe opening the editor is default Bash behavior). Vim is set to use the system clipboard ("set clipboard=unnamedplus" in the .vimrc) so from there I can bus text to/from other applications.

Dealing with stdout/err is another beast...

Re:Benefits of using tmux – streamlining your development en... by devereaux on Tuesday November 08, 2016 @04:16PM (#12904006)
/bin/stty start "" stop "" intr ^x

add to .inputrc:

"\C-q": quoted-insert

Then remap copy to ctrl-c, and paste to ctrl-v, and ctrl-x will work like your old ctrl-c, while ctrl-q will work like your old ctrl-v. remapping is easy with roxterm. I suppose xterm and urxvt can do the same.

If you like to remove part of words in bash, the following can be helpful too:

"\C-s": backward-kill-word

"\C-g": kill-word

"\C-w": unix-word-rubout

Kill word vs word-rubout is a matter of taste, and which separators are in your filenames.