Re: Organising photos visually

2018-01-30 Thread Cameron Simpson
[ Brought back on list, since Jon is very correct. - Cameron ] On 30Jan2018 05:09, Jon LaBadie wrote: On Tue, Jan 30, 2018 at 08:53:32PM +1100, Cameron Simpson wrote: Run a small shell script like this (untested, but happy to help debug): cd your-staging-directory n=1 while : do for f

Re: Organising photos visually

2018-01-30 Thread Cameron Simpson
On 30Jan2018 12:01, Patrick O'Callaghan wrote: On Tue, 2018-01-30 at 20:53 +1100, Cameron Simpson wrote: cd your-staging-directory n=1 while : do for f in *.jpg do [ -s "$f" ] || continue while : do target=$( printf 'your-ordered-di

Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread Cameron Simpson
The point here is that you might no need to know the % syntax, you can just put your own text there if you update it when needed. Cheers, Cameron Simpson (formerly c...@zip.com.au) ___ users mailing list -- users@lists.fedoraproject.org

Re: Organising photos visually

2018-02-01 Thread Cameron Simpson
anks for your suggestions (and ditto to Kenny and Rick among others who tried to help). A pleasure. Cheers, Cameron Simpson (formerly c...@zip.com.au) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org

Re: rsync question

2018-02-10 Thread Cameron Simpson
ress options to see things happening. Cheers, Cameron Simpson (formerly c...@zip.com.au) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org

Re: rsync question

2018-02-11 Thread Cameron Simpson
On 11Feb2018 16:40, Samuel Sieb wrote: On 02/10/2018 09:16 PM, Cameron Simpson wrote: On 10Feb2018 20:50, Robert Nichols wrote: On 02/10/2018 12:31 PM, bruce wrote: Got it.. or think I do.. It appears the -I --ignore-times  attribute will essentially force a redo of any/all files in the

Re: off topic -- vm issues

2018-02-12 Thread Cameron Simpson
er"? Less memory? Less disc? A snapshot with less disc might have a corrupted filesystem if you cut off a portion of the disc with files in it. Cheers, Cameron Simpson (formerly c...@zip.com.au) ___ users mailing list -- users@lists.fed

Re: is there such a thing as a linux "user profile"?

2018-02-20 Thread Cameron Simpson
hat. For myself, I sometimes keep a client/employer related script that hooks my shell into the environment I'm using to work on their stuff. Very handy to get predictable behaviour. Cheers, Cameron Simpson (formerly c...@zip.com.au) _

Re: change user id

2018-03-05 Thread Cameron Simpson
ll need to go after them also, and so forth. Cheers, Cameron Simpson (formerly c...@zip.com.au) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org

Re: change user id

2018-03-05 Thread Cameron Simpson
;admin" users who can use sudo and ordinary/guest users who can't. And normally no direct root login. (Yes, they're proper UNIX systems and you can boot single user etc.) It is actually a pretty good setup for consumer UNIX systems. Cheers, Cameron Simpson (formerly c...@zip.com.

Re: html to man page

2018-04-01 Thread Cameron Simpson
. But prehistoric is flat out incorrect. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org

Re: html to man page

2018-04-01 Thread Cameron Simpson
On 01Apr2018 23:55, sam varshavchik wrote: Cameron Simpson writes: There are plenty of popular human friendly formats out there like markdown and restructured text etc which render to various output formats. Which "human friendly" format can I use which already has tools to gen

Re: html to man page

2018-04-01 Thread Cameron Simpson
On 02Apr2018 01:29, sam varshavchik wrote: Cameron Simpson writes: Well I was using Perl's POD format several years ago as my primary manual writing syntax, generates man and html. Good HTML to XHTML might be an easy transcription, I've not tried. Not specificly recommending P

Re: Unmount delayed -

2018-05-07 Thread Cameron Simpson
his happen? Just asking. Because that would imply that sync doesn't, actaully, do what it is supposed to do. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org

Re: Display cmd within shell

2018-06-11 Thread Cameron Simpson
et it to "eecho", another tiny script which goes: #!/bin/sh echo "$*" >&2 which gets you do-nothing tracing mode, 90% of what a -n needs. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To

Re: Display cmd within shell

