Re: /etc/login.defs created as /etc/login.defs.rpmnew

2010-01-06 Thread Cameron Simpson
On 06Jan2010 01:50, Marcel Rieux m.z.ri...@gmail.com wrote: | On Wed, Jan 6, 2010 at 1:40 AM, Cameron Simpson c...@zip.com.au wrote: | On 06Jan2010 00:24, Marcel Rieux m.z.ri...@gmail.com wrote: | | This message was issued while updating shadow-utils today. The weird thing is: | | | | ls -l

Re: /etc/login.defs created as /etc/login.defs.rpmnew

2010-01-06 Thread Cameron Simpson
. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ It's better, when you're racing with someone you don't know so well, to stick to the inside line - it's easier to avoid the bits. - Barry Sheene, bike GP commentator -- fedora-list mailing list fedora-list@redhat.com

Re: /etc/login.defs created as /etc/login.defs.rpmnew

2010-01-05 Thread Cameron Simpson
login.defs file to login.defs.rpmnew. Now you should diff the two files and decide that to keep. The best approach is usually to identify your own change, make the same change in the .rpmnew file, then mv the .rpmnew file into place. -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: whence RPCBIND_ARGS?

2010-01-02 Thread Cameron Simpson
rpcbind with particular arguments. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Feeling Stressed Out? Sometimes it helps to think of happy scenes, maybe a pastoral field, a field with a babbling brook. You're there on a lovely summer's day

Re: Firefox not working after on line updates

2009-12-22 Thread Cameron Simpson
. Well, its rpm isn't; bad rpm spec file? The bookmarks/places stuff uses an sqlite db, so firefox definitely does need sqlite from somewhere. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Never was so much owed by so many to so few.- Winston Churchill He must have

Re: Question about Backing up with tar

2009-12-09 Thread Cameron Simpson
partitions to the spare drive. Each copy was only for its own filesystem, using rsync's -x option. That prevents walkig off into /home etc, which I didn't want to do. See rsync's manual page. Read it a few times. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com

Re: how to find out dead links

2009-11-14 Thread Cameron Simpson
to a file literally named -.) Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: man 3 switch

2009-11-14 Thread Cameron Simpson
in section 3 means you're looking for a library routine. What did you expect for man 3 switch? -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Flashbacks=Free Drugs! - Laszlo Nemeth las...@eclipse.cs.colorado.edu -- fedora-list mailing list fedora-list@redhat.com

Re: Simple Network Question: Part 2

2009-11-05 Thread Cameron Simpson
On 05Nov2009 15:50, Steven Stern subscribed-li...@sterndata.com wrote: | What do you get when you type | ifconfig eth0 | in a terminal sessino? Also include the output of: netstat -rn which will show your routing table. -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: should I go for 64bit version of Fedora 11 ?

2009-11-04 Thread Cameron Simpson
On 04Nov2009 09:56, Alan Cox a...@lxorguk.ukuu.org.uk wrote: | On Wed, 4 Nov 2009 14:22:22 +1100 | Cameron Simpson c...@zip.com.au wrote: | On 04Nov2009 14:01, I wrote: | | On 03Nov2009 23:45, Alan Cox a...@lxorguk.ukuu.org.uk wrote: | | | Such as the kernel ... which is much happier in 64bit

Re: run command via ssh - problem

2009-11-04 Thread Cameron Simpson
with ssh. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ No man should escape our universities without knowing how little he knows. - J. Robert Oppenheimer -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman

Re: should I go for 64bit version of Fedora 11 ?

2009-11-03 Thread Cameron Simpson
a need to access 4GB of RAM or mmap 4GB of a file) 32-bit would use physically smaller instructions and generally require physically less bandwidth. Presumably these presumptions are wrong or misleading; I'd like to know how. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: should I go for 64bit version of Fedora 11 ?

2009-11-03 Thread Cameron Simpson
model of roughly | why and how 64-bit mode benefits a system. [...] BTW, I found this: http://forums.amd.com/devblog/blogpost.cfm?threadid=93648catid=317 which is interesting but doesn't give me much clue about why the kernel might like it. -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: How to determine if a file is in use

