Deutsch   English   Français   Italiano  
<v403ei$2913i$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Malcolm McLean <malcolm.arthur.mclean@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Running an editor from ANSI C
Date: Sat, 8 Jun 2024 00:00:34 +0100
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <v403ei$2913i$2@dont-email.me>
References: <v3pge7$uf2i$1@dont-email.me> <v3r2pl$16mtl$1@dont-email.me>
 <v3r7v8$1b57j$1@dont-email.me> <v3rek5$1c4i5$1@dont-email.me>
 <v3rrtm$1e6g8$1@dont-email.me> <v3ru84$1eafb$1@dont-email.me>
 <87o78dzw1a.fsf@nosuchdomain.example.com> <v3tkmb$1o860$3@dont-email.me>
 <v3uk0l$20s0s$2@dont-email.me> <v3uoeo$21g4g$5@dont-email.me>
 <v3v6jt$23q0b$2@dont-email.me> <v3vk3m$265uv$1@dont-email.me>
 <iJJ8O.22$raU6.11@fx16.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 08 Jun 2024 01:00:34 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d8db6ad5098bbcc788314a6f57f92550";
	logging-data="2393202"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+ZYxVszlhsaVn1rwpIhh4bSN2dr4NofEg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tc4Glh1YEaMD2BojqXLshcffVVw=
Content-Language: en-GB
In-Reply-To: <iJJ8O.22$raU6.11@fx16.iad>
Bytes: 2994

On 07/06/2024 21:04, Scott Lurndal wrote:
> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>> On 07/06/2024 15:48, David Brown wrote:
>>> On 07/06/2024 12:46, Lawrence D'Oliveiro wrote:
>>>> On Fri, 7 Jun 2024 11:31:01 +0200, David Brown wrote:
>>>>
>>>>> But many people have lots of use of programming in C without any kind of
>>>>> POSIX functionality ...
>>>>
>>>> And all those same programs work in the presence of POSIX functionality,
>>>> plus you get access to a whole lot more besides.
>>>
>>> No, they do not.
>>>
>>> And even if POSIX functionality were "present", whatever you mean by
>>> that, it would be of no help to many C programs.
>>>
>>>>
>>>> The fact that cases keep arising where POSIX functionality would solve
>>>> problems that are discussed in this group belies your point.
>>>
>>> There's no doubt that for some C programming, there are POSIX functions
>>> that could help.  And no doubt that this is the case for Malcolm's project.
>>>
>>> That does not in any way demonstrate that POSIX is required for all C
>>> programming, or that C is "essentially crippled" if POSIX is not available.
>>>
>> Any idiot can write a shell using Posix.
>>
>> The whole point is to it in pure C.
> 
> How does your pure "C" shell
> spawn a new process without using posix or other OS-specific
> APIs?

It can call "system". And it can call internal executables written in 
MiniBasic. It's single-threaded of course.

-- 
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm