🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
15 messages
15 total messages Started by Todd Fiske Sat, 31 Oct 1998 00:00
[slrn.0953.win95] can't do "slrn --spool"
#44191
Author: Todd Fiske
Date: Sat, 31 Oct 1998 00:00
75 lines
2600 bytes
I just downloaded and installed slrn 0.9.5.3 for Win95 a couple days ago. It
was very easy to get up and running, and I'm finding it a a wonderful package
overall. I was also able to set up slrnpull quite easily, and have been able
to download several groups. However, I have not been able to read from the
local spool I created.

Some setup info:

I installed slrn in c:\comm\slrn:

   c:\comm\slrn
      slrn.exe
      slrnpull.exe
      sendsmtp.exe
      slrn.rc
      jnews.rc

   c:\comm\slrn\news

   c:\comm\slrn\slrnpull
      slrnpull.conf
      score

   c:\comm\slrn\slrnpull\news
      {news folder hierarchy}

   c:\comm\slrn\slrnpull\data
      active

   c:\comm\slrn\slrnpull\out.going
   c:\comm\slrn\slrnpull\out.going\rejects

I start slrn up in "offline" mode with this batch file:

   : SLRNL.BAT - batch file to run slrn in "local" mode
   @echo off
   set nntpserver=news.delphi.com
   set home=c:\comm\slrn
   slrn --spool -n

I've been trying it without being logged on, and it waits for about 3.5
minutes, then exits with an error message about not finding a posting
directory.

   [c:\comm\slrn] -slrnl
   slrn 0.9.5.3 (Sep 12 1998 14:33:38)

   Reading startup file c:\comm\slrn\slrn.rc.
   Posting directory  does not exist.
   slrn fatal error:
   Unable to select server/post object.

   [c:\comm\slrn] -

When I try it will connected (using Win95 DUN), it doesn't wait the 3.5
minutes, and comes right back with the same error message.

I haven't been able to find anything about a posting directory in any of the
files. Here are some of my SLRN.RC settings:

   set spool_inn_root "\comm\slrn\slrnpull"
   set spool_root     "\comm\slrn\slrnpull\news"
   set spool_nov_root "\comm\slrn\slrnpull\news"

   % set read_active 1
   set use_slrnpull 1
   % set server_object "spool"

I've tried with read_active both on an off.

I hope someone can help with this.

Cheers, Todd Fiske - Portland Maine

Re: [slrn.0953.win95] can't do "slrn --spool"
#44201
Author: David Gerard
Date: Sun, 01 Nov 1998 00:00
25 lines
1704 bytes
On 31 Oct 1998 19:59:32 GMT, Todd Fiske <tfiske@delphi.com> wrote:

:I just downloaded and installed slrn 0.9.5.3 for Win95 a couple days ago. It
:was very easy to get up and running, and I'm finding it a a wonderful package
:overall. I was also able to set up slrnpull quite easily, and have been able
:to download several groups. However, I have not been able to read from the
:local spool I created.


Please also email your experiences to me for my slrn32 page:

    http://thingy.apana.org.au/~fun/slrn/

It's clear I shall have to go into some detail concerning what to put
in one's slrn.rc file.


-- 
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.0953.win95] can't do "slrn --spool"
#44208
Author: Todd Fiske
Date: Sun, 01 Nov 1998 00:00
21 lines
1614 bytes
On 1 Nov 1998 02:39:36 GMT, J�rg Strohmayer <nospam@gmx.de> wrote:
>Read the lines 5-8 of slrn.rc ...

 % Note OS/2 users: to separate directories you can either use a single '/' or
 %                  double '\\'. Single backslashes are not supported.

Thanks J�rg, that worked. Since it said "OS/2" users, I assumed it didn't
apply to Win95 users. Of course now I understand it's a C string
interpretation issue.

Do you have any thoughts about my other problem? When doing "slrn --spool"
without being online, it waits for about 3.5 minutes before loading slrn.rc
and really starting up. When online, it starts right up. Doesn't seem to me
that it should be waiting for a connection in "spool" mode, so I'm sure I have
something else set up incorrectly.

Thanks again for your tip above, hope you have another. =)

Cheers, Todd

