Re: wrapped boxquoting

2002-07-13 Thread Sudip Pokhrel

Hi Januk,

On Sat, 13 Jul 2002 01:25:09 -0700 GMT (Jul 13, 13:55 my time),
you [JA] wrote:

JA [Begin QT]
JA ,- [ Begin %CURSOR] -
JA %COMMENT='%clipboard'%-
JA %COMMENT='%-
JA %-%-%SETPATTREGEXP=(?is-m)^(.*)\n$%-
JA %-%-%REGEXPMATCH=%-
JA %-%-%-%-%QINCLUDE=#wrap2#'%-
JA %QINCLUDE=bq2
JA `- [  End  ] -
JA [End   QT]

JA Where wrap2 and bq2 are the wrap recursive engine and the
JA boxquoting recursive engines respectively.

This works except for one problem, please see my examples below:

,- [ Begin ] -
| There is only one paragraph here: notice the empty space
|
|
`- [  End  ] -

,- [ Begin ] -
| There are two paragraphs in this example, this one
| 
| and this one: please notice bigger empty space at the end
| 
| 
| 
`- [  End  ] -

,- [ Begin ] -
| Here we have copied three paragraphs.
| 
| The empty space at the end of the paragraph is getting bigger.
| 
| The empty space increases proportionally with the number of paragraphs
|  
|  
|  
|  
`- [  End  ] -



-- 

Cheers,
Sudip  For PM:- mailto:[EMAIL PROTECTED]


Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build   A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]



 
   Willpower: The ability to eat only one salted peanut


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: attached files in replies

2002-07-13 Thread Daniel Grunberg

Fri, 12 Jul 2002 19:51:12[GMT -0300]   (6:51 PM EDST) you wrote:

 Can I make to include de original attached files in replies ???

While in Edit Mail Message

  Utilities | Attach files | MIME Coded




Using The Bat! v1.60q/Post3 
on Windows 95 4.0 Build  B



-- 

Daniel A. Grunberg   Kensington, Maryland, USA
homepage: www.nyx.net/~dgrunber/


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re[2]: Attribution Line in Replies and Forwarded Messages etc.

2002-07-13 Thread Chris Weaven

Hi Januk,

On Thursday, July 11, 2002 20:01 your local time, which was Friday, July
12, 2002 at 04:01 my local time, Januk Aggarwal [JA] wrote;

JA Ok, then I really don't know the problem.  Please include *all* of the
JA parts of your templates which affect the attribution line.

Umm. Right, you asked for it, so here are all my templates in
alphabetical order ;-)

Reply Template
%wrapped=#%qinclude=Attribution#

QT-Attribution
%wrapped=#On %QINCLUDE=Date %QINCLUDE=Time your local time,
%QINCLUDE=TimeZoneCheck %QINCLUDE='InitSelect' wrote;
%QINCLUDE=QuotesInit#

QT-Date
%REM=Do the translation of the weekday%-
%Comment=%-
%-%-%SETPATTREGEXP='(?im-s)^Date\:\s*(...)'%-
%-%-%REGEXPMATCH='%Headers'%-
%-
%IF:%Comment=Sun:Sunday:%-
%IF:%Comment=Mon:Monday:%-
%IF:%Comment=Tue:Tuesday:%-
%IF:%Comment=Wed:Wednesday:%-
%IF:%Comment=Thu:Thursday:%-
%IF:%Comment=Fri:Friday:%-
%IF:%Comment=Sat:Saturday:, %-
%-
%REM=Do Month translation%-
%Comment=%-
%SETPATTREGEXP='(?im-s)^Date\:.*?\,[\s\d]*(\S*)'%-
%REGEXPMATCH='%Headers'%-
%-
%IF:%Comment=Jan:January:%-
%IF:%Comment=Feb:February:%-
%IF:%Comment=Mar:March:%-
%IF:%Comment=Apr:April:%-
%IF:%Comment=May:May:%-
%IF:%Comment=Jun:June:%-
%IF:%Comment=Jul:July:%-
%IF:%Comment=Aug:August:%-
%IF:%Comment=Sep:September:%-
%IF:%Comment=Oct:October:%-
%IF:%Comment=Nov:November:%-
%IF:%Comment=Dec:December: %-
%-
%REM=Include date%-
%SETPATTREGEXP=(?im-s)^Date\:.*?\,\s*(\d*)%-
%REGEXPMATCH=%Headers, %-
%-
%REM=Add in Year%-
%SETPATTREGEXP=(?im-s)^Date\:.*?(\d{4})%-
%REGEXPMATCH=%Headers%-
%-
%Comment=%-

