Re: [9fans] sed crash

2009-02-06 Thread Derek Fawcus
On Thu, Feb 05, 2009 at 04:13:46PM -0500, erik quanstrom wrote: > it would be much preferable to put the pgp > stuff in its own mime part, as many mail readers > do. X-Pgp-Agent: GPGMail d55 (v55, Leopard) X-Mailer: Apple Mail (2.930.3) and his mailer (plugin) can do so - if it is configured

Re: [9fans] sed crash

2009-02-05 Thread Akshat Kumar
2009/2/5 hiro <23h...@googlemail.com>: >>> PGP for Mac Mail hides everything. >> >> upas and GMail have this capability also, but you might > > No, I ecperience the same annoying PGP SIGNATURE stuff on gmail. > > hiding falls out naturally from automated filtration/deletion

Re: [9fans] sed crash

2009-02-05 Thread hiro
>> PGP for Mac Mail hides everything. > > upas and GMail have this capability also, but you might No, I ecperience the same annoying PGP SIGNATURE stuff on gmail.

Re: [9fans] sed crash

2009-02-05 Thread Akshat Kumar
2009/2/4 Pietro Gagliardi : > PGP for Mac Mail hides everything. upas and GMail have this capability also, but you might find it more favourable to simply consider others on the list, as well as the worth of the information you decide to include. filter: from: pietr...@mac.com *Delete* ak

Re: [9fans] sed crash

2009-02-05 Thread Uriel
Cool, thanks again! uriel On Thu, Feb 5, 2009 at 6:27 PM, Russ Cox wrote: >> P.S.: Silly question, why is du(1) not built by default in p9p? The >> code already there seems to work as far as I can tell.. > > It's a long story, dating back to when the standard mode of > operation was to put $PLAN

Re: [9fans] sed crash

2009-02-05 Thread erik quanstrom
> I misunderstood what they meant by "debugging." PGP is doing nothing > wrong; I thought there was debugging info in the email. imho, it is against the spirit of MIME to put encoded data in a text/plain body. your other post points out why funky non-standard encodings are a problem. it would

Re: [9fans] sed crash

2009-02-05 Thread john
> I misunderstood what they meant by "debugging." PGP is doing nothing > wrong; I thought there was debugging info in the email. > > On Feb 5, 2009, at 8:16 AM, erik quanstrom wrote: > >>> >>> What do you mean? Could you paste the raw text data for one of my >>> emails? PGP for Mac Mail hides e

Re: [9fans] sed crash

2009-02-05 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I misunderstood what they meant by "debugging." PGP is doing nothing wrong; I thought there was debugging info in the email. On Feb 5, 2009, at 8:16 AM, erik quanstrom wrote: What do you mean? Could you paste the raw text data for one of my ema

Re: [9fans] sed crash

2009-02-05 Thread Russ Cox
> P.S.: Silly question, why is du(1) not built by default in p9p? The > code already there seems to work as far as I can tell.. It's a long story, dating back to when the standard mode of operation was to put $PLAN9/bin ahead of the system binaries in your $PATH. In that context it didn't make se

Re: [9fans] sed crash

2009-02-05 Thread erik quanstrom
> erik quanstrom wrote: > > next we'll be replacing :-) (':' '-' ')' for those with impaired mail > readers) with a jpeg. > > This is Plan 9: replace it with ☺. clearly. " tcs -f emoticon" anyone? ☺ the point i'm trying to make is that "☺" is not the same as :-). i find it irritating that some

Re: [9fans] sed crash

2009-02-05 Thread Uriel
That was even faster than I expected. Thanks Russ! uriel P.S.: Silly question, why is du(1) not built by default in p9p? The code already there seems to work as far as I can tell.. On Thu, Feb 5, 2009 at 5:15 AM, Russ Cox wrote: > Sed is fixed in plan9port. > > $ hg diff sed.c > diff -r 478b538

Re: [9fans] sed crash

2009-02-05 Thread Joel C. Salomon
erik quanstrom wrote: > next we'll be replacing :-) (':' '-' ')' for those with impaired mail readers) with a jpeg. This is Plan 9: replace it with ☺. —Joel

Re: [9fans] sed crash

2009-02-05 Thread erik quanstrom
> > What do you mean? Could you paste the raw text data for one of my > emails? PGP for Mac Mail hides everything. > i considered adding code to upas to at least strip pgp nonesense from message bodies. but this would require upas to know things about what message bodies look like after mime

Re: [9fans] sed crash

2009-02-05 Thread Iruata Souza
On Thu, Feb 5, 2009 at 2:39 AM, Pietro Gagliardi wrote: > On Feb 4, 2009, at 10:58 PM, andrey mirtchovski wrote: > >> also, can you please remove debugging output from 9fans? > > What do you mean? Could you paste the raw text data for one of my emails? > PGP for Mac Mail hides everything. > > may

Re: [9fans] sed crash

2009-02-04 Thread Pietro Gagliardi
On Feb 4, 2009, at 10:58 PM, andrey mirtchovski wrote: also, can you please remove debugging output from 9fans? What do you mean? Could you paste the raw text data for one of my emails? PGP for Mac Mail hides everything.

Re: [9fans] sed crash

2009-02-04 Thread Russ Cox
Sed is fixed in plan9port. $ hg diff sed.c diff -r 478b53880a80 src/cmd/sed.c --- a/src/cmd/sed.c Wed Feb 04 20:12:48 2009 -0800 +++ b/src/cmd/sed.c Wed Feb 04 20:13:08 2009 -0800 @@ -994,7 +994,7 @@ return 0; subexp[0].s.rsp = buf; subexp[0].e.rep = 0; -

Re: [9fans] sed crash

2009-02-04 Thread andrey mirtchovski
also, can you please remove debugging output from 9fans?

Re: [9fans] sed crash

2009-02-04 Thread Akshat Kumar
Dear Pietro, Could you please remove the PGP Signatures from your messages? don't do unto us, illegibly ak

Re: [9fans] sed crash

2009-02-04 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The bug doesn't seem to be in sed. The match() function calls rregexec(), which sets a strucuture that is set to loc2, which is made null for some reason. On Feb 4, 2009, at 10:08 PM, Pietro Gagliardi wrote: -BEGIN PGP SIGNED MESSAGE-

Re: [9fans] sed crash

2009-02-04 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lp = loc2; loc2 = sp - genbuf + linebuf; while(*sp++ = *lp++) At the point of crash, loc2 is a null pointer when it is assigned to lp, so when the while() statement executes, crash. Now to find out why and when loc2 become

Re: [9fans] sed crash

2009-02-04 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 4, 2009, at 9:28 PM, Uriel wrote: For those that enjoy fixing bugs: % echo foo | sed 's/..a|..b|..c|..d|..e|..f|..g|..h|..i|..j|..k|..l|..m|..n|..o|..p//g' Will crash both native and p9p sed. Yes, I know it is a nonsensical expression, but

[9fans] sed crash

2009-02-04 Thread Uriel
For those that enjoy fixing bugs: % echo foo | sed 's/..a|..b|..c|..d|..e|..f|..g|..h|..i|..j|..k|..l|..m|..n|..o|..p//g' Will crash both native and p9p sed. Yes, I know it is a nonsensical expression, but it is the simplest one that still made it crash, I have lost the original version which wa