Mime-Version: 1.0 Content-Type: text/plain; charset=cp437 Content-Transfer-Encoding: 8bit X-URL: http://www.flora.org/lynx-dev/html/month032000/msg00118.html X-Mailer: Lynx, Version 2.8.3dev.21 In-Reply-To: <[EMAIL PROTECTED]> Subject: Re: lynx-dev Re: Using blat.exe with -noh2 option in latest lynx.exe To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] > * From: [EMAIL PROTECTED] >Mime-Version: 1.0 >Content-Type: text/plain; charset=cp437 >Content-Transfer-Encoding: 8bit >X-URL: http://www.flora.org/lynx-dev/html/month032000/msg00115.html >X-Mailer: Lynx, Version 2.8.3dev.21 >In-Reply-To: <[EMAIL PROTECTED]> >Subject: Re: Using blat.exe with -noh2 option in latest lynx.exe >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] > >This is a followup to a message not yet appearing on this board. I am >writing this from lynx.exe with LYMail.c altered to call blat.exe with >the -noh2 option so that only the lynx boilerplate gets appended to the >letter file. As you can see, the mailer or lynx inserts a blank line, >so the boilerplate still ends up as email text. Footnotes: I went through the existing LYMail.c code and devised a command-line test of the correctness of the USE_BLAT_MAILER code. It turns out that the command line blat "@blat_file.blt" letter.txt or blat @blat_file.blt letter.txt gives an error message in the most recent blat release. The sequence '@blat_file.blt' or '@ blat_file.blt' simply isn't recognized, and typing blat -h on the command line confirms that the response file call is not supported. So, you're stuck with altering LYMail.c along the lines of my suggested changes. Any developer doing this ought to consider making a send_cmd function like the obsolete blt_cmd, but with options invoked by the system variable use_blt that is set by the -noblat command-line option and getting rid of all the optional versions of code involving sendmail.exe, etc. Also, just in case lynx developers got puzzled when John changed the slang code so that the lynx keyboard no longer worked, there is a line in, I believe SLkeymap.c or some such file, where a static variable is set to handle Windows character translation for slang. You have to change that line to set that variable to initialize automatically to TRUE, and then lynx.exe works perfectly, well, almost perfectly, under libslang. Or, you can add a call to the appropriate initialization function in LYMain.c. One more point. I really hope that the blat.exe developers don't have some secret vendetta for lynx.exe so that they deliberately made the recent release of blat incompatible with the old blat code in lynx. If so, the developers might consider foraging through the WinVN source code at ftp://ftp.ksc.nasa.gov for the WinVN mailer which is undoubtedly the source for blat.exe. And, add this mail code to lynx so that all lynx send smtp mail is internal.