Re: [slrn.0953.win95] can't do "slrn --spool"
#44232
Author: Mike Ching
Date: Mon, 02 Nov 1998 00:00
25 lines
1857 bytes
On 1 Nov 1998 07:12:15 GMT, Todd Fiske <tfiske@delphi.com> wrote:
>On 1 Nov 1998 02:39:36 GMT, J�rg Strohmayer <nospam@gmx.de> wrote:
>>Read the lines 5-8 of slrn.rc ...
>
> % Note OS/2 users: to separate directories you can either use a single '/' or
> %                  double '\\'. Single backslashes are not supported.
>
>Thanks J�rg, that worked. Since it said "OS/2" users, I assumed it didn't
>apply to Win95 users. Of course now I understand it's a C string
>interpretation issue.
>
>Do you have any thoughts about my other problem? When doing "slrn --spool"
>without being online, it waits for about 3.5 minutes before loading slrn.rc
>and really starting up. When online, it starts right up. Doesn't seem to me
>that it should be waiting for a connection in "spool" mode, so I'm sure I have
>something else set up incorrectly.
>
>Thanks again for your tip above, hope you have another. =)
>
>Cheers, Todd

You might check slrn.rc to make sure you're not reading the active file (set
read_active 0).

Re: [slrn.0953.win95] can't do "slrn --spool"
#44233
Author: Todd Fiske
Date: Mon, 02 Nov 1998 00:00
52 lines
3414 bytes
On 1 Nov 1998 05:45:58 GMT, David Gerard <fun@thingy.apana.org.au> wrote:
>Please also email your experiences to me for my slrn32 page:

Hi David -

I certainly will. It was your post and your web site that convinced me to take
a look at slrn. I'm really glad I did, slrn has most of the things I've been
looking for in a newsreader, and a greate underlying language to take care of
the rest.

>It's clear I shall have to go into some detail concerning what to put
>in one's slrn.rc file.

A bit more I think, but not too much. I didn't have to make too many changes
overall to get up and running. I've even been able to do some things you said
you had trouble with, such as using Edit to write posts. I haven't had the
problem of the slrn screen going to flashing colors, but I do have some
understanding as to why it might have.

By default DOS text mode supports 16 foreground colors (8 low intensity, and 8
high intensity), but only the 8 low intensity colors for the background. When
the background high intensity bit is set, the default meaning is "flash the
foreground text". However, its possible to change another bit so that the
background high intensity bit means just that. slrn uses this capability to
give it's default bright white background.

It could be that something in Windows handling of the slrn/edit window is
making the slrn background revert from high intensity to flashing. This might
be due to something like your Windows screen color depth, or whether slrn/edit
is being run full-screen or in a window. I've only run it in a window so far,
and my Windows screen color depth is set to High Color (16-bit).

As for your other editor issues, I haven't explored using NotePad, but I can
understand why it works the way it does. When slrn starts NotePad, it gets
control back almost right away, long before you've finished writing the post.
By contrast, when slrn starts Edit, it has to wait until Edit is terminated
before it can continue. In the latter case, slrn knows when you're done
editing. In the former case, it waits for you to tell it you're done. (I
haven't actually tested this, but it seems most likely to be what is going
on.)

I use a text editor called TSE (The Semware Editor) which is an advanced
version of the old Qedit by the same folks. TSE can copy to and paste from the
Windows clipboard, plus is based on a very powerful macro language, has user
definable key bindings, and a host of other features. I don't know how much
the SemWare folks know about S-Lang and jed, but TSE definitely follows the
model of an editor written in its own macro language. Very powerful and
customizable, and for me, a perfect match with slrn.

Cheers, Todd

Re: [slrn.0953.win95] can't do "slrn --spool"
#44235
Author: David Gerard
Date: Mon, 02 Nov 1998 00:00
99 lines
4956 bytes
On 2 Nov 1998 02:08:18 GMT, Todd Fiske <tfiske@delphi.com> wrote:
:[David Gerard]

:>It's clear I shall have to go into some detail concerning what to put
:>in one's slrn.rc file.

:A bit more I think, but not too much. I didn't have to make too many changes
:overall to get up and running.


I want to know *precisely* what you did :-)


: I've even been able to do some things you said
:you had trouble with, such as using Edit to write posts. I haven't had the
:problem of the slrn screen going to flashing colors, but I do have some
:understanding as to why it might have.

[snip]

