Re: Color highlighting of arbitrary "tail -F'ed" text ?

2008-09-08 Thread Maxim Veksler
On Fri, Sep 5, 2008 at 2:24 AM, Amos Shapira <[EMAIL PROTECTED]> wrote:

> 2008/9/5 Tzafrir Cohen <[EMAIL PROTECTED]>:
> > You want to mark 'FINDME' but also find every line?
> >
> >  grep  --color '^\|FINDME'
> >
> > Or:
> >
> >  egrep --color '^|FINDME'
>
> Nice one! I should have though of that.


Nice indeed. It does match everything but fails to highlight. At least on
EL5 using Konsole.


> (Into my bag of tools).
>
> Another thing - to page the coloured results through less, use "less
> -R" (useful to page through bloody puppet's coloured screen log).
>

> Cheers,
>
> --Amos
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


-- 
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?


Re: Color highlighting of arbitrary "tail -F'ed" text ?

2008-09-08 Thread Maxim Veksler
On Fri, Sep 5, 2008 at 9:42 AM, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
>
> On Fri, Sep 05, 2008 at 09:24:34AM +1000, Amos Shapira wrote:
>
> > Another thing - to page the coloured results through less, use "less
> > -R" (useful to page through bloody puppet's coloured screen log).
>
> And to follow-up to the original poster: press 'F' in less to make it
> behave as 'tail -f'


That's a useful feature I will always be using from now on.
Though still prefer the Term::ANSIColor; solution that Shlomi
implemented above because it allows me to to be as flexible as I want
to be.

Thanks everyone for the help.

>
> --
> Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
> http://tzafrir.org.il || a Mutt's
> [EMAIL PROTECTED] ||  best
> ICQ# 16849754 || friend
>




--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Looking for recommendations for image processing/analysis program

2008-09-08 Thread David Harel

Greetings,

I would like some guidance regarding a software solution that can 
receive a frame taken from a video camera, manipulate it according to a 
given set of parameters such as hue, contrast and such and then be able 
to:identify objects (say according to various color/shape/size patterns) 
and provide their location.


--
Regards.

David Harel,

==

Home office +972 77 7657645
Fax:+972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
   D.N Merom Hagalil
   13802
   Israel
Email:  [EMAIL PROTECTED]




Re: Color highlighting of arbitrary "tail -F'ed" text ?

2008-09-08 Thread Amos Shapira
2008/9/8 Maxim Veksler <[EMAIL PROTECTED]>:
> On Fri, Sep 5, 2008 at 9:42 AM, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
>>
>> On Fri, Sep 05, 2008 at 09:24:34AM +1000, Amos Shapira wrote:
>>
>> > Another thing - to page the coloured results through less, use "less
>> > -R" (useful to page through bloody puppet's coloured screen log).
>>
>> And to follow-up to the original poster: press 'F' in less to make it
>> behave as 'tail -f'
>
>
> That's a useful feature I will always be using from now on.

BTW - If you want to script/alias/automate this, you can pass "+F" to
less on its command line so you don't have to manually press "F"
inside it.
(that's true for any interactive less command, see "man less" and
consider also "+G")

Cheers,

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Looking for recommendations for image processing/analysis program

2008-09-08 Thread Omer Zak
DISCLAIMER: the following is based upon my very incomplete understanding
of David's needs.

You may want to look into ImageMagick and netpbm.
If you need/want to implement your own image processing algorithms, and
if you use Debian Etch, then the source code of netpbm, with
libnetpbm10/libnetpbm10-dev, can help you develop your custom netpbm
programs.
--- Omer

On Mon, 2008-09-08 at 11:40 +0300, David Harel wrote:
> Greetings,
> 
> I would like some guidance regarding a software solution that can
> receive a frame taken from a video camera, manipulate it according to
> a given set of parameters such as hue, contrast and such and then be
> able to:identify objects (say according to various color/shape/size
> patterns) and provide their location.
-- 
42 is the answer to everything.  Food is the answer to everything except
obesity.
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Looking for recommendations for image processing/analysis program

2008-09-08 Thread Jonathan Ben Avraham


gimp?

On Mon, 8 Sep 2008, David Harel wrote:


Date: Mon, 08 Sep 2008 11:40:03 +0300
From: David Harel <[EMAIL PROTECTED]>
To: linux-il@cs.huji.ac.il
Subject: Looking for recommendations for image processing/analysis program

Greetings,

I would like some guidance regarding a software solution that can receive a 
frame taken from a video camera, manipulate it according to a given set of 
parameters such as hue, contrast and such and then be able to:identify 
objects (say according to various color/shape/size patterns) and provide 
their location.





--
 EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open Systems
