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

2010-01-06 Thread Cameron Simpson
a permissions | > change; I don't know how picky rpm/yum is about this. | | It's chmoded group and user readable, which is not really necessary | but doesn't change much, IĀ suppose. rpm has some "verify" options. See the VERIFY OPTIONS section of "man rpm"

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

2010-01-06 Thread Cameron Simpson
On 06Jan2010 01:50, Marcel Rieux wrote: | On Wed, Jan 6, 2010 at 1:40 AM, Cameron Simpson wrote: | > On 06Jan2010 00:24, Marcel Rieux wrote: | > | This message was issued while updating shadow-utils today. The weird thing is: | > | | > | ls -l /etc/login.defs.rpmnew | > | -rw

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

2010-01-05 Thread Cameron Simpson
le 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ There is onl

Re: whence RPCBIND_ARGS?

2010-01-02 Thread Cameron Simpson
RPCBIND_ARGS="-h some.local.lan.address" or the like to start rpcbind with particular arguments. Cheers, -- Cameron Simpson 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 bro

Re: Firefox not working after on line updates

2009-12-22 Thread Cameron Simpson
pear that firefox is dependent on sqlite. 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Never was so much owed by so many to so few.

Re: Question about Backing up with tar

2009-12-09 Thread Cameron Simpson
/var etc 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 DoD#743 http://www.cskk.ezos

Re: Question about internal hard drives