: This might
:be due to something like your Windows screen color depth, or whether slrn/edit
:is being run full-screen or in a window. I've only run it in a window so far,
:and my Windows screen color depth is set to High Color (16-bit).


That might be it. Mine is at 256 colours.

(Parts of your post will be added to the page :-)


:As for your other editor issues, I haven't explored using NotePad, but I can
:understand why it works the way it does. When slrn starts NotePad, it gets
:control back almost right away, long before you've finished writing the post.


Of course. When slrn asks if you want to post the article, what it really
means is that it's ready to post whatever happens to be article.txt - so
you have to remember to save and go back to Notepad.


:By contrast, when slrn starts Edit, it has to wait until Edit is terminated
:before it can continue. In the latter case, slrn knows when you're done
:editing. In the former case, it waits for you to tell it you're done. (I
:haven't actually tested this, but it seems most likely to be what is going
:on.)


That's precisely it. IMO it's a matter of taste whether to bother.

I've got vim more or less stable now, so I'm using that. The greatest
nuisance is that if you're doing something disk-intensive (I think that's
the problem ... maybe it's I/O intensive [*]) - like, say, slrnpull fetching
the rest of your news - the keyboard response does horrible things:

1. It lags really badly.
2. The backed-up keystrokes come out scrambled!

I type at 80 words per minute-  slowing down enough to cope with this is
torture. Here's an example:

slow: The quick brown fox jumped over the lazy dog.
fast: The quick brown fox mujp de revotal ehz ygod.

I think this is a console-window problem, because the problem also shows up
in slrn itself, e.g. when typing in a file name.

By the way, it happens in full-screen mode too. Argh.

(and doesn't happen in Notepad - it lags, but it doesn't scramble.)

:I use a text editor called TSE (The Semware Editor) which is an advanced
:version of the old Qedit by the same folks. TSE can copy to and paste from the
:Windows clipboard, plus is based on a very powerful macro language, has user
:definable key bindings, and a host of other features. I don't know how much
:the SemWare folks know about S-Lang and jed, but TSE definitely follows the
:model of an editor written in its own macro language. Very powerful and
:customizable, and for me, a perfect match with slrn.


You have neglected to post the URL! And to write a nice set of editor tips
for me ...


[*] I've just been reading a huge pile of books on PC hardware [**]. I am
*so* glad that I stuck to Macintosh and Unix right through to 1995.[***]
[**] The loved one's PC has died horribly. I am expected to learn how to
fix it and do so. *Icky*.
[***] I use my present PC for one reason: it was the right price ("indefinite
loan"). So when is someone gonna compile slrn for Mac?  :-)

-- 
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.0953.win95] can't do "slrn --spool"
#44238
Author: Nikos
Date: Mon, 02 Nov 1998 00:00
12 lines
1099 bytes
On 2 Nov 1998 09:00:49 GMT, David Gerard <fun@thingy.apana.org.au> wrote:
>
>I think this is a console-window problem, because the problem also shows up
>in slrn itself, e.g. when typing in a file name.
>
You might want to speed up the keyboard settings in the Control-Panel,
on NT at least, I did notice a difference.

--
Nikos 

Re: [slrn.0953.win95] can't do "slrn --spool"
#44269
Author: Todd Fiske
Date: Wed, 04 Nov 1998 00:00
145 lines
7236 bytes
On 2 Nov 1998 09:00:49 GMT, David Gerard <fun@thingy.apana.org.au> wrote:

>I want to know *precisely* what you did :-)

I'll definitely put together a summary for you when I feel like I've got
everything thing worked out. =)


>(Parts of your post will be added to the page :-)

Fine, I hope they're the correct parts. <g>


>:and my Windows screen color depth is set to High Color (16-bit).
>That might be it. Mine is at 256 colours.

I was able to reproduce your flashing screen problem when returning from
EDIT. I don't know if it's particularly caused by being in 256 color mode.
I'll try this again at home where I use High Color, but here at work I'm
set to 256 colors and it happened.

I set my editor to Edit, then started slrn and went into full-screen mode.
I started a follow-up to a post, cancelled it, and when slrn came back, the
whole screen was flashing. Switching back to "in-a-window" stopped the
flashing.

Edit uses bright backgrounds for buttons and some window controls. It
obviously sets the "bright background" bit on entry, and sets it back to
blink mode when exiting. It obviously doesn't assume that anyone else may
be using the bright background setting. I don't know if that setting is
readable, but if it is, Edit is not doing it.

