How do I delete multiple lines in nano without affecting the clipboard?


I can select all file by going to the 1st line Alt+\, start marking the text by Alt+A, go to the last line by Alt+/

But there, I don't know which key to remove the selected text. Hit delete doesn't work for me but Ctrl+K to cut the text will destroy my clipboard.

So, what is the hotkey to delete selected text?

nano does not support deleting a block of text, only cutting it (to the server's clipboard).

Instead, if you are using Putty, do the following:

Select the text you wish to copy to the clipboard with the mouse first -- this copies it to your local clipboard (i.e. Windows 7 clipboard), which nano can't touch:

Then, select your block in nano and use Ctrl-K to delete it.

Finally, move your cursor to the position where you want to insert the text you copied in Step 1 (you can close nano, open another file, etc. too as long as you don't select another block of text with the mouse). Right-click to paste the copied text at...

0 0

Delete Keys - Clipboard Technology

For the last generation, Silicon Valley and Tokyo have been working to design computers that are ever easier to use. There is one thing, however, that has prevented the machines from becoming their user-friendliest: you still have to input data with a keyboard, and that can require you to do a lot of typing and to memorize a lot of elaborate commands.

Enter the clipboard computer, a technology that has been in development for the last 20 years but took hold in the mass market only this year. Clipboard PCs -which, as their name suggests, arc not much bigger than an actual clipboard - replace the keyboard with a liquid crystal display (LCD) screen and an electronic stylus. Users input data by printing individual letters directly on the screen.

There are two technologies at work in a clipboard PC: one allows raw data to get into the computer and the other allows the computer to figure out what that data means. The...

0 0

That’s not as easy as you might think with nano. Mainly because of the stage keystroke-philosophy of nano. Here is the way I cut out multiple lines, whole paragraphs or also huge text blocks with nano (Xubuntu 14.04, MacOS X 10.9.5).

Open file in nano:
-c shows line-numbers. Alternatively you can press CTRL+C when you already have opened the file. Mark starting line with ALT+Shift+A (CTRL+^ on Mac) Now you can use the arrow-keys (up / down / left / right) to mark the text you want to delete. If you need to mark very huge textblock, such as to the beginning of the file, you can use one of these keystrokes: ALT+Shift+/ (ctrl+V on Mac) => Jump to the end of file ALT+ALT-GR+\ (ctrl+Y on Mac) => Jump to the beginning of the file ALT+G => Go to line X (enter line number on prompt) (ctrl+shift+_ on Mac) After you marked the block you want to delete, you simply hit CTRL+K (same on Mac) to delete the lines. If you want to paste the textblock elsewhere, you can hit CTRL-U (same...
0 0
The GNU nano editor FAQ

Table of Contents

1.1. What is GNU nano?
1.2. What is the history behind nano?
1.3. Why the name change from TIP?
1.4. What is the current version of nano?
1.5. I want to read the manpage without having to download the program!

2.1. FTP and WWW sites that carry nano.
2.2. RedHat and derivatives (.rpm) packages.
2.3. Debian (.deb) packages.
2.4. By GIT (for the brave).

3.1. How do I install the RPM or DEB package?
3.2. Compiling from source: WHAT THE HECK DO I DO NOW?
3.3. Why does everything go into /usr/local?
3.5. nano should automatically run strip on the binary when installing it!
3.6. How can I make the executable smaller? This is too bloated!
3.7. Tell me more about this multibuffer stuff!
3.8. Tell me more about this verbatim input stuff!
3.9a. How do I make a .nanorc file that nano will read when I start it?
3.9b. How about in Win32?


0 0

In visual block mode, you can press I to insert text at the same position in multiple lines, and you can press A to append text to each line in a block. As well as inserting or appending text that you type, you can insert or append text from registers, for example, the clipboard. The substitute command can also be used to insert or append text.

In Vim, check that you have the blockwise-operators feature (I, A, and more) by entering the :version command. The output should include +visualextra. :help +visualextra

For example, suppose you have some Vim script:

let a = 2 let b = 3 let c = 4

You may want to make these variables script-wise (by inserting "s:" before each variable name, so "a" becomes "s:a" etc). To do this, move to the a in the first line, then press Ctrl-V (or Ctrl-Q if you use Ctrl-V for paste), then jj to select a visual block over three lines.

Now type I to start a special form of insert mode, then type the wanted text (s:). When you press...

0 0
0 0
On a fresh installed Windows the only filter driver is under GUID_DEVCLASS_DISKDRIVE the value UpperFilters with "PartMgr". No others are there under the GUIDs mentioned above.
Found filter drives can be explored under C:\Windows\System32\drivers to identify the software which has installed it.
A filter driver can be deactivated by renaming the UpperFilters or LowerFilters value if it is a single entry. If not then edit the value, the Registry Editor shows each entry per line, so a single filter driver can be easily removed. To be able to restore it copy them all to somewhere before, e.g. to new MULTI_SZ value. Then restart Windows.

Digital Camera

Digital Cameras use either the USB Mass Storage Protocoll or the Picture Transfer Protocol (PTP). With the latter one there is no drive letter. For getting a drive letter a 3rd party software is required, as PTPdrive: ($29 USD).

Other 3rd party software

Anti virus, anti...

0 0