🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #55961

Re: slrn-0.9.5.7 and joe

#55961
From: 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.
-------------------------------+---------------------------------------------


Technical Details
Message-ID: <slrn86fc4j.rnk.morpheus@rpglink.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn86aaj5.frg.rshepard@salmo.appl-ecosys.com> <slrn86agmh.3i4.morpheus@rpglink.com> <slrn86avpa.fub.rshepard@salmo.appl-ecosys.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn86fc4j.rnk.morpheus@rpglink.com>
Subject: Re: slrn-0.9.5.7 and joe
Date: Mon, 27 Dec 1999 00:00:00 +0000
From: morpheus@despair.rpglink.com (Steve Lamb)
References: <slrn86aaj5.frg.rshepard@salmo.appl-ecosys.com> <slrn86agmh.3i4.morpheus@rpglink.com> <slrn86avpa.fub.rshepard@salmo.appl-ecosys.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 565384828
X-Posted-Path-Was: morpheus
X-ELN-Date: 27 Dec 1999 18:31:47 GMT
X-ELN-Insert-Date: Mon Dec 27 10:35:09 1999
Organization: We're organized?!
User-Agent: slrn/0.9.5.7 (UNIX)
Reply-To: morpheus@here.not.there
Newsgroups: news.software.readers