One fixes to this would be to call Edit with the Windows95 START command -
the editor will run in its own window and not change the settings of the
slrn window.

  set editor_command "start edit %s"

On the other hand, perhaps this is a nit worthy of a fix in slrn itself:
since using bright backgrounds is a kludgy hack in a DOS program, resetting
it after shelling out could be considered a more complete implementation of
that kludge.

Another fix would be: get a jar of "RealEditor" creme and apply as needed
to the afflicted area. =) (kidding)


>Of course. When slrn asks if you want to post the article, what it really
>means is that it's ready to post whatever happens to be article.txt - so
>you have to remember to save and go back to Notepad.

What's happening for me right now is that slrn puts up the NotePad window,
and redraws its screen in the background with the "Post the message?"
prompt showing. Notepad remains in the foreground though so I don't have to
"save and go back to Notepad". I tried this with slrn in full screen mode
too, but didn't see the behavior you're talking about.


>slow: The quick brown fox jumped over the lazy dog.
>fast: The quick brown fox mujp de revotal ehz ygod.

That's pretty whacky man! I can understand slow response, but not changing
the order of keys entered. Sounds like something else is messing around
with the keyboard buffer, could be either slrn or vim, don't know.

I haven't tried to do stuff in slrn with slrnpull running simultaneously
yet so I haven't seen any problems like this. I'll give it a shot at some
point.

Nikos' advice to speed up the keyboard in the Control Panel may help or may
hurt, or may do nothing. That setting only has to do with the behavior of
repeated keystrokes when a key is held down, which I don't think applies
in this case. It may also be that NT provides different controls here than
does Win95. (In any case, I always have those settings set to fastest
keyboard operation for speediest cursoring around in a document.)

There is an "Idle Sensitivity" slider on the Misc page of the shortcut
properties screen, which allows you to adjust the priority of a task when
it's in the background. I don't know if this will affect anything, but it
may be worth twiddling a bit.


>I think this is a console-window problem, because the problem also shows
>up in slrn itself, e.g. when typing in a file name.
>
>By the way, it happens in full-screen mode too. Argh.
>
>(and doesn't happen in Notepad - it lags, but it doesn't scramble.)

Hmm. All when slrnpull is running? Well, communication is a pretty
processor intensive job. My "solution" for this is to go get a cup of
coffee while doing a slrnpull pass. =)


>:I use a text editor called TSE (The Semware Editor)
>You have neglected to post the URL! And to write a nice set of editor tips
>for me ...

Not sure, but try www.semware.com. Their latest version is a Win32 console
mode program. I haven't seen it yet, but it advertises even more powerful
features than what I'm using. The version I have cost about $79 a few years
ago. I'll bet the Win32 version is in the 100-150 US$ range.

What kind of editor tips are you looking for? Here are a few things: keep
lines under 75 characters, trim out as much of the post you're replying to
as possible, etc. Just basic netiquette stuff.

To help keep my lines to a reasonable length in a brain-dead editor like
Notepad which doesn't show cursor and row positions, I create a little
line-up bar like this:

123456789-123456789-123456789-123456789-123456789-123456789-123456789-12345

Then I set my right window edge to roughly where the 76th character would
fall, and delete the line-up bar. Then when typing, when getting close to
the edge (Yes<g>) or the screen jumps to the right, I break the line at the
previous word.

Most default text editors are a massive pain in the butt when it comes to
reformatting a paragraph. TSE does this with simple keypress (Ctrl-B), but
in NotePad or Edit, it's a sequence of "Enter End Delete <move to last full
word on screen> repeat, etc etc etc". It's well worth finding an editor
which allows even the basics in sophisticated text handling.

Notepad does have a "WordWrap" mode, but this is screen oriented only and
does not actually put line-breaks into the text. A paragraph that you write
in NotePad with WordWrap mode on will actually post as one long line,
greatly irritating most fellow Usenet readers. (This was intended to be one
such paragraph, but apparently slrn refuses posts with body lines > 80
chars. Good job.)


> [pc angst]

Understood. <g> I wish I knew more about Macs so I could help my Dad with
his. I look at a Mac and feel that everything is so "ultra-simplified" that
I just don't know what to do with it. For either (any) platform, it's just
a matter of time and exposure to learn the ins and outs. The cold barren
DOS prompt strikes fear in the hearts of many (as does even the Windows 95
desktop), but so can the thought of a massive tangle of files underneath a
beautiful interface that one can't get past. =)