2018-06-16 Thread Cameron Simpson
On 16Jun2018 10:24, Marek Howard wrote: On Tue, 2018-06-12 at 07:52 +1000, Cameron Simpson wrote: Personally I like "set -x". I've even got a tiny line script called "set-x" which goes: #!/bin/sh set -x exec "$@" and many scripts which do variants on:

Re: Timezone question

2018-07-17 Thread Cameron Simpson
es systemd-timesyncd.service active: yes RTC in local TZ: no Thanks for looking Yeah, I'd suspect the shell environment, since your timedatectl outputs look equivalent. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject

Re: Timezone question

2018-07-17 Thread Cameron Simpson
On 17Jul2018 19:37, Ed Greshko wrote: On 07/17/18 19:33, Danny Horne via users wrote: On 17/07/18 12:05, Cameron Simpson wrote: What's in the environment? I like "env | sort". This nailed it, for some reason (don't ask why, I just don't know), but I placed &

Re: sed and grep stopped working!

2018-08-17 Thread Cameron Simpson
sible stdio bugs in sed or grep - I certainly came across one in GNU sed several years ago for input data. Just something to keep in mind for later. Cheers, Cameron Simpson $ echo "a-b-c" | sed -e 's/-//g' Workaround: $ echo "a-b-c" | perl -pe 's

Re: F28 Parole needs H.264 (High Profile) Decoder

2018-08-23 Thread Cameron Simpson
files; ISO14496 is a container format and doesn't prescribe a specific video data format. I believe .mp4 files are ISO14496 files with H264 video inside them. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To u

Re: tmux and powerline, unwanted info and error messages

2018-08-27 Thread Cameron Simpson
nd libGL messages, an X11 3D rendering library). I suspect a web browser started from the terminal outside the tmux session. Or a messaging programme (and "SID" might be a "session id"). Cheers, Cameron Simpson ___ users mailing list

Re: tmux and powerline, unwanted info and error messages

2018-08-27 Thread Cameron Simpson
outside your tmux, it's just outside the server too :-) You could divert yakyak's output to a log file. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedorapr

Re: Time -

2018-08-28 Thread Cameron Simpson
abort with usage before the main task begins - slightly distinct "bad usage" exit code of 2, versus the common value of 1 for generic "operation failed" - the simple shell script "flag" idiom: empty string false, nonempty string true, easy "[ $badopts ]" fl

Re: scp over wireless is slow

2018-09-02 Thread Cameron Simpson
p256 debug1: kex: server->client cipher: chacha20-poly1...@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1...@openssh.com MAC: compression: none Cheers, Cameron Simpson ___ users maili

Re: scp over wireless is slow

2018-09-03 Thread Cameron Simpson
ta areas) and for lots of small files use tar or cpio piped over ssh, which removes another layer of round trip latency (the per-file sync). Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email

Re: scp over wireless is slow

2018-09-05 Thread Cameron Simpson
posted in this thread. Alas, my reputation there is too low to comment. That's what I get for being a hermit and hating "forum" websites on the whole. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To uns

Re: OT: fastest way to copy one drive to another

2018-09-06 Thread Cameron Simpson
ync afterwards to clean up the rest: rsync -iaP /drive1/ /drive2/ Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getf

Re: OT: fastest way to copy one drive to another

2018-09-06 Thread Cameron Simpson
On 06Sep2018 21:25, Fred Smith wrote: On Fri, Sep 07, 2018 at 11:10:08AM +1000, Cameron Simpson wrote: On 06Sep2018 19:20, Ranjan Maitra wrote: >I have two drives mounted on a F28 system. Both are identical 4TB >drives. The second one is empty. I am concerned about the first >one f

Re: OT: fastest way to copy one drive to another

