๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #61095

Re: TIN question(s)

#61095
From: Alan Mackenzie
Date: Mon, 01 May 2000 00:00
51 lines
3496 bytes
Frank Slootweg <franks@neth.hp.com> wrote:

> Urs Jan๏ฟฝen <urs@buil.tin.org> wrote:
>> In <8ec33u$pjg$2@news.neth.hp.com>,
>>     Frank Slootweg <franks@neth.hp.com> wrote:
>>>   Minor nit: "the article creation process (d.h. the editor)" *is* a
>>> separate process

>> created by system(), not fork(); to be even more exact tin only does
>> fork() itself for updating the local inxdex files when started with
>> the -U flag (I used that back in ~1993 when I was reading of an NFS
>> mounted spool where the overviews weren't exported as well).

>   I did not mention fork (only "seperate process"), Alan did. Anyway,
> isn't this just semantics? I.e. system(3S) is a *library* call, which
> 'under the hood' calls the *system calls* fork(2) and exec(2). Or do you
> mean that on *non-UNIX* OSs system() might not call fork(), and hence
> you make the distinction between system() and fork()?

I think my point kind of got lost in the undergrowth. It was meant to be
from the point of view of a newsreader _user_ (in particular a tin user),
and was essentially "why can't I browse amongst other news articles,
possibly copying and pasting text from them, whilst composing an article
in an external editor?".

For example, as I write this sentence, I would like to be able to go back
and see what Frank and Urs have said about the Unix calls "system" and
"fork". To do this at the moment I either have to exit the editor and
p(o)stpone the article, which is cumbersome and inconvenient, or start up
another copy of tin, which isn't much better.

What I envisaged was having the editor started as a separate process in
such a way that I could use <Ctrl>Z and fg to move freely between the
editor and the newsreader. I'm not that well up on Unix system
programming, but I believe that "fork" could achieve this result, but
"system" couldn't.

I'm curious as to why things haven't been done this way. Have they been
considered and rejected, for example?  I realise how much more
complicated this would make things, and how many bugs it might introduce,
but tin 1.4 seems a bit short of bugs at the moment :-)

> [FWIW: I'm a long time UNIX support person, hence my interest.]

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove one of them (leaving, say, "a").


Technical Details
Message-ID: <9qmje8.fe.ln@acm.acm>
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: <8e6v00$3rg$1@nnrp1.deja.com> <8e72sv$qm8$1@nntp.hamburg.pop.de> <slrn8gfe8e.ov.opnemonx@freebsd.localnet> <8e9obb$4pl$1@nntp.hamburg.pop.de> <2ah9e8.ul.ln@acm.acm> <8ec33u$pjg$2@news.neth.hp.com> <8ecdf7$h83$2@nntp.hamburg.pop.de> <8ejju3$sv5$2@news.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <9qmje8.fe.ln@acm.acm>
Subject: Re: TIN question(s)
Date: Mon, 01 May 2000 00:00:00 +0000
From: Alan Mackenzie<none@example.invalid>
References: <8e6v00$3rg$1@nnrp1.deja.com> <8e72sv$qm8$1@nntp.hamburg.pop.de> <slrn8gfe8e.ov.opnemonx@freebsd.localnet> <8e9obb$4pl$1@nntp.hamburg.pop.de> <2ah9e8.ul.ln@acm.acm> <8ec33u$pjg$2@news.neth.hp.com> <8ecdf7$h83$2@nntp.hamburg.pop.de> <8ejju3$sv5$2@news.neth.hp.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: 617906844
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: news-admin@muc.de
X-Trace: marvin.muc.de 957199887 88295 193.149.49.134 (1 May 2000 16:51:27 GMT)
Organization: muc.de e.V. -- private internet access
Mime-Version: 1.0
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.35 (i686))
NNTP-Posting-Date: 1 May 2000 16:51:27 GMT
Newsgroups: news.software.readers