RE: Learning regular expressions

2003-03-18 Thread Gareth Kirwan
Hey - I didn't realise there was a second edition.

Mastering Regular expressions is what I learnt from, found it great.

Gareth

 -Original Message-
 [mailto:[EMAIL PROTECTED] Behalf Of Mark Fowler
 
 You'd be better off with the 2nd Edition.
 
 O'Reilly: 0-596-00289-0
 http://www.oreilly.com/catalog/regex2/
 
 Shouldn't someone be reviewing this for the site?
 
 Mark.
 
 -- 
 #!/usr/bin/perl -T
 use strict;
 use warnings;
 print q{Mark Fowler, [EMAIL PROTECTED], 
 http://twoshortplanks.com/};
 






Re: Learning regular expressions

2003-03-18 Thread Mark Fowler
On Mon, 17 Mar 2003, Phil Dobbin wrote:

 You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
 (O'Reilly: 1-56592-257-3).

You'd be better off with the 2nd Edition.

O'Reilly: 0-596-00289-0
http://www.oreilly.com/catalog/regex2/

Shouldn't someone be reviewing this for the site?

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



YAPC::NA CFP ends on Tues 25th March

2003-03-18 Thread Mark Fowler
Hello.

This is a reminder that the deadline on abstract submittal for YAPC::NA
is on the 25th (i.e. a week today.)  This is for all types of talks
(lightning, short, long, and extra long.)

  http://www.yapc.org/America/cfp.shtml

This has been a public service announcement, we now return you to your
usual discussion.

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Re: Learning regular expressions

2003-03-18 Thread Kris Boulez
Quoting Mark Fowler ([EMAIL PROTECTED]):
 On Mon, 17 Mar 2003, Phil Dobbin wrote:
 
  You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
  (O'Reilly: 1-56592-257-3).
 
 You'd be better off with the 2nd Edition.
 
 O'Reilly: 0-596-00289-0
 http://www.oreilly.com/catalog/regex2/
 
 Shouldn't someone be reviewing this for the site?
 
I just finished reading it (privately). I agree that if you're serious
about regexes, you should read this book. The second edition also
contains chapters on Java, VB.net, ..

Perl is still the main languange of this book though. After reading this
book I was able to speed up a regex we're using in production by a
factor of 4.


Kris,



Starting Again

2003-03-18 Thread Brian Smart
Hi All,
I started to learn Perl and then had a period in Hospital which has put me
right back where I started. I would like to delete all references to Perl on
my website so that I can start from scratch. My website is hosted on an
Apache server and I use windows2000 on my PC.

I tried to delete all the Perl related files on the server but ended up with
some directories that could not be deleted because the directory held files
that I could not view.

Some help or advise would be greatly appreciated.

Regards

Brian Smart




Re: Learning regular expressions

2003-03-18 Thread Greg McCarroll
* Mark Fowler ([EMAIL PROTECTED]) wrote:
 On Mon, 17 Mar 2003, Phil Dobbin wrote:
 
  You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
  (O'Reilly: 1-56592-257-3).
 
 You'd be better off with the 2nd Edition.
 
 O'Reilly: 0-596-00289-0
 http://www.oreilly.com/catalog/regex2/
 
 Shouldn't someone be reviewing this for the site?
 

*looks down at the ground and shuffles feet nervously*

Greg

-- 
*** ***
***   Email address has changed to [EMAIL PROTECTED] . Please   ***
***   update your email address book.   ***
*** ***
Greg McCarroll http://www.mccarroll.org.uk/~gem/
   jabber://[EMAIL PROTECTED]



Re: Learning regular expressions

2003-03-18 Thread Marty Pauley
On Tue Mar 18 10:21:20 2003, Mark Fowler wrote:
 On Mon, 17 Mar 2003, Phil Dobbin wrote:
 
  You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
  (O'Reilly: 1-56592-257-3).
 
 You'd be better off with the 2nd Edition.

Or you could come to Belfast next Monday and hear Mark Jason Dominus
give his Perl Regular Expression Mastery course.

-- 
Marty



Re: Starting Again

2003-03-18 Thread Jason Clifford
On Tue, 18 Mar 2003, Brian Smart wrote:

 I started to learn Perl and then had a period in Hospital which has put me
 right back where I started. I would like to delete all references to Perl on
 my website so that I can start from scratch. My website is hosted on an
 Apache server and I use windows2000 on my PC.
 
 I tried to delete all the Perl related files on the server but ended up with
 some directories that could not be deleted because the directory held files
 that I could not view.
 
 Some help or advise would be greatly appreciated.

If you cannot view or delete the files from FTP this usually indicates 
that the web process created the files with odd permissions.

The easiest way to resolve this is to nicely ask your web hosting company 
to remove the files for you.

Jason Clifford
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Get the T-Shirt Now




Re: Starting Again

2003-03-18 Thread Mark Fowler
On Tue, 18 Mar 2003, Brian Smart wrote:

 could not be deleted because the directory held files that I could not view.

You can delete all directories and files within a directory by logging
into your apache box with ssh/telnet, or the command line ftp utility[1].

  bash$ pwd   # print out where you are to make
  /where/your/files/are   # sure you're in the right dir

  bash$ rm -rf direcory_name  # delete directories children

Be *VERY* careful with this command.  It won't ask you for confirmation
(that's what the -f option means) and it will delete all your files very
quickly.  There's no undo and no undelete.  I've killed laptops with this
command in the past (sorry Leon) though not giving it enough respect.

rm will delete hidden files when it works recursively as in the above
example.  rm * (which is what you've probably been using) will however
_not_.  You can list hidden files (those starting with a .) by typing

 bash$ ls -a   # list _all_ files, inc. hidden in current dir
 bash$ ls -a foo   # same for the directory foo

Mark.

[1] Start-Run cmd, hit OK, then type ftp www.servername.com
-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Oracle Jobs @ UK? [Was: Re: Obsolete software]

2003-03-18 Thread Luis Campos de Carvalho

  Hy list folks.
  I was reading this thread and wondering about how is the oracle DBA market
at London. Can anybody here tell me if there is good job offers for a
certified oracle DBA at London and surroundings?

  Thank you very much for any informations.

  Best regards.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Luis Campos de Carvalho
  Computer Science Student
  OCP DBA Oracle  Unix Sys Admin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

- Original Message -
From: Lusercop `the.lusercop'@lusercop.net
To: [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 8:19 PM
Subject: Re: Obsolete software


 On Mon, Mar 17, 2003 at 11:03:35PM +, Chris Benson wrote:
  We're spending about 6 hours every Sunday mornings gathering stats
  for one application :-( It seems that we've also been wasting 2hours
  a night gathering partial (estimated) stats ... which overwrite the
  complete stats.  So we're better off with week-old actual values than 1
  day-old estimates!
 
  Isn't Oracle wonderful: jobs for life(tm)

 %
 [Oracle's work unit licensing], however leads to gainful employment for
people
 who'd otherwise be cluttering up park benches. Justify your job for a
whole
 year by reducing Oracle CPU use by just 5%. :-)
 -- Andrew Mobbs
 %

 --
 Lusercop.net - LARTing Lusers everywhere since 2002






Re: Learning regular expressions

2003-03-18 Thread Phil Dobbin
On 18/3/03 10:21, Mark Fowler [EMAIL PROTECTED] wrote:

 On Mon, 17 Mar 2003, Phil Dobbin wrote:
 
 You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
 (O'Reilly: 1-56592-257-3).
 
 You'd be better off with the 2nd Edition.

[...]

Hey, I've bought thirty-two O'Reilly books as it is ;-)

Regards,

Phil.
-- 
for(reverse(1..100)){$s=($_==1)? '':'s';print$_ bottle$s of beer on the
wall,\n;
print$_ bottle$s of beer,\nTake one down, pass it around,\n;
$_--;$s=($_==1)?'':'s';print$_ bottle$s of beer on the
wall\n\n;}print'*burp*';





Re: Oracle Jobs @ UK? [Was: Re: Obsolete software]

2003-03-18 Thread Dave Hodgkinson
On Tue, 2003-03-18 at 12:31, Luis Campos de Carvalho wrote:
   Hy list folks.
   I was reading this thread and wondering about how is the oracle DBA market
 at London. Can anybody here tell me if there is good job offers for a
 certified oracle DBA at London and surroundings?

http://www.jobstats.co.uk/jobstats.d/Details.d/Trends.d/SKILL/ORACLE.d/index.html
http://www.jobstats.co.uk/jobstats.d/Details.d/Trends.d/LOCATION/LONDON.d/index.html


-- 
Dave Hodgkinson [EMAIL PROTECTED]




Re: Learning regular expressions

2003-03-18 Thread Chris Benson
On Tue, Mar 18, 2003 at 12:41:18PM +, Phil Dobbin wrote:

 Hey, I've bought thirty-two O'Reilly books as it is ;-)

I'll raise you: (gulp) forty-eight at home[*] including the 1988
(first?) edition of the X11 manuals.

I blame Josette. You can't turn round without getting a discount: London
PerlMounger - get a discount, Tyneside PerlMounger - get a discount,
UKUUG member - get a discount, ...

:-)

[*] implying an uncounted number at work ...
-- 
Chris Benson



Re: Oracle Jobs @ UK? [Was: Re: Obsolete software]

2003-03-18 Thread Chris Benson
On Tue, Mar 18, 2003 at 12:51:49PM +, Dave Hodgkinson wrote:
 On Tue, 2003-03-18 at 12:31, Luis Campos de Carvalho wrote:
I was reading this thread and wondering about how is the oracle DBA market
  at London. Can anybody here tell me if there is good job offers for a
  certified oracle DBA at London and surroundings?
 
 http://www.jobstats.co.uk/jobstats.d/Details.d/Trends.d/SKILL/ORACLE.d/index.html
 http://www.jobstats.co.uk/jobstats.d/Details.d/Trends.d/LOCATION/LONDON.d/index.html

Looks like a qualified maybe. (Up 1% since February!).
-- 
Chris Benson



RE: Starting Again

2003-03-18 Thread Brian Smart
Hello Mark and others who replied to my query,
I have managed to delete the offending files so I am now back to the start.

Ivor queried if I was using Activestate on my PC. I installed that without
any difficulty and have been able to run Perl on my PC. My problems start
when I try to upload and run Perl on my web server. I will try again but I
suspect I may be back for more help.

There is one piece of advice I would like to get me going: where should any
new modules which are not part of the core Perl be placed on my web site and
where should my scripts go. I have had conflicting advise from other areas.

Regards

Brian Smart


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Fowler
Sent: 18 March 2003 12:00
To: [EMAIL PROTECTED]
Subject: Re: Starting Again


On Tue, 18 Mar 2003, Brian Smart wrote:

 could not be deleted because the directory held files that I could not
view.

You can delete all directories and files within a directory by logging
into your apache box with ssh/telnet, or the command line ftp utility[1].

  bash$ pwd   # print out where you are to make
  /where/your/files/are   # sure you're in the right dir

  bash$ rm -rf direcory_name  # delete directories children

Be *VERY* careful with this command.  It won't ask you for confirmation
(that's what the -f option means) and it will delete all your files very
quickly.  There's no undo and no undelete.  I've killed laptops with this
command in the past (sorry Leon) though not giving it enough respect.

rm will delete hidden files when it works recursively as in the above
example.  rm * (which is what you've probably been using) will however
_not_.  You can list hidden files (those starting with a .) by typing

 bash$ ls -a   # list _all_ files, inc. hidden in current dir
 bash$ ls -a foo   # same for the directory foo

Mark.

[1] Start-Run cmd, hit OK, then type ftp www.servername.com
--
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};





Re: Learning regular expressions

2003-03-18 Thread Jon Reades
Jonathan Peterson wrote:
I assume that this was supposed to be:
 =~ m/\s*(?:y|(ok))/i


I did.


But this is hardly easier than 'eq'.

Easier for the programmer? Of course not! Heh, when I say better I mean
better for the user, and therefore a better bit of software. Programmers are
just staff, but users are people :-)
I agree that accepting  y,Y, my mother is all well and good 
from a usability standpoint, but I believe that the original context of 
this thread was simply whether or not regexs are hard and how well they 
perform (or, conversely, how poorly they perform when they aren't 
well-formed).

 To not do so is broken, end of story. It baffles me that some people 
think
 in the year 2003 it's OK to have software that does this:

I would agree with you on this, but it makes the assumption that we're 
discussing user-interactions. Funnily enough, my assumption was that 'y' 
came from some kind of flat-file in which it might be the result of some 
kind of form input (e.g. radio button) or log data, but I guess that's 
because I've spent too long working with ETL code and not people. ;)

jon

--
jon reades
fulcrum analytics
t: 0870.366.9338
m: 0797.698.7392
f: 0870.888.8880
lower ground floor
2 sheraton street
london w1f 8bh



Capturing local machine's IP address in bash

2003-03-18 Thread Jon Reades
Mongers,

I've been trying to assemble a simple bash script that will set up some 
simple VPN tunnels for me when I need to connect to my company's 
Netscreen box.

I've made it most of the way there, but I currently need one script for 
each possible address (e.g. sh /init.d/vpn/192.168.0.1.sh, sh 
/init.d/vpn/192.168.1.1.sh).

A much easier way to do this would be to have the bash script get the 
local IP address by requesting it directly from the client machine. 
Unfortunately, ifconfig is a little hard to parse if you're not human 
and using bash, and I can't find any other functions to return just the 
IP address of, say, en0.

Does anyone have suggestions for where/how I could obtain this information?

TIA,

jon

--
jon reades
fulcrum analytics
t: 0870.366.9338
m: 0797.698.7392
f: 0870.888.8880
lower ground floor
2 sheraton street
london w1f 8bh



Re: Capturing local machine's IP address in bash

2003-03-18 Thread Joel Bernstein
On Tue, Mar 18, 2003 at 05:12:35PM +, Jon Reades wrote:
 
 Mongers,
Mongchop to you ;-)
 
 I've been trying to assemble a simple bash script that will set up some 
 simple VPN tunnels for me when I need to connect to my company's 
 Netscreen box.
 
 I've made it most of the way there, but I currently need one script for 
 each possible address (e.g. sh /init.d/vpn/192.168.0.1.sh, sh 
 /init.d/vpn/192.168.1.1.sh).
 
 A much easier way to do this would be to have the bash script get the 
 local IP address by requesting it directly from the client machine. 
 Unfortunately, ifconfig is a little hard to parse if you're not human 
 and using bash, and I can't find any other functions to return just the 
 IP address of, say, en0.
 
/sbin/ifconfig|grep eth0 -2|grep inet|cut -f2 -d:|awk '{print $1}' would
work, non? for eth0 anyway. that extends fairly trivially to something
for each eth stanza...

why not just use perl? :-p

/joel



Re: Learning regular expressions

2003-03-18 Thread Greg McCarroll
* Chris Benson ([EMAIL PROTECTED]) wrote:
 On Tue, Mar 18, 2003 at 12:41:18PM +, Phil Dobbin wrote:
 
  Hey, I've bought thirty-two O'Reilly books as it is ;-)
 
 I'll raise you: (gulp) forty-eight at home[*] including the 1988
 (first?) edition of the X11 manuals.
 
 I blame Josette. You can't turn round without getting a discount: London
 PerlMounger - get a discount, Tyneside PerlMounger - get a discount,
 UKUUG member - get a discount, ...
 
 :-)
 

/me sits in the corner looking smug

-- 
*** ***
***   Email address has changed to [EMAIL PROTECTED] . Please   ***
***   update your email address book.   ***
*** ***
Greg McCarroll http://www.mccarroll.org.uk/~gem/
   jabber://[EMAIL PROTECTED]



Re: Capturing local machine's IP address in bash

2003-03-18 Thread Ian Brayshaw
On Tue, 2003-03-18 at 17:12, Jon Reades wrote:
 A much easier way to do this would be to have the bash script get the 
 local IP address by requesting it directly from the client machine. 
 Unfortunately, ifconfig is a little hard to parse if you're not human 
 and using bash, and I can't find any other functions to return just the 
 IP address of, say, en0.
 
 Does anyone have suggestions for where/how I could obtain this information?
 

Depending on your flavour of *nix, you might be able to use 'hostname -i'.


Ian


-- 
s@[EMAIL PROTECTED]@##@@#y^#@712($;='z')s(..)0$1gs$0s(.)([^01])
$1x$2xge($.='a')s$d4823604df80d7e51d7018b9(@_=$...$;)undef$.;do
{s(.)(.*)(.)$..=$1.$3,$2e}while(length);s$.;$*=0;undef$.;$..=($_?$_[(
$*+=$_)[EMAIL 
PROTECTED]:$)foreach(map{hex}m(..)g);s.*$.$/s(\b.)\U$1goprint




Re: Capturing local machine's IP address in bash

2003-03-18 Thread darren chamberlain
* Jon Reades jreades at fulcrumanalytics.com [2003-03-18 12:15]:
 Does anyone have suggestions for where/how I could obtain this
 information?

It's not bash, but it will work:

  perl -MSys::Hostname -MSocket -e 'print inet_ntoa inet_aton hostname'

(darren)

-- 
Whatever is done for love is beyond good and evil.
-- Friedrich Neitzsche



c email libraries

2003-03-18 Thread Simon Wistow

I'm convinced that there *must* exists somewhere a C library to parse
emails and another one that implements jwz's threading algorith,

But I'll be bggered if I can find one.

Does such a beast exist?



-- 
it's a short link to a dead king




Re: Capturing local machine's IP address in bash

2003-03-18 Thread Jon Reades
Joel Bernstein wrote:
snip
/sbin/ifconfig|grep eth0 -2|grep inet|cut -f2 -d:|awk '{print $1}' would
work, non? for eth0 anyway. that extends fairly trivially to something
for each eth stanza...
Ah, piece of cake, why didn't I figure that out for myself. ;) I knew 
there was a reason I broke out any time I got serious about working in 
bash. Thank you for that fantastic piece of code!

why not just use perl? :-p
If the rest of my script is going to look like that then I think I'll 
see if I *can*.

jon
--
jon reades
fulcrum analytics
t: 0870.366.9338
m: 0797.698.7392
f: 0870.888.8880
lower ground floor
2 sheraton street
london w1f 8bh



Re: c email libraries

2003-03-18 Thread Paul Makepeace
On Tue, Mar 18, 2003 at 05:48:12PM +, Simon Wistow wrote:
 I'm convinced that there *must* exists somewhere a C library to parse
 emails and another one that implements jwz's threading algorith,

apt-get source mutt

Paul

-- 
Paul Makepeace ... http://paulm.com/

What is justice? Avatars pick my brian.
   -- http://paulm.com/toys/surrealism/



Re: c email libraries

2003-03-18 Thread Dave Hodgkinson
On Tue, 2003-03-18 at 17:48, Simon Wistow wrote:
 I'm convinced that there *must* exists somewhere a C library to parse
 emails and another one that implements jwz's threading algorith,
 
 But I'll be bggered if I can find one.
 
 Does such a beast exist?

you asked him?

-- 
Dave Hodgkinson [EMAIL PROTECTED]




Re: c email libraries

2003-03-18 Thread Leon Brocard
Simon Wistow sent the following bits through the ether:

 Does such a beast exist?

Dunno, but Simon's Perl Email Project looks promising:
http://search.cpan.org/author/SIMON/Email-Simple/

Leon
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... Always forgive your enemies, nothing annoys them so much



Re: c email libraries

2003-03-18 Thread Marty Pauley
On Tue Mar 18 17:48:12 2003, Simon Wistow wrote:
 
 I'm convinced that there *must* exists somewhere a C library to parse
 emails

http://www.gnu.org/software/mailutils/

I'm not sure how stable it is.

 and another one that implements jwz's threading algorith,

Dunno about that.  I thought he provided the C code himself.


-- 
Marty



Re: Learning regular expressions

2003-03-18 Thread Dave Cross
On Tue, Mar 18, 2003 at 12:41:18PM +, Phil Dobbin ([EMAIL PROTECTED]) wrote:
 
 Hey, I've bought thirty-two O'Reilly books as it is ;-)

I quick count in the area round my desk at home finds 120 O'Reilly books.
There are others at work as well I think.

Dave...

-- 
  Brian: Oh screw Maximilian!
  Sally: I do.
  Brian: So do I.



Re: Learning regular expressions

2003-03-18 Thread Luis Campos de Carvalho
- Original Message -
From: Dave Cross [EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 3:51 PM


 On Tue, Mar 18, 2003 at 12:41:18PM +, Phil Dobbin
([EMAIL PROTECTED]) wrote:
 
  Hey, I've bought thirty-two O'Reilly books as it is ;-)

 I quick count in the area round my desk at home finds 120 O'Reilly books.
 There are others at work as well I think.


  pedanticHey, Dave, do you work at a Book Store? =-]/pedantic

  Sorry, I can't resist...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Luis Campos de Carvalho
  Computer Science Student
  OCP DBA Oracle  Unix Sys Admin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Re: [OT] PDA recommendation, and rants, and IMAP, and MTAconfiguration

2003-03-18 Thread David Cantrell
On Monday, March 17, 2003 12:28 + Paul Mison [EMAIL PROTECTED] wrote:
On 17/03/2003 at 11:45 +, Andy Williams \(IMAP HILLWAY\) wrote:
1) Get at my email using my mobile phone as the modem. I guess
Bluetooth is the best way of doing this.
2) Read Word and Excel docs that people keep sending me g!!
3) Read PDF docs
4) Usual calendar type stuff.
5) Games for those boring train journeys :)
Palm Tungsten Ts look nice (ie I don't have one), and do the Bluetooth
thing. Down to £ 300, and come with a bundle of Documents to Go, I
believe. So do some of the Sony handhelds, but they don't come with
Bluetooth until they get very expensive indeed.
But be aware that their 68k / old PalmOS emujlation is a bit crap, so older 
applications may not work properly despite it being meant to be sdrawkcab 
combatible.

Personally, I'd say don't bother using a PDA for email, the interface is 
just crap.  If you must, then use Multimail - which I *think* Palm have 
bought and bundle with new devices, which will send/receive via the hotsync 
cradle and your desktop machine*.

If you're happy using black and white and infrared, you can do all this
with pretty much any low end Palm OS machine, but make sure Documents to
Go gets bundled.
Reading MS documents is not really practical for the same reason that mail 
isn't practical - the interface simply isn't designed for that sort of 
document.  At an absolute minimum you'll lose ALL the formatting plus any 
dynamic content such as automagically calculated ToCs.  Forget about 
editing them as the software doesn't support that.

Use the right device for the task - that is, a PDA for your calendar, 
address book, reading books etc.  Use a laptop for email and for reading 
weird proprietary formats.

* - on the subject of unusual mail clients, I'm trying out Mulberry.  It 
has many interesting quirks and missing features.  Like the ability to sort 
my mailbox without having to dick around with mouse and menus, and it 
doesn't seem to like syncing to an IMAP server when there are deleted 
messages in my inbox.  It sees the messages on the server, but just plain 
refuses to download them.  This is irritating.  And it does *not* do 
disconnected IMAP properly like what Multimail and mailsync do.  With 
Mulberry, you can't apply changes to both versions of your mailbox nad have 
it just Do The Right Thing.  It seems to implement disconnected operations 
by recording what you do and playing it back later.  Really Fucking Stupid. 
Changes are keyed to msgid, so if you ever have two messages in your 
mailbox with the same msgid (which is legal) I know that it will break 
horribly.
Bah. Grrr.  Thankfully, I just finished recompiling the universe on my 
ibook - needed to get fink unstable, then upgrade about 300 packages so 
that that worked, and only then could I install the one package - mailsync 
- that I wanted.  Then hopefully I'll be able to wrap real IMAP around 
mutt.  Just one more thing to do, I need to figger out MTA-fu so that I can 
transparently send mail but have it queued locally until I get a network 
connection.  It works for immediate sending, but deferred sending just 
drops messages on the floor.  Which is irritating.

--
David Cantrell


Re: [OT] PDA recommendation, and rants, and IMAP, and MTA configuration

2003-03-18 Thread Roger Burton West
On Tue, Mar 18, 2003 at 08:41:20AM +, David Cantrell wrote:
Personally, I'd say don't bother using a PDA for email, the interface is 
just crap.  If you must, then use Multimail - which I *think* Palm have 
bought and bundle with new devices, which will send/receive via the hotsync 
cradle and your desktop machine*.

Though be aware that Multimail's IMAP client is not standards-compliant;
it falls over whenever it meets a fairly common server extension.

R



Re: [OT] PDA recommendation.

2003-03-18 Thread Paul Makepeace
On Mon, Mar 17, 2003 at 11:45:53AM -, Andy Williams (IMAP HILLWAY) wrote:
 Hi,
 
 I've decided to enter the 21st century and buy a PDA.
 Does anyone have any recommendations?

LinuxDevices is reporting that the Linux PDA Sharp Zaurus 5500 is going
for  US$200 (!) presumably thanks to Sharp releasing the 5600 yesterday.

http://www.linuxdevices.com/news/NS4241298322.html - cheap 5500
http://www.linuxdevices.com/news/NS3449791061.html - about 5600

Paul

-- 
Paul Makepeace ... http://paulm.com/

If I pass the buck, will I get the help, then I go to the occean and
 call on them.
   -- http://paulm.com/toys/surrealism/



Re: Starting Again

2003-03-18 Thread David Cantrell
On Tuesday, March 18, 2003 11:59 + Mark Fowler 
[EMAIL PROTECTED] wrote:

 bash$ ls -a   # list _all_ files, inc. hidden in current dir
 bash$ ls -a foo   # same for the directory foo
ls -A is useful too - it does the same as -a but doesn't list . or ... 
That last one is .. followed by a full stop.  Curse this Unix stuff.

--
David Cantrell


Re: Learning regular expressions

2003-03-18 Thread David Cantrell
On Tuesday, March 18, 2003 11:29 + Greg McCarroll 
[EMAIL PROTECTED] wrote:
* Mark Fowler ([EMAIL PROTECTED]) wrote:
You'd be better off with the 2nd Edition.

O'Reilly: 0-596-00289-0
http://www.oreilly.com/catalog/regex2/
Shouldn't someone be reviewing this for the site?
*looks down at the ground and shuffles feet nervously*
You should have kept quiet, I wasn't going to be naming any names, what 
with me being the next person on the naughty list :-)

If you (and that's you plural, for anyone else who owes a book review) 
don't have the time to do a thorough review of a book that you've got, then 
a shorter review of your first impressions, or of a few selected chapters, 
would still be useful.

--
David Cantrell


Making running X listen on TCP

2003-03-18 Thread Paul Makepeace
Is it possible to make X listen for network connections, without
restarting it? Or maybe run another one that doesn't interfere
graphically with the current one? (me - no X-pert)

I have a big X session I'd rather not lose, and Phoenix still doesn't
have a Save Session feature :-/ But I'd like to test another headless
machine's X clients.

Paul

-- 
Paul Makepeace ... http://paulm.com/

What is the flavor du jour? It is silence, silence, silence.
   -- http://paulm.com/toys/surrealism/



Re: [OT] PDA recommendation.

2003-03-18 Thread Adam Spiers
Paul Makepeace ([EMAIL PROTECTED]) wrote:
 On Mon, Mar 17, 2003 at 11:45:53AM -, Andy Williams (IMAP HILLWAY) wrote:
  Hi,
  
  I've decided to enter the 21st century and buy a PDA.
  Does anyone have any recommendations?
 
 LinuxDevices is reporting that the Linux PDA Sharp Zaurus 5500 is going
 for  US$200 (!) presumably thanks to Sharp releasing the 5600 yesterday.
 
 http://www.linuxdevices.com/news/NS4241298322.html - cheap 5500
 http://www.linuxdevices.com/news/NS3449791061.html - about 5600

Finally!  Don't suppose anyone bought a CL-700 yet?  Am very tempted ...



Re: Starting Again

2003-03-18 Thread Chris Devers
On Tue, 18 Mar 2003, Randal L. Schwartz wrote:

  Paul == Paul Makepeace [EMAIL PROTECTED] writes:

 Paul ... is where you keep warez, pr0n and rootkits.

 No, I use .  for that.  Or maybe .\n :)


You keep rootkits, Randal?

I thought you weren't supposed to be doing that


:)



-- 
Chris Devers[EMAIL PROTECTED]



Re: [OT] PDA recommendation, and rants, and IMAP, and MTAconfiguration

2003-03-18 Thread Dave Hodgkinson
On Tue, 2003-03-18 at 08:41, David Cantrell wrote:
 y, I'd say don't bother using a PDA for email, the interface is 
 just crap.  If you must, then use Multimail - which I *think* Palm have 
 bought and bundle with new devices, which will send/receive via the hotsync 
 cradle and your desktop machine*.

What's wrong with Eudora? IMAP seems to work (although I'm using the
filters to ignore stuff for download). I'm sure there's a sync option
too.

-- 
Dave Hodgkinson [EMAIL PROTECTED]




Re: Starting Again

2003-03-18 Thread Randal L. Schwartz
 Paul == Paul Makepeace [EMAIL PROTECTED] writes:

Paul ... is where you keep warez, pr0n and rootkits.

No, I use .  for that.  Or maybe .\n :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!