Cheers, Todd

Re: [slrn.0953.win95] can't do "slrn --spool"
#44284
Author: Todd Fiske
Date: Wed, 04 Nov 1998 00:00
33 lines
2083 bytes
On 2 Nov 1998 16:37:32 GMT, Mike Ching <mtching@flash.net> wrote:

>You might check slrn.rc to make sure you're not reading the active file (set
>read_active 0).

Hi Mike -

I've tried it both ways, no difference. Now on my machine here at work, it
started right up with no lag at all. Perhaps it has to do with different
versions of Dial-Up Networking, or the Control Panel> Network settings or
some such thing. I'll have to explore some to find out.

As for read_active 0 vs 1, it's my understanding that when doing offline
reading with "slrn --spool", that it *wants* to be 1, ie, we want to read
the active file (am I right that this is SLRNPULL_HOME/data/active?) since
that tells slrn what slrnpull was able to download. When doing online
reading with a slow connection, we don't want to use this (I assume in this
case that the active file is something that's stored on the server).

So one way or the other, read_active doesn't affect my problem. Here at
work it is on, and slrn came up right away. At home I've tried it both on
and off, and it waits about 3.5 minutes before coming up.

I downloaded the slrn source at home and will see if I can trace through
the startup process to find what's happening.

Many thanks for your input all the same. If you have any other ideas, I'm
eager to hear them.

Cheers, Todd


Re: [slrn.0953.win95] can't do "slrn --spool"
#44317
Author: Mike Ching
Date: Thu, 05 Nov 1998 00:00
15 lines
1335 bytes
On 4 Nov 1998 02:21:48 GMT, Todd Fiske <tfiske@delphi.com> wrote:
>
>
>Many thanks for your input all the same. If you have any other ideas, I'm
>eager to hear them.
>
>Cheers, Todd
>
The only other observation that I can add is that when I start slrn, there
is a pointer-hourglass cursor for a while which I assume means there's a
thread with disk activity running while the window is opened, etc. It doesn't
last 3.5 minutes but maybe your disk I/O is blocking and forcing you to wait
for it to complete. Just grasping at straws....

Re: [slrn.0953.win95] can't do "slrn --spool"
#44319
Author: Todd Fiske
Date: Fri, 06 Nov 1998 00:00
27 lines
2056 bytes
On 5 Nov 1998 01:02:34 GMT, Mike Ching <mtching@flash.net> wrote:

>The only other observation that I can add is that when I start slrn, there
>is a pointer-hourglass cursor for a while which I assume means there's a
>thread with disk activity running while the window is opened, etc. It doesn't
>last 3.5 minutes but maybe your disk I/O is blocking and forcing you to wait
>for it to complete. Just grasping at straws....

Hi Mike -

I'm happy to report I figured it out. I had set my Network settings to try
to enable DNS lookup of my own address (Control Panel> Network> TCPIP
Adapter> Properties> DNS Configuration). A> it's not necessary, and b> I
hadn't even set it up right, generating this bogus message ID on my first
post in this thread: <slrn73mr02.3vvo667.tfiske@70451.1424.compuserve.com>.
My CompuServe ID is 70451.1424@compuserve.com, but I had put my user ID in
the host name field. Well, that was about a year and a half ago when i
didn't really know what these things meant and was just following a
(flawed) set of instructions. Once I disabled that option, slrn started
right up, and I'm now a very happy camper! =)

I get that hourglass on startup too, don't know what it is, and it doesn't
bother me. =)

Cheers, Todd

Re: [slrn.0953.win95] can't do "slrn --spool"
#44320
Author: David R. Conrad
Date: Fri, 06 Nov 1998 00:00
56 lines
3281 bytes
In article <71odo1$84b@lotho.delphi.com>, Todd Fiske wrote:
>I was able to reproduce your flashing screen problem ....
>
>Edit uses bright backgrounds for buttons and some window controls. It
>obviously sets the "bright background" bit on entry, and sets it back to
>blink mode when exiting. It obviously doesn't assume that anyone else may
>be using the bright background setting. I don't know if that setting is
>readable, but if it is, Edit is not doing it.

