EzDevInfo.com

copy-paste interview questions

Top copy-paste frequently asked interview questions

Ubuntu Server VM: copy paste?

I've installed Ubuntu Server under Virtualbox just to get a nice little shell. I've also installed the VirtualBox "Guest Additions" and set "Shared Clipboard: Bidirectional".

I still can't seem to get any copy-paste working. Am I missing something here?


I've installed gpm which gives mouse support in server mode (no X), and allows copy-paste using the mouse, but still the VirtualBox integration doesn't work.


Source: (StackOverflow)

Can I paste plain text by default?

I regularly copy and paste text between spreadsheets, emails, browser windows, etc. I can't think of a single time when I've wanted to keep the formatting from the source text.

I already know about the following workarounds:

  • Use Edit > Paste Special > Unformatted text
  • Paste to Notepad and copy from there
  • Install a program that takes over the clipboard

What I want is to tell Windows to just do this by default.

Is this possible?


Source: (StackOverflow)

Advertisements

Vim copy-paste across terminals

The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?


Source: (StackOverflow)

Copying a multiline text into a single cell in Excel

I want to copy the following:

line1


line 2


line 3

into a single cell in Excel.

I know that I can use the combination Alt+Enter on Windows and Ctrl+Alt+Enter on Mac to create a line break in the cell, but here I want to copy paste in a single cell, not typing its content.

Here is what I get:

enter image description here

I want it in a single cell with line breaks:

enter image description here


Source: (StackOverflow)

Can't copy text from a pdf file

I am using foxit PDF reader to view my text book. I would like to copy the text from the pdf file into a word document but it won't let me. I can select the text fine but the option to copy text is not available. I can copy text from other documents but not some. Is there a way to get around this protection in windows?


Source: (StackOverflow)

How to copy Skype text without timestamp?

Skype is so annoying to me when I try to copy text from my chat; i.e. it alsway include the timestamp when pasted.

How to copy only the plain text?


Source: (StackOverflow)

Copy-on-select, paste-on-middle-click on Mac OS X?

Is there a way to give OS X the usual X-windows behavior where selecting text in any application automatically copies it to the clipboard, and the middle mouse button automatically pastes it?

command+C, command+V is a little annoying.


Source: (StackOverflow)

How can I load a file's contents into the clipboard?

I have a files where I need to copy their contents to another file or into an application and rather than open it up, select all the text then copy and paste I'd like to know if I can effectively cat the file contents into the clipboard. Is this possible?

A Windows program would be fine but something that works on Linux would be useful too. I don't use a Mac but it might be useful to others. Bonus points if this can be done on the command line.


Source: (StackOverflow)

Copy and paste in Windows PowerShell

How do I effectively copy and paste input and output in the Windows PowerShell?


Source: (StackOverflow)

PuTTY how to select text and copy text using keyboard ONLY

Is there any way of selecting a text with keyboard the way I do it normally using Shift+arrows.


Source: (StackOverflow)

How do I select all text from a file with nano?

I open a file in Ubuntu nano editor from the comand line and I want to copy all the contents of the file so I can paste it in an another application outside the shell.

So far I can only copy using shift on the screen that is visible but not on all content.


Source: (StackOverflow)

How can I copy on select in the OS X Terminal like PuTTY does?

That PuTTY option to select and then right-click to paste is the best invention after the mouse. Is there any way to make Terminal in OS X do this? Hack the source code? Install something?

Is the source code for the OS X Terminal publicly available?


Source: (StackOverflow)

Stop excel from converting copy-pasted number/text values to date

I'm copy-pasting some data from html table into excel. But excel automatically converts some text or number values to date! When I change the format, the number is perversed, the number is something like 4112523 (excel probably interprets the cell as date and then converts to number or something like that...)

There is a trick for importing CSV files, but is there any solution when you are pasting your data directly from a web browser?


Source: (StackOverflow)

Copying PNG with transparency from browser shows a black background instead

When I copy a PNG image with transparency to the clipboard and subsequently paste it into Photoshop, Paint, etc. - the transparency turns to black.

Is there any workaround for this? Is this a browser issue, an application issue or an OS issue with the clipboard?

I'm using Windows 7 and tested with the latest versions of Chrome and Internet Explorer.


Source: (StackOverflow)