QT-Full Name
%CAPITAL='%ABofromNAME=%QINCLUDE=Full Name - No AB Entry'

QT-Full Name - No AB Entry
%SETPATTREGEXP=^(?(?=.*?\@)(.*?)\@|(.*)$)%-
%REGEXPBLINDMATCH=%OFROMNAME%-
%SUBPATT=1%SUBPATT=2%-

QT-Initials
%SETPATTREGEXP=(?is)(\w).*?([-_=@\.\s]+(\w).*?)?([-_=@\.\s]+(\w).*?)?$%-
%REGEXPBLINDMATCH=%QINCLUDE=Full Name%-
%SUBPATT=1%SUBPATT=3%SUBPATT=5%-

QT-InitSelect
%OFROMFNAME %OFROMLNAME%-
%IF:%-
%SETPATTREGEXP=(?im-s)^X-Mailer\:.*(Bat!|Becky|Gnus|slrn).*$%-
%REGEXPBLINDMATCH=%HEADERS%-
%SUBPATT=1: [%QINCLUDE=Initials]:

QT-OtherDate
%IF:'%SETPATTREGEXP=(?im-s)^Date\:.*?\,\s*(\d*)%-
%REGEXPMATCH=%HEADERS%-'='%ODATE=d':'%-
%ODATE= hh:nn':'%-
%ODATE=,  d,  at hh:nn%-

QT-QuotesInit
%QUOTESTYLE='%-
%IF:%-
%SETPATTREGEXP=(?im-s)^X-Mailer\:.*(Bat!|Becky|Gnus|slrn).*$%-
%REGEXPBLINDMATCH=%HEADERS%-
%SUBPATT=1:=%QINCLUDE=Initials:None'

QT-Time
%SETPATTREGEXP=(?im-s)^Date\:.*?([\d]{0,2}\:[\d]{0,2})\:[\d]{0,2}.*?([-+]\d{4})%-
%REGEXPBLINDMATCH=%HEADERS%-
%SUBPATT=1

QT-TimeZoneCheck
%IF:'%QINCLUDE=Time''%ODATE=hh:nn':'%-
which was %QINCLUDE=OtherDate my local time,%-
':''%-

Phew, quite a bit of copying and pasting there! I assume all that above
makes sense to you! If you can streamline it, it would be appreciated,
because as you can see, there are a few and I suspect it could be
cleaned!? :-)

CW The only other thing I wanted to work on was, if they're in the same
CW time zone, I wanted it to say in 'our' time zone, rather than in 'your'
CW time zone.

JA Ok, but that can be done as part of the streamlining of your current
JA templates.

Good luck!

Much appreciated and looking forward to seeing what you come back with.

Thanks,

Chris.

Ps. Sorry everyone!


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-13 Thread Januk Aggarwal

Hello Sudip,

On Saturday, July 13, 2002 at 14:45 GMT +0530, Sudip Pokhrel [SP]
heard voices say:

SP This works except for one problem, please see my examples below:
snip
SP | The empty space increases proportionally with the number of paragraphs

I can't really reproduce the problem.  All I get is 1 extra empty
line from wrap2, but that is taken care of by the template I gave you
previously.  So I'm not sure where the problem is being introduced in
your template system.  I imagine it must be from wrap2, so you could
try the following template.  However, I would check first if you
haven't miscopied the wrap2 template I referred to previously.

[Begin wrap2]
%IF:'%-
%SETPATTREGEXP=(?is-m)[^\n]+%-
%REGEXPMATCH=%COMMENT''':'%-
%-
%WRAPPED=_%SETPATTREGEXP=(?is-m)^(.*?)(\n((\w{0,5}(\\s*)+)?\n){1,}(.*)$|\z)%-
%-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
%-%-%-%-%-%SUBPATT=1_
%-
%COMMENT=_%SETPATTREGEXP=(?is-m)^.*?(\n((\w{0,5}(\\s*)+)?\n){1,}(.*)\s*$|\z)%-
%-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
%-%-%-%-%-%SUBPATT=5_
%-
%QINCLUDE=wrap2'
[ End  wrap2]


-- 
Thanks for writing,
 Januk Aggarwal

Is it OK to use the AM radio after noon?


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]