🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40617

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

#40617
From: root
Date: Tue, 05 May 1998 00:00
36 lines
2265 bytes
If you want to try out the last beta port of slrn to Windows 3,
I uploaded it to alt.binaries.news-server-comparison.  Typing
`slrn --help' shows what works.  Starting it up with your own
slrn.rc file shows what doesn't work.


In article <6inhud$e61$1@gte1.gte.net>, root@ibm.net says...
>
>On 5 May 1998 06:58:07 GMT, root <vtailor@gte.net-nospam> wrote:
>>Functions like SLmemcpy need to use huge pointers to avoid erratic
>>operation of slrn when a memory boundary is crossed.
>>
>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.
>
>These declarations exhaust the 64 KB segment that also is used for
>the runtime program stack in the static library version.  (The
>DLL version is almost impossible to compile with compilers like
>Borland and MSVC.)  With DOS16_BIT defined in the libslang compile,
>there is just enough room for an 8 KB runtime stack.  As a consequence,
>you get a stack overflow exception after the first line of the slrn
>signon is printed on the screen.
>
>The way to eliminate this problem is to increase runtime stack size.
>To do this, _all_ of the slang static arrays have to be turne into
>pointers that are intialized using malloc operating on the far Dos
>or Windows heap.  If the slang author is willing to make this change
>in upcoming releases of the slang code, I will be happy to continue
>the work of porting, e. g., slrn, to 16-bit Windows.  Barring this,
>however, it is an exercise in futility for me to continue the project
>of porting future slrn versions to 16-bit Windows or Dos.


Technical Details
Message-ID: <6iniv5$l07$2@gte1.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>

Show Full Headers
Complete Article Headers
Message-ID: <6iniv5$l07$2@gte1.gte.net>
Subject: Re: Real-Mode Dos and Windows 3 problem in porting slrn
Date: Tue, 05 May 1998 00:00:00 +0000
From: vtailor@gte.net-nospam (root)
References: <6imd9v$ivc$1@gte2.gte.net> <6inhud$e61$1@gte1.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
X-Deja-AN: 350497723
Organization: The Light
X-Auth: 401D8F801ADA56CC10170412
Newsgroups: news.software.readers