πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60164

Re: [slrn] ^G handling

#60164
From: 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

Technical Details
Message-ID: <slrn8en3qf.8rn.dave@svarozic.srce.hr>
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: <slrn8ei4ak.4tk.dave@svarozic.srce.hr> <slrn8emu06.ciu.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8en3qf.8rn.dave@svarozic.srce.hr>
Subject: Re: [slrn] ^G handling
Date: Wed, 05 Apr 2000 00:00:00 +0000
From: dave@srce.hr (Drazen Kacar)
References: <slrn8ei4ak.4tk.dave@svarozic.srce.hr> <slrn8emu06.ciu.davis@aluche.mit.edu>
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: 607202227
Mail-Copies-To: never
X-Complaints-To: abuse@news.carnet.hr
X-Trace: bagan.srce.hr 954961802 6749 161.53.2.157 (5 Apr 2000 19:10:02 GMT)
X-Face: 'UIE}WabGB0+U>p-#(hp<_+AD2{H],=qR*jHfm$/e]l0(kU3oOYc5lqG6gg>[\h^IOc{'siD6#!T&loIShgmYHz3#+*D38:|`~\BE,(W~Ol9BDfDwk'lKJ;Z{sY8E9(ME.E]'wvNO`$n#,;9Z`tOFcW/nHZq!BOSrM>V?C<5DTw=<$<xxB~RP@|-Co<|COgeVi1ozw_W>{c{M2V+|)0jSUl&!+8%8nIBF(u:E>SZWM^e
Organization: Čardak ni na nebu, ni na zemlji
X-Attribution: Dave
User-Agent: slrn/0.9.6.0 (SunOS)
NNTP-Posting-Date: 5 Apr 2000 19:10:02 GMT
Newsgroups: news.software.readers