[gentoo-user] Rafael Barreto wants to talk to you using Google Talk

2006-02-16 Thread Rafael Barreto
ei pessoal... experimentem o google talk...

---

Rafael Barreto wants to talk to you for free using Google Talk.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-8a0d85ddf3-dceae7b94b-6d76c11d44ea384f
You'll need to click this link in order to add Rafael Barreto to your
Friends list and talk with each other for free.

To try Google Talk (and get Gmail, a free Google email account with
over 2,500 megabytes of storage) visit:
http://mail.google.com/mail/a-8a0d85ddf3-dceae7b94b-5a267b038b

Google Talk is a downloadable Windows* application that lets you send
instant messages to your friends and make free phone calls over an
internet connection. Google Talk offers excellent voice quality and
works with any computer speaker and microphone.

Gmail is Google's free email service, offering lots of free storage,
powerful spam protection, built-in search for finding your messages,
and a helpful way of organizing email into conversations. And there
are no pop-up ads or untargeted banners -- just text ads and related
information that are relevant to the content of your messages.

Once you sign up, we'll notify Rafael Barreto of your new Gmail address
and add you to each others' Friends lists so you can start talking right
away.

Gmail and Google Talk are still in beta. We're working hard to add new
features and make improvements, so we might also ask for your comments
and suggestions periodically. We appreciate your help in making our
products even better!

Thanks,

The Gmail and Google Talk Teams


To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/benefits.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste
them into the address bar of your browser).

* Not a Windows user? No problem. You can also connect to the Google
Talk service from any platform using third-party clients
(http://www.google.com/talk/otherclients.html).

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Paralell process in Bash

2005-11-07 Thread Rafael Barreto
Is there any form to create a child process in a bash-script? I
mean... I would like to have a script that use many background process
to do some paralell things. I know that I could use  after a code
block, but, in this way, when I kill the main script, their childs are
alive yet. They don't die with their parent. Any form?

Thanks

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] About sed

2005-11-06 Thread Rafael Barreto
Hi,

I'm learning about the use of the sed command and I have some
questions. I'm trying to read in /etc/conf.d/clock the CLOCK variable
with:

sed '/^CLOCK=*$/p' /etc/conf.d/clock

This command, in principe, must print in screen the line that contains
CLOCK= in the begin, contains anything between double quotes and ends.
Well, this doesn't return anything. If I enter the above command
without $, all is ok. But, if I would like to return just that line
contains CLOCK=anything and nothing more? For example,

CLOCK=anything # set clock of the system

and

CLOCK=anything

are different.

Other thing... if i put:

sed '/^CLOCK=*/p' /etc/conf.d/clock

the return will be anything that contains CLOCK. Why?

I suppose that I didn't undestand the use of regular _expression_ metacharacters. So, please, anyone to explain me that?

Thanks a lot and sorry by my english...


Re: [gentoo-user] About sed

2005-11-06 Thread Rafael Barreto
:) Thanks very much.

Now that I read your answear I searched in a book the significant of *,+ and others and I suppose I understood.

Thanks2005/11/7, Willie Wong [EMAIL PROTECTED]:
On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote: Hi, I'm learning about the use of the sed command and I have some questions. I'm trying to read in /etc/conf.d/clock the CLOCK variable with:
 sed '/^CLOCK=*$/p' /etc/conf.d/clock This command, in principe, must print in screen the line that contains CLOCK= in the begin, contains anything between double quotes and ends. Well,
 this doesn't return anything. If I enter the above command without $, all is ok. But, if I would like to return just that line contains CLOCK=anything and nothing more? For example,
No it doesn't. What you want is the regexp ^CLOCK=.*$ if you wantanything (including nothing) between the double quotes, or^CLOCK=.+$ if you want something (excluding nothing) between the
double quotes.The reason that removing the trailing $ worked is that it matched theCLOCK= part, the * character specifies 0 or more iterates of theprevious character, which is HTH
W--Q: Why won't Heisenberg's operators live in the suburbs?A: They don't commute.Sortir en Pantoufles: up 4 days,5:24--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread Rafael Barreto
For that I understood, this command will return the line of CLOCK= in
/etc/conf.f/clock without any comments. Is this right? Well, what I
really want is replace just CLOCK=fool1 by CLOCK=fool2 keeping the
comments in line.

