The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
3answers
309 views

How can I disable selection highlight auto-copying?

I've finally found myself at home in Linux, but there is still one thing that has bothered me since the start, and I have not found a realistic solution: How do I disable the automatic copying of ...
2
votes
1answer
25 views

Copying emacs content through terminal app's clipboard copies unexpected tabs for some spaces

I'm using terminal.app on OS X, and when typing in emacs I often want to copy the text and paste it into some other program. When I do, I find that copied text has some spaces unexpectedly replaced by ...
0
votes
1answer
239 views

Copy/paste into SSH'd VIM from local (Windows) clipboard

I would like to copy from a local machine and paste into vim on a remote box which I am SSH'd into. That's it. I have tried "+p and "*p, mouse middle-clicking, and a couple other things to no ...
2
votes
4answers
94 views

How to copy multi-page text from the terminal into the clipboard?

I was viewing a man page for a software on my machine and I needed to copy-paste some of that text but the text was much more than one page. I'm aware I can direct the output to a file and use UI ...
3
votes
2answers
324 views

Easy way to paste command line output to paste bin services?

Are there any command line tools on Linux that allow you to post output from commands or text files directly to a sharing service such as pastebin.com?
3
votes
1answer
47 views

Trailing spaces when copying from gnome-terminal using zsh

When copying text from gnome-terminal with zsh trailing whitespace is also copied. For example copying the following clearly adds a vertical scollbar on stackexchange site as trailing whitespace the ...
5
votes
2answers
69 views

How to send command output to GNU Screen's copy mode buffer

Is there a way to send the output of a command to a GNU Screen's copy mode buffer. I'd like to type something like this: $ echo 'this is an example' | screen_send_to_copy_mode or, maybe C-a Some ...
3
votes
1answer
131 views

bash environment - pasting strings with “special” characters

I'm using an application and I need to paste a string into the app... e.g ãµÜÇæ¢üäÄøqò When I login with bash shell it's impossible to paste the string with the special characters. If I change the ...
2
votes
2answers
3k views

Copy-paste between Hyper-V guest and host