2009-11-03 Thread Cameron Simpson
? | No - skip that file, go onto the next one | Yes - start processing that file Do it! See above! Have you tried it? Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Carpe Daemon - Seize the Background Process - Paul Tomblin ab...@freenet2.carleton.ca

Re: How to set cursor in editor to pattern given on command line?

2009-11-02 Thread Cameron Simpson
have to to this on a per-editor basis, alas. If joe has a +nnn option, try: # or egrep, depend what flavour regexp you're offering n=`grep -n $pattern $file | sed 's/:.*//'` joe +$n $file You'll need to work out variations for other editors, alas. -- Cameron Simpson c...@zip.com.au DoD#743

Re: : bash command help - nohup

2009-10-30 Thread Cameron Simpson
. SInce you want three, invoke the shell as your command: nohup sh -c 'cmd1; cmd2; cmd3' Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ There are three kinds of lies: lies, damned lies, and statistics. - Benjamin Disraeli -- fedora-list mailing

Re: two major failures after yesterday updates - anyone else

2009-10-29 Thread Cameron Simpson
within 12 hours seems a very unfortunate coincidence - [...] | there are thousands updating F11 every day. If there is/was a problem, | we would be hearing about it. But you ARE hearing about it:-) -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Gabriel Genellina

Re: Strange behavior with PS1 prompt

2009-10-18 Thread Cameron Simpson
| in \[ and \]. | By Jove, you are right! No wonder I have seen the | problem on and off over the years! I just tested this | solution and it appears to work! | | Cameron Simpson wrote: | This is all beautiful, but I think you need to use | single quotes instead of doubles. | So far, it appears

Re: File conversion

2009-10-18 Thread Cameron Simpson
On 18Oct2009 13:52, Ed Greshko ed.gres...@greshko.com wrote: | It would seem that some people have had success | http://goinggnu.wordpress.com/2007/02/13/convert-avi-to-3gp-using-ffmpeg/ Isn't that the reverse of what Ashley's after? -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: Strange behavior with PS1 prompt

2009-10-17 Thread Cameron Simpson
\] | | The \[ and \] begin and end a series of non-printable characters. | This tells bash not to count those characters when determining the | length of the prompt. So the color escape sequences are wrapped in \[ | and \]. This is all beautiful, but I think you need to use single quotes instead of doubles. -- Cameron

Re: Swing applications' menu have no border

2009-10-13 Thread Cameron Simpson
this. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ There's two kinds of climbers...smart ones, and dead ones. - Don Whillans -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http

Re: Viewing answers to one's nntp posts in Thunderbird

2009-10-06 Thread Cameron Simpson
thumderbirds will do it. I wrote a crude (and slow) message-id watcher for use in my filter rules once, but it needs a complete recode. I wanted to prune subthreads with filters, and in particular autoprune certain trolls whose followup threads were of no interest to me. -- Cameron Simpson c

Re: Viewing answers to one's nntp posts in Thunderbird

2009-10-06 Thread Cameron Simpson
On 07Oct2009 09:38, Tim ignored_mail...@yahoo.com.au wrote: | Cameron Simpson: | I take the position that if the References field is not present in a | usenet article, it is not a followup. | | gilpel: | I thought that Outlook didn't have this field but I rechecked ad can't | find any. My

Re: Viewing answers to one's nntp posts in Thunderbird

2009-10-06 Thread Cameron Simpson
On 07Oct2009 00:28, gil...@altern.org gil...@altern.org wrote: | Cameron Simpson wrote: | On 06Oct2009 08:42, gil...@altern.org gil...@altern.org wrote: | On | | There is no mention of who the poster is. So, the newsreader would | | have to check every message to see who posted it. Lots

Re: reading /var/mail

2009-10-05 Thread Cameron Simpson
. I have used Webmin's reader, but I have systems that I do | not want to install Webmin on. | | Are there other alternatives? | | mutt or pine I like mutt too. For a GUI, run mutt in a terminal window:-) -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs

Re: Viewing answers to one's nntp posts in Thunderbird

2009-10-05 Thread Cameron Simpson
your posts easy. | I also saw that the References field is not always present. So maybe | Cameron Simpson could explain us how A quick '/~P~Q' manages to do the | trick. I take the position that if the References field is not present in a usenet article, it is not a followup. -- Cameron Simpson c