By the way, \1 do really what? If i put \0 the result is the entire line. So, could you explain me this a little more? Thanks...2005/11/7, gentuxx 
[EMAIL PROTECTED]:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Willie Wong wrote:
On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote:Hi,I'm learning about the use of the sed command and I have somequestions. I'mtrying to read in /etc/conf.d/clock the CLOCK variable with:
sed '/^CLOCK=*$/p' /etc/conf.d/clockThis command, in principe, must print in screen the line that containsCLOCK= in the begin, contains anything between double quotes and ends.
Well,this doesn't return anything. If I enter the above command without $,all isok. But, if I would like to return just that line contains CLOCK=anythingand nothing more? For example,
No it doesn't. What you want is the regexp ^CLOCK=.*$ if you wantanything (including nothing) between the double quotes, or^CLOCK=.+$ if you want something (excluding nothing) between the
double quotes.The reason that removing the trailing $ worked is that it matched theCLOCK= part, the * character specifies 0 or more iterates of theprevious character, which is 
HTHWAlso, as you pointed out, lines with trailing comments would not bereturned based on the _expression_ (even as modified):sed '/^CLOCK=.*$/p /etc/conf.d/clock
This is because the _expression_, as is, does not allow for anythingafter the last double quote ().The following _expression_ shouldmatch the line you want, and print out ONLY the 'CLOCK=foo':
sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clockHow this works is as follows (since you're trying to learn sed):1) the '-n' suppresses all output except that which was changed by
your _expression_/commands.2) the first _expression_ ( /^CLOCK=/ ) gives sed the address at whichto make the changes.3) the second _expression_ ( s/^\(CLOCK=.*\).*$/\1/p )tells sed what
to do when it reaches that address.This is better broken down intosmaller steps:a) the first half of the substitution _expression_ (s/^\(CLOCK=.*\).*$/ ) tells sed to match the capital letters C
- -L-O-C-K which start a line ( ^ ),b) followed by an equals sign (=), a double-quote (),c) followed by 0 or more of any character type - except newlines- -( .* ),d) followed by another double-quote ().
e) Then, because of the parentheses metacharacters ( \(\) ),store the match in the holding space (memory).f) Then match 0 or more of any character type ( .* ), ending theline ( $ ).g) the second half ( /\1/ ) substitutes the characters captured
in the parentheses metacharacters, for the whole lineh) and prints ( /p ) the resultSo, while Willie's suggestion is correct, this should give you a morecomplete solution.HTH- --
gentuxecho hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC409795 2D81 924A6996 0993-BEGIN PGP SIGNATURE-Version: GnuPG 
v1.4.1 (GNU/Linux)iD8DBQFDbuAELYGSSmmWCZMRAoxdAKDZTA89tDCO+I67qhZwba6oJ28TrgCdHIkTLctx2b5xRczC3bXl+emMrOs==780W-END PGP SIGNATURE---gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] Strange problem with partition reiserfs

2005-11-05 Thread Rafael Barreto
Yes, I'm sure. As a same user I repeated that many times on different
partitions and just in that Kate doesn't ask me for a confirmation.
Well... With gedit I don't have this problem. gedit ask me for a
confirmation. But I would like to use Kate. I suppose that I have to
agree about a but in Kate.

About the other question. Any answear?

Thanks!2005/11/5, Glenn Enright [EMAIL PROTECTED]:
On Sat, 05 Nov 2005 19:29, Rafael Barreto wrote: I'm with a very strange problem with a partition reiserfs. When I installed gentoo I created a partition to save my personal docs and I formatted it with reiserfs filesystem. Today, I was wrinting a little program in python
 using Kate and, accidentaly, I overwrite a file on that partition. The strange was that Kate don't ask me for a confirmation about that. Kate just overwrote the file. Well, I imagined that comportament was not right and I
 tried to ovewrite an archive in the partition mounted under /home and Kate, now, ask me for a confirmation. Strange... any idea?Are you sure you were working as the same user? not as root or something?
Could have been different user settings.--Some men are so interested in their wives' continued happiness that theyhire detectives to find out the reason for it.--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Strange problem with partition reiserfs

