🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40718

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

#40718
From: root
Date: Mon, 11 May 1998 00:00
31 lines
2042 bytes
I
>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.
>>
I have to apologize this time.  I found the `store heap data in the far
heap' switch in Borland's bc45 compiler, and I have slrn.exe partly
running at the moment.  It gets as far as connecting to my news server,
then crashes.  Could be the news server's fault, and I will continue
the debugging, since the most recent bugs appear to be the fault of my
Dos window's stdio file code, and not of slrn or slang.  I repeat.  I
have a full-size libslang and slrn minus the slang interpreter code up
and walking.


Technical Details
Message-ID: <6j5srm$6o5$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
References: <6imd9v$ivc$1@gte2.gte.net> <6inhud$e61$1@gte1.gte.net> <6iniv5$l07$2@gte1.gte.net>

Show Full Headers
Complete Article Headers
Message-ID: <6j5srm$6o5$1@gte1.gte.net>
Subject: Re: Real-Mode Dos and Windows 3 problem in porting slrn
Date: Mon, 11 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> <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
X-Deja-AN: 352105736
Organization: The Light
X-Auth: C01ED41A1E82D6964F958491
Newsgroups: news.software.readers