Thread View: news.software.readers
6 messages
6 total messages
Started by Jamie
Sat, 15 Dec 2012 05:07
[Slrn] editor help please
Author: Jamie
Date: Sat, 15 Dec 2012 05:07
Date: Sat, 15 Dec 2012 05:07
28 lines
1605 bytes
1605 bytes
When trying to follow-up on an article, the client display this error message: "The editor returned the non-zero status" The editor of choice is jed. I tried 'vi'as suggested in the .slrnrc, but got the same error message. Both are installed on this system, and my VISUAL=vi, and EDITOR=jed. Also, this is the excerpt about editors from my .slrnrc: set editor_command "jed '%s' %d -tmp" %set editor_command "vi -c %d '%s'" set mail_editor_command "mutt -H '%s'" set post_editor_command "vi '%s' %d -tmp --mail-mode" set score_editor_command "vi '%s' %d -tmp --score-arrange-score" There is no X environment installed on this computer. Thank you for hints or suggestions in solving this problem.
Re: [Slrn] editor help please
Author: John E. Davis
Date: Sat, 15 Dec 2012 18:20
Date: Sat, 15 Dec 2012 18:20
24 lines
1719 bytes
1719 bytes
On Sat, 15 Dec 2012 05:07:04 +0000 (UTC), Jamie <jamiegd@invalid.com>
wrote:
> The editor of choice is jed. I tried 'vi'as
> suggested in the .slrnrc, but got the same
> error message.
What versions are you using? That is, what do
jed --version
slrn --version
produce?
> Also, this is the excerpt about editors from my
> .slrnrc:
>
> set editor_command "jed '%s' %d -tmp"
The above should be:
set editor_command "jed '%s' -g %d -tmp"
Thanks,
--John
Re: [Slrn] editor help please
Author: Jamie
Date: Sun, 16 Dec 2012 09:13
Date: Sun, 16 Dec 2012 09:13
60 lines
2355 bytes
2355 bytes
>On Sat, 15 Dec 2012 05:07:04 +0000 (UTC), Jamie <jamiegd@invalid.com> >wrote: >> The editor of choice is jed. I tried 'vi'as >> suggested in the .slrnrc, but got the same >> error message. > >What versions are you using? That is, what do > > jed --version > slrn --version > >produce? > >> Also, this is the excerpt about editors from my >> .slrnrc: >> >> set editor_command "jed '%s' %d -tmp" > >The above should be: > > set editor_command "jed '%s' -g %d -tmp" > >Thanks, >--John Hello, thank you for reply, currently, Slrn is version pre1.0.0-41, and jed is 0.99.19. S-lang 2.2.3. Slrn is the latest snapshot as of yesterday, only because I had the same problem with a precompiled binary 0.9.9p1 for Slackware linux. I decided to try the newest version believing it will help, but it didn't. Since I carry this old .slrnrc from versions of Slrn perhaps ten years old, I have run a conversion script that comes in a source tarball, but it didn't help. Long ago there was the original "-g" options for jed editor, and it worked. I removed it only yesterday after Googling for a solution of this problem and someone suggested to remove -g. However, it didn't help. Thank you. P.S: I wish you didn't stop maintaining 'slsc'. Today the spreadsheet calculator can't be compiled on these newer linuxes.
Re: [Slrn] editor help please
Author: John E. Davis
Date: Mon, 17 Dec 2012 16:02
Date: Mon, 17 Dec 2012 16:02
26 lines
2248 bytes
2248 bytes
On Sun, 16 Dec 2012 09:13:28 +0000 (UTC), Jamie <jamiegd@invalid.com> > I decided to try the newest version believing > it will help, but it didn't. What exactly happens when you try to edit something from within slrn? Does slrn invoke the editor for you, or does it simply issue the error message? I suggest that you try the following: $ slrn --show-config > slrn.config $ strace -ff -o slrn.strace slrn --debug slrn.debug This should result in the creation of the following files: slrn.config shows the values of the slrn config variables slrn.debug various error messsages, and server dialog info slrn.strace.* system call output for slrn and children I suspect that these files will contain enough info to resolve the problem. Feel free to send copies of them to me. Thanks, --John PS: If I find time, I will attempt to port slsc to slang-2.
Re: [Slrn] editor help please
Author: Lewis
Date: Wed, 19 Dec 2012 04:00
Date: Wed, 19 Dec 2012 04:00
29 lines
2618 bytes
2618 bytes
In message <slrnkcuggq.g5.jed@aluche.mit.edu> John E. Davis <jed@jedsoft.org> wrote: > On Sun, 16 Dec 2012 09:13:28 +0000 (UTC), Jamie <jamiegd@invalid.com> >> I decided to try the newest version believing >> it will help, but it didn't. > What exactly happens when you try to edit something from within slrn? > Does slrn invoke the editor for you, or does it simply issue the error > message? I suggest that you try the following: > $ slrn --show-config > slrn.config > $ strace -ff -o slrn.strace slrn --debug slrn.debug > This should result in the creation of the following files: > slrn.config shows the values of the slrn config variables > slrn.debug various error messsages, and server dialog info > slrn.strace.* system call output for slrn and children > I suspect that these files will contain enough info to resolve the > problem. Feel free to send copies of them to me. Based on the error message I bet a pint of Guinness the fault is in the editor not returning a clean exit code (that is to say, it has nothing to do with slrn). -- I WILL STOP TALKING ABOUT THE TWELVE INCH PIANIST Bart chalkboard Ep. 3F07
Re: [Slrn] editor help please
Author: Shmuel Metz
Date: Wed, 19 Dec 2012 12:03
Date: Wed, 19 Dec 2012 12:03
23 lines
2541 bytes
2541 bytes
In <slrnkd2eud.1khj.g.kreme@mbp55.local>, on 12/19/2012 at 04:00 AM, Lewis <g.kreme@gmail.com.dontsendmecopies> said: >Based on the error message I bet a pint of Guinness the fault is in >the editor not returning a clean exit code So far so good. Now ask yourself why the editor might not be returning a clean exit code. >(that is to say, it has nothing to do with slrn). That's an unwarranted assumption. It's slrn that calls the editor. The first tep should be to see whether that call is correct. John's suggestion is perfectly reasonable. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
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