Thread View: news.software.readers
5 messages
5 total messages
Started by Jim Holcomb
Sat, 25 Apr 1998 00:00
Keyboard sluggishness with slrn and Win95
Author: Jim Holcomb
Date: Sat, 25 Apr 1998 00:00
Date: Sat, 25 Apr 1998 00:00
16 lines
891 bytes
891 bytes
Keyboard response with slrn under Win95 is a tad slow in full screen mode. On the same system it runs great under WinNT and Linux. I upgraded to the latest slrn last night (0.9.5.1) and this doesn't fix my problem. Does anyone know of any "tweaking" I can do to fix this? Thanks, Jim -- jim.holcomb@pobox.com Cary, NC, USA
Re: Keyboard sluggishness with slrn and Win95
Author: John E. Davis
Date: Thu, 30 Apr 1998 00:00
Date: Thu, 30 Apr 1998 00:00
25 lines
1721 bytes
1721 bytes
jim.holcomb@pobox.kom wrote: >Keyboard response with slrn under Win95 is a tad slow in full screen >mode. On the same system it runs great under WinNT and Linux. I just compiled and ran it on a windows 95 system to check this and the `U' url problem that was reported. Although I could find no problems with the arrow keys while viewing urls, the keyboard response did appear somewhat sluggish, but only when running in a full-screen window. When I ran slrn in non-full screen mode, the keyboard response appeared to be fine. Since slrn has no idea in what screen mode it is running, and it uses the published Win32 api in a straightforward manner (no tricks, that's why it works with NT), I suspect that the problem is with how windows 95 gives the program time slices when running in full screen mode. I have heard that windows 95 does not multitask well, and perhaps this is one indication of that, but I am not going to rule out the possibility that there is something that can be tweaked in slang/src/slw32tty.c. However, I would not know where to begin. Good luck, --John
Re: Keyboard sluggishness with slrn and Win95
Author: root
Date: Thu, 30 Apr 1998 00:00
Date: Thu, 30 Apr 1998 00:00
33 lines
2142 bytes
2142 bytes
On 30 Apr 1998 06:33:11 GMT, John E. Davis <davis@space.mit.edu> wrote: >jim.holcomb@pobox.kom wrote: >>Keyboard response with slrn under Win95 is a tad slow in full screen >>mode. On the same system it runs great under WinNT and Linux. > >I just compiled and ran it on a windows 95 system to check this and >the `U' url problem that was reported. Although I could find no >problems with the arrow keys while viewing urls, the keyboard response >did appear somewhat sluggish, but only when running in a full-screen >window. When I ran slrn in non-full screen mode, the keyboard response >appeared to be fine. Since slrn has no idea in what screen mode it is >running, and it uses the published Win32 api in a straightforward >manner (no tricks, that's why it works with NT), I suspect that the >problem is with how windows 95 gives the program time slices when >running in full screen mode. I have heard that windows 95 does not >multitask well, and perhaps this is one indication of that, but I am >not going to rule out the possibility that there is something that can >be tweaked in slang/src/slw32tty.c. However, I would not know where to >begin. Well, you do your best for a beginning programmer. Actually, text-mode programs don't run well under Windows period. Windows has been accused of running text programs at XT speeds. Mostly it's a problem with the way WM_PAINT messages are handled in the underlying text emulation. > >Good luck, >--John >
Re: Keyboard sluggishness with slrn and Win95
Author: 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.
Re: Keyboard sluggishness with slrn and Win95
Author: root
Date: Sun, 03 May 1998 00:00
Date: Sun, 03 May 1998 00:00
54 lines
3445 bytes
3445 bytes
On 2 May 1998 09:43:13 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. > Well, worm.exe statically linked to libslang.lib and wstdio.lib is 64KB, and looks real purty.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads