🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44295

Re: SLRN - Is there a way to get a BLOCK cursor?

#44295
From: Brian Masinick
Date: Thu, 05 Nov 1998 00:00
57 lines
3455 bytes
Thanks a bunch, Todd!  Clearly there are ways to get what I want,
and you've certainly provided one such way.  I might eventually
play around with S-Lang scripts for jed and slrn.  If I come up
with a solution along those lines, I will certainly share it with
the group.  Thanks again!

Brian

Todd Fiske wrote:
> 
> 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: <36427DE2.93DBC178@mediaone.net>
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
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> <71tie9$q5l@lotho.delphi.com>

Show Full Headers
Complete Article Headers
Message-ID: <36427DE2.93DBC178@mediaone.net>
Subject: Re: SLRN - Is there a way to get a BLOCK cursor?
Date: Thu, 05 Nov 1998 00:00:00 +0000
From: Brian Masinick <masinick@mediaone.net>
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> <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-mail
X-Deja-AN: 408916702
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Trace: lwnws01.ne.mediaone.net 910327231 24.128.108.95 (Thu, 05 Nov 1998 23:40:31 EDT)
Organization: Northeast Region--MediaOne
MIME-Version: 1.0
Reply-To: masinick@yahoo.com
NNTP-Posting-Date: Thu, 05 Nov 1998 23:40:31 EDT
Newsgroups: news.software.readers,comp.editors