It is readable, and since there seems to be such a DIY attitude among
slrn users (with a number of articles on this group discussing the
writing of macros to achieve various functions) I thought I would post
some source code in case someone wants to write a wrapper program that
would save the state of the bit and run edit as a subprocess, and then
restore state of the blinking bit afterwards.

The following is a variation on a program that I wrote for DOS in Turbo
Pascal 5.5 several years ago.  It demonstrates the method for setting,
clearing, and testing bit 3 of VGA register 0x3c0 index 0x10 which
controls whether the high bit of the background text color causes the
text to blink (if the bit is set) or the background to appear bright
(if the bit is clear).

program blinker;

var
  b : byte;

begin
  (* force register $3C0 flipflop into address mode *)
  b := port[$3DA];
  (* access vga register $3C0 index $10 *)
  port[$3C0] := $10 + 32;
  (* read current value *)
  b := port[$3C1];
  if (b AND 8 <> 0) then writeln('Blinking is on, turning it off')
  else writeln('Blinking is off, turning it on');
  (* toggle the bit *)
  b := b XOR 8;
  (* write the modified byte back *)
  port[$3C0] := b;
end.

Regarding the other problems, such as characters ending up out of order
as text is typed, I can say that I've never seen this behavior on Linux,
and perhaps one solution might be to apply a jar of "Real Operating
System" creme to the problem as needed?  ;-)

-- 
David R. Conrad <drc@adni.net>
"On two occasions I have been asked [by members of Parliament!], `Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?'  I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question." -- Charles Babbage

Re: [slrn.0953.win95] can't do "slrn --spool"
#44334
Author: Brian W. Masinick
Date: Fri, 06 Nov 1998 00:00
45 lines
2867 bytes
tfiske@delphi.com (Todd Fiske) writes:

> On 2 Nov 1998 09:00:49 GMT, David Gerard
> <fun@thingy.apana.org.au> wrote: I was able to reproduce your
> flashing screen problem when returning from EDIT. I don't know
> if it's particularly caused by being in 256 color mode.  I'll
> try this again at home where I use High Color, but here at work
> I'm set to 256 colors and it happened.

I'm using Gnus to respond to this posting.  Gnus is one of the
most feature rich news readers on the net, and it is a standard
part of GNU Emacs and XEmacs.  The most recent version of GNU
Emacs that I have, 20.3.1 for Win32 systems, has recently
improved its default fill region and paragraph facilities.  This
memo, for example, was refilled and the reply prefixes were
correctly wrapped and narrowed.

> I set my editor to Edit, then started slrn and went into
> full-screen mode.  I started a follow-up to a post, cancelled
> it, and when slrn came back, the whole screen was
> flashing. Switching back to "in-a-window" stopped the flashing.
> 
> Edit uses bright backgrounds for buttons and some window
> controls. It obviously sets the "bright background" bit on
> entry, and sets it back to blink mode when exiting. It
> obviously doesn't assume that anyone else may be using the
> bright background setting. I don't know if that setting is
> readable, but if it is, Edit is not doing it.
> 
> One fixes to this would be to call Edit with the Windows95
> START command - the editor will run in its own window and not
> change the settings of the slrn window.
> 
>   set editor_command "start edit %s"

Vim, jed, and vile also do a credible job of reformatting text
for mail and newsgroups.  Which one you choose to use depends on
whether you like a vi style, emacs style, or something in
between.

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

Re: [slrn.0953.win95] can't do "slrn --spool"
#44352
Author: Todd Fiske
Date: Sat, 07 Nov 1998 00:00
70 lines
2700 bytes
On Fri, 06 Nov 1998 10:24:54 GMT, David R. Conrad <drc@darwin.adni.net>
wrote:

> [program to set, clear, and test VGA blink bit]

Hi David -

Thanks very much for that program. I've reworked it into a debug script
which any DOS user should be able to use to create a tiny little BRIGHT.COM
program. I also included a batch file to use as the slrn editor command. It
runs EDIT.COM, then BRIGHT.COM to set the screen to bright background mode
before returning to slrn.

Copy them both to files in the slrn home directory, then go to the directory
in a DOS command prompt window and run the debug script.

   debug < bright.dbg

Finally, edit slrn.rc as shown, and all should work swimmingly <g>:

   set editor_command "ed %s"