2009-11-19 Thread Cameron Simpson
the money, I'd use RAID 1. It is simpler and in some ways more flexible. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ When you say `I wrote a program that crashed Windows', people just stare at you blankly and say `Hey, I got those with the system, *f

Re: man 3 switch

2009-11-18 Thread Cameron Simpson
standards. The first two are very readable and I'm sure the last is too. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ I am perfectly capable of cooking myself. - sn...@lsl.co.uk -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.re

Re: man 3 switch

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

Re: how to find out dead links

2009-11-14 Thread Cameron Simpson
- to print to a file literally named -.) Cheers, -- Cameron Simpson 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: Simple Network Question: Part 2

2009-11-05 Thread Cameron Simpson
On 05Nov2009 15:50, Steven Stern 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ You can fool too many of the people

Re: run command via ssh - problem

2009-11-04 Thread Cameron Simpson
hell command...' to see exactly what the shell is doing with the string you're giving it. All of this before throwing over the net with ssh. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ No man should escape our universities without knowing how little he kn

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

2009-11-04 Thread Cameron Simpson
On 04Nov2009 09:56, Alan Cox wrote: | On Wed, 4 Nov 2009 14:22:22 +1100 | Cameron Simpson wrote: | > On 04Nov2009 14:01, I wrote: | > | On 03Nov2009 23:45, Alan Cox wrote: | > | | Such as the kernel ... which is much happier in 64bit mode with over 1GB | > | | of RAM. [...] |

Re: How to determine if a file is in use

2009-11-03 Thread Cameron Simpson
file x? | 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Carpe Daemon - Seize the Background Process - Paul Tomblin -- fedora-list mailing

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

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

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

2009-11-03 Thread Cameron Simpson
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 DoD#743 http://www.cskk.ezoshosting.com/

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

2009-11-02 Thread Cameron Simpson
isn't practical, as users need to | see (and occasionally change) surrounding text too. Thus, classical | editor is needed... Ok, you'll 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

Re: : bash command help - nohup

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

Re: two major failures after yesterday updates - anyone else

2009-10-29 Thread Cameron Simpson
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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Gabriel Genellina: See PEP 234 http://www.p

Re: File conversion

2009-10-17 Thread Cameron Simpson
On 18Oct2009 13:52, Ed Greshko 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ You c

Re: Strange behavior with PS1 prompt

2009-10-17 Thread Cameron Simpson
\[ 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, i

Re: Strange behavior with PS1 prompt

2009-10-17 Thread Cameron Simpson
] 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. -- Camer

Re: Swing applications' menu have no border

2009-10-13 Thread Cameron Simpson
by the window manager, so the "Clearlook" theme is probably a more "normal" theme. Do other non-java apps' meus get borders in Clearlook? I would guess that the two themes simply take different decoration approaches to these windows. Choose the one you like more, or see if t

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

2009-10-06 Thread Cameron Simpson
On 07Oct2009 00:28, gil...@altern.org wrote: | Cameron Simpson wrote: | > On 06Oct2009 08:42, 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 of work! | > | > U

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

2009-10-06 Thread Cameron Simpson
On 07Oct2009 09:38, Tim 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 | > f

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

2009-10-05 Thread Cameron Simpson
erbirds 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

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

2009-10-05 Thread Cameron Simpson
the References: header. It probably does assume you post with the same mail/newsreader you read with to make tracking 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

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 DoD#743 http://www.cskk.ezoshosting.com/cs/ In this [C

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

2009-10-04 Thread Cameron Simpson
> | The problem is the thread sometimes has hundreds of posts and you might | > | have 10. They're hard 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'

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

2009-10-03 Thread Cameron Simpson
plied to. A quick '/~P~Q' (search for messages from me that have been replied 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, --

Re: do_gettimeofday()undefined reference

2009-10-03 Thread Cameron Simpson
urprised if anything in the main library is spelt "do_*".) Cheers, -- Cameron Simpson 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: creating a new gnome terminal, running a command when the term starts...

2009-10-02 Thread Cameron Simpson
he "-e shell-command-string" variation as well. You might prefer 'foo; exec $SHELL', depending on your needs. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restfu

Re: Munged Headers....

2009-09-27 Thread Cameron Simpson
2407 stuff; it behaves just fine too. I'd really like to know what happened to Bruno's setup. Bruno, could you attach Frank's original message, as it is in _your_ mail folder, to your reply for inspection? I'd like to compare it against my copy and the

Re: Munged Headers....

2009-09-27 Thread Cameron Simpson
ince I can't find the supposed header you're arguing about I'm having trouble sorting this out. 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 dama

Re: Running a Script- and debugging.

2009-09-25 Thread Cameron Simpson
r, _putting_ them in the $PATH). i.e. check specific required stuff, not a hand-waving "might I have been invoked in some special way". -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Sometimes the only solution is to find a new problem. -- fedora-list mailing l

Re: Running a Script- and debugging.

2009-09-22 Thread Cameron Simpson
uot;emacs" and use the command "nano", which is a small and point-and-type style editor. Cheers, -- Cameron Simpson 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.

Re: pseudo terminals

2009-09-17 Thread Cameron Simpson
On 17Sep2009 18:19, devi wrote: | On Thu, 2009-09-17 at 08:09 +1000, Cameron Simpson wrote: | > On 16Sep2009 19:43, devi 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: | > | > > The co

Re: pseudo terminals

2009-09-16 Thread Cameron Simpson
ho -n "service httpd status" >/dev/pts/1 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

Re: pseudo terminals

2009-09-09 Thread Cameron Simpson
ther terminal. The command "service httpd status" is executing in the virtual machine's terminal. mean? There's a VM of some kind running? Cheers, -- Cameron Simpson 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
flickering in and out of D state so fast that the OS housekeeping becomes expensive. Cheers, -- Cameron Simpson 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 I like that line. I hope my boss falls

Re: Question on shredding a terebyte drive

2009-09-02 Thread Cameron Simpson
sibly a lot faster, and be just as good for security purposes. (I would think; 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, -- Camero

Re: convert ico to svg or png

2009-09-02 Thread Cameron Simpson
GraphicsMagick some years back). -- Cameron Simpson 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: list files but not directory

2009-08-25 Thread Cameron Simpson
h this: ls -hl | grep '^[^-]' Cheers, -- Cameron Simpson 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 -- fedo

Re: list files but not directory

2009-08-23 Thread Cameron Simpson
On 21Aug2009 05:17, ann kok 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 DoD#743 http://www.cskk.ezo

Re: Unmatched Entries

2009-08-13 Thread Cameron Simpson
rses your logs and summarises 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

Re: scripting doubts

2009-08-06 Thread Cameron Simpson
On 05Aug2009 09:52, Arthur Meeks Meeks wrote: | 2009/8/5 Cameron Simpson | > On 04Aug2009 20:04, Arthur Meeks Meeks | > wrote: | > | What's the problem? When I can't log into a mysql database (mostly | > | cause it is down) I got a "0", what I want is to discard

Re: scripting doubts

2009-08-04 Thread Cameron Simpson
ttention to the mysql exit status. Perhaps something line this: : ${TMPDIR:=/tmp} cmd=`basename "$0"` tmpbase=$TMPDIR/$cmd.$$ trap 'rm -f "$tmpbase".*' 0 1 3 15# tidy up grants=$tmpbase.grants.txt while read host do mysql -h "$host" -ub

Re: fedora 11 bash maximum line length?

2009-07-20 Thread Cameron Simpson
#x27;ve seen it shoved into the middle of pipelines "just because":-( Anyway, "man 2 execve" ought to answer this question. And indeed, I see it has a secion entitled "Limits on size of arguments and environment" which talks about ARG_MAX and how that doesn't apply

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

2009-07-14 Thread Cameron Simpson
one. But personally I prefer to require a special flag for such operation (eg --force). Cheers, -- Cameron Simpson 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 unsu

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

2009-07-09 Thread Cameron Simpson
o? find /foo/*.txt -ls find /foo/*.txt -cmin +10 -ls 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&#

Re: Firefox not reading prefs.js [SOLVED]

2009-06-20 Thread Cameron Simpson
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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Do not underestimate your abilities. That is your boss'

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

2009-06-19 Thread Cameron Simpson
t you try to always work with "sh" unless 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Sometimes you jus

Re: Questions with rsync

2009-06-03 Thread Cameron Simpson
backup automatically honours a .hbinclude file in the backup area as an '--include-from' 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 Simp

Re: maildir setup for mutt

2009-06-02 Thread Cameron Simpson
re 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Below 9000rpm it's very boring, above 1rpm it&#

Re: Globbing with scp

2009-05-26 Thread Cameron Simpson
won't have to type passwords all the time. Cheers, -- Cameron Simpson 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 of more moves, clip, cli

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

2009-04-22 Thread Cameron Simpson
w running XMaple. I would now start using the "ethtool" command to examine the ethernet interfaces on your local host 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

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

2009-04-22 Thread Cameron Simpson
t keys and IP addresses and host names in order to detect when things change (i.e. to check if an imposter has arrived). We would 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 not

Re: useradd and the default group

2009-04-13 Thread Cameron Simpson
the group file. Absent the setgid bit 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Drive Agres

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

2009-04-12 Thread Cameron Simpson
rm "$tmp" maybe? Untested, but you get the idea I'm sure. Cheers, -- Cameron Simpson 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@redh

Re: Resources to learn C

2009-04-04 Thread Cameron Simpson
really a tutorial. But it is also not very long, 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

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

2009-04-01 Thread Cameron Simpson
than your RAM. 2: Issue a "sync" command after the cp or mv. Only after that will the data be on the target volume. The sync time must be counted in your timing. A sync doesn't force the OS to _read_ from disc though. if you've read the data recently then th

Re: Efficient Create Swap File?

2009-03-27 Thread Cameron Simpson
; it might make sense. > > Comments? Leaving aside the possibilty that the swap system will simply refuse to work on a file 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

Re: Bash help requested: Capturing command errors within pipes

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

Re: Bash help requested: Capturing command errors within pipes

2009-03-21 Thread Cameron Simpson
t;. (And uniq requires sorted input; the repeated lines must be adjacent in the input.) It is often correct to replace "sort -n | uniq" with "sort -un", but I was clearly wrong to do so here. > What I do in my code, is to create a copy of the sorted > and uniq'd orig

Re: Bash help requested: Capturing command errors within pipes

2009-03-19 Thread Cameron Simpson
On 19Mar2009 18:55, Daniel B. Thurman 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: Bash help requested: Capturing command errors within pipes

2009-03-19 Thread Cameron Simpson
| { z || touch $badness; } if [ -f $badness ] then rm $badness echo badness happened >&2 fi It has the advantage of working in non-pipe circumstances (nested subshells, etc). Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ You don't stop rid

Re: xrander and big screen

2009-03-05 Thread Cameron Simpson
nable in your desktop? Have a poke around the configuration panels. (I don't run Gnome or KDE, so I can't help much there). Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ We don't like their sound, and guitar music is on the way out. --Decca Rec

Re: How to re-lock ssh private key?

2009-03-03 Thread Cameron Simpson
ontrol how long an added key starts "good". You can also add a key with ssh-add and specify a timeout then. Cheers, -- Cameron Simpson 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 -

Re: Problem Deleting Directory & Files

2009-02-11 Thread Cameron Simpson
hat user again using 'su' 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 qu

Re: application to suck up RSS to local storage?

2009-01-29 Thread Cameron Simpson
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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Q: How many user support people does it take to change a light

Re: A bug in syslogd?

2009-01-23 Thread Cameron Simpson
ing almost zero cpu % since there is zero output to | /var/log/messages? Not really. Your kernel logging is still _all_ going through syslogd, which is quietly deciding not to _copy_ it into the messages file. But it still has to consider and then discard) every kernel message. Cheers, -- Cameron Si

Re: OT: help with text file?

2009-01-17 Thread Cameron Simpson
On 17Jan2009 22:24, Matthew Flaschen wrote: | Cameron Simpson wrote: | > On 17Jan2009 20:36, Matthew Flaschen wrote: | > | Dave Stevens wrote: | > | > I have a sequence of lines of ASCII text of varying length, each of which ends | > | > with an integer. Anyone have a quic

Re: OT: help with text file?

2009-01-17 Thread Cameron Simpson
h 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list

Re: Disable root login via SSH

2009-01-13 Thread Cameron Simpson
On 13Jan2009 11:54, Leon Vergottini wrote: | I followed the steps on | http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux | http://forums.fedoraforum.org/showthread.php?t=47795 | | to disbale root log via ssh, however after doing it I am still able to log | in as r

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

Re: Bash and Single Quotes

2009-01-11 Thread Cameron Simpson
;, though. So, how can this be done? No, they don't. They're there to protect the double 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...,

Re: how to play an audio cd?

2008-12-26 Thread Cameron Simpson
audio 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ SCREECH! BUMP-BUMP! SCREECH! BUMP-BUMP! SCREECH! BUMP-BUMP! ZOOM! - the sound of a non-y

Re: /etc/profile

2008-12-22 Thread Cameron Simpson
re you sourcing /etc/profile yourself, by hand? -- Cameron Simpson 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, referring to Charles

Re: procmail/examples

2008-12-16 Thread Cameron Simpson
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 DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora

Re: stable algorithm with complexity O(n)

2008-12-13 Thread Cameron Simpson
On 14Dec2008 01:42, Marko Vojinovic wrote: | On Sunday 14 December 2008 00:17, Cameron Simpson wrote: | > On 13Dec2008 19:22, David Hl??ik wrote: | > | i am really sorry for making offtopic, hope you will not kill me, but | > | this is for me life important problem which needs to

Re: stable algorithm with complexity O(n)

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

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: | > | &g

Re: Sed programming question

2008-12-10 Thread Cameron Simpson
ombinatorially 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 Simpson <[EMAIL PROTECTED]> DoD#743 http://www.cskk.ezoshosting.com/cs/ Frisbeetarianism: The belief

Re: For Loops and Space in Names

2008-12-10 Thread Cameron Simpson
e f will only operate on the first 3 names. Besides, the "for i; do" notation is shorter and clearer (once you know that leaving off the "in" clause iterates over the command line arguments). And all to frequently you see this in scripts: for i in $*; do which has the usual

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 DoD#743 -- fedora-list mailing list fe

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 a

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
er know the full list of exported variables, and if you reuse 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 T

Re: Current state of multi-core awareness

2008-12-04 Thread Cameron Simpson
sses launched to handle the multiple 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). Dun

Re: f9 defunct processes right after logon

2008-12-04 Thread Cameron Simpson
e parent has not yet 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]> -- fed

Re: mysql question

2008-12-03 Thread Cameron Simpson
183219 | dbname,dbname | | | +---+--+---+--+ Isn't this decribed in the MySQL doco? http://dev.mysql.com/doc/refman/5.0/en/replication.html http://dev.mysql.com/doc/refman/5.0/en/replication-options-binary-log.html Did you look there first? -- Came

Re: stty switch

2008-11-29 Thread Cameron Simpson
han then work from 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 u

Re: Kernel Timeslice

2008-11-17 Thread Cameron Simpson
low level for Steve's task. Steve, do a bit of load testing and see where things start to get bad. Cheers, -- Cameron Simpson <[EMAIL PROTECTED]> DoD#743 http://www.cskk.ezoshosting.com/cs/ Support Darwinian evolution -- Squash a weakling today. - David Wren-Hardin <[EMAIL P

Re: Kernel Timeslice

2008-11-17 Thread Cameron Simpson
the CPU flat out before a new scheduling decision is made. If, like most handlers, your threads 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 p

Re: exclude option for rsync

2008-11-09 Thread Cameron Simpson
precisely you need to quote twice, once 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, --

Re: exclude option for rsync

2008-11-09 Thread Cameron Simpson
ist automatically. Then you just use 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&q

Re: help: df slow

2008-11-06 Thread Cameron Simpson
oblem? | | I think you 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.ezos

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

2008-10-16 Thread Cameron Simpson
user some months ago. But for a single person running a single GUI 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 a

Re: Bash/Awk/Sed email list

2008-10-14 Thread Cameron Simpson
egnome.org:59321/cgi-bin/mailman/listinfo/shell.scripting http://groups.yahoo.com/group/sed-users/ http://groups.google.com/group/comp.lang.awk There are probably others, but these have a high quality in my experience. Cheers, -- Cameron Simpson <[EMAIL PROTECTED]> DoD#743 http://www.c

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]

Re: Firefox page style switching -

2008-10-13 Thread Cameron Simpson
sounds like the "Stylish" extension. I think it bound Ctrl-Z 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@redha

  1   2   >