Article View: news.software.readers
Article #40529Re: Keyboard sluggishness with slrn and Win95
From: root
Date: Sat, 02 May 1998 00:00
Date: Sat, 02 May 1998 00:00
52 lines
3272 bytes
3272 bytes
On 1 May 1998 00:39:40 GMT, root <root@ibm.net> wrote: >On 30 Apr 1998 23:56:16 GMT, John E. Davis <davis@space.mit.edu> wrote: >>On 30 Apr 1998 23:44:05 GMT, Jim Holcomb <jim.holcomb@pobox.kom> >>wrote: >>>After reading the chapter in "Windows95 Secrets" regarding DOS programs >>>I created a batch file with just the slrn.exe command in it and ran >>>that instead. Keyboard response is now as it should be. >> >>I am stunned. I just tried this and you are right, slrn runs better >>from a batch file. What reason was given in the book for the >>improvement in keyboard response? >> >Ever heard of .pif files? They have settings that let you adjust the >process priority. Very likely, the latest progeny of pifs, those >interesting card files with the labeled pages, has a Dos process >priority setting that is higher than what you get if you call slrn >raw. > >The main problem is that the Windows console library is a second-class >citizen, and that a number of useful things, such as subclassing of the >text window and calling of the WSA (asynchronous socket) calls, are not >allowed from console windows. > >Which is totally ridiculous, and only speaks to Microsoft's company >policy dictating the direction of technical growth. > >I have a portable library that generates a text window and handles a >full range of stdio, stdlib, and Turbo-Pascal console calls. It is >functionally equivalent to the Dos console window and can run in >Windows 3, 3.1, 95, Nt, etc. There are no problems with subclassing >the main text window or even with using it to do Windows graphics or >asychronous sockets calls. > >Personally, I think that someone like GNU ought to do a standard GNU >console to get rid of the incredible variety of low-level console >code in, e. g., libslang and other Unixish but Windoish libraries. Since I believe in action, I went and compiled libslang.lib under both Borland and MSC 16-bit Windows, and it is about 240KB to 280KB, depending on whether you use LARGE or HUGE model. When you link libslang.lib and the wstdio.lib (35KB portable Dos window) to slrn, you get a DGROUP exceeds 64KB error message, apparently from the large amount of data defined in modules like slrn/src/art.c. MSC has somewhat more tricks up its sleeve for dealing with such situations, and I am investigating each such set of options. The alternative is to locate the right points in the code and change array definitions to initialized malloc array pointers.
Technical Details
Message-ID:
<6ieprh$k02$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-mailReferences:
<6hsid8$il5$1@camel15.mindspring.com> <slrn6kg6p4.gu8.davis@aluche.mit.edu> <6ib2c5$qp8$1@camel25.mindspring.com> <slrn6ki3st.hnm.davis@aluche.mit.edu> <6ib5kc$9ju$1@gte1.gte.net>Show Full Headers
Complete Article Headers
Message-ID: <6ieprh$k02$1@gte2.gte.net> Subject: Re: Keyboard sluggishness with slrn and Win95 Date: Sat, 02 May 1998 00:00:00 +0000 From: root@ibm.net (root) References: <6hsid8$il5$1@camel15.mindspring.com> <slrn6kg6p4.gu8.davis@aluche.mit.edu> <6ib2c5$qp8$1@camel25.mindspring.com> <slrn6ki3st.hnm.davis@aluche.mit.edu> <6ib5kc$9ju$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: 349561381 Reply-To: vtailor@gte.net-nospam Organization: The Light X-Auth: C01D84191E87D6CB10928491 Newsgroups: news.software.readers