[gentoo-user] slocate + updatedb problem for network mount directories

2005-06-09 Thread Botykai Zsolt
Hi Everyone,

just felt in love with Vim and noticed that I can use app-vim/locateopen to 
forget those long paths (and yes, sometimes I don't know where is the 
needed file).
Got one problem: all of the files I used to open is on a (cifs) mounted 
network drive (nfs, and any other filesystem are not an option - got a rude 
sysadm :-) ). So I set up updatedb.conf like this:
PRUNEFS=afs auto autofs devfs devpts iso9660 ncpfs nfs NFS nnpfs proc ramfs 
sfs smbfs subfs supermount sysfs tmpfs udf usbfs
PRUNEPATHS=/tmp /var/tmp /public /transfer /home1/actuate /home1/alm /home1/art
hur /home1/arthurinside /home1/backup /home1/bpl2 /home1/btr /home1/cdrom /home1
/Consulting /home1/controlling /home1/coreboss /home1/designer /home1/dlc /home1
/doc /home1/electra /home1/elementa /home1/hbdir /home1/infra /home1/internation
al /home1/intranet /home1/jdk1.2.2 /home1/lmntart /home1/magyarmarketing /home1/
middlew /home1/olf /home1/olt /home1/opt /home1/pr91b /home1/pr91c /home1/pr91d
/home1/progress /home1/Progress_SonicMQ /home1/promsgs /home1/script /home1/scri
pt_lukas /home1/sd /home1/spectra /home1/spectraw /home1/squidlogs /home1/supbos
s /home1/support /home1/techn /home1/terminal /home1/tmp /home1/users /home1/wlm
 /home1/xmake /home1/boss/adm-neird /home1/boss/@af1stat0006.r /home1/boss/arch
/home1/boss/bat /home1/boss/bootmdb /home1/boss/bora /home1/boss/bpl2 /home1/bos
s/bplsg /home1/boss/btumac /home1/boss/btuproc /home1/boss/cfg /home1/boss/cgi-b
in /home1/boss/codepage /home1/boss/confid /home1/boss/confidobj /home1/boss/cpr
ogs /home1/boss/db /home1/boss/dcl /home1/boss/ddplus /home1/boss/@depstat0006.r
 /home1/boss/designer /home1/boss/doc /home1/boss/ecboss /home1/boss/environ /ho
me1/boss/gen /home1/boss/giro /home1/boss/got /home1/boss/hb /home1/boss/helpdes
k /home1/boss/ibank /home1/boss/in /home1/boss/in2 /home1/boss/include /home1/bo
ss/@inistat0006.r /home1/boss/ivr /home1/boss/jszmod /home1/boss/@mprmp_feloszt.
r /home1/boss/mqapipb /home1/boss/mssqlscr /home1/boss/mtbklir /home1/boss/multi
db /home1/boss/netboss /home1/boss/obj /home1/boss/out /home1/boss/param_dead /h
ome1/boss/pegu /home1/boss/post /home1/boss/posta /home1/boss/ptools /home1/boss
/pubhtml /home1/boss/registry /home1/boss/samples /home1/boss/schema /home1/boss
/script /home1/boss/@scrstat0006.r /home1/boss/sent /home1/boss/@setstat0006.r /
home1/boss/share /home1/boss/signhtml /home1/boss/@t2gstat0006.r /home1/boss/tas
ak /home1/boss/uzem /home1/boss/work
NETPATHS=/home1/boss/param /home1/boss/proc /home1/boss/mac

(and export all those variables as well).
So I updatedb-ed (I can read all those three directory in NETPATHS), but 
realized that contents of the /home1/boss/param directory doesn't show up in 
locate's ouput.
Any idea why?

Zsoltik@
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: xscreensaver

2005-05-31 Thread Botykai Zsolt
Tuesday 31 May 2005 11.18-n, Qv6 ezt írta:
 I am trying to customize xscreensaver to show personal photos in a
 random fashion..
 What file do I need to mess with to get this done?

from command line start 
xscreensaver-demo, then click on the 'advanced' tab, and check 'Choose random 
image' and set the directory you need.
Then on the 'display modes' tab try (e.g.) the blitspin 'module'.
HTH

Zsoltik@

--

Opinions, conclusions and other information in this message that do not
relate to the official business of Online Business Technologies Corp.
shall be understood as neither given nor endorsed by it. In such cases
Online Business Technologies Corp. will not bear the responsibility of
consequences.
If you have received this communication in error, please notify the
system manager immediately by responding to this email and then delete
it from your system.


A levelben foglalt, nem az Online Rt. hivatalos uzletmenetevel kapcsolatos
velemenyek vagy mas informaciok vonatkozasaban az Online Rt. nem vallal
felelosseget.
Amennyiben a level valamely hiba folytan jutott Onhoz, kerjuk, hogy
valaszlevelben azonnal ertesitse a rendszer uzemeltetojet, majd torolje ki
a levelet rendszerebol!



[gentoo-user] Re: scripts that send emails

2005-05-03 Thread Botykai Zsolt
Monday 02 May 2005 19.42-n, Phil Sexton ezt írta:
 On Mon, 2005-05-02 at 10:08, Botykai Zsolt wrote:
  Monday 02 May 2005 11.27-n, Nick Rout ezt írta:
   On Mon, 2005-05-02 at 10:50 +0200, Spider wrote:
On Mon, 2005-05-02 at 10:35 +0200, Patrick Marquetecken wrote:
 I'm looking for a smtp mail-client that can send emails from a
 script, from different from addresses and can use text files as
 body text, at this time i just looked at pine, but i don't thik
 thats possible. What are othe posibilities ?