2018-09-06 Thread Cameron Simpson
ted on making new VMs by using Ghost (similar use case to Clonezilla) to a new blank VM. Instead of, you know, just copying a drive image file :-( Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an e

Re: OT: fastest way to copy one drive to another

2018-09-07 Thread Cameron Simpson
g the utility jetcat-mod between the 2 dd commands? Apologies, I think I've lost track of the attributions. I'd expect jetcat to (a) provide an agressive buffering beyond what a pipe provides (letting the first dd get ahead more) and (b) report progress.

Re: OT: fastest way to copy one drive to another

2018-09-08 Thread Cameron Simpson
n general (such as the Mac I'm typing this on). Can we please go back to _technical_ discussion instead of this? To satisfy the "no link to the code" people: [1] https://bitbucket.org/cameron_simpson/css/src/tip/bin/prcat Cheers, Cameron Simpson

Re: ssh -- from local/userA --> remote/userB

2018-09-08 Thread Cameron Simpson
ecurity reasons you see little of this detail on the machine A side as all such information helps attackers. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproje

Re: OT: fastest way to copy one drive to another

2018-09-11 Thread Cameron Simpson
uot;mount" journal replay does any repair. However, "out of band" damage caused by a failing drive cannot be implicitly repaired because the filesystem doesn't know about it. You need xfs_repair for that. The xfs_repair manual page ("man xfs_repair") is exten

Re: [OFF LIST] Re: OT: backing up a DVD

2018-09-11 Thread Cameron Simpson
u error message might be a side effect of the library being missing. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfed

Re: OT: fastest way to copy one drive to another

2018-09-12 Thread Cameron Simpson
On 12Sep2018 08:35, Cameron Simpson wrote: On 11Sep2018 15:11, Ranjan Maitra wrote: There is also xfs_repair: will this utility find the affected files? Short answer: I don't actually know. It may be more useful to run it against the bad drive because if those blocks are file data b

Re: OT: backing up a DVD

2018-09-12 Thread Cameron Simpson
omething against the problematic file, see if it reads the whole thing. Even "cat >/dev/null CHeers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.or

Re: OT: backing up a DVD

2018-09-12 Thread Cameron Simpson
On 13Sep2018 08:29, Cameron Simpson wrote: Regarding the DVD CSS stuff: I seem to recall from long ago that reading a CSS DVD without the libdvdcss stuff to arrange decoding produced read issues, not just garbled data. This might be that. Ah, here we go. In the tar-1.30 source, src/create.c

Re: OT: backing up a DVD

2018-09-12 Thread Cameron Simpson
On 12Sep2018 17:40, JD wrote: On 09/12/2018 04:39 PM, Cameron Simpson wrote: On 13Sep2018 08:29, Cameron Simpson wrote: Regarding the DVD CSS stuff: I seem to recall from long ago that reading a CSS DVD without the libdvdcss stuff to arrange decoding produced read issues, not just garbled

Re: OT: backing up a DVD

2018-09-12 Thread Cameron Simpson
s" and access the content. The libdvdcss library brute forces the weak encryption to gain access. The drives themselves are complicit in the DRM. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To un

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-20 Thread Cameron Simpson
". It looks like the "blockget -v -b block-number" command may provide useful info. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Co

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-20 Thread Cameron Simpson
On 20Sep2018 21:31, Ranjan Maitra wrote: On Fri, 21 Sep 2018 12:12:26 +1000 Cameron Simpson wrote: On 20Sep2018 19:06, Ranjan Maitra wrote: >I am sorry to return to this, but I am still struggling to find out the answer >to how to find files that had bad blocks in my old

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-22 Thread Cameron Simpson
er via xargs: find /path/to/your/drive -type f -print0 \ | xargs -0 cat -- >/dev/null 2>cat-errors.txt which will try to cat everything in batches and report errors to "cat-errors.txt" for later review. It should be substantially f

Re: offtopic questions??

2018-09-22 Thread Cameron Simpson
nbg=$(( nbg + 1 )) [ $nbg -lt $maxbg ] || { wait; nbg=0; } done 3which first of bursts of 128 curls and waits for them all, then runs another burst etc. If you want finer control, maybe move to Python using the requests library to do fetches and threads for the para

Re: Markdown viewer

2018-09-24 Thread Cameron Simpson
mportant thing here is that it empts the Markdown to stdout into "mkv". Views nicely in a terminal. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.f

Re: Markdown viewer

2018-09-27 Thread Cameron Simpson
On 25Sep2018 13:32, Jon Ingason wrote: Den 2018-09-25 kl. 12:45, skrev Patrick O'Callaghan: On Tue, 2018-09-25 at 08:47 +1000, Cameron Simpson wrote: "distinfo" is an alias associated with my release scripts, but the important thing here is that it empts the Markdown to s

Re: Markdown viewer

2018-09-27 Thread Cameron Simpson
ernative. I use Calibre so the viewer is installed, but I hadn't realised it could be used stand-alone. There's quite a few executables in Calibre's bin directory. And its database is SQLite3, very inspectable and accessable. Cheers, Cameron Simpson ___

Re: copy /home on one laptop to another

2018-10-06 Thread Cameron Simpson
laptop--switch--laptop or the "crossover cable" scenario: laptop--laptop In both these situations your laptops should be on the same IP network, and traffic will remain local. Cheers, Cameron Simpson ___ users mailing list -- users@list

Re: copy /home on one laptop to another

2018-10-06 Thread Cameron Simpson
ork" would impact his ISP quota. We just need to ensure he uses just his local LAN and make it clear that such traffic never goes near his ISP. So the local switch or a direct cable crossover. Cheers, Cameron Simpson ___ users mailin

Re: Replacing email list for users with a web forum software called Discourse, what's your opinion?

2018-10-20 Thread Cameron Simpson
. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https

Re: Cloning a BTRFS filesystem

2024-07-27 Thread Cameron Simpson
f disc. You could put a filesystem on a whole disc if you were happy to trash the partition table (i.e. not have one at all). So "device" is arguably a more correct term anyway. Cheers, Cameron Simpson -- ___ users mailing list -- users@lists

Re: SSH tunnel for ssh traffic

2010-05-16 Thread Cameron Simpson
shto or via its $RSYNC_RSH envvar, you can use that same syntax on the command line with rsync. I use it extensively; it has proven _extremely_ useful. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Processes are like potatoes.- NCR device driver manual --

Re: Linking two files together

2010-05-26 Thread Cameron Simpson
would behave from the outside just like a hard link but not be one on the inside. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Sometimes I think that the only reason I stay in the physics biz is the hope that someday I can give the "Thermonuclear Protection" a little t

Re: Linking two files together

2010-05-26 Thread Cameron Simpson
On 26May2010 17:06, Patrick O'Callaghan wrote: | On Thu, 2010-05-27 at 07:30 +1000, Cameron Simpson wrote: | > Can you elaborate on why you want this as opposed to to a hard link? | > i.e. what specific facility a hard link does _not_ give you that your | > proposal would? | | A

Re: Need some bash scripting assistance

2010-06-10 Thread Cameron Simpson
which seems a bit shorter. There's no sanity checking in there, eg that $cur_link is not empty or that the set command matches exactly one file. Most particularly, using find to get filenames is rather heavyweight and wordy and flakey in the face of weird filenames. Cheers, -- Cameron Simpson

Re: Calculating the target of a symlink

2010-06-19 Thread Cameron Simpson
ot; The readlink command is a GNU command - not portable to UNIX systems which don't have the GNU commands grafted on. Of course it is a one line perl or python script do implement this on a system with no readlink command. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/

Re: Bug in mailing lists; unfriendly to non-subscribers

2010-07-05 Thread Cameron Simpson
, your "users should do their own spam filtering" uses that logi. So, yes. | >> Moreover you have dozens of mailing lists, do you expect people to | >> subscribe to them when they want to send a one-time email? | > | > Yes.  You can unsubscribe if they want to, la

Re: Bug in mailing lists; unfriendly to non-subscribers

2010-07-05 Thread Cameron Simpson
from doing what they want. That's not the case, if I want to reply to | you privately, I can do that regardless of the settings. Wanna see? And the same for the reply-to. This works both ways. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ There is a chasm of carbon and sili

Re: Bug in mailing lists; unfriendly to non-subscribers

2010-07-06 Thread Cameron Simpson
On 06Jul2010 09:47, Felipe Contreras wrote: | On Tue, Jul 6, 2010 at 2:18 AM, Cameron Simpson wrote: | > On 05Jul2010 20:02, Felipe Contreras wrote: | > | I mean that there are many steps involved, go to this page, fill this, | > | wait for that, reply here, etc. | > | > The pro

Re: Bug in mailing lists; unfriendly to non-subscribers

2010-07-06 Thread Cameron Simpson
impact the final outcome of something is moot, not | mute. Everyone has their favorite misuse to annoy them. Felipe has already said English is not his first language. Cut him some slack here. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ An unbreakable toy is useful for break

Re: Problem with tarring out a tar file

2010-07-08 Thread Cameron Simpson
race.out" file. It will at least show you _exactly_ what tar is trying to do. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ To confine our attention to terrestrial matters would be to limit the human spirit. - Stephen Hawking -- users mailing list users@lists.fedoraproject.

Re: Reply-To munging summary (was: Bug in mailing lists; unfriendly to non-subscribers)

2010-07-10 Thread Cameron Simpson
button labelled "reply" usually mean now). It is _usually_ better to reply-to-all in ad hoc groups like the above example, and also better to reply-to-all in one-to-one conversation (where the buttons mean the same thing). So I, for one, would advocate going back in time and changing the

Re: Reply-To munging summary (was: Bug in mailing lists; unfriendly to non-subscribers)

2010-07-10 Thread Cameron Simpson
to which I am subscribed. Should you care? Unless your mail volume is biting into your ISP's bandwidth limits having thousands of messages is a win. Personally, if I subscribe to new a mailman list my first act is often to suck down the entire archive and unpack it into my mail folders so I can con

Re: vi question

2010-07-14 Thread Cameron Simpson
want. BTW, you know you can use "%" for 1,$ ? And "&" for the text matched by the whole pattern? The former is just convenient, but the "&" thing is very handy with big (or varying) patterns. :%s##&^V^M#g Cheers, -- Cameron Simpson DoD#743 http://www

Re: vi question

2010-07-14 Thread Cameron Simpson
#x27;t do what | you want, try the second. The former; Mike should get a literal ^M in the substiution command. The latter (^V^V^V^M) I have used in macro definitions to get ^V^M into the macro, to get the ^M when the macro runs:-) -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/

Re: xlsx to csv

2010-07-15 Thread Cameron Simpson
. But if it does it may be easy to transcribe to text, or to transcrive to csv so that xls2csv can then be used. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ If Lucas built weapons, wars would never start, either. - Robert Smits Ladysmith BC, e...@ham.almanac.bc.ca --

Re: how to uninstall preload?

2010-07-20 Thread Cameron Simpson
ackage state is kept entirely in the rpm database - it is safe, as far as the database integrity goes, to mix use of rpm and yum as suits your needs. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Wagner's music is better than it sounds.- Mark Twain

Re: how to know if I'm using xterm or gnome-terminal?

2010-02-23 Thread Cameron Simpson
ot always | > start xterm and run IRAF within it? | | Yes, I can always do that, but I want to make the script also ;-) Have the script start the xterm: : ${have_xterm:=} [ -n "$have_xterm" ] || exec env have_xterm=1 xterm -e "$0" ${1+"$@"} Self starts in an xter

