General :: Grepping Lines More Than A Screen's Worth Width

Jan 25, 2011

What If I wanted to scan a string like the following...

[Code]...

Anyhow just one giant string that's longer than my screen's width. If I simply copy and paste that string after a grep command, it seems that the terminal inserts newlines at the terminal's width and therefore not the whole string goes in. Even if I insert a quote before the beginning of the string and then paste it in, terminal still reads in a newlines somehow and obviously says command not found, etc.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Thunderbird Unset 80 Chars Width Lines?

Jan 25, 2011

For some reason it seems like my Thunderbird 3.x has a limit of 80 chars per line enabled, so when I edit a message, it puts a line feed on or before that limit.

I think it could be set when I installed Enigmail for using GPG, that changes some default values, but I'm not sure.

Anyway I would like to avoid this issue, so I can write lines as long as I want, but I've not found a configuration option to do this within "Preferences" dialog.

View 1 Replies View Related

General :: Specify Top's Screen Width In Batch Mode?

Oct 14, 2010

I am logging the output of: top -b -n1 -c so I can keep track of which processes are using how much memory and CPU each minute. When top shows the full command line (-c), the command line text gets truncated at the edge of the screen. This is perfect when running and displaying in a terminal. However, I am sending STDOUT to a file for parsing later and want the full command name logged. Is there a way I can tell top to use a specific screen width? (I know it maxes at 512, that would be fine)

Is there a better way to achieve a similar goal: get periodic stats about which processes are running and how many resources they are consuming?

View 2 Replies View Related

Programming :: Adjust Table Width So That It Fits To Page Width

Mar 22, 2010

A couple of days I started using latex and have still one question about the table width. My table is too wide for a page. How can I adjust it so that it fits on the full width of a page? Can I use a command or do I have to specify each column widths by hand?

My table looks like this;

I did try several commands likeextwidth, esizebox, setlength but didn't found the solution yet.

View 2 Replies View Related

Programming :: Get Console Window Width - Why Ioctl Always Return 0 Width

Jul 1, 2010

I use ioctl to get the cosole window size (the SSH window).

I use the following code:

When I debug on linux pc, it gives me the correct window width. But after I try it on router (this is my enventual place where my code shall run), ioctl always give me 0 width, that is, numberOfColumnsOfTerminalWindow == 0. but the returnValue is 0 which means that the function call succeeds.

View 2 Replies View Related

OpenSUSE :: Web - Screen Loads And After Initial First Few Lines Breaks Up Into Multiple Repetitions Of Lines

Apr 22, 2011

I have been experiencing a problem where the screen loads and after initial first few lines breaks up into multiple repetitions of lines. Reloading helps but has to be repeated when pageing down. Mail is no problem; it is supplied by my network provider. OS is openSUSE 11.2 which I update when advised. Below is a sample from the error console:

[Code]...

View 1 Replies View Related

General :: Grepping Grep Output Fails

Feb 5, 2010

I'm trying to grep the output of ngrep. Unfortunately when I add another grep to the pipeline, I get no output at all. It can be some other command too - cat / grep / tee - everything breaks the chain. Example:

[Code]....

If I use cat somefile instead of ngrep at the start, everything works as expected.

View 2 Replies View Related

General :: Test Ftp Connection After Grepping Out Hostname

Jul 1, 2010

I am in the middle of trying to write my first script. I have created a command using sed and grep to grab a list of ftp hosts from a host file. Now I want to test the ftp connection of the hosts that have been returned after running the command.

grep host config.xml | sed 's/<//g;s/>//g;s/host//g;s/[/]//g' | sort | uniq -d | ftp ftp.hostname.com

I get the below error

Unknown AUTH type.
Unknown AUTH type.
KERBEROS_V4 rejected as an authentication type
Password:Name (ftp.hostname.com:username):

View 7 Replies View Related

Ubuntu :: 10.4 - Setting Default Terminal Window Size To Screen Width

Oct 3, 2010

In 10.4 I had set my default terminal size to my screen width - I type some long commands. After running an update this morning, my terminal comes up in the install default size. Using the preferences dialog, I cannot find the control to set the default width. Has it been removed? I hope I'm looking in the wrong place, but I have a chilling feeling that it's been dropped or perhaps just accidentally commented out.

View 2 Replies View Related

General :: Is OS Worth Using Without Internet

Jul 4, 2010

i'm new to linux i want to know so manythings, like "is linux worth using without internet connection? without it how can i upgrade my OS ?

View 11 Replies View Related

General :: Rsync Only Getting One Folder Out Of 350GB Worth Of Data?

Jun 21, 2010

