🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Brian Masinick Tue, 03 Nov 1998 00:00
Re: SLRN - Is there a way to get a BLOCK cursor?
#44236
Author: Brian Masinick
Date: Tue, 03 Nov 1998 00:00
34 lines
2270 bytes
On 3 Nov 1998 21:05:13 GMT, Dawn Owens-Nicholson
<bluemoon@ux6.cso.uiuc.edu> wrote:

>Brian W. Masinick wrote:
>> X-Mailer: Mozilla 4.07 [en] (Win95; I)
>> [...]
>> I notice that I have a blinking underscore as my cursor with both jed and
>> slrn.
>
>Even though you posted <363E5059.7B2BAE15@yahoo.com> from Netscape/Windows,
>you don't say what OS you're running slrn and jed under or if you're running
>them from within a CLI application (i.e., a terminal application or CLI
>shell of some kind).  You probably need to check your terminal software
>settings to change the look of the cursor.

I'm running from Windows 95.  I know of no way to intercept
terminal characteristics because I am invoking slrn via a mouse
click, and jed whenever I issue a post or followup command.
Even if I have to come through the "back door" and write
something in S-Lang, it would seem to be easier to do it there
than to try and muck with Windows.  But I was HOPING there is a
configuration option somewhere that I MISSED that would allow
me to use a block cursor in the editor and the news group.  By
the way, in my default Microsoft telnet setup, I DO have
BLINKING, BLOCK cursor initialized, further evidence that such
things are NOT set there.  If it were that easy, I'd have what
I want.

Brian
--
Brian W. Masinick   mailto:masinick@yahoo.com
Phone:              Work: (603) 791-6585     Home: (603) 227-9124

Re: SLRN - Is there a way to get a BLOCK cursor?
#44239
Author: Brian Masinick
Date: Tue, 03 Nov 1998 00:00
45 lines
2802 bytes
Thorfinn wrote:
 
> In news.software.readers, on Tue, 03 Nov 1998 23:06:11 GMT
> Brian Masinick <masinick@yahoo.com> wrote:
> >I'm running from Windows 95.  I know of no way to intercept
> >terminal characteristics because I am invoking slrn via a
> >mouse click, and jed whenever I issue a post or followup
> >command.
 
> Slrn should be coming up in a command prompt window, which is
> controlled by a .pif file.  You should be able to right-click
> it and edit the .pif preferences... ISTR there being an option
> for the default cursor type in there.
 
That gives me a few ideas of how to proceed.  I didn't notice a
.pif file for slrn or jed offhand, but perhaps there is one
somewhere in the directory of the distribution.  If not, perhaps
there is a .pif for 'terminal' or 'telnet'.  I'll check to see.

> Oh... and by the way... why do you have Followup-To: poster
> set?  If you're asking a question on a newsgroup, surely you
> could read the newsgroup for a while to see if there's a
> response?
 
I did that because the mail server on the system I was running on
was not the one where I intended to receive mail, should anyone
choose to contact me offline.  I read the group, so it is not
necessary to cross-post mail to me, necessarily, certainly not if
it is the same response as to the news group.  Sorry for being
confusing.

> Cursor display is not done by slrn... it's oontrolled by the
> terminal window (under dos/windows this is the command.com or
> .pif file).

I'll check both .pif files and any options to command.com to see
if I can come up with anything.  Now that you mention it, I DON'T
recall having this problem back in the 'good old days' when I was
able to access a UNIX system to do my work... then I simply
defined what I wanted in my .Xdefaults.

--
Brian W. Masinick mailto:masinick@yahoo.com

Re: SLRN - Is there a way to get a BLOCK cursor?
#44272
Author: Thorfinn
Date: Wed, 04 Nov 1998 00:00
61 lines
3527 bytes
In news.software.readers, on Tue, 03 Nov 1998 22:56:00 -0500
Brian Masinick <masinick@mediaone.net> wrote:
>Thorfinn wrote:
>> Slrn should be coming up in a command prompt window, which is
>> controlled by a .pif file.  You should be able to right-click
>> it and edit the .pif preferences... ISTR there being an option
>> for the default cursor type in there.
>That gives me a few ideas of how to proceed.  I didn't notice a
>.pif file for slrn or jed offhand, but perhaps there is one
>somewhere in the directory of the distribution.  If not, perhaps
>there is a .pif for 'terminal' or 'telnet'.  I'll check to see.

