lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Re: Borland-compiled binary


From: Webmaster Jim
Subject: lynx-dev Re: Borland-compiled binary
Date: Sun, 8 Aug 1999 13:54:44 -0400

On Sun, Aug 08, 1999 at 01:36:07AM -0400, Webmaster Jim wrote:
> Thanks to Hiroyuki Senshu and Tom Dickey, the dev.5 version of Lynx now
> compiles on my Borland C++ Builder 4.0. I had to do some things a little
> differently than the INSTALLATION says, which I will document presently.

In testing this binary today, I found that I cannot mail from it.
Viewing the error messages takes some interesting key motions under
Windows (finally I'm glad I took piano lessons :-).

The earlier version of Lynx for Win32 I have shows this when mailing a
comment:

============================================================================
Sending your comment:

$ sendmail -f address@hidden -h netman2.bcpl.lib.md.us -r mail.bcpl.net
  -m SMTP -t "address@hidden" -F c:\tmp\44294669.txt
============================================================================

The 283dev5 version shows this:

============================================================================
Sending your message...


Sending your comment:
$ sendmail -f address@hidden -h netman2.bcpl.lib.md.us -r mail.bcpl.net
  -m SMTP @c:\tmp\00182589.blt

Please wait...Must specify recipient
============================================================================

I'm using the same lynx.cfg in both cases, so there must be some code
that has been specified to use the different format expected by the
sendmail program that Hiroyuki used (blat?).

In LYMail.c, the code currently looks like this for UNIX (~line 2022):

    sprintf(cmd, "%s %s", system_mail, system_mail_flags);

Later, the DOSPATH/SH_EX branch has this:

#ifdef SH_EX    /* 1998/05/04 (Mon) 22:40:35 */
    if (mail_is_blat) {
        StrAllocCopy(command,
                blat_cmd(
                    system_mail,
                    tmpfile2,
                    address,
                    subject,
                    ccaddr,
                    personal_mail_address
                )
        );
    } else {
        StrAllocCopy(command, system_mail);
        StrAllocCat(command, " -t \"");
        StrAllocCat(command, address);
        StrAllocCat(command, "\" -F ");
        StrAllocCat(command, tmpfile2);
    }

I think this needs some revision so that the system_mail executable and
appropriate system_mail_flags are set in the lynx.cfg rather than being
done at configure/compile time. When I get some time, I'll tweak my
version to try this.

------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
<http://www.altavista.com/cgi-bin/query?q=%22web+home+for+jim+spath%22>
Marvin the Paranoid Android says:
How do you think I feel?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]