Is there terminal program that supports copy&paste with keyboard (read for specifics)
Hi everyone. I have a request for help on getting this one issue I have with terminal, mouse vs. keyboard and copy&paste, any solution will be highly appreciated and I will write about it on my linux related blog, so helping me is also spreading good information :)
My goal has been for some time now to eliminate all unnecessary mouse use wherever a way to do it more efficiently via keyboard can be found. So far I have moved to tiling window manager with full control via keyboard, learned the quite ok method implemented in Opera for mouseless browsing and found out even better method for FireFox via plugin named LoL (formerly HaH) & keyconfig.
After some thoughts I decided that currently the most annoying thing of those tasks that could be done better with keyboard if I knew how is copy&paste from and to terminal window with keyboard.
WHAT I NEED:
I think that most propably the solution can be found in some terminal emulator program that can be configured to allow copying an area of text to clipboard with keyboard - like you can do inside screen with exceptions that instead of having to run screen the functionality is in terminal and copying is not limited just to copy&paste within the terminal but it would copy the selection otherwise like when selecting area with mouse except that instead of mouse selection buffer it would copy to clipboard or if possible to selection buffer *and* clipboard (copy available via keyboard would not be any useful if I had to move my hand to mouse for pasting the text from selection buffer anyway).
My preferences and dislikes among terminal programs (these are just preferences, anything that works will do):
I dislike Gnome Terminal, Konsole or any other with default look that has anything unnecessary visible by default, I also dislike predefined keybindings in terminal - except if there is an easy way to rebind and/or disable any of them - terminals that I would prefer if any of them can achieve what I want are xterm, rxvt/urxvt, aterm, eterm and any similiar to them and I could also stand using Terminator if it can do what I want and none of others can and if absolutely necessary I could use any terminal at all if I can hide away any possible menus & anything else than the text area itself and disable/rebind any and all possible keybindings except ones for copy&paste naturally.
I think it'll be difficult to do much with xterm. With konsole, and with openoffice.org, I did have some luck. For instance, I opened both openoffice.org, and konsole, and typed some stuff in openoffice. I then pressed F8, allowing for keyboard selection, and then pressed the arrow keys to select some of the text that I typed. I then copied this selection with Ctrl-C. Then, pressing Alt-Tab (or Alt-Shift-Tab), I selected konsole. I used konsole's paste keybinding (Shift-Insert) to paste the selected text from openoffice.org into konsole. So, using only a keyboard, I was able to select some specifically chosen text from a program (OOo), and paste it into a terminal (konsole).
The problem, though, is many programs don't have such key bindings associated with them. I don't think xterm has any capacity for pasting besides using the middle mouse button. And programs that can select text via a keyboard (other than select all, which is usally Ctrl-A) for copying are quite rare.
(later..) I found something else. Using xclip (you'd need to install this program), you can copy and paste to different xterms. For instance:
It can be done from xterm to other programs, too, with the following:
Note: the keybindings I described above were while using fluxbox. They're reasonably common keybindings (IE, Ctrl-V for paste), but these may be different for whatever tiling window manager you're using.
|All times are GMT -5. The time now is 07:17 PM.|