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.
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?
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.
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?
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?
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.
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.
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.
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 have Ubuntu 9.04, and a HP laserjet 1018 printer.
I install the printer using:
And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)
well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.
I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?
In linux is there a way to find the next word of a particular word of a file. grep displays entire line of the particular word. But i want only the exact next word of that particular word.is there any command for that.
I am pretty new to bash scripting...I am trying to write a script that will take an input and read it word for word and then DO something with it like echo. I have been able to find how to read word for word from a file but I don't know how to do it with input.
I was looking for something like
exit 0 The input would be A-Z a-z 0-9 and have a single space between each word.
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.
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.
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.
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
I 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 need a bash script that can read a file, say example.txt search for the string "This is my example string" and save whatever word/number comes immediately after it to a variable, var.
Example: blah blah blah This is my example string extracthere is a very nice word. blah blah
There are two constraints:1. This needs to assume as little as possible about the nature of the known string "This is my example string" and the word that follows it. I am trying to keep my code adaptable.2. Speed is valuable. This shell will be executed dozens if not hundreds of times so speed is very desirable. I thought I read that some commands are faster than others.