General :: Cannot Disable Word Wrap For All Text Files

Nov 13, 2010

I'm not a newbie to Linux, but I'm a newbie to LQ. I've searched the internet for an answer to an issue I'm having with JOE, to no avail.For my editing purposes, I HATE word wrap. I've read the man page extensively and nothing I try works.

To disable word wrap, it says, simply edit the joerc file and place --wordrap in the first column. Done. It works for .pl, and it works for .c (seems to be built in for C). Bottom line, I cannot disable word wrap for all text files, or at least the ones I want to edit. Has anyone solved this?

View 2 Replies


ADVERTISEMENT

Software :: Another Way To Disable Word Wrap?

Nov 13, 2010

I have no need for word wrap for most of what I use JOE for. The man page and the HOWTO don't answer this question, so I'm wondering if it might be a bug. I'm running Joe 3.7.in the joerc file does not work correctly. It works (built-in?) for .c files, and I can make it work for .pl files. But files with no extension? Forget it.Without having to resort to the menu each time to turn it off, is there another way to disable word wrap?

View 3 Replies View Related

General :: How To Turn Off Word-wrap In Less

Apr 19, 2011

How can I make the less utility in Linux not wrap lines?

Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first couple columns. However, word wrap causes one line to become several lines even on wide-screen monitors.

View 2 Replies View Related

Ubuntu :: Abiword Word Wrap

May 13, 2010

Abiword is splitting words at the end of sentences. If I go to the end of the line and nudge the word, it will wrap but I get an extra space. I can usually delete the space. Sometime, the word will wrap correctly if I continue typing but this is not the typical case.

I know this is not a problem with OpenOffice but I don't want to install 70MB of program just to get a simple word processor.

View 1 Replies View Related

Ubuntu :: Word Wrap In Gnome Sticky Notes?

May 30, 2010

I started using gnome sticky notes along with the Compiz widget layer in Ubuntu 10.04. The problem I'm having is that word wrap on the sticky notes is hit-or-miss. Most of the time the notes will automatically stretch horizontally (even beyond the size of a workspace) rather than break at its current window size. The only other problem I've noticed is that if I right-click on the title of a note, the resulting menu doesn't display correctly (it's looks like a line).Should I reinstall the package it belongs to?

View 1 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

Software :: Change Or Disable Line Wrap In Evolution ?

Apr 21, 2010

Anyone know the secred magic incantation is get Evolution to either stop doing line wrap while composing email, or at least extend the line size?

View 7 Replies View Related

Fedora :: Wrap Icon Label Text In Overview?

Jul 4, 2011

how to wrap the text in the overview for the icons I tell you I love opensource. Straight from some of the guys who wrote gnome shell, and yes the reason it was left out by default is because it has some quirks. Yes it wraps text - however if you have long words - like this_file_has_no_spaces then it will overflow into the icon on either side of it. But most application names have spaces. The obvious place you will see this happening is in recent items where that displays system files etc. The other issue is that when you hover/highlight an icon it will only highlight the first line of text. That's pretty much it and with a few lines of code then you can increase the font size of applications and don't have to worry about names getting cut off

[Code]...

View 4 Replies View Related

General :: Command To Sort A Text File By The Second Word?

May 14, 2010

What is the command to sort a text file by the second word?

View 4 Replies View Related

Programming :: Read Two Files Word By Word At A Time Using Any Loop By Shell Script?

Mar 4, 2010

Well, I am facing one issue:How can i read two files word by word at a time using any loop as i need word by word comparision in shell script?Please let me know pseudo code.

View 14 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

General :: Change All Number 10 In A Text File To Word Form?

Mar 20, 2011

I need to change all number 10 in a text file to word form, or in short from 10->ten. the thing is number 10 including in dates such as 10/22/1997 or 03-10-2011 should not be changed. im having some trouble because the file contains numbers like "price range from 10-50k".

this is just a sample.

name: john smith
birthday: 10-11-1995
date hired: 05/10/2010
expected salary: 10-50k
typing speed: 10 wpm