2005-11-05 Thread Rafael Barreto
Sorry. I see now the answear in the top. :-)

Thanks again!2005/11/5, Rafael Barreto [EMAIL PROTECTED]:
Yes, I'm sure. As a same user I repeated that many times on different
partitions and just in that Kate doesn't ask me for a confirmation.
Well... With gedit I don't have this problem. gedit ask me for a
confirmation. But I would like to use Kate. I suppose that I have to
agree about a but in Kate.

About the other question. Any answear?

Thanks!2005/11/5, Glenn Enright [EMAIL PROTECTED]:

On Sat, 05 Nov 2005 19:29, Rafael Barreto wrote: I'm with a very strange problem with a partition reiserfs. When I installed gentoo I created a partition to save my personal docs and I formatted it with reiserfs filesystem. Today, I was wrinting a little program in python
 using Kate and, accidentaly, I overwrite a file on that partition. The strange was that Kate don't ask me for a confirmation about that. Kate just overwrote the file. Well, I imagined that comportament was not right and I
 tried to ovewrite an archive in the partition mounted under /home and Kate, now, ask me for a confirmation. Strange... any idea?Are you sure you were working as the same user? not as root or something?
Could have been different user settings.--Some men are so interested in their wives' continued happiness that theyhire detectives to find out the reason for it.--

gentoo-user@gentoo.org mailing list




[gentoo-user] Strange problem with partition reiserfs

2005-11-04 Thread Rafael Barreto
Hi,

I'm with a very strange problem with a partition reiserfs. When I
installed gentoo I created a partition to save my personal docs and I
formatted it with reiserfs filesystem. Today, I was wrinting a little
program in python using Kate and, accidentaly, I overwrite a file on
that partition. The strange was that Kate don't ask me for a
confirmation about that. Kate just overwrote the file. Well, I imagined
that comportament was not right and I tried to ovewrite an archive in
the partition mounted under /home and Kate, now, ask me for a
confirmation. Strange... any idea?

Other thing... I would like to mount that partition such that all files
created have the same group and permission. I thought that I could use
the umask option, but reiserfs don't have that option, so I don't
know how could I do that... Help please...

Sorry by my english!

Thanks!


[gentoo-user] About --depclean

2005-10-13 Thread Rafael Barreto

Hello... i had installed my gentoo there's no many time and i was studing portage and its tools. And now, i have some questions.

The use of --depclean would not have erase only the dependences that are not more used for any applicatory one? If yes, why do I need to reconstruct the dependent applications of those dependences that I erased with emerge -- depclean? If no, please, clarify me about the functioning of revdep-rebuild that I did not understand its funcionality.


Thanks!

Rafael Menezes Barreto
=
Brazil/PE - UFPE-CIn (rmb3)


Re: [gentoo-user] About --depclean

2005-10-13 Thread Rafael Barreto
Ok. I think I undestood. But, why do I need to use revdep-rebuild after emerge --depclean?I mean, emerge --depclean should unmerge just that dependences not necessary anymore by other packages. So, I suppose I don't need to rebuild nothing because I just unmerge dependences unused.
i.e.ifI don't have any packagesdependentsof that dependencesunmerged withemerge --depclean, there's no dynamic linkto update. Am I right?Do you undestand what I say?

Thanks!


Rafael Menezes Barreto
=
Brazil/PE - UFPE-CIn (rmb3)

2005/10/13, Bruno Lustosa [EMAIL PROTECTED]:

On 10/13/05, Rafael Barreto 
[EMAIL PROTECTED] wrote: 


The use of --depclean would not have erase only the dependences that are not more used for any applicatory one? If yes, why do I need to reconstruct the dependent applications of those dependences that I erased with emerge -- depclean? If no, please, clarify me about the functioning of revdep-rebuild that I did not understand its funcionality. 
revdep-rebuild should be used when upgraded dependencies break a package.for example, you have package A that has a dependency on library B.you go and upgrade B, which happened to change its major version number.
now, package A doesn't work anymore, because the dynamic linker can't find the old lib anywhere.revdep-rebuild should locate and rebuild package A to link it against the new library.
-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477 
Rio de Janeiro - Brazil|