HOWTOTheBat

TheBat: Generate Boxquote

thebat

Here is a instruction how to build a boxquote with the email program TheBat what will be look then like this:

,—– [ Sample boxquote ]
| Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
| nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
| sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
| rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
| ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur
| sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
| dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
| et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
| takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
| amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
| invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
| At vero eos et accusam et justo duo dolores et ea rebum. Stet clita
| kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
| amet. Duis autem vel eum iriure dolor in hendrerit in vulputate velit
| esse molestie consequat, vel illum dolore eu feugiat nulla facilisis
| at vero eros et accumsan et iusto odio dignissim qui blandit praesent
`—–

First generate the quick template “bq”

%REM=' bq - Paste as Boxquote
written by Carsten Thoenges, November 2001
'%-
,----- [ %CURSOR ]
%REM=_Copy clipboard into comment_%-
%_COMMENT='%clipboard'%-
%-
%REM=_Does comment end with line break?_%-
%REM=_If no: add line break_%-
%IF:"%-
%-
%SETPATTREGEXP='(?is).*[\n]\z'%-
%REGEXPMATCH='%_COMMENT'"=""%-
:%-
"%_COMMENT='%_COMMENT
'"%-
%-
%REM=_Call the bq2 template_%-
%QINCLUDE="bq2"
`-----

After that create a second quick template “bq2”:

%REM=' bq2 - Required by Boxquote QTs
written by Carsten Thoenges, November 2001
'%-
%IF:"%-
%-
%SETPATTREGEXP='(?is).*?[\n](.*)'%-
%REGEXPMATCH='%_COMMENT'x"<>"x"%-
:"%-
%SETPATTREGEXP='(?is)(.*?)[\n]'%-
| %REGEXPMATCH='%_COMMENT'
%-
%_COMMENT='%-
%SETPATTREGEXP=""(?is).*?[\n](.*)""%-
%REGEXPMATCH=%_COMMENT'%-
%QINCLUDE='bq2'"%-
:%-
"| %_COMMENT%_COMMENT=''"%-

If you have done this you can try it out by cut or copy the text you want to quote. Then you type “bq” press [CTRL]+[SPACE] and you will get created a boxquote like in the example at the top.
All copyright by Mr Carsten Thoenges.

Have fun and let me know what you think about it.