I'm trying to do an rsync from one RHEL box to another, but when I run it in verbose mode to see why its not working, all it does is show the root folder, then one folder in, then it stops. There are about a dozen folders under that root folder where the rsync starts, with about 350GB data spread between them. How can I tell why this isn't working? the same command is setup to run as a cron job, which was working.

View 1 Replies View Related

General :: Delete All Lines Containing A String, Plus 4 Lines Below It?

Jan 26, 2010

I've come across an unusual requirement for a service in my Ubuntu system.Simply put, I need to find a way to search for all instances of a term in a file, delete lines containing containing that term, and delete four lines below each instance of that term. ither that, or copy the entirety of a file to a new file and skip over all lines containing the term plus four below it.This sounds kinda weird, I know. Without going too far into detail, I either have to change the logfile format for a server I'm running which is a huge pain in the butt, or I can just run a script to edit an HTML report generated from said logs. (Said report is really just for managers to peruse, and I like my log format, so I'm pursuing option 2.)

View 4 Replies View Related

General :: Changing A GTK Caret Width?

Jul 17, 2010

How can I change GTK caret width?

Debian GNU/Linux 5.0.4;
Gnome 2.22.3.

View 1 Replies View Related

General :: Changing Width Of Zmixer?

Oct 3, 2010

Is it possible to change the width of zmixer??

zmixer eventually uses gtk_vscale but I am not able to increase the width of it.

View 2 Replies View Related

General :: Change The Default Width For Shell?

Apr 28, 2011

anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?

View 2 Replies View Related

General :: Get The Tmux Window Full Width?

Jun 21, 2011

tmux shows screen like this:

[code]...

Window has non-maximum width, attempt to copy text from it leads to "" getting in text. How to fix it and get the tmux window full width?

View 2 Replies View Related

General :: Default-tab-width A Emacs Function?

Apr 22, 2010

Which is correct?

Code:

Or

Code:

I got these in two web sites.

From emacs window:

How would to get info about it in emacs documentation/manual?

View 1 Replies View Related

General :: Resizing And Cropping Images To 6x4 To Width Of 1024?

Apr 25, 2011

I have a mixed set of images, each one having a slightly different resolution with a slightly different aspect ratio from the other images.I have tried using commands like:convert -resizeand:convert -cropHowever I can't seem to figure out the correct command to make all images have a width of 1024 and an aspect ratio of 6x4, without causing the image to stretch or get squashed.

View 2 Replies View Related

General :: Firefox 3.6 And Up - Adjust The Width Of The Vertical Scrollbar

Aug 20, 2010

I'd like to widen the width of the standard vertical scrollbar in firefox 3.6 or above. I know now that it is not an edit in about:config and appears that you have to edit in user.js, prefs.js, or in the Profile folder but I 3 prefs.js in my profile folder -

prefs.js
prefs-1.js and
prefs-2.js

Secondly, I cannot find the user.js file. its location if it is still a viable file to edit. which (or what) prefs file I should concentrate on for this edit.

Plainly, it shouldn't be this tough to adjust the vertical scrollbar width, in a perfect world it would be adjustable though Windows. Anyway, this old fart's having difficulty grabbing that scrollbar.

View 3 Replies View Related

General :: How To Customize Width Of Window Tabs In Kde Task Bar?

Mar 27, 2010

My task bar is quite broad. so when ever i open more than 6 windows at a time then the task bar adjusts the tabs in two row. how can explicitly specify the width for those tabs. so that they all fit in one line.

View 1 Replies View Related

Ubuntu :: Boot Screen In Low Res With RGB Lines?

Sep 5, 2010

Everything was going great, updated my nvidia drivers, did initial updates etc... And everything was awesome from the boot screen to the shutdown screen.Recently (today) I installed a few updates that update manager thought were essential. However after doing so, when I restarted my computer and got to what should have been the boot screen, it simply sat for a few seconds with a few horizontal RGB lines and then booted to the login window... I have done nothing else to the pc besides those updates.Also when I shutdown I get the same few RGB lines, they are in the top area of my monitor @ a 135 degree angle.

View 1 Replies View Related

Ubuntu :: Lines On Screen With Unity On 11.04?

May 7, 2011

I have random lines near the top of the desktop, as seen in the image on the top right. The spotify app,under wine also shows the same lines that are quite annoying as they make it difficult to navigate.

View 6 Replies View Related

General :: How To Change X-Windows Default Border Width For All Window Frames In Ubuntu

Jun 14, 2010

Way back from Windows 3.x days to the latest 64bit Windows 7 (classic/standard theme)there is a way to make the window edge border wider then 1 pixel.I often use 3 to 5 pixel to make it easy to grab on hi-resolutions displays and hi DPI monitors.There doesn't seem to be an easy or obvious way to do this with the Gnome X-Windowing system?

View 3 Replies View Related

Ubuntu Multimedia :: Can't See Any Screen Resolutions Lines

Apr 5, 2010

Linux Ubuntu 9.10 (karmic), Nvidia g-force 5200, Intel(R) Pentium(R) 4 CPU 2.80GHz(old PC but i need learn Linux inside out b4 I go 100% Linux)But I have taken the time to the learn the basic cmds like man mv cp apt-get install etc. I cisco engineer but I want to get good with Linux distro's.I have a NVIDIA G-FORCE 5200 which according to NVIDIA'S website the 173.14.x.x driver is the correct one.I have tried diver 173.14xx. I installed it manually and restarted x server.

I have read the installation guides on this forum but to no avail.When I reboot Compiz cube features are working BUT my screen goes 640x350.I tried to edit the /etc/X11/ xorg. conf file but I cant see any screen resolutions lines. I tried changing NV to nvidia and visa versa. Still the screen is buggered.I installed compiz checker and ran it it said all ok. My text goes large the colours are jittery ? When I go to NVIDIA XSERVER SETTINGS i can not change the screen res ? It just stops from selecting the options? I also tried driver 185.18xx and the same results.I also tried installing the drivers with Envy NG and still no better.I now have installed 96.43.13 NVIDIA driver and my screen has went back to normal but I can not enable the cube effects. I take this means it has reverted back to the graphics card on the motherboard? I have also looked at xrandr -s <1014x768> cmd to manually change it and again no avail.

View 3 Replies View Related

Slackware :: Black Screen On Bootup After A Few Lines (13.37)

May 25, 2011

i just installed slackware 13.37 which worked fine but when i boot it up it runs a number of lines and then the screen just goes black... i can login as root blindly and start x (i THINK, judging from hdd led)... but screen stays black... its a laptop and closing/opening the lid doesnt work either...

i am dualbooting with slack 13.1 which runs fine... it switches screen res at some point during boot (font is smaller) and i would say that is the point where the screen goes black in 13.37...

View 14 Replies View Related

Ubuntu :: Can't Reduce The Number Of Lines On Screen?

Feb 26, 2011

I am not sure if this is really a Ubuntu question but lets try it!Received email shows a long header which includes lines of code. I can scroll through it but I can't reduce the number of lines on screen.This significantly reduces the number of lines available for the message. There must be a way to reduce or eliminate this header.

View 2 Replies View Related

Ubuntu :: Small White Lines Over The Screen, Like Every 3 Line?

Aug 19, 2010

I have noticed that there are some tiny white scanlines over the screen in linux, is this something known? specific graphics cards? just an issue with my setup?

Its hard to explain but its even horizontal scanlines, like small white lines over the screen, like every 3 line... was wondering if its my geforce 8800 or what it is?

View 5 Replies View Related

Ubuntu :: Horizontal Lines On Screen And Odd Sounds From Speakers

Sep 1, 2011

I on my computer when my monitor had lines on it and my speakers made odd sounds. The computer is 10 years old. It started this 3 months ago.

Compaq deskpro EN
Pentium !!! processor 996mhz
20 GB hard drive
Ubuntu 11.04
Relisys CRT monitor
Intel video and sound cards

It gets worse when I put my phone close to the screen (Motorola Razr V3v).

View 4 Replies View Related

Debian :: Getting Lines On Screen With Aptitude Gtk When Squeeze Updates

Apr 26, 2010

what would happen if aptitude needed to ask me a question, (like which config file to keep for a certian essential program, etc.). I don't think I've come across this problem yet, but I really wouldn't know. I do get the following lines on the screen with aptitude-gtk just about every day when I do squeeze updates and I wonder if it's not related to this same question. Does anyone know if aptitude-gtk is capable of asking you, the administrator, questions about a package that it's updating?

[code]...

View 2 Replies View Related

Ubuntu Multimedia :: Lines In Full Screen Video Playback?

May 2, 2011

I really don't know where I should ask this question. When I'm watching a video in full screen (ex, avi or h264 file) I am seeing random horizontal bars where there is action on the video like where a head is turning.When the motion is slow I am less likely to see these lines. Faster the motion, lots of lines or shaky motion. I was using my onboard Geforce 6150 GPU but thought it was because it was underpowered. I then bought a GT220 thinking that it was the problem. It is still but less frequent. Using the built in player, VLC... I don't know where to look, what to search for...There is my setup:

AMD Athlon II x2 255
4GB DDR3
nvidia GT220 512mb

[code]....

View 2 Replies View Related







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