My computer runs Windows Server 2008 R2. It hosts a Hyper-V virtual machine running Ubuntu 12.04 as the guest OS. I want to copy text from Ubuntu and paste this text in Windows (and copy text in ...
3
votes
1answer
80 views

cp --attributes-only documented but not working “now”?

PROBLEM: cp --attributes-only Source Target results in two files unchanged, where the attributes from Source should be copied to Target. Attempts to solve: As I have the 8.13 version of coreutils ...
1
vote
1answer
356 views

How can I select all copy from vim and paste to other program e.g. mail client?

How can I do the following? Copy all text from vim and paste it to an external program e.g. mail Outlook? I tried +y and gg*yG but the paste does not work.
0
votes
2answers
165 views

Commands pasted into terminal are truncated

I have a list of commands I would like to paste into the terminal so that they run one after the other. Initially they run fine, but commands later on are being truncated. Example command: ogr2ogr ...
0
votes
2answers
59 views

How do I copy and paste seperately? [closed]

I know for the cp command you have to specify the source(s) and destination. But what if I have to copy say all folders under src folder, do some other operations, and then paste later on? In short, ...
8
votes
4answers
182 views

Terminal - copy from CLI without using mouse

While firing commands in CLI, I want to copy the command I just fired or anything I wrote in terminal and paste it somewhere else without using mouse. Like in following picture, I want to copy the ...
1
vote
2answers
2k views

How to select, copy and paste some columns from different files and create one file from them?

I want to create and organize data in a file from a number of files by selecting parts of the columns of the given files. I have more than 10 file to copy the second, third and forth columns of each ...
1
vote
2answers
67 views

how to select part of the row and pasting to form other file?

I want you help me how to organize my data by cutting in the following way. I have the input data as below. input.file: 1 2 1 0.6007 0.1 0.3 0.2 0.7 0.7 0 2 0.3073 0.1 0.1 0.2 0.4 0.7 ...
2
votes
1answer
252 views

How to select a line of text in the archaic terminal browser - Links

I poured over this http://links.twibright.com/user_en.html#subsubch-html_options But so far does not seem like there is an key to select a line in the browser running in text mode. I would like to ...
2
votes
1answer
240 views

cat >/path/to/file <<EOF drops some paste content, also patch <<EOF too. Why?

From time to time I like to use cat >/etc/configfile <<EOF thing, and paste content, then send EOF that will flush it into file. Its good with one or two lines, but when there's more of them, ...
0
votes
1answer
252 views

Opera, Firefox has no kiosk option like Chrome gives it openly?

While using Chrome kiosk mode, i have problem with openbox desktop, its not doing correct for some javascript rendering. So i wanted to test opera and firefox but both does not support kiosk at all ...
3
votes
1answer
491 views

vi[m] read range of lines from another file

On Linux, editing file_B in vim I want to add line 10-25 from file_A. Example: One has a whole set of HTML-Documents with quite the same header and yes, one could create a template and start from ...
3
votes
4answers
238 views

emacs copy and paste

How can I copy from emacs and paste into another instance of emacs or else where? If I do C-space, M-w, and then C-y, I can only paste in the open instance of Emacs. If I navigate to another Emacs ...
3
votes
0answers
391 views

A real non-“better touch tools” solution for select-to-copy on Mac OS X

I recently moved to Mac. I am missing my X11 copy-paste style. I can't find a way to exactly emulate X11 behavior "select-to-copy", "middle-click-to-paste" globally on Mac OS X. I am aware that this ...
2
votes
2answers
152 views

How to target multiple selections with xclip

When copying text to the clipboard, xclip provides several selection targets: -selection specify which X selection to use, options are: "primary" to use XA_PRIMARY (default), ...
2
votes
0answers
35 views

Gnome: Make system text copyable

Here I use "system text" to refer to the text displayed in the GTK widgets (labels, menus, dialogs etc.) I would like to be able to highlight and copy any system text. I am using a locale with a ...
7
votes
2answers
1k views

Copy text from one tmux pane to another (using vim)

I have two files opened in vim, each in one tmux pane. I would like to copy let's say 10 lines from one file to another. How can I accomplish this not using the mouse's Copy -> Paste ?
2
votes
0answers
46 views

How do I detect a copy event in Finder?

I am trying to strip formatting from text copied from my Illustrator docs. Someone accurately pointed out to me that running pbpaste | pbcopy via command-line will perform this action on text in the ...
3
votes
2answers
452 views

emacs - paste text from clipboard without formatting

I am using Emacs 24 for MacOSX and having some problem with pasting code from clipboard to Emacs. The code that I selected usually already nicely formatted (with tab, ident, ...). However, when I ...
3
votes
3answers
207 views

Emulate mouse cut'n'paste behavior in a test script

I've got a shell script which outputs shell commands which are supposed to be copy-pasted with the mouse from one terminal window to another (I can test it in the same window though). The output ...
2
votes
1answer
368 views

Pasting the content of xclip onto gedit [duplicate]

Possible Duplicate: Copy file to xclip and paste to Firefox I would use the following command to copy the output of uptime to the clipboard: uptime | xclip Then I can paste the copied ...
3
votes
2answers
500 views

Copy file from commandline, paste into Gnome window or vice-versa

There are plenty of examples how to copy the "contents" of a file from command line with the help of xclip or xsel. What I am looking for is to copy a file from the command line and paste into the ...
2
votes
3answers
822 views

Pasting binary data into a Unicode terminal

I need to be able to paste binary data into a terminal. For some reason, every byte outside the ASCII range (0x80-0xff) is pasted as the same three byte sequence 0xef 0xbf 0xbd. For example: $ echo ...
4
votes
2answers
349 views

Copy paste problem on KDE

I've been extremely annoyed with this issue for a while. I'm using TeXMaker on KDE to write my class notes in LaTeX and I sometimes need to copy paste text from it to some other applications while ...
5
votes
1answer
198 views

Does a remote system accessed with SSH have a system clipboard?

According to wikipedia in the bash shell control+u Clears the line content before the cursor and copies it into the clipboard If I'm ssh'ed into a box and try that, the text certainly disappears ...
2
votes
1answer
1k views

Vim visual mode to system clipboard?

Using the vim text editor, I am looking for a method to copy content highlighted in visual mode to the system clipboard (i.e. I would then be able to Ctr-v that content say in a browser window). Is ...
1
vote
3answers
13k views

How can I copy/paste data to and from the Windows clipboard to an OpenSuse clipboard using VNC?

I am connecting to a remote OpenSuse computer using VNC from Windows. On other Linuces that I've used over VNC, I can copy text between the remote machine and the local Windows machine using the ...
4
votes
2answers
2k views

What's the difference between pasting with middle mouse button, and Shift+Ins?

My middle mouse button pastes text I've highlighted. Shift+Ins also pastes text, but sometimes it differs in what it pastes to what is pasted by clicking the middle mouse button. What is the ...
13
votes
3answers
5k views

Copy and paste a file/directory from command line

Instead of using the following command: cp {source file} {dest file} I want to be able to copy a file into the clipboard, and paste it somewhere else, in another directory. something like this: ...
1
vote
1answer
76 views

How do I copy and paste text that's in a weird window (pictured here)?

The program is called ncview. I can drag and highlight the text inside, but not even Ctrl-C allows the text to be copied for pasting. Current distribution is a Debian distribution.
9
votes
1answer
1k views

Copy file to xclip and paste to Firefox

I'm coping file to xclip cat file.txt | xclip I'm pasting without problem with xclip -o When I want to paste it to Firefox with Ctrl+V it pastes old text (that shouldn't already be in the ...
10
votes
2answers
8k views

How to use keyboard instead of mouse middle-click for copy/paste? [duplicate]

Possible Duplicate: Pasting X selection (not clipboard contents) with keyboard Is there a shortcut for copy-paste under X? I'd like to use the keyboard for pasting.
1
vote
1answer
2k views

copy+paste between linux desktop and vmware player?

How can I copy+paste text between my linux desktop (GNOME Ubuntu 11.04) and the open vmplayer window running an ubuntu 64bit server terminal?
37
votes
10answers
19k views

Getting tmux to copy a buffer to the clipboard

I am trying to figure out a decent way to copy what I have in a tmux buffer into my clipboard. I have tried a couple of different things like bind-key p select-pane -t 2 \; split-window 'xsel -i ...
5
votes
4answers
3k views

How to copy text to xterm

How to paste text in a xterm? Now I can copy text from xterm to an outside application, like Firefox, by highlighting the text there. But I can not copy text from firefox to xterm. I am just normal ...
25
votes
2answers
5k views

Pasting X selection (not clipboard contents) with keyboard

I'd like to be able to paste the X selection using the keyboard. Currently I have to use the middle mouse button to do this. I gather that faking a middle mouse button press is fairly easy to do, ...
3
votes
3answers
4k views

Copy-pasting in gnome-terminal

Can I configure it to allow: select right-click to copy right-click or ctrl-v to paste?
2
votes
3answers
289 views

Is there a convenient general way to “grab” the echoed result of a command in Emacs (of M-: or M-!)?

Sometimes, I want to insert the result of an Emacs command (that has been echoed in the echo area) to another buffer or another running X program. So, I'd like to put it to the kill-ring. What would ...
3
votes
2answers
344 views

Is there a user interface in Emacs allowing one to “grab” the buffer's filename conveniently?

It happens quite often that I want to use the path of the file opened in a certain buffer in Emacs (either the full path or the basename) in another place (a buffer or a different X program, say, a ...
8
votes
5answers
982 views

Avoiding pasting with the mouse wheel

I'm tired of having to copy and paste text using the the wheel of my mouse; the amount of dexterity needed is legendary. Anybody know of any kind of frankenmouse which has four buttons (one that ...
1
vote
2answers
567 views

Select/Paste Word-Wrap on X-Based Terminals

Is there a sure-fire method to cut & paste word-wrap on X-based terminals? That is, if I select, then paste via button-3, if the text goes to the end of the line and wraps, the paste assumes ...
3
votes
2answers
1k views

vim - but with scrolling, clickable text, and copy-paste

I like vim. I think touching mice is dirty. But sometimes when my hand is already on a mouse, it sure would be nice to be able to scroll the text or click a location in the text and have the cursor ...