Re: Viewing answers to one's nntp posts in Thunderbird

2009-10-04 Thread Cameron Simpson
to find. [...] | | In mutt [...] | | Don't tell me I could have a news reader looking like this! | http://www.mutt.org/screenshots/index.gif Shrug. I do. I'm reading text! Terminals are really good at that. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Those who

Re: do_gettimeofday()undefined reference

2009-10-03 Thread Cameron Simpson
library is spelt do_*.) Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate

Re: Viewing answers to one's nntp posts in Thunderbird

2009-10-03 Thread Cameron Simpson
to) will find your message, and the replies are then immediately available. Of course you will want to turn on thread view. Mutt is mostly a mail reader, but it has an NNTP patch too. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ During the Winter of '82-'83 I

Re: creating a new gnome terminal, running a command when the term starts...

2009-10-02 Thread Cameron Simpson
. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt

Re: Munged Headers....

2009-09-28 Thread Cameron Simpson
the same. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Six trillion RFID tags is four orders of magnitude bigger than any electronic item ever made. - overhead by WIRED at the Intelligent Printing conference Oct2006 -- fedora-list mailing list fedora-list

Re: Munged Headers....

2009-09-27 Thread Cameron Simpson
. Personally, I reply to messages using mutt's group-reply function (== reply to all in other readers) and then trim the resultant to/cc headers if appropriate. No reply-to damage required. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Microsoft Mail: as far from

Re: Running a Script- and debugging.

2009-09-25 Thread Cameron Simpson
have been invoked in some special way. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Sometimes the only solution is to find a new problem. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: Running a Script- and debugging.

2009-09-22 Thread Cameron Simpson
is a small and point-and-type style editor. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. - Doug Gwyn -- fedora-list mailing list

Re: pseudo terminals

2009-09-17 Thread Cameron Simpson
On 17Sep2009 18:19, devi d...@atc.tcs.com wrote: | On Thu, 2009-09-17 at 08:09 +1000, Cameron Simpson wrote: | On 16Sep2009 19:43, devi d...@atc.tcs.com wrote: | | On Wed, 2009-09-16 at 11:18 +0100, Dave Mitchell wrote: | | On Wed, Sep 16, 2009 at 03:06:09PM -0400, devi wrote

Re: pseudo terminals

2009-09-16 Thread Cameron Simpson
You should see it displayed on /dev/pts/1 but it won't run a command because we have not sent the end-of-line. If you're right, it will be as though typed, and you can go to the other terminal and edit the line and change it before pressing enter. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743

Re: pseudo terminals

2009-09-09 Thread Cameron Simpson
, -- Cameron Simpson c...@zip.com.au DoD#743 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: Question on shredding a terebyte drive

2009-09-02 Thread Cameron Simpson
; if the purpose is solely to erase the drive beyond recovery.) It may deplete your machines random bit pool, so don't generate an new ssh or GPG or SSL private keys during or soon after this process. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ If it's

Re: convert ico to svg or png

2009-09-02 Thread Cameron Simpson
of the latter; I moved to GraphicsMagick some years back). -- Cameron Simpson c...@zip.com.au DoD#743 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: Question on shredding a terebyte drive

2009-09-02 Thread Cameron Simpson
. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ This is not a bug. It's just the way it works, and makes perfect sense. - Tom Christiansen tchr...@jhereg.perl.com I like that line. I hope my boss falls for it. - Chaim Frenkel cha...@cris.com

Re: list files but not directory

2009-08-25 Thread Cameron Simpson
it with this: ls -hl | grep '^[^-]' Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ We now return you to the previously scheduled counter-steering flame-fest and under-clothing auction, after a few words about your sponsor, the DoD. - Denis McKeon gal

Re: list files but not directory

2009-08-23 Thread Cameron Simpson
On 21Aug2009 05:17, ann kok oiyan...@yahoo.ca wrote: | ls -1 but I only want the file to list not directory Please don't top-post. PLease BELOW and TRIM the quoted material for context, as I have done. Have you tried: ls -l | grep '^-' Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: Unmatched Entries

