🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Viren Shah Fri, 24 Apr 1998 00:00
slrn, emacs and CTRL-G
#40380
Author: Viren Shah
Date: Fri, 24 Apr 1998 00:00
22 lines
1344 bytes
I use emacs as my editor with slrn. Unfortunately everytime that 
I'm editing a post in emacs, and hit CTRL-G, the emacs display 
disappears, and is replaced with the slrn display asking whether I
want to post the article. After that my session is pretty much 
screwed, even though I can get emacs back by hitting CTRL-L,
because every slrn command after that required RET to be hit
after it in in order for it to be executed (as in q<RET> to
quit).
Note that that editor command is "emacs -nw" (and the same 
happens with xemacs), since I dial-up to read my news. 

Any ideas? Meanwhile, I'm training myself not to hit CTRL-G's
when posting, but it is hard.

Viren
-- 
Viren Shah           | Man's Greatest Asset is...
viren@mindspring.com | ...an unsettled mind


Re: slrn, emacs and CTRL-G
#40367
Author: John E. Davis
Date: Fri, 24 Apr 1998 00:00
24 lines
1451 bytes
On 24 Apr 1998 19:51:47 GMT, Viren Shah <viren@viren.org>
wrote:
>I use emacs as my editor with slrn. Unfortunately everytime that 
>I'm editing a post in emacs, and hit CTRL-G, the emacs display 
>disappears, and is replaced with the slrn display asking whether I
>want to post the article. After that my session is pretty much 

Without knowing more about your operating system, there is not much
that I can do.  slrn invokes the editor via a call to SLsystem, which
is defined in slang/src/slsignal.c.  In this function, an explicit call
is made to

    signal (SIGINT, SIG_IGN);

but it appears that, in your case, this function is either not getting
called or that it is failing.  All I can suggest is that you run slrn
in your debugger and set a break point in SLsignal and start debugging
from there.

Good luck,
--John

Re: slrn, emacs and CTRL-G
#42213
Author: john hood
Date: Mon, 20 Jul 1998 00:00
25 lines
1639 bytes
In article <slrn6k1rai.5mt.viren@bandersnatch.viren.org>,
Viren Shah <viren@mindspring.com> wrote:
>I use emacs as my editor with slrn. Unfortunately everytime that 
>I'm editing a post in emacs, and hit CTRL-G, the emacs display 
>disappears, and is replaced with the slrn display asking whether I

You're probably using FreeBSD (or possibly NetBSD), which have had
long standing problems with SIGINT in /bin/sh.  It's no fault of
your own, or slrn's author.

It's still not fixed in FreeBSD, as far as I can see.  It's an ugly
bug, and all the fixes proposed so far have had their own problems.

Solutions include hacking slrn to use bash instead of sh to spawn
subshells, using emacs under X so it does its own keyboard handling,
or using vi :)

  --jh

-- 
Mr. Belliveau said, "the difference was the wise,       John Hood,     cgull
intelligent look on the face of the cow."  He was      	            +usenet@
*so* right.  --Ofer Inbar                               smoke.marlboro.vt.us

Re: slrn, emacs and CTRL-G
#42303
Author: Christopher Masto
Date: Thu, 23 Jul 1998 00:00
24 lines
1846 bytes
In article <6ougj1$gu9@news-central.tiac.net>, john hood wrote:
>In article <slrn6k1rai.5mt.viren@bandersnatch.viren.org>,
>Viren Shah <viren@mindspring.com> wrote:
>>I use emacs as my editor with slrn. Unfortunately everytime that 
>>I'm editing a post in emacs, and hit CTRL-G, the emacs display 
>>disappears, and is replaced with the slrn display asking whether I
>
>You're probably using FreeBSD (or possibly NetBSD), which have had
>long standing problems with SIGINT in /bin/sh.  It's no fault of
>your own, or slrn's author.
>
>It's still not fixed in FreeBSD, as far as I can see.  It's an ugly
>bug, and all the fixes proposed so far have had their own problems.

It could be worked around by slrn.  But I think that recent versions
of emacs (or maybe just xemacs) do not suffer from this.  Mine
doesn't.  (XEmacs 20.3 on FreeBSD 2.2-STABLE).
-- 
	    Christopher Masto <chris+usenet@netmonger.net>
	Director of Operations, NetMonger Communications, Inc.

		     "Behold the Power of Cheese"

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