Should be attached to the icon that you're clicking on to start slrn...
Try right clicking on that and selecting "Preferences" and see where it
gets you.

>> Oh... and by the way... why do you have Followup-To: poster
>> set?  If you're asking a question on a newsgroup, surely you
>> could read the newsgroup for a while to see if there's a
>> response?
>I did that because the mail server on the system I was running on
>was not the one where I intended to receive mail, should anyone
>choose to contact me offline.  I read the group, so it is not
>necessary to cross-post mail to me, necessarily, certainly not if
>it is the same response as to the news group.  Sorry for being
>confusing.

Ah.  That's what Reply-To: email@address is for, not Followup-To: poster.

Followup-To: poster is intended when further discussion should be
taken off usenet entirely, and most newsreaders correctly prompt the
user to do so when they see Followup-To: poster.

If this isn't clear in the documentation for Netscape, you should
complain to Netscape about it.

>> Cursor display is not done by slrn... it's oontrolled by the
>> terminal window (under dos/windows this is the command.com or
>> .pif file).
>I'll check both .pif files and any options to command.com to see
>if I can come up with anything.  Now that you mention it, I DON'T
>recall having this problem back in the 'good old days' when I was
>able to access a UNIX system to do my work... then I simply
>defined what I wanted in my .Xdefaults.

Those good ol' days can come back again, if you start running Linux, or
FreeBSD or somesuch. :)

But let's not get into religious debates...

Later,

   Thorf

-- 
<a href="http://www.netizen.com.au/people.html">thorfinn@netizen.com.au</a>
Real computer scientists despise the idea of actual hardware.  Hardware
has limitations, software doesn't.  It's a real shame that Turing
machines are so poor at I/O.

Re: SLRN - Is there a way to get a BLOCK cursor?
#44279
Author: Thorfinn
Date: Wed, 04 Nov 1998 00:00
42 lines
2854 bytes
In news.software.readers, on Tue, 03 Nov 1998 23:06:11 GMT
Brian Masinick <masinick@yahoo.com> wrote:
>I'm running from Windows 95.  I know of no way to intercept
>terminal characteristics because I am invoking slrn via a mouse
>click, and jed whenever I issue a post or followup command.

Slrn should be coming up in a command prompt window, which is controlled
by a .pif file.  You should be able to right-click it and edit the .pif
preferences... ISTR there being an option for the default cursor type in
there.

Oh... and by the way... why do you have Followup-To: poster set?  If
you're asking a question on a newsgroup, surely you could read the
newsgroup for a while to see if there's a response?

If you have a shaky newsfeed that loses articles, then either change
news providers, or try using Mail-Copies-To: poster instead. 
Followup-To: poster takes the discussion completely off Usenet unless
overridden, which defeats the whole point of *having* Usenet.

>Even if I have to come through the "back door" and write
>something in S-Lang, it would seem to be easier to do it there
>than to try and muck with Windows.  But I was HOPING there is a
>configuration option somewhere that I MISSED that would allow
>me to use a block cursor in the editor and the news group.  By
>the way, in my default Microsoft telnet setup, I DO have
>BLINKING, BLOCK cursor initialized, further evidence that such
>things are NOT set there.  If it were that easy, I'd have what
>I want.

Cursor display is not done by slrn... it's oontrolled by the terminal
window (under dos/windows this is the command.com or .pif file).

Later,

   Thorf

-- 
<a href="http://www.tertius.net.au/~thorfinn">thorfinn@tertius.net.au</a>
"Heisenberg may have slept here"