Re: ssh tunneling client settings

2010-02-24 Thread Cameron Simpson
This is a client issue. Does the ssh client write | > to local log files? | | No. I think it may be a SELinux policy issue. You also get this if the server end is locked down in the sshd_config or in the key in the authorized_keys file. It is perfectly possible to permit only specific port for

Re: Risks of backing up live mounted filesystems using dump(8)

2010-03-01 Thread Cameron Simpson
esn't have that issue. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ SGI's are like F18's. SUN's are like F16's. Mac's are like Cessna 150's. PC's WellPC's are like a bumble bee with only one wing. - Kip J. Mussatt --

Re: bruteforce protection howto

2010-03-20 Thread Cameron Simpson
ass log quick proto tcp from anyto any port 22 flags S/SA keep state (max-src-conn-rate 20/60, overload flush) I believe you can do the same kind of thing in iptables these days if that's what you've got. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezosh

Re: Capturing verbose exit codes

2010-04-03 Thread Cameron Simpson
ive values for "terminated by signal N". Core dumps may not be exposed by the shell. Suvayu: try this: sleep 3600 & kill -9 $!; wait; echo "\$?=$?" and repeat with various kill numbers. See if you get anything useful. Cheers, -- Cameron Simpson DoD#743 http://ww

Re: Capturing verbose exit codes