[Code].....

Using sed command is it possible to change like this..

View 11 Replies View Related

General :: Write A Bash Script That Will Read The Word From The Text File?

Jun 10, 2011

I have a text file that contains a single word and I want to write a bash script that will read the word from the text file... The following is my incorrect attempt, as it assigns the name of the textfile to the variable as opposed to the word stored within the textfile:(assume I have a text file value.txt that has its contents a single word, say wordone)

Code:
#!/bin/sh
for f in value.txt
do
echo $f
done

so the output of the above script is value.txt, however I want it to be wordone.to summarise: how do I assign the value of the word contained within a textfile to a variable?

View 1 Replies View Related

General :: Word Search In Files Using Bash?

Oct 9, 2010

I'm trying to use Bash to search some directories for a word in one of documents. I've tried:

Code:

$ grep -R Brzeninski /media/disk-1/Dual_Data/

but It never returned a prompt, and i'm not sure what grep means or does.

View 1 Replies View Related

General :: Counting The Occurrence Of A Word In A Collection Of Files?

Jun 16, 2010

I am trying to find the word count of a specific word in a collection of documents, in Linux.

I have tried with grep and ack-grep in combination with wc but I can't seem to come up with a valid combination of pipes :)

View 1 Replies View Related

General :: Search Word In Group Of Files Using Command?

Oct 10, 2009

i am using openSUSE 10.3 & like to use power of terminal to do tasks.I want to search all files containing word 'echo' in given folder.What should be command.

View 14 Replies View Related

General :: Search Word And Delete Only The Word And The Line Using Sed Command?

Jun 28, 2011

Want to search for ~ and delete it as well as to append the entire line to the above line. For Ex:

1111xxxx date Sandy area is ~around this area.3222xxx date There seems to ~left side of map, the colours are accurate (showing green areas)Even if I ~zoom in, the green parks, xxx3258 date The dammed up
~away, the "other" body of water varies ~blackNatural gas leaching.

IT MUST LOOK LIKE:

1111xxxx date Sandy area is around this area. 3222xxx date There seems to left side of map, the colours are accurate (showing green areas)Even if I zoom in, the green parks, xxx3258 date The dammed up away, the "other" body of water varies blackNatural gas leaching.

View 4 Replies View Related

General :: Loop Append Text To Text Files?

Jan 15, 2010

may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.

View 1 Replies View Related

General :: Search Text In All Text Files Of All The Sub-directories?

Apr 21, 2010

Currently, when I'm searching text in files of my PHP project, I use this line :

Code:

grep -r 'myTextToFind' *

But now, I would like to search only in ".lang" files. How can I do that ?

View 7 Replies View Related

General :: Sed Append Word At End Of Line If Word Is Missing

Feb 19, 2010

I have to modify formsweb.cfg file in Oracle IAS.

Problem description

In formsweb.cfg file are two lines with labels archive_jini= and archive= at the beginning of line. After equal sign (=) is row of filenames of java archives delimited by coma(,). When I insert a new jar file in java directory, I have to append the very same name of jar file to both lines if that name is not yet present.

Example snippet from formsweb.cfg

View 2 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

Software :: Delete Top Lines Of A Text File Until A Word Is Met?

Jul 7, 2011

I need to chop of the top 30ish lines of several log files until a line starting with "Initialization completed."The trouble is that it's not always the same amount of lines that need to be deleted, and they don't always contain the same information, which is why I would need to delete everything priorhe line starting with "Initialization completed."Right now I have a little script I wrote based on looping each file through several "grep -v" commands with each known pattern of lines I want to ignore, but it is tedious and I have to inspect each file afterwards to make sure nothing is left from above "Initialization completed

View 3 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

Ubuntu :: Tools For Writing Documentation - Text Editor - Word Processor

May 23, 2011

I'm looking for a text editor, word processor, or another kind of program that makes it really easy to make it look like some of the text is inside of a terminal. So that it is very obvious what text is a command and what text is a description. Also a template that does this would work to.