2009-08-13 Thread Cameron Simpson
their content. To do that it must recognise each line and decide to ignore it or summarise it. Lines it doesn't recognise get reported explicitly as above because it doesn't know how to treat them. For safety it shows them to you. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: scripting doubts

2009-08-06 Thread Cameron Simpson
On 05Aug2009 09:52, Arthur Meeks Meeks arthur.meeks.lu...@gmail.com wrote: | 2009/8/5 Cameron Simpson c...@zip.com.au | On 04Aug2009 20:04, Arthur Meeks Meeks arthur.meeks.lu...@gmail.com | wrote: | | What's the problem? When I can't log into a mysql database (mostly | | cause it is down) I

Re: scripting doubts

2009-08-04 Thread Cameron Simpson
# tidy up grants=$tmpbase.grants.txt while read host do mysql -h $host -ublah -pfhfhfhfhf -e show grants... $grants \ || { echo skipping $host, maybe down 2 continue } egrep . $grants | wc -l ... done file-of-hosts Cheers, -- Cameron Simpson c

Re: fedora 11 bash maximum line length?

2009-07-20 Thread Cameron Simpson
, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ They call me a bummer and a gin-sop,toobut what care I for praise! - Bob Dylan. The days of '49 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo

Re: why permission error if i'm not trying to change alternatives?

2009-07-14 Thread Cameron Simpson
prefer to require a special flag for such operation (eg --force). Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ If it can't be turned off, it's not a feature. - Karl Heuer -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https

Re: trying to find a path/file...

