General :: Formatting Gets Changed When Trying To Copy Text From Gedit To Vim?

Mar 7, 2011

I want to copy/paste some text to vim from gedit. The original text looks like this:

I start vim, press "i", then right click, paste, and get this:

How could i set vim to not to do this? How can I copy/paste my text so that I don't need to delete those unnecessary tabs?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Copy Text In WindowsUnix Formatting?

Sep 29, 2010

Does anybody know of a nautilus script that pastes the copied file(s) in either Unix or Windows text formatting? I figure this would be useful so I don't have to convert the files after copying them. Saves some time and makes it easier for a Linux beginner still using Windows.

View 2 Replies View Related

Programming :: Formatting Fields And Text Being Displayed From Text File?

Feb 9, 2011

I want to display the contents of a particular log file (simple text file, I mean in Linux). But there is a problem: The contents need to be organized in a fixed format. Have a look at this log file:

sampleLog.txt

Code:

User Name: XYZ
Reported Problems Description: Blah! Blah! Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah!

[code]....

So, while displaying the contents of above file on a web page, I want to format the field names found in the log file: User Name:, Reported Problems Description:, and Remarks:. These fields may contain a variable length of text and no specific line number is assumed for them to appear on.

The desired output should look like this:

User Name: XYZ
Reported Problems Description: Blah! Blah! Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah!

[code]....