Re: SLRN - Is there a way to get a BLOCK cursor?
#44286
Author: David Gerard
Date: Wed, 04 Nov 1998 00:00
37 lines
2610 bytes
On 4 Nov 1998 05:35:03 GMT, Thorfinn <thorfinn@netizen.com.au> wrote:
:In news.software.readers, on Tue, 03 Nov 1998 22:56:00 -0500
:Brian Masinick <masinick@mediaone.net> wrote:
:>Thorfinn wrote:

:>> Slrn should be coming up in a command prompt window, which is
:>> controlled by a .pif file.  You should be able to right-click
:>> it and edit the .pif preferences... ISTR there being an option
:>> for the default cursor type in there.

:>That gives me a few ideas of how to proceed.  I didn't notice a
:>.pif file for slrn or jed offhand, but perhaps there is one
:>somewhere in the directory of the distribution.  If not, perhaps
:>there is a .pif for 'terminal' or 'telnet'.  I'll check to see.

:Should be attached to the icon that you're clicking on to start slrn...
:Try right clicking on that and selecting "Preferences" and see where it
:gets you.


There isn't necessarily a .pif file.

If you start slrn from a batch file (as I do) and change the preferences
of the .bat file, a shortcut magically pops into existence. This 'shortcut'
is actually a .pif file, not a symbolic link [*].



[*] or the kludgy Win95 sort-of-equivalent.
-- 
http://thingy.apana.org.au/~fun/   AGSF Unit 0|4   http://www.netizen.com.au/
Stop JUNK EMAIL Boycott AMAZON.COM http://mickc.home.mindspring.com/index1.htm
"I really can't complain though. If it wasn't for slrn I would have given up
on the Usenet years ago. I'd rather pass a golfball sized kidney stone than
have to go back to trn."  (Golan Klinger)

Re: SLRN - Is there a way to get a BLOCK cursor?
#44295
Author: 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

Re: SLRN - Is there a way to get a BLOCK cursor?
#44303
Author: Brian Masinick
Date: Thu, 05 Nov 1998 00:00
54 lines
3136 bytes
On 4 Nov 1998 05:35:03 GMT, Thorfinn <thorfinn@netizen.com.au> wrote:

>>Thorfinn wrote:
>>> Slrn should be coming up in a command prompt window, which is
>>> controlled by a .pif file.  You should be able to right-click
>>> it and edit the .pif preferences... ISTR there being an option
>>> for the default cursor type in there.

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.

>Should be attached to the icon that you're clicking on to
>start slrn... Try right clicking on that and selecting
>"Preferences" and see where it gets you.


>Ah.  That's what Reply-To: email@address is for, not
>Followup-To: poster.

Actually, in Netscape, I never set any Followup-To: information
intentionally.  Either I set something up at one time in the
options area and did not realize it would affect the
Followup-To: header, or Netscape does something wrong.  I DID
set the Reply-To: string on some of my replies.  Hopefully THIS
message will not be munged, as I am now using slrn, a much more
honest news reader, anyway! ;-)

>Those good ol' days can come back again, if you start running
Linux, or FreeBSD or somesuch. :)

I actually HAVE Linux installed on my home system, and love to
use it whenever possible.  Most of my technical communication,
however, comes from my office systems where I work under
contract.  There, I do not have the freedom to run Linux or any
other operating system of choice, but I'm required to use what
is provided, which, unfortunately for me, is Windows 95, much
to my chagrine.  I've overcome many of its limitations by
running as many ported UNIX utilities as possible, including
jed and slrn.  When I can solve a few more of these issues,
I'll be using these tools EVEN MORE!!!  ;-)


>But let's not get into religious debates...

No debate here!  I'm a UNIX lover myself... my personal
favorites are Linux for the desktop and Digital UNIX as my
server engine.

--
Brian W. Masinick   mailto:masinick@yahoo.com
Phone:              Work: (603) 791-6585     Home: (603) 227-9124

Re: SLRN - Is there a way to get a BLOCK cursor?
#44336
Author: Todd Fiske
Date: Fri, 06 Nov 1998 00:00
43 lines
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

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