its the classical one to do. otherwise you can use /usr/sbin/sendmail
   gentoo-user@lists.gentoo.org
   (thats all one line of course)
  and with 'nail' you can add attachments too to your mail - emerge nail.
 Oops!  Apparently you can't use nail with mailx.  What MTA do you use?
 Sendmail?


that's ssmtp for me.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: scripts that send emails

2005-05-02 Thread Botykai Zsolt
Monday 02 May 2005 11.27-n, Nick Rout ezt rta:
 On Mon, 2005-05-02 at 10:50 +0200, Spider wrote:
  On Mon, 2005-05-02 at 10:35 +0200, Patrick Marquetecken wrote:
   I'm looking for a smtp mail-client that can send emails from a script,
   from different from addresses and can use text files as body text, at
   this time i just looked at pine, but i don't thik thats possible.
   What are othe posibilities ?
  *  mail-client/mailx
Latest version available: 8.1.2.20040524-r1
Latest version installed: 8.1.2.20040524-r1
Size of downloaded files: 126 kB
Homepage:http://www.debian.org
Description: The /bin/mail program, which is used to send mail via
  shell scripts.
 
  its the classical one to do. otherwise you can use /usr/sbin/sendmail
  directly.
 yep and then you can do stuff like:
 cat silly_text_file|mail -s this is from the command line
 gentoo-user@lists.gentoo.org
 (thats all one line of course)

end with 'nail' you can add attachments too to your mail - emerge nail.


--

Opinions, conclusions and other information in this message that do not
relate to the official business of Online Business Technologies Corp.
shall be understood as neither given nor endorsed by it. In such cases
Online Business Technologies Corp. will not bear the responsibility of
consequences.
If you have received this communication in error, please notify the
system manager immediately by responding to this email and then delete
it from your system.


A levelben foglalt, nem az Online Rt. hivatalos uzletmenetevel kapcsolatos
velemenyek vagy mas informaciok vonatkozasaban az Online Rt. nem vallal
felelosseget.
Amennyiben a level valamely hiba folytan jutott Onhoz, kerjuk, hogy
valaszlevelben azonnal ertesitse a rendszer uzemeltetojet, majd torolje ki
a levelet rendszerebol!



[gentoo-user] Re: konqueror (kde icon) right click menu question

2005-04-18 Thread Botykai Zsolt
Monday 18 April 2005 14.02-n, Neil Bothwick ezt rta:
 On Mon, 18 Apr 2005 10:34:26 +0200, Botykai Zsolt wrote:
  Remembering the old Suse and Debian days I really loved one feature in
  KDE:  right click on an (or on a group of) icon(s) then select the Move
  to or  Copy to item from the menu, then browsing the directory tree,
  where to  copy/move the selected items.
  I know, Gentoo doesn't add this feature, so it should be a distribution
  specific thing (maybe I'm wrong), but I really want this features.
  Anybody  know how to get this features on my Gentoo box?

 Are you sure it's not already there? The options are definitely present in
 KDE 3.4 on this Gentoo setup.

bah,
Found the solution:
I just emerge kde-meta one day before (according to kdeaddons-meta Changelog) 
konq-plugins was added to kdeaddons-meta dependecy list. So after emergeing 
konq-plugins it's there now.
But it's a bad policy IMHO. After changing (adding a dependecy) the ebuild 
should get a new (r1) version, or am I wrong?

Zsoltik@

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] bash script question, strange grep

2005-04-18 Thread Botykai Zsolt
Hi 4 everyone,
I have a little problem:
i have a file list in /tmp/iadmos (contains 28 file name which are in the 
current directory, i made this list with: 

egrep -il 'trt_attr.*[,]iadm' t*.dcl  /tmp/iadmos

then I want to cut out the files which don't contain the string 'NOIADM'.

So I did:

for i in `cat /tmp/iadmos` ; do egrep -lv 'NOIADM' $i ; done 

which gave me all 28 file name. I wondered about it, so I tried:

for i in `cat /tmp/iadmos` ; do egrep -l 'NOIADM' $i ; done

which gave me 4 file i checked them they contain 'NOIADM' but why first egrep 
finds that they don't?

(it's a really small problem, 'cause I checked it again, but it confuses 
me ...)

Zsoltik@
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Emerge needs a --nocolor option

2005-04-12 Thread Botykai Zsolt
Tuesday 12 April 2005 13.49-n, A. Khattri ezt írta:
 There really ought to be a --nocolor option for emerge, alongside the
 --nospinner option. (I know I could add it to FEATURES in make.conf but I
 dont want to do that). I run emerge --sync from cron on my servers - the
 email from cron contains a lot of control codes.

until this you can do:
insert '#NOCOLOR=true' into make.conf then call this from cron:

#!/bin/bash
sed 's/^#NOCOLOR=true$/NOCOLOR=true/g' /etc/make.conf  /tmp/make.conf \ 
 cp /tmp/make.conf /etc/make.conf \
 call your desired emerge / \
 sed 's/^NOCOLOR=true$/#NOCOLOR=true/g' /tmp/make.conf  /etc/make.conf

But you're right, IMHO it should be implemented ...

Zsoltik@

--

Opinions, conclusions and other information in this message that do not
relate to the official business of Online Business Technologies Corp.
shall be understood as neither given nor endorsed by it. In such cases
Online Business Technologies Corp. will not bear the responsibility of
consequences.
If you have received this communication in error, please notify the
system manager immediately by responding to this email and then delete
it from your system.


A levelben foglalt, nem az Online Rt. hivatalos uzletmenetevel kapcsolatos
velemenyek vagy mas informaciok vonatkozasaban az Online Rt. nem vallal
felelosseget.
Amennyiben a level valamely hiba folytan jutott Onhoz, kerjuk, hogy
valaszlevelben azonnal ertesitse a rendszer uzemeltetojet, majd torolje ki
a levelet rendszerebol!