Well, what I am trying to do may sound wierd to some of you. The filed "Reported Problems Description:" can possible contain text which embeds colon (.

View 15 Replies View Related

Fedora :: Gedit Changed It's Control - S To Find - Save Back

Oct 25, 2010

Somehow gedit went ahead and modified its hotkeys to have save be nothing, and control s be find. How to get save back?

View 4 Replies View Related

Ubuntu :: Copy O/p Of Terminal To Gedit?

Jun 24, 2011

I wish to copy o/p of lsusb command to gedit.But I am getting following error>

root@jay-laptop:/home/jay/proj# lsusb -v |
gedit No protocol specified
(gedit:4310): Gtk-WARNING **: cannot open display: :0.0
root@jay-laptop:/home/jay/proj# lsusb -v | gedit hi
No protocol specified

View 9 Replies View Related

Ubuntu :: Application For Formatting Plain Text?

Jan 14, 2010

Does anyone know of a application that will use plain text, but allows the customizatino of width and lenth of the number of characters?

Looking to set my footprint to be 78 characters wide (by) 59 characters high.

View 2 Replies View Related

Programming :: Add HTML Formatting To Text File?

Jun 30, 2010

I need to extract som text from a text file. The text is a test log with system info at the top and results further down. What I need is to add different tags with formatting before and after each line. I have prepared a template with html formatting, but the number of lines in the test log may be different from case to case, so I need to be able to add formatting tags by need. Can this be done using bash script, sed, awk, head, tail... ?

View 4 Replies View Related

Programming :: Comparing And Formatting The Text File

Oct 11, 2010

I need a script which can format the below text file which contains comments

Code:

Code:

Output should be:

Code:

Code:

Script should compare the column name and paste the output in above said manner.

View 13 Replies View Related

Fedora :: Copy Text From An Application In The Host Machine And Paste The Text Into A Different App?

Feb 10, 2011

I'm running and XP virtual machine using KVM / QEMU. THere are time when I need to copy text from an application in the Fedora host machine and paste the text into a different app in the XP guest machine. I was able to do this using Vitualbox on an earlier version of Fedora.

View 1 Replies View Related

Software :: Convert A Scanned Text To PDF, Or Other Document, For Formatting?

Mar 19, 2011

I want to be able to preform functions on the PDF such as enlarge font and copy & paste. I'm using Gnome, but will download packages and dependencies for any desktop environment.

View 3 Replies View Related

OpenSUSE :: Copy - Paste - KMail - Not Only The Marked Text Will Be Pasted But A Kind Of HTML Code Including The Text

Jan 10, 2011

since some days I have a strange problem with KMail (1.13.5) in KDE4.5.5. When I try to copy some text from an email and past it to any other program (e.g. Openoffice), not only the marked text will be pasted, but a kind of HTML code including the text.

This bug is not OpenSuse specific. I found the same bug in a Fedora mailing list (of course, whithout an answer): Strange Copy/Paste behavior in KMail 1.13.5/Kontact 4.4.8

View 6 Replies View Related

Ubuntu :: Gedit Does Text-wrap To The Margin?

Aug 25, 2010

I hope I am pasting this in the correct place. I am a big fan of minimalist software- and Gedit is an excellent program. Now I am not a a programmer or anything, but I do like to write, and Gedit seems very well suited towards what I want. A simple word-bashing-out program.

But my problem is that it does text-wrap to the margin. Now I don't particularly want to do this manually, and the option in the preferences menu doesn't seem to work.

View 5 Replies View Related

General :: Copy And Paste Text Among Documents In Terminal

Mar 28, 2010

What is the best way to copy and paste some text among text documents in Linux terminal environment? Suppose I have 2 documents, A and B, and I want to copy some part of A to B. What is the way to achieve this?

View 5 Replies View Related

General :: Copy Text Files From System To Windows?

Jun 7, 2010

I am running some Pcap files through editcap and then tshark. I am running fedora 11. This will create a couple of thousand text files all numbered sequentially 1-x. How can I copy these files across a network(I connect using putty) or how can I copy them onto an external HD so that when I view them on the windows machine they have the right formatting (Windows know to open them with wordpad/notepad) basically that windows knows that they are text?

View 11 Replies View Related

General :: Copy/Paste From Nano To An Outside Text Editor?

Mar 27, 2011

I am trying to copy paste from a file in Nano to a text editor outside of nano on my machine (I am running windows using Nano through Putty) and I cannot figure out how to do it. I can select with mouse support enabled everything that I want to in Nano and I can cut it, but when I try to copy into my other text editor, it does not work.

View 4 Replies View Related

Fedora :: Can't Open Text File With Gedit As Root

Jun 6, 2011

I can do it with mousepad. Below is what I get when trying to open with gedit

[Code]...

View 3 Replies View Related

Ubuntu :: Add Word To Each Line In A Gedit Text File?

Dec 8, 2010

Using the latest version of Ubuntu desktop on an emachine t5062 if it matters. I have a text file of keywords that is one-three words line after line for like 5000 lines. How would I go about adding a word to each line.Aside from typing it in or copying and pasting.If it can`t be done with Gedit I am all for using another program.

View 8 Replies View Related

Ubuntu :: More Direct Text Editor Replacement For Gedit

Jul 23, 2011

I use a text editor mostly for opening up and editing ascii text files that are used by the programs I write. For example, manually editing comma separated value data files.

I've been using Gedit for this, and it's been very frustrating because I started noticing new-line characters (hex 0A) were creeping into my CSV ascii data. It turns out that Gedit has an undocumented "feature" where it silently introduces a new line character at the end of any file you edit, and there is no way to turn this feature off! See this bug report. I installed GVim, and a quick test shows that GVim does the same thing.

I would like a recommendation for a more straightforward text editor, which:

1) Doesn't add extra bytes to the file (or if it does, this behavior can be turned off).
2) Allows you to force ASCII when opening a file (sometimes Gedit will make an incorrect assumption about encoding because of a stray non-printable character)

More advanced features would be nice, like regular expressions for search and replace, but I need this basic functionality first.

View 3 Replies View Related

General :: Copy Code From Text File To Command Prompt?

Dec 2, 2010

First I hope to undrestand my English word because Iam Arabic girl and not so good in English...

my problem is:

I wrote code in .c file and I run that code on the prompt command, its ture but I want after the out put copy the code on the command by some statment in the code , how can I do that?

View 3 Replies View Related

General :: Copy Text From Xterm Based Terminal To Some Other Gui Application?

Jan 13, 2011

i use uxrvt ( for those who dont know, its terminal emulator based on xterm).i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to select and middle click to paste.but in my case i need to copy text from terminal to another application, viz on google chromium.

View 1 Replies View Related

General :: Copy Text From VMWare To Word Document In Windows?

Mar 28, 2010

How to copy text from vmware from linux text terminal in to word document in windows?

View 14 Replies View Related

Ubuntu :: Text File Snot Opening Automatically With Gedit?

Apr 16, 2011

I have text files (.txt) to open with gedit but every time I try to open a text file it says:

Code:
Do you want to run "Installed programs", or display its contents?

And if I press Display it will open. How do I make it open automatically?

View 3 Replies View Related

General :: Unable To Use Shift + Insert To Paste And Copy Using Text Selection?

Mar 9, 2010

know what can be done to enable the "select text to copy" and "shift+insert to paste" features in linux.

View 2 Replies View Related

Ubuntu Installation :: Strange Line Of Text Appeared On Open Gedit Page On First Use After Upgrade From 10.04 T0 10.10

Jun 11, 2011

Strange line of text appeared on open gedit page on first use after upgrade from 10.04 t0 10.10. I was reading something and copypasting the odd bit onto a gedit note: left the room, returned to find blank page except for "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn". Then I saw that it was just the tail-end of a longer line which had stretched the page width to max, and by deleting backwards I arrived beneath my intact notes. The line was "I[my bolding]nnnnnnnnnn...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnby v9898". I googled v9898. And there's a v9898. com. It provides something for Windows systems.

View 1 Replies View Related

General :: Make Ubuntu's Terminal Program Automatically Copy To Clipboard Selected Text / Paste

Jul 6, 2011

i'm used to using putty on a window's machine.With putty whatever you select is automatically on the clipboard without having to right click and select copy.And right click just pastes.

View 1 Replies View Related

Ubuntu :: 10.04 - 'Date Modified' Changed On File Copy To NTFS Partition?

Jul 6, 2011

Prior to making a fresh install of 10.04, I made a back up of all my documents by copying them to a NTFS partition. I did this my selecting files in File Browser, then right clicking and selecting the Copy command.

When I came to move the files back after the fresh install, I was mortified to find that all the file modification dates had changed to the date I copied them! I've lost all the original file dates, which was the principal way I sorted my files. I guess there's no way of getting it back? It seems that Linux does not store File Creation dates either so I'm stuffed.

View 3 Replies View Related

Programming :: Shell Script To Copy Newly Changed Files With Rsync?

Apr 20, 2010

I've got quite a decent rsync script setup, however I'd like to invoke it whenever there's change to a file. My initial idea was to use find, however this has two major flaws - the first being my particular unix veriant cant understand -print0 which means this doesn't work, the second is that I'm not 100% sure how to put variables into quotation marks so ls can understand the target:

Code:

for i in `find /shares/ -mtime -1 -print`; do ls -ltr $i;done

View 14 Replies View Related

Fedora :: Changed Resolution, Lost Taskbar, And Text Nearly Unreadable?

Apr 18, 2011

I am running Fedora 14 with the Gnome. The screen size defaulted to 1680 x 1240 mething like that.This was rather small for me so I went to the task bar and clicked on system.ound the app to change the resolution. I chose 1280 x 720. Now, I no longer have the task bar and the text is nearly unreadable.Without the task bar, I cannot find a way to go back to the original size. I also have not had any success finding any way to make the text look better. I tried changing the font and size but that did not have any beneficial affect. Can anyone tell me what will correct the situation?I found another post that mentioned Alt F2 and gnome-display-properties. That let me get back to nearly what I originally had; everything looks good at 1680 x 1050 but the fonts are not quite the same. However, I still have the need to reduce the resolution of the display and maintain readable text and the task bar.

View 1 Replies View Related

General :: Copy Some Text In One File And Paste It To Another File?

Sep 19, 2009

favor and let me know how can I copy some text in one file and paste it to another file ,when both of the files are being opened by vi text editor ?

View 7 Replies View Related

OpenSUSE :: Gedit With Sudo - (gedit:7137): Gtk-WARNING : Cannot Open Display

Feb 8, 2010

I set-up my Sudo it works but when I use Gedit I get the following message

Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers

If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved