Article View: news.software.readers
Article #44336Re: SLRN - Is there a way to get a BLOCK cursor?
From: Todd Fiske
Date: Fri, 06 Nov 1998 00:00
Date: Fri, 06 Nov 1998 00:00
43 lines
2802 bytes
2802 bytes
On Thu, 05 Nov 1998 00:20:29 GMT, Brian Masinick <masinick@yahoo.com> wrote: >There are no pif files present for slrn or jed... might be for >telnet and/or terminal... will have to look in the windows/ >tree eventually. You won't find PIF files for Telnet or Terminal. Those are actual Windows programs, as opposed to DOS programs being run in a window, or console mode programs such as slrn. Since Telnet and Terminal are graphical programs, they deal with the cursor entirely in their own way (well, perhaps in a way defined by the Windows GDI). DOS and console mode programs use the more basic capabilities of the text mode screen to manage these things. The best way to get a block cursor in slrn would be to have it set the cursor to the full character cell height. I'm not sure how this is done (or even if it can be done) in slrn or S-Lang, but the assembly language code to do it would be: mov ah, 1 ; SetCursorSize function mov ch, 0 ; top scan line mov cl, 14 ; bottom scan line (decimal) int 10h ; ROM-BIOS video interrupt The values for top and bottom depend on the screen mode, which should correspond to the size of font you've chosen in the properties either of your DOS window, or for your SLRN shortcut if you've created one. I only provide the above code snippet to say "that's how it would be done", but don't know how to actually accomplish that in slrn. It may be there's a function somewhere in S-Lang that can do that. Another possibility is to start slrn from a batch file that first calls a program like the above. This could get reset by whatever editor you use though. Still another possibility would be to shell out of slrn to a command prompt and run such a program, but I haven't found how to do that yet. (I was looking for this as a way to reset the background blink/bright bit too.) If I find anything else out, I'll pass it on here. Cheers, Todd
Technical Details
Message-ID:
<71tie9$q5l@lotho.delphi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mailReferences:
<slrn73v2ta.3vvn2sv.masinick@MMKA381045.fmr.com> <slrn73vb61.tlr.thorfinn@juanita.netizen.com.au> <363FD050.29C8C314@mediaone.net> <slrn73vpn3.9pq.thorfinn@netizen.com.au> <slrn741rcs.3vvlehd.masinick@MMKA381045.fmr.com>Show Full Headers
Complete Article Headers
Message-ID: <71tie9$q5l@lotho.delphi.com> Subject: Re: SLRN - Is there a way to get a BLOCK cursor? Date: Fri, 06 Nov 1998 00:00:00 +0000 From: tfiske@delphi.com (Todd Fiske) References: <slrn73v2ta.3vvn2sv.masinick@MMKA381045.fmr.com> <slrn73vb61.tlr.thorfinn@juanita.netizen.com.au> <363FD050.29C8C314@mediaone.net> <slrn73vpn3.9pq.thorfinn@netizen.com.au> <slrn741rcs.3vvlehd.masinick@MMKA381045.fmr.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mail X-Deja-AN: 408867662 Distribution: inet Organization: Delphi Internet Services <http://www.delphi.com/> User-Agent: slrn/0.9.5.3 (Windows) Newsgroups: news.software.readers,comp.editors