2010-04-03 Thread Cameron Simpson
On 03Apr2010 18:06, Suvayu Ali wrote: | On Saturday 03 April 2010 04:22 PM, Cameron Simpson wrote: | > So the shell can report Terminated and Segmentation Fault reliably and | > Done versus failed because the wait status has distinct information. | > So he should be able to check do

Re: Help with a Bash script

2010-04-08 Thread Cameron Simpson
ther and going: sed ... | other changes ... | sh Saves a huge amount of mucking around. -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had

Re: Deleting all image files with "small" keyword

2010-04-11 Thread Cameron Simpson
g. Also, the whole point of xargs is to _circumvent_ the command exec() limit; it will run "rm" multiple times if necessary to avoid the command line limit. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Just because Unix is a multiuser system doesn't mean

Re: Terminal type??

2010-04-19 Thread Cameron Simpson
tely, on /usr/share/terminfo/x/ | xterm,which exists and is readable. H time for a reboot? These are looked up on the fly, so a reboot should not help. Try: strace -e trace=file clear 2>str.out and then examine str.out. Where is "clear" looking for terminal data? Cheers

Re: List Mail From Address

2010-04-27 Thread Cameron Simpson
ttle setup. Look at your mail reader's "View" options; you may be able to get a column shown for some other header (eg reply-to, or effective reply address). Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Netscape Messenger has displayed the mess

Re: How to compare filesystem contents

2010-05-07 Thread Cameron Simpson
on the new one? I'd use rsync: rsync -vn -aH /olddisk/ /newdisk/ Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Windows is really user friendly - it doesn't crash on its own, it first opens a dialog box, saying it will crash and you have to click OK :

Re: How to compare filesystem contents

2010-05-07 Thread Cameron Simpson
On 07May2010 07:11, ann kok wrote: | not sure why | that command won't work to me | | rsync -vn -aH /olddisk/ /newdisk/ | | it can't sync to newdisk Without seeing your command line and the error output I can't help. You _did_ include the "n" option? -- Came

Re: twm on F15

2011-06-14 Thread Cameron Simpson
e: #!/bin/sh ( xterm & ) exec twm (The purpose of the subshell it to make the clients - xterm - not be children of the WM - avoids zombies). Or you could just have the .xsession: #!/bin/sh . /etc/profile . $HOME/.profile ( xterm & ) exec twm Cheers, -- Cameron Simp

Re: 'at' command and apache user

2011-06-16 Thread Cameron Simpson
e crypt field. May as well check the account has a shell too: /bin/sh instead of /bin/false. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ "I wish it need not have happened in my time," said Frodo. "So do I," said Gandalf, "and so do all who l

Re: Cd to nonexistent directory in /proc