=}ooO--U--Ooo{=
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Color highlighting of arbitrary "tail -F'ed" text ?

2008-09-08 Thread Amos Shapira
2008/9/8 Maxim Veksler <[EMAIL PROTECTED]>:
> On Fri, Sep 5, 2008 at 2:24 AM, Amos Shapira <[EMAIL PROTECTED]> wrote:
>>
>> 2008/9/5 Tzafrir Cohen <[EMAIL PROTECTED]>:
>> > You want to mark 'FINDME' but also find every line?
>> >
>> >  grep  --color '^\|FINDME'
>> >
>> > Or:
>> >
>> >  egrep --color '^|FINDME'
>>
>> Nice one! I should have though of that.
>
> Nice indeed. It does match everything but fails to highlight. At least on
> EL5 using Konsole.

1. Have you tried this only with "| less -r" by any chance? Maybe
since grep's output goes to a pipe and not to the terminal it decides
to ignore --color. That's the behavior I see on my Ubunutu. Try
"--color=always" when you pipe egrep's output, it helped in on my
desktop.
2. Could it be that something is masking your GREP_COLORS envariable
(see the --color section in your egrep's manual)

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [Telux] Next OSDClub Tel Aviv Meeting: Puppet on 7-September

2008-09-08 Thread Ehud Karni
On Sun, 07 Sep 2008 19:38:44 Shlomi Fish wrote:
>
> The presentation is about Puppet. And it has been
> taking place today from 18:30.
>
> > > > The Tel Aviv Linux Club (also now known as OSDClub Tel Aviv - Open
> > > > Source Developers' Club) will hold a presentation by Ohad Levy on
> > > > Sunday, 07-September-2008 about "Puppet - the Central Management Tool".

I attended Ohad's lecture and it was very good. It fully presented and
covered the subject. Ohad started with somewhat theoretical aspects, but
the questions from the audience directed him to a more practical
approach. He has a lot of experience with Puppet on a large number of
servers (3000).

I enjoyed it (and learned from it) very much.

Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /"\
 Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D Better Safe Than Sorry

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Byte per month?

2008-09-08 Thread Geoffrey S. Mendelson

How do I keep track of the number of bytes sent and received per month?

To be exact I'm running a 2.4.34 kernel, and the interface is ppp0
using the old pptp-linux user space driver.

Being able to resolve it to the something like every 10 minutes would be
fine, I can save the results to a file and tabulate them later.

Thanks, Geoff.
--
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Byte per month?

2008-09-08 Thread Yedidyah Bar-David
On Mon, Sep 08, 2008 at 08:46:41PM +0300, Geoffrey S. Mendelson wrote:
> How do I keep track of the number of bytes sent and received per month?
> 
> To be exact I'm running a 2.4.34 kernel, and the interface is ppp0
> using the old pptp-linux user space driver.
> 
> Being able to resolve it to the something like every 10 minutes would be
> fine, I can save the results to a file and tabulate them later.

ifconfig shows that (RX bytes/TX bytes). You can easily script around
that.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Byte per month?

2008-09-08 Thread Ehud Karni
On Mon, 8 Sep 2008 20:46:41 Geoffrey S. Mendelson wrote:
>
> How do I keep track of the number of bytes sent and received per month?
>
> To be exact I'm running a 2.4.34 kernel, and the interface is ppp0
> using the old pptp-linux user space driver.
>
> Being able to resolve it to the something like every 10 minutes would be
> fine, I can save the results to a file and tabulate them later.

Look at /proc/net/dev. I think that if the ppp0 link is up, you have a
line with ppp0 statistics there (I can't check because I don't have
ppp0 connection on any machine).

Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /"\
 Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D Better Safe Than Sorry

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Byte per month?

2008-09-08 Thread guy keren

Geoffrey S. Mendelson wrote:

How do I keep track of the number of bytes sent and received per month?

To be exact I'm running a 2.4.34 kernel, and the interface is ppp0
using the old pptp-linux user space driver.

Being able to resolve it to the something like every 10 minutes would be
fine, I can save the results to a file and tabulate them later.

Thanks, Geoff.


ifconfig ppp0

one of the fields shows the total received and sent bytes. run it 
occasionally, sum the difference, find out when it rolls over...


--guy

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Byte per month?

2008-09-08 Thread Noam Rathaus
Hi Geoff,

I am wandering whether bandwidthd doesn't do that work for you :)

I use it for a graphical view (graph) of the bandwidth generated (outgoing) 
and received (incoming).

Its an 'apt-get' based project: 
bandwidthd - Tracks usage of TCP/IP and builds html files with graphs

I like it :)

(There is a DB version pgsql that allows you to store the data in a database, 
which eases further analysis, such as by-port, by-host, by-host-pair)

On Monday 08 September 2008 20:46:41 Geoffrey S. Mendelson wrote:
> How do I keep track of the number of bytes sent and received per month?
>
> To be exact I'm running a 2.4.34 kernel, and the interface is ppp0
> using the old pptp-linux user space driver.
>
> Being able to resolve it to the something like every 10 minutes would be
> fine, I can save the results to a file and tabulate them later.
>
> Thanks, Geoff.


-- 
Noam Rathaus
CTO
[EMAIL PROTECTED]
http://www.beyondsecurity.com

"Know that you are safe."

Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Sep 8th, 8direct services myspace by HideDude.com

2008-09-08 Thread HideDude.com



 http://hidetrace.mkmcgregor.com 
 http://hippy.buycitation.com 
 http://hawaii.sullyhome.net 
 http://digital.foreverhide.com 
 http://surfunlocked.j4y.net 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "New 
Proxies - Anonymous Internet" group.
To post to this group, send email to 
new-proxies---anonymous-internet@googlegroups.coript type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">







Looking for a freelance GUI developer
Shachar Shemesh
 


 






  
  





Reply via email to