X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Thomas Mueller" Newsgroups: comp.os.msdos.djgpp Subject: Re: GNU Emacs DOS (DJGPP) port converts upper-ASCII characters to ASCII 127 Date: 18 Feb 2002 11:48:24 GMT Lines: 49 Message-ID: References: <5567-Sat16Feb2002190140+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: dial3-118.bluegrass.net (208.147.34.118) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1014032904 2474708 208.147.34.118 (16 [49635]) X-Mailer: NOS-BOX 2.05 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > For a simple command line SMTP mailer under plain DOS, I would recommend a combination of the WATTCP program "TCPPORT" (not DJGPP, since it must be a real mode program) with "X_MAILN" from the UKA_PPP package. I will be including sample batch files for doing this with the next package of the DJGPP port of the lynx browser that I put up on my web site. John Lewis has had a similar setup for the "Bobcat386" package of lynx (same DJGPP binary), using a modified version of X_MAILN. See his "MAILOUT" package: "http://members.kingston.net/lewis/mailout.zip" > TCPPORT connects to port 25 of the SMTP server, while X_MAILN handles the scripting of the conversation with the server. > UKA_PPP is licensed free only for non-commercial use. Karl-Heinz Weiss, its author, has agreed to license X_MAILN free for commercial use also when used as a mailer with lynx. Doug > Doug Kaufman > Internet: dkaufman AT rahul DOT net That's what I use, including X_POP for POP3 download and X_NEWS for NNTP uploads/downloads. But X_MAILN from UKA_PPP 1.7x2 gives Unexpected server response with my ISP, so I copied X_MAILN from the previous version, to a slightly different name, X_MAILN1.EXE, and the .BAT file that invokes it is X_MAIL1.BAT. Why should a command-line SMTP mailer have to be real mode as opposed to DJGPP? Or POP3 or NNTP for that matter? Doesn't the DJGPP port of Lynx do http, https, ftp and nntp in DPMI? What about the WATT-32 applications? http://www.bgnett.no/~giva/ from my previous post: > A file might have parts in Latin-1 and other parts not in Latin-1. Eli Zaretskii: > Only if it's a garbled file. A file can only be encoded one way, > anything else is random 8-bit bytes. Suppose two or more email messages are concatenated in one file? Suddenly some parts are in Latin-1 and others not, and there may even be some Korean and Chinese spam mixed in. Sure, the Korean and Chinese spams may be largely garbled, but even if the Korean and Chinese spams were displayed correctly, they would be as good as garbled to anybody not conversant with these languages. I think the HELLO file contains several different character sets in the same file with (extended?) ANSI escape sequences to switch between them.