🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40688

Re: Real-Mode Dos and Windows 3 problem in porting slrn

#40688
From: root
Date: Sun, 10 May 1998 00:00
32 lines
2136 bytes
On 5 May 1998 20:17:06 GMT, John E. Davis <davis@space.mit.edu> wrote:
>On 5 May 1998 17:23:25 GMT, root <root@ibm.net>
>wrote:
>>The real problem with porting slrn to Dos or 16-bit Windows is that
>>it uses libslang, and libslang declares a number of large static
>>arrays.
>
>For about 6 years I supported slang on 16 bit systems and made sure
>that it worked well with the 16 bit applications that I wrote, e.g.,
>JED.

No argument there.  I also agree that later releases are an improvement.
You do initialize pointers to malloced arrays here and there in your
current-release source code, but the practise isn't a consistent one.

The truth is that the inadequacy is not in your code, but in the 16-bit
compilers.  I know of _one_ 16-bit Dos compiler that automatically
generates farmalloc initialization code for all static arrays declared in
programs.  For the MIX C compiler, there is rarely, if ever, a problem
of DGROUP overflow in large programs.  But Borland and Microsoft simply
plunk the static arrays directly into the near heap.

Unfortunately, I don't go along with the DJGPP wave, and I think it is
possible with some recoding to get slang/slrn to work with 16-bit Windows.
I already demonstrated that slang/slrn can be ported to Win16 with the
16-bit worm.exe and the partly working 16-bit slrn.exe that I posted to
one or another binaries group and announced in this forum and elsewhere.

release

Technical Details
Message-ID: <6j4jkp$gif$1@gte2.gte.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <6imd9v$ivc$1@gte2.gte.net> <6inhud$e61$1@gte1.gte.net> <slrn6kusti.ner.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6j4jkp$gif$1@gte2.gte.net>
Subject: Re: Real-Mode Dos and Windows 3 problem in porting slrn
Date: Sun, 10 May 1998 00:00:00 +0000
From: root@ibm.net (root)
References: <6imd9v$ivc$1@gte2.gte.net> <6inhud$e61$1@gte1.gte.net> <slrn6kusti.ner.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 351967081
Organization: The Light
X-Auth: C01ED503079FD6C749C68491
Reply-To: vtailor@gte.net-nospam
Newsgroups: news.software.readers,alt.lang-slang