2011-06-17 Thread Cameron Simpson
as possible, stashing names closedir() now stat() or whatever all the names as needed stat() et al are not racy. We keep the raciness in the smallest timeframe possible with the above approach. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ ASCII n s. [from the g

Re: twm on F15

2011-06-27 Thread Cameron Simpson
(or GDM) GUI login prompt. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Adalio Sanchez, a manager for IBM's ThinkPad division, said that one popular spread sheet consumes nearly 100 percent of notebook power when idle. -- users mailing list users@lists.fedoraproject.o

Re: chown ??

2011-06-30 Thread Cameron Simpson
hown -R tom:tom . or cd /home chown -R tom:tom tom/. or some variantion of that form. Note the "/." in the second example: that _enters_ the tom directory for the chown. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Goverment is not reason; it is not elo

Re: problem wth sort utility?

2011-07-01 Thread Cameron Simpson
two (space:32, tab:9). Both space and tab sort lexically before digits (which start at 48 for "0"). If you're using another whitespace codepoint by accident then it will probably come above the digits and thus change the sort result. Cheers, -- Cameron Simpson DoD#743 http://www

Re: rc.local question/problem

2011-07-02 Thread Cameron Simpson
>/root/strace.out and you should get to see exactly what clamscan is doing, filewise. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being c

Re: rc.local question/problem

2011-07-03 Thread Cameron Simpson
On 02Jul2011 22:26, Paul Allen Newell wrote: | On 7/2/2011 10:06 PM, Joe Zeff wrote: | > On 07/02/2011 09:45 PM, Cameron Simpson wrote: | >> That should be the case. (Of course, SELinux can break anything - if you | >> run out of ideas you could turn it off to see if the be

Re: rc.local question/problem

2011-07-03 Thread Cameron Simpson
On 02Jul2011 22:24, Paul Allen Newell wrote: | inline and at tail ... As things should be :-) | On 7/2/2011 9:45 PM, Cameron Simpson wrote: | >On 02Jul2011 20:40, Paul Allen Newell wrote: [...] | >Thought: is clamscan setuid or something? | >If you get nowhere there, try stracing the

Re: rc.local question/problem (partly solved w/ setenforce=0)

2011-07-03 Thread Cameron Simpson
ect your rules. You can also run the system with selinux genuinely off, though I think it may need a reboot once selinux has been started at all. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ it seems like it's time to retire the length-of-sig-wasted-ban

Re: rc.local question/problem (partly solved w/ setenforce=0)

2011-07-03 Thread Cameron Simpson
On 03Jul2011 17:35, Paul Allen Newell wrote: | On 7/3/2011 5:15 PM, Cameron Simpson wrote: | > On 03Jul2011 15:02, Paul Allen Newell wrote: | > | On 7/3/2011 2:54 PM, Paul Morgan wrote: | > |>it really is bad form to run a script out of root's home | > |>directory. | >

Re: Strange symbolic link behaviour?

2011-07-04 Thread Cameron Simpson
viour I expect? alias pwd=/bin/pwd might remove the scales from your eyes. It is better to fix your expectations, because a symlink is not a mount. You're expecting it to act like a mount. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Kilimanjaro is a pretty tricky

Re: rc.local question/problem (partly solved w/ setenforce=0)

2011-07-07 Thread Cameron Simpson
evels 3 and/or 5, usually both. Ths command: chkconfig --level 35 clamav on would do this (presuming "clamav" to be the relevant name listed by "chkconfig --list" above - adjust to suit). of course, it would still be useful to figure out the best selinux incantation requir

Re: mail / mailx question

2011-07-09 Thread Cameron Simpson
stion elsewhere in the thread lets you test SMTP (port 25) connectivity; I gather you can't SMTP direct from one of your other responses. You probably need to tell your mail system (probably sendmail?) that its relay is your ISP's SMTP server. Cheers, -- Cameron Simpson DoD#743

Re: PDF to text?

2011-08-12 Thread Cameron Simpson
ossibly pdftotext does exactly that anyway. Of course it achieves nothing for me if the PDF is a scan. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Many companies are just now realizing that testing for the year 2000 problems will likely be more time-consuming and expensiv

Re: Solved - Console resolutions problems

2011-08-21 Thread Cameron Simpson
the athena widgets just suck. If you look at www.fvwm.org, check out the screenshots section: http://www.fvwm.org/screenshots/desktops/index.php?num=100 You may find one to your liking as a base layout for you to customise further. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezosho

Re: high i/o dirs

2011-08-25 Thread Cameron Simpson
example, XFS makes a deliberate attempt to store files physically close to their directories for performance reasons. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Microsoft - where "cross platform" means "runs in both Win95 and WinNT". - A

Re: pstotext ???

2011-08-29 Thread Cameron Simpson
t know about poppler-utils . FYI, I wrote this extremely dumb "text from PostScript" script. Crude, but not utterly ineffective, and it doesn't need much in the way of other tools. http://www.cskk.ezoshosting.com/cs/css/bin/unps Cheers, -- Cameron Simpson DoD#743 http://www.cskk.

Re: Question on DNS setup change not working.

2011-09-02 Thread Cameron Simpson
the _front_ of the search path in /etc/resolv.conf: search local your.normal.domain.here Then using the short names should work. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ "He deserves death!" "Deserves it! I daresay he does. And many die that de

Re: Crontab as alarm clock with ogg123

2010-07-24 Thread Cameron Simpson
ut a password and without needing a terminal (because it's happening from cron). Might I suggest the "at" command instead of cron? The same access issues will apply but you can more easily queue commands for arbitrary times. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezosh

Re: size discrepancy after tarring a dir

2010-09-03 Thread Cameron Simpson
s I suggest - if nothing else they may reveal more clues. | Dirx contains mp3's. "MP3s", please. There are no apostrophes in plurals! Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ I bested him in an Open Season of scouring-people's-postings-looking-for- sp

Re: selective command history

2010-09-17 Thread Cameron Simpson
ate +%Y%m%dT%H%M%S`; $*" ##echo -E "$_lh_line" >>"$BASH_HISTFILE" # give up trying to support bash's stupid history if [ -n "$LOGDIR" ] && [ -d "$LOGDIR/." ] then echo -E "$_lh_line" >>

  1   2   3   4   5   6   7   >