🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Rich Shepard Sat, 25 Dec 1999 00:00
slrn-0.9.5.7 and joe
#55918
Author: Rich Shepard
Date: Sat, 25 Dec 1999 00:00
27 lines
1909 bytes
  I am using slrn-0.9.5.7 under RH 6.1. My default editor is joe (not jed),
for consistency with my other small editing tasks such as pine). Whenever I
finish with an article, reply or followup, I use the standard joe syntax to
exit: ctrl-k x. Rather than putting me back in the newsgroup list with the
query to post or not, I have another editor blank screen.

  To exit the blank message screen (which is visible as a second window in
the same aterm), I press ctrl-c. While this works, I then have a file in my
home directory called .article, .followup or .reply.

  Does anyone know what in /etc/slrnrc or ~/.slrnrc might generate two
instances of the editor (one above the other), and these spurious "backup"
files?

Thanks,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
              Making environmentally-responsible mining happen. (SM)         
                       --------------------------------
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com

Re: slrn-0.9.5.7 and joe
#55907
Author: Steve Lamb
Date: Sat, 25 Dec 1999 00:00
18 lines
1492 bytes
On Sat, 25 Dec 1999 20:30:39 GMT, Rich Shepard
<rshepard@salmo.appl-ecosys.com> wrote:
>  Does anyone know what in /etc/slrnrc or ~/.slrnrc might generate two
>instances of the editor (one above the other), and these spurious "backup"
>files?

    Examples of your .slrnrc and .joerc files would be good.  The backup files
are controled by .joerc.  In your .slrnrc you might have something on the joe
command line that is causing it to open another file.  Does the file have a
name at all?

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------


Re: slrn-0.9.5.7 and joe
#55936
Author: Rich Shepard
Date: Sun, 26 Dec 1999 00:00
32 lines
2165 bytes
On 25 Dec 1999 22:18:57 GMT, Steve Lamb <morpheus@despair.rpglink.com> wrote:

>    Examples of your .slrnrc and .joerc files would be good.  The backup files
>are controled by .joerc.  In your .slrnrc you might have something on the joe
>command line that is causing it to open another file.  Does the file have a
>name at all?

Steve,

  The ~/.slrnrc has no mention of any editor in it, and only now have I made
a ~/.joerc. For whatever reason, the editor is opening two windows (although
neither the man page nor the resource file have a technique to *not* do
this). But, I learned that I can move to the lower window and close it.
Perhaps this will keep it from writing the spurious files to disk.

  These files are placed only when I use the editor with slrn, not with
pine. So, I'll do some more reading and see if I can find something which
might control it.

Thanks!

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
              Making environmentally-responsible mining happen. (SM)         
                       --------------------------------
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com

Re: slrn-0.9.5.7 and joe
#55961
Author: Steve Lamb
Date: Mon, 27 Dec 1999 00:00
45 lines
2730 bytes
On Sun, 26 Dec 1999 02:32:21 GMT, Rich Shepard
<rshepard@salmo.appl-ecosys.com> wrote:
>  The ~/.slrnrc has no mention of any editor in it, 

    Are you sure?  Here is mine:

% Command used to invoke editor.  In the following example, %s represents
% the file name and %d represents the starting line number
%set editor_command "joe %s"
%set editor_command "$HOME/bin/postpgp.pl %s" %
%set editor_command "$HOME/bin/postpgp.pl +%d %s"

    And here is the default:

% Command used to invoke editor.  In the following example, %s represents
% the file name and %d represents the starting line number
%set editor_command "jed '%s' -g %d -tmp"

% Editor command for editing posts, mail, and score files.  Note the use of 
% single quotes around %s.  This is only necessary if you use filenames 
% with spaces in them.
%set mail_editor_command "jed '%s' -g %d -tmp"
%set post_editor_command "jed '%s' -g %d -tmp"
%set score_editor_command "jed '%s' -g %d -tmp"

    If it is not getting it from there, then it is using your ENV variables to
get it.

>and only now have I made a ~/.joerc. For whatever reason, the editor is
>opening two windows (although neither the man page nor the resource file have
>a technique to *not* do this). 

    Of course not, the only way to get it to do this is to specify two or more
filenames on the command line.  The logical "not" in this case is to not
specify two or more filenames on the command line.  Since, as you say, joe
doesn't do this all the time then clearly there must be something in the way
SLRN is configured to call joe that is placing two files on the command line.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------


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