Software :: How To Wrap Words In Vi
Dec 7, 2010I just typed several long lines into vi but I only want it to have 80 columns. How can I set this in vi?
View 1 RepliesI just typed several long lines into vi but I only want it to have 80 columns. How can I set this in vi?
View 1 RepliesHow 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.
Is there any equivalent for Linux to the "Edgeless" software for Windows that lets the mouse pointer wrap around from one screen edge to the opposite edge? That is, if you move the pointer off the screen to the right, it comes back in on the left side.
View 2 Replies View RelatedAbiword 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.
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 RelatedI 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.
I am trying the wrap feature for the first time. I followed the instruction as mentioned in this link URl...but I am getting an error saying "undefine reference to __wrap_malloc.I followed all the steps, but the post was a decade old, I am sure something has changed? or am I missing something.
View 2 Replies View RelatedI 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.
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]...
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!
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 RelatedI am seeing the Vertical screen wrap problem (discussed in [URL]) on a 64-bit Athlon XP desktop with the Ubuntu version that I installed yesterday (10.04 LTS 32-bit).
Vertical screen wrap, with the mouse pointer offset by a few pixels to the north, taskbar partially visible .
The xserver video amd package version is, xserver-xorg-video-amd 2.11.8-4 and the geode package is, xserver-xorg-video-geode 2.11.8-4. Is it possible that the problem lies in the new geode package (and not the intel/amd driver) ?
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?
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 RelatedJust installed 10.04. When I'm using empathy, the spell checker says all sorts of correctly spelled words are incorrect, such as "eventually" and "examples".Does empathy use the system's dictionary or it's own? Is there a way to download a better dictionary?
View 1 Replies View RelatedI need to grep a dictionary file.Only the words that contain 2 or more z's and only 1 b needs to be listed.
View 1 Replies View RelatedFor example if i have the following "OneThree" and i want to add the word "Two" between "one" and "three". To have "OneTwoThree" How can i do this?
View 2 Replies View RelatedThis array is supposed to contain 12 elements (names of the month) What I want to achieve is that depending on some user input (a number 1-12) a full name of one of the months will be displayed, eg.
Code:
scanf("%d", &month);
printf("The month is %c", months_names[month]);
I am trying to write organize songs on my computer and ran out to the problem that some songs had names with underscores instead of spaces(which I had no problems removing, using awk). But i had some troubles with capitalizing first letters of the words. I think that it is not a big problem, but I don't know how to do it.
View 9 Replies View RelatedI am looking for a program that will allow me to type a command to quickly define a word. Something like this: Code: dic piquant
1. Having a pleasantly sharp taste or appetizing flavor.
2. Pleasantly stimulating or exciting to the mind
Is there a command that could be used to find word content in a file? I.e I want to find all files containing the word 169.254.0.0 in /etc directory.
View 4 Replies View RelatedI am using Oracle Enterprise Linux version 4 update 7.
Sometimes I have to access large files with thousands of lines in them and I would like to locate a particultar word. e.g.
vi /etc/passwd.
The contents of file passwd are displayed.I want to find a username of joe assuming the passwd file is 2000 lines long.
I would like to use a linux command that will locate joe and highlight in the passwd file as to where word joe is.
Is there a linux command that can do this?
I exported a spreadsheet file into cvs format.
The cvs file is formatted this way
field1,field2,field3,..etc
I want it to be in a Quote delimited format like so
"field1","field2","field3",..etc
How can I display the no. of lines, words and characters for each file in current directory and in sub directory.
wc . * shows errornous result as there are some executable files in that directory.
I am looking for this `struct messages_sdd_t` and I need to search through a lot of *.c files to find it.However, I can't seen to find a match as I want to exclude all the words 'struct' and 'messages_sdd_t'. As I want to search on this only 'struct messages_sdd_t' The reason for this is, as struct is used many times and I keep getting pages or search results.The directory I am searching in, has another directories so it will have to search recursively.I have been doing this without success:Code: find . -type f -name '*.c' | xargs grep 'struct messages_sdd_t'and thisCode: find . -type f -name '*.c' | xargs egrep -w 'struct|messages_sdd_t'
View 3 Replies View Related15 for(i = 0; i < N; i++) I want to replace "i" with "test" in the line above,whose line number is 15. When I tried this command :15s/i/test/ Line 15 turned to be this: for(test = 0; i < N; i++) It only replace the first "i",but I want to change all "i" in line 15.
View 3 Replies View RelatedI want to grep any line with "john" or "jack". How to do that? I tried
grep john | grep jack
but it didn't work
I want to search lines with these stings with one or more spaces..
e.g
Code:
a b
a b
a b
a b
How will I achieve this by egrep ?
User submits a ms word file, and the php can recognize the number of words? Is it only possible for ms win server?
View 1 Replies View RelatedI'm trying to update Kubuntu 11.04 here is my error: p, li {white-space: pre-wrap;} E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. here is what i have tried to fix it:
[Code]....