🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Drazen Kacar Mon, 03 Apr 2000 00:00
[slrn] ^G handling
#60087
Author: Drazen Kacar
Date: Mon, 03 Apr 2000 00:00
20 lines
1674 bytes
I had a problem with slrn X-Face viewer. Whenever I typed ^G in slrn, slrnface
would get SIGINT and exit. I cured that with ignoring SIGINT, but I'm
curious why it happens. Since slrnface forks and the parent exits right
away, slrn can't have any idea about its grandchild. Therefore SIGINT must
have been sent to all the processes in slrn's group.

Why is that happening?

BTW, the new version is out. It has a man page and now you can move X-Face
window around with the mouse. Disgusting. :-)

http://svarozic.srce.hr/~dave/

-- 
 .-.   .-.    I don't work for my employer.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.srk.fer.hr

Re: [slrn] ^G handling
#60164
Author: Drazen Kacar
Date: Wed, 05 Apr 2000 00:00
27 lines
2308 bytes
John E. Davis wrote:
> On 3 Apr 2000 21:47:58 GMT, Drazen Kacar <dave@srce.hr>
> wrote:
> >I had a problem with slrn X-Face viewer. Whenever I typed ^G in slrn,
> >slrnface would get SIGINT and exit. I cured that with ignoring SIGINT, but
> >I'm curious why it happens. Since slrnface forks and the parent exits right
> >away, slrn can't have any idea about its grandchild. Therefore SIGINT must
> >have been sent to all the processes in slrn's group.
> 
> That is the way unix works.  One solution would be to have slrnface
> use setpgid to to create its own process group.  I do not see this as
> an slrn problem.

I didn't say it was a slrn problem. I was just wondering what's going on.
I expected that slrn puts terminal in raw mode and that tty driver doesn't
generate SIGINT. Since you said "that is the way unix works," does that
mean that slrn sets ^G as the interrupt character and that tty is not in the
raw mode? I thought of creating my own process group, but I'd just like
to know what goes on and if various slrn versions differ in this respect.

-- 
 .-.   .-.    I don't work for my employer.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.srk.fer.hr

Re: [slrn] ^G handling
#60171
Author: John E. Davis
Date: Wed, 05 Apr 2000 00:00
15 lines
1264 bytes
On 3 Apr 2000 21:47:58 GMT, Drazen Kacar <dave@srce.hr>
wrote:
>I had a problem with slrn X-Face viewer. Whenever I typed ^G in slrn, slrnface
>would get SIGINT and exit. I cured that with ignoring SIGINT, but I'm
>curious why it happens. Since slrnface forks and the parent exits right
>away, slrn can't have any idea about its grandchild. Therefore SIGINT must
>have been sent to all the processes in slrn's group.

That is the way unix works.  One solution would be to have slrnface
use setpgid to to create its own process group.  I do not see this as
an slrn problem.

--John

Re: [slrn] ^G handling
#60174
Author: Drazen Kacar
Date: Wed, 05 Apr 2000 00:00
19 lines
1904 bytes
Drazen Kacar wrote:

> I didn't say it was a slrn problem. I was just wondering what's going on.
> I expected that slrn puts terminal in raw mode and that tty driver doesn't
> generate SIGINT. Since you said "that is the way unix works," does that
> mean that slrn sets ^G as the interrupt character and that tty is not in the
> raw mode? I thought of creating my own process group, but I'd just like
> to know what goes on and if various slrn versions differ in this respect.

Ah, never mind... Too much messing with the GUIs on my part; I forgot
the basics. Everything should be in the perfect order. New version available.

-- 
 .-.   .-.    I don't work for my employer.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.srk.fer.hr

Re: [slrn] ^G handling
#60223
Author: Victor Schneider Ph. D. Victor S...
Date: Thu, 06 Apr 2000 00:00
23 lines
2129 bytes
On 5 Apr 2000 20:45:16 GMT, Drazen Kacar <dave@srce.hr> wrote:
>Drazen Kacar wrote:
>
>> I didn't say it was a slrn problem. I was just wondering what's going on.
>> I expected that slrn puts terminal in raw mode and that tty driver doesn't
>> generate SIGINT. Since you said "that is the way unix works," does that
>> mean that slrn sets ^G as the interrupt character and that tty is not in the
>> raw mode? I thought of creating my own process group, but I'd just like
>> to know what goes on and if various slrn versions differ in this respect.
>
>Ah, never mind... Too much messing with the GUIs on my part; I forgot
>the basics. Everything should be in the perfect order. New version available.
>
And, anyway, in the 0.9.6.2 version, the

	setkey group    toggle_hidden   "l"

doesn't work under some conditions that I have yet to characterize.  I
think that slrn is the victim of its Unix assumptions and attempts at
clever, Unix-specific code that is unnecessary for reliable operation
under any operating system.

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