I also wrote a corresponding BLINK.DBG script to put blink mode back on,
if anybody wants it. 

----

; BRIGHT.DBG - debug script to create BRIGHT.COM
; enter DEBUG < BRIGHT.DBG to make, ignore errors
a
mov dx, 3da ; force register 03C0h flipflop into address mode
in  al, dx
mov dx, 3c0 ; access vga register 03C0h index 10h ( 30h = 32 + 10h )
mov al, 30
out dx, al
mov dx, 3c1 ; read current value
in  al, dx
mov ah, f7  ; create mask in ah of xxxx.xxx to clear bit 4
and al, ah  ; mask al with ah
mov dx, 3c0 ; write byte
out dx, al
int 20      ; terminate program

rcx
18
nbright.com
w
q

; eof - include this line!

---- 

: ED.BAT - kludge to turn blinking bit off after running Edit.Com
@echo off
edit %1
bright

----

>"On two occasions I have been asked [by members of Parliament!], `Pray,
>Mr. Babbage, if you put into the machine wrong figures, will the right
>answers come out?'  I am not able rightly to apprehend the kind of
>confusion of ideas that could provoke such a question." -- Charles Babbage

Love that quote! The beginnings of "Garbage In, Gospel Out"! =)

Cheers, Todd

Re: [slrn.0953.win95] can't do "slrn --spool"
#44353
Author: Todd Fiske
Date: Sat, 07 Nov 1998 00:00
67 lines
4157 bytes
On 06 Nov 1998 17:30:05 -0500, Brian W. Masinick <masinick@yahoo.com> wrote:

>I'm using Gnus to respond to this posting.  Gnus is one of the
>most feature rich news readers on the net, and it is a standard
>part of GNU Emacs and XEmacs.

I appreciate the info. I'm very happy with slrn at the moment, but will
take a look Gnus at some point. I love this circumstance of excellent Unix
software being ported to Win32 environments, partly because Unix stuff just
seems much richer, and also because it reemphasizes the usefulness of
"console mode" over gui-everything. GUI is fine, but it often promotes a
lowest-common-denominator approach to things (as was mentioned in a recent
thread here).

I'm very happy with slrn because I've spent the last year using Microsoft
Internet Mail & News to do news reading. It works for the basics (I'm still
using the Mail portion), but is broken in many many ways. Slrn is just so
much more capable, and lets me decide how things should work, rather than
living with the decisions of a bunch of programmers who assume I'm to
stupid to keep from killing myself. =)

If Gnus is even more feature-rich than slrn, that's wonderful, but how much
improvement can one person stand in such a short period of time? I'd better
pace myself, or I'll end up like the guy running the tape-loop in that
movie "Brainstorm". =)

>The most recent version of GNU Emacs that I have, 20.3.1 for Win32
>systems, has recently improved its default fill region and paragraph
>facilities. This memo, for example, was refilled and the reply
>prefixes were correctly wrapped and narrowed.

Well it sure is mighty damn lovely! <g>

My recent posts about MS EDIT.COM are mainly to help David Gerard figure
out a simple setup for his friends on the alt.goth newsgroup. I use Edit
when there is nothing else available (it only took MS *7 versions of DOS*
to finally include a half-decent text editor!).

I actually use an editor called TSE (The Semware Editor) which is built
around a very powerful macro language. Back in the BBS days I used to use a
program called SLMR (silly little mail reader), and had a set of TSE macros
to assist in editing posts, such as a quote reformatter. I'm intending to
dig those old macros up this weekend and rework them for use with slrn.

>Vim, jed, and vile also do a credible job of reformatting text
>for mail and newsgroups.  Which one you choose to use depends on
>whether you like a vi style, emacs style, or something in
>between.

A couple years ago I was taking Unix and C courses at the local university,
and used emacs and then jed quite a bit. I'm sure I could get comfortable
with them after a while, but the keystroke commands always threw me. My TSE
keyboard configuration is loosely based on the old WordStar commands (^k,
^q, etc) with lots of my own modifications over the years. The benefit for
me in using TSE as my slrn message editor is that most of my paying work is
done in TSE too, so I don't have to switch gears quite as much (hmm, does
"ESC Tilde BackScratch" mean ReformatParagraph or KillDiskFile in this
program?).

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

New Hampshire. I'm right next door in Portland Maine. Howdy neighba'! =)

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