View 5 Replies View Related

Ubuntu Installation :: 9.10 Cant Load After Firefox Updates / Comeing Up As A Misspelled Word In This Text Box?

Jan 12, 2010

Ubuntu Software upgrades indicated that there were some Firefox updates available. While updating, computer screen went blank and froze up. I manually shutdown and after restarting, Ubuntu no longer loads. It goes through some steps but then it goes to a login/password prompt. After putting in a login and password it takes me to, what I think is "Terminal".

I am a newbie, but I love to learn. I'm reading the Pocket Guide right now. I have many questions. What can I do at the "Terminal" prompt? An even better question is: When I have a problem after an install or update, can I do a "recovery" to before the install/update? If I continue to have problems, is there a way to recover the OS without losing saved data?

I'm hoping that I will learn a lot from the Pocket guide. I think that Ubuntu is going to be the OS of the future.

Why does "Ubuntu" still come up as a misspelled word in this text box?

View 4 Replies View Related

Ubuntu :: Open/Libre Office And Microsoft Word: Text Spacing And Display

Aug 6, 2011

I have Ubuntu 10.10 and Open Office 3.2.1. I guess that this problem may affect Libre Office too, but I will be happy to be proved wrong about that. I am editing a document that was originally produced in Microsoft Word (the standard .doc format). It is a form produced by a national organisation and it has to be sent back to them, and when submitted it has to be no longer than two A4 pages. It contains a series of headings and (expanding) text boxes for content.

In order to be sure about the length, I did most of the editing with Microsoft Word on my wife's laptop. On that machine, and on a PC that has a different version of Word, the document fits exactly within the two-page limit. But on my laptop, using Open Office, it appears considerably longer, taking up two-and-a-half pages. Why is this, and can anything be done to correct it? Open Office appears to be using the same fonts as Microsoft Word - the font names are the same, anyway - and the font sizes are the same, yet the text appears to take up more of the page display.

View 4 Replies View Related

General :: Line Wrap In Less Not Working

Jan 21, 2010

I am having a problem with long lines when displayed in less. It is difficult to describe but I will try...

I have a text file with some lines longer that 80 characters. If I use less to view this file in an Putty terminal set to an 80 character width, some of the lines wrap. So far so good. If I now use the 'j' or 'arrow down' key to scroll down one line at a time all is ok until I encounter another long line (longer than 80 characters in my example). What I see is only the wrapped portion of the line. The first 80 characters are missing. At this point I can type a ctrl-L to refresh the window and then the long line is wrapped properly. It is only when I am scrolling one line at a time that I see this behavior.

I am not certain that this is a "less problem". However, I only notice it using less. vi works properly. more works properly. I suppose it could also be a Putty, bash or environment problem but I'm not sure.

I've played around with options to less such as -X -r -R without any luck. The systems I am connecting to area all running CentOS if that makes any difference.

View 5 Replies View Related

Programming :: Convert RTF Files To MS Word Files Using Java?

Sep 19, 2010

In my application I came across a new requirement where I have to convert RTF files to Word and PDF formatted files. I am searching for an API using which my java application can able to convert the above specified formats.

View 4 Replies View Related

General :: Convert Open Office (odt) Files To Text Files?

May 25, 2011

How do you convert Open Office (ODT) documents to Text files?
I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.

I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?

View 1 Replies View Related

General :: Wrap App With Dynamic Libraries Into One Large Static App?

Feb 24, 2011

I have an old program that kind of depends on older dynamic libraries. They tend to get upgraded easily with distro's updates. I figured that there would be a script with using ldd that would gather the libs needed and create one bigger, statically linked application that wouldn't break so easily. If I could do this, a lot of older KDE libraries could be removed from my system and easen my life.

My distribution of choice is gentoo, but I'm looking for a general solution that doesn't depend on rebuilding anything. If it runs with libs on their path, I'm sure it can be made run with libs somewhere else!

View 1 Replies View Related







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