2009-07-09 Thread Cameron Simpson
find /foo/*.txt -cmin -10 -ls Don't forget that while you _usually_ point find at directories, it can be pointed at files too. Also consider: find /foo -depth 1 -name '*.txt' -ls find /foo -depth 1 -name '*.txt' -cmin +10 -ls Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: Firefox not reading prefs.js [SOLVED]

2009-06-20 Thread Cameron Simpson
ownership is a mystery to me. Almost certainly you started firefox as root, probably with $HOME set to your own home dir. Do you use the su or sudo commands much? -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Do not underestimate your abilities. That is your

Re: /bin/sh different than bash in fedora 11

2009-06-19 Thread Cameron Simpson
there's some amazing reason to rely on bash; that way your code will be portable to other UNIX systems. They all have sh but not all have bash. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Sometimes you just need to look reality in the eye, and deny

Re: Questions with rsync

2009-06-03 Thread Cameron Simpson
' option, so you'd set up /media/500GB-Drive/backups/.hbinclude as required. There's a bunch of similar rsync-based backup scripts on the web for this purpose. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ There's a fine line between cleverness and stupidity

Re: maildir setup for mutt

2009-06-02 Thread Cameron Simpson
-lists.html and ask there in more detail. Your setup does not sound very unusual, and there are willing and experienced mutt people on the list who can almost certainly help you. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Below 9000rpm it's very boring, above

Re: Globbing with scp

2009-05-26 Thread Cameron Simpson
(ssh-agent). Then you won't have to type passwords all the time. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ ..you're off! Bottom of the crack, three, four smooth moves, put in a piece, clip, clip, traverse...find that foothold...hang on...couple

Re: Effect on ssh of altering target's assigned ip address

2009-04-22 Thread Cameron Simpson
need to see the output of ssh -v ., but you should fix ping first. If ping doesn't work, ssh almost certainly won't, and for reasons having nothing to do with ssh itself. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ We should forget about small

Re: Effect on ssh of altering target's assigned ip address

2009-04-22 Thread Cameron Simpson
and on the remote one. If, for example, one end is half duplex instead of full duplex you will see horrible performance problems much like what you describe. Do I recall you're using a gigabit switch? Are you using cat6 cables throughout? Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: useradd and the default group

2009-04-13 Thread Cameron Simpson
on a directory, new files and directories a process makes get their group ownership from the primary group. _Access_ (open, cd, etc) is governed by uid and all the groups. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Drive Agressively Rash Magnificently

Re: how to add stuff to crontab without using crontab -e

2009-04-12 Thread Cameron Simpson
. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ I distrust a research person who is always obviously busy on a task. - Robert Frosch, VP, GM Research -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman

Re: Resources to learn C

2009-04-04 Thread Cameron Simpson
, and it is useful to have sitting around. It's what I learnt from. I know it's not online, but a book doesn't consume your screen real estate, and can also be consulted when your computer is offline, or even off. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Debugging

Re: using 'mv' instead of 'cp' to transfer directories to other partitions or disks

2009-04-01 Thread Cameron Simpson
to _read_ from disc though. if you've read the data recently then the OS can just pull it from RAM, not disc, is it is still cached. Anyway, a mv from one filesystem to another _is_ a cp. The timing is essentially the same. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: Efficient Create Swap File?

2009-03-27 Thread Cameron Simpson
with holes, which it may, you also get much more contiguous file if you preallocate. Data blocks allocated later must come from where the free space is at that time. Might be anywhere. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Good judgement comes from

Re: Bash help requested: Capturing command errors within pipes

2009-03-22 Thread Cameron Simpson
On 22Mar2009 11:09, Steven W. Orr ste...@syslang.net wrote: | On Saturday, Mar 21st 2009 at 22:41 -, quoth Cameron Simpson: | =On 21Mar2009 16:47, Daniel B. Thurman d...@cdkkt.com wrote: | = When I tried `sort -un', the data was truncated, i.e. | = there is data loss. So, when I went back

Re: Bash help requested: Capturing command errors within pipes

2009-03-21 Thread Cameron Simpson
, then sorted and uniq the temp file back into the original file. The result was a file that ended up much smaller than the original file! Yah, see discussion above. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ The govt MUST regulate the Net NOW! We

Re: Bash help requested: Capturing command errors within pipes

2009-03-19 Thread Cameron Simpson
the advantage of working in non-pipe circumstances (nested subshells, etc). Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ You don't stop riding because you get old, you get old because you stop riding. - Anon. on rec.motorcycles -- fedora-list mailing

Re: Bash help requested: Capturing command errors within pipes

2009-03-19 Thread Cameron Simpson
On 19Mar2009 18:55, Daniel B. Thurman d...@cdkkt.com wrote: Cameron Simpson wrote: Ok, but I strongly recommend you never us a regexp unquoted - the necessary backslash nesting gets nasty real fast. A better way is like this: re='s/b/h/' sed -e $re [...] The point here, unrelated

Re: xrander and big screen

2009-03-05 Thread Cameron Simpson
. (I don't run Gnome or KDE, so I can't help much there). Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ We don't like their sound, and guitar music is on the way out. --Decca Recording Co. rejecting the Beatles, 1962. -- fedora-list mailing list

Re: How to re-lock ssh private key?

2009-03-03 Thread Cameron Simpson
a key with ssh-add and specify a timeout then. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Piracy gets easier every day, but listening to legally purchased music gets harder by the day. Firehed - http://politics.slashdot.org/comments.pl?sid=179175cid

Re: Problem Deleting Directory Files

2009-02-11 Thread Cameron Simpson
' and proceed. On several UNIX platforms it's possible to give files away, and a tar unpack quite often preserves the ownerships from inside the tar archive, even as non-root. I'm fairly sure I've had this happen to me on Linux, and so it's quite possible he wasn't root during the unpack. Cheers, -- Cameron

Re: application to suck up RSS to local storage?

2009-01-29 Thread Cameron Simpson
that I can view it locally without much latency delays? I've used this: http://rss2email.infogami.com/ Delivers RSS entries into a mailbox; then read it with your preferred mail program. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Q: How many user support

Re: A bug in syslogd?

2009-01-23 Thread Cameron Simpson
, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Anagram: Information superhighway == I'm on a huge wispy rhino fart. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http

Re: OT: help with text file?

2009-01-17 Thread Cameron Simpson
number on each line of the new file? | | How about: | grep -o -E [[:digit:]]+$ foo.txt new_file.txt I see your grep and raise you a sed: sed 's/.*[^0-9]//' foo.txt new_file.txt Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing

Re: Disable root login via SSH

2009-01-13 Thread Cameron Simpson
in sshd_config... You have remembered to restart sshd, too, yes? kill -1 $(/var/run/sshd.pid) Sshd only reads its config when it starts, so this step or a stop/start of the sshd service is needed for changes to take effect. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: rsync help

2009-01-12 Thread Cameron Simpson
. and the corresponding stuff for the CIFS mount. It is necessary that the characters on the source directory be expressible on the target directory. If you hit a dead end here (on this list) there are always the rsync lists: http://rsync.samba.org/lists.html Cheers, -- Cameron Simpson c

Re: Bash and Single Quotes

2009-01-11 Thread Cameron Simpson
quotes, presuming you literally need double quotes in the --sout= option value. You want to use double quotes. If you want literal double quotes, escape them, eg: --sout=#transcode...,dst=\$MP3\} (replace ... with the other stuff I left out) Cheers, -- Cameron Simpson c...@zip.com.au DoD#743

Re: how to play an audio cd?

2008-12-26 Thread Cameron Simpson
jack, or hook the drive audio out to your sound card I believe (then you need to hook some more software to your sound card of course). -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ SCREECH! BUMP-BUMP! SCREECH! BUMP-BUMP! SCREECH! BUMP-BUMP! ZOOM! - the sound

Re: /etc/profile

2008-12-22 Thread Cameron Simpson
as they are started. Are you sourcing /etc/profile yourself, by hand? -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ The wonderous pulp and fibre of the brain had been substituted by brass and iron; he had taught wheelwork to think. - Harry Wilmot Buxton 1832

Re: procmail/examples

2008-12-16 Thread Cameron Simpson
enabled in yumex, I am not seeing the | src rpm for procmail. | So where can I get it? I'd go here: http://freshmeat.net/projects/procmail/ No RPM, but sources. Got a specific problem you're trying to solve? Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs

Re: stable algorithm with complexity O(n)

2008-12-13 Thread Cameron Simpson
more care on the comparison stage for most algorithms. I think you need to define the problem in more detail. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Newtons 4th law: For every action there is an equal and opposite beaureaucratic policy. - Adrian

Re: stable algorithm with complexity O(n)

2008-12-13 Thread Cameron Simpson
On 14Dec2008 01:42, Marko Vojinovic vvma...@panet.co.yu wrote: | On Sunday 14 December 2008 00:17, Cameron Simpson wrote: | On 13Dec2008 19:22, David Hl??ik da...@hlacik.eu wrote: | | i am really sorry for making offtopic, hope you will not kill me, but | | this is for me life important problem

Re: For Loops and Space in Names

2008-12-10 Thread Cameron Simpson
spaces in words trouble we're all working around here. Personally, I strive to be robust against weird names in my code, to avoid having to play rename games like yours. I do have renaming scripts like your for much the same reason you do, though. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743

Re: Sed programming question

2008-12-10 Thread Cameron Simpson
performance expense thus: /(foo.*bah|bah.*foo)/{ ... do stuff for foo AND bar } This gets combinatorially worse for each additional AND you try to fake; you are better off nesting matches as in the previous example. Have you considered joining the sed-users list? Cheers, -- Cameron

Re: For Loops and Space in Names, take 2

2008-12-10 Thread Cameron Simpson
On 10Dec2008 20:52, Robert Wuest [EMAIL PROTECTED] wrote: | On Thu, 2008-12-11 at 10:02 +1100, Cameron Simpson wrote: | Because the $1 is unquoted here you probably don't need the + in the | regexps. But you probably should quote $1 because of this: | |[/Users/cameron]fleet* x='t

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
one that is already in the environment then you've just broken it for every subprogram you call.) Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Network Planning Constraint Of The Month: You can't send bits over a non-existant link

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
On 09Dec2008 18:53, Dave Ihnat [EMAIL PROTECTED] wrote: | On Wed, Dec 10, 2008 at 11:17:05AM +1100, Cameron Simpson wrote: | is totally reliable and does not need $IFS hacking (which amounts to | guess a char I might not see in a filename). | | Hmm...I don't have as much problem

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
On 09Dec2008 20:55, Dave Ihnat [EMAIL PROTECTED] wrote: | On Wed, Dec 10, 2008 at 01:31:45PM +1100, Cameron Simpson wrote: | BTW, you know that this: ... | | Yes, I was doing bad pseudocode; it usually would be something like: | | exec 0/etc/passwd | while read inline | do

Re: f9 defunct processes right after logon

2008-12-04 Thread Cameron Simpson
wait()ed for it, so the parent is the culprit. BTW, is this a GUI or text mode login? -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Carpe Daemon - Seize the Background Process - Paul Tomblin [EMAIL PROTECTED] -- fedora-list mailing list fedora-list

Re: Current state of multi-core awareness

2008-12-04 Thread Cameron Simpson
connections. In fact, even | when not loaded, you will normally see many apache processes waiting | in a pool for incoming connections. Apache can be built in worker form (threaded) instead of prefork (lots of processes sharing the listen socket). Dunno how it ships on Fedora. -- Cameron Simpson [EMAIL

Re: stty switch

2008-11-29 Thread Cameron Simpson
there. In FC10, the X session is broken if we do a CTL ALT F1 (from the X session). Is it normal ? I saw some remark that the X session moved from tty7 to tty1 in FC10. I'm not running FC10 yet, so I can't check. Try CTL ALT F2 instead and see if tty2 is usable. -- Cameron Simpson [EMAIL PROTECTED

Re: Kernel Timeslice

2008-11-17 Thread Cameron Simpson
wake up, do something, then block (including reading from disk) then it's not such an issue. Can you elaborate on your app; it is really going to try to run 1000 CPU bound threads? It will be prtetty unusual. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs

Re: exclude option for rsync

2008-11-09 Thread Cameron Simpson
locally as with any shell command, and then again for the remote shell. It's doable, and even automatable (provided you trust there's a Bourne/POSIX shell at the far end, otherwise of course the far end quote syntax will be different...) Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: exclude option for rsync

2008-11-09 Thread Cameron Simpson
that in a wrapper script for calling rsync. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ MS-DOS: ... an OS originally designed for a microprocessor that modern kitchen appliances would sneer at - Dave Trowbridge, _Computer Technology Review_, Aug

Re: help: df slow

2008-11-06 Thread Cameron Simpson
answered your own question: it's slow because you have 10 | NFS mounts, thus 10 interactions with network-connected servers when you | do a df. Also, if one or more is down it can be VERY slow. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ The US government can't make

Re: how can I make sure only one instance of gkrellm runs

2008-10-16 Thread Cameron Simpson
it may serve. There are better ways, without races, but they are a bit more cumbersome to script and to understand. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ It's as if all of Scottish cuisine is based on a dare. - Saturday Night Live -- fedora-list

Re: Firefox page style switching -

2008-10-13 Thread Cameron Simpson
to no style, and it also lets you write custom styles and display pages with them. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http

Re: MSQL though a shell

2008-10-13 Thread Cameron Simpson
On 13Oct2008 18:47, Dennis Kaptain [EMAIL PROTECTED] wrote: | #!/usr/bin/perl -w | # this PERL script will connect to a remote MySQL database and execute a select statement The OP wants MSQL (Micro$oft SQL), not MySQL. Hence the ODBC remarks. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: install the Korn SHELL program

2008-10-02 Thread Cameron Simpson
? [...] zsh is an improved version and is already there Last time I checked zsh is not 100% compatible with ksh syntax. Has that changed? I'm impressed by how off target these responses are. His script doesn't work because he has a CR character on his scripts #! line! -- Cameron Simpson [EMAIL

Re: Text Manipulation/Replacement

2008-09-22 Thread Cameron Simpson
for next line } x # pull back hold space for printing Put that in a file called sedf and try: sed -f sedf olddata newdata and see how it goes. I think it will eat the last line as written. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Heaven

Re: Text Manipulation/Replacement

2008-09-22 Thread Cameron Simpson
). -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ The type syntax for C is essentially unparsable. - Rob Pike -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki

Re: Groups running wild

2008-09-22 Thread Cameron Simpson
newgrp. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: desperately seeking IgnoreEDID

2008-09-21 Thread Cameron Simpson
as a synonym for DDC False per Alan's suggestion. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Washing one's hands of the conflict between the powerful and the powerless means to side with the powerful, not to be Neutral. - Quote by Freire. Poster

Re: Script help

2008-09-19 Thread Cameron Simpson
break. So, you do not need the 1 option in a pipeline, and never have. BTW, sed 1q is shorter than head -1. I've never had much truck with head... -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Almost nothing in Perl serves a single purpose. - Larry Wall in [EMAIL

  1   2   >